Clang GCC Compilers Fedora 21

GCC and LLVM Clang compiler benchmarks 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 1411070-PTS-CLANGGCC79
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

Limit displaying results to tests within:

Audio Encoding 2 Tests
Timed Code Compilation 2 Tests
C/C++ Compiler Tests 9 Tests
CPU Massive 8 Tests
Creator Workloads 4 Tests
Encoding 2 Tests
Multi-Core 4 Tests
Programmer / Developer System Benchmarks 2 Tests
Renderers 2 Tests
Server CPU Tests 3 Tests
Single-Threaded 4 Tests

Statistics

Show Overall Harmonic Mean(s)
Show Overall Geometric Mean
Show Geometric Means Per-Suite/Category
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
Hide
Result
Result
Identifier
Performance Per
Dollar
Date
Run
  Test
  Duration
GCC 4.9.2
November 07 2014
 
LLVM Clang 3.4.2
November 07 2014
 
Invert Hiding All Results Option
 
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):


Clang GCC Compilers Fedora 21OpenBenchmarking.orgPhoronix Test SuiteIntel Xeon E5-1680 v3 @ 3.80GHz (16 Cores)MSI X99S SLI PLUS (MS-7885) v1.0Intel Xeon E5 v3/Core16384MB80GB INTEL SSDSCKGW08eVGA NVIDIA GeForce GT 740 1024MBIntel C610/X99VE228Intel ConnectionFedora 213.18.0-0.rc3.git2.2.fc22.1.x86_64 (x86_64)GNOME Shell 3.14.1.5X Server 1.16.1nouveau 1.0.103.3 Mesa 10.3.2 Gallium 0.4GCC 4.9.2 20141101 + Clang 3.4.2 + LLVM 3.4.2Clang 3.4.2 + LLVM 3.4.2ext41920x1080ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilersFile-SystemScreen ResolutionClang GCC Compilers Fedora 21 BenchmarksSystem Logs- GCC 4.9.2: --build=x86_64-redhat-linux --disable-libgcj --disable-libunwind-exceptions --enable-__cxa_atexit --enable-bootstrap --enable-checking=release --enable-gnu-indirect-function --enable-gnu-unique-object --enable-initfini-array --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --mandir=/usr/share/man --with-arch_32=i686 --with-linker-hash-style=gnu --with-tune=generic - LLVM Clang 3.4.2: Optimized build; Built Aug 14 2014 (16:12:44); Default target: x86_64-redhat-linux-gnu; Host CPU: core-avx2 - Scaling Governor: intel_pstate powersave- SELinux: Enabled.

GCC 4.9.2 vs. LLVM Clang 3.4.2 ComparisonPhoronix Test SuiteBaseline+173.5%+173.5%+347%+347%+520.5%+520.5%+694%+694%127.5%96.1%85%46.2%36%14%10.7%10.2%G.I.R.1.S694.1%Time To CompileD.L.M.FTime To CompileCompositeJ.S.O.RTotal Time35.4%FLOAT22.4%S.M.M1000 Convex11.3%P.P.SF.F.TWAV To FLAC8.2%1000 Stack8.1%S.W.P.S7.2%3000 Fall3.7%Convex Trimesh3%WAV To MP32.3%SmallptTimed PHP CompilationSciMarkTimed Apache CompilationSciMarkSciMarkC-RayHierarchical INTegrationSciMarkBullet Physics EngineHimeno BenchmarkSciMarkFLAC Audio EncodingBullet Physics EngineApache BenchmarkBullet Physics EngineBullet Physics EngineLAME MP3 EncodingGCC 4.9.2LLVM Clang 3.4.2

