OUT-OF-DATE! Read http://shootout.alioth.debian.org/ |
Do the Pascal Free Pascal programs use optimized assembly code libraries? Are they small simple programs or very optimized programs? Do the Pascal Free Pascal programs use a fraction of the time used by other programs or do they use several times more?
| Pascal Free Pascal used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Programs | Time | Memory | Code | Reduced N |
| ↓ sum-file | ± | 1/9 | ± | |
| ↓ fannkuch | ± | 1/9 | ± | |
| ↓ binary-trees | ± | 1/2 | ± | |
| ↓ pidigits | ± | 1/2 | ± | |
| ↓ nsieve | ± | ± | ± | |
| ↓ partial-sums | ± | 1/3 | ± | |
| ↓ nsieve-bits | ± | ± | ± | |
| ↓ n-body | ± | 1/3 | ± | |
| ↓ spectral-norm | ± | 1/3 | ± | |
| ↓ k-nucleotide | ± | ± | 2× | |
| ↓ reverse-complement | ± | ± | ± | |
| ↓ fasta | ± | 1/2 | ± | |
| ↓ recursive | 2× | 1/2 | ± | |
| ↓ mandelbrot | 2× | 1/9 | 1/2 | |
± look at the measurements and then look at the programs.
| Program & Logs | CPU secs | Elapsed secs | Memory KB | Code B | ~ CPU Load |
|---|---|---|---|---|---|
| sum-file | |||||
| Pascal Free Pascal | 4.94 | 92 | 188 | ||
| C++ GNU g++ | 6.47 | 852 | 260 | ||
| fannkuch | |||||
| Pascal Free Pascal | 6.62 | 96 | 712 | ||
| C++ GNU g++ | 7.78 | 844 | 554 | ||
| binary-trees | |||||
| Pascal Free Pascal | 3.92 | 4,224 | 769 | ||
| C++ GNU g++ | 4.47 | 6,996 | 541 | ||
| pidigits | |||||
| Pascal Free Pascal | 1.63 | 620 | 785 | ||
| C++ GNU g++ | 1.66 | 1,052 | 652 | ||
| nsieve | |||||
| Pascal Free Pascal | 2.08 | 5,092 | 301 | ||
| C++ GNU g++ | 2.08 | 5,764 | 313 | ||
| partial-sums | |||||
| Pascal Free Pascal | 4.12 | 272 | 496 | ||
| C++ GNU g++ | 4.05 | 852 | 531 | ||
| nsieve-bits | |||||
| Pascal Free Pascal | 4.15 | 2,800 | 476 | ||
| C++ GNU g++ | 3.86 | 3,316 | 494 | ||
| n-body | |||||
| Pascal Free Pascal | 16.91 | 272 | 1308 | ||
| C++ GNU g++ | 14.62 | 932 | 1705 | ||
| spectral-norm | |||||
| Pascal Free Pascal | 29.13 | 260 | 423 | ||
| C++ GNU g++ | 23.84 | 900 | 442 | ||
| k-nucleotide | |||||
| Pascal Free Pascal | 9.61 | 10,424 | 2380 | ||
| C++ GNU g++ | 7.46 | 9,304 | 1380 | ||
| reverse-complement | |||||
| Pascal Free Pascal | 0.73 | 13,004 | 751 | ||
| C++ GNU g++ | 0.54 | 13,288 | 810 | ||
| fasta | |||||
| Pascal Free Pascal | 25.45 | 372 | 1189 | ||
| C++ GNU g++ | 18.72 | 788 | 1248 | ||
| recursive | |||||
| Pascal Free Pascal | 4.14 | 460 | 462 | ||
| C++ GNU g++ | 2.40 | 1,008 | 566 | ||
| mandelbrot | |||||
| Pascal Free Pascal | 5.91 | 100 | 530 | ||
| C++ GNU g++ | 3.02 | 896 | 1097 | ||
| chameneos-redux | |||||
| regex-dna | |||||
Pascal and its Successors - Niklaus Wirth
Free Pascal Compiler version 2.2.0 [2007/09/14] for i386
Home Page: http://www.freepascal.org
Download: http://www.freepascal.org/download.html