LLVM Clang Intel Compiler Haswell Core-AVX2 LLVM Clang 3.3 and LLVM Clang 3.4 SVN compiler benchmarks from a Core i7 4750HQ Haswell CPU running Ubuntu Linux. -march=native and -O3 CFLAGS/CXXFLAGS set. Benchmarks by Michael Larabel for a future article on Phoronix.
HTML result view exported from: https://openbenchmarking.org/result/1309182-SO-LLVMCLANG36&grr&sor .
LLVM Clang Intel Compiler Haswell Core-AVX2 Processor Motherboard Chipset Memory Disk Graphics Audio Network OS Kernel Desktop Display Server Display Driver OpenGL Compiler File-System Screen Resolution LLVM Clang 3.3 LLVM Clang 3.4 SVN 20130918 Intel Core i7-4750HQ @ 2.00GHz (8 Cores) System76 Galago UltraPro Intel Crystal Well DRAM 8192MB 120GB INTEL SSDMCEAC12 Intel Crystal Well IGP (1200MHz) Intel Haswell HDMI Intel Connection I217-V + Intel Centrino Wireless-N 2230 Ubuntu 13.10 3.11.0-7-generic (x86_64) Xfce 4.10 X Server 1.14.2.901 (1.14.3 RC 1) intel 2.21.14 3.1 Mesa 9.2.0 Clang 3.3 + LLVM 3.3 ext4 1920x1080 Clang 3.4 (SVN 190956) + LLVM 3.4svn OpenBenchmarking.org Compiler Details - LLVM Clang 3.3: Optimized build; Built Sep 18 2013 (14:31:04); Default target: x86_64-unknown-linux-gnu; Host CPU: x86-64 - LLVM Clang 3.4 SVN 20130918: Optimized build; Built Sep 18 2013 (16:02:50); Default target: x86_64-unknown-linux-gnu; Host CPU: x86-64 Processor Details - Scaling Governor: acpi-cpufreq ondemand
LLVM Clang Intel Compiler Haswell Core-AVX2 n-queens: Elapsed Time encode-mp3: WAV To MP3 encode-flac: WAV To FLAC smallpt: Global Illumination Renderer; 100 Samples c-ray: Total Time build-php: Time To Compile build-imagemagick: Time To Compile himeno: Poisson Pressure Solver scimark2: Jacobi Successive Over-Relaxation scimark2: Dense LU Matrix Factorization scimark2: Sparse Matrix Multiply scimark2: Fast Fourier Transform scimark2: Monte Carlo blake2: Phoronix Test Suite v4.8.2 mrbayes: Primate Phylogeny Analysis mafft: Multiple Sequence Alignment parboil: Cutoff Pair Potential parboil: Seven-Point Stencil LLVM Clang 3.3 LLVM Clang 3.4 SVN 20130918 243.18 15.93 6.38 174 34.23 17.73 27.48 1463.72 1371.76 2474.93 2598.63 350.72 508.89 5.16 15.56 6.64 51.08 93.93 245.20 13.85 5.28 174 33.19 18.10 29.95 1496.26 1374.84 4195.36 2552.02 335.97 508.28 6.32 15.59 6.94 OpenBenchmarking.org
N-Queens Elapsed Time OpenBenchmarking.org Seconds, Fewer Is Better N-Queens 1.0 Elapsed Time LLVM Clang 3.3 LLVM Clang 3.4 SVN 20130918 50 100 150 200 250 SE +/- 0.08, N = 3 SE +/- 0.01, N = 3 243.18 245.20 1. (CC) gcc options: -static -fopenmp -O3 -march=native
LAME MP3 Encoding WAV To MP3 OpenBenchmarking.org Seconds, Fewer Is Better LAME MP3 Encoding 3.99.3 WAV To MP3 LLVM Clang 3.4 SVN 20130918 LLVM Clang 3.3 4 8 12 16 20 SE +/- 0.00, N = 5 SE +/- 0.02, N = 5 13.85 15.93 1. (CC) gcc options: -pipe -O3 -march=native -lncurses -lm
FLAC Audio Encoding WAV To FLAC OpenBenchmarking.org Seconds, Fewer Is Better FLAC Audio Encoding 1.3.0 WAV To FLAC LLVM Clang 3.4 SVN 20130918 LLVM Clang 3.3 2 4 6 8 10 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 5.28 6.38 1. (CXX) g++ options: -O3 -march=native -fvisibility=hidden -logg -lm
Smallpt Global Illumination Renderer; 100 Samples OpenBenchmarking.org Seconds, Fewer Is Better Smallpt 1.0 Global Illumination Renderer; 100 Samples LLVM Clang 3.3 LLVM Clang 3.4 SVN 20130918 40 80 120 160 200 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 174 174 1. (CXX) g++ options: -fopenmp -O3 -march=native
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time LLVM Clang 3.4 SVN 20130918 LLVM Clang 3.3 8 16 24 32 40 SE +/- 0.05, N = 3 SE +/- 0.02, N = 3 33.19 34.23 1. (CC) gcc options: -lm -lpthread -O3 -march=native
Timed PHP Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 5.2.9 Time To Compile LLVM Clang 3.3 LLVM Clang 3.4 SVN 20130918 4 8 12 16 20 SE +/- 0.27, N = 3 SE +/- 0.27, N = 3 17.73 18.10 1. (CC) gcc options: -O3 -march=native -pedantic -ldl -lz -lm
Timed ImageMagick Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed ImageMagick Compilation 6.8.1-10 Time To Compile LLVM Clang 3.3 LLVM Clang 3.4 SVN 20130918 7 14 21 28 35 SE +/- 0.07, N = 3 SE +/- 0.27, N = 3 27.48 29.95
Himeno Benchmark Poisson Pressure Solver OpenBenchmarking.org MFLOPS, More Is Better Himeno Benchmark 3.0 Poisson Pressure Solver LLVM Clang 3.4 SVN 20130918 LLVM Clang 3.3 300 600 900 1200 1500 SE +/- 1.52, N = 3 SE +/- 1.19, N = 3 1496.26 1463.72 1. (CC) gcc options: -O3 -march=native
SciMark Computational Test: Jacobi Successive Over-Relaxation OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Jacobi Successive Over-Relaxation LLVM Clang 3.4 SVN 20130918 LLVM Clang 3.3 300 600 900 1200 1500 SE +/- 2.52, N = 4 SE +/- 1.77, N = 4 1374.84 1371.76 1. (CXX) g++ options: -O3 -march=native
SciMark Computational Test: Dense LU Matrix Factorization OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Dense LU Matrix Factorization LLVM Clang 3.4 SVN 20130918 LLVM Clang 3.3 900 1800 2700 3600 4500 SE +/- 4.12, N = 4 SE +/- 7.41, N = 4 4195.36 2474.93 1. (CXX) g++ options: -O3 -march=native
SciMark Computational Test: Sparse Matrix Multiply OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Sparse Matrix Multiply LLVM Clang 3.3 LLVM Clang 3.4 SVN 20130918 600 1200 1800 2400 3000 SE +/- 7.05, N = 4 SE +/- 0.00, N = 3 2598.63 2552.02 1. (CXX) g++ options: -O3 -march=native
SciMark Computational Test: Fast Fourier Transform OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Fast Fourier Transform LLVM Clang 3.3 LLVM Clang 3.4 SVN 20130918 80 160 240 320 400 SE +/- 20.23, N = 4 SE +/- 26.60, N = 4 350.72 335.97 1. (CXX) g++ options: -O3 -march=native
SciMark Computational Test: Monte Carlo OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Monte Carlo LLVM Clang 3.3 LLVM Clang 3.4 SVN 20130918 110 220 330 440 550 SE +/- 0.99, N = 4 SE +/- 0.60, N = 4 508.89 508.28 1. (CXX) g++ options: -O3 -march=native
BLAKE2 Phoronix Test Suite v4.8.2 OpenBenchmarking.org Cycles Per Byte, Fewer Is Better BLAKE2 20121223 Phoronix Test Suite v4.8.2 LLVM Clang 3.3 LLVM Clang 3.4 SVN 20130918 2 4 6 8 10 SE +/- 0.00, N = 3 SE +/- 0.02, N = 3 5.16 6.32 1. (CC) gcc options: -std=gnu99 -O3 -march=native -lcrypto -lz
Timed MrBayes Analysis Primate Phylogeny Analysis OpenBenchmarking.org Seconds, Fewer Is Better Timed MrBayes Analysis 3.1.2 Primate Phylogeny Analysis LLVM Clang 3.3 LLVM Clang 3.4 SVN 20130918 4 8 12 16 20 SE +/- 0.03, N = 3 SE +/- 0.06, N = 3 15.56 15.59
Timed MAFFT Alignment Multiple Sequence Alignment OpenBenchmarking.org Seconds, Fewer Is Better Timed MAFFT Alignment 6.864 Multiple Sequence Alignment LLVM Clang 3.3 LLVM Clang 3.4 SVN 20130918 2 4 6 8 10 SE +/- 0.04, N = 3 SE +/- 0.17, N = 6 6.64 6.94 1. (CC) gcc options: -O3 -lm -lpthread
Parboil Test: Cutoff Pair Potential OpenBenchmarking.org Seconds, Fewer Is Better Parboil 2.5 Test: Cutoff Pair Potential LLVM Clang 3.3 12 24 36 48 60 SE +/- 0.05, N = 3 51.08 1. (CXX) g++ options: -lm -lpthread -lgomp -ffast-math -fopenmp
Parboil Test: Seven-Point Stencil OpenBenchmarking.org Seconds, Fewer Is Better Parboil 2.5 Test: Seven-Point Stencil LLVM Clang 3.3 20 40 60 80 100 SE +/- 0.90, N = 3 93.93 1. (CXX) g++ options: -lm -lpthread -lgomp -ffast-math -fopenmp
Phoronix Test Suite v10.8.4