The Computer Language
Benchmarks Game

Fortran Intel versus C gcc fastest programs

by faster benchmark performance

n-body
source secs mem gz cpu cpu load
Fortran Intel 8.16 8 1524 8.16 100% 0% 1% 0%
C gcc 9.17 1,228 1490 9.17 100% 0% 0% 1%
spectral-norm
source secs mem gz cpu cpu load
Fortran Intel 1.99 3,020 638 7.92 100% 99% 100% 100%
C gcc 1.99 1,292 569 7.89 99% 99% 99% 99%
fannkuch-redux
source secs mem gz cpu cpu load
Fortran Intel 14.43 11,104 1158 57.59 100% 100% 100% 100%
C gcc 8.72 980 910 34.43 98% 97% 100% 100%
fasta
source secs mem gz cpu cpu load
Fortran Intel 2.56 8 1351 2.55 1% 100% 0% 0%
C gcc 1.32 2,892 2268 5.22 100% 100% 99% 99%
binary-trees
source secs mem gz cpu cpu load
Fortran Intel 6.44 113,180 1148 18.96 91% 63% 65% 78%
C gcc 2.54 130,292 836 7.76 78% 67% 64% 98%
reverse-complement
source secs mem gz cpu cpu load
Fortran Intel 4.85 986,208 1019 4.84 17% 1% 1% 83%
C gcc 1.75 994,468 1438 3.96 48% 44% 95% 44%
mandelbrot
source secs mem gz cpu cpu load
Fortran Intel 6.07 62,860 661 20.75 81% 81% 81% 100%
C gcc 1.64 26,416 1135 6.55 100% 100% 99% 100%
k-nucleotide
source secs mem gz cpu cpu load
Fortran Intel 95.85 203,196 2238 95.80 0% 0% 1% 100%
C gcc 5.07 130,008 1506 15.25 88% 84% 58% 73%
regex-redux
source secs mem gz cpu cpu load
  No program contribute your program
C gcc 0.05 ? 1230 0.07 40% 33% 40% 83%
pidigits
source secs mem gz cpu cpu load
Fortran Intel   Failed
C gcc 0.07 ? 452 0.07 13% 100% 0% 0%
Fortran Intel

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

C gcc

gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0