LLVM Clang 3.2 SVN Intel Core i7 Benchmarking LLVM Clang 3.0, 3.1, 3.2 SVN compilers under Linux with Ubuntu 12.10 x86_64 from an Intel Core i7 Lenovo ThinkPad laptop. Benchmarking by Michael Larabel for a future article on Phoronix.com.
HTML result view exported from: https://openbenchmarking.org/result/1211053-PTS-LLVMCLAN68&grs .
LLVM Clang 3.2 SVN Intel Core i7 Processor Motherboard Chipset Memory Disk Graphics Audio Network OS Kernel Desktop Display Server Display Driver OpenGL Compiler File-System Screen Resolution LLVM Clang 3.0 LLVM Clang 3.1 LLVM Clang 3.2 SVN Intel Core i7 720Q @ 1.60GHz (8 Cores) LENOVO 4318CTO Intel Core DMI 4096MB 160GB INTEL SSDSA2M160 NVIDIA Quadro FX 880M 1024MB (405/324MHz) Conexant CX20585 Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300 Ubuntu 12.10 3.5.0-17-generic (x86_64) Unity 6.8.0 X Server 1.13.0 nouveau 1.0.2 3.0 Mesa 9.0 Gallium 0.4 Clang 3.0 + LLVM 3.0 ext4 1600x900 Clang 3.1 + LLVM 3.1 Clang 3.2 (SVN 167354) + LLVM 3.2svn OpenBenchmarking.org Compiler Details - LLVM Clang 3.0: Optimized build; Built Nov 4 2012 (18:32:37); Host: x86_64-unknown-linux-gnu; Host CPU: corei7 - LLVM Clang 3.1: Optimized build; Built Nov 3 2012 (12:55:56); Default target: x86_64-unknown-linux-gnu; Host CPU: corei7 - LLVM Clang 3.2 SVN: Optimized build; Built Nov 3 2012 (08:57:50); Default target: x86_64-unknown-linux-gnu; Host CPU: corei7 Processor Details - Scaling Governor: ondemand System Details - Compiz was running on this system.
LLVM Clang 3.2 SVN Intel Core i7 c-ray: Total Time build-php: Time To Compile scimark2: Dense LU Matrix Factorization smallpt: Global Illumination Renderer; 100 Samples scimark2: Fast Fourier Transform scimark2: Sparse Matrix Multiply primesieve: 1e12 Prime Number Generation mafft: Multiple Sequence Alignment botan: KASUMI himeno: Poisson Pressure Solver nginx: Static Web Page Serving compress-pbzip2: 256MB File Compression minion: Quasigroup minion: Graceful encode-mp3: WAV To MP3 compress-7zip: Compress Speed Test vpxenc: vpxenc scimark2: Monte Carlo john-the-ripper: Blowfish graphics-magick: Resizing minion: Solitaire encode-flac: WAV To FLAC hmmer: Pfam Database Search minion: Bibd botan: AES-256 openssl: RSA 4096-bit Performance scimark2: Jacobi Successive Over-Relaxation mrbayes: Primate Phylogeny Analysis x264: H.264 Video Encoding botan: Tiger botan: X9.19-MAC tachyon: Total Time botan: CAST-256 crafty: Elapsed Time botan: Twofish ffmpeg: H.264 HD To NTSC DV pgbench: TPC-B Transactions Per Second graphics-magick: Local Adaptive Thresholding graphics-magick: HWB Color Space graphics-magick: Sharpen LLVM Clang 3.0 LLVM Clang 3.1 LLVM Clang 3.2 SVN 101.43 1473.32 240 187.23 1150.62 15.59 1087.95 17401.03 9033 378.08 33.12 1081.44 94.07 46.02 1458.23 255 169.61 1126.84 608.57 14.79 45.76 1072.31 16872.86 23.31 266.32 114.17 23.96 9184 9.33 370.90 660 66 221.10 10.99 32.82 223.62 103.27 59.90 1081.44 40.01 59.43 281.53 55.03 36.02 81.19 108.75 125.79 30.08 2372.64 32 81 35 77.59 37.33 1214.92 277 181.51 1225.46 645.62 15.53 47.65 1053.19 17049.22 22.65 273.94 111.03 23.39 9242 9.54 375.44 672 67 218.00 10.84 32.96 221.78 102.50 60.33 1089.15 39.74 59.04 283.37 55.34 36.20 80.92 109.04 125.49 30.01 2370.44 32 81 35 OpenBenchmarking.org
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time LLVM Clang 3.0 LLVM Clang 3.1 LLVM Clang 3.2 SVN 20 40 60 80 100 SE +/- 0.02, N = 3 SE +/- 0.03, N = 3 SE +/- 0.02, N = 3 101.43 94.07 77.59 1. (CC) gcc options: -lm -lpthread -O3 -march=native
Timed PHP Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 5.2.9 Time To Compile LLVM Clang 3.1 LLVM Clang 3.2 SVN 10 20 30 40 50 SE +/- 0.13, N = 3 SE +/- 0.11, N = 3 46.02 37.33 1. (CC) gcc options: -O3 -march=native -pedantic -ldl -lpthread -lz -lm
SciMark Computational Test: Dense LU Matrix Factorization OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Dense LU Matrix Factorization LLVM Clang 3.0 LLVM Clang 3.1 LLVM Clang 3.2 SVN 300 600 900 1200 1500 SE +/- 3.32, N = 4 SE +/- 4.40, N = 4 SE +/- 3.57, N = 4 1473.32 1458.23 1214.92
Smallpt Global Illumination Renderer; 100 Samples OpenBenchmarking.org Seconds, Fewer Is Better Smallpt 1.0 Global Illumination Renderer; 100 Samples LLVM Clang 3.0 LLVM Clang 3.1 LLVM Clang 3.2 SVN 60 120 180 240 300 SE +/- 0.58, N = 3 SE +/- 0.33, N = 3 SE +/- 0.33, N = 3 240 255 277 1. (CXX) g++ options: -fopenmp -O3 -march=native
SciMark Computational Test: Fast Fourier Transform OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Fast Fourier Transform LLVM Clang 3.0 LLVM Clang 3.1 LLVM Clang 3.2 SVN 40 80 120 160 200 SE +/- 0.24, N = 4 SE +/- 0.58, N = 4 SE +/- 1.48, N = 4 187.23 169.61 181.51
SciMark Computational Test: Sparse Matrix Multiply OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Sparse Matrix Multiply LLVM Clang 3.0 LLVM Clang 3.1 LLVM Clang 3.2 SVN 300 600 900 1200 1500 SE +/- 4.76, N = 4 SE +/- 2.70, N = 4 SE +/- 3.45, N = 4 1150.62 1126.84 1225.46
Primesieve 1e12 Prime Number Generation OpenBenchmarking.org Seconds, Fewer Is Better Primesieve 4.0 1e12 Prime Number Generation LLVM Clang 3.1 LLVM Clang 3.2 SVN 140 280 420 560 700 SE +/- 0.39, N = 3 SE +/- 0.88, N = 3 608.57 645.62 1. (CXX) g++ options: -O2
Timed MAFFT Alignment Multiple Sequence Alignment OpenBenchmarking.org Seconds, Fewer Is Better Timed MAFFT Alignment 6.864 Multiple Sequence Alignment LLVM Clang 3.0 LLVM Clang 3.1 LLVM Clang 3.2 SVN 4 8 12 16 20 SE +/- 0.26, N = 6 SE +/- 0.02, N = 3 SE +/- 0.29, N = 6 15.59 14.79 15.53 1. (CC) gcc options: -O3 -lm -lpthread
Botan Test: KASUMI OpenBenchmarking.org Mbytes/s, More Is Better Botan 1.10.3 Test: KASUMI LLVM Clang 3.1 LLVM Clang 3.2 SVN 11 22 33 44 55 45.76 47.65 1. (CXX) g++ options: -m64 -ldl -lpthread -lrt
Himeno Benchmark Poisson Pressure Solver OpenBenchmarking.org MFLOPS, More Is Better Himeno Benchmark 3.0 Poisson Pressure Solver LLVM Clang 3.0 LLVM Clang 3.1 LLVM Clang 3.2 SVN 200 400 600 800 1000 SE +/- 0.62, N = 3 SE +/- 0.96, N = 3 SE +/- 13.77, N = 3 1087.95 1072.31 1053.19 1. (CC) gcc options: -O3 -march=native
NGINX Benchmark Static Web Page Serving OpenBenchmarking.org Requests Per Second, More Is Better NGINX Benchmark 1.0.11 Static Web Page Serving LLVM Clang 3.0 LLVM Clang 3.1 LLVM Clang 3.2 SVN 4K 8K 12K 16K 20K SE +/- 156.32, N = 3 SE +/- 98.41, N = 3 SE +/- 199.41, N = 3 17401.03 16872.86 17049.22 1. (CC) gcc options: -lpthread -lcrypt -lcrypto -lz
Parallel BZIP2 Compression 256MB File Compression OpenBenchmarking.org Seconds, Fewer Is Better Parallel BZIP2 Compression 1.1.6 256MB File Compression LLVM Clang 3.1 LLVM Clang 3.2 SVN 6 12 18 24 30 SE +/- 0.06, N = 3 SE +/- 0.02, N = 3 23.31 22.65 1. (CXX) g++ options: -O2 -pthread -lbz2 -lpthread
Minion Benchmark: Quasigroup OpenBenchmarking.org Seconds, Fewer Is Better Minion 0.12 Benchmark: Quasigroup LLVM Clang 3.1 LLVM Clang 3.2 SVN 60 120 180 240 300 SE +/- 0.32, N = 3 SE +/- 0.19, N = 3 266.32 273.94 1. (CXX) g++ options: -O3 -fomit-frame-pointer -mdynamic-no-pic -rdynamic -lboost_iostreams-mt -lz -lbz2
Minion Benchmark: Graceful OpenBenchmarking.org Seconds, Fewer Is Better Minion 0.12 Benchmark: Graceful LLVM Clang 3.1 LLVM Clang 3.2 SVN 30 60 90 120 150 SE +/- 0.09, N = 3 SE +/- 0.24, N = 3 114.17 111.03 1. (CXX) g++ options: -O3 -fomit-frame-pointer -mdynamic-no-pic -rdynamic -lboost_iostreams-mt -lz -lbz2
LAME MP3 Encoding WAV To MP3 OpenBenchmarking.org Seconds, Fewer Is Better LAME MP3 Encoding 3.99.3 WAV To MP3 LLVM Clang 3.1 LLVM Clang 3.2 SVN 6 12 18 24 30 SE +/- 0.01, N = 5 SE +/- 0.03, N = 5 23.96 23.39
7-Zip Compression Compress Speed Test OpenBenchmarking.org MIPS, More Is Better 7-Zip Compression 9.20.1 Compress Speed Test LLVM Clang 3.0 LLVM Clang 3.1 LLVM Clang 3.2 SVN 2K 4K 6K 8K 10K SE +/- 67.40, N = 3 SE +/- 76.25, N = 3 SE +/- 133.87, N = 3 9033 9184 9242 1. (CXX) g++ options: -pipe -lpthread
VP8 libvpx Encoding vpxenc OpenBenchmarking.org Frames Per Second, More Is Better VP8 libvpx Encoding 1.1.0 vpxenc LLVM Clang 3.1 LLVM Clang 3.2 SVN 3 6 9 12 15 SE +/- 0.05, N = 3 SE +/- 0.06, N = 3 9.33 9.54 1. (CC) gcc options: -m64 -lvpx -lm -lpthread
SciMark Computational Test: Monte Carlo OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Monte Carlo LLVM Clang 3.0 LLVM Clang 3.1 LLVM Clang 3.2 SVN 80 160 240 320 400 SE +/- 0.00, N = 4 SE +/- 0.83, N = 4 SE +/- 0.92, N = 4 378.08 370.90 375.44
John The Ripper Test: Blowfish OpenBenchmarking.org Real C/S, More Is Better John The Ripper 1.7.9-jumbo-7 Test: Blowfish LLVM Clang 3.1 LLVM Clang 3.2 SVN 150 300 450 600 750 SE +/- 2.73, N = 3 SE +/- 0.00, N = 3 660 672 1. (CC) gcc options: -lssl -lcrypto -lm -lz -fopenmp -lcrypt -ldl
GraphicsMagick Operation: Resizing OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Resizing LLVM Clang 3.1 LLVM Clang 3.2 SVN 15 30 45 60 75 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 66 67 1. (CC) gcc options: -O3 -march=native -pthread -lbz2 -lz -lm -lpthread
Minion Benchmark: Solitaire OpenBenchmarking.org Seconds, Fewer Is Better Minion 0.12 Benchmark: Solitaire LLVM Clang 3.1 LLVM Clang 3.2 SVN 50 100 150 200 250 SE +/- 0.12, N = 3 SE +/- 0.15, N = 3 221.10 218.00 1. (CXX) g++ options: -O3 -fomit-frame-pointer -mdynamic-no-pic -rdynamic -lboost_iostreams-mt -lz -lbz2
FLAC Audio Encoding WAV To FLAC OpenBenchmarking.org Seconds, Fewer Is Better FLAC Audio Encoding 1.2.1 WAV To FLAC LLVM Clang 3.1 LLVM Clang 3.2 SVN 3 6 9 12 15 SE +/- 0.03, N = 5 SE +/- 0.05, N = 5 10.99 10.84 1. (CXX) g++ options: -O3 -march=native -lm
Timed HMMer Search Pfam Database Search OpenBenchmarking.org Seconds, Fewer Is Better Timed HMMer Search 2.3.2 Pfam Database Search LLVM Clang 3.0 LLVM Clang 3.1 LLVM Clang 3.2 SVN 8 16 24 32 40 SE +/- 0.06, N = 3 SE +/- 0.18, N = 3 SE +/- 0.03, N = 3 33.12 32.82 32.96 1. (CC) gcc options: -O3 -march=native -pthread -lhmmer -lsquid -lm
Minion Benchmark: Bibd OpenBenchmarking.org Seconds, Fewer Is Better Minion 0.12 Benchmark: Bibd LLVM Clang 3.1 LLVM Clang 3.2 SVN 50 100 150 200 250 SE +/- 0.46, N = 3 SE +/- 0.37, N = 3 223.62 221.78 1. (CXX) g++ options: -O3 -fomit-frame-pointer -mdynamic-no-pic -rdynamic -lboost_iostreams-mt -lz -lbz2
Botan Test: AES-256 OpenBenchmarking.org Mbytes/s, More Is Better Botan 1.10.3 Test: AES-256 LLVM Clang 3.1 LLVM Clang 3.2 SVN 20 40 60 80 100 103.27 102.50 1. (CXX) g++ options: -m64 -ldl -lpthread -lrt
OpenSSL RSA 4096-bit Performance OpenBenchmarking.org Signs Per Second, More Is Better OpenSSL 1.0.1c RSA 4096-bit Performance LLVM Clang 3.1 LLVM Clang 3.2 SVN 14 28 42 56 70 SE +/- 0.06, N = 3 SE +/- 0.03, N = 3 59.90 60.33 1. (CC) gcc options: -m64 -O3 -lssl -lcrypto -ldl
SciMark Computational Test: Jacobi Successive Over-Relaxation OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Jacobi Successive Over-Relaxation LLVM Clang 3.0 LLVM Clang 3.1 LLVM Clang 3.2 SVN 200 400 600 800 1000 SE +/- 1.91, N = 4 SE +/- 1.10, N = 4 SE +/- 3.33, N = 4 1081.44 1081.44 1089.15
Timed MrBayes Analysis Primate Phylogeny Analysis OpenBenchmarking.org Seconds, Fewer Is Better Timed MrBayes Analysis 3.1.2 Primate Phylogeny Analysis LLVM Clang 3.1 LLVM Clang 3.2 SVN 9 18 27 36 45 SE +/- 0.02, N = 3 SE +/- 0.07, N = 3 40.01 39.74
x264 H.264 Video Encoding OpenBenchmarking.org Frames Per Second, More Is Better x264 2012-10-03 H.264 Video Encoding LLVM Clang 3.1 LLVM Clang 3.2 SVN 13 26 39 52 65 SE +/- 0.14, N = 3 SE +/- 0.11, N = 3 59.43 59.04
Botan Test: Tiger OpenBenchmarking.org Mbytes/s, More Is Better Botan 1.10.3 Test: Tiger LLVM Clang 3.1 LLVM Clang 3.2 SVN 60 120 180 240 300 281.53 283.37 1. (CXX) g++ options: -m64 -ldl -lpthread -lrt
Botan Test: X9.19-MAC OpenBenchmarking.org Mbytes/s, More Is Better Botan 1.10.3 Test: X9.19-MAC LLVM Clang 3.1 LLVM Clang 3.2 SVN 12 24 36 48 60 55.03 55.34 1. (CXX) g++ options: -m64 -ldl -lpthread -lrt
Tachyon Total Time OpenBenchmarking.org Seconds, Fewer Is Better Tachyon 0.98.9 Total Time LLVM Clang 3.1 LLVM Clang 3.2 SVN 8 16 24 32 40 SE +/- 0.05, N = 3 SE +/- 0.05, N = 3 36.02 36.20 1. (CC) gcc options: -m32 -O3 -fomit-frame-pointer -ffast-math -ltachyon -lm -lpthread
Botan Test: CAST-256 OpenBenchmarking.org Mbytes/s, More Is Better Botan 1.10.3 Test: CAST-256 LLVM Clang 3.1 LLVM Clang 3.2 SVN 20 40 60 80 100 81.19 80.92 1. (CXX) g++ options: -m64 -ldl -lpthread -lrt
Crafty Elapsed Time OpenBenchmarking.org Seconds, Fewer Is Better Crafty 23.4 Elapsed Time LLVM Clang 3.1 LLVM Clang 3.2 SVN 20 40 60 80 100 SE +/- 0.06, N = 3 SE +/- 0.09, N = 3 108.75 109.04 1. (CC) gcc options: -lstdc++ -lm
Botan Test: Twofish OpenBenchmarking.org Mbytes/s, More Is Better Botan 1.10.3 Test: Twofish LLVM Clang 3.1 LLVM Clang 3.2 SVN 30 60 90 120 150 125.79 125.49 1. (CXX) g++ options: -m64 -ldl -lpthread -lrt
FFmpeg H.264 HD To NTSC DV OpenBenchmarking.org Seconds, Fewer Is Better FFmpeg 1.0 H.264 HD To NTSC DV LLVM Clang 3.1 LLVM Clang 3.2 SVN 7 14 21 28 35 SE +/- 0.09, N = 3 SE +/- 0.07, N = 3 30.08 30.01 1. (CC) gcc options: -lavdevice -lavfilter -lavformat -lavcodec -lswresample -lswscale -lavutil -ldl -lm -pthread -lbz2 -lrt
PostgreSQL pgbench TPC-B Transactions Per Second OpenBenchmarking.org TPS, More Is Better PostgreSQL pgbench 8.4.11 TPC-B Transactions Per Second LLVM Clang 3.1 LLVM Clang 3.2 SVN 500 1000 1500 2000 2500 SE +/- 23.60, N = 3 SE +/- 7.36, N = 3 2372.64 2370.44 1. (CC) gcc options: -O3 -march=native -fno-strict-aliasing -fwrapv -lpgport -lpq -lcrypt -ldl -lm
GraphicsMagick Operation: Local Adaptive Thresholding OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Local Adaptive Thresholding LLVM Clang 3.1 LLVM Clang 3.2 SVN 7 14 21 28 35 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 32 32 1. (CC) gcc options: -O3 -march=native -pthread -lbz2 -lz -lm -lpthread
GraphicsMagick Operation: HWB Color Space OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: HWB Color Space LLVM Clang 3.1 LLVM Clang 3.2 SVN 20 40 60 80 100 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 81 81 1. (CC) gcc options: -O3 -march=native -pthread -lbz2 -lz -lm -lpthread
GraphicsMagick Operation: Sharpen OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Sharpen LLVM Clang 3.1 LLVM Clang 3.2 SVN 8 16 24 32 40 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 35 35 1. (CC) gcc options: -O3 -march=native -pthread -lbz2 -lz -lm -lpthread
Phoronix Test Suite v10.8.5