PLEASE CHOOSE THE UP-TO-DATE MEASUREMENTS INSTEAD OF THESE! (Read the FAQ!) |
Compare the performance of Ada 2005 GNAT programs against some other language implementation.
For more information about the Ada 2005 implementation we measured see ↓ about Ada 2005 GNAT.
| 1/2 1/3 1/4 Ada 2005 GNAT is better | ||||
|---|---|---|---|---|
| Programs | Time | Memory Use | Source Size | Reduced N |
| recursive | ||||
| nsieve | ||||
| chameneos-redux | ||||
| binary-trees | ± | ± | 2 | |
| pidigits | ± | ± | 2 | |
| fannkuch | ± | 1/3 | ± | |
| mandelbrot | ± | ± | ± | |
| spectral-norm | ± | 6 | 2 | |
| n-body | 2 | ± | ± | |
| partial-sums | 2 | ± | ± | |
| nsieve-bits | 2 | 2 | ± | |
| sum-file | 2 | ± | ± | |
| fasta | 3 | ± | ± | |
| k-nucleotide | 3 | 4 | 2 | 100,000 |
| regex-dna | 4 | ± | ± | |
| reverse-complement | 5 | ± | ± | |
± look at the measurements
| Program & Logs | CPU secs | Memory KB | Size B | Elapsed secs | ~ CPU Load |
|---|---|---|---|---|---|
| binary-trees | |||||
| Ada 2005 GNAT | 5.40 | 7,348 | 955 | ||
| C++ GNU g++ #2 | 5.91 | 7,000 | 541 | ||
| pidigits | |||||
| Ada 2005 GNAT | 2.82 | 3,120 | 1143 | ||
| C++ GNU g++ #2 | 2.85 | 3,124 | 652 | ||
| fannkuch | |||||
| Ada 2005 GNAT | 8.20 | 1,196 | 746 | ||
| C++ GNU g++ #2 | 8.28 | 3,096 | 554 | ||
| mandelbrot | |||||
| Ada 2005 GNAT #2 | 3.01 | 3,312 | 572 | ||
| C++ GNU g++ | 3.00 | 3,312 | 584 | ||
| spectral-norm | |||||
| Ada 2005 GNAT | 18.73 | 18,500 | 710 | ||
| C++ GNU g++ | 17.49 | 3,092 | 442 | ||
| n-body | |||||
| Ada 2005 GNAT | 20.18 | 1,236 | 1608 | ||
| C++ GNU g++ #2 | 12.78 | 936 | 1705 | ||
| partial-sums | |||||
| Ada 2005 GNAT | 3.13 | 3,104 | 662 | ||
| C++ GNU g++ #3 | 1.84 | 3,096 | 531 | ||
| nsieve-bits | |||||
| Ada 2005 GNAT #2 | 4.99 | 6,180 | 445 | ||
| C++ GNU g++ | 2.80 | 3,328 | 494 | ||
| sum-file | |||||
| Ada 2005 GNAT | 11.56 | 14,864 | 240 | ||
| C++ GNU g++ #2 | 6.29 | 14,864 | 260 | ||
| fasta | |||||
| Ada 2005 GNAT | 32.85 | 3,120 | 1346 | ||
| C++ GNU g++ #4 | 11.69 | 3,120 | 1248 | ||
| k-nucleotide N = 100,000 reduced workload | |||||
| Ada 2005 GNAT | 2.22 | 19,536 | 2253 | ||
| C++ GNU g++ #3 | 0.78 | 4,920 | 1380 | ||
| regex-dna | |||||
| Ada 2005 GNAT #4 | 24.11 | 15,264 | 1352 | ||
| C++ GNU g++ #3 | 6.45 | 13,408 | 1588 | ||
| reverse-complement | |||||
| Ada 2005 GNAT | 3.19 | 15,120 | 885 | ||
| C++ GNU g++ #3 | 0.63 | 13,288 | 810 | ||
wikibook Ada Programming
GNAT 4.1.320070518prerelease (Debian 4.1.2-8)
Home Page: The Libre Site
Download: Download GNAT GPL Edition