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 7.95 8 1518 7.94 1% 0% 1% 100%
C gcc 9.96 1,016 1490 9.95 1% 1% 1% 100%
spectral-norm
source secs mem gz cpu cpu load
Fortran Intel 1.99 4,928 638 7.90 100% 99% 100% 100%
C gcc 1.99 1,824 1139 7.88 99% 99% 99% 100%
fannkuch-redux
source secs mem gz cpu cpu load
Fortran Intel 12.74 12,832 1148 50.79 100% 100% 100% 100%
C gcc 8.97 1,660 910 35.00 98% 94% 99% 100%
fasta
source secs mem gz cpu cpu load
Fortran Intel 2.53 8 1327 2.53 0% 1% 0% 100%
C gcc 1.33 2,856 2249 5.28 100% 99% 100% 99%
binary-trees
source secs mem gz cpu cpu load
Fortran Intel 5.50 119,140 1148 16.35 64% 64% 100% 71%
C gcc 2.38 131,728 836 7.70 98% 87% 73% 68%
reverse-complement
source secs mem gz cpu cpu load
Fortran Intel 1.02 150,284 1013 1.01 100% 1% 1% 0%
C gcc 0.42 143,948 812 0.58 15% 26% 98% 2%
mandelbrot
source secs mem gz cpu cpu load
Fortran Intel 18.90 62,864 611 48.78 92% 33% 92% 42%
C gcc 1.65 32,684 1135 6.53 99% 99% 100% 99%
k-nucleotide
source secs mem gz cpu cpu load
Fortran Intel 87.62 203,604 2238 87.57 1% 0% 100% 0%
C gcc 5.38 129,772 1499 16.37 61% 82% 89% 74%
regex-redux
source secs mem gz cpu cpu load
  No program contribute your program
C gcc 0.02 ? 1230 0.05 67% 100% 100% 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 6.3.0-12ubuntu2) 6.3.0 20170406