i7 4960X LLVM Clang GCC Compiler Performance

Intel Core i7-4960X testing Ivy Bridge Extreme with GCC 4.7, GCC 4.8, LLVM Clang 3.2, and LLVM Clang 3.3 compilers on Ubuntu 13.10 x86_64. Benchmarking by Michael Larabel for a future article on Phoronix.com.

HTML result view exported from: https://openbenchmarking.org/result/1310045-SO-I74960XLL69.

i7 4960X LLVM Clang GCC Compiler PerformanceProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionGCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.3Intel Core i7-4960X @ 3.60GHz (12 Cores)MSI X79MA-GD45 (MS-7738) v1.0Intel Xeon E5 v2/Core8192MB320GB Seagate ST3320620ASSapphire AMD Radeon HD 4870 512MBRealtek ALC892AL2223WRealtek RTL8111/8168/8411Ubuntu 13.103.11.0-11-generic (x86_64)Unity 7.1.1X Server 1.14.3radeon 7.2.03.1 Mesa 9.2.0 Gallium 0.4GCC 4.7ext41680x1050GCC 4.8Clang 3.2-7ubuntu1Clang 3.3-5ubuntu4OpenBenchmarking.orgCompiler Details- GCC 4.7.2: --build=x86_64-linux-gnu --disable-cloog-version-check --disable-ppl-version-check --disable-werror --enable-checking=release --enable-clocale=gnu --enable-cloog-backend=ppl --enable-gnu-unique-object --enable-languages=c,c++,go,fortran,objc,obj-c++ --enable-libstdcxx-debug --enable-multiarch --enable-nls --enable-objc-gc --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-cloog --with-multilib-list=m32,m64,mx32 --with-tune=generic -v - GCC 4.8.1: --build=x86_64-linux-gnu --disable-browser-plugin --disable-werror --enable-checking=release --enable-clocale=gnu --enable-gnu-unique-object --enable-gtk-cairo --enable-java-awt=gtk --enable-java-home --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-nls --enable-objc-gc --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-multilib-list=m32,m64,mx32 --with-tune=generic -v Processor Details- Scaling Governor: acpi-cpufreq ondemand

i7 4960X LLVM Clang GCC Compiler Performancepolybench-c: Covariance Computationpolybench-c: Correlation Computationpolybench-c: 3 Matrix Multiplicationshmmer: Pfam Database Searchblake2: Phoronix Test Suite v4.8.3botan: Tigerbotan: KASUMIbotan: AES-256botan: Twofishbotan: CAST-256botan: X9.19-MAChimeno: Poisson Pressure Solverbuild-imagemagick: Time To Compilebuild-php: Time To Compilec-ray: Total Timesmallpt: Global Illumination Renderer; 100 Samplesencode-flac: WAV To FLACencode-mp3: WAV To MP3encode-ogg: WAV To Oggapache: Static Web Page ServingGCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.34.784.7918.418.915.34431.8075.41200.70206.1192.9786.511744.2052.3421.6521.60195.3113.457.2716634.844.784.8018.468.875.30431.5576.56150.22199.9696.5486.651711.4646.0722.4719.03195.4312.957.2716328.254.784.7818.379.547.63440.2667.65188.94197.16113.2583.821653.9222.3315.4321.761586.0913.057.2916151.034.774.7818.498.907.59432.8967.62191.09195.31114.1383.941669.5621.8116.0321.181555.7513.057.2916420.23OpenBenchmarking.org

PolyBench-C

Test: Covariance Computation

OpenBenchmarking.orgSeconds, Fewer Is BetterPolyBench-C 3.2Test: Covariance ComputationGCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.31.07552.1513.22654.3025.3775SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 34.784.784.784.771. (CC) gcc options: -O3 -march=native

PolyBench-C

Test: Correlation Computation

OpenBenchmarking.orgSeconds, Fewer Is BetterPolyBench-C 3.2Test: Correlation ComputationGCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.31.082.163.244.325.4SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 34.794.804.784.781. (CC) gcc options: -O3 -march=native

PolyBench-C

Test: 3 Matrix Multiplications

OpenBenchmarking.orgSeconds, Fewer Is BetterPolyBench-C 3.2Test: 3 Matrix MultiplicationsGCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.3510152025SE +/- 0.03, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 318.4118.4618.3718.491. (CC) gcc options: -O3 -march=native

