Benchmarking LLVM Clang 3.2, LLVM Clang 3.3 RC1, and GCC 4.8.0 on various Linux systems. Benchmarking by Michael Larabel for a future article on Phoronix.com.
Compare your own system(s) to this result file with the
Phoronix Test Suite by running the command:
phoronix-test-suite benchmark 1305170-UT-LLVMCLANG75
LLVM Clang 3.3, Clang 3.2, GCC 4.8 Compilers
Benchmarking LLVM Clang 3.2, LLVM Clang 3.3 RC1, and GCC 4.8.0 on various Linux systems. Benchmarking by Michael Larabel for a future article on Phoronix.com.
Intel Core i7 3960X: Clang 3.2:
Processor: Intel Core i7-3960X @ 3.30GHz (12 Cores), Motherboard: Intel DX79SI, Chipset: Intel Xeon E5/Core, Memory: 8192MB, Disk: 64GB OCZ VERTEX, Graphics: AMD Radeon HD 4650 512MB, Audio: Realtek ALC892, Monitor: DELL S2409W, Network: Intel 82579LM Gigabit Connection
OS: Ubuntu 13.04, Kernel: 3.8.0-19-generic (x86_64), Desktop: Unity 7.0.0, Display Server: X Server 1.13.3, Display Driver: radeon 7.1.0, OpenGL: 3.0 Mesa 9.1.1 Gallium 0.4, Compiler: Clang 3.2 + LLVM 3.2svn, File-System: ext4, Screen Resolution: 1920x1080
Intel Core i7 3960X: GCC 4.8.0:
Processor: Intel Core i7-3960X @ 3.30GHz (12 Cores), Motherboard: Intel DX79SI, Chipset: Intel Xeon E5/Core, Memory: 8192MB, Disk: 64GB OCZ VERTEX, Graphics: AMD Radeon HD 4650 512MB, Audio: Realtek ALC892, Monitor: DELL S2409W, Network: Intel 82579LM Gigabit Connection
OS: Ubuntu 13.04, Kernel: 3.8.0-19-generic (x86_64), Desktop: Unity 7.0.0, Display Server: X Server 1.13.3, Display Driver: radeon 7.1.0, OpenGL: 3.0 Mesa 9.1.1 Gallium 0.4, Compiler: GCC 4.8.0, File-System: ext4, Screen Resolution: 1920x1080
Intel Core i7 3960X: Clang 3.3-rc1:
Processor: Intel Core i7-3960X @ 3.30GHz (12 Cores), Motherboard: Intel DX79SI, Chipset: Intel Xeon E5/Core, Memory: 8192MB, Disk: 64GB OCZ VERTEX, Graphics: AMD Radeon HD 4650 512MB, Audio: Realtek ALC892, Monitor: DELL S2409W, Network: Intel 82579LM Gigabit Connection
OS: Ubuntu 13.04, Kernel: 3.8.0-19-generic (x86_64), Desktop: Unity 7.0.0, Display Server: X Server 1.13.3, Display Driver: radeon 7.1.0, OpenGL: 3.0 Mesa 9.1.1 Gallium 0.4, Compiler: Clang 3.3 + LLVM 3.3svn, File-System: ext4, Screen Resolution: 1920x1080
AMD FX-8350: Clang 3.2:
Processor: AMD FX-8350 Eight-Core @ 4.00GHz (8 Cores), Motherboard: ASUS Crosshair V Formula, Chipset: AMD ATI RD890 bridge, Memory: 8192MB, Disk: 60GB OCZ VERTEX2, Graphics: AMD Radeon HD 4870 512MB, Audio: Realtek ALC889, Monitor: VA2431, Network: Intel 82583V Gigabit Connection
OS: Ubuntu 13.04, Kernel: 3.8.0-19-generic (x86_64), Desktop: Unity 7.0.0, Display Server: X Server 1.13.3, Display Driver: radeon 7.1.0, OpenGL: 3.0 Mesa 9.2.0 (git-a67b18e) Gallium 0.4, Compiler: Clang 3.2 + LLVM 3.2svn, File-System: ext4, Screen Resolution: 1920x1080
AMD FX-8350: Clang 3.3-rc1:
Processor: AMD FX-8350 Eight-Core @ 4.00GHz (8 Cores), Motherboard: ASUS Crosshair V Formula, Chipset: AMD ATI RD890 bridge, Memory: 8192MB, Disk: 60GB OCZ VERTEX2, Graphics: AMD Radeon HD 4870 512MB, Audio: Realtek ALC889, Monitor: VA2431, Network: Intel 82583V Gigabit Connection
OS: Ubuntu 13.04, Kernel: 3.8.0-19-generic (x86_64), Desktop: Unity 7.0.0, Display Server: X Server 1.13.3, Display Driver: radeon 7.1.0, OpenGL: 3.0 Mesa 9.2.0 (git-a67b18e) Gallium 0.4, Compiler: Clang 3.3 + LLVM 3.3svn, File-System: ext4, Screen Resolution: 1920x1080
AMD FX-8350: GCC 4.8.0:
Processor: AMD FX-8350 Eight-Core @ 4.00GHz (8 Cores), Motherboard: ASUS Crosshair V Formula, Chipset: AMD ATI RD890 bridge, Memory: 8192MB, Disk: 60GB OCZ VERTEX2, Graphics: AMD Radeon HD 4870 512MB, Audio: Realtek ALC889, Monitor: VA2431, Network: Intel 82583V Gigabit Connection
OS: Ubuntu 13.04, Kernel: 3.8.0-19-generic (x86_64), Desktop: Unity 7.0.0, Display Server: X Server 1.13.3, Display Driver: radeon 7.1.0, OpenGL: 3.0 Mesa 9.2.0 (git-a67b18e) Gallium 0.4, Compiler: GCC 4.8.0, File-System: ext4, Screen Resolution: 1920x1080
Intel Core i3 3217U: Clang 3.3-rc1:
Processor: Intel Core i3-3217U @ 1.80GHz (4 Cores), Motherboard: ASUS K56CA v1.0, Chipset: Intel 3rd Gen Core DRAM, Memory: 4096MB, Disk: 500GB Hitachi HTS54505 + 24GB SanDisk SSD i100, Graphics: Intel 3rd Gen Core, Audio: Realtek ALC270, Network: Realtek RTL8111/8168 + Atheros AR9485 Wireless
OS: Ubuntu 13.10, Kernel: 3.10.0-999-generic (x86_64), Desktop: Unity 7.0.0, Display Server: X Server 1.13.3, Display Driver: intel 2.21.6, OpenGL: 3.0 Mesa 9.2.0 (git-4f518e1), Compiler: Clang 3.3 + LLVM 3.3svn, File-System: ext4, Screen Resolution: 1366x768
Intel Core i3 3217U: Clang 3.2:
Processor: Intel Core i3-3217U @ 1.80GHz (4 Cores), Motherboard: ASUS K56CA v1.0, Chipset: Intel 3rd Gen Core DRAM, Memory: 4096MB, Disk: 500GB Hitachi HTS54505 + 24GB SanDisk SSD i100, Graphics: Intel 3rd Gen Core, Audio: Realtek ALC270, Network: Realtek RTL8111/8168 + Atheros AR9485 Wireless
OS: Ubuntu 13.10, Kernel: 3.10.0-999-generic (x86_64), Desktop: Unity 7.0.0, Display Server: X Server 1.13.3, Display Driver: intel 2.21.6, OpenGL: 3.0 Mesa 9.2.0 (git-4f518e1), Compiler: Clang 3.2 + LLVM 3.2svn, File-System: ext4, Screen Resolution: 1366x768
Intel Core i3 3217U: GCC 4.8.0:
Processor: Intel Core i3-3217U @ 1.80GHz (4 Cores), Motherboard: ASUS K56CA v1.0, Chipset: Intel 3rd Gen Core DRAM, Memory: 4096MB, Disk: 500GB Hitachi HTS54505 + 24GB SanDisk SSD i100, Graphics: Intel 3rd Gen Core, Audio: Realtek ALC270, Network: Realtek RTL8111/8168 + Atheros AR9485 Wireless
OS: Ubuntu 13.10, Kernel: 3.10.0-999-generic (x86_64), Desktop: Unity 7.0.0, Display Server: X Server 1.13.3, Display Driver: intel 2.21.6, OpenGL: 3.0 Mesa 9.2.0 (git-4f518e1), Compiler: GCC 4.8.0, File-System: ext4, Screen Resolution: 1366x768
GraphicsMagick 1.3.16
Operation: Blur
Iterations Per Minute > Higher Is Better
Intel Core i7 3960X: Clang 3.2 ..... 82 |=====================
Intel Core i7 3960X: GCC 4.8.0 ..... 143 |=====================================
Intel Core i7 3960X: Clang 3.3-rc1 . 81 |=====================
AMD FX-8350: Clang 3.2 ............. 64 |=================
AMD FX-8350: Clang 3.3-rc1 ......... 64 |=================
AMD FX-8350: GCC 4.8.0 ............. 116 |==============================
Intel Core i3 3217U: Clang 3.3-rc1 . 40 |==========
Intel Core i3 3217U: Clang 3.2 ..... 40 |==========
Intel Core i3 3217U: GCC 4.8.0 ..... 54 |==============
GraphicsMagick 1.3.16
Operation: Sharpen
Iterations Per Minute > Higher Is Better
Intel Core i7 3960X: Clang 3.2 ..... 31 |==========
Intel Core i7 3960X: GCC 4.8.0 ..... 117 |=====================================
Intel Core i7 3960X: Clang 3.3-rc1 . 31 |==========
AMD FX-8350: Clang 3.2 ............. 23 |=======
AMD FX-8350: Clang 3.3-rc1 ......... 22 |=======
AMD FX-8350: GCC 4.8.0 ............. 112 |===================================
Intel Core i3 3217U: Clang 3.3-rc1 . 15 |=====
Intel Core i3 3217U: Clang 3.2 ..... 15 |=====
Intel Core i3 3217U: GCC 4.8.0 ..... 29 |=========
GraphicsMagick 1.3.16
Operation: Resizing
Iterations Per Minute > Higher Is Better
Intel Core i7 3960X: Clang 3.2 ..... 89 |===================
Intel Core i7 3960X: GCC 4.8.0 ..... 175 |=====================================
Intel Core i7 3960X: Clang 3.3-rc1 . 89 |===================
AMD FX-8350: Clang 3.2 ............. 73 |===============
AMD FX-8350: Clang 3.3-rc1 ......... 73 |===============
AMD FX-8350: GCC 4.8.0 ............. 148 |===============================
Intel Core i3 3217U: Clang 3.3-rc1 . 42 |=========
Intel Core i3 3217U: Clang 3.2 ..... 42 |=========
Intel Core i3 3217U: GCC 4.8.0 ..... 63 |=============
GraphicsMagick 1.3.16
Operation: HWB Color Space
Iterations Per Minute > Higher Is Better
Intel Core i7 3960X: Clang 3.2 ..... 124 |========================
Intel Core i7 3960X: GCC 4.8.0 ..... 192 |=====================================
Intel Core i7 3960X: Clang 3.3-rc1 . 123 |========================
AMD FX-8350: Clang 3.2 ............. 105 |====================
AMD FX-8350: Clang 3.3-rc1 ......... 104 |====================
AMD FX-8350: GCC 4.8.0 ............. 159 |===============================
Intel Core i3 3217U: Clang 3.3-rc1 . 68 |=============
Intel Core i3 3217U: Clang 3.2 ..... 69 |=============
Intel Core i3 3217U: GCC 4.8.0 ..... 81 |================
GraphicsMagick 1.3.16
Operation: Local Adaptive Thresholding
Iterations Per Minute > Higher Is Better
Intel Core i7 3960X: Clang 3.2 ..... 44 |============
Intel Core i7 3960X: GCC 4.8.0 ..... 133 |=====================================
Intel Core i7 3960X: Clang 3.3-rc1 . 49 |==============
AMD FX-8350: Clang 3.2 ............. 38 |===========
AMD FX-8350: Clang 3.3-rc1 ......... 37 |==========
AMD FX-8350: GCC 4.8.0 ............. 99 |============================
Intel Core i3 3217U: Clang 3.3-rc1 . 23 |======
Intel Core i3 3217U: Clang 3.2 ..... 21 |======
Intel Core i3 3217U: GCC 4.8.0 ..... 39 |===========
Himeno Benchmark 3.0
Poisson Pressure Solver
MFLOPS > Higher Is Better
Intel Core i7 3960X: Clang 3.2 ..... 1562.31 |================================
Intel Core i7 3960X: GCC 4.8.0 ..... 1629.42 |=================================
Intel Core i7 3960X: Clang 3.3-rc1 . 1597.62 |================================
AMD FX-8350: Clang 3.2 ............. 650.02 |=============
AMD FX-8350: Clang 3.3-rc1 ......... 667.68 |==============
AMD FX-8350: GCC 4.8.0 ............. 731.99 |===============
Intel Core i3 3217U: Clang 3.3-rc1 . 758.34 |===============
Intel Core i3 3217U: Clang 3.2 ..... 781.12 |================
Intel Core i3 3217U: GCC 4.8.0 ..... 779.65 |================
Apache Benchmark 2.4.3
Static Web Page Serving
Requests Per Second > Higher Is Better
Intel Core i7 3960X: Clang 3.2 ..... 14267.94 |=======================
Intel Core i7 3960X: GCC 4.8.0 ..... 14318.97 |=======================
Intel Core i7 3960X: Clang 3.3-rc1 . 14662.33 |=======================
AMD FX-8350: Clang 3.2 ............. 20186.40 |================================
AMD FX-8350: Clang 3.3-rc1 ......... 19950.55 |================================
AMD FX-8350: GCC 4.8.0 ............. 19810.73 |===============================
Intel Core i3 3217U: Clang 3.3-rc1 . 12423.85 |====================
Intel Core i3 3217U: Clang 3.2 ..... 12063.12 |===================
Intel Core i3 3217U: GCC 4.8.0 ..... 11374.96 |==================
PostgreSQL pgbench 8.4.11
TPC-B Transactions Per Second
TPS > Higher Is Better
Intel Core i7 3960X: Clang 3.2 ..... 354.32 |=====
Intel Core i7 3960X: Clang 3.3-rc1 . 351.51 |=====
AMD FX-8350: Clang 3.2 ............. 2438.64 |=================================
AMD FX-8350: Clang 3.3-rc1 ......... 2412.86 |=================================
Intel Core i3 3217U: Clang 3.3-rc1 . 542.70 |=======
Intel Core i3 3217U: Clang 3.2 ..... 521.66 |=======
BLAKE2 20121223
Phoronix Test Suite v4.6.0m1
Cycles Per Byte < Lower Is Better
Intel Core i7 3960X: Clang 3.2 ..... 5.52 |====================
Intel Core i7 3960X: GCC 4.8.0 ..... 5.00 |==================
Intel Core i7 3960X: Clang 3.3-rc1 . 5.50 |====================
AMD FX-8350: Clang 3.2 ............. 9.63 |===================================
AMD FX-8350: Clang 3.3-rc1 ......... 9.80 |====================================
AMD FX-8350: GCC 4.8.0 ............. 8.99 |=================================
Intel Core i3 3217U: Clang 3.3-rc1 . 6.48 |========================
Intel Core i3 3217U: Clang 3.2 ..... 6.48 |========================
Intel Core i3 3217U: GCC 4.8.0 ..... 6.03 |======================
Timed HMMer Search 2.3.2
Pfam Database Search
Seconds < Lower Is Better
Intel Core i7 3960X: Clang 3.2 ..... 15.42 |===========
Intel Core i7 3960X: GCC 4.8.0 ..... 15.91 |============
Intel Core i7 3960X: Clang 3.3-rc1 . 15.94 |============
AMD FX-8350: Clang 3.2 ............. 12.57 |=========
AMD FX-8350: Clang 3.3-rc1 ......... 11.02 |========
AMD FX-8350: GCC 4.8.0 ............. 11.52 |========
Intel Core i3 3217U: Clang 3.3-rc1 . 40.11 |=============================
Intel Core i3 3217U: Clang 3.2 ..... 48.17 |===================================
Intel Core i3 3217U: GCC 4.8.0 ..... 38.39 |============================
Timed MAFFT Alignment 6.864
Multiple Sequence Alignment
Seconds < Lower Is Better
Intel Core i7 3960X: Clang 3.2 ..... 7.42 |===========
Intel Core i7 3960X: GCC 4.8.0 ..... 7.19 |===========
Intel Core i7 3960X: Clang 3.3-rc1 . 7.54 |===========
AMD FX-8350: Clang 3.2 ............. 7.09 |==========
AMD FX-8350: Clang 3.3-rc1 ......... 6.86 |==========
AMD FX-8350: GCC 4.8.0 ............. 6.42 |=========
Intel Core i3 3217U: Clang 3.3-rc1 . 21.67 |================================
Intel Core i3 3217U: Clang 3.2 ..... 23.88 |===================================
Intel Core i3 3217U: GCC 4.8.0 ..... 20.34 |==============================
Timed ImageMagick Compilation 6.8.1-10
Time To Compile
Seconds < Lower Is Better
Intel Core i7 3960X: Clang 3.2 ..... 21.18 |===
Intel Core i7 3960X: GCC 4.8.0 ..... 49.99 |========
Intel Core i7 3960X: Clang 3.3-rc1 . 22.63 |====
AMD FX-8350: Clang 3.2 ............. 26.94 |====
AMD FX-8350: Clang 3.3-rc1 ......... 28.65 |=====
AMD FX-8350: GCC 4.8.0 ............. 102.92 |=================
Intel Core i3 3217U: Clang 3.3-rc1 . 104.36 |=================
Intel Core i3 3217U: Clang 3.2 ..... 97.07 |================
Intel Core i3 3217U: GCC 4.8.0 ..... 208.42 |==================================
Timed PHP Compilation 5.2.9
Time To Compile
Seconds < Lower Is Better
Intel Core i7 3960X: Clang 3.2 ..... 15.58 |======
Intel Core i7 3960X: GCC 4.8.0 ..... 22.59 |========
Intel Core i7 3960X: Clang 3.3-rc1 . 16.80 |======
AMD FX-8350: Clang 3.2 ............. 19.37 |=======
AMD FX-8350: Clang 3.3-rc1 ......... 20.82 |=======
AMD FX-8350: GCC 4.8.0 ............. 31.17 |===========
Intel Core i3 3217U: Clang 3.3-rc1 . 59.27 |=====================
Intel Core i3 3217U: Clang 3.2 ..... 57.64 |=====================
Intel Core i3 3217U: GCC 4.8.0 ..... 98.29 |===================================
C-Ray 1.1
Total Time
Seconds < Lower Is Better
Intel Core i7 3960X: Clang 3.2 ..... 21.05 |=====
Intel Core i7 3960X: GCC 4.8.0 ..... 18.41 |=====
Intel Core i7 3960X: Clang 3.3-rc1 . 20.81 |=====
AMD FX-8350: Clang 3.2 ............. 32.87 |========
AMD FX-8350: Clang 3.3-rc1 ......... 32.80 |========
AMD FX-8350: GCC 4.8.0 ............. 19.26 |=====
Intel Core i3 3217U: Clang 3.3-rc1 . 132.37 |==================================
Intel Core i3 3217U: Clang 3.2 ..... 133.72 |==================================
Intel Core i3 3217U: GCC 4.8.0 ..... 116.29 |==============================
Smallpt 1.0
Global Illumination Renderer; 100 Samples
Seconds < Lower Is Better
Intel Core i7 3960X: Clang 3.2 ..... 165 |==================
Intel Core i7 3960X: GCC 4.8.0 ..... 19 |==
Intel Core i7 3960X: Clang 3.3-rc1 . 163 |==================
AMD FX-8350: Clang 3.2 ............. 248 |===========================
AMD FX-8350: Clang 3.3-rc1 ......... 248 |===========================
AMD FX-8350: GCC 4.8.0 ............. 33 |====
Intel Core i3 3217U: Clang 3.3-rc1 . 344 |=====================================
Intel Core i3 3217U: Clang 3.2 ..... 341 |=====================================
Intel Core i3 3217U: GCC 4.8.0 ..... 117 |=============
FFmpeg 1.1
H.264 HD To NTSC DV
Seconds < Lower Is Better
Intel Core i7 3960X: Clang 3.2 ..... 18.35 |===================
Intel Core i7 3960X: GCC 4.8.0 ..... 18.09 |==================
Intel Core i7 3960X: Clang 3.3-rc1 . 18.43 |===================
AMD FX-8350: Clang 3.2 ............. 20.42 |=====================
AMD FX-8350: Clang 3.3-rc1 ......... 20.30 |=====================
AMD FX-8350: GCC 4.8.0 ............. 20.35 |=====================
Intel Core i3 3217U: Clang 3.2 ..... 34.45 |===================================
Intel Core i3 3217U: GCC 4.8.0 ..... 34.34 |===================================