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.21 8 1524 8.21 0% 100% 1% 0%
C gcc 9.12 1,176 1490 9.12 1% 100% 2% 2%
spectral-norm
source secs mem gz cpu cpu load
Fortran Intel 1.98 2,944 638 7.88 100% 100% 100% 99%
C gcc 2.00 1,300 569 7.89 99% 99% 100% 99%
fannkuch-redux
source secs mem gz cpu cpu load
Fortran Intel 12.93 10,848 1158 51.60 100% 100% 100% 100%
C gcc 8.66 980 910 34.22 100% 97% 100% 100%
fasta
source secs mem gz cpu cpu load
Fortran Intel 2.91 8 1351 2.90 100% 0% 1% 2%
C gcc 1.32 2,912 2268 5.25 100% 99% 100% 99%
binary-trees
source secs mem gz cpu cpu load
Fortran Intel 5.84 115,892 1148 17.30 63% 68% 66% 100%
C gcc 2.44 133,956 836 7.57 80% 65% 68% 100%
mandelbrot
source secs mem gz cpu cpu load
Fortran Intel 6.16 59,724 661 20.76 79% 80% 79% 100%
C gcc 1.64 29,424 1135 6.53 99% 100% 100% 100%
regex-redux
source secs mem gz cpu cpu load
  No program contribute your program
C gcc 0.02 ? 1230 0.05 100% 100% 50% 100%
k-nucleotide
source secs mem gz cpu cpu load
Fortran Intel   Failed
C gcc 0.16 ? 1506 0.26 67% 63% 38% 71%
pidigits
source secs mem gz cpu cpu load
Fortran Intel   Failed
C gcc 0.06 ? 452 0.06 86% 14% 0% 83%
reverse-complement
source secs mem gz cpu cpu load
Fortran Intel   Make Error
C gcc 0.01 ? 1438 0.02 100% 0% 0% 0%
Fortran Intel

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

C gcc

gcc (Ubuntu 7.2.0-8ubuntu3) 7.2.0