GCC 5 LLVM 3.5 Compilers

Benchmarks by Michael Larabel for a future article on Phoronix.

HTML result view exported from: https://openbenchmarking.org/result/1409026-LI-GCC5LLVM355&grr&sor.

GCC 5 LLVM 3.5 CompilersProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionGCC 5.0 20140821LLVM Clang 3.5 RC3Intel Core i7-4790K @ 4.40GHz (8 Cores)ASRock Z97 Extreme6Intel 4th Gen Core DRAM16384MB256GB CORSAIR FORCE LXIntel HD 4600 (1250MHz)Intel Xeon E3-1200 v3/4thDELL S2409WIntel ConnectionUbuntu 14.103.16.0-11-generic (x86_64)Unity 7.3.1X Server 1.15.1intel 2.99.9143.3 Mesa 10.2.6GCC 5.0.0 20140821 + Clang 3.5.0-+rc3-1ubuntu1 + LLVM 3.5.0ext41920x1080Clang 3.5.0-+rc3-1ubuntu1 + LLVM 3.5.0OpenBenchmarking.orgCompiler Details- GCC 5.0 20140821: --build=x86_64-linux-gnu --disable-browser-plugin --disable-nls --disable-vtable-verify --disable-werror --enable-checking=yes --enable-clocale=gnu --enable-gnu-unique-object --enable-gtk-cairo --enable-java-awt=gtk --enable-java-home --enable-languages=c,ada,c++,java,go,fortran,objc,obj-c++ --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-multilib --enable-objc-gc --enable-plugin --enable-shared --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-arch-directory=amd64 --with-multilib-list=m32,m64 --with-tune=generic -v - LLVM Clang 3.5 RC3: Optimized build; Built Aug 21 2014 (08:43:19); Default target: x86_64-pc-linux-gnu; Host CPU: core-avx2Processor Details- Scaling Governor: intel_pstate powersave

GCC 5 LLVM 3.5 Compilersapache: Static Web Page Servinghint: FLOATencode-mp3: WAV To MP3encode-flac: WAV To FLACbullet: Convex Trimeshbullet: Prim Trimeshbullet: 136 Ragdollsbullet: 1000 Convexbullet: 1000 Stackbullet: 3000 Fallbullet: Raytestssmallpt: Global Illumination Renderer; 100 Samplesc-ray: Total Timebuild-apache: Time To Compilehimeno: Poisson Pressure Solverjohn-the-ripper: MD5john-the-ripper: Traditional DESjohn-the-ripper: Blowfishscimark2: Jacobi Successive Over-Relaxationscimark2: Dense LU Matrix Factorizationscimark2: Sparse Matrix Multiplyscimark2: Fast Fourier Transformscimark2: Monte Carloscimark2: CompositeGCC 5.0 20140821LLVM Clang 3.5 RC345394.42417102138.669.973.251.110.912.734.384.664.152.582215.0544.202085.24923841143533372271314.713195.542499.31320.25690.561604.0745976.02303054784.3611.933.581.100.902.714.314.514.192.532222.7016.831895.0218572673233311931329.512964.452601.83329.00655.981576.15OpenBenchmarking.org

Apache Benchmark

Static Web Page Serving

OpenBenchmarking.orgRequests Per Second, More Is BetterApache Benchmark 2.4.7Static Web Page ServingLLVM Clang 3.5 RC3GCC 5.0 2014082110K20K30K40K50KSE +/- 46.49, N = 3SE +/- 54.23, N = 345976.0245394.421. (CC) gcc options: -shared -fPIC -pthread -O3 -march=native

Hierarchical INTegration

Test: FLOAT

OpenBenchmarking.orgQUIPs, More Is BetterHierarchical INTegration 1.0Test: FLOATGCC 5.0 20140821LLVM Clang 3.5 RC390M180M270M360M450MSE +/- 917908.89, N = 3SE +/- 53155.97, N = 3417102138.66303054784.361. (CC) gcc options: -O3 -march=native -lm

LAME MP3 Encoding

WAV To MP3

OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.99.3WAV To MP3GCC 5.0 20140821LLVM Clang 3.5 RC33691215SE +/- 0.02, N = 5SE +/- 0.04, N = 59.9711.931. (CC) gcc options: -pipe -O3 -march=native -lncurses -lm

FLAC Audio Encoding

WAV To FLAC

OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.0WAV To FLACGCC 5.0 20140821LLVM Clang 3.5 RC30.80551.6112.41653.2224.0275SE +/- 0.04, N = 5SE +/- 0.03, N = 53.253.581. (CXX) g++ options: -O3 -march=native -fvisibility=hidden -lm

Bullet Physics Engine

Test: Convex Trimesh

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: Convex TrimeshLLVM Clang 3.5 RC3GCC 5.0 201408210.24980.49960.74940.99921.249SE +/- 0.00, N = 3SE +/- 0.00, N = 31.101.111. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

Bullet Physics Engine

Test: Prim Trimesh

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: Prim TrimeshLLVM Clang 3.5 RC3GCC 5.0 201408210.20480.40960.61440.81921.024SE +/- 0.00, N = 3SE +/- 0.00, N = 30.900.911. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

Bullet Physics Engine

