home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!kithrup!hoptoad!decwrl!csus.edu!netcom.com!netcomsv!terapin!paulk
- From: paulk@terapin.com (Paul Kienitz)
- Newsgroups: comp.sys.amiga.programmer
- Subject: benchmarks: SAS 6.0 vs Aztec 5.2b
- Message-ID: <paulk.1aqc@terapin.com>
- Date: 29 Aug 92 16:08:40 PST
- Organization: BBS
- Lines: 53
-
- Doug Walker posted these numbers in comp.sys.amiga.programmer:
-
- > OK, one more try... I found that I wasn't really cranking up
- > the optimization as far as it would go, so I did it again.
- > This time I set the inlining function up as high as it would
- > go, which increased the code size significantly but bought
- > some additional speed.
- >
- > The V5.10 numbers are the same, the V6 numbers are new. All numbers
- > were generated on an Amiga 3000/25.
- >
- > V5.10, 68000: 6362.7 Dhrystones/sec
- > V5.10, 68030: 7287.4 "
- >
- > V6.0, 68000 8321.8 "
- > V6.0, 68030 9202.5 "
- >
- > Then I did the same set of tests on an Amiga 3000 with a 68040
- > board installed:
- >
- > V5.10, 68000: 20761.2 Dhrystones/sec
- > V5.10, 68040: 24477.2 "
- >
- > V6.0, 68000: 25603.8 "
- > V6.0, 68040: 28301.9 "
- >
- > Note that since the Dhrystone benchmark doesn't use floating
- > point, there would be no difference between code compiled for
- > the 68030 or 68040. The only difference between SAS/C code
- > generated for the '030 and the '040 is that floating point
- > instructions which must be emulated on an '040 are not
- > generated.
-
- ========
-
- Here are my numbers for Aztec C 5.2b, using the same source Doug
- Walker used for the above, slightly tweaked here and there...
- these were the best I could manage:
-
- long ints, for 68000: 5849.5
- long ints, for 68020: 6422.9
- short ints, both cases: 6594.9
-
- This is on an A3000/25 with SCRAM and all caches and bursts enabled.
- Compiling typically took 9.6 seconds total, linking 2.4 seconds --
- Aztec still has the edge in producing results quickly, even if it no
- longer has an edge in producing results that are quick. Doug told me
- SAS takes 13.6 seconds to compile without optimization, 27 seconds
- with.
-
- Looks like SAS 6.0 produces code that is a minimum of twenty-five
- percent faster and often FORTY percent faster than what comes out of
- Aztec C 5.2b.
-