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.28 8 1524 8.28 1% 0% 0% 100%
C gcc 9.37 1,088 1490 9.37 100% 0% 1% 0%
spectral-norm
source secs mem gz cpu cpu load
Fortran Intel 1.98 1,684 638 7.89 99% 100% 99% 100%
C gcc 1.98 1,168 1139 7.87 100% 99% 100% 99%
fannkuch-redux
source secs mem gz cpu cpu load
Fortran Intel 12.59 10,912 1158 50.24 100% 100% 100% 100%
C gcc 8.67 852 910 34.14 99% 100% 100% 95%
fasta
source secs mem gz cpu cpu load
Fortran Intel 3.34 8 1351 3.33 0% 2% 100% 0%
C gcc 1.36 2,864 2268 5.41 99% 100% 100% 99%
reverse-complement
source secs mem gz cpu cpu load
Fortran Intel 4.78 985,316 1019 4.77 1% 100% 0% 0%
C gcc 1.76 994,488 1438 3.98 97% 43% 44% 46%
mandelbrot
source secs mem gz cpu cpu load
Fortran Intel 6.51 61,460 661 22.49 82% 82% 82% 100%
C gcc 1.64 26,512 1135 6.54 99% 100% 99% 100%
binary-trees
source secs mem gz cpu cpu load
Fortran Intel 15.35 101,984 1148 15.34 0% 0% 1% 100%
C gcc 3.73 116,600 836 11.74 76% 71% 98% 72%
k-nucleotide
source secs mem gz cpu cpu load
Fortran Intel 97.11 203,140 2238 97.05 1% 0% 0% 100%
C gcc 4.88 130,060 1506 16.06 87% 96% 87% 60%
regex-redux
source secs mem gz cpu cpu load
  No program contribute your program
C gcc 0.42 ? 1397 ? 31% 93% 10% 3%
pidigits
source secs mem gz cpu cpu load
Fortran Intel   Failed
C gcc 0.51 ? 452 ? 65% 0% 6% 24%
Fortran Intel

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

C gcc

gcc (Ubuntu 8.2.0-7ubuntu1) 8.2.0