Clang GCC Compilers Fedora 21scimark2: Compositescimark2: Monte Carloscimark2: Fast Fourier Transformscimark2: Sparse Matrix Multiplyscimark2: Dense LU Matrix Factorizationscimark2: Jacobi Successive Over-Relaxationhimeno: Poisson Pressure Solverbuild-apache: Time To Compilebuild-php: Time To Compilec-ray: Total Timesmallpt: Global Illumination Renderer; 100 Samplesbullet: 3000 Fallbullet: 1000 Stackbullet: 1000 Convexbullet: 136 Ragdollsbullet: Prim Trimeshbullet: Convex Trimeshencode-flac: WAV To FLACencode-mp3: WAV To MP3hint: FLOATapache: Static Web Page ServingGCC 4.9.2LLVM Clang 3.4.21564.14601.91438.232711.882865.361203.331874.9134.4929.8010.57175.155.445.143.421.121.333.8911.36286105446.0414484.472286.10602.79482.893091.205617.701635.932076.0718.6413.1014.311355.345.885.723.441.131.374.2111.62233817148.0813513.76OpenBenchmarking.org

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.2LLVM Clang 3.4.25001000150020002500SE +/- 12.44, N = 4SE +/- 1.39, N = 41564.142286.101. (CXX) g++ options: -O3 -march=native
OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: CompositeGCC 4.9.2LLVM Clang 3.4.2400800120016002000Min: 1550.1 / Avg: 1564.14 / Max: 1601.35Min: 2282.46 / Avg: 2286.1 / Max: 2288.841. (CXX) g++ options: -O3 -march=native

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Monte CarloGCC 4.9.2LLVM Clang 3.4.2130260390520650SE +/- 0.08, N = 4SE +/- 0.02, N = 4601.91602.791. (CXX) g++ options: -O3 -march=native
OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Monte CarloGCC 4.9.2LLVM Clang 3.4.2110220330440550Min: 601.66 / Avg: 601.91 / Max: 602.02Min: 602.75 / Avg: 602.79 / Max: 602.831. (CXX) g++ options: -O3 -march=native

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Fast Fourier TransformGCC 4.9.2LLVM Clang 3.4.2100200300400500SE +/- 3.06, N = 4SE +/- 1.49, N = 4438.23482.891. (CXX) g++ options: -O3 -march=native
OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Fast Fourier TransformGCC 4.9.2LLVM Clang 3.4.290180270360450Min: 429.43 / Avg: 438.23 / Max: 443.3Min: 479.82 / Avg: 482.89 / Max: 486.61. (CXX) g++ options: -O3 -march=native

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Sparse Matrix MultiplyGCC 4.9.2LLVM Clang 3.4.27001400210028003500SE +/- 3.52, N = 4SE +/- 3.27, N = 42711.883091.201. (CXX) g++ options: -O3 -march=native
OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Sparse Matrix MultiplyGCC 4.9.2LLVM Clang 3.4.25001000150020002500Min: 2704.9 / Avg: 2711.88 / Max: 2718.43Min: 3084.49 / Avg: 3091.2 / Max: 3097.411. (CXX) g++ options: -O3 -march=native

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Dense LU Matrix FactorizationGCC 4.9.2LLVM Clang 3.4.212002400360048006000SE +/- 2.96, N = 4SE +/- 2.87, N = 42865.365617.701. (CXX) g++ options: -O3 -march=native
OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Dense LU Matrix FactorizationGCC 4.9.2LLVM Clang 3.4.210002000300040005000Min: 2860.06 / Avg: 2865.36 / Max: 2872.44Min: 5609.38 / Avg: 5617.7 / Max: 5621.551. (CXX) g++ options: -O3 -march=native

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Jacobi Successive Over-RelaxationGCC 4.9.2LLVM Clang 3.4.2400800120016002000SE +/- 56.78, N = 4SE +/- 0.07, N = 41203.331635.931. (CXX) g++ options: -O3 -march=native
OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Jacobi Successive Over-RelaxationGCC 4.9.2LLVM Clang 3.4.230060090012001500Min: 1146.48 / Avg: 1203.33 / Max: 1373.68Min: 1635.81 / Avg: 1635.93 / Max: 1636.111. (CXX) g++ options: -O3 -march=native

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.2LLVM Clang 3.4.2400800120016002000SE +/- 24.12, N = 3SE +/- 2.88, N = 31874.912076.071. (CC) gcc options: -O3 -march=native
OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverGCC 4.9.2LLVM Clang 3.4.2400800120016002000Min: 1828.21 / Avg: 1874.91 / Max: 1908.74Min: 2072.89 / Avg: 2076.07 / Max: 2081.821. (CC) gcc options: -O3 -march=native

Timed Apache Compilation

