LLVM Clang 3.2 vs. GCC 4.8 - Intel Ivy Bridge Intel Core i7-3517UE Ivy Bridge quick comparison of LLVM 3.2 SVN and GCC 4.8 SVN as of 17 August 2012 for a quick future article on phoronix.com by Michael Larabel looking at the GCC vs. LLVM/Clang compiler performance on this latest Intel hardware. LLVM 3.2 SVN 2012-08-17: Processor: Intel Core i7-3517UE @ 2.10GHz (4 Cores), Motherboard: CompuLab Intense-PC, Chipset: Intel 3rd Gen Core DRAM, Memory: 8192MB, Disk: 500GB Hitachi HCC54755, Graphics: Intel 3rd Gen Core, Audio: Realtek ALC888, Monitor: VA2431, Network: Intel 82579LM Gigabit Connection + Realtek RTL8188CE 802.11b/g/n OS: Ubuntu 12.10, Kernel: 3.6.0-999-generic (x86_64), Desktop: Unity 2D 6.2.0, Display Server: X Server 1.12.1.902 (1.12.2 RC 2), Display Driver: intel 2.20.3, OpenGL: 2.1 Mesa 8.1-devel (git-6a3ac03), Compiler: Clang 3.2 (SVN 162102) + LLVM 3.2svn, File-System: ext4, Screen Resolution: 1920x1080 GCC 4.8.0 2012-08-17: Processor: Intel Core i7-3517UE @ 2.10GHz (4 Cores), Motherboard: CompuLab Intense-PC, Chipset: Intel 3rd Gen Core DRAM, Memory: 8192MB, Disk: 500GB Hitachi HCC54755, Graphics: Intel 3rd Gen Core, Audio: Realtek ALC888, Monitor: VA2431, Network: Intel 82579LM Gigabit Connection + Realtek RTL8188CE 802.11b/g/n OS: Ubuntu 12.10, Kernel: 3.6.0-999-generic (x86_64), Desktop: Unity 2D 6.2.0, Display Server: X Server 1.12.1.902 (1.12.2 RC 2), Display Driver: intel 2.20.3, OpenGL: 2.1 Mesa 8.1-devel (git-6a3ac03), Compiler: GCC 4.8.0 20120817, File-System: ext4, Screen Resolution: 1920x1080 FFTE 5.0 Test: N=64, 1D Complex FFT Routine MFLOPS > Higher Is Better LLVM 3.2 SVN 2012-08-17 . 4174.48 |============================================ GCC 4.8.0 2012-08-17 .... 4144.41 |============================================ Timed HMMer Search 2.3.2 Pfam Database Search Seconds < Lower Is Better LLVM 3.2 SVN 2012-08-17 . 32.57 |============================================== GCC 4.8.0 2012-08-17 .... 26.31 |===================================== Timed MAFFT Alignment 6.864 Multiple Sequence Alignment Seconds < Lower Is Better LLVM 3.2 SVN 2012-08-17 . 15.58 |============================================== GCC 4.8.0 2012-08-17 .... 13.60 |======================================== Timed MrBayes Analysis 3.1.2 Primate Phylogeny Analysis Seconds < Lower Is Better LLVM 3.2 SVN 2012-08-17 . 32.40 |============================================== GCC 4.8.0 2012-08-17 .... 26.48 |====================================== John The Ripper 1.7.9 Test: Blowfish Real C/S > Higher Is Better LLVM 3.2 SVN 2012-08-17 . 721 |================ GCC 4.8.0 2012-08-17 .... 2102 |=============================================== VP8 libvpx Encoding 0.9.7-p1 vpxenc Frames Per Second > Higher Is Better LLVM 3.2 SVN 2012-08-17 . 13.94 |=========================================== GCC 4.8.0 2012-08-17 .... 14.79 |============================================== Himeno Benchmark 3.0 Poisson Pressure Solver MFLOPS > Higher Is Better LLVM 3.2 SVN 2012-08-17 . 1170.53 |=========================================== GCC 4.8.0 2012-08-17 .... 1210.23 |============================================ 7-Zip Compression 9.20.1 Compress Speed Test MIPS > Higher Is Better LLVM 3.2 SVN 2012-08-17 . 8261 |=============================================== GCC 4.8.0 2012-08-17 .... 7958 |============================================= C-Ray 1.1 Total Time Seconds < Lower Is Better LLVM 3.2 SVN 2012-08-17 . 92.01 |============================================== GCC 4.8.0 2012-08-17 .... 91.87 |============================================== Smallpt 1.0 Global Illumination Renderer; 100 Samples Seconds < Lower Is Better LLVM 3.2 SVN 2012-08-17 . 205 |================================================ GCC 4.8.0 2012-08-17 .... 70 |================ Crafty 23.4 Elapsed Time Seconds < Lower Is Better LLVM 3.2 SVN 2012-08-17 . 99.85 |=========================================== GCC 4.8.0 2012-08-17 .... 103.38 |============================================= LAME MP3 Encoding 3.99.3 WAV To MP3 Seconds < Lower Is Better LLVM 3.2 SVN 2012-08-17 . 20.64 |============================================== GCC 4.8.0 2012-08-17 .... 18.86 |========================================== FFmpeg 0.10 AVI To NTSC VCD Seconds < Lower Is Better LLVM 3.2 SVN 2012-08-17 . 13.55 |============================================== Minion 0.12 Benchmark: Bibd Seconds < Lower Is Better LLVM 3.2 SVN 2012-08-17 . 160.66 |============================================= GCC 4.8.0 2012-08-17 .... 153.65 |=========================================== Minion 0.12 Benchmark: Graceful Seconds < Lower Is Better LLVM 3.2 SVN 2012-08-17 . 91.00 |============================================ GCC 4.8.0 2012-08-17 .... 94.20 |============================================== Minion 0.12 Benchmark: Solitaire Seconds < Lower Is Better LLVM 3.2 SVN 2012-08-17 . 154.67 |============================================= GCC 4.8.0 2012-08-17 .... 143.26 |========================================== Minion 0.12 Benchmark: Quasigroup Seconds < Lower Is Better LLVM 3.2 SVN 2012-08-17 . 209.94 |============================================= GCC 4.8.0 2012-08-17 .... 204.23 |============================================ OpenSSL 1.0.0e RSA 4096-bit Performance Signs Per Second > Higher Is Better LLVM 3.2 SVN 2012-08-17 . 70.90 |============================================= GCC 4.8.0 2012-08-17 .... 71.70 |============================================== NGINX Benchmark 1.0.11 Static Web Page Serving Requests Per Second > Higher Is Better LLVM 3.2 SVN 2012-08-17 . 23429.56 |=========================================== GCC 4.8.0 2012-08-17 .... 22927.29 |========================================== Apache Benchmark 2.2.21 Static Web Page Serving Requests Per Second > Higher Is Better LLVM 3.2 SVN 2012-08-17 . 16978.74 |=========================================== GCC 4.8.0 2012-08-17 .... 16801.78 |===========================================