LLVM 3.4 vs. GCC 4.9 Compiler Benchmarks
Tests by Michael Larabel for a future article on Phoronix.com looking at the LLVM Clang 3.4 open-source compiler performance from Ubuntu Linux then compared to GCC 4.8 and GCC 4.9.
LLVM Clang 3.4 SVN
Processor: Intel Core i7-4960X @ 4.00GHz (12 Cores), Motherboard: MSI X79MA-GD45 (MS-7738) v1.0, Chipset: Intel Xeon E5 v2/Core, Memory: 8192MB, Disk: 1000GB Seagate ST1000DX001-1CM1, Graphics: Sapphire AMD Radeon HD 4870 512MB, Audio: Realtek ALC892, Monitor: DELL S2409W, Network: Realtek RTL8111/8168/8411
OS: Ubuntu 14.04, Kernel: 3.13.0-999-generic (x86_64), Desktop: Unity 7.1.2, Display Server: X Server 1.14.4, Display Driver: radeon 7.2.0, OpenGL: 3.1 Mesa 10.0.0 Gallium 0.4, Compiler: Clang 3.4 (SVN 197046) + LLVM 3.4, File-System: ext4, Screen Resolution: 1920x1080
Compiler Notes: Optimized build; Built Dec 11 2013 (10:19:57); Default target: x86_64-unknown-linux-gnu; Host CPU: core-avx-i
Processor Notes: Scaling Governor: intel_pstate powersave
LLVM Clang 3.3
OS: Ubuntu 14.04, Kernel: 3.13.0-999-generic (x86_64), Desktop: Unity 7.1.2, Display Server: X Server 1.14.4, Display Driver: radeon 7.2.0, OpenGL: 3.1 Mesa 10.0.0 Gallium 0.4, Compiler: Clang 3.3 + LLVM 3.3, File-System: ext4, Screen Resolution: 1920x1080
Compiler Notes: Optimized build; Built Dec 11 2013 (09:55:18); Default target: x86_64-unknown-linux-gnu; Host CPU: x86-64
Processor Notes: Scaling Governor: intel_pstate powersave
GCC 4.9.0 20131208
OS: Ubuntu 14.04, Kernel: 3.13.0-999-generic (x86_64), Desktop: Unity 7.1.2, Display Server: X Server 1.14.4, Display Driver: radeon 7.2.0, OpenGL: 3.1 Mesa 10.0.0 Gallium 0.4, Compiler: GCC 4.9.0 20131208, File-System: ext4, Screen Resolution: 1920x1080
Compiler Notes: --enable-checking=release --enable-languages=c,c++
Processor Notes: Scaling Governor: intel_pstate powersave
GCC 4.8.2
OS: Ubuntu 14.04, Kernel: 3.13.0-999-generic (x86_64), Desktop: Unity 7.1.2, Display Server: X Server 1.14.4, Display Driver: radeon 7.2.0, OpenGL: 3.1 Mesa 10.0.0 Gallium 0.4, Compiler: GCC 4.8.2, File-System: ext4, Screen Resolution: 1920x1080
Timed HMMer Search
This test searches through the Pfam database of profile hidden markov models. The search finds the domain structure of Drosophila Sevenless protein. Learn more via the OpenBenchmarking.org test page.
BLAKE2
Botan
SciMark
This test runs the ANSI C version of SciMark 2.0, which is a benchmark for scientific and numerical computing developed by programmers at the National Institute of Standards and Technology. This test is made up of Fast Foruier Transform, Jacobi Successive Over-relaxation, Monte Carlo, Sparse Matrix Multiply, and dense LU matrix factorization benchmarks. Learn more via the OpenBenchmarking.org test page.
Himeno Benchmark
The Himeno benchmark is a linear solver of pressure Poisson using a point-Jacobi method. Learn more via the OpenBenchmarking.org test page.
7-Zip Compression
Timed MPlayer Compilation
This test times how long it takes to build the MPlayer media player program. Learn more via the OpenBenchmarking.org test page.
Timed PHP Compilation
C-Ray
This is a test of C-Ray, a simple raytracer designed to test the floating-point CPU performance. This test is multi-threaded (16 threads per core), will shoot 8 rays per pixel for anti-aliasing, and will generate a 1600 x 1200 image. Learn more via the OpenBenchmarking.org test page.
Parallel BZIP2 Compression
FLAC Audio Encoding
LAME MP3 Encoding
LAME is an MP3 encoder licensed under the LGPL. This test measures the time required to encode a WAV file to MP3 format. Learn more via the OpenBenchmarking.org test page.
FFmpeg
Hierarchical INTegration
This test runs the U.S. Department of Energy's Ames Laboratory Hierarchical INTegration (HINT) benchmark. Learn more via the OpenBenchmarking.org test page.
NGINX Benchmark
Apache Benchmark
N-Queens
This is a test of the OpenMP version of a test that solves the N-queens problem. The board problem size is 18. Learn more via the OpenBenchmarking.org test page.
LLVM Clang 3.4 SVN
Processor: Intel Core i7-4960X @ 4.00GHz (12 Cores), Motherboard: MSI X79MA-GD45 (MS-7738) v1.0, Chipset: Intel Xeon E5 v2/Core, Memory: 8192MB, Disk: 1000GB Seagate ST1000DX001-1CM1, Graphics: Sapphire AMD Radeon HD 4870 512MB, Audio: Realtek ALC892, Monitor: DELL S2409W, Network: Realtek RTL8111/8168/8411
OS: Ubuntu 14.04, Kernel: 3.13.0-999-generic (x86_64), Desktop: Unity 7.1.2, Display Server: X Server 1.14.4, Display Driver: radeon 7.2.0, OpenGL: 3.1 Mesa 10.0.0 Gallium 0.4, Compiler: Clang 3.4 (SVN 197046) + LLVM 3.4, File-System: ext4, Screen Resolution: 1920x1080
Compiler Notes: Optimized build; Built Dec 11 2013 (10:19:57); Default target: x86_64-unknown-linux-gnu; Host CPU: core-avx-i
Processor Notes: Scaling Governor: intel_pstate powersave
Testing initiated at 11 December 2013 11:27 by user phoronix.
LLVM Clang 3.3
Processor: Intel Core i7-4960X @ 4.00GHz (12 Cores), Motherboard: MSI X79MA-GD45 (MS-7738) v1.0, Chipset: Intel Xeon E5 v2/Core, Memory: 8192MB, Disk: 1000GB Seagate ST1000DX001-1CM1, Graphics: Sapphire AMD Radeon HD 4870 512MB, Audio: Realtek ALC892, Monitor: DELL S2409W, Network: Realtek RTL8111/8168/8411
OS: Ubuntu 14.04, Kernel: 3.13.0-999-generic (x86_64), Desktop: Unity 7.1.2, Display Server: X Server 1.14.4, Display Driver: radeon 7.2.0, OpenGL: 3.1 Mesa 10.0.0 Gallium 0.4, Compiler: Clang 3.3 + LLVM 3.3, File-System: ext4, Screen Resolution: 1920x1080
Compiler Notes: Optimized build; Built Dec 11 2013 (09:55:18); Default target: x86_64-unknown-linux-gnu; Host CPU: x86-64
Processor Notes: Scaling Governor: intel_pstate powersave
Testing initiated at 11 December 2013 12:39 by user phoronix.
GCC 4.9.0 20131208
Processor: Intel Core i7-4960X @ 4.00GHz (12 Cores), Motherboard: MSI X79MA-GD45 (MS-7738) v1.0, Chipset: Intel Xeon E5 v2/Core, Memory: 8192MB, Disk: 1000GB Seagate ST1000DX001-1CM1, Graphics: Sapphire AMD Radeon HD 4870 512MB, Audio: Realtek ALC892, Monitor: DELL S2409W, Network: Realtek RTL8111/8168/8411
OS: Ubuntu 14.04, Kernel: 3.13.0-999-generic (x86_64), Desktop: Unity 7.1.2, Display Server: X Server 1.14.4, Display Driver: radeon 7.2.0, OpenGL: 3.1 Mesa 10.0.0 Gallium 0.4, Compiler: GCC 4.9.0 20131208, File-System: ext4, Screen Resolution: 1920x1080
Compiler Notes: --enable-checking=release --enable-languages=c,c++
Processor Notes: Scaling Governor: intel_pstate powersave
Testing initiated at 11 December 2013 16:02 by user phoronix.
GCC 4.8.2
Processor: Intel Core i7-4960X @ 4.00GHz (12 Cores), Motherboard: MSI X79MA-GD45 (MS-7738) v1.0, Chipset: Intel Xeon E5 v2/Core, Memory: 8192MB, Disk: 1000GB Seagate ST1000DX001-1CM1, Graphics: Sapphire AMD Radeon HD 4870 512MB, Audio: Realtek ALC892, Monitor: DELL S2409W, Network: Realtek RTL8111/8168/8411
OS: Ubuntu 14.04, Kernel: 3.13.0-999-generic (x86_64), Desktop: Unity 7.1.2, Display Server: X Server 1.14.4, Display Driver: radeon 7.2.0, OpenGL: 3.1 Mesa 10.0.0 Gallium 0.4, Compiler: GCC 4.8.2, File-System: ext4, Screen Resolution: 1920x1080
Compiler Notes: --enable-checking=release --enable-languages=c,c++
Processor Notes: Scaling Governor: intel_pstate powersave
Testing initiated at 11 December 2013 17:18 by user phoronix.