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 i7ProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionLLVM Clang 3.0LLVM Clang 3.1LLVM Clang 3.2 SVNIntel Core i7 720Q @ 1.60GHz (8 Cores)LENOVO 4318CTOIntel Core DMI4096MB160GB INTEL SSDSA2M160NVIDIA Quadro FX 880M 1024MB (405/324MHz)Conexant CX20585Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300Ubuntu 12.103.5.0-17-generic (x86_64)Unity 6.8.0X Server 1.13.0nouveau 1.0.23.0 Mesa 9.0 Gallium 0.4Clang 3.0 + LLVM 3.0ext41600x900Clang 3.1 + LLVM 3.1Clang 3.2 (SVN 167354) + LLVM 3.2svnOpenBenchmarking.orgCompiler 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: corei7Processor Details- Scaling Governor: ondemandSystem Details- Compiz was running on this system.

LLVM Clang 3.2 SVN Intel Core i7c-ray: Total Timebuild-php: Time To Compilescimark2: Dense LU Matrix Factorizationsmallpt: Global Illumination Renderer; 100 Samplesscimark2: Fast Fourier Transformscimark2: Sparse Matrix Multiplyprimesieve: 1e12 Prime Number Generationmafft: Multiple Sequence Alignmentbotan: KASUMIhimeno: Poisson Pressure Solvernginx: Static Web Page Servingcompress-pbzip2: 256MB File Compressionminion: Quasigroupminion: Gracefulencode-mp3: WAV To MP3compress-7zip: Compress Speed Testvpxenc: vpxencscimark2: Monte Carlojohn-the-ripper: Blowfishgraphics-magick: Resizingminion: Solitaireencode-flac: WAV To FLAChmmer: Pfam Database Searchminion: Bibdbotan: AES-256openssl: RSA 4096-bit Performancescimark2: Jacobi Successive Over-Relaxationmrbayes: Primate Phylogeny Analysisx264: H.264 Video Encodingbotan: Tigerbotan: X9.19-MACtachyon: Total Timebotan: CAST-256crafty: Elapsed Timebotan: Twofishffmpeg: H.264 HD To NTSC DVpgbench: TPC-B Transactions Per Secondgraphics-magick: Local Adaptive Thresholdinggraphics-magick: HWB Color Spacegraphics-magick: SharpenLLVM Clang 3.0LLVM Clang 3.1LLVM Clang 3.2 SVN101.431473.32240187.231150.6215.591087.9517401.039033378.0833.121081.4494.0746.021458.23255169.611126.84608.5714.7945.761072.3116872.8623.31266.32114.1723.9691849.33370.9066066221.1010.9932.82223.62103.2759.901081.4440.0159.43281.5355.0336.0281.19108.75125.7930.082372.6432813577.5937.331214.92277181.511225.46645.6215.5347.651053.1917049.2222.65273.94111.0323.3992429.54375.4467267218.0010.8432.96221.78102.5060.331089.1539.7459.04283.3755.3436.2080.92109.04125.4930.012370.44328135OpenBenchmarking.org

C-Ray

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeLLVM Clang 3.0LLVM Clang 3.1LLVM Clang 3.2 SVN20406080100SE +/- 0.02, N = 3SE +/- 0.03, N = 3SE +/- 0.02, N = 3101.4394.0777.591. (CC) gcc options: -lm -lpthread -O3 -march=native

Timed PHP Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To CompileLLVM Clang 3.1LLVM Clang 3.2 SVN1020304050SE +/- 0.13, N = 3SE +/- 0.11, N = 346.0237.331. (CC) gcc options: -O3 -march=native -pedantic -ldl -lpthread -lz -lm

SciMark

Computational Test: Dense LU Matrix Factorization

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Dense LU Matrix FactorizationLLVM Clang 3.0LLVM Clang 3.1LLVM Clang 3.2 SVN30060090012001500SE +/- 3.32, N = 4SE +/- 4.40, N = 4SE +/- 3.57, N = 41473.321458.231214.92

Smallpt

Global Illumination Renderer; 100 Samples

OpenBenchmarking.orgSeconds, Fewer Is BetterSmallpt 1.0Global Illumination Renderer; 100 SamplesLLVM Clang 3.0LLVM Clang 3.1LLVM Clang 3.2 SVN60120180240300SE +/- 0.58, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 32402552771. (CXX) g++ options: -fopenmp -O3 -march=native

