The Computer Language
Benchmarks Game

Fortran Intel programs versus C gcc

by benchmark task performance

n-body
source secs mem gz cpu cpu load
Fortran Intel 8.11 8 1518 8.11 0% 1% 100% 1%
C gcc 9.56 1,000 1490 9.56 1% 100% 1% 1%
spectral-norm
source secs mem gz cpu cpu load
Fortran Intel 1.99 4,876 638 7.91 100% 99% 100% 100%
C gcc 1.98 1,776 1139 7.87 99% 99% 100% 99%
fannkuch-redux
source secs mem gz cpu cpu load
Fortran Intel 12.45 12,236 1148 49.60 100% 100% 100% 100%
C gcc 9.07 1,576 910 35.43 100% 99% 98% 94%
binary-trees
source secs mem gz cpu cpu load
Fortran Intel 5.98 185,288 1199 18.25 73% 72% 69% 95%
C gcc 3.28 156,780 906 10.12 91% 77% 59% 83%
fasta
source secs mem gz cpu cpu load
Fortran Intel 2.50 8 1327 2.50 1% 0% 100% 2%
C gcc 1.36 2,800 1993 5.26 96% 97% 100% 97%
reverse-complement
source secs mem gz cpu cpu load
Fortran Intel 1.02 149,936 1013 1.01 0% 1% 1% 99%
C gcc 0.42 145,900 812 0.57 0% 26% 20% 100%
mandelbrot
source secs mem gz cpu cpu load
Fortran Intel 18.89 64,588 611 48.78 92% 42% 92% 33%
C gcc 1.64 29,848 1135 6.51 100% 100% 100% 100%
k-nucleotide
source secs mem gz cpu cpu load
Fortran Intel 86.93 203,808 2238 86.86 100% 1% 0% 0%
C gcc 6.46 130,076 1500 17.06 51% 37% 89% 88%
regex-redux
source secs mem gz cpu cpu load
  No program contribute your program
C gcc 0.05 ? 1266 0.06 50% 20% 17% 50%
pidigits
source secs mem gz cpu cpu load
Fortran Intel   Failed
C gcc 0.06 ? 448 0.06 0% 0% 0% 100%
Fortran Intel

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

C gcc

gcc (Ubuntu 5.4.0-6ubuntu1~16.04.1) 5.4.0 20160609