This test times how long it takes to build the Apache HTTP Server. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed Apache Compilation 2.4.7Time To CompileGCC 4.9.2LLVM Clang 3.4.2816243240SE +/- 0.60, N = 4SE +/- 0.10, N = 334.4918.64
OpenBenchmarking.orgSeconds, Fewer Is BetterTimed Apache Compilation 2.4.7Time To CompileGCC 4.9.2LLVM Clang 3.4.2714212835Min: 33.02 / Avg: 34.49 / Max: 35.85Min: 18.5 / Avg: 18.64 / Max: 18.82

Timed PHP Compilation

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To CompileGCC 4.9.2LLVM Clang 3.4.2714212835SE +/- 0.48, N = 4SE +/- 0.12, N = 329.8013.101. (CC) gcc options: -O3 -march=native -pedantic -ldl -lz -lm
OpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To CompileGCC 4.9.2LLVM Clang 3.4.2714212835Min: 28.67 / Avg: 29.8 / Max: 30.72Min: 12.9 / Avg: 13.1 / Max: 13.321. (CC) gcc options: -O3 -march=native -pedantic -ldl -lz -lm

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.2LLVM Clang 3.4.248121620SE +/- 0.33, N = 6SE +/- 0.01, N = 310.5714.311. (CC) gcc options: -lm -lpthread -O3 -march=native
OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeGCC 4.9.2LLVM Clang 3.4.248121620Min: 9.79 / Avg: 10.57 / Max: 11.66Min: 14.29 / Avg: 14.31 / Max: 14.331. (CC) gcc options: -lm -lpthread -O3 -march=native

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.2LLVM Clang 3.4.2306090120150SE +/- 0.33, N = 3SE +/- 0.33, N = 3171351. (CXX) g++ options: -fopenmp -O3 -march=native
OpenBenchmarking.orgSeconds, Fewer Is BetterSmallpt 1.0Global Illumination Renderer; 100 SamplesGCC 4.9.2LLVM Clang 3.4.2306090120150Min: 17 / Avg: 17.33 / Max: 18Min: 135 / Avg: 135.33 / Max: 1361. (CXX) g++ options: -fopenmp -O3 -march=native

Bullet Physics Engine

This is a benchmark of the Bullet Physics Engine. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 3000 FallGCC 4.9.2LLVM Clang 3.4.21.20152.4033.60454.8066.0075SE +/- 0.23, N = 3SE +/- 0.09, N = 35.155.34-lglut -lGL -lGLU1. (CXX) g++ options: -O3 -march=native -rdynamic
OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 3000 FallGCC 4.9.2LLVM Clang 3.4.2246810Min: 4.78 / Avg: 5.15 / Max: 5.57Min: 5.24 / Avg: 5.34 / Max: 5.511. (CXX) g++ options: -O3 -march=native -rdynamic

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 1000 StackGCC 4.9.2LLVM Clang 3.4.21.3232.6463.9695.2926.615SE +/- 0.12, N = 3SE +/- 0.00, N = 35.445.88-lglut -lGL -lGLU1. (CXX) g++ options: -O3 -march=native -rdynamic
OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 1000 StackGCC 4.9.2LLVM Clang 3.4.2246810Min: 5.32 / Avg: 5.44 / Max: 5.67Min: 5.87 / Avg: 5.88 / Max: 5.891. (CXX) g++ options: -O3 -march=native -rdynamic

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 1000 ConvexGCC 4.9.2LLVM Clang 3.4.21.2872.5743.8615.1486.435SE +/- 0.01, N = 3SE +/- 0.01, N = 35.145.72-lglut -lGL -lGLU1. (CXX) g++ options: -O3 -march=native -rdynamic
OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 1000 ConvexGCC 4.9.2LLVM Clang 3.4.2246810Min: 5.13 / Avg: 5.14 / Max: 5.15Min: 5.7 / Avg: 5.72 / Max: 5.731. (CXX) g++ options: -O3 -march=native -rdynamic

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 136 RagdollsGCC 4.9.2LLVM Clang 3.4.20.7741.5482.3223.0963.87SE +/- 0.10, N = 3SE +/- 0.01, N = 33.423.44-lglut -lGL -lGLU1. (CXX) g++ options: -O3 -march=native -rdynamic
OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 136 RagdollsGCC 4.9.2LLVM Clang 3.4.2246810Min: 3.31 / Avg: 3.42 / Max: 3.62Min: 3.43 / Avg: 3.44 / Max: 3.451. (CXX) g++ options: -O3 -march=native -rdynamic

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: Prim TrimeshGCC 4.9.2LLVM Clang 3.4.20.25430.50860.76291.01721.2715SE +/- 0.00, N = 3SE +/- 0.00, N = 31.121.13-lglut -lGL -lGLU1. (CXX) g++ options: -O3 -march=native -rdynamic
OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: Prim TrimeshGCC 4.9.2LLVM Clang 3.4.2246810Min: 1.12 / Avg: 1.12 / Max: 1.12Min: 1.13 / Avg: 1.13 / Max: 1.141. (CXX) g++ options: -O3 -march=native -rdynamic

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: Convex TrimeshGCC 4.9.2LLVM Clang 3.4.20.30830.61660.92491.23321.5415SE +/- 0.00, N = 3SE +/- 0.00, N = 31.331.37-lglut -lGL -lGLU1. (CXX) g++ options: -O3 -march=native -rdynamic
OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: Convex TrimeshGCC 4.9.2LLVM Clang 3.4.2246810Min: 1.33 / Avg: 1.33 / Max: 1.34Min: 1.36 / Avg: 1.37 / Max: 1.371. (CXX) g++ options: -O3 -march=native -rdynamic

