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&sor&grr .
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 encode-ogg: WAV To Ogg encode-mp3: WAV To MP3 encode-flac: WAV To FLAC smallpt: Global Illumination Renderer; 100 Samples c-ray: Total Time build-php: Time To Compile build-imagemagick: Time To Compile himeno: Poisson Pressure Solver botan: X9.19-MAC botan: CAST-256 botan: Twofish botan: AES-256 botan: KASUMI botan: Tiger blake2: Phoronix Test Suite v4.8.3 hmmer: Pfam Database Search polybench-c: 3 Matrix Multiplications polybench-c: Correlation Computation polybench-c: Covariance Computation GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 16634.84 7.27 13.45 5.31 19 21.60 21.65 52.34 1744.20 86.51 92.97 206.11 200.70 75.41 431.80 5.34 8.91 18.41 4.79 4.78 16328.25 7.27 12.95 5.43 19 19.03 22.47 46.07 1711.46 86.65 96.54 199.96 150.22 76.56 431.55 5.30 8.87 18.46 4.80 4.78 16151.03 7.29 13.05 6.09 158 21.76 15.43 22.33 1653.92 83.82 113.25 197.16 188.94 67.65 440.26 7.63 9.54 18.37 4.78 4.78 16420.23 7.29 13.05 5.75 155 21.18 16.03 21.81 1669.56 83.94 114.13 195.31 191.09 67.62 432.89 7.59 8.90 18.49 4.78 4.77 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 LLVM Clang 3.3 GCC 4.8.1 LLVM Clang 3.2 4K 8K 12K 16K 20K SE +/- 132.04, N = 3 SE +/- 236.27, N = 3 SE +/- 230.80, N = 3 SE +/- 280.48, N = 3 16634.84 16420.23 16328.25 16151.03 1. (CC) gcc options: -shared -fPIC -pthread -O3 -march=native
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
LAME MP3 Encoding WAV To MP3 OpenBenchmarking.org Seconds, Fewer Is Better LAME MP3 Encoding 3.99.3 WAV To MP3 GCC 4.8.1 LLVM Clang 3.2 LLVM Clang 3.3 GCC 4.7.2 3 6 9 12 15 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 SE +/- 0.01, N = 5 SE +/- 0.00, N = 5 12.95 13.05 13.05 13.45 1. (CC) gcc options: -pipe -O3 -march=native -lm
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.3 LLVM Clang 3.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.31 5.43 5.75 6.09 1. (CXX) g++ options: -O3 -march=native -fvisibility=hidden -logg -lm
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.3 LLVM Clang 3.2 30 60 90 120 150 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.33, N = 3 SE +/- 2.19, N = 3 19 19 155 158 1. (CXX) g++ options: -fopenmp -O3 -march=native
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time GCC 4.8.1 LLVM Clang 3.3 GCC 4.7.2 LLVM Clang 3.2 5 10 15 20 25 SE +/- 0.01, N = 3 SE +/- 0.03, N = 3 SE +/- 0.01, N = 3 SE +/- 0.01, N = 3 19.03 21.18 21.60 21.76 1. (CC) gcc options: -lm -lpthread -O3 -march=native
Timed PHP Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 5.2.9 Time To Compile LLVM Clang 3.2 LLVM Clang 3.3 GCC 4.7.2 GCC 4.8.1 5 10 15 20 25 SE +/- 0.22, N = 5 SE +/- 0.29, N = 3 SE +/- 0.16, N = 3 SE +/- 0.19, N = 3 15.43 16.03 21.65 22.47 1. (CC) gcc options: -O3 -march=native -pedantic -ldl -lz -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 LLVM Clang 3.2 GCC 4.8.1 GCC 4.7.2 12 24 36 48 60 SE +/- 0.28, N = 3 SE +/- 0.34, N = 3 SE +/- 0.23, N = 3 SE +/- 0.28, N = 3 21.81 22.33 46.07 52.34
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.3 LLVM Clang 3.2 400 800 1200 1600 2000 SE +/- 1.18, N = 3 SE +/- 1.19, N = 3 SE +/- 1.45, N = 3 SE +/- 1.13, N = 3 1744.20 1711.46 1669.56 1653.92 1. (CC) gcc options: -O3 -march=native
Botan Test: X9.19-MAC OpenBenchmarking.org Mbytes/s, More Is Better Botan 1.10.3 Test: X9.19-MAC GCC 4.8.1 GCC 4.7.2 LLVM Clang 3.3 LLVM Clang 3.2 20 40 60 80 100 86.65 86.51 83.94 83.82 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 LLVM Clang 3.2 GCC 4.8.1 GCC 4.7.2 30 60 90 120 150 114.13 113.25 96.54 92.97 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: AES-256 OpenBenchmarking.org Mbytes/s, More Is Better Botan 1.10.3 Test: AES-256 GCC 4.7.2 LLVM Clang 3.3 LLVM Clang 3.2 GCC 4.8.1 40 80 120 160 200 200.70 191.09 188.94 150.22 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.8.1 GCC 4.7.2 LLVM Clang 3.2 LLVM Clang 3.3 20 40 60 80 100 76.56 75.41 67.65 67.62 1. (CXX) g++ options: -m64 -ldl -lpthread -lrt -O2
Botan Test: Tiger OpenBenchmarking.org Mbytes/s, More Is Better Botan 1.10.3 Test: Tiger LLVM Clang 3.2 LLVM Clang 3.3 GCC 4.7.2 GCC 4.8.1 100 200 300 400 500 440.26 432.89 431.80 431.55 1. (CXX) g++ options: -m64 -ldl -lpthread -lrt -O2
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.8.1 GCC 4.7.2 LLVM Clang 3.3 LLVM Clang 3.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 5.30 5.34 7.59 7.63 1. (CC) gcc options: -std=gnu99 -O3 -march=native -lcrypto -lz
Timed HMMer Search Pfam Database Search OpenBenchmarking.org Seconds, Fewer Is Better Timed HMMer Search 2.3.2 Pfam Database Search GCC 4.8.1 LLVM Clang 3.3 GCC 4.7.2 LLVM Clang 3.2 3 6 9 12 15 SE +/- 0.01, N = 3 SE +/- 0.02, N = 3 SE +/- 0.01, N = 3 SE +/- 0.01, N = 3 8.87 8.90 8.91 9.54 1. (CC) gcc options: -O3 -march=native -pthread -lhmmer -lsquid -lm
PolyBench-C Test: 3 Matrix Multiplications OpenBenchmarking.org Seconds, Fewer Is Better PolyBench-C 3.2 Test: 3 Matrix Multiplications LLVM Clang 3.2 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.3 5 10 15 20 25 SE +/- 0.01, N = 3 SE +/- 0.03, N = 3 SE +/- 0.02, N = 3 SE +/- 0.01, N = 3 18.37 18.41 18.46 18.49 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.2 LLVM Clang 3.3 GCC 4.7.2 GCC 4.8.1 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.78 4.79 4.80 1. (CC) gcc options: -O3 -march=native
PolyBench-C Test: Covariance Computation OpenBenchmarking.org Seconds, Fewer Is Better PolyBench-C 3.2 Test: Covariance Computation LLVM Clang 3.3 GCC 4.7.2 GCC 4.8.1 LLVM Clang 3.2 1.0755 2.151 3.2265 4.302 5.3775 SE +/- 0.00, N = 3 SE +/- 0.01, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 4.77 4.78 4.78 4.78 1. (CC) gcc options: -O3 -march=native
Phoronix Test Suite v10.8.5