/mobile Handheld Friendly website
Ubuntu : Intel® Q6600® quad-core |
Each chart bar shows, for one unidentified benchmark, how much the fastest Fortran Intel program used compared to the fastest C++ g++ program.
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.
Each table row shows, for one named benchmark, how much the fastest Fortran Intel program used compared to the fastest C++ g++ program.
| Fortran Intel used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | |
| mandelbrot | ± | ± | ± | |
| fasta | ± | 1/2 | ± | |
| spectral-norm | ± | ± | 1/2 | |
| pidigits | ± | ± | ± | |
| binary-trees | ± | ± | ± | |
| reverse-complement † | ± | ± | 1/2 | |
| fannkuch-redux | ± | 9× | ± | |
| n-body | 2× | ± | ± | |
| k-nucleotide | 4× | ± | 2× | |
| Fortran Intel used what fraction? used how many times more? | |||||||
|---|---|---|---|---|---|---|---|
| Time-used | |- | |--- | 25% | median | 75% | ---| | -| |
| (Elapsed secs) | ± | ± | ± | ± | ± | 2× | 4× |
† possible mismatch - one-core program compared to multi-core program.
± read the measurements and then read the program source code.
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 |
|---|---|---|---|---|---|
| mandelbrot | |||||
| Fortran Intel | 14.21 | 3.61 | 27,032 | 967 | 99% 99% 99% 99% |
| C++ g++ | 19.64 | 5.10 | 32,076 | 726 | 95% 95% 95% 100% |
| fasta | |||||
| Fortran Intel | 3.18 | 3.19 | 260 | 1327 | 0% 0% 2% 100% |
| C++ g++ | 4.10 | 4.11 | 620 | 1105 | 55% 0% 0% 46% |
| spectral-norm | |||||
| Fortran Intel | 7.91 | 2.00 | 1,296 | 638 | 99% 99% 99% 99% |
| C++ g++ | 7.96 | 2.00 | 924 | 1044 | 100% 100% 100% 100% |
| pidigits | |||||
| Fortran Intel | 2.74 | 2.74 | 1,476 | 934 | 0% 0% 100% 1% |
| C++ g++ | 2.68 | 2.68 | 1,452 | 682 | 1% 0% 1% 99% |
| binary-trees | |||||
| Fortran Intel | 23.99 | 7.93 | 116,980 | 1199 | 68% 68% 98% 69% |
| C++ g++ | 19.06 | 6.60 | 173,960 | 892 | 60% 92% 75% 65% |
| reverse-complement | |||||
| Fortran Intel | 1.02 | 1.04 | 246,460 | 1013 | 1% 0% 1% 100% † |
| C++ g++ | 1.22 | 0.84 | 245,428 | 2275 | 19% 31% 12% 88% † |
| fannkuch-redux | |||||
| Fortran Intel | 66.89 | 16.85 | 8,508 | 1148 | 100% 100% 100% 100% |
| C++ g++ | 49.71 | 12.69 | 996 | 1440 | 98% 100% 94% 100% |
| n-body | |||||
| Fortran Intel | 20.05 | 20.06 | 520 | 1496 | 0% 0% 0% 100% |
| C++ g++ | 10.41 | 10.42 | 620 | 1763 | 1% 1% 0% 100% |
| k-nucleotide | |||||
| Fortran Intel | 70.68 | 28.99 | 158,124 | 2079 | 35% 42% 99% 68% |
| C++ g++ | 23.39 | 7.40 | 138,100 | 1252 | 73% 74% 74% 97% |
| regex-dna | |||||
| C++ g++ | 0.07 | 0.08 | ? | 695 | 50% 11% 0% 67% |
| fasta-redux | |||||
| C++ g++ | 0.03 | 0.03 | ? | 1474 | 0% 0% 100% 0% |
† possible mismatch - one-core program compared to multi-core program.
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.
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.
Intel(R) Fortran Compiler XE for applications running on IA-32, Version 13.0.1.117 Build 20121010
Home Page: Non-Commercial Software Development