Ubuntu : Intel® Q6600® quad-core |
Compare the performance of Pascal Free Pascal programs against some other language implementation.
For more information about the Pascal implementation we measured see ↓ about Pascal Free Pascal.
| 1/2 1/3 1/4 Pascal Free Pascal is better | ||||
|---|---|---|---|---|
| Programs | Time | Memory Use | Source Size | Reduced N |
| chameneos-redux | ||||
| regex-dna | ||||
| k-nucleotide | ||||
| binary-trees | ± | 1/2 | ± | |
| fannkuch | ± | 1/23 | ± | |
| fasta | ± | 1/4 | ± | |
| n-body | ± | 1/4 | ± | |
| reverse-complement | 2 | 1/2 | ± | |
| pidigits | 2 | 1/2 | ± | |
| spectral-norm | 6 | 1/6 | 1/3 | |
| mandelbrot | 13 | 1/554 | 1/2 | |
± look at the measurements
| Program & Logs | CPU secs | Memory KB | Size B | Elapsed secs | ~ CPU Load |
|---|---|---|---|---|---|
| binary-trees | |||||
| Pascal Free Pascal | 31.29 | 65,620 | 769 | 31.28 | 0% 100% 0% 0% |
| C++ GNU g++ #2 | 40.80 | 99,396 | 553 | 40.79 | 0% 0% 0% 100% |
| fannkuch | |||||
| Pascal Free Pascal | 58.79 | 48 | 712 | 58.78 | 0% 100% 0% 0% |
| C++ GNU g++ #2 | 71.42 | 1,092 | 554 | 71.41 | 100% 0% 0% 0% |
| fasta | |||||
| Pascal Free Pascal #4 | 8.12 | 212 | 1112 | 8.12 | 0% 0% 0% 100% |
| C++ GNU g++ #4 | 6.07 | 744 | 1266 | 6.07 | 0% 100% 0% 0% |
| n-body | |||||
| Pascal Free Pascal | 35.04 | 192 | 1308 | 35.04 | 0% 0% 0% 100% |
| C++ GNU g++ #4 | 23.84 | 788 | 1428 | 23.84 | 1% 0% 100% 0% |
| reverse-complement | |||||
| Pascal Free Pascal #2 | 2.42 | 122,792 | 751 | 2.42 | 100% 1% 0% 0% |
| C++ GNU g++ #2 | 1.81 | 245,092 | 1098 | 1.13 | 15% 31% 21% 88% |
| pidigits | |||||
| Pascal Free Pascal #2 | 6.59 | 1,060 | 785 | 6.59 | 18% 100% 13% 22% |
| C++ GNU g++ #3 | 2.71 | 1,596 | 682 | 2.72 | 0% 9% 7% 100% |
| spectral-norm | |||||
| Pascal Free Pascal | 18.79 | 184 | 423 | 18.79 | 0% 100% 0% 0% |
| C++ GNU g++ #7 | 12.01 | 1,032 | 1114 | 3.01 | 100% 100% 100% 100% |
| mandelbrot | |||||
| Pascal Free Pascal #3 | 78.28 | 52 | 530 | 78.28 | 0% 0% 0% 100% |
| C++ GNU g++ #5 | 24.70 | 28,800 | 858 | 6.18 | 100% 100% 100% 100% |
Pascal and its Successors - Niklaus Wirth
Free Pascal Compiler version 2.2.2 [2008/07/29] for i386
Home Page: http://www.freepascal.org
Download: http://www.freepascal.org/download.html