Table 1. Results of Ada, Java and C Benchmarks
System Compilation ------------- Result -----------------
/Compiler Flags
C++ GNAT 3.12p GNAT 3.13p
Pentium III 338/1479 451/1108 457/1091
497.841218MHZ 256Mb -O3 238/2100 338/1479 333/1497
(egcs-2.91.66) -gnatp -O3 344/1453 333/1497
Pentium 90 1418/352 1511/330 1487/336
167.057018MHz 96Mb -O3 1127/443 1298/384 1287/388
(egcs-2.91.66) -gnatp -O3 1243/402 1233/405
Sun Ultra 5/10 615/813 691/723 668/748
440MHz 256Mb -O2 500/1000 590/847 580/862
(gcc version 2.95.1) -gnatp -O2 563/888 567/878
-O3 483/1035 592/843 600/831
-gnatp -O3 563/888 564/886
Sun Ultra 5/10 668/748 666/749
440MHz 256Mb -O2 544/917 554/902
(Added pragma -gnatp -O2 526/950 536/931
Inline_Always) -O3 540/925 552/905
-gnatp -O3 526/948 533/938
Java JGNAT 1.0p
(native) (Ada95)
Pentium III
497.841218MHZ 256Mb
(kaffe v.1.0.5 - JIT) 2312/216
Pentium 90
167.057018MHz 96Mb
(kaffe v.1.0.5 - JIT) 8578/58
Sun Ultra 5/10
440MHz 256Mb
(SUN JRE 1.2.01 - INT) 521/959 514/972
(Sun JDK 1.2.1 - INT) 1217/410 1355/369
(SUN JDK 1.2.2 - INT) 648/771 694/720
(SUN JDK 1.3.0 beta - INT) 1267/394 1326/377
Notes on the table:
- O2 is nearly all optimization that does not involve space-speed
- O3 is extensive optimization with automatic
- gnatp suppress all checks for gnat.
Copyright © 1994 - 2019 Linux Journal. All rights reserved.