/mobile Handheld Friendly website
x64 Ubuntu : Intel® Q6600® one core |
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.
Look at speed another way - look at a box plot of Time-used data.
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 | |
| pidigits | ± | 1/2 | ± | |
| fannkuch-redux | 2× | ± | ± | |
| spectral-norm | 2× | 1/95 | 1/2 | |
| n-body | 2× | 1/53 | ± | |
| fasta | 2× | 1/45 | ± | |
| reverse-complement | 2× | 1/2 | 1/3 | |
| binary-trees | 2× | 1/2 | ± | |
| mandelbrot | 3× | ± | ± | |
| fasta-redux | 4× | 1/102 | ± | |
| k-nucleotide | 8× | ± | ± | |
| Pascal Free Pascal used what fraction? used how many times more? | |||||||
|---|---|---|---|---|---|---|---|
| Time-used | |- | |--- | 25% | median | 75% | ---| | -| |
| (Elapsed secs) | ± | ± | 2× | 2× | 3× | 5× | 8× |
± 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.
| Program Source Code | CPU secs | Elapsed secs | Memory KB | Code B | ≈ CPU Load |
|---|---|---|---|---|---|
| pidigits | |||||
| Pascal Free Pascal | 2.92 | 2.92 | 1,024 | 785 | 0% 2% 1% 100% |
| C++ GNU g++ | 2.27 | 2.27 | 1,648 | 682 | 0% 0% 0% 100% |
| fannkuch-redux | |||||
| Pascal Free Pascal | 76.13 | 76.15 | 1,008 | 1018 | 0% 0% 0% 100% |
| C++ GNU g++ | 50.35 | 50.36 | 1,236 | 1440 | 0% 0% 0% 100% |
| spectral-norm | |||||
| Pascal Free Pascal | 15.71 | 15.72 | 8 | 423 | 0% 0% 0% 100% |
| C++ GNU g++ | 9.99 | 10.00 | 756 | 1044 | 0% 0% 0% 100% |
| n-body | |||||
| Pascal Free Pascal | 34.74 | 34.75 | 8 | 1308 | 0% 0% 0% 100% |
| C++ GNU g++ | 19.30 | 19.31 | 424 | 1659 | 0% 0% 0% 100% |
| fasta | |||||
| Pascal Free Pascal | 11.17 | 11.18 | 8 | 1112 | 0% 0% 0% 100% |
| C++ GNU g++ | 6.16 | 6.16 | 356 | 1266 | 0% 0% 0% 100% |
| reverse-complement | |||||
| Pascal Free Pascal | 2.08 | 2.09 | 129,376 | 751 | 0% 2% 0% 100% |
| C++ GNU g++ | 0.87 | 0.89 | 229,516 | 2275 | 0% 0% 0% 100% |
| binary-trees | |||||
| Pascal Free Pascal | 41.46 | 41.49 | 131,360 | 769 | 0% 0% 0% 100% |
| C++ GNU g++ | 17.23 | 17.29 | 296,252 | 892 | 0% 0% 0% 100% |
| mandelbrot | |||||
| Pascal Free Pascal | 66.62 | 66.64 | 30,748 | 748 | 0% 0% 0% 100% |
| C++ GNU g++ | 24.28 | 24.29 | 32,300 | 1017 | 0% 0% 0% 100% |
| fasta-redux | |||||
| Pascal Free Pascal | 8.04 | 8.04 | 8 | 1227 | 0% 0% 0% 100% |
| C++ GNU g++ | 2.00 | 2.00 | 816 | 1474 | 1% 1% 0% 100% |
| k-nucleotide | |||||
| Pascal Free Pascal | 83.03 | 83.07 | 130,568 | 2383 | 0% 0% 0% 100% |
| C++ GNU g++ | 9.85 | 9.87 | 142,124 | 3415 | 0% 0% 1% 100% |
| regex-dna | |||||
| C++ GNU g++ | 0.05 | 0.08 | ? | 695 | 11% 0% 0% 89% |
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.6.0 [2011/12/23] for x86_64
Home Page: http://www.freepascal.org
Download: http://www.freepascal.org/download.html