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&gru&sor .
Processor Motherboard Chipset Memory Disk Graphics Audio Monitor Network OS Kernel Desktop Display Server Display Driver OpenGL Compiler File-System Screen Resolution nocona corei7-avx nocona corei7-avx LLVM-Clang 3.1 LLVM-Clang 3.1 LLVM-Clang 3.2 SVN LLVM-Clang 3.2 SVN Intel Core i7-3960X @ 3.30GHz (12 Cores) Intel DX79SI Intel Xeon E5/Core 8192MB 64GB OCZ VERTEX AMD Radeon HD 4650 512MB Realtek ALC892 DELL S2409W Intel 82579LM Gigabit Connection Ubuntu 12.10 3.6.0-030600-generic (x86_64) Unity 6.8.0 X Server 1.13.0 radeon 6.99.99 3.0 Mesa 9.0-devel Gallium 0.4 Clang 3.1 + LLVM 3.1 ext4 1920x1080 Clang 3.2 (SVN 165433) + LLVM 3.2svn OpenBenchmarking.org 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 Processor Details - Scaling Governor: ondemand System Details - Compiz was running on this system.
graphics-magick: Blur graphics-magick: Sharpen graphics-magick: Resizing graphics-magick: HWB Color Space graphics-magick: Local Adaptive Thresholding himeno: Poisson Pressure Solver apache: Static Web Page Serving pgbench: TPC-B Transactions Per Second hmmer: Pfam Database Search build-php: Time To Compile c-ray: Total Time smallpt: Global Illumination Renderer; 100 Samples encode-flac: WAV To FLAC nocona corei7-avx nocona corei7-avx LLVM-Clang 3.1 LLVM-Clang 3.1 LLVM-Clang 3.2 SVN LLVM-Clang 3.2 SVN 87 53 104 121 45 1575.76 16863.32 366.36 15.41 20.57 26.34 147 6.41 87 52 104 121 49 1582.01 16850.87 360.51 15.42 20.57 26.30 146 6.41 78 53 107 123 48 1561.02 16835.24 370.42 15.45 15.47 21.62 157 6.40 82 31 89 124 45 1545.92 16277.25 377.98 15.37 15.69 20.99 152 6.36 OpenBenchmarking.org
GraphicsMagick Operation: Blur corei7-avx nocona OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Blur LLVM-Clang 3.1 LLVM-Clang 3.2 SVN 20 40 60 80 100 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 87 82 87 78 1. (CC) gcc options: -march=nocona -O3 -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread
GraphicsMagick Operation: Sharpen nocona corei7-avx OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Sharpen LLVM-Clang 3.2 SVN LLVM-Clang 3.1 12 24 36 48 60 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 53 53 52 31 1. (CC) gcc options: -march=corei7-avx -O3 -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread
GraphicsMagick Operation: Resizing nocona corei7-avx OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Resizing LLVM-Clang 3.2 SVN LLVM-Clang 3.1 20 40 60 80 100 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 107 104 104 89 1. (CC) gcc options: -O3 -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread
GraphicsMagick Operation: HWB Color Space corei7-avx nocona OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: HWB Color Space LLVM-Clang 3.2 SVN LLVM-Clang 3.1 30 60 90 120 150 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 124 121 123 121 1. (CC) gcc options: -march=nocona -O3 -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread
GraphicsMagick Operation: Local Adaptive Thresholding corei7-avx nocona OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Local Adaptive Thresholding LLVM-Clang 3.1 LLVM-Clang 3.2 SVN 11 22 33 44 55 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 49 45 48 45 1. (CC) gcc options: -O3 -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread
Himeno Benchmark Poisson Pressure Solver corei7-avx nocona OpenBenchmarking.org MFLOPS, More Is Better Himeno Benchmark 3.0 Poisson Pressure Solver LLVM-Clang 3.1 LLVM-Clang 3.2 SVN 300 600 900 1200 1500 SE +/- 2.49, N = 3 SE +/- 3.54, N = 3 SE +/- 1.69, N = 3 SE +/- 2.19, N = 3 1582.01 1545.92 1575.76 1561.02 1. (CC) gcc options: -O3
Apache Benchmark Static Web Page Serving nocona corei7-avx OpenBenchmarking.org Requests Per Second, More Is Better Apache Benchmark 2.4.3 Static Web Page Serving LLVM-Clang 3.1 LLVM-Clang 3.2 SVN 4K 8K 12K 16K 20K SE +/- 71.80, N = 3 SE +/- 26.63, N = 3 SE +/- 43.37, N = 3 SE +/- 299.58, N = 3 16863.32 16835.24 16850.87 16277.25 1. (CC) gcc options: -shared -fPIC -pthread -march=corei7-avx -O3
PostgreSQL pgbench TPC-B Transactions Per Second corei7-avx nocona OpenBenchmarking.org TPS, More Is Better PostgreSQL pgbench 8.4.11 TPC-B Transactions Per Second LLVM-Clang 3.2 SVN LLVM-Clang 3.1 80 160 240 320 400 SE +/- 0.65, N = 3 SE +/- 4.65, N = 3 SE +/- 6.91, N = 3 SE +/- 6.05, N = 3 377.98 360.51 370.42 366.36 1. (CC) gcc options: -O3 -fno-strict-aliasing -fwrapv -lpgport -lpq -lcrypt -ldl -lm
Timed HMMer Search Pfam Database Search corei7-avx nocona OpenBenchmarking.org Seconds, Fewer Is Better Timed HMMer Search 2.3.2 Pfam Database Search LLVM-Clang 3.2 SVN LLVM-Clang 3.1 4 8 12 16 20 SE +/- 0.04, N = 3 SE +/- 0.03, N = 3 SE +/- 0.02, N = 3 SE +/- 0.02, N = 3 15.37 15.42 15.41 15.45 1. (CC) gcc options: -O3 -pthread -lhmmer -lsquid -lm
Timed PHP Compilation Time To Compile nocona corei7-avx OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 5.2.9 Time To Compile LLVM-Clang 3.2 SVN LLVM-Clang 3.1 5 10 15 20 25 SE +/- 0.04, N = 3 SE +/- 0.06, N = 3 SE +/- 0.22, N = 6 SE +/- 0.06, N = 3 15.47 20.57 15.69 20.57 1. (CC) gcc options: -march=corei7-avx -O3 -pedantic -ldl -lpthread -lz -lm
C-Ray Total Time corei7-avx nocona OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time LLVM-Clang 3.2 SVN LLVM-Clang 3.1 6 12 18 24 30 SE +/- 0.01, N = 3 SE +/- 0.02, N = 3 SE +/- 0.04, N = 3 SE +/- 0.01, N = 3 20.99 26.30 21.62 26.34 1. (CC) gcc options: -lm -lpthread -O3 -march=nocona
Smallpt Global Illumination Renderer; 100 Samples corei7-avx nocona OpenBenchmarking.org Seconds, Fewer Is Better Smallpt 1.0 Global Illumination Renderer; 100 Samples LLVM-Clang 3.1 LLVM-Clang 3.2 SVN 30 60 90 120 150 SE +/- 0.33, N = 3 SE +/- 0.58, N = 3 SE +/- 0.33, N = 3 SE +/- 0.88, N = 3 146 152 147 157 1. (CXX) g++ options: -fopenmp -march=nocona -O3
FLAC Audio Encoding WAV To FLAC corei7-avx nocona OpenBenchmarking.org Seconds, Fewer Is Better FLAC Audio Encoding 1.2.1 WAV To FLAC LLVM-Clang 3.2 SVN LLVM-Clang 3.1 2 4 6 8 10 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 SE +/- 0.01, N = 5 SE +/- 0.00, N = 5 6.36 6.41 6.40 6.41 1. (CXX) g++ options: -O3 -logg -lm
Phoronix Test Suite v10.8.5