SciMark

Computational Test: Fast Fourier Transform

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Fast Fourier TransformLLVM Clang 3.0LLVM Clang 3.1LLVM Clang 3.2 SVN4080120160200SE +/- 0.24, N = 4SE +/- 0.58, N = 4SE +/- 1.48, N = 4187.23169.61181.51

SciMark

Computational Test: Sparse Matrix Multiply

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Sparse Matrix MultiplyLLVM Clang 3.0LLVM Clang 3.1LLVM Clang 3.2 SVN30060090012001500SE +/- 4.76, N = 4SE +/- 2.70, N = 4SE +/- 3.45, N = 41150.621126.841225.46

Primesieve

1e12 Prime Number Generation

OpenBenchmarking.orgSeconds, Fewer Is BetterPrimesieve 4.01e12 Prime Number GenerationLLVM Clang 3.1LLVM Clang 3.2 SVN140280420560700SE +/- 0.39, N = 3SE +/- 0.88, N = 3608.57645.621. (CXX) g++ options: -O2

Timed MAFFT Alignment

Multiple Sequence Alignment

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed MAFFT Alignment 6.864Multiple Sequence AlignmentLLVM Clang 3.0LLVM Clang 3.1LLVM Clang 3.2 SVN48121620SE +/- 0.26, N = 6SE +/- 0.02, N = 3SE +/- 0.29, N = 615.5914.7915.531. (CC) gcc options: -O3 -lm -lpthread

Botan

Test: KASUMI

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: KASUMILLVM Clang 3.1LLVM Clang 3.2 SVN112233445545.7647.651. (CXX) g++ options: -m64 -ldl -lpthread -lrt

Himeno Benchmark

Poisson Pressure Solver

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverLLVM Clang 3.0LLVM Clang 3.1LLVM Clang 3.2 SVN2004006008001000SE +/- 0.62, N = 3SE +/- 0.96, N = 3SE +/- 13.77, N = 31087.951072.311053.191. (CC) gcc options: -O3 -march=native

NGINX Benchmark

Static Web Page Serving

OpenBenchmarking.orgRequests Per Second, More Is BetterNGINX Benchmark 1.0.11Static Web Page ServingLLVM Clang 3.0LLVM Clang 3.1LLVM Clang 3.2 SVN4K8K12K16K20KSE +/- 156.32, N = 3SE +/- 98.41, N = 3SE +/- 199.41, N = 317401.0316872.8617049.221. (CC) gcc options: -lpthread -lcrypt -lcrypto -lz

Parallel BZIP2 Compression

256MB File Compression

OpenBenchmarking.orgSeconds, Fewer Is BetterParallel BZIP2 Compression 1.1.6256MB File CompressionLLVM Clang 3.1LLVM Clang 3.2 SVN612182430SE +/- 0.06, N = 3SE +/- 0.02, N = 323.3122.651. (CXX) g++ options: -O2 -pthread -lbz2 -lpthread

Minion

Benchmark: Quasigroup

OpenBenchmarking.orgSeconds, Fewer Is BetterMinion 0.12Benchmark: QuasigroupLLVM Clang 3.1LLVM Clang 3.2 SVN60120180240300SE +/- 0.32, N = 3SE +/- 0.19, N = 3266.32273.941. (CXX) g++ options: -O3 -fomit-frame-pointer -mdynamic-no-pic -rdynamic -lboost_iostreams-mt -lz -lbz2

Minion

Benchmark: Graceful

OpenBenchmarking.orgSeconds, Fewer Is BetterMinion 0.12Benchmark: GracefulLLVM Clang 3.1LLVM Clang 3.2 SVN306090120150SE +/- 0.09, N = 3SE +/- 0.24, N = 3114.17111.031. (CXX) g++ options: -O3 -fomit-frame-pointer -mdynamic-no-pic -rdynamic -lboost_iostreams-mt -lz -lbz2

LAME MP3 Encoding

WAV To MP3

OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.99.3WAV To MP3LLVM Clang 3.1LLVM Clang 3.2 SVN612182430SE +/- 0.01, N = 5SE +/- 0.03, N = 523.9623.39

7-Zip Compression

Compress Speed Test

