The Computer Language
Benchmarks Game

Fortran Intel programs versus C gcc

by benchmark task performance

spectral-norm
secs KB gz cpu cpu load
Fortran Intel 1.99 5,384 638 7.91 100% 99% 100% 100%
C gcc 1.98 1,704 569 7.86 99% 100% 99% 99%
n-body
secs KB gz cpu cpu load
Fortran Intel 10.76 520 1659 10.75 1% 0% 100% 1%
C gcc 10.39 736 1490 10.38 0% 100% 1% 1%
pidigits
secs KB gz cpu cpu load
Fortran Intel 2.66 1,464 934 2.66 0% 1% 100% 0%
C gcc 2.50 2,140 448 2.49 100% 0% 1% 0%
reverse-complement
secs KB gz cpu cpu load
Fortran Intel 0.94 247,472 1013 0.93 1% 0% 3% 99%
C gcc 0.60 251,368 741 0.86 95% 84% 44% 15%
fasta
secs KB gz cpu cpu load
Fortran Intel 2.99 260 1327 2.99 0% 1% 100% 1%
C gcc 1.81 2,352 1914 5.29 89% 53% 54% 100%
fannkuch-redux
secs KB gz cpu cpu load
Fortran Intel 18.85 12,464 1148 75.18 100% 100% 100% 100%
C gcc 10.06 1,388 910 39.49 99% 99% 95% 100%
k-nucleotide
secs KB gz cpu cpu load
Fortran Intel 27.09 172,064 2079 68.10 37% 54% 83% 79%
C gcc 12.35 131,904 1535 36.58 37% 71% 95% 94%
binary-trees
secs KB gz cpu cpu load
Fortran Intel 6.57 125,016 1199 19.94 67% 70% 71% 96%
C gcc 2.97 105,024 906 9.68 93% 77% 87% 72%
mandelbrot
secs KB gz cpu cpu load
Fortran Intel 18.78 65,080 611 48.90 93% 34% 93% 42%
C gcc 5.61 28,988 799 22.40 100% 100% 100% 100%
regex-dna
secs KB gz cpu cpu load
  No program contribute your program
C gcc 0.49 1,208 2579 0.07 49% 98% 92% 4%
fasta-redux
secs KB gz cpu cpu load
  No program contribute your program
C gcc 0.02 ? 1402 0.02 0% 0% 0% 100%
Fortran Intel

Intel(R) Fortran Compiler XE for applications running on IA-32, Version 15.0.2.164 Build 20150121
Copyright (C) 1985-2015 Intel Corporation. All rights reserved.
FOR NON-COMMERCIAL USE ONLY

C gcc

gcc version 4.9.2 (Ubuntu 4.9.2-10ubuntu13)