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&grw&rdt.

LLVM Clang 3.2 SVN Intel Core i7ProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionLLVM Clang 3.2 SVNLLVM Clang 3.1LLVM Clang 3.0Intel 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.2 (SVN 167354) + LLVM 3.2svnext41600x900Clang 3.1 + LLVM 3.1Clang 3.0 + LLVM 3.0OpenBenchmarking.orgCompiler 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: corei7Processor Details- Scaling Governor: ondemandSystem Details- Compiz was running on this system.

LLVM Clang 3.2 SVN Intel Core i7scimark2: Monte Carloscimark2: Fast Fourier Transformscimark2: Sparse Matrix Multiplyscimark2: Dense LU Matrix Factorizationscimark2: Jacobi Successive Over-Relaxationcrafty: Elapsed Timeminion: Bibdminion: Gracefulminion: Solitaireminion: Quasigroupbotan: Tigerbotan: KASUMIbotan: AES-256botan: Twofishbotan: CAST-256botan: X9.19-MACencode-flac: WAV To FLACencode-mp3: WAV To MP3hmmer: Pfam Database Searchmafft: Multiple Sequence Alignmentmrbayes: Primate Phylogeny Analysishimeno: Poisson Pressure Solverprimesieve: 1e12 Prime Number Generationcompress-7zip: Compress Speed Testjohn-the-ripper: Blowfishbuild-php: Time To Compilecompress-pbzip2: 256MB File Compressionvpxenc: vpxencgraphics-magick: Sharpengraphics-magick: Resizinggraphics-magick: HWB Color Spacegraphics-magick: Local Adaptive Thresholdingtachyon: Total Timex264: H.264 Video Encodingc-ray: Total Timeffmpeg: H.264 HD To NTSC DVsmallpt: Global Illumination Renderer; 100 Samplesnginx: Static Web Page Servingopenssl: RSA 4096-bit Performancepgbench: TPC-B Transactions Per SecondLLVM Clang 3.2 SVNLLVM Clang 3.1LLVM Clang 3.0375.44181.511225.461214.921089.15109.04221.78111.03218.00273.94283.3747.65102.50125.4980.9255.3410.8423.3932.9615.5339.741053.19645.62924267237.3322.659.543567813236.2059.0477.5930.0127717049.2260.332370.44370.90169.611126.841458.231081.44108.75223.62114.17221.10266.32281.5345.76103.27125.7981.1955.0310.9923.9632.8214.7940.011072.31608.57918466046.0223.319.333566813236.0259.4394.0730.0825516872.8659.902372.64378.08187.231150.621473.321081.4433.1215.591087.959033101.4324017401.03OpenBenchmarking.org

SciMark

Computational Test: Monte Carlo

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

SciMark

Computational Test: Fast Fourier Transform

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

SciMark

Computational Test: Sparse Matrix Multiply

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

SciMark

Computational Test: Dense LU Matrix Factorization

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

SciMark

Computational Test: Jacobi Successive Over-Relaxation

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

Crafty

Elapsed Time

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

Minion

Benchmark: Bibd

OpenBenchmarking.orgSeconds, Fewer Is BetterMinion 0.12Benchmark: BibdLLVM Clang 3.2 SVNLLVM Clang 3.150100150200250SE +/- 0.37, N = 3SE +/- 0.46, N = 3221.78223.621. (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.2 SVNLLVM Clang 3.1306090120150SE +/- 0.24, N = 3SE +/- 0.09, N = 3111.03114.171. (CXX) g++ options: -O3 -fomit-frame-pointer -mdynamic-no-pic -rdynamic -lboost_iostreams-mt -lz -lbz2

Minion

Benchmark: Solitaire

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

Minion

Benchmark: Quasigroup

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

Botan

Test: Tiger

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

Botan

Test: KASUMI

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

Botan

Test: AES-256

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

Botan

Test: Twofish

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

Botan

Test: CAST-256

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: CAST-256LLVM Clang 3.2 SVNLLVM Clang 3.12040608010080.9281.191. (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.2 SVNLLVM Clang 3.1122436486055.3455.031. (CXX) g++ options: -m64 -ldl -lpthread -lrt

FLAC Audio Encoding

WAV To FLAC

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

LAME MP3 Encoding

WAV To MP3

OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.99.3WAV To MP3LLVM Clang 3.2 SVNLLVM Clang 3.1612182430SE +/- 0.03, N = 5SE +/- 0.01, N = 523.3923.96

Timed HMMer Search

Pfam Database Search

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

Timed MAFFT Alignment

Multiple Sequence Alignment

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

Timed MrBayes Analysis

Primate Phylogeny Analysis

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed MrBayes Analysis 3.1.2Primate Phylogeny AnalysisLLVM Clang 3.2 SVNLLVM Clang 3.1918273645SE +/- 0.07, N = 3SE +/- 0.02, N = 339.7440.01

Himeno Benchmark

Poisson Pressure Solver

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

Primesieve

1e12 Prime Number Generation

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

7-Zip Compression

Compress Speed Test

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

John The Ripper

Test: Blowfish

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

Timed PHP Compilation

Time To Compile

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

Parallel BZIP2 Compression

256MB File Compression

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

VP8 libvpx Encoding

vpxenc

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

GraphicsMagick

Operation: Sharpen

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

GraphicsMagick

Operation: Resizing

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: ResizingLLVM Clang 3.2 SVNLLVM Clang 3.11530456075SE +/- 0.00, N = 3SE +/- 0.33, N = 367661. (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.2 SVNLLVM Clang 3.120406080100SE +/- 0.00, N = 3SE +/- 0.33, N = 381811. (CC) gcc options: -O3 -march=native -pthread -lbz2 -lz -lm -lpthread

GraphicsMagick

Operation: Local Adaptive Thresholding

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

Tachyon

Total Time

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

x264

H.264 Video Encoding

OpenBenchmarking.orgFrames Per Second, More Is Betterx264 2012-10-03H.264 Video EncodingLLVM Clang 3.2 SVNLLVM Clang 3.11326395265SE +/- 0.11, N = 3SE +/- 0.14, N = 359.0459.43

C-Ray

Total Time

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

FFmpeg

H.264 HD To NTSC DV

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

Smallpt

Global Illumination Renderer; 100 Samples

OpenBenchmarking.orgSeconds, Fewer Is BetterSmallpt 1.0Global Illumination Renderer; 100 SamplesLLVM Clang 3.2 SVNLLVM Clang 3.1LLVM Clang 3.060120180240300SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.58, N = 32772552401. (CXX) g++ options: -fopenmp -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.2 SVNLLVM Clang 3.1LLVM Clang 3.04K8K12K16K20KSE +/- 199.41, N = 3SE +/- 98.41, N = 3SE +/- 156.32, N = 317049.2216872.8617401.031. (CC) gcc options: -lpthread -lcrypt -lcrypto -lz

OpenSSL

RSA 4096-bit Performance

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

PostgreSQL pgbench

TPC-B Transactions Per Second

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


Phoronix Test Suite v10.8.5