/mobile Handheld Friendly website
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 | |
| fannkuch-redux | ± | 1/2 | ± | |
| fasta | ± | 1/36 | ± | |
| pidigits | ± | 1/2 | ± | |
| spectral-norm | 2× | 1/81 | 1/2 | |
| fasta-redux | 2× | 1/77 | ± | |
| n-body | 2× | 1/40 | ± | |
| reverse-complement | 2× | 1/2 | 1/3 | |
| binary-trees | 3× | 1/2 | ± | |
| mandelbrot | 3× | 1/4,012 | 1/2 | |
| k-nucleotide | 4× | ± | ± | |
| Pascal Free Pascal used what fraction? used how many times more? | |||||||
|---|---|---|---|---|---|---|---|
| Time-used | |- | |--- | 25% | median | 75% | ---| | -| |
| (Elapsed secs) | ± | ± | ± | 2× | 3× | 4× | 4× |
± 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 |
|---|---|---|---|---|---|
| fannkuch-redux | |||||
| Pascal Free Pascal | 64.84 | 64.85 | 660 | 1018 | 0% 0% 0% 100% |
| C++ GNU g++ | 61.42 | 61.44 | 1,020 | 1439 | 0% 0% 0% 100% |
| fasta | |||||
| Pascal Free Pascal | 7.93 | 7.93 | 8 | 1112 | 0% 0% 0% 100% |
| C++ GNU g++ | 6.30 | 6.30 | 288 | 1266 | 0% 0% 0% 100% |
| pidigits | |||||
| Pascal Free Pascal | 3.76 | 3.76 | 824 | 785 | 0% 1% 0% 100% |
| C++ GNU g++ | 2.75 | 2.76 | 1,448 | 682 | 0% 1% 1% 100% |
| spectral-norm | |||||
| Pascal Free Pascal | 15.76 | 15.77 | 8 | 423 | 0% 1% 0% 100% |
| C++ GNU g++ | 10.00 | 10.00 | 648 | 1044 | 0% 1% 0% 100% |
| fasta-redux | |||||
| Pascal Free Pascal | 4.79 | 4.80 | 8 | 1227 | 0% 0% 0% 100% |
| C++ GNU g++ | 2.93 | 2.93 | 616 | 1474 | 0% 0% 0% 100% |
| n-body | |||||
| Pascal Free Pascal | 34.67 | 34.68 | 8 | 1308 | 0% 0% 0% 100% |
| C++ GNU g++ | 20.15 | 20.16 | 320 | 1659 | 0% 0% 0% 100% |
| reverse-complement | |||||
| Pascal Free Pascal | 2.18 | 2.18 | 130,956 | 751 | 0% 0% 0% 100% |
| C++ GNU g++ | 1.07 | 1.09 | 245,424 | 2275 | 0% 0% 1% 100% |
| binary-trees | |||||
| Pascal Free Pascal | 33.75 | 33.76 | 65,840 | 769 | 0% 0% 0% 100% |
| C++ GNU g++ | 13.03 | 13.05 | 148,440 | 892 | 0% 1% 0% 100% |
| mandelbrot | |||||
| Pascal Free Pascal | 78.74 | 78.76 | 8 | 530 | 0% 0% 0% 100% |
| C++ GNU g++ | 23.72 | 23.73 | 32,096 | 1017 | 0% 0% 0% 100% |
| k-nucleotide | |||||
| Pascal Free Pascal | 49.82 | 49.85 | 128,396 | 2383 | 0% 0% 0% 100% |
| C++ GNU g++ | 11.67 | 11.68 | 133,456 | 3415 | 0% 0% 0% 100% |
| regex-dna | |||||
| C++ GNU g++ | 0.05 | 0.08 | ? | 695 | 0% 0% 0% 100% |
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 i386
Home Page: http://www.freepascal.org
Download: http://www.freepascal.org/download.html