OpenBenchmarking.orgMIPS, More Is Better7-Zip Compression 9.20.1Compress Speed TestLLVM Clang 3.0LLVM Clang 3.1LLVM Clang 3.2 SVN2K4K6K8K10KSE +/- 67.40, N = 3SE +/- 76.25, N = 3SE +/- 133.87, N = 39033918492421. (CXX) g++ options: -pipe -lpthread

VP8 libvpx Encoding

vpxenc

OpenBenchmarking.orgFrames Per Second, More Is BetterVP8 libvpx Encoding 1.1.0vpxencLLVM Clang 3.1LLVM Clang 3.2 SVN3691215SE +/- 0.05, N = 3SE +/- 0.06, N = 39.339.541. (CC) gcc options: -m64 -lvpx -lm -lpthread

SciMark

Computational Test: Monte Carlo

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Monte CarloLLVM Clang 3.0LLVM Clang 3.1LLVM Clang 3.2 SVN80160240320400SE +/- 0.00, N = 4SE +/- 0.83, N = 4SE +/- 0.92, N = 4378.08370.90375.44

John The Ripper

Test: Blowfish

OpenBenchmarking.orgReal C/S, More Is BetterJohn The Ripper 1.7.9-jumbo-7Test: BlowfishLLVM Clang 3.1LLVM Clang 3.2 SVN150300450600750SE +/- 2.73, N = 3SE +/- 0.00, N = 36606721. (CC) gcc options: -lssl -lcrypto -lm -lz -fopenmp -lcrypt -ldl

GraphicsMagick

Operation: Resizing

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: ResizingLLVM Clang 3.1LLVM Clang 3.2 SVN1530456075SE +/- 0.33, N = 3SE +/- 0.00, N = 366671. (CC) gcc options: -O3 -march=native -pthread -lbz2 -lz -lm -lpthread

Minion

Benchmark: Solitaire

OpenBenchmarking.orgSeconds, Fewer Is BetterMinion 0.12Benchmark: SolitaireLLVM Clang 3.1LLVM Clang 3.2 SVN50100150200250SE +/- 0.12, N = 3SE +/- 0.15, N = 3221.10218.001. (CXX) g++ options: -O3 -fomit-frame-pointer -mdynamic-no-pic -rdynamic -lboost_iostreams-mt -lz -lbz2

FLAC Audio Encoding

WAV To FLAC

OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.2.1WAV To FLACLLVM Clang 3.1LLVM Clang 3.2 SVN3691215SE +/- 0.03, N = 5SE +/- 0.05, N = 510.9910.841. (CXX) g++ options: -O3 -march=native -lm

Timed HMMer Search

Pfam Database Search

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed HMMer Search 2.3.2Pfam Database SearchLLVM Clang 3.0LLVM Clang 3.1LLVM Clang 3.2 SVN816243240SE +/- 0.06, N = 3SE +/- 0.18, N = 3SE +/- 0.03, N = 333.1232.8232.961. (CC) gcc options: -O3 -march=native -pthread -lhmmer -lsquid -lm

Minion

Benchmark: Bibd

OpenBenchmarking.orgSeconds, Fewer Is BetterMinion 0.12Benchmark: BibdLLVM Clang 3.1LLVM Clang 3.2 SVN50100150200250SE +/- 0.46, N = 3SE +/- 0.37, N = 3223.62221.781. (CXX) g++ options: -O3 -fomit-frame-pointer -mdynamic-no-pic -rdynamic -lboost_iostreams-mt -lz -lbz2

Botan

Test: AES-256

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: AES-256LLVM Clang 3.1LLVM Clang 3.2 SVN20406080100103.27102.501. (CXX) g++ options: -m64 -ldl -lpthread -lrt

OpenSSL

RSA 4096-bit Performance

OpenBenchmarking.orgSigns Per Second, More Is BetterOpenSSL 1.0.1cRSA 4096-bit PerformanceLLVM Clang 3.1LLVM Clang 3.2 SVN1428425670SE +/- 0.06, N = 3SE +/- 0.03, N = 359.9060.331. (CC) gcc options: -m64 -O3 -lssl -lcrypto -ldl

SciMark

Computational Test: Jacobi Successive Over-Relaxation

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Jacobi Successive Over-RelaxationLLVM Clang 3.0LLVM Clang 3.1LLVM Clang 3.2 SVN2004006008001000SE +/- 1.91, N = 4SE +/- 1.10, N = 4SE +/- 3.33, N = 41081.441081.441089.15

