OUT-OF-DATE! Read http://shootout.alioth.debian.org/ |
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 |
| pidigits | ± | 1/2 | 2× | |
| nsieve | ± | ± | ± | |
| recursive | ± | 1/2 | ± | |
| spectral-norm | ± | 1/2 | 2× | |
| binary-trees | ± | ± | 2× | |
| partial-sums | ± | 1/2 | ± | |
| fannkuch | ± | 1/2 | ± | |
| mandelbrot | ± | 1/2 | 1/2 | |
| sum-file | ± | 1/2 | ± | |
| nsieve-bits | 2× | 2× | ± | |
| n-body | 2× | 1/2 | ± | |
| fasta | 2× | 1/2 | ± | |
| regex-dna | 3× | ± | ± | |
| k-nucleotide | 4× | 4× | 2× | 100,000 |
| chameneos-redux | 5× | ± | ± | |
| reverse-complement | 7× | ± | ± | |
± 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.
wikibook Ada Programming
GNAT GPL 2007 (20070402-41) Ada 2005 mode (default)
Home Page: The Libre Site
Download: Download GNAT GPL Edition