LLVM Clang 3.4 Intel Core i7 Haswell Core-AVX2

Intel Core i7-4770K Haswell testing of GCC 4.8.1 and an early GCC 4.9.0 compiler snapshot along with LLVM Clang 3.3 and an LLVM Clang 3.4 development snapshot. Testing with CFLAGS/CXXFLAGS for the Intel Core i7 Haswell CPU of -O3 and -march=core-avx2. Benchmarking by Michael Larabel for a future article on phoronix.com

Compare your own system(s) to this result file with the Phoronix Test Suite by running the command: phoronix-test-suite benchmark 1306273-SO-CLANG34LL14
Jump To Table - Results

View

Do Not Show Noisy Results
Do Not Show Results With Incomplete Data
Do Not Show Results With Little Change/Spread
List Notable Results
Show Result Confidence Charts
Allow Limiting Results To Certain Suite(s)

Statistics

Show Overall Harmonic Mean(s)
Show Overall Geometric Mean
Show Wins / Losses Counts (Pie Chart)
Normalize Results
Remove Outliers Before Calculating Averages

Graph Settings

Force Line Graphs Where Applicable
Convert To Scalar Where Applicable
Prefer Vertical Bar Graphs

Multi-Way Comparison

Condense Multi-Option Tests Into Single Result Graphs

Table

Show Detailed System Result Table

Run Management

Highlight
Result
Toggle/Hide
Result
Result
Identifier
View Logs
Performance Per
Dollar
Date
Run
  Test
  Duration
GCC 4.8.1
June 26 2013
 
GCC 4.9.0 20130623
June 25 2013
 
LLVM Clang 3.3
June 27 2013
 
LLVM 3.4 SVN 20130626
June 26 2013
 
Invert Behavior (Only Show Selected Data)
 

Only show results where is faster than
Only show results matching title/arguments (delimit multiple options with a comma):
Do not show results matching title/arguments (delimit multiple options with a comma):


LLVM Clang 3.4 Intel Core i7 Haswell Core-AVX2OpenBenchmarking.orgPhoronix Test SuiteIntel Core i7-4770K @ 3.50GHz (8 Cores)Intel DH87RLIntel 4th Gen Core DRAM15360MB240GB OCZ VERTEX3Intel Haswell DesktopIntel Haswell HDMIVA2431Intel Connection I217-VUbuntu 13.103.10.0-999-generic (x86_64)KDE 4.10.4X Server 1.13.3intel 2.21.93.0 Mesa 9.2.0-devel (git-bbd2d57)GCC 4.9.0 20130623 + Clang 3.3 + LLVM 3.3GCC 4.8.1 + Clang 3.3 + LLVM 3.3Clang 3.4 (SVN 185044) + LLVM 3.4svnClang 3.3 + LLVM 3.3ext41920x1080ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilersFile-SystemScreen ResolutionLLVM Clang 3.4 Intel Core I7 Haswell Core-AVX2 BenchmarksSystem Logs- GCC 4.9.0 20130623: --disable-multilib --enable-checking=release --enable-languages=c,c++,fortran - GCC 4.8.1: --disable-multilib --enable-checking=release --enable-languages=c,c++,fortran- LLVM 3.4 SVN 20130626: Optimized build; Built Jun 26 2013 (19:58:17); Default target: x86_64-unknown-linux-gnu; Host CPU: x86-64 - LLVM Clang 3.3: Optimized build; Built Jun 20 2013 (17:06:21); Default target: x86_64-unknown-linux-gnu; Host CPU: x86-64 - Scaling Governor: acpi-cpufreq ondemand

GCC 4.9.0 20130623GCC 4.8.1LLVM 3.4 SVN 20130626LLVM Clang 3.3Logarithmic Result OverviewPhoronix Test SuiteSmallptN-QueensPrimesieveTimed ImageMagick CompilationGraphicsMagickC-RayHimeno BenchmarkBLAKE2FLAC Audio EncodingSciMarkTimed MAFFT AlignmentTimed HMMer Searchx264

