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&sro .
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 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 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 GCC 4.7 ext4 1680x1050 GCC 4.8 Clang 3.2-7ubuntu1 Clang 3.3-5ubuntu4 OpenBenchmarking.org Compiler 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 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 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 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 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 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 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 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 4K 8K 12K 16K 20K SE +/- 132.04, N = 3 SE +/- 230.80, N = 3 SE +/- 280.48, N = 3 SE +/- 236.27, N = 3 16634.84 16328.25 16151.03 16420.23 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 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 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 5.34 5.30 7.63 7.59 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 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 100 200 300 400 500 431.80 431.55 440.26 432.89 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 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 20 40 60 80 100 75.41 76.56 67.65 67.62 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 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 40 80 120 160 200 200.70 150.22 188.94 191.09 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 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 50 100 150 200 250 206.11 199.96 197.16 195.31 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 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 30 60 90 120 150 92.97 96.54 113.25 114.13 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 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 20 40 60 80 100 86.51 86.65 83.82 83.94 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 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 5 10 15 20 25 SE +/- 0.01, N = 3 SE +/- 0.01, N = 3 SE +/- 0.01, N = 3 SE +/- 0.03, N = 3 21.60 19.03 21.76 21.18 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 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 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.31 5.43 6.09 5.75 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 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 400 800 1200 1600 2000 SE +/- 1.18, N = 3 SE +/- 1.19, N = 3 SE +/- 1.13, N = 3 SE +/- 1.45, N = 3 1744.20 1711.46 1653.92 1669.56 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 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 3 6 9 12 15 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 SE +/- 0.01, N = 5 13.45 12.95 13.05 13.05 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 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 2 4 6 8 10 SE +/- 0.01, N = 5 SE +/- 0.01, N = 5 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 7.27 7.27 7.29 7.29 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 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 1.0755 2.151 3.2265 4.302 5.3775 SE +/- 0.01, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 4.78 4.78 4.78 4.77 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 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 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.79 4.80 4.78 4.78 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 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 5 10 15 20 25 SE +/- 0.03, N = 3 SE +/- 0.02, N = 3 SE +/- 0.01, N = 3 SE +/- 0.01, N = 3 18.41 18.46 18.37 18.49 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 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 30 60 90 120 150 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 2.19, N = 3 SE +/- 0.33, N = 3 19 19 158 155 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 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 3 6 9 12 15 SE +/- 0.01, N = 3 SE +/- 0.01, N = 3 SE +/- 0.01, N = 3 SE +/- 0.02, N = 3 8.91 8.87 9.54 8.90 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 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 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 52.34 46.07 22.33 21.81
Timed PHP Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 5.2.9 Time To Compile GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 5 10 15 20 25 SE +/- 0.16, N = 3 SE +/- 0.19, N = 3 SE +/- 0.22, N = 5 SE +/- 0.29, N = 3 21.65 22.47 15.43 16.03 1. (CC) gcc options: -O3 -march=native -pedantic -ldl -lz -lm
Phoronix Test Suite v10.8.5