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&sro&gru .
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 vpxenc: vpxenc x264: H.264 Video Encoding graphics-magick: Sharpen graphics-magick: Resizing graphics-magick: HWB Color Space graphics-magick: Local Adaptive Thresholding botan: Tiger botan: KASUMI botan: AES-256 botan: Twofish botan: CAST-256 botan: X9.19-MAC scimark2: Monte Carlo scimark2: Fast Fourier Transform scimark2: Sparse Matrix Multiply scimark2: Dense LU Matrix Factorization scimark2: Jacobi Successive Over-Relaxation himeno: Poisson Pressure Solver compress-7zip: Compress Speed Test john-the-ripper: Blowfish nginx: Static Web Page Serving openssl: RSA 4096-bit Performance pgbench: TPC-B Transactions Per Second hmmer: Pfam Database Search mafft: Multiple Sequence Alignment mrbayes: Primate Phylogeny Analysis build-php: Time To Compile c-ray: Total Time compress-pbzip2: 256MB File Compression primesieve: 1e12 Prime Number Generation smallpt: Global Illumination Renderer; 100 Samples crafty: Elapsed Time encode-flac: WAV To FLAC encode-mp3: WAV To MP3 ffmpeg: H.264 HD To NTSC DV minion: Bibd minion: Graceful minion: Solitaire minion: Quasigroup tachyon: Total Time LLVM Clang 3.0 LLVM Clang 3.1 LLVM Clang 3.2 SVN 378.08 187.23 1150.62 1473.32 1081.44 1087.95 9033 17401.03 33.12 15.59 101.43 240 9.33 59.43 35 66 81 32 281.53 45.76 103.27 125.79 81.19 55.03 370.90 169.61 1126.84 1458.23 1081.44 1072.31 9184 660 16872.86 59.90 2372.64 32.82 14.79 40.01 46.02 94.07 23.31 608.57 255 108.75 10.99 23.96 30.08 223.62 114.17 221.10 266.32 36.02 9.54 59.04 35 67 81 32 283.37 47.65 102.50 125.49 80.92 55.34 375.44 181.51 1225.46 1214.92 1089.15 1053.19 9242 672 17049.22 60.33 2370.44 32.96 15.53 39.74 37.33 77.59 22.65 645.62 277 109.04 10.84 23.39 30.01 221.78 111.03 218.00 273.94 36.20 OpenBenchmarking.org
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
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
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
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
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: 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
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: 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Phoronix Test Suite v10.8.5