/mobile Handheld Friendly website

÷

 Step 1 : Are the Pascal Free Pascal programs faster? At a glance.

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.

 Step 2 : Are the Pascal Free Pascal programs faster? Approximately.

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-norm1/811/2
 fasta-redux1/77±
 n-body1/40±
 reverse-complement1/21/3
 binary-trees1/2±
 mandelbrot1/4,0121/2
 k-nucleotide±±
 Pascal Free Pascal used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)±±±

± read the measurements and then read the program source code.

 Step 3 : Are the Pascal Free Pascal programs faster? Measurements.

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 Pascal64.8464.856601018  0% 0% 0% 100%
C++ GNU g++61.4261.441,0201439  0% 0% 0% 100%
 fasta 
Pascal Free Pascal7.937.9381112  0% 0% 0% 100%
C++ GNU g++6.306.302881266  0% 0% 0% 100%
 pidigits 
Pascal Free Pascal3.763.76824785  0% 1% 0% 100%
C++ GNU g++2.752.761,448682  0% 1% 1% 100%
 spectral-norm 
Pascal Free Pascal15.7615.778423  0% 1% 0% 100%
C++ GNU g++10.0010.006481044  0% 1% 0% 100%
 fasta-redux 
Pascal Free Pascal4.794.8081227  0% 0% 0% 100%
C++ GNU g++2.932.936161474  0% 0% 0% 100%
 n-body 
Pascal Free Pascal34.6734.6881308  0% 0% 0% 100%
C++ GNU g++20.1520.163201659  0% 0% 0% 100%
 reverse-complement 
Pascal Free Pascal2.182.18130,956751  0% 0% 0% 100%
C++ GNU g++1.071.09245,4242275  0% 0% 1% 100%
 binary-trees 
Pascal Free Pascal33.7533.7665,840769  0% 0% 0% 100%
C++ GNU g++13.0313.05148,440892  0% 1% 0% 100%
 mandelbrot 
Pascal Free Pascal78.7478.768530  0% 0% 0% 100%
C++ GNU g++23.7223.7332,0961017  0% 0% 0% 100%
 k-nucleotide 
Pascal Free Pascal49.8249.85128,3962383  0% 0% 0% 100%
C++ GNU g++11.6711.68133,4563415  0% 0% 0% 100%
 regex-dna 
No program
C++ GNU g++0.050.08?695  0% 0% 0% 100%

 Step 4 : Are there other Pascal Free Pascal programs for these benchmarks?

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.

 Step 5 : Are there other faster programs for these benchmarks?

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 Free Pascal : imperative programming plus objects 

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

Revised BSD license

  Home   Conclusions   License   Help