The Computer Language
Benchmarks Game

Intel Fortran versus C gcc fastest programs

Always look at the source code.

These are only the fastest programs. Look at the other programs. They may seem more-like a fair comparison to you.

pidigits
source secs mem gz busy cpu load
Intel Fortran 1.74 4,012 981 1.79 0% 100% 0% 2%
C gcc 1.75 2,608 452 1.80 67% 0% 2% 33%
spectral-norm
source secs mem gz busy cpu load
Intel Fortran 2.07 1,764 638 8.29 100% 100% 100% 100%
C gcc 1.98 988 569 7.89 99% 99% 100% 99%
n-body
source secs mem gz busy cpu load
Intel Fortran 8.29 8 1524 8.61 1% 0% 2% 100%
C gcc 7.30 8 1391 7.41 0% 1% 100% 0%
regex-redux
source secs mem gz busy cpu load
Intel Fortran 1.73 175,952 2225 4.90 67% 62% 61% 94%
C gcc 1.42 152,192 1397 3.40 100% 48% 48% 44%
fannkuch-redux
source secs mem gz busy cpu load
Intel Fortran 12.58 11,036 1158 50.21 100% 100% 100% 100%
C gcc 8.73 696 910 34.46 100% 95% 100% 100%
binary-trees
source secs mem gz busy cpu load
Intel Fortran 5.48 114,064 1148 16.65 65% 79% 89% 71%
C gcc 3.59 168,896 809 11.86 77% 74% 98% 82%
mandelbrot
source secs mem gz busy cpu load
Intel Fortran 3.69 36,232 957 14.68 99% 99% 99% 100%
C gcc 1.64 27,024 1135 6.53 99% 99% 100% 100%
fasta
source secs mem gz busy cpu load
Intel Fortran 3.35 8 1351 3.45 0% 0% 100% 3%
C gcc 1.46 2,948 2268 5.84 100% 99% 100% 99%
reverse-complement
source secs mem gz busy cpu load
Intel Fortran 4.94 985,376 1019 5.28 95% 3% 3% 6%
C gcc 1.92 551,900 820 2.58 20% 99% 14% 1%
k-nucleotide
source secs mem gz busy cpu load
Intel Fortran   Make Error
C gcc 4.84 130,192 1506 16.00 98% 83% 63% 87%
Intel Fortran

Intel(R) Fortran Intel(R) 64 Compiler
for applications running on Intel(R) 64,
Version 19.1.1.217 Build 20200306
Copyright (C) 1985-2020 Intel Corporation. All rights reserved.
FOR NON-COMMERCIAL USE ONLY

C gcc

gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0