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&sro&grr.

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 Performanceapache: Static Web Page Servingencode-ogg: WAV To Oggencode-mp3: WAV To MP3encode-flac: WAV To FLACsmallpt: Global Illumination Renderer; 100 Samplesc-ray: Total Timebuild-php: Time To Compilebuild-imagemagick: Time To Compilehimeno: Poisson Pressure Solverbotan: X9.19-MACbotan: CAST-256botan: Twofishbotan: AES-256botan: KASUMIbotan: Tigerblake2: Phoronix Test Suite v4.8.3hmmer: Pfam Database Searchpolybench-c: 3 Matrix Multiplicationspolybench-c: Correlation Computationpolybench-c: Covariance ComputationGCC 4.7.2GCC 4.8.1LLVM Clang 3.2LLVM Clang 3.316634.847.2713.455.311921.6021.6552.341744.2086.5192.97206.11200.7075.41431.805.348.9118.414.794.7816328.257.2712.955.431919.0322.4746.071711.4686.6596.54199.96150.2276.56431.555.308.8718.464.804.7816151.037.2913.056.0915821.7615.4322.331653.9283.82113.25197.16188.9467.65440.267.639.5418.374.784.7816420.237.2913.055.7515521.1816.0321.811669.5683.94114.13195.31191.0967.62432.897.598.9018.494.784.77OpenBenchmarking.org

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

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

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

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

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

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

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

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

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

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

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: 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: 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: 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: 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

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

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

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

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: 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


Phoronix Test Suite v10.8.5