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&grw&sor&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 scimark2: Composite scimark2: Monte Carlo scimark2: Fast Fourier Transform scimark2: Sparse Matrix Multiply scimark2: Dense LU Matrix Factorization scimark2: Jacobi Successive Over-Relaxation hint: FLOAT encode-flac: WAV To FLAC encode-mp3: WAV To MP3 himeno: Poisson Pressure Solver build-apache: Time To Compile john-the-ripper: Blowfish john-the-ripper: Traditional DES john-the-ripper: MD5 build-php: Time To Compile x264: H.264 Video Encoding c-ray: Total Time smallpt: Global Illumination Renderer; 100 Samples apache: Static Web Page Serving GCC 4.9.1 LLVM Clang 3.5 Intel i7 4700HQ 1226.25 478.03 336.60 2127.38 2256.78 932.44 253952490.31 4.89 14.38 1563.44 33.84 11473 17700000 146966 20.91 239.97 9.73 14 17082.05 1922.22 510.58 351.38 2474.85 4889.54 1384.75 205919869.28 5.28 17.45 1374.96 22.98 796 4547667 13244 18.59 237.37 14.77 172 16917.89 1186.91 526.24 248.55 1873.04 2290.27 996.48 313969890.38 5.33 14.30 1513.22 33.32 30.38 159.38 28.07 128 34006.17 OpenBenchmarking.org
SciMark Computational Test: Composite OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Composite Intel i7 4700HQ GCC 4.9.1 LLVM Clang 3.5 400 800 1200 1600 2000 SE +/- 10.63, N = 4 SE +/- 7.04, N = 4 SE +/- 20.66, N = 4 1186.91 1226.25 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 LLVM Clang 3.5 Intel i7 4700HQ 110 220 330 440 550 SE +/- 2.66, N = 4 SE +/- 7.24, N = 4 SE +/- 1.08, N = 4 478.03 510.58 526.24 -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 Intel i7 4700HQ GCC 4.9.1 LLVM Clang 3.5 80 160 240 320 400 SE +/- 2.25, N = 4 SE +/- 11.34, N = 4 SE +/- 8.90, N = 4 248.55 336.60 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 Intel i7 4700HQ GCC 4.9.1 LLVM Clang 3.5 500 1000 1500 2000 2500 SE +/- 9.94, N = 4 SE +/- 0.93, N = 4 SE +/- 173.43, N = 4 1873.04 2127.38 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:
Hierarchical INTegration Test: FLOAT OpenBenchmarking.org QUIPs, More Is Better Hierarchical INTegration 1.0 Test: FLOAT LLVM Clang 3.5 GCC 4.9.1 Intel i7 4700HQ 70M 140M 210M 280M 350M SE +/- 67443.03, N = 3 SE +/- 4588402.44, N = 6 SE +/- 815552.12, N = 3 205919869.28 253952490.31 313969890.38 1. (CC) gcc options: -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 Intel i7 4700HQ LLVM Clang 3.5 GCC 4.9.1 1.1993 2.3986 3.5979 4.7972 5.9965 SE +/- 0.01, N = 5 SE +/- 0.08, N = 5 SE +/- 0.03, N = 5 5.33 5.28 4.89 -O2 -logg -O3 -march=native -O3 -march=native 1. (CXX) g++ options: -fvisibility=hidden -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 GCC 4.9.1 Intel i7 4700HQ 4 8 12 16 20 SE +/- 0.13, N = 5 SE +/- 0.17, N = 9 SE +/- 0.02, N = 5 17.45 14.38 14.30 -march=native -march=native -fomit-frame-pointer -ffast-math 1. (CC) gcc options: -pipe -O3 -lm
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
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
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
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: 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
Timed PHP Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 5.2.9 Time To Compile Intel i7 4700HQ GCC 4.9.1 LLVM Clang 3.5 7 14 21 28 35 SE +/- 0.23, N = 3 SE +/- 0.20, N = 3 SE +/- 0.26, N = 5 30.38 20.91 18.59 -O2 -O3 -march=native -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 Intel i7 4700HQ LLVM Clang 3.5 GCC 4.9.1 50 100 150 200 250 SE +/- 0.59, N = 5 SE +/- 2.96, N = 5 SE +/- 2.44, N = 5 159.38 237.37 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
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time Intel i7 4700HQ LLVM Clang 3.5 GCC 4.9.1 7 14 21 28 35 SE +/- 0.47, N = 4 SE +/- 0.01, N = 3 SE +/- 0.01, N = 3 28.07 14.77 9.73 -march=native -march=native 1. (CC) gcc options: -lm -lpthread -O3
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
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 GCC 4.9.1 Intel i7 4700HQ 7K 14K 21K 28K 35K SE +/- 190.79, N = 3 SE +/- 296.90, N = 6 SE +/- 82.04, N = 3 16917.89 17082.05 34006.17 -O3 -march=native -O3 -march=native -O2 1. (CC) gcc options: -shared -fPIC -pthread
Phoronix Test Suite v10.8.4