Ubuntu 16.04 LTS Compiler Benchmarks

GCC 5.3.1, GCC 6.0, LLVM Clang 3.7, and LLVM Clang 3.8 compiler benchmarks using the Xenial Xerus packages for Ubuntu 16.04 LTS. 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 1602255-GA-UBUNTU16057
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
LLVM Clang 3.7.1
February 25 2016
 
LLVM Clang 3.8
February 25 2016
 
GCC 5.3.1
February 25 2016
 
GCC 6.0.0 20160125
February 25 2016
 
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):


Ubuntu 16.04 LTS Compiler BenchmarksOpenBenchmarking.orgPhoronix Test SuiteIntel Xeon E3-1280 v5 @ 4.00GHz (8 Cores)MSI C236A WORKSTATION (MS-7998) v1.0Intel Sky Lake16384MB120GB Samsung SSD 850MSI AMD Radeon R7 370 / R9 270/370 OEM 4096MBRealtek ALC1150DELL P2415QIntel ConnectionUbuntu 16.044.4.0-7-generic (x86_64)Unity 7.4.0X Server 1.17.3radeon 7.6.14.1 Mesa 11.1.2 Gallium 0.4Clang 3.7.1-1ubuntu4Clang 3.8.0-+rc2-1~exp1ubuntu2GCC 5.3.1 20160222 + clang (Ubuntu 5.3.1-9ubuntu3) 5.3.1 20160222GCC 6.0.0 20160125ext43840x2160ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilersFile-SystemScreen ResolutionUbuntu 16.04 LTS Compiler Benchmarks PerformanceSystem Logs- Scaling Governor: intel_pstate powersave- GCC 5.3.1: --build=x86_64-linux-gnu --disable-browser-plugin --disable-vtable-verify --disable-werror --enable-checking=release --enable-clocale=gnu --enable-gnu-unique-object --enable-gtk-cairo --enable-java-awt=gtk --enable-java-home --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --enable-libmpx --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-multilib --enable-nls --enable-objc-gc --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-arch-directory=amd64 --with-default-libstdcxx-abi=new --with-multilib-list=m32,m64,mx32 --with-tune=generic -v - GCC 6.0.0 20160125: --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-libmpx --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-default-libstdcxx-abi=new --with-multilib-list=m32,m64,mx32 --with-tune=generic -v

LLVM Clang 3.7.1LLVM Clang 3.8GCC 5.3.1GCC 6.0.0 20160125Result OverviewPhoronix Test Suite100%136%172%208%Timed PHP CompilationTimed Apache CompilationC-RayHimeno BenchmarkSciMarkSmallptLAME MP3 EncodingBullet Physics EngineFLAC Audio EncodingStockfishTimed HMMer SearchRedis7-Zip CompressionPostgreSQL pgbenchOpenSSLApache Benchmark