Timed MrBayes Analysis

Primate Phylogeny Analysis

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed MrBayes Analysis 3.1.2Primate Phylogeny AnalysisLLVM Clang 3.1LLVM Clang 3.2 SVN918273645SE +/- 0.02, N = 3SE +/- 0.07, N = 340.0139.74

x264

H.264 Video Encoding

OpenBenchmarking.orgFrames Per Second, More Is Betterx264 2012-10-03H.264 Video EncodingLLVM Clang 3.1LLVM Clang 3.2 SVN1326395265SE +/- 0.14, N = 3SE +/- 0.11, N = 359.4359.04

Botan

Test: Tiger

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: TigerLLVM Clang 3.1LLVM Clang 3.2 SVN60120180240300281.53283.371. (CXX) g++ options: -m64 -ldl -lpthread -lrt

Botan

Test: X9.19-MAC

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: X9.19-MACLLVM Clang 3.1LLVM Clang 3.2 SVN122436486055.0355.341. (CXX) g++ options: -m64 -ldl -lpthread -lrt

Tachyon

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterTachyon 0.98.9Total TimeLLVM Clang 3.1LLVM Clang 3.2 SVN816243240SE +/- 0.05, N = 3SE +/- 0.05, N = 336.0236.201. (CC) gcc options: -m32 -O3 -fomit-frame-pointer -ffast-math -ltachyon -lm -lpthread

Botan

Test: CAST-256

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: CAST-256LLVM Clang 3.1LLVM Clang 3.2 SVN2040608010081.1980.921. (CXX) g++ options: -m64 -ldl -lpthread -lrt

Crafty

Elapsed Time

OpenBenchmarking.orgSeconds, Fewer Is BetterCrafty 23.4Elapsed TimeLLVM Clang 3.1LLVM Clang 3.2 SVN20406080100SE +/- 0.06, N = 3SE +/- 0.09, N = 3108.75109.041. (CC) gcc options: -lstdc++ -lm

Botan

Test: Twofish

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: TwofishLLVM Clang 3.1LLVM Clang 3.2 SVN306090120150125.79125.491. (CXX) g++ options: -m64 -ldl -lpthread -lrt

FFmpeg

H.264 HD To NTSC DV

OpenBenchmarking.orgSeconds, Fewer Is BetterFFmpeg 1.0H.264 HD To NTSC DVLLVM Clang 3.1LLVM Clang 3.2 SVN714212835SE +/- 0.09, N = 3SE +/- 0.07, N = 330.0830.011. (CC) gcc options: -lavdevice -lavfilter -lavformat -lavcodec -lswresample -lswscale -lavutil -ldl -lm -pthread -lbz2 -lrt

PostgreSQL pgbench

TPC-B Transactions Per Second

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 8.4.11TPC-B Transactions Per SecondLLVM Clang 3.1LLVM Clang 3.2 SVN5001000150020002500SE +/- 23.60, N = 3SE +/- 7.36, N = 32372.642370.441. (CC) gcc options: -O3 -march=native -fno-strict-aliasing -fwrapv -lpgport -lpq -lcrypt -ldl -lm

GraphicsMagick

Operation: Local Adaptive Thresholding

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: Local Adaptive ThresholdingLLVM Clang 3.1LLVM Clang 3.2 SVN714212835SE +/- 0.00, N = 3SE +/- 0.00, N = 332321. (CC) gcc options: -O3 -march=native -pthread -lbz2 -lz -lm -lpthread

GraphicsMagick

Operation: HWB Color Space

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: HWB Color SpaceLLVM Clang 3.1LLVM Clang 3.2 SVN20406080100SE +/- 0.33, N = 3SE +/- 0.00, N = 381811. (CC) gcc options: -O3 -march=native -pthread -lbz2 -lz -lm -lpthread

GraphicsMagick

Operation: Sharpen

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: SharpenLLVM Clang 3.1LLVM Clang 3.2 SVN816243240SE +/- 0.00, N = 3SE +/- 0.00, N = 335351. (CC) gcc options: -O3 -march=native -pthread -lbz2 -lz -lm -lpthread


Phoronix Test Suite v10.8.5