/mobile Handheld Friendly website
Ubuntu : Intel® Q6600® quad-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 | ± | |
| fasta-redux | 2× | 1/77 | ± | |
| n-body | 2× | 1/40 | ± | |
| reverse-complement | 3× | 1/2 | 1/3 | |
| mandelbrot | 5× | ± | ± | |
| binary-trees | 6× | 1/3 | ± | |
| spectral-norm | 6× | 1/49 | 1/2 | |
| k-nucleotide | 13× | ± | ± | |
| Pascal Free Pascal used what fraction? used how many times more? | |||||||
|---|---|---|---|---|---|---|---|
| Time-used | |- | |--- | 25% | median | 75% | ---| | -| |
| (Elapsed secs) | ± | ± | ± | 2× | 6× | 12× | 13× |
± 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.91 | 16.27 | 664 | 1018 | 100% 100% 100% 100% |
| C++ GNU g++ | 61.42 | 15.77 | 1,020 | 1439 | 100% 97% 97% 96% |
| fasta | |||||
| Pascal Free Pascal | 7.95 | 7.96 | 8 | 1112 | 0% 0% 0% 100% |
| C++ GNU g++ | 6.30 | 6.31 | 288 | 1266 | 0% 0% 100% 0% |
| pidigits | |||||
| Pascal Free Pascal | 3.76 | 3.77 | 824 | 785 | 0% 0% 100% 0% |
| C++ GNU g++ | 2.76 | 2.76 | 1,452 | 682 | 0% 0% 100% 0% |
| fasta-redux | |||||
| Pascal Free Pascal | 4.79 | 4.80 | 8 | 1227 | 0% 0% 1% 100% |
| C++ GNU g++ | 2.93 | 2.94 | 616 | 1474 | 1% 0% 0% 100% |
| n-body | |||||
| Pascal Free Pascal | 34.71 | 34.72 | 8 | 1308 | 100% 0% 0% 0% |
| C++ GNU g++ | 20.13 | 20.14 | 320 | 1659 | 0% 0% 100% 0% |
| reverse-complement | |||||
| Pascal Free Pascal | 2.19 | 2.19 | 130,436 | 751 | 0% 1% 100% 1% |
| C++ GNU g++ | 1.25 | 0.86 | 245,456 | 2275 | 51% 15% 33% 49% |
| mandelbrot | |||||
| Pascal Free Pascal | 83.73 | 31.60 | 32,076 | 817 | 94% 95% 35% 41% |
| C++ GNU g++ | 23.74 | 5.97 | 32,096 | 1017 | 99% 99% 99% 100% |
| binary-trees | |||||
| Pascal Free Pascal | 33.26 | 33.28 | 65,840 | 769 | 0% 0% 0% 100% |
| C++ GNU g++ | 17.07 | 5.78 | 178,988 | 892 | 90% 71% 77% 59% |
| spectral-norm | |||||
| Pascal Free Pascal | 15.77 | 15.77 | 8 | 423 | 0% 0% 0% 100% |
| C++ GNU g++ | 10.03 | 2.52 | 388 | 1044 | 100% 100% 100% 100% |
| k-nucleotide | |||||
| Pascal Free Pascal | 48.70 | 48.72 | 128,396 | 2383 | 0% 0% 100% 0% |
| C++ GNU g++ | 12.13 | 3.65 | 132,052 | 3415 | 83% 81% 95% 76% |
| regex-dna | |||||
| C++ GNU g++ | 0.07 | 0.08 | ? | 695 | 50% 25% 63% 0% |
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