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&sro&grt .
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 c-ray: Total Time encode-flac: WAV To FLAC hint: FLOAT himeno: Poisson Pressure Solver john-the-ripper: Blowfish john-the-ripper: Traditional DES john-the-ripper: MD5 encode-mp3: WAV To MP3 scimark2: Composite scimark2: Monte Carlo scimark2: Fast Fourier Transform scimark2: Sparse Matrix Multiply scimark2: Dense LU Matrix Factorization scimark2: Jacobi Successive Over-Relaxation smallpt: Global Illumination Renderer; 100 Samples build-apache: Time To Compile build-php: Time To Compile x264: H.264 Video Encoding GCC 4.9.1 LLVM Clang 3.5 Intel i7 4700HQ 17082.05 9.73 4.89 253952490.31 1563.44 11473 17700000 146966 14.38 1226.25 478.03 336.60 2127.38 2256.78 932.44 14 33.84 20.91 239.97 16917.89 14.77 5.28 205919869.28 1374.96 796 4547667 13244 17.45 1922.22 510.58 351.38 2474.85 4889.54 1384.75 172 22.98 18.59 237.37 34006.17 28.07 5.33 313969890.38 1513.22 14.30 1186.91 526.24 248.55 1873.04 2290.27 996.48 128 33.32 30.38 159.38 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 GCC 4.9.1 Intel i7 4700HQ LLVM Clang 3.5 7K 14K 21K 28K 35K SE +/- 296.90, N = 6 SE +/- 82.04, N = 3 SE +/- 190.79, N = 3 17082.05 34006.17 16917.89 -O3 -march=native -O2 -O3 -march=native 1. (CC) gcc options: -shared -fPIC -pthread
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time GCC 4.9.1 Intel i7 4700HQ LLVM Clang 3.5 7 14 21 28 35 SE +/- 0.01, N = 3 SE +/- 0.47, N = 4 SE +/- 0.01, N = 3 9.73 28.07 14.77 -march=native -march=native 1. (CC) gcc options: -lm -lpthread -O3
FLAC Audio Encoding WAV To FLAC OpenBenchmarking.org Seconds, Fewer Is Better FLAC Audio Encoding 1.3.0 WAV To FLAC GCC 4.9.1 Intel i7 4700HQ LLVM Clang 3.5 1.1993 2.3986 3.5979 4.7972 5.9965 SE +/- 0.03, N = 5 SE +/- 0.01, N = 5 SE +/- 0.08, N = 5 4.89 5.33 5.28 -O3 -march=native -O2 -logg -O3 -march=native 1. (CXX) g++ options: -fvisibility=hidden -lm
Hierarchical INTegration Test: FLOAT OpenBenchmarking.org QUIPs, More Is Better Hierarchical INTegration 1.0 Test: FLOAT GCC 4.9.1 Intel i7 4700HQ LLVM Clang 3.5 70M 140M 210M 280M 350M SE +/- 4588402.44, N = 6 SE +/- 815552.12, N = 3 SE +/- 67443.03, N = 3 253952490.31 313969890.38 205919869.28 1. (CC) gcc options: -O3 -march=native -lm
Himeno Benchmark Poisson Pressure Solver OpenBenchmarking.org MFLOPS, More Is Better Himeno Benchmark 3.0 Poisson Pressure Solver GCC 4.9.1 Intel i7 4700HQ LLVM Clang 3.5 300 600 900 1200 1500 SE +/- 23.98, N = 6 SE +/- 4.24, N = 3 SE +/- 15.13, N = 3 1563.44 1513.22 1374.96 -march=native -march=native 1. (CC) gcc options: -O3
John The Ripper Test: Blowfish OpenBenchmarking.org Real C/S, More Is Better John The Ripper 1.8.0 Test: Blowfish GCC 4.9.1 LLVM Clang 3.5 2K 4K 6K 8K 10K SE +/- 13.38, N = 3 SE +/- 13.25, N = 3 11473 796 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 GCC 4.9.1 LLVM Clang 3.5 4M 8M 12M 16M 20M SE +/- 49084.96, N = 3 SE +/- 1333.33, N = 3 17700000 4547667 1. (CC) gcc options: -fopenmp -lcrypt
John The Ripper Test: MD5 OpenBenchmarking.org Real C/S, More Is Better John The Ripper 1.8.0 Test: MD5 GCC 4.9.1 LLVM Clang 3.5 30K 60K 90K 120K 150K SE +/- 97.67, N = 3 SE +/- 265.91, N = 6 146966 13244 1. (CC) gcc options: -fopenmp -lcrypt
LAME MP3 Encoding WAV To MP3 OpenBenchmarking.org Seconds, Fewer Is Better LAME MP3 Encoding 3.99.3 WAV To MP3 GCC 4.9.1 Intel i7 4700HQ LLVM Clang 3.5 4 8 12 16 20 SE +/- 0.17, N = 9 SE +/- 0.02, N = 5 SE +/- 0.13, N = 5 14.38 14.30 17.45 -march=native -fomit-frame-pointer -ffast-math -march=native 1. (CC) gcc options: -pipe -O3 -lm
SciMark Computational Test: Composite OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Composite GCC 4.9.1 Intel i7 4700HQ LLVM Clang 3.5 400 800 1200 1600 2000 SE +/- 7.04, N = 4 SE +/- 10.63, N = 4 SE +/- 20.66, N = 4 1226.25 1186.91 1922.22 -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 GCC 4.9.1 Intel i7 4700HQ LLVM Clang 3.5 110 220 330 440 550 SE +/- 2.66, N = 4 SE +/- 1.08, N = 4 SE +/- 7.24, N = 4 478.03 526.24 510.58 -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 GCC 4.9.1 Intel i7 4700HQ LLVM Clang 3.5 80 160 240 320 400 SE +/- 11.34, N = 4 SE +/- 2.25, N = 4 SE +/- 8.90, N = 4 336.60 248.55 351.38 -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 GCC 4.9.1 Intel i7 4700HQ LLVM Clang 3.5 500 1000 1500 2000 2500 SE +/- 0.93, N = 4 SE +/- 9.94, N = 4 SE +/- 173.43, N = 4 2127.38 1873.04 2474.85 -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 GCC 4.9.1 Intel i7 4700HQ LLVM Clang 3.5 1000 2000 3000 4000 5000 SE +/- 8.97, N = 4 SE +/- 46.66, N = 4 SE +/- 152.67, N = 4 2256.78 2290.27 4889.54 -O3 -march=native -O3 -march=native 1. (CXX) g++ options:
SciMark Computational Test: Jacobi Successive Over-Relaxation OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Jacobi Successive Over-Relaxation GCC 4.9.1 Intel i7 4700HQ LLVM Clang 3.5 300 600 900 1200 1500 SE +/- 27.12, N = 4 SE +/- 3.03, N = 4 SE +/- 51.46, N = 4 932.44 996.48 1384.75 -O3 -march=native -O3 -march=native 1. (CXX) g++ options:
Smallpt Global Illumination Renderer; 100 Samples OpenBenchmarking.org Seconds, Fewer Is Better Smallpt 1.0 Global Illumination Renderer; 100 Samples GCC 4.9.1 Intel i7 4700HQ LLVM Clang 3.5 40 80 120 160 200 SE +/- 0.00, N = 3 SE +/- 0.88, N = 3 SE +/- 0.33, N = 3 14 128 172 -O3 -march=native -O3 -march=native 1. (CXX) g++ options: -fopenmp
Timed Apache Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed Apache Compilation 2.4.7 Time To Compile GCC 4.9.1 Intel i7 4700HQ LLVM Clang 3.5 8 16 24 32 40 SE +/- 0.09, N = 3 SE +/- 0.13, N = 3 SE +/- 0.15, N = 3 33.84 33.32 22.98
Timed PHP Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 5.2.9 Time To Compile GCC 4.9.1 Intel i7 4700HQ LLVM Clang 3.5 7 14 21 28 35 SE +/- 0.20, N = 3 SE +/- 0.23, N = 3 SE +/- 0.26, N = 5 20.91 30.38 18.59 -O3 -march=native -O2 -O3 -march=native 1. (CC) gcc options: -pedantic -ldl -lz -lm
x264 H.264 Video Encoding OpenBenchmarking.org Frames Per Second, More Is Better x264 2014-08-30 H.264 Video Encoding GCC 4.9.1 Intel i7 4700HQ LLVM Clang 3.5 50 100 150 200 250 SE +/- 2.44, N = 5 SE +/- 0.59, N = 5 SE +/- 2.96, N = 5 239.97 159.38 237.37 -march=native -march=native 1. (CC) gcc options: -ldl -m64 -lm -lpthread -O3 -ffast-math -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize
Phoronix Test Suite v10.8.4