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.
HTML result view exported from: https://openbenchmarking.org/result/1208179-SU-LLVMCLANG08&sor&gru .
LLVM Clang 3.2 vs. GCC 4.8 - Intel Ivy Bridge Processor Motherboard Chipset Memory Disk Graphics Audio Monitor Network OS Kernel Desktop Display Server Display Driver OpenGL Compiler File-System Screen Resolution LLVM 3.2 SVN 2012-08-17 GCC 4.8.0 2012-08-17 Intel Core i7-3517UE @ 2.10GHz (4 Cores) CompuLab Intense-PC Intel 3rd Gen Core DRAM 8192MB 500GB Hitachi HCC54755 Intel 3rd Gen Core Realtek ALC888 VA2431 Intel 82579LM Gigabit Connection + Realtek RTL8188CE 802.11b/g/n Ubuntu 12.10 3.6.0-999-generic (x86_64) Unity 2D 6.2.0 X Server 1.12.1.902 (1.12.2 RC 2) intel 2.20.3 2.1 Mesa 8.1-devel (git-6a3ac03) Clang 3.2 (SVN 162102) + LLVM 3.2svn ext4 1920x1080 GCC 4.8.0 20120817 OpenBenchmarking.org Compiler Details - LLVM 3.2 SVN 2012-08-17: (Ubuntu 3.0-9)Optimized build; Built Apr 27 2012 (15:29:31); Host: x86_64-pc-linux-gnu; Host CPU: i686 - GCC 4.8.0 2012-08-17: --enable-checking=release --enable-languages=c,c++ --enable-lto Processor Details - Scaling Governor: ondemand System Details - GCC 4.8.0 2012-08-17: Firefox was running on this system.
LLVM Clang 3.2 vs. GCC 4.8 - Intel Ivy Bridge vpxenc: vpxenc ffte: N=64, 1D Complex FFT Routine himeno: Poisson Pressure Solver compress-7zip: Compress Speed Test john-the-ripper: Blowfish nginx: Static Web Page Serving apache: Static Web Page Serving openssl: RSA 4096-bit Performance hmmer: Pfam Database Search mafft: Multiple Sequence Alignment mrbayes: Primate Phylogeny Analysis c-ray: Total Time smallpt: Global Illumination Renderer; 100 Samples crafty: Elapsed Time encode-mp3: WAV To MP3 ffmpeg: AVI To NTSC VCD minion: Bibd minion: Graceful minion: Solitaire minion: Quasigroup LLVM 3.2 SVN 2012-08-17 GCC 4.8.0 2012-08-17 13.94 4174.48 1170.53 8261 721 23429.56 16978.74 70.90 32.57 15.58 32.40 92.01 205 99.85 20.64 13.55 160.66 91.00 154.67 209.94 14.79 4144.41 1210.23 7958 2102 22927.29 16801.78 71.70 26.31 13.60 26.48 91.87 70 103.38 18.86 153.65 94.20 143.26 204.23 OpenBenchmarking.org
VP8 libvpx Encoding vpxenc OpenBenchmarking.org Frames Per Second, More Is Better VP8 libvpx Encoding 0.9.7-p1 vpxenc GCC 4.8.0 2012-08-17 LLVM 3.2 SVN 2012-08-17 4 8 12 16 20 SE +/- 0.11, N = 3 SE +/- 0.15, N = 3 14.79 13.94 1. (CC) gcc options: -m64 -lvpx -lm -lpthread
FFTE Test: N=64, 1D Complex FFT Routine OpenBenchmarking.org MFLOPS, More Is Better FFTE 5.0 Test: N=64, 1D Complex FFT Routine LLVM 3.2 SVN 2012-08-17 GCC 4.8.0 2012-08-17 900 1800 2700 3600 4500 SE +/- 5.07, N = 3 SE +/- 25.56, N = 3 4174.48 4144.41 1. (F9X) gfortran options: -O3 -fomit-frame-pointer -fopenmp -pthread -lmpi_f90 -lmpi_f77 -lmpi -lopen-rte -lopen-pal -ldl -lnsl -lutil -lm
Himeno Benchmark Poisson Pressure Solver OpenBenchmarking.org MFLOPS, More Is Better Himeno Benchmark 3.0 Poisson Pressure Solver GCC 4.8.0 2012-08-17 LLVM 3.2 SVN 2012-08-17 300 600 900 1200 1500 SE +/- 1.93, N = 3 SE +/- 3.44, N = 3 1210.23 1170.53 1. (CC) gcc options: -O3 -march=native
7-Zip Compression Compress Speed Test OpenBenchmarking.org MIPS, More Is Better 7-Zip Compression 9.20.1 Compress Speed Test LLVM 3.2 SVN 2012-08-17 GCC 4.8.0 2012-08-17 2K 4K 6K 8K 10K SE +/- 37.65, N = 3 SE +/- 29.33, N = 3 8261 7958 1. (CXX) g++ options: -pipe -lpthread
John The Ripper Test: Blowfish OpenBenchmarking.org Real C/S, More Is Better John The Ripper 1.7.9 Test: Blowfish GCC 4.8.0 2012-08-17 LLVM 3.2 SVN 2012-08-17 500 1000 1500 2000 2500 SE +/- 0.00, N = 3 SE +/- 0.58, N = 3 2102 721 1. (CC) gcc options: -fopenmp -lcrypt
NGINX Benchmark Static Web Page Serving OpenBenchmarking.org Requests Per Second, More Is Better NGINX Benchmark 1.0.11 Static Web Page Serving LLVM 3.2 SVN 2012-08-17 GCC 4.8.0 2012-08-17 5K 10K 15K 20K 25K SE +/- 429.23, N = 3 SE +/- 214.40, N = 3 23429.56 22927.29 1. (CC) gcc options: -lpthread -lcrypt -lcrypto -lz
Apache Benchmark Static Web Page Serving OpenBenchmarking.org Requests Per Second, More Is Better Apache Benchmark 2.2.21 Static Web Page Serving LLVM 3.2 SVN 2012-08-17 GCC 4.8.0 2012-08-17 4K 8K 12K 16K 20K SE +/- 77.92, N = 3 SE +/- 111.57, N = 3 16978.74 16801.78 1. (CC) gcc options: -pthread -O3 -march=native -lm -lexpat -lrt -lcrypt -lpthread -ldl
OpenSSL RSA 4096-bit Performance OpenBenchmarking.org Signs Per Second, More Is Better OpenSSL 1.0.0e RSA 4096-bit Performance GCC 4.8.0 2012-08-17 LLVM 3.2 SVN 2012-08-17 16 32 48 64 80 SE +/- 0.07, N = 4 SE +/- 0.50, N = 4 71.70 70.90 1. (CC) gcc options: -m64 -O3 -lssl -lcrypto -ldl
Timed HMMer Search Pfam Database Search OpenBenchmarking.org Seconds, Fewer Is Better Timed HMMer Search 2.3.2 Pfam Database Search GCC 4.8.0 2012-08-17 LLVM 3.2 SVN 2012-08-17 8 16 24 32 40 SE +/- 0.03, N = 3 SE +/- 0.01, N = 3 26.31 32.57 1. (CC) gcc options: -O3 -march=native -pthread -lhmmer -lsquid -lm
Timed MAFFT Alignment Multiple Sequence Alignment OpenBenchmarking.org Seconds, Fewer Is Better Timed MAFFT Alignment 6.864 Multiple Sequence Alignment GCC 4.8.0 2012-08-17 LLVM 3.2 SVN 2012-08-17 4 8 12 16 20 SE +/- 0.24, N = 6 SE +/- 0.29, N = 6 13.60 15.58 1. (CC) gcc options: -O3 -lm -lpthread
Timed MrBayes Analysis Primate Phylogeny Analysis OpenBenchmarking.org Seconds, Fewer Is Better Timed MrBayes Analysis 3.1.2 Primate Phylogeny Analysis GCC 4.8.0 2012-08-17 LLVM 3.2 SVN 2012-08-17 8 16 24 32 40 SE +/- 0.04, N = 3 SE +/- 0.02, N = 3 26.48 32.40
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time GCC 4.8.0 2012-08-17 LLVM 3.2 SVN 2012-08-17 20 40 60 80 100 SE +/- 0.16, N = 3 SE +/- 0.10, N = 3 91.87 92.01 1. (CC) gcc options: -lm -lpthread -O3 -march=native
Smallpt Global Illumination Renderer; 100 Samples OpenBenchmarking.org Seconds, Fewer Is Better Smallpt 1.0 Global Illumination Renderer; 100 Samples GCC 4.8.0 2012-08-17 LLVM 3.2 SVN 2012-08-17 40 80 120 160 200 SE +/- 0.33, N = 3 SE +/- 0.67, N = 3 70 205 1. (CXX) g++ options: -fopenmp -O3 -march=native
Crafty Elapsed Time OpenBenchmarking.org Seconds, Fewer Is Better Crafty 23.4 Elapsed Time LLVM 3.2 SVN 2012-08-17 GCC 4.8.0 2012-08-17 20 40 60 80 100 SE +/- 0.06, N = 3 SE +/- 0.02, N = 3 99.85 103.38 1. (CC) gcc options: -lstdc++ -lm
LAME MP3 Encoding WAV To MP3 OpenBenchmarking.org Seconds, Fewer Is Better LAME MP3 Encoding 3.99.3 WAV To MP3 GCC 4.8.0 2012-08-17 LLVM 3.2 SVN 2012-08-17 5 10 15 20 25 SE +/- 0.01, N = 5 SE +/- 0.02, N = 5 18.86 20.64
FFmpeg AVI To NTSC VCD OpenBenchmarking.org Seconds, Fewer Is Better FFmpeg 0.10 AVI To NTSC VCD LLVM 3.2 SVN 2012-08-17 3 6 9 12 15 SE +/- 0.01, N = 3 13.55 1. (CC) gcc options: -lavdevice -lavfilter -lavformat -lavcodec -lswresample -lswscale -lavutil -ldl -lasound -lSDL -lm -pthread -lbz2
Minion Benchmark: Bibd OpenBenchmarking.org Seconds, Fewer Is Better Minion 0.12 Benchmark: Bibd GCC 4.8.0 2012-08-17 LLVM 3.2 SVN 2012-08-17 40 80 120 160 200 SE +/- 0.36, N = 3 SE +/- 0.24, N = 3 153.65 160.66 -mdynamic-no-pic -lz -lbz2 1. (CXX) g++ options: -O3 -fomit-frame-pointer -rdynamic -lboost_iostreams-mt
Minion Benchmark: Graceful OpenBenchmarking.org Seconds, Fewer Is Better Minion 0.12 Benchmark: Graceful LLVM 3.2 SVN 2012-08-17 GCC 4.8.0 2012-08-17 20 40 60 80 100 SE +/- 0.16, N = 3 SE +/- 0.12, N = 3 91.00 94.20 -mdynamic-no-pic -lz -lbz2 1. (CXX) g++ options: -O3 -fomit-frame-pointer -rdynamic -lboost_iostreams-mt
Minion Benchmark: Solitaire OpenBenchmarking.org Seconds, Fewer Is Better Minion 0.12 Benchmark: Solitaire GCC 4.8.0 2012-08-17 LLVM 3.2 SVN 2012-08-17 30 60 90 120 150 SE +/- 0.14, N = 3 SE +/- 0.64, N = 3 143.26 154.67 -mdynamic-no-pic -lz -lbz2 1. (CXX) g++ options: -O3 -fomit-frame-pointer -rdynamic -lboost_iostreams-mt
Minion Benchmark: Quasigroup OpenBenchmarking.org Seconds, Fewer Is Better Minion 0.12 Benchmark: Quasigroup GCC 4.8.0 2012-08-17 LLVM 3.2 SVN 2012-08-17 50 100 150 200 250 SE +/- 0.03, N = 3 SE +/- 0.17, N = 3 204.23 209.94 -mdynamic-no-pic -lz -lbz2 1. (CXX) g++ options: -O3 -fomit-frame-pointer -rdynamic -lboost_iostreams-mt
Phoronix Test Suite v10.8.5