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 0% 1% 100% 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.98 3,020 638 7.89 100% 100% 100% 99%
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,108 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 3.35 8 1351 3.35 1% 100% 1% 0%
C gcc 1.32 2,892 2268 5.22 100% 100% 99% 99%
reverse-complement
source secs mem gz cpu cpu load
Fortran Intel 4.83 986,208 1019 4.82 0% 100% 0% 1%
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 64,516 661 20.75 81% 81% 81% 100%
C gcc 1.64 26,416 1135 6.55 100% 100% 99% 100%
binary-trees
source secs mem gz cpu cpu load
Fortran Intel 16.53 102,084 1148 16.51 1% 0% 0% 100%
C gcc 2.55 130,516 836 7.77 82% 66% 64% 94%
k-nucleotide
source secs mem gz cpu cpu load
Fortran Intel 96.10 203,196 2238 96.05 78% 0% 0% 23%
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.11 ? 1397 0.06 55% 50% 18% 18%
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