x64 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 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 |
| spectral-norm | 2× | 1/6 | 1/3 | |
| pidigits | 2× | 1/2 | ± | |
| n-body | 2× | 1/5 | ± | |
| fannkuch | 3× | 1/26 | 1/2 | |
| mandelbrot | 3× | 1/605 | 1/2 | |
| reverse-complement | 4× | 1/2 | 1/3 | |
| binary-trees | 4× | 1/2 | ± | |
| fasta | 6× | 1/4 | ± | |
| k-nucleotide | 11× | ± | ± | |
± 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 |
|---|---|---|---|---|---|
| spectral-norm | |||||
| Pascal Free Pascal | 18.79 | 18.79 | 192 | 423 | 0% 0% 0% 100% |
| C++ GNU g++ | 11.90 | 11.89 | 1,156 | 1114 | 0% 0% 0% 100% |
| pidigits | |||||
| Pascal Free Pascal | 6.65 | 6.65 | 1,112 | 785 | 0% 0% 0% 100% |
| C++ GNU g++ | 3.79 | 3.79 | 1,696 | 682 | 0% 0% 1% 100% |
| n-body | |||||
| Pascal Free Pascal | 36.46 | 36.45 | 204 | 1308 | 0% 0% 0% 100% |
| C++ GNU g++ | 20.57 | 20.56 | 932 | 1428 | 0% 0% 0% 100% |
| fannkuch | |||||
| Pascal Free Pascal | 130.22 | 130.21 | 48 | 712 | 0% 0% 0% 100% |
| C++ GNU g++ | 50.34 | 50.34 | 1,260 | 1186 | 0% 0% 0% 100% |
| mandelbrot | |||||
| Pascal Free Pascal | 71.06 | 71.06 | 52 | 530 | 0% 0% 0% 100% |
| C++ GNU g++ | 25.03 | 25.03 | 31,448 | 858 | 0% 0% 0% 100% |
| reverse-complement | |||||
| Pascal Free Pascal | 4.02 | 4.02 | 122,796 | 751 | 0% 0% 0% 100% |
| C++ GNU g++ | 1.03 | 1.03 | 245,640 | 2275 | 1% 0% 1% 100% |
| binary-trees | |||||
| Pascal Free Pascal | 65.32 | 65.31 | 131,292 | 769 | 0% 0% 0% 100% |
| C++ GNU g++ | 16.52 | 16.51 | 296,208 | 892 | 0% 1% 0% 100% |
| fasta | |||||
| Pascal Free Pascal | 13.09 | 13.08 | 220 | 1112 | 0% 1% 0% 100% |
| C++ GNU g++ | 2.26 | 2.26 | 964 | 1470 | 1% 1% 0% 100% |
| k-nucleotide | |||||
| Pascal Free Pascal | 125.05 | 125.05 | 129,848 | 2380 | 0% 0% 0% 100% |
| C++ GNU g++ | 11.41 | 11.41 | 142,264 | 3415 | 0% 0% 0% 100% |
| 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