LLVM 3.2 Clang Intel Linux Compiler

Intel Core i7-3960X Sandy Bridge Extreme Edition computer running Ubuntu 12.10 and comparing builds of LLVM/Clang 3.1 and LLVM/Clang 3.2 SVN. LLVM and Clang both times were built in release mode of --disable-assertions and --enable-optimized. Compiler flags passed to tests included -O3 and then each -march=nocona and -march=corei7-avx to see if there's any x86_64 compiler tuning optimizations when using corei7-avx for Intel Sandy Bridge CPUs. Benchmarking for a future article on Phoronix.com.

HTML result view exported from: https://openbenchmarking.org/result/1210095-RA-LLVM32CLA70&sro&grs.

ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen Resolutionnoconacorei7-avxnoconacorei7-avx LLVM-Clang 3.1 LLVM-Clang 3.1 LLVM-Clang 3.2 SVN LLVM-Clang 3.2 SVNIntel Core i7-3960X @ 3.30GHz (12 Cores)Intel DX79SIIntel Xeon E5/Core8192MB64GB OCZ VERTEXAMD Radeon HD 4650 512MBRealtek ALC892DELL S2409WIntel 82579LM Gigabit ConnectionUbuntu 12.103.6.0-030600-generic (x86_64)Unity 6.8.0X Server 1.13.0radeon 6.99.993.0 Mesa 9.0-devel Gallium 0.4Clang 3.1 + LLVM 3.1ext41920x1080Clang 3.2 (SVN 165433) + LLVM 3.2svnOpenBenchmarking.orgCompiler Details- nocona: LLVM-Clang 3.1, corei7-avx: LLVM-Clang 3.1: Optimized build; Built Oct 9 2012 (06:32:52); Default target: x86_64-unknown-linux-gnu; Host CPU: corei7-avx Processor Details- Scaling Governor: ondemandSystem Details- Compiz was running on this system.

graphics-magick: Sharpenbuild-php: Time To Compilec-ray: Total Timegraphics-magick: Resizinggraphics-magick: Blurgraphics-magick: Local Adaptive Thresholdingsmallpt: Global Illumination Renderer; 100 Samplespgbench: TPC-B Transactions Per Secondapache: Static Web Page Servinggraphics-magick: HWB Color Spacehimeno: Poisson Pressure Solverencode-flac: WAV To FLAChmmer: Pfam Database Searchnoconacorei7-avxnoconacorei7-avx LLVM-Clang 3.1 LLVM-Clang 3.1 LLVM-Clang 3.2 SVN LLVM-Clang 3.2 SVN5320.5726.341048745147366.3616863.321211575.766.4115.415220.5726.301048749146360.5116850.871211582.016.4115.425315.4721.621077848157370.4216835.241231561.026.4015.453115.6920.99898245152377.9816277.251241545.926.3615.37OpenBenchmarking.org

GraphicsMagick

Operation: Sharpen

corei7-avxnoconaOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: SharpenLLVM-Clang 3.1LLVM-Clang 3.2 SVN1224364860SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3523153531. (CC) gcc options: -march=nocona -O3 -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread

Timed PHP Compilation

Time To Compile

corei7-avxnoconaOpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To CompileLLVM-Clang 3.1LLVM-Clang 3.2 SVN510152025SE +/- 0.06, N = 3SE +/- 0.22, N = 6SE +/- 0.06, N = 3SE +/- 0.04, N = 320.5715.6920.5715.471. (CC) gcc options: -march=nocona -O3 -pedantic -ldl -lpthread -lz -lm

C-Ray

Total Time

corei7-avxnoconaOpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeLLVM-Clang 3.1LLVM-Clang 3.2 SVN612182430SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.04, N = 326.3020.9926.3421.621. (CC) gcc options: -lm -lpthread -O3 -march=nocona

GraphicsMagick

Operation: Resizing

corei7-avxnoconaOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: ResizingLLVM-Clang 3.1LLVM-Clang 3.2 SVN20406080100SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3104891041071. (CC) gcc options: -march=nocona -O3 -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread

GraphicsMagick

Operation: Blur

corei7-avxnoconaOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: BlurLLVM-Clang 3.1LLVM-Clang 3.2 SVN20406080100SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3878287781. (CC) gcc options: -march=nocona -O3 -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread

GraphicsMagick

Operation: Local Adaptive Thresholding

corei7-avxnoconaOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: Local Adaptive ThresholdingLLVM-Clang 3.1LLVM-Clang 3.2 SVN1122334455SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3494545481. (CC) gcc options: -march=nocona -O3 -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread

Smallpt

Global Illumination Renderer; 100 Samples

corei7-avxnoconaOpenBenchmarking.orgSeconds, Fewer Is BetterSmallpt 1.0Global Illumination Renderer; 100 SamplesLLVM-Clang 3.1LLVM-Clang 3.2 SVN306090120150SE +/- 0.33, N = 3SE +/- 0.58, N = 3SE +/- 0.33, N = 3SE +/- 0.88, N = 31461521471571. (CXX) g++ options: -fopenmp -march=nocona -O3

PostgreSQL pgbench

TPC-B Transactions Per Second

corei7-avxnoconaOpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 8.4.11TPC-B Transactions Per SecondLLVM-Clang 3.1LLVM-Clang 3.2 SVN80160240320400SE +/- 4.65, N = 3SE +/- 0.65, N = 3SE +/- 6.05, N = 3SE +/- 6.91, N = 3360.51377.98366.36370.421. (CC) gcc options: -march=nocona -O3 -fno-strict-aliasing -fwrapv -lpgport -lpq -lcrypt -ldl -lm

Apache Benchmark

Static Web Page Serving

corei7-avxnoconaOpenBenchmarking.orgRequests Per Second, More Is BetterApache Benchmark 2.4.3Static Web Page ServingLLVM-Clang 3.1LLVM-Clang 3.2 SVN4K8K12K16K20KSE +/- 43.37, N = 3SE +/- 299.58, N = 3SE +/- 71.80, N = 3SE +/- 26.63, N = 316850.8716277.2516863.3216835.241. (CC) gcc options: -shared -fPIC -pthread -march=nocona -O3

GraphicsMagick

Operation: HWB Color Space

corei7-avxnoconaOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: HWB Color SpaceLLVM-Clang 3.1LLVM-Clang 3.2 SVN306090120150SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 31211241211231. (CC) gcc options: -march=nocona -O3 -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread

Himeno Benchmark

Poisson Pressure Solver

corei7-avxnoconaOpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverLLVM-Clang 3.1LLVM-Clang 3.2 SVN30060090012001500SE +/- 2.49, N = 3SE +/- 3.54, N = 3SE +/- 1.69, N = 3SE +/- 2.19, N = 31582.011545.921575.761561.021. (CC) gcc options: -O3 -march=nocona

FLAC Audio Encoding

WAV To FLAC

corei7-avxnoconaOpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.2.1WAV To FLACLLVM-Clang 3.1LLVM-Clang 3.2 SVN246810SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.01, N = 56.416.366.416.401. (CXX) g++ options: -march=nocona -O3 -logg -lm

Timed HMMer Search

Pfam Database Search

corei7-avxnoconaOpenBenchmarking.orgSeconds, Fewer Is BetterTimed HMMer Search 2.3.2Pfam Database SearchLLVM-Clang 3.1LLVM-Clang 3.2 SVN48121620SE +/- 0.03, N = 3SE +/- 0.04, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 315.4215.3715.4115.451. (CC) gcc options: -march=nocona -O3 -pthread -lhmmer -lsquid -lm


Phoronix Test Suite v10.8.5