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&grt&rdt.

i7 4960X LLVM Clang GCC Compiler PerformanceProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionLLVM Clang 3.3GCC 4.8.1LLVM Clang 3.2GCC 4.7.2Intel 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.4Clang 3.3-5ubuntu4ext41680x1050GCC 4.8Clang 3.2-7ubuntu1GCC 4.7OpenBenchmarking.orgProcessor Details- Scaling Governor: acpi-cpufreq ondemandCompiler Details- 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 - 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

i7 4960X LLVM Clang GCC Compiler Performanceapache: Static Web Page Servingblake2: Phoronix Test Suite v4.8.3botan: Tigerbotan: KASUMIbotan: AES-256botan: Twofishbotan: CAST-256botan: X9.19-MACc-ray: Total Timeencode-flac: WAV To FLAChimeno: Poisson Pressure Solverencode-mp3: WAV To MP3encode-ogg: WAV To Oggpolybench-c: Covariance Computationpolybench-c: Correlation Computationpolybench-c: 3 Matrix Multiplicationssmallpt: Global Illumination Renderer; 100 Sampleshmmer: Pfam Database Searchbuild-imagemagick: Time To Compilebuild-php: Time To CompileLLVM Clang 3.3GCC 4.8.1LLVM Clang 3.2GCC 4.7.216420.237.59432.8967.62191.09195.31114.1383.9421.185.751669.5613.057.294.774.7818.491558.9021.8116.0316328.255.30431.5576.56150.22199.9696.5486.6519.035.431711.4612.957.274.784.8018.46198.8746.0722.4716151.037.63440.2667.65188.94197.16113.2583.8221.766.091653.9213.057.294.784.7818.371589.5422.3315.4316634.845.34431.8075.41200.70206.1192.9786.5121.605.311744.2013.457.274.784.7918.41198.9152.3421.65OpenBenchmarking.org

Apache Benchmark

Static Web Page Serving

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

BLAKE2

Phoronix Test Suite v4.8.3

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

Botan

Test: Tiger

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

Botan

Test: KASUMI

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

Botan

Test: AES-256

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

Botan

Test: Twofish

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

Botan

Test: CAST-256

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

Botan

Test: X9.19-MAC

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

C-Ray

Total Time

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

FLAC Audio Encoding

WAV To FLAC

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

Himeno Benchmark

Poisson Pressure Solver

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

LAME MP3 Encoding

WAV To MP3

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

Ogg Encoding

WAV To Ogg

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

PolyBench-C

Test: Covariance Computation

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

PolyBench-C

Test: Correlation Computation

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

PolyBench-C

Test: 3 Matrix Multiplications

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

Smallpt

Global Illumination Renderer; 100 Samples

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

Timed HMMer Search

Pfam Database Search

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

Timed ImageMagick Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed ImageMagick Compilation 6.8.1-10Time To CompileLLVM Clang 3.3GCC 4.8.1LLVM Clang 3.2GCC 4.7.21224364860SE +/- 0.28, N = 3SE +/- 0.23, N = 3SE +/- 0.34, N = 3SE +/- 0.28, N = 321.8146.0722.3352.34

Timed PHP Compilation

Time To Compile

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


Phoronix Test Suite v10.8.5