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&rdt .
Processor Motherboard Chipset Memory Disk Graphics Audio Monitor Network OS Kernel Desktop Display Server Display Driver OpenGL Compiler File-System Screen Resolution corei7-avx nocona corei7-avx LLVM-Clang 3.2 SVN LLVM-Clang 3.2 SVN LLVM-Clang 3.1 LLVM-Clang 3.1 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.2 (SVN 165433) + LLVM 3.2svn ext4 1920x1080 Clang 3.1 + LLVM 3.1 OpenBenchmarking.org Processor Details - Scaling Governor: ondemand System 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
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 corei7-avx nocona corei7-avx LLVM-Clang 3.2 SVN LLVM-Clang 3.2 SVN LLVM-Clang 3.1 LLVM-Clang 3.1 82 31 89 124 45 1545.92 16277.25 377.98 15.37 15.69 20.99 152 6.36 78 53 107 123 48 1561.02 16835.24 370.42 15.45 15.47 21.62 157 6.40 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 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.2 SVN LLVM-Clang 3.1 20 40 60 80 100 SE +/- 0.00, N = 3 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 SE +/- 0.33, N = 3 82 87 78 87 1. (CC) gcc options: -O3 -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread
GraphicsMagick Operation: Sharpen corei7-avx nocona 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 31 52 53 53 1. (CC) gcc options: -O3 -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread
GraphicsMagick Operation: Resizing corei7-avx nocona 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 89 104 107 104 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: -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.2 SVN LLVM-Clang 3.1 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 45 49 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.2 SVN LLVM-Clang 3.1 300 600 900 1200 1500 SE +/- 3.54, N = 3 SE +/- 2.49, N = 3 SE +/- 2.19, N = 3 SE +/- 1.69, N = 3 1545.92 1582.01 1561.02 1575.76 1. (CC) gcc options: -O3
Apache Benchmark Static Web Page Serving corei7-avx nocona OpenBenchmarking.org Requests Per Second, More Is Better Apache Benchmark 2.4.3 Static Web Page Serving LLVM-Clang 3.2 SVN LLVM-Clang 3.1 4K 8K 12K 16K 20K SE +/- 299.58, N = 3 SE +/- 43.37, N = 3 SE +/- 26.63, N = 3 SE +/- 71.80, N = 3 16277.25 16850.87 16835.24 16863.32 1. (CC) gcc options: -shared -fPIC -pthread -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.45 15.41 1. (CC) gcc options: -O3 -pthread -lhmmer -lsquid -lm
Timed PHP Compilation Time To Compile corei7-avx nocona 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.22, N = 6 SE +/- 0.06, N = 3 SE +/- 0.04, N = 3 SE +/- 0.06, N = 3 15.69 20.57 15.47 20.57 1. (CC) gcc options: -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
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.2 SVN LLVM-Clang 3.1 30 60 90 120 150 SE +/- 0.58, N = 3 SE +/- 0.33, N = 3 SE +/- 0.88, N = 3 SE +/- 0.33, N = 3 152 146 157 147 1. (CXX) g++ options: -fopenmp -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