Clang GCC Compilers Fedora 21

GCC and LLVM Clang compiler benchmarks by Michael Larabel for a future article on Phoronix.com.

HTML result view exported from: https://openbenchmarking.org/result/1411070-PTS-CLANGGCC79&grs.

Clang GCC Compilers Fedora 21ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionGCC 4.9.2LLVM Clang 3.4.2Intel 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.2ext41920x1080Clang 3.4.2 + LLVM 3.4.2OpenBenchmarking.orgCompiler Details- 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 Processor Details- Scaling Governor: intel_pstate powersaveSystem Details- SELinux: Enabled.

Clang GCC Compilers Fedora 21smallpt: Global Illumination Renderer; 100 Samplesbuild-php: Time To Compilescimark2: Dense LU Matrix Factorizationbuild-apache: Time To Compilescimark2: Compositescimark2: Sparse Matrix Multiplybullet: 1000 Convexhimeno: Poisson Pressure Solverscimark2: Fast Fourier Transformencode-flac: WAV To FLACbullet: 1000 Stackapache: Static Web Page Servingbullet: Convex Trimeshencode-mp3: WAV To MP3bullet: Prim Trimeshbullet: 136 Ragdollsscimark2: Monte Carlohint: FLOATbullet: 3000 Fallc-ray: Total Timescimark2: Jacobi Successive Over-RelaxationGCC 4.9.2LLVM Clang 3.4.21729.802865.3634.491564.142711.885.141874.91438.233.895.4414484.471.3311.361.123.42601.91286105446.045.1510.571203.3313513.105617.7018.642286.103091.205.722076.07482.894.215.8813513.761.3711.621.133.44602.79233817148.085.3414.311635.93OpenBenchmarking.org

Smallpt

Global Illumination Renderer; 100 Samples

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

Timed PHP Compilation

Time To Compile

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

SciMark

Computational Test: Dense LU Matrix Factorization

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

Timed Apache Compilation

Time To Compile

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

SciMark

Computational Test: Composite

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

SciMark

Computational Test: Sparse Matrix Multiply

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

Bullet Physics Engine

Test: 1000 Convex

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

Himeno Benchmark

Poisson Pressure Solver

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

SciMark

Computational Test: Fast Fourier Transform

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

FLAC Audio Encoding

WAV To FLAC

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

Bullet Physics Engine

Test: 1000 Stack

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

Apache Benchmark

Static Web Page Serving

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

Bullet Physics Engine

Test: Convex Trimesh

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

LAME MP3 Encoding

WAV To MP3

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

Bullet Physics Engine

Test: Prim Trimesh

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

Bullet Physics Engine

Test: 136 Ragdolls

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

SciMark

Computational Test: Monte Carlo

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

Hierarchical INTegration

Test: FLOAT

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

Bullet Physics Engine

Test: 3000 Fall

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

C-Ray

Total Time

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

SciMark

Computational Test: Jacobi Successive Over-Relaxation

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


Phoronix Test Suite v10.8.5