Test: 136 Ragdolls

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 136 RagdollsLLVM Clang 3.5 RC3GCC 5.0 201408210.61431.22861.84292.45723.0715SE +/- 0.00, N = 3SE +/- 0.00, N = 32.712.731. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

Bullet Physics Engine

Test: 1000 Convex

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 1000 ConvexLLVM Clang 3.5 RC3GCC 5.0 201408210.98551.9712.95653.9424.9275SE +/- 0.01, N = 3SE +/- 0.00, N = 34.314.381. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

Bullet Physics Engine

Test: 1000 Stack

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 1000 StackLLVM Clang 3.5 RC3GCC 5.0 201408211.04852.0973.14554.1945.2425SE +/- 0.02, N = 3SE +/- 0.06, N = 34.514.661. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

Bullet Physics Engine

Test: 3000 Fall

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 3000 FallGCC 5.0 20140821LLVM Clang 3.5 RC30.94281.88562.82843.77124.714SE +/- 0.01, N = 3SE +/- 0.09, N = 34.154.191. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

Bullet Physics Engine

Test: Raytests

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: RaytestsLLVM Clang 3.5 RC3GCC 5.0 201408210.58051.1611.74152.3222.9025SE +/- 0.00, N = 3SE +/- 0.00, N = 32.532.581. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

Smallpt

Global Illumination Renderer; 100 Samples

OpenBenchmarking.orgSeconds, Fewer Is BetterSmallpt 1.0Global Illumination Renderer; 100 SamplesGCC 5.0 20140821LLVM Clang 3.5 RC3510152025SE +/- 0.00, N = 3SE +/- 0.00, N = 322221. (CXX) g++ options: -fopenmp -O3 -march=native

C-Ray

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeGCC 5.0 20140821LLVM Clang 3.5 RC3510152025SE +/- 0.00, N = 3SE +/- 0.01, N = 315.0522.701. (CC) gcc options: -lm -lpthread -O3 -march=native

Timed Apache Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed Apache Compilation 2.4.7Time To CompileLLVM Clang 3.5 RC3GCC 5.0 201408211020304050SE +/- 0.13, N = 3SE +/- 0.11, N = 316.8344.20

Himeno Benchmark

Poisson Pressure Solver

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverGCC 5.0 20140821LLVM Clang 3.5 RC3400800120016002000SE +/- 8.26, N = 3SE +/- 1.95, N = 32085.241895.021. (CC) gcc options: -O3 -march=native

John The Ripper

Test: MD5

OpenBenchmarking.orgReal C/S, More Is BetterJohn The Ripper 1.8.0Test: MD5GCC 5.0 20140821LLVM Clang 3.5 RC320K40K60K80K100KSE +/- 204.48, N = 3SE +/- 2.03, N = 392384185721. (CC) gcc options: -fopenmp -lcrypt

John The Ripper

Test: Traditional DES

OpenBenchmarking.orgReal C/S, More Is BetterJohn The Ripper 1.8.0Test: Traditional DESGCC 5.0 20140821LLVM Clang 3.5 RC32M4M6M8M10MSE +/- 26333.33, N = 3SE +/- 20019.44, N = 31143533367323331. (CC) gcc options: -fopenmp -lcrypt

John The Ripper

Test: Blowfish

OpenBenchmarking.orgReal C/S, More Is BetterJohn The Ripper 1.8.0Test: BlowfishGCC 5.0 20140821LLVM Clang 3.5 RC315003000450060007500SE +/- 25.00, N = 3SE +/- 1.00, N = 3722711931. (CC) gcc options: -fopenmp -lcrypt

SciMark

Computational Test: Jacobi Successive Over-Relaxation

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Jacobi Successive Over-RelaxationLLVM Clang 3.5 RC3GCC 5.0 2014082130060090012001500SE +/- 0.22, N = 4SE +/- 4.03, N = 41329.511314.711. (CXX) g++ options: -O3 -march=native

SciMark

Computational Test: Dense LU Matrix Factorization

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Dense LU Matrix FactorizationGCC 5.0 20140821LLVM Clang 3.5 RC37001400210028003500SE +/- 9.14, N = 4SE +/- 5.37, N = 43195.542964.451. (CXX) g++ options: -O3 -march=native

SciMark

Computational Test: Sparse Matrix Multiply

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Sparse Matrix MultiplyLLVM Clang 3.5 RC3GCC 5.0 201408216001200180024003000SE +/- 2.84, N = 4SE +/- 6.83, N = 42601.832499.311. (CXX) g++ options: -O3 -march=native

SciMark

Computational Test: Fast Fourier Transform

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Fast Fourier TransformLLVM Clang 3.5 RC3GCC 5.0 2014082170140210280350SE +/- 0.83, N = 4SE +/- 0.87, N = 4329.00320.251. (CXX) g++ options: -O3 -march=native

SciMark

Computational Test: Monte Carlo

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Monte CarloGCC 5.0 20140821LLVM Clang 3.5 RC3150300450600750SE +/- 1.73, N = 4SE +/- 43.30, N = 4690.56655.981. (CXX) g++ options: -O3 -march=native

SciMark

Computational Test: Composite

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: CompositeGCC 5.0 20140821LLVM Clang 3.5 RC330060090012001500SE +/- 1.52, N = 4SE +/- 8.32, N = 41604.071576.151. (CXX) g++ options: -O3 -march=native


Phoronix Test Suite v10.8.5