The Computer Language
Benchmarks Game

C gcc versus Intel C fastest programs

Always look at the source code.

These are only the fastest programs. Do some of them use manually vectorized SIMD? Look at the other programs. They may seem more-like a fair comparison to you.

mandelbrot
source secs mem gz busy cpu load
C gcc 1.27 31,792 1135 5.08 100% 100% 99% 100%
Intel C 3.00 32,724 782 12.00 100% 100% 100% 100%
spectral-norm
source secs mem gz busy cpu load
C gcc 0.40 872 1197 1.58 100% 100% 100% 98%
Intel C 0.54 3,128 1197 2.14 98% 100% 100% 100%
n-body
source secs mem gz busy cpu load
C gcc 2.18 768 1633 2.19 0% 100% 0% 0%
Intel C 2.83 1,088 1633 2.84 100% 0% 0% 0%
fasta
source secs mem gz busy cpu load
C gcc 0.78 1,156 1463 0.78 0% 0% 0% 100%
Intel C 1.01 1,692 1463 1.03 100% 1% 0% 1%
k-nucleotide
source secs mem gz busy cpu load
C gcc 3.72 130,260 1506 12.07 100% 89% 78% 57%
Intel C 4.70 129,292 1506 9.06 21% 36% 44% 91%
reverse-complement
source secs mem gz busy cpu load
C gcc 0.86 712,208 820 1.27 99% 28% 1% 19%
Intel C 1.08 799,756 820 4.30 100% 99% 99% 100%
pidigits
source secs mem gz busy cpu load
C gcc 0.59 2,444 1090 2.37 100% 100% 100% 98%
Intel C 0.73 3,256 416 0.74 1% 100% 0% 0%
fannkuch-redux
source secs mem gz busy cpu load
C gcc 7.58 872 910 29.61 100% 98% 99% 93%
Intel C 9.02 3,240 910 35.80 100% 100% 100% 97%
binary-trees
source secs mem gz busy cpu load
C gcc 1.54 168,832 809 4.35 60% 67% 57% 100%
Intel C 1.73 169,876 809 5.66 81% 82% 73% 92%
regex-redux
source secs mem gz busy cpu load
C gcc 0.80 152,172 1397 2.01 52% 99% 48% 53%
Intel C 0.86 154,716 1397 2.84 80% 76% 78% 97%
C gcc

gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0

Intel C

Intel(R) C Intel(R) 64 Compiler
for applications running on Intel(R) 64,
Version 19.1.3.304 Build 20200925_000000
Copyright (C) 1985-2020 Intel Corporation. All rights reserved.
FOR NON-COMMERCIAL USE ONLY