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 .
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 parboil: Seven-Point Stencil parboil: Cutoff Pair Potential mafft: Multiple Sequence Alignment mrbayes: Primate Phylogeny Analysis blake2: Phoronix Test Suite v4.8.2 scimark2: Monte Carlo scimark2: Fast Fourier Transform scimark2: Sparse Matrix Multiply scimark2: Dense LU Matrix Factorization scimark2: Jacobi Successive Over-Relaxation himeno: Poisson Pressure Solver build-imagemagick: Time To Compile build-php: Time To Compile c-ray: Total Time smallpt: Global Illumination Renderer; 100 Samples encode-flac: WAV To FLAC encode-mp3: WAV To MP3 n-queens: Elapsed Time LLVM Clang 3.3 LLVM Clang 3.4 SVN 20130918 93.93 51.08 6.64 15.56 5.16 508.89 350.72 2598.63 2474.93 1371.76 1463.72 27.48 17.73 34.23 174 6.38 15.93 243.18 6.94 15.59 6.32 508.28 335.97 2552.02 4195.36 1374.84 1496.26 29.95 18.10 33.19 174 5.28 13.85 245.20 OpenBenchmarking.org
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
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
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
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
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
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
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: 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: Dense LU Matrix Factorization OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Dense LU Matrix Factorization LLVM Clang 3.3 LLVM Clang 3.4 SVN 20130918 900 1800 2700 3600 4500 SE +/- 7.41, N = 4 SE +/- 4.12, N = 4 2474.93 4195.36 1. (CXX) g++ 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.3 LLVM Clang 3.4 SVN 20130918 300 600 900 1200 1500 SE +/- 1.77, N = 4 SE +/- 2.52, N = 4 1371.76 1374.84 1. (CXX) g++ options: -O3 -march=native
Himeno Benchmark Poisson Pressure Solver OpenBenchmarking.org MFLOPS, More Is Better Himeno Benchmark 3.0 Poisson Pressure Solver LLVM Clang 3.3 LLVM Clang 3.4 SVN 20130918 300 600 900 1200 1500 SE +/- 1.19, N = 3 SE +/- 1.52, N = 3 1463.72 1496.26 1. (CC) gcc options: -O3 -march=native
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
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
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time LLVM Clang 3.3 LLVM Clang 3.4 SVN 20130918 8 16 24 32 40 SE +/- 0.02, N = 3 SE +/- 0.05, N = 3 34.23 33.19 1. (CC) gcc options: -lm -lpthread -O3 -march=native
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
FLAC Audio Encoding WAV To FLAC OpenBenchmarking.org Seconds, Fewer Is Better FLAC Audio Encoding 1.3.0 WAV To FLAC LLVM Clang 3.3 LLVM Clang 3.4 SVN 20130918 2 4 6 8 10 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 6.38 5.28 1. (CXX) g++ options: -O3 -march=native -fvisibility=hidden -logg -lm
LAME MP3 Encoding WAV To MP3 OpenBenchmarking.org Seconds, Fewer Is Better LAME MP3 Encoding 3.99.3 WAV To MP3 LLVM Clang 3.3 LLVM Clang 3.4 SVN 20130918 4 8 12 16 20 SE +/- 0.02, N = 5 SE +/- 0.00, N = 5 15.93 13.85 1. (CC) gcc options: -pipe -O3 -march=native -lncurses -lm
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
Phoronix Test Suite v10.8.4