Ubuntu 16.04 LTS Compiler Benchmarksscimark2: Compositescimark2: Monte Carloscimark2: Fast Fourier Transformscimark2: Sparse Matrix Multiplyscimark2: Dense LU Matrix Factorizationscimark2: Jacobi Successive Over-Relaxationhimeno: Poisson Pressure Solvercompress-7zip: Compress Speed Testredis: GETredis: SETapache: Static Web Page Servingopenssl: RSA 4096-bit Performancepgbench: Buffer Test - Normal Load - Read Writepgbench: Buffer Test - Single Thread - Read Writepgbench: Buffer Test - Heavy Contention - Read Writestockfish: Total Timehmmer: Pfam Database Searchbuild-apache: Time To Compilebuild-php: Time To Compilec-ray: Total Timesmallpt: Global Illumination Renderer; 100 Samplesbullet: Raytestsbullet: 3000 Fallbullet: 1000 Stackbullet: 1000 Convexbullet: 136 Ragdollsbullet: Prim Trimeshbullet: Convex Trimeshencode-flac: WAV To FLACencode-mp3: WAV To MP3LLVM Clang 3.7.1LLVM Clang 3.8GCC 5.3.1GCC 6.0.0 201601252531.78627.96313.852538.567731.921446.612236.78236663096524.922146299.5048798.85678.536637.61600.247911.9533248.7319.8716.7925.72232.704.515.134.583.051.001.175.3111.472433.58284.07311.182538.517604.301429.851890.25240572823390.212088730.6748579.46677.236598.18592.327902.4932928.7122.2418.6925.94242.774.615.414.693.271.011.185.3112.091581.41735.64316.562667.003058.371129.462628.81230563112531.882076119.0649743.62694.006431.46573.407922.1332108.2923.6421.9614.67212.544.124.614.272.780.941.134.9510.861573.84737.18316.532610.333077.511127.682604.81237153021227.582178042.1549584.51693.406421.59559.297950.7531488.2243.5841.0514.83212.494.014.504.322.740.911.094.8610.61OpenBenchmarking.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 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.85001000150020002500SE +/- 1.60, N = 4SE +/- 1.20, N = 4SE +/- 1.81, N = 4SE +/- 6.89, N = 41581.411573.842531.782433.581. (CXX) g++ options: -O3 -march=native

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Monte CarloGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.8160320480640800SE +/- 2.36, N = 4SE +/- 1.66, N = 4SE +/- 1.44, N = 4SE +/- 1.94, N = 4735.64737.18627.96284.071. (CXX) g++ options: -O3 -march=native

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Fast Fourier TransformGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.870140210280350SE +/- 0.64, N = 4SE +/- 0.71, N = 4SE +/- 1.32, N = 4SE +/- 1.25, N = 4316.56316.53313.85311.181. (CXX) g++ options: -O3 -march=native

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Sparse Matrix MultiplyGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.86001200180024003000SE +/- 3.08, N = 4SE +/- 2.94, N = 4SE +/- 5.98, N = 4SE +/- 12.26, N = 42667.002610.332538.562538.511. (CXX) g++ options: -O3 -march=native

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Dense LU Matrix FactorizationGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.817003400510068008500SE +/- 4.62, N = 4SE +/- 6.30, N = 4SE +/- 21.73, N = 4SE +/- 37.88, N = 43058.373077.517731.927604.301. (CXX) g++ options: -O3 -march=native

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Jacobi Successive Over-RelaxationGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.830060090012001500SE +/- 3.14, N = 4SE +/- 1.05, N = 4SE +/- 9.02, N = 4SE +/- 5.76, N = 41129.461127.681446.611429.851. (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 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.86001200180024003000SE +/- 15.39, N = 3SE +/- 10.87, N = 3SE +/- 7.01, N = 3SE +/- 0.86, N = 32628.812604.812236.781890.251. (CC) gcc options: -O3 -march=native -mavx2

7-Zip Compression

This is a test of 7-Zip using p7zip with its integrated benchmark feature. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgMIPS, More Is Better7-Zip Compression 9.20.1Compress Speed TestGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.85K10K15K20K25KSE +/- 229.23, N = 3SE +/- 56.53, N = 3SE +/- 178.26, N = 3SE +/- 110.79, N = 3230562371523666240571. (CXX) g++ options: -pipe -lpthread

Redis

Redis is an open-source data structure server. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgRequests Per Second, More Is BetterRedis 3.0.1Test: GETGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.8700K1400K2100K2800K3500KSE +/- 133050.46, N = 6SE +/- 108149.76, N = 6SE +/- 29057.84, N = 3SE +/- 97365.18, N = 63112531.883021227.583096524.922823390.21-std=gnu99 -pipe -g3 -O3 -funroll-loops -march=native1. (CC) gcc options: -ggdb -rdynamic -lm -pthread -ldl

OpenBenchmarking.orgRequests Per Second, More Is BetterRedis 3.0.1Test: SETGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.8500K1000K1500K2000K2500KSE +/- 31524.64, N = 4SE +/- 45034.71, N = 6SE +/- 20142.16, N = 3SE +/- 32867.27, N = 32076119.062178042.152146299.502088730.67-std=gnu99 -pipe -g3 -O3 -funroll-loops -march=native1. (CC) gcc options: -ggdb -rdynamic -lm -pthread -ldl

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 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.811K22K33K44K55KSE +/- 33.52, N = 3SE +/- 78.30, N = 3SE +/- 247.92, N = 3SE +/- 283.69, N = 349743.6249584.5148798.8548579.461. (CC) gcc options: -shared -fPIC -pthread -O3 -march=native

OpenSSL

OpenSSL is an open-source toolkit that implements SSL (Secure Sockets Layer) and TLS (Transport Layer Security) protocols. This test measures the RSA 4096-bit performance of OpenSSL. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgSigns Per Second, More Is BetterOpenSSL 1.0.1gRSA 4096-bit PerformanceGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.8150300450600750SE +/- 0.10, N = 3SE +/- 0.15, N = 3SE +/- 0.72, N = 3SE +/- 0.69, N = 3694.00693.40678.53677.231. (CC) gcc options: -m64 -O3 -lssl -lcrypto -ldl

PostgreSQL pgbench

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 9.4.3Scaling: Buffer Test - Test: Normal Load - Mode: Read WriteGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.814002800420056007000SE +/- 75.13, N = 3SE +/- 93.15, N = 3SE +/- 117.87, N = 3SE +/- 66.57, N = 36431.466421.596637.616598.18-pthreads -mthreads-pthreads -mthreads1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -march=native -pthread -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 9.4.3Scaling: Buffer Test - Test: Single Thread - Mode: Read WriteGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.8130260390520650SE +/- 6.79, N = 3SE +/- 4.20, N = 3SE +/- 10.18, N = 4SE +/- 2.91, N = 3573.40559.29600.24592.32-pthreads -mthreads-pthreads -mthreads1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -march=native -pthread -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 9.4.3Scaling: Buffer Test - Test: Heavy Contention - Mode: Read WriteGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.82K4K6K8K10KSE +/- 61.24, N = 3SE +/- 38.92, N = 3SE +/- 39.32, N = 3SE +/- 35.36, N = 37922.137950.757911.957902.49-pthreads -mthreads-pthreads -mthreads1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -march=native -pthread -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

Stockfish

OpenBenchmarking.orgms, Fewer Is BetterStockfish 2014-11-26Total TimeGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.87001400210028003500SE +/- 4.36, N = 3SE +/- 9.94, N = 3SE +/- 5.13, N = 3SE +/- 5.36, N = 33210314833243292-flto-flto1. (CXX) g++ options: -lpthread -O3 -march=native -fno-exceptions -fno-rtti -ansi -pedantic -msse -msse3 -mpopcnt

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 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.8246810SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 38.298.228.738.711. (CC) gcc options: -O3 -march=native -pthread -lhmmer -lsquid -lm

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 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.81020304050SE +/- 0.05, N = 3SE +/- 0.07, N = 3SE +/- 0.03, N = 3SE +/- 0.09, N = 323.6443.5819.8722.24

Timed PHP Compilation

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To CompileGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.8918273645SE +/- 0.05, N = 3SE +/- 0.04, N = 3SE +/- 0.05, N = 3SE +/- 0.05, N = 321.9641.0516.7918.69-lpthread1. (CC) gcc options: -O3 -march=native -pedantic -ldl -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 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.8612182430SE +/- 0.03, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 314.6714.8325.7225.941. (CC) gcc options: -lm -lpthread -O3 -march=native

Smallpt

OpenBenchmarking.orgSeconds, Fewer Is BetterSmallpt 1.0Global Illumination Renderer; 100 SamplesGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.8612182430SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3212123241. (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: RaytestsGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.80.62331.24661.86992.49323.1165SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 32.542.492.702.771. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 3000 FallGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.81.03732.07463.11194.14925.1865SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.03, N = 3SE +/- 0.02, N = 34.124.014.514.611. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 1000 StackGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.81.21732.43463.65194.86926.0865SE +/- 0.02, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 3SE +/- 0.16, N = 34.614.505.135.411. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 1000 ConvexGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.81.05532.11063.16594.22125.2765SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.04, N = 3SE +/- 0.01, N = 34.274.324.584.691. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 136 RagdollsGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.80.73581.47162.20742.94323.679SE +/- 0.03, N = 3SE +/- 0.02, N = 3SE +/- 0.04, N = 3SE +/- 0.21, N = 32.782.743.053.271. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: Prim TrimeshGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.80.22730.45460.68190.90921.1365SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 30.940.911.001.011. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: Convex TrimeshGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.80.26550.5310.79651.0621.3275SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 31.131.091.171.181. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

FLAC Audio Encoding

This test times how long it takes to encode a sample WAV file to FLAC format three times. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.1WAV To FLACGCC 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.81.1972.3943.5914.7885.985SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.02, N = 5SE +/- 0.00, N = 54.954.865.315.31-fvisibility=hidden-fvisibility=hidden1. (CXX) g++ options: -O3 -march=native -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 5.3.1GCC 6.0.0 20160125LLVM Clang 3.7.1LLVM Clang 3.83691215SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.04, N = 510.8610.6111.4712.091. (CC) gcc options: -pipe -O3 -march=native -lm