GCC vs. LLVM Clang on the Intel Core i7 5960X Haswell-E platform with Ubuntu 14.10 Linux on the 3.16 kernel.
Compare your own system(s) to this result file with the
Phoronix Test Suite by running the command:
phoronix-test-suite benchmark 1411066-SO-1409114PT44 Core i7 5960X Compilers - Phoronix Test Suite Core i7 5960X Compilers GCC vs. LLVM Clang on the Intel Core i7 5960X Haswell-E platform with Ubuntu 14.10 Linux on the 3.16 kernel.
HTML result view exported from: https://openbenchmarking.org/result/1411066-SO-1409114PT44&export=pdf&grr&sro&rro .
Core i7 5960X Compilers Processor Motherboard Chipset Memory Disk Graphics Audio Monitor Network OS Kernel Desktop Display Server Display Driver OpenGL Compiler File-System Screen Resolution GCC 4.9.1 LLVM Clang 3.5 Intel i7 4700HQ Intel Core i7-5960X @ 3.50GHz (16 Cores) Gigabyte X99-UD4-CF Intel Haswell-E DMI2 16384MB 128GB Crucial_CT128MX1 Sapphire AMD Radeon HD 6870 1024MB Intel Wellsburg HD Audio SyncMaster Intel Connection Ubuntu 14.10 3.16.0-12-generic (x86_64) Unity 7.3.1 X Server 1.15.1 radeon 7.4.0 3.3 Mesa 10.2.6 Gallium 0.4 GCC 4.9.1 ext4 2560x1600 Clang 3.5.0-1ubuntu1 Intel Core i7-4700HQ @ 2.40GHz (8 Cores) ASUS G750JM v1.0 Intel Xeon E3-1200 v3/4th 31744MB 1000GB Seagate ST1000LM014-1EJ1 + 1000GB TOSHIBA MQ01ABD1 + 1500GB HGST HTS541515A9 Intel HD 4600 (1200MHz) Intel Haswell HDMI Qualcomm Atheros QCA8171 Gigabit + Broadcom BCM4352 802.11ac Wireless Ubuntu 14.04 3.13.0-39-generic (x86_64) Unity 7.2.3 intel 2.99.910 3.3 Mesa 10.1.3 GCC 4.8 + CUDA 5.5 1920x1080 OpenBenchmarking.org Compiler Details - GCC 4.9.1: --build=x86_64-linux-gnu --disable-browser-plugin --disable-vtable-verify --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-multilib --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-multilib-list=m32,m64,mx32 --with-tune=generic -v - Intel i7 4700HQ: --build=x86_64-linux-gnu --disable-browser-plugin --disable-libmudflap --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 - GCC 4.9.1: Scaling Governor: intel_pstate powersave - LLVM Clang 3.5: Scaling Governor: intel_pstate powersave - Intel i7 4700HQ: Scaling Governor: acpi-cpufreq ondemand
Core i7 5960X Compilers apache: Static Web Page Serving hint: FLOAT 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-apache: Time To Compile himeno: Poisson Pressure Solver x264: H.264 Video Encoding john-the-ripper: MD5 john-the-ripper: Traditional DES john-the-ripper: Blowfish scimark2: Jacobi Successive Over-Relaxation scimark2: Dense LU Matrix Factorization scimark2: Sparse Matrix Multiply scimark2: Fast Fourier Transform scimark2: Monte Carlo scimark2: Composite GCC 4.9.1 LLVM Clang 3.5 Intel i7 4700HQ 17082.05 253952490.31 14.38 4.89 14 9.73 20.91 33.84 1563.44 239.97 146966 17700000 11473 932.44 2256.78 2127.38 336.60 478.03 1226.25 16917.89 205919869.28 17.45 5.28 172 14.77 18.59 22.98 1374.96 237.37 13244 4547667 796 1384.75 4889.54 2474.85 351.38 510.58 1922.22 34006.17 313969890.38 14.30 5.33 128 28.07 30.38 33.32 1513.22 159.38 996.48 2290.27 1873.04 248.55 526.24 1186.91 OpenBenchmarking.org
Apache Benchmark Static Web Page Serving OpenBenchmarking.org Requests Per Second, More Is Better Apache Benchmark 2.4.7 Static Web Page Serving LLVM Clang 3.5 Intel i7 4700HQ GCC 4.9.1 7K 14K 21K 28K 35K SE +/- 190.79, N = 3 SE +/- 82.04, N = 3 SE +/- 296.90, N = 6 16917.89 34006.17 17082.05 -O3 -march=native -O2 -O3 -march=native 1. (CC) gcc options: -shared -fPIC -pthread
Hierarchical INTegration Test: FLOAT OpenBenchmarking.org QUIPs, More Is Better Hierarchical INTegration 1.0 Test: FLOAT LLVM Clang 3.5 Intel i7 4700HQ GCC 4.9.1 70M 140M 210M 280M 350M SE +/- 67443.03, N = 3 SE +/- 815552.12, N = 3 SE +/- 4588402.44, N = 6 205919869.28 313969890.38 253952490.31 1. (CC) gcc options: -O3 -march=native -lm
LAME MP3 Encoding WAV To MP3 OpenBenchmarking.org Seconds, Fewer Is Better LAME MP3 Encoding 3.99.3 WAV To MP3 LLVM Clang 3.5 Intel i7 4700HQ GCC 4.9.1 4 8 12 16 20 SE +/- 0.13, N = 5 SE +/- 0.02, N = 5 SE +/- 0.17, N = 9 17.45 14.30 14.38 -march=native -fomit-frame-pointer -ffast-math -march=native 1. (CC) gcc options: -pipe -O3 -lm
FLAC Audio Encoding WAV To FLAC OpenBenchmarking.org Seconds, Fewer Is Better FLAC Audio Encoding 1.3.0 WAV To FLAC LLVM Clang 3.5 Intel i7 4700HQ GCC 4.9.1 1.1993 2.3986 3.5979 4.7972 5.9965 SE +/- 0.08, N = 5 SE +/- 0.01, N = 5 SE +/- 0.03, N = 5 5.28 5.33 4.89 -O3 -march=native -O2 -logg -O3 -march=native 1. (CXX) g++ options: -fvisibility=hidden -lm
Smallpt Global Illumination Renderer; 100 Samples OpenBenchmarking.org Seconds, Fewer Is Better Smallpt 1.0 Global Illumination Renderer; 100 Samples LLVM Clang 3.5 Intel i7 4700HQ GCC 4.9.1 40 80 120 160 200 SE +/- 0.33, N = 3 SE +/- 0.88, N = 3 SE +/- 0.00, N = 3 172 128 14 -O3 -march=native -O3 -march=native 1. (CXX) g++ options: -fopenmp
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time LLVM Clang 3.5 Intel i7 4700HQ GCC 4.9.1 7 14 21 28 35 SE +/- 0.01, N = 3 SE +/- 0.47, N = 4 SE +/- 0.01, N = 3 14.77 28.07 9.73 -march=native -march=native 1. (CC) gcc options: -lm -lpthread -O3
Timed PHP Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 5.2.9 Time To Compile LLVM Clang 3.5 Intel i7 4700HQ GCC 4.9.1 7 14 21 28 35 SE +/- 0.26, N = 5 SE +/- 0.23, N = 3 SE +/- 0.20, N = 3 18.59 30.38 20.91 -O3 -march=native -O2 -O3 -march=native 1. (CC) gcc options: -pedantic -ldl -lz -lm
Timed Apache Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed Apache Compilation 2.4.7 Time To Compile LLVM Clang 3.5 Intel i7 4700HQ GCC 4.9.1 8 16 24 32 40 SE +/- 0.15, N = 3 SE +/- 0.13, N = 3 SE +/- 0.09, N = 3 22.98 33.32 33.84
Himeno Benchmark Poisson Pressure Solver OpenBenchmarking.org MFLOPS, More Is Better Himeno Benchmark 3.0 Poisson Pressure Solver LLVM Clang 3.5 Intel i7 4700HQ GCC 4.9.1 300 600 900 1200 1500 SE +/- 15.13, N = 3 SE +/- 4.24, N = 3 SE +/- 23.98, N = 6 1374.96 1513.22 1563.44 -march=native -march=native 1. (CC) gcc options: -O3
x264 H.264 Video Encoding OpenBenchmarking.org Frames Per Second, More Is Better x264 2014-08-30 H.264 Video Encoding LLVM Clang 3.5 Intel i7 4700HQ GCC 4.9.1 50 100 150 200 250 SE +/- 2.96, N = 5 SE +/- 0.59, N = 5 SE +/- 2.44, N = 5 237.37 159.38 239.97 -march=native -march=native 1. (CC) gcc options: -ldl -m64 -lm -lpthread -O3 -ffast-math -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize
John The Ripper Test: MD5 OpenBenchmarking.org Real C/S, More Is Better John The Ripper 1.8.0 Test: MD5 LLVM Clang 3.5 GCC 4.9.1 30K 60K 90K 120K 150K SE +/- 265.91, N = 6 SE +/- 97.67, N = 3 13244 146966 1. (CC) gcc options: -fopenmp -lcrypt
John The Ripper Test: Traditional DES OpenBenchmarking.org Real C/S, More Is Better John The Ripper 1.8.0 Test: Traditional DES LLVM Clang 3.5 GCC 4.9.1 4M 8M 12M 16M 20M SE +/- 1333.33, N = 3 SE +/- 49084.96, N = 3 4547667 17700000 1. (CC) gcc options: -fopenmp -lcrypt
John The Ripper Test: Blowfish OpenBenchmarking.org Real C/S, More Is Better John The Ripper 1.8.0 Test: Blowfish LLVM Clang 3.5 GCC 4.9.1 2K 4K 6K 8K 10K SE +/- 13.25, N = 3 SE +/- 13.38, N = 3 796 11473 1. (CC) gcc options: -fopenmp -lcrypt
SciMark Computational Test: Jacobi Successive Over-Relaxation OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Jacobi Successive Over-Relaxation LLVM Clang 3.5 Intel i7 4700HQ GCC 4.9.1 300 600 900 1200 1500 SE +/- 51.46, N = 4 SE +/- 3.03, N = 4 SE +/- 27.12, N = 4 1384.75 996.48 932.44 -O3 -march=native -O3 -march=native 1. (CXX) g++ options:
SciMark Computational Test: Dense LU Matrix Factorization OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Dense LU Matrix Factorization LLVM Clang 3.5 Intel i7 4700HQ GCC 4.9.1 1000 2000 3000 4000 5000 SE +/- 152.67, N = 4 SE +/- 46.66, N = 4 SE +/- 8.97, N = 4 4889.54 2290.27 2256.78 -O3 -march=native -O3 -march=native 1. (CXX) g++ options:
SciMark Computational Test: Sparse Matrix Multiply OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Sparse Matrix Multiply LLVM Clang 3.5 Intel i7 4700HQ GCC 4.9.1 500 1000 1500 2000 2500 SE +/- 173.43, N = 4 SE +/- 9.94, N = 4 SE +/- 0.93, N = 4 2474.85 1873.04 2127.38 -O3 -march=native -O3 -march=native 1. (CXX) g++ options:
SciMark Computational Test: Fast Fourier Transform OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Fast Fourier Transform LLVM Clang 3.5 Intel i7 4700HQ GCC 4.9.1 80 160 240 320 400 SE +/- 8.90, N = 4 SE +/- 2.25, N = 4 SE +/- 11.34, N = 4 351.38 248.55 336.60 -O3 -march=native -O3 -march=native 1. (CXX) g++ options:
SciMark Computational Test: Monte Carlo OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Monte Carlo LLVM Clang 3.5 Intel i7 4700HQ GCC 4.9.1 110 220 330 440 550 SE +/- 7.24, N = 4 SE +/- 1.08, N = 4 SE +/- 2.66, N = 4 510.58 526.24 478.03 -O3 -march=native -O3 -march=native 1. (CXX) g++ options:
SciMark Computational Test: Composite OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Composite LLVM Clang 3.5 Intel i7 4700HQ GCC 4.9.1 400 800 1200 1600 2000 SE +/- 20.66, N = 4 SE +/- 10.63, N = 4 SE +/- 7.04, N = 4 1922.22 1186.91 1226.25 -O3 -march=native -O3 -march=native 1. (CXX) g++ options:
Phoronix Test Suite v10.8.4