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

ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen Resolutioncorei7-avxnoconacorei7-avx LLVM-Clang 3.2 SVN LLVM-Clang 3.2 SVN LLVM-Clang 3.1 LLVM-Clang 3.1Intel 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.2 (SVN 165433) + LLVM 3.2svnext41920x1080Clang 3.1 + LLVM 3.1OpenBenchmarking.orgProcessor Details- Scaling Governor: ondemandSystem Details- Compiz was running on this system.Compiler 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

apache: Static Web Page Servingc-ray: Total Timeencode-flac: WAV To FLACgraphics-magick: Blurgraphics-magick: Sharpengraphics-magick: Resizinggraphics-magick: HWB Color Spacegraphics-magick: Local Adaptive Thresholdinghimeno: Poisson Pressure Solverpgbench: TPC-B Transactions Per Secondsmallpt: Global Illumination Renderer; 100 Sampleshmmer: Pfam Database Searchbuild-php: Time To Compilecorei7-avxnoconacorei7-avx LLVM-Clang 3.2 SVN LLVM-Clang 3.2 SVN LLVM-Clang 3.1 LLVM-Clang 3.116277.2520.996.36823189124451545.92377.9815215.3715.6916835.2421.626.407853107123481561.02370.4215715.4515.4716863.3226.346.418753104121451575.76366.3614715.4120.5716850.8726.306.418752104121491582.01360.5114615.4220.57OpenBenchmarking.org

Apache Benchmark

Static Web Page Serving

corei7-avxnoconaOpenBenchmarking.orgRequests Per Second, More Is BetterApache Benchmark 2.4.3Static Web Page ServingLLVM-Clang 3.2 SVNLLVM-Clang 3.14K8K12K16K20KSE +/- 299.58, N = 3SE +/- 43.37, N = 3SE +/- 26.63, N = 3SE +/- 71.80, N = 316277.2516850.8716835.2416863.321. (CC) gcc options: -shared -fPIC -pthread -O3

C-Ray

Total Time

corei7-avxnoconaOpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeLLVM-Clang 3.2 SVNLLVM-Clang 3.1612182430SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.04, N = 3SE +/- 0.01, N = 320.9926.3021.6226.341. (CC) gcc options: -lm -lpthread -O3

FLAC Audio Encoding

WAV To FLAC

corei7-avxnoconaOpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.2.1WAV To FLACLLVM-Clang 3.2 SVNLLVM-Clang 3.1246810SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.01, N = 5SE +/- 0.00, N = 56.366.416.406.411. (CXX) g++ options: -O3 -logg -lm

GraphicsMagick

Operation: Blur

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

GraphicsMagick

Operation: Sharpen

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

GraphicsMagick

Operation: Resizing

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

GraphicsMagick

Operation: HWB Color Space

corei7-avxnoconaOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: HWB Color SpaceLLVM-Clang 3.2 SVNLLVM-Clang 3.1306090120150SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 31241211231211. (CC) gcc options: -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.2 SVNLLVM-Clang 3.11122334455SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3454948451. (CC) gcc options: -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.2 SVNLLVM-Clang 3.130060090012001500SE +/- 3.54, N = 3SE +/- 2.49, N = 3SE +/- 2.19, N = 3SE +/- 1.69, N = 31545.921582.011561.021575.761. (CC) gcc options: -O3

PostgreSQL pgbench

TPC-B Transactions Per Second

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

Smallpt

Global Illumination Renderer; 100 Samples

corei7-avxnoconaOpenBenchmarking.orgSeconds, Fewer Is BetterSmallpt 1.0Global Illumination Renderer; 100 SamplesLLVM-Clang 3.2 SVNLLVM-Clang 3.1306090120150SE +/- 0.58, N = 3SE +/- 0.33, N = 3SE +/- 0.88, N = 3SE +/- 0.33, N = 31521461571471. (CXX) g++ options: -fopenmp -O3

Timed HMMer Search

Pfam Database Search

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

Timed PHP Compilation

Time To Compile

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


Phoronix Test Suite v10.8.5