LLVM Clang 3.8 Compiler Benchmarks

Intel Xeon E5-2687W v3 LLVM Clang 3.6 / 3.7 / 3.8 SVN C/C++ compiler benchmarks. Tests by Michael Larabel for a future article on Phoronix.com.

HTML result view exported from: https://openbenchmarking.org/result/1602036-GA-LLVMCLANG84&grw.

LLVM Clang 3.8 Compiler BenchmarksProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionClang 3.6.0Clang 3.7.0Clang 3.8 SVNIntel Xeon E5-2687W v3 @ 3.50GHz (20 Cores)MSI X99S SLI PLUS (MS-7885) v1.0Intel Xeon E7 v3/Xeon16384MBPNY CS1211 120GB + 80GB INTEL SSDSCKGW08AMD FirePro V7900 2048MBRealtek ALC892ASUS PB278Intel ConnectionUbuntu 16.044.5.0-040500rc1-generic (x86_64) 20160124Unity 7.4.0X Server 1.17.3radeon 7.6.13.3 Mesa 11.0.8 Gallium 0.4Clang 3.6.0 + LLVM 3.6.0ext42560x1440Clang 3.7.0 + LLVM 3.7.0Clang 3.8.0 (SVN 259676) + LLVM 3.8.0OpenBenchmarking.orgCompiler Details- Clang 3.6.0: Optimized build; Built Feb 3 2016 (16:12:29); Default target: x86_64-unknown-linux-gnu; Host CPU: core-avx2- Clang 3.7.0: Optimized build; Built Feb 3 2016 (14:58:25); Default target: x86_64-unknown-linux-gnu; Host CPU: haswell- Clang 3.8 SVN: Optimized build; Built Feb 3 2016 (13:57:10); Default target: x86_64-unknown-linux-gnu; Host CPU: haswellProcessor Details- Scaling Governor: intel_pstate powersave

LLVM Clang 3.8 Compiler Benchmarksbullet: Raytestsbullet: 3000 Fallbullet: 1000 Stackscimark2: Compositescimark2: Monte Carloscimark2: Fast Fourier Transformscimark2: Sparse Matrix Multiplyscimark2: Dense LU Matrix Factorizationscimark2: Jacobi Successive Over-Relaxationencode-flac: WAV To FLACencode-mp3: WAV To MP3hmmer: Pfam Database Searchhimeno: Poisson Pressure Solverbuild-apache: Time To Compilebuild-php: Time To Compilegraphics-magick: Local Adaptive Thresholdingc-ray: Total Timesmallpt: Global Illumination Renderer; 100 Samplesapache: Static Web Page Servingredis: GETredis: SETpgbench: Buffer Test - Heavy Contention - Read WriteClang 3.6.0Clang 3.7.0Clang 3.8 SVN3.545.886.441929.87536.02362.612414.464862.281473.987.3815.6815.451544.8817.6613.678512.6915023551.58627746.11577378.535434.153.665.876.671910.77521.71346.202484.074786.501415.377.3214.7213.991444.5819.8415.768512.8415522826.44625801.98562350.485345.653.595.696.741851.53225.30343.692473.604806.981408.077.3115.3611.221268.9122.2416.818013.221321484.41552906.12511943.185468.81OpenBenchmarking.org

Bullet Physics Engine

Test: Raytests

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: RaytestsClang 3.6.0Clang 3.7.0Clang 3.8 SVN0.82351.6472.47053.2944.1175SE +/- 0.06, N = 6SE +/- 0.07, N = 3SE +/- 0.02, N = 33.543.663.591. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

Bullet Physics Engine

Test: 3000 Fall

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 3000 FallClang 3.6.0Clang 3.7.0Clang 3.8 SVN1.3232.6463.9695.2926.615SE +/- 0.03, N = 3SE +/- 0.10, N = 3SE +/- 0.08, N = 35.885.875.691. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

Bullet Physics Engine

Test: 1000 Stack

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 1000 StackClang 3.6.0Clang 3.7.0Clang 3.8 SVN246810SE +/- 0.18, N = 3SE +/- 0.08, N = 3SE +/- 0.07, N = 36.446.676.741. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

SciMark

Computational Test: Composite

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: CompositeClang 3.6.0Clang 3.7.0Clang 3.8 SVN400800120016002000SE +/- 9.91, N = 4SE +/- 6.01, N = 4SE +/- 5.96, N = 41929.871910.771851.531. (CXX) g++ options: -O3 -march=native

SciMark

Computational Test: Monte Carlo

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Monte CarloClang 3.6.0Clang 3.7.0Clang 3.8 SVN120240360480600SE +/- 11.74, N = 4SE +/- 5.57, N = 4SE +/- 1.45, N = 4536.02521.71225.301. (CXX) g++ options: -O3 -march=native

SciMark

Computational Test: Fast Fourier Transform

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Fast Fourier TransformClang 3.6.0Clang 3.7.0Clang 3.8 SVN80160240320400SE +/- 0.82, N = 4SE +/- 1.06, N = 4SE +/- 0.59, N = 4362.61346.20343.691. (CXX) g++ options: -O3 -march=native

SciMark

Computational Test: Sparse Matrix Multiply

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Sparse Matrix MultiplyClang 3.6.0Clang 3.7.0Clang 3.8 SVN5001000150020002500SE +/- 41.89, N = 4SE +/- 5.81, N = 4SE +/- 10.38, N = 42414.462484.072473.601. (CXX) g++ options: -O3 -march=native

SciMark

