LLVM/Clang 3.0 On Intel Sandy Bridge Benchmarking GCC and LLVM on an Intel Core i7 2630QM Sandy Bridge notebook from ZaReason for a future article on Phoronix. GCC 4.6.1: Processor: Intel Core i7-2630QM @ 2.00GHz (8 Cores), Motherboard: Compal PBL21, Chipset: Intel 2nd Generation Core Family, Memory: 8192MB, Disk: 128GB Super Talent STT_FTM28G225H, Graphics: NVIDIA GeForce GT 540M 2048MB (672/900MHz), Audio: Realtek ALC259, Network: Realtek RTL8111/8168B + Atheros AR9285 Wireless OS: Ubuntu 11.10, Kernel: 3.0.0-12-generic (x86_64), Desktop: Unity 4.22.0, Display Server: X Server 1.10.4, Display Driver: NVIDIA 280.13, OpenGL: 4.1.0 NVIDIA 280.13, Compiler: GCC 4.6.1, File-System: ext4, Screen Resolution: 1920x1080 LLVM-Clang 3.0 SVN: Processor: Intel Core i7-2630QM @ 2.00GHz (8 Cores), Motherboard: Compal PBL21, Chipset: Intel 2nd Generation Core Family, Memory: 8192MB, Disk: 128GB Super Talent STT_FTM28G225H, Graphics: NVIDIA GeForce GT 540M 2048MB (672/900MHz), Audio: Realtek ALC259, Network: Realtek RTL8111/8168B + Atheros AR9285 Wireless OS: Ubuntu 11.10, Kernel: 3.0.0-12-generic (x86_64), Desktop: Unity 4.22.0, Display Server: X Server 1.10.4, Display Driver: NVIDIA 280.13, OpenGL: 4.1.0 NVIDIA 280.13, Compiler: Clang 4.2.1, File-System: ext4, Screen Resolution: 1920x1080 LLVM-Clang 2.9: Processor: Intel Core i7-2630QM @ 2.00GHz (8 Cores), Motherboard: Compal PBL21, Chipset: Intel 2nd Generation Core Family, Memory: 8192MB, Disk: 128GB Super Talent STT_FTM28G225H, Graphics: NVIDIA GeForce GT 540M 2048MB (672/900MHz), Audio: Realtek ALC259, Network: Realtek RTL8111/8168B + Atheros AR9285 Wireless OS: Ubuntu 11.10, Kernel: 3.0.0-12-generic (x86_64), Desktop: Unity 4.22.0, Display Server: X Server 1.10.4, Display Driver: NVIDIA 280.13, OpenGL: 4.1.0 NVIDIA 280.13, Compiler: Clang 4.2.1, File-System: ext4, Screen Resolution: 1920x1080 7-Zip Compression 9.13 Compress Speed Test MIPS > Higher Is Better GCC 4.6.1 . 12904 |============================================================ John The Ripper 1.7.8 Test: Blowfish Real C/S > Higher Is Better GCC 4.6.1 .......... 713 |===================================================== LLVM-Clang 3.0 SVN . 637 |=============================================== LLVM-Clang 2.9 ..... 678 |================================================== John The Ripper 1.7.8 Test: MD5 Real C/S > Higher Is Better GCC 4.6.1 .......... 11087 |=================================================== LLVM-Clang 3.0 SVN . 10346 |================================================ LLVM-Clang 2.9 ..... 10338 |================================================ John The Ripper 1.7.8 Test: Traditional DES Real C/S > Higher Is Better GCC 4.6.1 .......... 3473000 |============================================= LLVM-Clang 3.0 SVN . 3744667 |================================================= LLVM-Clang 2.9 ..... 3738333 |================================================= OpenSSL 1.0.0a RSA 4096-bit Performance Signs Per Second > Higher Is Better GCC 4.6.1 .......... 67.13 |=================================================== LLVM-Clang 3.0 SVN . 67.30 |=================================================== LLVM-Clang 2.9 ..... 66.95 |=================================================== x264 2010-11-22 H.264 Video Encoding Frames Per Second > Higher Is Better GCC 4.6.1 ...... 78.15 |======================================================= LLVM-Clang 2.9 . 75.43 |===================================================== FLAC Audio Encoding 1.2.1 WAV To FLAC Seconds < Lower Is Better GCC 4.6.1 .......... 8.00 |============================================== LLVM-Clang 3.0 SVN . 8.97 |==================================================== LLVM-Clang 2.9 ..... 8.87 |=================================================== LAME MP3 Encoding 3.98.2 WAV To MP3 Seconds < Lower Is Better GCC 4.6.1 .......... 24.71 |================================================ LLVM-Clang 3.0 SVN . 25.76 |================================================== LLVM-Clang 2.9 ..... 26.42 |=================================================== TSCP 1.81 AI Chess Performance Nodes Per Second > Higher Is Better GCC 4.6.1 .......... 411520 |================================================ LLVM-Clang 3.0 SVN . 425913 |================================================== LLVM-Clang 2.9 ..... 421989 |================================================== POV-Ray 3.6.1 Total Time Seconds < Lower Is Better GCC 4.6.1 . 904 |============================================================== Smallpt 1.0 Global Illumination Renderer; 100 Samples Seconds < Lower Is Better GCC 4.6.1 .......... 143 |=========== LLVM-Clang 3.0 SVN . 614 |================================================ LLVM-Clang 2.9 ..... 676 |===================================================== C-Ray 1.1 Total Time Seconds < Lower Is Better GCC 4.6.1 .......... 71.60 |=================================================== LLVM-Clang 3.0 SVN . 65.11 |============================================== LLVM-Clang 2.9 ..... 69.98 |================================================== Apache Benchmark 2.2.17 Static Web Page Serving Requests Per Second > Higher Is Better GCC 4.6.1 .......... 15740.72 |================================== LLVM-Clang 3.0 SVN . 22322.59 |================================================ LLVM-Clang 2.9 ..... 22393.19 |================================================