HP3000-L Archives

July 1999, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Fri, 9 Jul 1999 10:06:29 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
Bonnie asks:

> I know that PA-RISC uses NM and runs an emulator for any CM code but what is
> the
> diference?

Speed and size.  NM is faster, but takes more room.


Here's one set of data points, from 1993.  The CPU time required to
do some CPU-intensive code (i.e., no file system, no intrinsic calls)

                        CPU (milliseconds)
   NM                 -----
      C        OPT=2    434
      Pascal   OPT=2    652
      C                1568
      SPLash!          1764
      Pascal           2089

   OCT'ed
      SPL              2657
      Pascal           4849

   CM
      SPL             16539
      Pascal          26698

(Pascal code compiled with $range off$)

The NM programs ranged from 175 to 384 sectors in size,
the CM programs ranged from 48 to 80 sectors in size.

What about OCT'd programs?  They're about 3 times faster,
and 8 times larger than CM programs...but this varies, depending
upon what the program is doing.  (For CPU intensive programs,
as the one above, the OCT is often much more than 3 times faster.)

--
Stan Sieler                                          [log in to unmask]
                                         http://www.allegro.com/sieler/

ATOM RSS1 RSS2