
TopSpeed is really Top Speed!
Dear TopSpeed-friends!
Here are the results of the testing some popular compilers
with the aid of well-known test program SIEVE (BYTE, 1988,
No.6, p.239-266).
-------------------------------------------------------------
Compiler Version Time (sec) Size (bytes)
-------------------------------------------------------------
Microsoft C 6.0 9.17 4060
Borland Turbo Pascal 6.0 20.43 2768
Borland C++ 2.0 20.98 4844
JPI TopSpeed Modula-2 1.17 8.62 2825
JPI TopSpeed Modula-2 2.0 7.80 3027
JPI TopSpeed C 2.0 11.59 1986
JPI TopSpeed Modula-2 3.01 7.90 3032
JPI TopSpeed C 3.01 11.59 2048
JPI TopSpeed C++ 3.01 11.65 2064
JPI TopSpeed Pascal 3.01 10.72 4440
-------------------------------------------------------------
I used the small memory model, all the checks were turned
off, all the optimization - turned on (including the speed,
not the code size). Language-dependent library functions
aren't used - only Lib.Intr(reg, intrNo) for the screen
output. Hardware - 12 Mhz PC-compatible.
Avanti, TopSpeed Modula-2!
P.S. If anybody has sources of WhetStones/DhryStones tests,
please send them me, and the testing will be continued!
--
Alex Jakovlev
Computing Center of Russian Academy of Sciences, Moscow