FLAC Audio Encoding

OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.0WAV To FLACGCC 4.9.2LLVM Clang 3.4.20.94731.89462.84193.78924.7365SE +/- 0.04, N = 5SE +/- 0.03, N = 53.894.211. (CXX) g++ options: -O3 -march=native -fvisibility=hidden -lm
OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.0WAV To FLACGCC 4.9.2LLVM Clang 3.4.2246810Min: 3.79 / Avg: 3.89 / Max: 4Min: 4.16 / Avg: 4.21 / Max: 4.31. (CXX) g++ options: -O3 -march=native -fvisibility=hidden -lm

LAME MP3 Encoding

LAME is an MP3 encoder licensed under the LGPL. This test measures the time required to encode a WAV file to MP3 format. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.99.3WAV To MP3GCC 4.9.2LLVM Clang 3.4.23691215SE +/- 0.03, N = 5SE +/- 0.01, N = 511.3611.621. (CC) gcc options: -pipe -O3 -march=native -lncurses -lm
OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.99.3WAV To MP3GCC 4.9.2LLVM Clang 3.4.23691215Min: 11.29 / Avg: 11.36 / Max: 11.43Min: 11.6 / Avg: 11.62 / Max: 11.631. (CC) gcc options: -pipe -O3 -march=native -lncurses -lm

Hierarchical INTegration

This test runs the U.S. Department of Energy's Ames Laboratory Hierarchical INTegration (HINT) benchmark. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgQUIPs, More Is BetterHierarchical INTegration 1.0Test: FLOATGCC 4.9.2LLVM Clang 3.4.260M120M180M240M300MSE +/- 11611298.60, N = 6SE +/- 239011.86, N = 3286105446.04233817148.081. (CC) gcc options: -O3 -march=native -lm
OpenBenchmarking.orgQUIPs, More Is BetterHierarchical INTegration 1.0Test: FLOATGCC 4.9.2LLVM Clang 3.4.250M100M150M200M250MMin: 234432923.6 / Avg: 286105446.04 / Max: 308844596.46Min: 233446053.05 / Avg: 233817148.08 / Max: 234263648.41. (CC) gcc options: -O3 -march=native -lm

Apache Benchmark

This is a test of ab, which is the Apache benchmark program. This test profile measures how many requests per second a given system can sustain when carrying out 1,000,000 requests with 100 requests being carried out concurrently. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgRequests Per Second, More Is BetterApache Benchmark 2.4.7Static Web Page ServingGCC 4.9.2LLVM Clang 3.4.23K6K9K12K15KSE +/- 69.54, N = 3SE +/- 35.18, N = 314484.4713513.761. (CC) gcc options: -shared -fPIC -pthread -O3 -march=native
OpenBenchmarking.orgRequests Per Second, More Is BetterApache Benchmark 2.4.7Static Web Page ServingGCC 4.9.2LLVM Clang 3.4.23K6K9K12K15KMin: 14372.43 / Avg: 14484.47 / Max: 14611.84Min: 13445.62 / Avg: 13513.76 / Max: 13563.041. (CC) gcc options: -shared -fPIC -pthread -O3 -march=native