LLVM Clang 3.4 Intel Core i7 Haswell Core-AVX2smallpt: Global Illumination Renderer; 100 Samplesn-queens: Elapsed Timeprimesieve: 1e12 Prime Number Generationbuild-imagemagick: Time To Compilegraphics-magick: Resizingc-ray: Total Timeblake2: Phoronix Test Suite v4.8.0m1scimark2: Jacobi Successive Over-Relaxationscimark2: Dense LU Matrix Factorizationencode-flac: WAV To FLACscimark2: Compositescimark2: Sparse Matrix Multiplyscimark2: Fast Fourier Transformhmmer: Pfam Database Searchx264: H.264 Video Encodinghimeno: Poisson Pressure Solvermafft: Multiple Sequence AlignmentGCC 4.9.0 20130623GCC 4.8.1LLVM 3.4 SVN 20130626LLVM Clang 3.32536.7279.2074.5918117.035.291170.181851.865.261005.561148.95248.0110.40155.671588.375.522536.6979.1779.1817517.065.711169.091825.435.371009.991204.00242.6610.47156.261048.775.47140186.32320.2334.379126.227.811613.322397.894.551204.771182.30239.9010.70152.821395.015.98140184.28323.3734.399127.067.401673.051755.855.641102.351228.19249.8310.81155.011586.396.09OpenBenchmarking.org

Smallpt

Smallpt is a C++ global illumination renderer written in less than 100 lines of code. Global illumination is done via unbiased Monte Carlo path tracing and there is multi-threading support via the OpenMP library. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgSeconds, Fewer Is BetterSmallpt 1.0Global Illumination Renderer; 100 SamplesGCC 4.9.0 20130623GCC 4.8.1LLVM 3.4 SVN 20130626LLVM Clang 3.3306090120150SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 325251401401. (CXX) g++ options: -fopenmp -O3 -march=core-avx2

N-Queens

This is a test of the OpenMP version of a test that solves the N-queens problem. The board problem size is 18. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgSeconds, Fewer Is BetterN-Queens 1.0Elapsed TimeGCC 4.9.0 20130623GCC 4.8.1LLVM 3.4 SVN 20130626LLVM Clang 3.34080120160200SE +/- 0.03, N = 3SE +/- 0.04, N = 3SE +/- 0.05, N = 3SE +/- 0.11, N = 336.7236.69186.32184.281. (CC) gcc options: -static -fopenmp -O3 -march=core-avx2

Primesieve

OpenBenchmarking.orgSeconds, Fewer Is BetterPrimesieve 4.21e12 Prime Number GenerationGCC 4.9.0 20130623GCC 4.8.1LLVM 3.4 SVN 20130626LLVM Clang 3.370140210280350SE +/- 0.04, N = 3SE +/- 0.14, N = 3SE +/- 0.41, N = 3SE +/- 0.19, N = 379.2079.17320.23323.37-fopenmp-fopenmp1. (CXX) g++ options: -O2

Timed ImageMagick Compilation

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed ImageMagick Compilation 6.8.1-10Time To CompileGCC 4.9.0 20130623GCC 4.8.1LLVM 3.4 SVN 20130626LLVM Clang 3.320406080100SE +/- 0.11, N = 3SE +/- 0.28, N = 3SE +/- 0.12, N = 3SE +/- 0.10, N = 374.5979.1834.3734.39

GraphicsMagick

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: ResizingGCC 4.9.0 20130623GCC 4.8.1LLVM 3.4 SVN 20130626LLVM Clang 3.34080120160200SE +/- 0.00, N = 3SE +/- 2.73, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 31811759191-std=gnu99 -fopenmp-std=gnu99 -fopenmp1. (CC) gcc options: -O3 -march=core-avx2 -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lpthread

C-Ray

This is a test of C-Ray, a simple raytracer designed to test the floating-point CPU performance. This test is multi-threaded (16 threads per core), will shoot 8 rays per pixel for anti-aliasing, and will generate a 1600 x 1200 image. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeGCC 4.9.0 20130623GCC 4.8.1LLVM 3.4 SVN 20130626LLVM Clang 3.3612182430SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 317.0317.0626.2227.061. (CC) gcc options: -lm -lpthread -O3 -march=core-avx2

BLAKE2

OpenBenchmarking.orgCycles Per Byte, Fewer Is BetterBLAKE2 20121223Phoronix Test Suite v4.8.0m1GCC 4.9.0 20130623GCC 4.8.1LLVM 3.4 SVN 20130626LLVM Clang 3.3246810SE +/- 0.00, N = 3SE +/- 0.08, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 35.295.717.817.401. (CC) gcc options: -std=gnu99 -O3 -march=native -lcrypto -lz

SciMark

