x64 Ubuntu : Intel® Q6600® quad-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 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.
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 | Reduced N |
| pidigits | 2× | 1/2 | ± | |
| n-body | 2× | 1/5 | ± | |
| reverse-complement | 5× | 1/2 | 1/3 | |
| fasta | 6× | 1/4 | ± | |
| spectral-norm | 6× | 1/6 | 1/3 | |
| binary-trees | 7× | 1/3 | ± | |
| fannkuch | 9× | 1/25 | 1/2 | |
| mandelbrot | 11× | 1/515 | 1/2 | |
| k-nucleotide | 23× | ± | ± | |
± 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 Pascal Free Pascal 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 |
|---|---|---|---|---|---|
| pidigits | |||||
| Pascal Free Pascal | 6.65 | 6.65 | 1,108 | 785 | 0% 0% 100% 0% |
| C++ GNU g++ | 3.79 | 3.79 | 1,696 | 682 | 0% 100% 0% 0% |
| n-body | |||||
| Pascal Free Pascal | 36.33 | 36.34 | 204 | 1308 | 0% 0% 100% 0% |
| C++ GNU g++ | 20.57 | 20.56 | 932 | 1428 | 0% 0% 0% 100% |
| reverse-complement | |||||
| Pascal Free Pascal | 4.02 | 4.03 | 122,892 | 751 | 0% 0% 100% 0% |
| C++ GNU g++ | 1.21 | 0.85 | 245,644 | 2275 | 37% 13% 80% 14% |
| fasta | |||||
| Pascal Free Pascal | 13.08 | 13.08 | 220 | 1112 | 0% 0% 99% 0% |
| C++ GNU g++ | 2.26 | 2.26 | 964 | 1470 | 100% 0% 1% 0% |
| spectral-norm | |||||
| Pascal Free Pascal | 18.79 | 18.79 | 192 | 423 | 0% 0% 0% 100% |
| C++ GNU g++ | 11.89 | 2.99 | 1,196 | 1114 | 100% 99% 99% 99% |
| binary-trees | |||||
| Pascal Free Pascal | 62.77 | 62.77 | 131,292 | 769 | 0% 0% 100% 0% |
| C++ GNU g++ | 28.55 | 9.01 | 357,820 | 892 | 71% 62% 95% 82% |
| fannkuch | |||||
| Pascal Free Pascal | 130.04 | 130.03 | 52 | 712 | 0% 0% 0% 100% |
| C++ GNU g++ | 49.75 | 13.74 | 1,300 | 1186 | 80% 76% 100% 100% |
| mandelbrot | |||||
| Pascal Free Pascal | 71.02 | 71.02 | 56 | 530 | 0% 0% 0% 100% |
| C++ GNU g++ | 25.04 | 6.29 | 28,824 | 858 | 99% 99% 100% 100% |
| k-nucleotide | |||||
| Pascal Free Pascal | 126.78 | 126.79 | 129,848 | 2380 | 0% 0% 0% 100% |
| C++ GNU g++ | 20.27 | 5.54 | 177,148 | 2673 | 99% 88% 90% 93% |
| chameneos-redux | |||||
| regex-dna | |||||
Pascal and its Successors - Niklaus Wirth
Free Pascal Compiler version 2.2.2 [2008/07/29] for x86_64
Home Page: http://www.freepascal.org
Download: http://www.freepascal.org/download.html