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&rdt&grt .
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.2 SVN LLVM Clang 3.1 LLVM Clang 3.0 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.2 (SVN 167354) + LLVM 3.2svn ext4 1600x900 Clang 3.1 + LLVM 3.1 Clang 3.0 + LLVM 3.0 OpenBenchmarking.org Compiler Details - LLVM Clang 3.2 SVN: Optimized build; Built Nov 3 2012 (08:57:50); Default target: 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.0: Optimized build; Built Nov 4 2012 (18:32:37); Host: 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 compress-7zip: Compress Speed Test botan: Tiger botan: KASUMI botan: AES-256 botan: Twofish botan: CAST-256 botan: X9.19-MAC c-ray: Total Time crafty: Elapsed Time ffmpeg: H.264 HD To NTSC DV encode-flac: WAV To FLAC graphics-magick: Sharpen graphics-magick: Resizing graphics-magick: HWB Color Space graphics-magick: Local Adaptive Thresholding himeno: Poisson Pressure Solver john-the-ripper: Blowfish encode-mp3: WAV To MP3 minion: Bibd minion: Graceful minion: Solitaire minion: Quasigroup nginx: Static Web Page Serving openssl: RSA 4096-bit Performance compress-pbzip2: 256MB File Compression pgbench: TPC-B Transactions Per Second primesieve: 1e12 Prime Number Generation scimark2: Monte Carlo scimark2: Fast Fourier Transform scimark2: Sparse Matrix Multiply scimark2: Dense LU Matrix Factorization scimark2: Jacobi Successive Over-Relaxation smallpt: Global Illumination Renderer; 100 Samples tachyon: Total Time hmmer: Pfam Database Search mafft: Multiple Sequence Alignment mrbayes: Primate Phylogeny Analysis build-php: Time To Compile vpxenc: vpxenc x264: H.264 Video Encoding LLVM Clang 3.2 SVN LLVM Clang 3.1 LLVM Clang 3.0 9242 283.37 47.65 102.50 125.49 80.92 55.34 77.59 109.04 30.01 10.84 35 67 81 32 1053.19 672 23.39 221.78 111.03 218.00 273.94 17049.22 60.33 22.65 2370.44 645.62 375.44 181.51 1225.46 1214.92 1089.15 277 36.20 32.96 15.53 39.74 37.33 9.54 59.04 9184 281.53 45.76 103.27 125.79 81.19 55.03 94.07 108.75 30.08 10.99 35 66 81 32 1072.31 660 23.96 223.62 114.17 221.10 266.32 16872.86 59.90 23.31 2372.64 608.57 370.90 169.61 1126.84 1458.23 1081.44 255 36.02 32.82 14.79 40.01 46.02 9.33 59.43 9033 101.43 1087.95 17401.03 378.08 187.23 1150.62 1473.32 1081.44 240 33.12 15.59 OpenBenchmarking.org
7-Zip Compression Compress Speed Test OpenBenchmarking.org MIPS, More Is Better 7-Zip Compression 9.20.1 Compress Speed Test LLVM Clang 3.2 SVN LLVM Clang 3.1 LLVM Clang 3.0 2K 4K 6K 8K 10K SE +/- 133.87, N = 3 SE +/- 76.25, N = 3 SE +/- 67.40, N = 3 9242 9184 9033 1. (CXX) g++ options: -pipe -lpthread
Botan Test: Tiger OpenBenchmarking.org Mbytes/s, More Is Better Botan 1.10.3 Test: Tiger LLVM Clang 3.2 SVN LLVM Clang 3.1 60 120 180 240 300 283.37 281.53 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.2 SVN LLVM Clang 3.1 11 22 33 44 55 47.65 45.76 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.2 SVN LLVM Clang 3.1 20 40 60 80 100 102.50 103.27 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.2 SVN LLVM Clang 3.1 30 60 90 120 150 125.49 125.79 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.2 SVN LLVM Clang 3.1 20 40 60 80 100 80.92 81.19 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.2 SVN LLVM Clang 3.1 12 24 36 48 60 55.34 55.03 1. (CXX) g++ options: -m64 -ldl -lpthread -lrt
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time LLVM Clang 3.2 SVN LLVM Clang 3.1 LLVM Clang 3.0 20 40 60 80 100 SE +/- 0.02, N = 3 SE +/- 0.03, N = 3 SE +/- 0.02, N = 3 77.59 94.07 101.43 1. (CC) gcc options: -lm -lpthread -O3 -march=native
Crafty Elapsed Time OpenBenchmarking.org Seconds, Fewer Is Better Crafty 23.4 Elapsed Time LLVM Clang 3.2 SVN LLVM Clang 3.1 20 40 60 80 100 SE +/- 0.09, N = 3 SE +/- 0.06, N = 3 109.04 108.75 1. (CC) gcc options: -lstdc++ -lm
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.2 SVN LLVM Clang 3.1 7 14 21 28 35 SE +/- 0.07, N = 3 SE +/- 0.09, N = 3 30.01 30.08 1. (CC) gcc options: -lavdevice -lavfilter -lavformat -lavcodec -lswresample -lswscale -lavutil -ldl -lm -pthread -lbz2 -lrt
FLAC Audio Encoding WAV To FLAC OpenBenchmarking.org Seconds, Fewer Is Better FLAC Audio Encoding 1.2.1 WAV To FLAC LLVM Clang 3.2 SVN LLVM Clang 3.1 3 6 9 12 15 SE +/- 0.05, N = 5 SE +/- 0.03, N = 5 10.84 10.99 1. (CXX) g++ options: -O3 -march=native -lm
GraphicsMagick Operation: Sharpen OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Sharpen LLVM Clang 3.2 SVN LLVM Clang 3.1 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.2 SVN LLVM Clang 3.1 15 30 45 60 75 SE +/- 0.00, N = 3 SE +/- 0.33, N = 3 67 66 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.2 SVN LLVM Clang 3.1 20 40 60 80 100 SE +/- 0.00, N = 3 SE +/- 0.33, 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.2 SVN LLVM Clang 3.1 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
Himeno Benchmark Poisson Pressure Solver OpenBenchmarking.org MFLOPS, More Is Better Himeno Benchmark 3.0 Poisson Pressure Solver LLVM Clang 3.2 SVN LLVM Clang 3.1 LLVM Clang 3.0 200 400 600 800 1000 SE +/- 13.77, N = 3 SE +/- 0.96, N = 3 SE +/- 0.62, N = 3 1053.19 1072.31 1087.95 1. (CC) gcc options: -O3 -march=native
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.2 SVN LLVM Clang 3.1 150 300 450 600 750 SE +/- 0.00, N = 3 SE +/- 2.73, N = 3 672 660 1. (CC) gcc options: -lssl -lcrypto -lm -lz -fopenmp -lcrypt -ldl
LAME MP3 Encoding WAV To MP3 OpenBenchmarking.org Seconds, Fewer Is Better LAME MP3 Encoding 3.99.3 WAV To MP3 LLVM Clang 3.2 SVN LLVM Clang 3.1 6 12 18 24 30 SE +/- 0.03, N = 5 SE +/- 0.01, N = 5 23.39 23.96
Minion Benchmark: Bibd OpenBenchmarking.org Seconds, Fewer Is Better Minion 0.12 Benchmark: Bibd LLVM Clang 3.2 SVN LLVM Clang 3.1 50 100 150 200 250 SE +/- 0.37, N = 3 SE +/- 0.46, N = 3 221.78 223.62 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.2 SVN LLVM Clang 3.1 30 60 90 120 150 SE +/- 0.24, N = 3 SE +/- 0.09, N = 3 111.03 114.17 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.2 SVN LLVM Clang 3.1 50 100 150 200 250 SE +/- 0.15, N = 3 SE +/- 0.12, N = 3 218.00 221.10 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.2 SVN LLVM Clang 3.1 60 120 180 240 300 SE +/- 0.19, N = 3 SE +/- 0.32, N = 3 273.94 266.32 1. (CXX) g++ options: -O3 -fomit-frame-pointer -mdynamic-no-pic -rdynamic -lboost_iostreams-mt -lz -lbz2
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.2 SVN LLVM Clang 3.1 LLVM Clang 3.0 4K 8K 12K 16K 20K SE +/- 199.41, N = 3 SE +/- 98.41, N = 3 SE +/- 156.32, N = 3 17049.22 16872.86 17401.03 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.2 SVN LLVM Clang 3.1 14 28 42 56 70 SE +/- 0.03, N = 3 SE +/- 0.06, N = 3 60.33 59.90 1. (CC) gcc options: -m64 -O3 -lssl -lcrypto -ldl
Parallel BZIP2 Compression 256MB File Compression OpenBenchmarking.org Seconds, Fewer Is Better Parallel BZIP2 Compression 1.1.6 256MB File Compression LLVM Clang 3.2 SVN LLVM Clang 3.1 6 12 18 24 30 SE +/- 0.02, N = 3 SE +/- 0.06, N = 3 22.65 23.31 1. (CXX) g++ options: -O2 -pthread -lbz2 -lpthread
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.2 SVN LLVM Clang 3.1 500 1000 1500 2000 2500 SE +/- 7.36, N = 3 SE +/- 23.60, N = 3 2370.44 2372.64 1. (CC) gcc options: -O3 -march=native -fno-strict-aliasing -fwrapv -lpgport -lpq -lcrypt -ldl -lm
Primesieve 1e12 Prime Number Generation OpenBenchmarking.org Seconds, Fewer Is Better Primesieve 4.0 1e12 Prime Number Generation LLVM Clang 3.2 SVN LLVM Clang 3.1 140 280 420 560 700 SE +/- 0.88, N = 3 SE +/- 0.39, N = 3 645.62 608.57 1. (CXX) g++ options: -O2
SciMark Computational Test: Monte Carlo OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Monte Carlo LLVM Clang 3.2 SVN LLVM Clang 3.1 LLVM Clang 3.0 80 160 240 320 400 SE +/- 0.92, N = 4 SE +/- 0.83, N = 4 SE +/- 0.00, N = 4 375.44 370.90 378.08
SciMark Computational Test: Fast Fourier Transform OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Fast Fourier Transform LLVM Clang 3.2 SVN LLVM Clang 3.1 LLVM Clang 3.0 40 80 120 160 200 SE +/- 1.48, N = 4 SE +/- 0.58, N = 4 SE +/- 0.24, N = 4 181.51 169.61 187.23
SciMark Computational Test: Sparse Matrix Multiply OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Sparse Matrix Multiply LLVM Clang 3.2 SVN LLVM Clang 3.1 LLVM Clang 3.0 300 600 900 1200 1500 SE +/- 3.45, N = 4 SE +/- 2.70, N = 4 SE +/- 4.76, N = 4 1225.46 1126.84 1150.62
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.2 SVN LLVM Clang 3.1 LLVM Clang 3.0 300 600 900 1200 1500 SE +/- 3.57, N = 4 SE +/- 4.40, N = 4 SE +/- 3.32, N = 4 1214.92 1458.23 1473.32
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.2 SVN LLVM Clang 3.1 LLVM Clang 3.0 200 400 600 800 1000 SE +/- 3.33, N = 4 SE +/- 1.10, N = 4 SE +/- 1.91, N = 4 1089.15 1081.44 1081.44
Smallpt Global Illumination Renderer; 100 Samples OpenBenchmarking.org Seconds, Fewer Is Better Smallpt 1.0 Global Illumination Renderer; 100 Samples LLVM Clang 3.2 SVN LLVM Clang 3.1 LLVM Clang 3.0 60 120 180 240 300 SE +/- 0.33, N = 3 SE +/- 0.33, N = 3 SE +/- 0.58, N = 3 277 255 240 1. (CXX) g++ options: -fopenmp -O3 -march=native
Tachyon Total Time OpenBenchmarking.org Seconds, Fewer Is Better Tachyon 0.98.9 Total Time LLVM Clang 3.2 SVN LLVM Clang 3.1 8 16 24 32 40 SE +/- 0.05, N = 3 SE +/- 0.05, N = 3 36.20 36.02 1. (CC) gcc options: -m32 -O3 -fomit-frame-pointer -ffast-math -ltachyon -lm -lpthread
Timed HMMer Search Pfam Database Search OpenBenchmarking.org Seconds, Fewer Is Better Timed HMMer Search 2.3.2 Pfam Database Search LLVM Clang 3.2 SVN LLVM Clang 3.1 LLVM Clang 3.0 8 16 24 32 40 SE +/- 0.03, N = 3 SE +/- 0.18, N = 3 SE +/- 0.06, N = 3 32.96 32.82 33.12 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.2 SVN LLVM Clang 3.1 LLVM Clang 3.0 4 8 12 16 20 SE +/- 0.29, N = 6 SE +/- 0.02, N = 3 SE +/- 0.26, N = 6 15.53 14.79 15.59 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.2 SVN LLVM Clang 3.1 9 18 27 36 45 SE +/- 0.07, N = 3 SE +/- 0.02, N = 3 39.74 40.01
Timed PHP Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 5.2.9 Time To Compile LLVM Clang 3.2 SVN LLVM Clang 3.1 10 20 30 40 50 SE +/- 0.11, N = 3 SE +/- 0.13, N = 3 37.33 46.02 1. (CC) gcc options: -O3 -march=native -pedantic -ldl -lpthread -lz -lm
VP8 libvpx Encoding vpxenc OpenBenchmarking.org Frames Per Second, More Is Better VP8 libvpx Encoding 1.1.0 vpxenc LLVM Clang 3.2 SVN LLVM Clang 3.1 3 6 9 12 15 SE +/- 0.06, N = 3 SE +/- 0.05, N = 3 9.54 9.33 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.2 SVN LLVM Clang 3.1 13 26 39 52 65 SE +/- 0.11, N = 3 SE +/- 0.14, N = 3 59.04 59.43
Phoronix Test Suite v10.8.5