OUT-OF-DATE! Read http://shootout.alioth.debian.org/ |
This chart shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.
Each chart bar shows, for one unidentified benchmark, how much the fastest Pascal Free Pascal program used compared to the fastest C++ GNU g++ program.
This table shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.
Each table row shows, for one named benchmark, how much the fastest Pascal Free Pascal program used compared to the fastest C++ GNU g++ program.
| Pascal Free Pascal used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | |
| regex-dna | 1/5 | 2× | 2× | |
| fannkuch | ± | 1/9 | ± | |
| pidigits | ± | 1/2 | ± | |
| nsieve-bits | ± | 1/2 | ± | |
| partial-sums | ± | 1/11 | ± | |
| n-body | ± | 1/3 | ± | |
| spectral-norm | ± | 1/3 | ± | |
| k-nucleotide | ± | ± | 2× | |
| reverse-complement | ± | ± | ± | |
| fasta | ± | 1/2 | ± | |
| nsieve | 2× | 3× | ± | |
| recursive | 2× | 1/6 | ± | |
| mandelbrot | 2× | 1/9 | 1/2 | |
| binary-trees | 15× | 2× | ± | |
± read the measurements and then read the program source code.
This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ≈ CPU Load ~ speed and size.
For each named benchmark, measurements of the fastest Pascal Free Pascal program are shown for comparison against measurements of the fastest C++ GNU g++ program.
Remember - those are just the fastest Pascal Free Pascal and C++ GNU g++ programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for Pascal Free Pascal.
Maybe one of those other Pascal Free Pascal programs is fastest on a different OS/machine.
Remember - those are just the fastest Pascal Free Pascal and C++ GNU g++ programs measured on this OS/machine. Check if there are faster implementations of these benchmark programs for other programming languages.
Maybe one of those other programs is fastest on a different OS/machine.
Pascal and its Successors - Niklaus Wirth
Free Pascal Compiler version 2.2.0 [2007/09/14] for i386
Home Page: http://www.freepascal.org
Download: http://www.freepascal.org/download.html