The Computer Language
Benchmarks Game

Fortran Intel programs versus C gcc

by benchmark task performance

n-body
source secs KB 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 KB 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 KB 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 KB gz cpu cpu load
Fortran Intel 5.88 189,324 1199 18.26 79% 95% 65% 74%
C gcc 3.28 156,780 906 10.12 91% 77% 59% 83%
fasta
source secs KB 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 KB 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 KB gz cpu cpu load
Fortran Intel 18.89 64,588 611 48.78 92% 42% 92% 33%
C gcc 1.78 29,792 911 7.03 100% 99% 99% 98%
k-nucleotide
source secs KB gz cpu cpu load
Fortran Intel 86.89 203,824 2238 86.83 1% 100% 1% 0%
C gcc 6.46 130,076 1500 17.06 51% 37% 89% 88%
regex-dna
source secs KB gz cpu cpu load
  No program contribute your program
C gcc 0.20 ? 2579 ? 85% 14% 11% 40%
pidigits
source secs KB 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