Computational Test: Dense LU Matrix Factorization

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Dense LU Matrix FactorizationClang 3.6.0Clang 3.7.0Clang 3.8 SVN10002000300040005000SE +/- 24.09, N = 4SE +/- 12.15, N = 4SE +/- 25.29, N = 44862.284786.504806.981. (CXX) g++ options: -O3 -march=native

SciMark

Computational Test: Jacobi Successive Over-Relaxation

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Jacobi Successive Over-RelaxationClang 3.6.0Clang 3.7.0Clang 3.8 SVN30060090012001500SE +/- 27.88, N = 4SE +/- 19.56, N = 4SE +/- 7.91, N = 41473.981415.371408.071. (CXX) g++ options: -O3 -march=native

FLAC Audio Encoding

WAV To FLAC

OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.1WAV To FLACClang 3.6.0Clang 3.7.0Clang 3.8 SVN246810SE +/- 0.04, N = 5SE +/- 0.06, N = 5SE +/- 0.03, N = 57.387.327.311. (CXX) g++ options: -O3 -march=native -logg -lm

LAME MP3 Encoding

WAV To MP3

OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.99.3WAV To MP3Clang 3.6.0Clang 3.7.0Clang 3.8 SVN48121620SE +/- 0.13, N = 5SE +/- 0.04, N = 5SE +/- 0.09, N = 515.6814.7215.361. (CC) gcc options: -pipe -O3 -march=native -lm

Timed HMMer Search

Pfam Database Search

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed HMMer Search 2.3.2Pfam Database SearchClang 3.6.0Clang 3.7.0Clang 3.8 SVN48121620SE +/- 0.29, N = 6SE +/- 0.25, N = 3SE +/- 0.28, N = 615.4513.9911.221. (CC) gcc options: -O3 -march=native -pthread -lhmmer -lsquid -lm

Himeno Benchmark

Poisson Pressure Solver

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverClang 3.6.0Clang 3.7.0Clang 3.8 SVN30060090012001500SE +/- 9.11, N = 3SE +/- 4.48, N = 3SE +/- 5.06, N = 31544.881444.581268.911. (CC) gcc options: -O3 -march=native -mavx2

Timed Apache Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed Apache Compilation 2.4.7Time To CompileClang 3.6.0Clang 3.7.0Clang 3.8 SVN510152025SE +/- 0.17, N = 3SE +/- 0.09, N = 3SE +/- 0.14, N = 317.6619.8422.24

Timed PHP Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To CompileClang 3.6.0Clang 3.7.0Clang 3.8 SVN48121620SE +/- 0.12, N = 3SE +/- 0.05, N = 3SE +/- 0.13, N = 313.6715.7616.811. (CC) gcc options: -O3 -march=native -pedantic -ldl -lz -lm

GraphicsMagick

Operation: Local Adaptive Thresholding

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Local Adaptive ThresholdingClang 3.6.0Clang 3.7.0Clang 3.8 SVN20406080100SE +/- 0.58, N = 3SE +/- 0.58, N = 3SE +/- 0.33, N = 3858580-fopenmp -lgomp1. (CC) gcc options: -O3 -march=native -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lSM -lICE -lX11 -llzma -lz -lm -lpthread

C-Ray

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeClang 3.6.0Clang 3.7.0Clang 3.8 SVN3691215SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 312.6912.8413.221. (CC) gcc options: -lm -lpthread -O3 -march=native

Smallpt

Global Illumination Renderer; 100 Samples

OpenBenchmarking.orgSeconds, Fewer Is BetterSmallpt 1.0Global Illumination Renderer; 100 SamplesClang 3.6.0Clang 3.7.0Clang 3.8 SVN306090120150SE +/- 0.67, N = 3SE +/- 0.00, N = 3SE +/- 0.20, N = 5150155131. (CXX) g++ options: -fopenmp -O3 -march=native

Apache Benchmark

Static Web Page Serving

OpenBenchmarking.orgRequests Per Second, More Is BetterApache Benchmark 2.4.7Static Web Page ServingClang 3.6.0Clang 3.7.0Clang 3.8 SVN5K10K15K20K25KSE +/- 19.77, N = 3SE +/- 180.59, N = 3SE +/- 97.80, N = 323551.5822826.4421484.411. (CC) gcc options: -shared -fPIC -pthread -O3 -march=native

Redis

Test: GET

OpenBenchmarking.orgRequests Per Second, More Is BetterRedis 3.0.1Test: GETClang 3.6.0Clang 3.7.0Clang 3.8 SVN130K260K390K520K650KSE +/- 10172.04, N = 4SE +/- 2487.14, N = 3SE +/- 5597.88, N = 3627746.11625801.98552906.121. (CC) gcc options: -ggdb -rdynamic -lm -pthread -ldl

Redis

Test: SET

OpenBenchmarking.orgRequests Per Second, More Is BetterRedis 3.0.1Test: SETClang 3.6.0Clang 3.7.0Clang 3.8 SVN120K240K360K480K600KSE +/- 10638.06, N = 6SE +/- 2717.97, N = 3SE +/- 9097.01, N = 6577378.53562350.48511943.181. (CC) gcc options: -ggdb -rdynamic -lm -pthread -ldl

PostgreSQL pgbench

Scaling: Buffer Test - Test: Heavy Contention - Mode: Read Write

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 9.4.3Scaling: Buffer Test - Test: Heavy Contention - Mode: Read WriteClang 3.6.0Clang 3.7.0Clang 3.8 SVN12002400360048006000SE +/- 60.57, N = 3SE +/- 127.49, N = 6SE +/- 61.06, N = 35434.155345.655468.81-mthreads-mthreads1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -march=native -pthread -pthreads -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm


Phoronix Test Suite v10.8.5