1 : Are the Fortran Intel programs faster? At a glance.

Each chart bar shows, for one unidentified benchmark, how much the fastest Fortran Intel program used compared to the fastest C++ g++ program.

(Memory use is only compared for tasks that require memory to be allocated.)


These are not the only compilers and interpreters. These are not the only programs that could be written. These are not the only tasks that could be solved. These are just 10 tiny examples.

 2 : Are the Fortran Intel programs faster? Approximately.

Each table row shows, for one named benchmark, how much the fastest Fortran Intel program used compared to the fastest C++ g++ program.

(Memory use is only compared for tasks that require memory to be allocated.)

 Fortran Intel used what fraction? used how many times more? 
Benchmark Time Memory Code
 fasta1/2 ±
 spectral-norm± 1/2
 pidigits± ±
 binary-trees±1/2±
 fannkuch-redux± ±
 n-body± ±
 reverse-complement †±1/2
 mandelbrot 1/2
 k-nucleotide±
 Fortran Intel used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/21/2±±

† possible mismatch - one-core program compared to multi-core program.

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

 3 : Are the Fortran Intel programs faster? Measurements.

These are not the only tasks that could be solved. These are just 10 tiny examples. These are not the only compilers and interpreters. These are not the only programs that could be written.

For each named benchmark, measurements of the fastest Fortran Intel program are shown for comparison against measurements of the fastest C++ g++ program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 fasta 
Fortran Intel2.702.702441327  1% 0% 0% 100%
C++ g++4.234.231,0721286  1% 95% 1% 5%
 spectral-norm 
Fortran Intel7.982.001,328638  100% 100% 100% 100%
C++ g++10.092.544961044  99% 99% 100% 100%
 pidigits 
Fortran Intel1.911.921,324975  0% 2% 1% 100%
C++ g++2.292.301,656682  1% 0% 0% 100%
 binary-trees 
Fortran Intel23.397.55181,0001199  69% 72% 99% 72%
C++ g++27.048.03357,812892  58% 97% 91% 94%
 fannkuch-redux 
Fortran Intel51.2012.848,5641148  100% 100% 100% 100%
C++ g++53.3313.631,2641440  100% 98% 99% 94%
 n-body 
Fortran Intel9.079.075121659  0% 1% 100% 1%
C++ g++9.359.354321544  98% 1% 3% 1%
 reverse-complement 
Fortran Intel1.161.17246,4881013  0% 0% 100% 1% †
C++ g++1.020.65247,5082275  17% 64% 34% 48% †
 mandelbrot 
Fortran Intel48.4318.4157,492611  96% 34% 95% 41%
C++ g++23.775.9732,3881017  100% 100% 100% 100%
 k-nucleotide 
Fortran Intel65.5225.74196,2122079  48% 38% 90% 83%
C++ g++24.797.34154,7841252  81% 80% 81% 97%
 fasta-redux 
No program
C++ g++0.030.03?1474  0% 0% 100% 25%
 regex-dna 
No program
C++ g++0.070.09?695  0% 10% 44% 70%

† possible mismatch - one-core program compared to multi-core program.

 4 : Are there other Fortran Intel programs for these benchmarks?

Remember - those are just the fastest Fortran Intel and C++ g++ programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for Fortran Intel.

Maybe one of those other Fortran Intel programs is fastest on a different OS/machine.

 5 : Are there other faster programs for these benchmarks?

Remember - those are just the fastest Fortran Intel and C++ 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.

 Fortran Intel : pioneering numeric and scientific programming 

Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.0.1.117 Build 20121010

Home Page: Non-Commercial Software Development

Revised BSD license

  Home   Conclusions   License   Play