This test runs the ANSI C version of SciMark 2.0, which is a benchmark for scientific and numerical computing developed by programmers at the National Institute of Standards and Technology. This test is made up of Fast Foruier Transform, Jacobi Successive Over-relaxation, Monte Carlo, Sparse Matrix Multiply, and dense LU matrix factorization benchmarks. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Jacobi Successive Over-RelaxationGCC 4.9.0 20130623GCC 4.8.1LLVM 3.4 SVN 20130626LLVM Clang 3.3400800120016002000SE +/- 0.00, N = 4SE +/- 3.34, N = 4SE +/- 20.67, N = 4SE +/- 1.32, N = 41170.181169.091613.321673.051. (CXX) g++ options: -O3 -march=core-avx2

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Dense LU Matrix FactorizationGCC 4.9.0 20130623GCC 4.8.1LLVM 3.4 SVN 20130626LLVM Clang 3.35001000150020002500SE +/- 2.63, N = 4SE +/- 17.54, N = 4SE +/- 26.35, N = 4SE +/- 2.77, N = 41851.861825.432397.891755.851. (CXX) g++ options: -O3 -march=core-avx2

FLAC Audio Encoding

OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.0WAV To FLACGCC 4.9.0 20130623GCC 4.8.1LLVM 3.4 SVN 20130626LLVM Clang 3.31.2692.5383.8075.0766.345SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 55.265.374.555.641. (CXX) g++ options: -O3 -march=core-avx2 -fvisibility=hidden -logg -lm

SciMark

This test runs the ANSI C version of SciMark 2.0, which is a benchmark for scientific and numerical computing developed by programmers at the National Institute of Standards and Technology. This test is made up of Fast Foruier Transform, Jacobi Successive Over-relaxation, Monte Carlo, Sparse Matrix Multiply, and dense LU matrix factorization benchmarks. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: CompositeGCC 4.9.0 20130623GCC 4.8.1LLVM 3.4 SVN 20130626LLVM Clang 3.330060090012001500SE +/- 0.86, N = 4SE +/- 3.60, N = 4SE +/- 1.71, N = 4SE +/- 1.35, N = 41005.561009.991204.771102.351. (CXX) g++ options: -O3 -march=core-avx2

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Sparse Matrix MultiplyGCC 4.9.0 20130623GCC 4.8.1LLVM 3.4 SVN 20130626LLVM Clang 3.330060090012001500SE +/- 1.61, N = 4SE +/- 8.39, N = 4SE +/- 8.53, N = 4SE +/- 1.06, N = 41148.951204.001182.301228.191. (CXX) g++ options: -O3 -march=core-avx2

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Fast Fourier TransformGCC 4.9.0 20130623GCC 4.8.1LLVM 3.4 SVN 20130626LLVM Clang 3.350100150200250SE +/- 0.51, N = 4SE +/- 2.71, N = 4SE +/- 0.81, N = 3SE +/- 0.21, N = 4248.01242.66239.90249.831. (CXX) g++ options: -O3 -march=core-avx2

Timed HMMer Search

This test searches through the Pfam database of profile hidden markov models. The search finds the domain structure of Drosophila Sevenless protein. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed HMMer Search 2.3.2Pfam Database SearchGCC 4.9.0 20130623GCC 4.8.1LLVM 3.4 SVN 20130626LLVM Clang 3.33691215SE +/- 0.03, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 310.4010.4710.7010.811. (CC) gcc options: -O3 -march=core-avx2 -pthread -lhmmer -lsquid -lm

x264

OpenBenchmarking.orgFrames Per Second, More Is Betterx264 2013-06-08H.264 Video EncodingGCC 4.9.0 20130623GCC 4.8.1LLVM 3.4 SVN 20130626LLVM Clang 3.3306090120150SE +/- 0.90, N = 5SE +/- 0.79, N = 5SE +/- 0.51, N = 5SE +/- 0.15, N = 5155.67156.26152.82155.011. (CC) gcc options: -ldl -m64 -lm -lpthread -O3 -ffast-math -march=core-avx2 -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize

Himeno Benchmark

The Himeno benchmark is a linear solver of pressure Poisson using a point-Jacobi method. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverGCC 4.9.0 20130623GCC 4.8.1LLVM 3.4 SVN 20130626LLVM Clang 3.330060090012001500SE +/- 2.58, N = 3SE +/- 5.10, N = 3SE +/- 82.18, N = 6SE +/- 0.45, N = 31588.371048.771395.011586.391. (CC) gcc options: -O3 -march=core-avx2

Timed MAFFT Alignment

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed MAFFT Alignment 6.864Multiple Sequence AlignmentGCC 4.9.0 20130623GCC 4.8.1LLVM 3.4 SVN 20130626LLVM Clang 3.3246810SE +/- 0.15, N = 6SE +/- 0.13, N = 6SE +/- 0.04, N = 3SE +/- 0.10, N = 65.525.475.986.091. (CC) gcc options: -O3 -lm -lpthread