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 Performance Processor Motherboard Chipset Memory Disk Graphics Audio Monitor Network OS Kernel Desktop Display Server Display Driver OpenGL Compiler File-System Screen Resolution LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 Intel Core i7-4960X @ 3.60GHz (12 Cores) MSI X79MA-GD45 (MS-7738) v1.0 Intel Xeon E5 v2/Core 8192MB 320GB Seagate ST3320620AS Sapphire AMD Radeon HD 4870 512MB Realtek ALC892 AL2223W Realtek RTL8111/8168/8411 Ubuntu 13.10 3.11.0-11-generic (x86_64) Unity 7.1.1 X Server 1.14.3 radeon 7.2.0 3.1 Mesa 9.2.0 Gallium 0.4 Clang 3.3-5ubuntu4 ext4 1680x1050 GCC 4.8 Clang 3.2-7ubuntu1 GCC 4.7 OpenBenchmarking.org Processor Details - Scaling Governor: acpi-cpufreq ondemand Compiler 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 Performance apache: Static Web Page Serving blake2: Phoronix Test Suite v4.8.3 botan: Tiger botan: KASUMI botan: AES-256 botan: Twofish botan: CAST-256 botan: X9.19-MAC c-ray: Total Time encode-flac: WAV To FLAC himeno: Poisson Pressure Solver encode-mp3: WAV To MP3 encode-ogg: WAV To Ogg polybench-c: Covariance Computation polybench-c: Correlation Computation polybench-c: 3 Matrix Multiplications smallpt: Global Illumination Renderer; 100 Samples hmmer: Pfam Database Search build-imagemagick: Time To Compile build-php: Time To Compile LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 16420.23 7.59 432.89 67.62 191.09 195.31 114.13 83.94 21.18 5.75 1669.56 13.05 7.29 4.77 4.78 18.49 155 8.90 21.81 16.03 16328.25 5.30 431.55 76.56 150.22 199.96 96.54 86.65 19.03 5.43 1711.46 12.95 7.27 4.78 4.80 18.46 19 8.87 46.07 22.47 16151.03 7.63 440.26 67.65 188.94 197.16 113.25 83.82 21.76 6.09 1653.92 13.05 7.29 4.78 4.78 18.37 158 9.54 22.33 15.43 16634.84 5.34 431.80 75.41 200.70 206.11 92.97 86.51 21.60 5.31 1744.20 13.45 7.27 4.78 4.79 18.41 19 8.91 52.34 21.65 OpenBenchmarking.org
Apache Benchmark Static Web Page Serving OpenBenchmarking.org Requests Per Second, More Is Better Apache Benchmark 2.4.3 Static Web Page Serving LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 4K 8K 12K 16K 20K SE +/- 236.27, N = 3 SE +/- 230.80, N = 3 SE +/- 280.48, N = 3 SE +/- 132.04, N = 3 16420.23 16328.25 16151.03 16634.84 1. (CC) gcc options: -shared -fPIC -pthread -O3 -march=native
BLAKE2 Phoronix Test Suite v4.8.3 OpenBenchmarking.org Cycles Per Byte, Fewer Is Better BLAKE2 20121223 Phoronix Test Suite v4.8.3 LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 2 4 6 8 10 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 7.59 5.30 7.63 5.34 1. (CC) gcc options: -std=gnu99 -O3 -march=native -lcrypto -lz
Botan Test: Tiger OpenBenchmarking.org Mbytes/s, More Is Better Botan 1.10.3 Test: Tiger LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 100 200 300 400 500 432.89 431.55 440.26 431.80 1. (CXX) g++ options: -m64 -ldl -lpthread -lrt -O2
Botan Test: KASUMI OpenBenchmarking.org Mbytes/s, More Is Better Botan 1.10.3 Test: KASUMI LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 20 40 60 80 100 67.62 76.56 67.65 75.41 1. (CXX) g++ options: -m64 -ldl -lpthread -lrt -O2
Botan Test: AES-256 OpenBenchmarking.org Mbytes/s, More Is Better Botan 1.10.3 Test: AES-256 LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 40 80 120 160 200 191.09 150.22 188.94 200.70 1. (CXX) g++ options: -m64 -ldl -lpthread -lrt -O2
Botan Test: Twofish OpenBenchmarking.org Mbytes/s, More Is Better Botan 1.10.3 Test: Twofish LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 50 100 150 200 250 195.31 199.96 197.16 206.11 1. (CXX) g++ options: -m64 -ldl -lpthread -lrt -O2
Botan Test: CAST-256 OpenBenchmarking.org Mbytes/s, More Is Better Botan 1.10.3 Test: CAST-256 LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 30 60 90 120 150 114.13 96.54 113.25 92.97 1. (CXX) g++ options: -m64 -ldl -lpthread -lrt -O2
Botan Test: X9.19-MAC OpenBenchmarking.org Mbytes/s, More Is Better Botan 1.10.3 Test: X9.19-MAC LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 20 40 60 80 100 83.94 86.65 83.82 86.51 1. (CXX) g++ options: -m64 -ldl -lpthread -lrt -O2
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 5 10 15 20 25 SE +/- 0.03, N = 3 SE +/- 0.01, N = 3 SE +/- 0.01, N = 3 SE +/- 0.01, N = 3 21.18 19.03 21.76 21.60 1. (CC) gcc options: -lm -lpthread -O3 -march=native
FLAC Audio Encoding WAV To FLAC OpenBenchmarking.org Seconds, Fewer Is Better FLAC Audio Encoding 1.3.0 WAV To FLAC LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 2 4 6 8 10 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 5.75 5.43 6.09 5.31 1. (CXX) g++ options: -O3 -march=native -fvisibility=hidden -logg -lm
Himeno Benchmark Poisson Pressure Solver OpenBenchmarking.org MFLOPS, More Is Better Himeno Benchmark 3.0 Poisson Pressure Solver LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 400 800 1200 1600 2000 SE +/- 1.45, N = 3 SE +/- 1.19, N = 3 SE +/- 1.13, N = 3 SE +/- 1.18, N = 3 1669.56 1711.46 1653.92 1744.20 1. (CC) gcc options: -O3 -march=native
LAME MP3 Encoding WAV To MP3 OpenBenchmarking.org Seconds, Fewer Is Better LAME MP3 Encoding 3.99.3 WAV To MP3 LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 3 6 9 12 15 SE +/- 0.01, N = 5 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 13.05 12.95 13.05 13.45 1. (CC) gcc options: -pipe -O3 -march=native -lm
Ogg Encoding WAV To Ogg OpenBenchmarking.org Seconds, Fewer Is Better Ogg Encoding 1.3.0 WAV To Ogg LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 2 4 6 8 10 SE +/- 0.00, N = 5 SE +/- 0.01, N = 5 SE +/- 0.00, N = 5 SE +/- 0.01, N = 5 7.29 7.27 7.29 7.27 1. (CC) gcc options: -O2 -ffast-math -fsigned-char -O3 -march=native -lm -logg
PolyBench-C Test: Covariance Computation OpenBenchmarking.org Seconds, Fewer Is Better PolyBench-C 3.2 Test: Covariance Computation LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 1.0755 2.151 3.2265 4.302 5.3775 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.01, N = 3 4.77 4.78 4.78 4.78 1. (CC) gcc options: -O3 -march=native
PolyBench-C Test: Correlation Computation OpenBenchmarking.org Seconds, Fewer Is Better PolyBench-C 3.2 Test: Correlation Computation LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 1.08 2.16 3.24 4.32 5.4 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 4.78 4.80 4.78 4.79 1. (CC) gcc options: -O3 -march=native
PolyBench-C Test: 3 Matrix Multiplications OpenBenchmarking.org Seconds, Fewer Is Better PolyBench-C 3.2 Test: 3 Matrix Multiplications LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 5 10 15 20 25 SE +/- 0.01, N = 3 SE +/- 0.02, N = 3 SE +/- 0.01, N = 3 SE +/- 0.03, N = 3 18.49 18.46 18.37 18.41 1. (CC) gcc options: -O3 -march=native
Smallpt Global Illumination Renderer; 100 Samples OpenBenchmarking.org Seconds, Fewer Is Better Smallpt 1.0 Global Illumination Renderer; 100 Samples LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 30 60 90 120 150 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 SE +/- 2.19, N = 3 SE +/- 0.00, N = 3 155 19 158 19 1. (CXX) g++ options: -fopenmp -O3 -march=native
Timed HMMer Search Pfam Database Search OpenBenchmarking.org Seconds, Fewer Is Better Timed HMMer Search 2.3.2 Pfam Database Search LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 3 6 9 12 15 SE +/- 0.02, N = 3 SE +/- 0.01, N = 3 SE +/- 0.01, N = 3 SE +/- 0.01, N = 3 8.90 8.87 9.54 8.91 1. (CC) gcc options: -O3 -march=native -pthread -lhmmer -lsquid -lm
Timed ImageMagick Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed ImageMagick Compilation 6.8.1-10 Time To Compile LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 12 24 36 48 60 SE +/- 0.28, N = 3 SE +/- 0.23, N = 3 SE +/- 0.34, N = 3 SE +/- 0.28, N = 3 21.81 46.07 22.33 52.34
Timed PHP Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 5.2.9 Time To Compile LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 GCC 4.7.2 5 10 15 20 25 SE +/- 0.29, N = 3 SE +/- 0.19, N = 3 SE +/- 0.22, N = 5 SE +/- 0.16, N = 3 16.03 22.47 15.43 21.65 1. (CC) gcc options: -O3 -march=native -pedantic -ldl -lz -lm
Phoronix Test Suite v10.8.5