Timed HMMer Search

Pfam Database Search

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed HMMer Search 2.3.2Pfam Database SearchGCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.33691215SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 38.918.879.548.901. (CC) gcc options: -O3 -march=native -pthread -lhmmer -lsquid -lm

BLAKE2

Phoronix Test Suite v4.8.3

OpenBenchmarking.orgCycles Per Byte, Fewer Is BetterBLAKE2 20121223Phoronix Test Suite v4.8.3GCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.3246810SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 35.345.307.637.591. (CC) gcc options: -std=gnu99 -O3 -march=native -lcrypto -lz

Botan

Test: Tiger

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: TigerGCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.3100200300400500431.80431.55440.26432.891. (CXX) g++ options: -m64 -ldl -lpthread -lrt -O2

Botan

Test: KASUMI

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: KASUMIGCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.32040608010075.4176.5667.6567.621. (CXX) g++ options: -m64 -ldl -lpthread -lrt -O2

Botan

Test: AES-256

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: AES-256GCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.34080120160200200.70150.22188.94191.091. (CXX) g++ options: -m64 -ldl -lpthread -lrt -O2

Botan

Test: Twofish

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: TwofishGCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.350100150200250206.11199.96197.16195.311. (CXX) g++ options: -m64 -ldl -lpthread -lrt -O2

Botan

Test: CAST-256

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: CAST-256GCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.330609012015092.9796.54113.25114.131. (CXX) g++ options: -m64 -ldl -lpthread -lrt -O2

Botan

Test: X9.19-MAC

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: X9.19-MACGCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.32040608010086.5186.6583.8283.941. (CXX) g++ options: -m64 -ldl -lpthread -lrt -O2

Himeno Benchmark

Poisson Pressure Solver

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverGCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.3400800120016002000SE +/- 1.18, N = 3SE +/- 1.19, N = 3SE +/- 1.13, N = 3SE +/- 1.45, N = 31744.201711.461653.921669.561. (CC) gcc options: -O3 -march=native

Timed ImageMagick Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed ImageMagick Compilation 6.8.1-10Time To CompileGCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.31224364860SE +/- 0.28, N = 3SE +/- 0.23, N = 3SE +/- 0.34, N = 3SE +/- 0.28, N = 352.3446.0722.3321.81

Timed PHP Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To CompileGCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.3510152025SE +/- 0.16, N = 3SE +/- 0.19, N = 3SE +/- 0.22, N = 5SE +/- 0.29, N = 321.6522.4715.4316.031. (CC) gcc options: -O3 -march=native -pedantic -ldl -lz -lm

C-Ray

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeGCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.3510152025SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.03, N = 321.6019.0321.7621.181. (CC) gcc options: -lm -lpthread -O3 -march=native

Smallpt

Global Illumination Renderer; 100 Samples

OpenBenchmarking.orgSeconds, Fewer Is BetterSmallpt 1.0Global Illumination Renderer; 100 SamplesGCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.3306090120150SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 2.19, N = 3SE +/- 0.33, N = 319191581551. (CXX) g++ options: -fopenmp -O3 -march=native

FLAC Audio Encoding

WAV To FLAC

OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.0WAV To FLACGCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.3246810SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 55.315.436.095.751. (CXX) g++ options: -O3 -march=native -fvisibility=hidden -logg -lm

LAME MP3 Encoding

WAV To MP3

OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.99.3WAV To MP3GCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.33691215SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.01, N = 513.4512.9513.0513.051. (CC) gcc options: -pipe -O3 -march=native -lm

Ogg Encoding

WAV To Ogg

OpenBenchmarking.orgSeconds, Fewer Is BetterOgg Encoding 1.3.0WAV To OggGCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.3246810SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 57.277.277.297.291. (CC) gcc options: -O2 -ffast-math -fsigned-char -O3 -march=native -lm -logg

Apache Benchmark

Static Web Page Serving

OpenBenchmarking.orgRequests Per Second, More Is BetterApache Benchmark 2.4.3Static Web Page ServingGCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.34K8K12K16K20KSE +/- 132.04, N = 3SE +/- 230.80, N = 3SE +/- 280.48, N = 3SE +/- 236.27, N = 316634.8416328.2516151.0316420.231. (CC) gcc options: -shared -fPIC -pthread -O3 -march=native


Phoronix Test Suite v10.8.5