Ubuntu : Intel® Q6600® one core |
This chart shows 3 comparisons - Time-used, Memory-used and Code-used.
Each chart bar shows, for one unidentified benchmark, how much the fastest Ada 2005 GNAT program used compared to the fastest C++ GNU g++ program.
This table shows 3 comparisons - Time-used, Memory-used and Code-used.
Each table row shows, for one named benchmark, how much the fastest Ada 2005 GNAT program used compared to the fastest C++ GNU g++ program.
| Ada 2005 GNAT used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | Reduced N |
| n-body | ± | 2× | ± | |
| pidigits | ± | ± | 2× | |
| mandelbrot | ± | ± | 2× | |
| reverse-complement | 2× | ± | ± | |
| spectral-norm | 2× | 3× | ± | |
| fannkuch | 2× | ± | 1/2 | |
| k-nucleotide | 2× | 2× | ± | |
| fasta | 2× | 2× | ± | |
| regex-dna | 3× | ± | 2× | |
| binary-trees | 3× | ± | ± | |
± read the measurements and then read the program source code.
This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ~ CPU Load.
For each named benchmark, measurements of the fastest Ada 2005 GNAT program are shown for comparison against measurements of the fastest C++ GNU g++ program.
| Program Source Code | CPU secs | Elapsed secs | Memory KB | Code B | ~ CPU Load |
|---|---|---|---|---|---|
| n-body | |||||
| Ada 2005 GNAT | 25.69 | 25.68 | 1,268 | 1723 | 0% 0% 0% 100% |
| C++ GNU g++ | 23.81 | 23.81 | 788 | 1428 | 0% 1% 0% 100% |
| pidigits | |||||
| Ada 2005 GNAT | 3.75 | 3.75 | 1,852 | 1254 | 0% 0% 0% 100% |
| C++ GNU g++ | 2.71 | 2.71 | 1,596 | 682 | 0% 0% 1% 100% |
| mandelbrot | |||||
| Ada 2005 GNAT | 36.60 | 36.61 | 33,324 | 1805 | 0% 0% 0% 100% |
| C++ GNU g++ | 24.55 | 24.55 | 30,564 | 858 | 0% 0% 0% 100% |
| reverse-complement | |||||
| Ada 2005 GNAT | 1.68 | 1.70 | 197,584 | 3132 | 1% 0% 1% 99% |
| C++ GNU g++ | 1.12 | 1.12 | 245,432 | 2275 | 1% 0% 1% 100% |
| spectral-norm | |||||
| Ada 2005 GNAT | 18.74 | 18.75 | 2,740 | 1464 | 0% 0% 0% 100% |
| C++ GNU g++ | 11.94 | 11.94 | 1,004 | 1114 | 0% 0% 1% 100% |
| fannkuch | |||||
| Ada 2005 GNAT | 82.73 | 82.72 | 1,224 | 746 | 0% 0% 0% 100% |
| C++ GNU g++ | 50.01 | 50.01 | 1,124 | 1186 | 0% 0% 0% 100% |
| k-nucleotide | |||||
| Ada 2005 GNAT | 28.50 | 28.51 | 254,024 | 4504 | 0% 0% 0% 100% |
| C++ GNU g++ | 13.61 | 13.61 | 132,864 | 3415 | 0% 0% 0% 100% |
| fasta | |||||
| Ada 2005 GNAT | 8.73 | 8.73 | 1,300 | 1623 | 0% 0% 0% 100% |
| C++ GNU g++ | 3.76 | 3.77 | 816 | 1470 | 0% 0% 0% 100% |
| regex-dna | |||||
| Ada 2005 GNAT | 44.29 | 44.30 | 149,668 | 3334 | 4% 5% 2% 100% |
| C++ GNU g++ | 14.19 | 14.19 | 100,332 | 1759 | 0% 0% 0% 100% |
| binary-trees | |||||
| Ada 2005 GNAT | 44.21 | 44.21 | 99,580 | 955 | 0% 0% 0% 100% |
| C++ GNU g++ | 13.47 | 13.47 | 148,652 | 892 | 0% 0% 0% 100% |
| chameneos-redux | |||||
| Ada 2005 GNAT | |||||
wikibook Ada Programming
GNAT 4.3.3
Home Page: The Libre Site
Download: Download GNAT GPL Edition