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
Ubuntu 16.04 LTS Compiler Benchmarks,
"Timed HMMer Search 2.3.2 - Pfam Database Search",
Lower Results Are Better
"LLVM Clang 3.7.1",8.7473609447479,8.7292070388794,8.7235321998596
"LLVM Clang 3.8",8.7157411575317,8.7290639877319,8.6724209785461
"GCC 5.3.1",8.3057010173798,8.2831838130951,8.2959039211273
"GCC 6.0.0 20160125",8.2408361434937,8.2343761920929,8.1967620849609
"SciMark 2.0 - Computational Test: Composite",
Higher Results Are Better
"LLVM Clang 3.7.1",2527.48,2535.3,2530.18,2534.16
"LLVM Clang 3.8",2415.51,2445.83,2442.69,2430.3
"GCC 5.3.1",1577.64,1582.49,1585.18,1580.31
"GCC 6.0.0 20160125",1573.68,1572.68,1577.25,1571.76
"SciMark 2.0 - Computational Test: Monte Carlo",
Higher Results Are Better
"LLVM Clang 3.7.1",632,625.23,627.06,627.54
"LLVM Clang 3.8",283.2,289.17,279.79,284.11
"GCC 5.3.1",734.04,736.35,741.7,730.45
"GCC 6.0.0 20160125",734.13,737.09,741.8,735.69
"SciMark 2.0 - Computational Test: Fast Fourier Transform",
Higher Results Are Better
"LLVM Clang 3.7.1",315,314.29,310.04,316.07
"LLVM Clang 3.8",308.18,314.19,311.81,310.53
"GCC 5.3.1",317.42,315.59,317.88,315.34
"GCC 6.0.0 20160125",315.43,316.72,315.5,318.46
"SciMark 2.0 - Computational Test: Sparse Matrix Multiply",
Higher Results Are Better
"LLVM Clang 3.7.1",2555.99,2533.51,2528.93,2535.8
"LLVM Clang 3.8",2553.15,2564.8,2512.53,2523.57
"GCC 5.3.1",2662.7,2661.46,2674.74,2669.11
"GCC 6.0.0 20160125",2618.31,2609.68,2604.16,2609.17
"SciMark 2.0 - Computational Test: Dense LU Matrix Factorization",
Higher Results Are Better
"LLVM Clang 3.7.1",7671.6,7769.66,7756.44,7729.96
"LLVM Clang 3.8",7505.14,7614.61,7689.54,7607.92
"GCC 5.3.1",3052.51,3071.72,3057.46,3051.8
"GCC 6.0.0 20160125",3073.71,3074.78,3095.47,3066.06
"SciMark 2.0 - Computational Test: Jacobi Successive Over-Relaxation",
Higher Results Are Better
"LLVM Clang 3.7.1",1462.79,1433.8,1428.42,1461.42
"LLVM Clang 3.8",1427.86,1446.37,1419.79,1425.39
"GCC 5.3.1",1121.55,1127.32,1134.13,1134.85
"GCC 6.0.0 20160125",1126.83,1125.11,1129.33,1129.44
"Himeno Benchmark 3.0 - Poisson Pressure Solver",
Higher Results Are Better
"LLVM Clang 3.7.1",2223.100065,2240.947472,2246.291102
"LLVM Clang 3.8",1888.760408,1890.256078,1891.72461
"GCC 5.3.1",2648.41676,2598.46607,2639.550478
"GCC 6.0.0 20160125",2608.435443,2621.564213,2584.443928
"7-Zip Compression 9.20.1 - Compress Speed Test",
Higher Results Are Better
"LLVM Clang 3.7.1",23891,23793,23314
"LLVM Clang 3.8",24259,23877,24036
"GCC 5.3.1",23385,23168,22615
"GCC 6.0.0 20160125",23705,23818,23623
"Timed Apache Compilation 2.4.7 - Time To Compile",
Lower Results Are Better
"LLVM Clang 3.7.1",19.925638198853,19.871728897095,19.823233127594
"LLVM Clang 3.8",22.099282979965,22.404723882675,22.22433590889
"GCC 5.3.1",23.560090065002,23.612679958344,23.739331007004
"GCC 6.0.0 20160125",43.454167127609,43.696846961975,43.591683149338
"Timed PHP Compilation 5.2.9 - Time To Compile",
Lower Results Are Better
"LLVM Clang 3.7.1",16.860377073288,16.701768159866,16.806910991669
"LLVM Clang 3.8",18.650931835175,18.636691093445,18.783962965012
"GCC 5.3.1",22.056933879852,21.95401597023,21.871578931808
"GCC 6.0.0 20160125",40.995535850525,41.029700994492,41.119544029236
"C-Ray 1.1 - Total Time",
Lower Results Are Better
"LLVM Clang 3.7.1",25.705,25.756,25.687
"LLVM Clang 3.8",25.967,25.919,25.927
"GCC 5.3.1",14.636,14.641,14.731
"GCC 6.0.0 20160125",14.802,14.818,14.86
"Smallpt 1.0 - Global Illumination Renderer; 100 Samples",
Lower Results Are Better
"LLVM Clang 3.7.1",23,23,24
"LLVM Clang 3.8",24,24,24
"GCC 5.3.1",21,21,21
"GCC 6.0.0 20160125",20,21,21
"Stockfish 2014-11-26 - Total Time",
Lower Results Are Better
"LLVM Clang 3.7.1",3317,3334,3321
"LLVM Clang 3.8",3281,3298,3296
"GCC 5.3.1",3202,3217,3211
"GCC 6.0.0 20160125",3162,3154,3129
"Bullet Physics Engine 2.81 - Test: Raytests",
Lower Results Are Better
"LLVM Clang 3.7.1",2.716689,2.70756,2.684024
"LLVM Clang 3.8",2.764085,2.765786,2.777359
"GCC 5.3.1",2.573114,2.510165,2.533545
"GCC 6.0.0 20160125",2.473279,2.478786,2.516274
"Bullet Physics Engine 2.81 - Test: 3000 Fall",
Lower Results Are Better
"LLVM Clang 3.7.1",4.49568,4.569695,4.477134
"LLVM Clang 3.8",4.65699,4.593355,4.589241
"GCC 5.3.1",4.12179,4.12016,4.118485
"GCC 6.0.0 20160125",3.989495,4.030515,3.99666
"Bullet Physics Engine 2.81 - Test: 1000 Stack",
Lower Results Are Better
"LLVM Clang 3.7.1",5.151309,5.165164,5.087782
"LLVM Clang 3.8",5.723563,5.26231,5.232261
"GCC 5.3.1",4.630309,4.57581,4.615305
"GCC 6.0.0 20160125",4.471025,4.520025,4.518588
"Bullet Physics Engine 2.81 - Test: 1000 Convex",
Lower Results Are Better
"LLVM Clang 3.7.1",4.661935,4.565994,4.517189
"LLVM Clang 3.8",4.693695,4.710104,4.672915
"GCC 5.3.1",4.294044,4.259379,4.255265
"GCC 6.0.0 20160125",4.27902,4.363479,4.311668
"Bullet Physics Engine 2.81 - Test: 136 Ragdolls",
Lower Results Are Better
"LLVM Clang 3.7.1",3.131931,3.02339,2.999841
"LLVM Clang 3.8",3.697006,3.06354,3.046046
"GCC 5.3.1",2.829575,2.72198,2.798045
"GCC 6.0.0 20160125",2.72191,2.73001,2.78275
"Bullet Physics Engine 2.81 - Test: Prim Trimesh",
Lower Results Are Better
"LLVM Clang 3.7.1",1.028115,0.99205,0.9816
"LLVM Clang 3.8",1.013785,1.02569,0.999035
"GCC 5.3.1",0.934775,0.924415,0.96584
"GCC 6.0.0 20160125",0.902505,0.93095,0.908825
"Bullet Physics Engine 2.81 - Test: Convex Trimesh",
Lower Results Are Better
"LLVM Clang 3.7.1",1.19585,1.166725,1.14227
"LLVM Clang 3.8",1.192515,1.18434,1.17455
"GCC 5.3.1",1.11959,1.143675,1.135885
"GCC 6.0.0 20160125",1.08924,1.091965,1.081245
"FLAC Audio Encoding 1.3.1 - WAV To FLAC",
Lower Results Are Better
"LLVM Clang 3.8",5.3608090877533,5.3404140472412,5.311644077301,5.3360531330109,5.2303030490875
"LLVM Clang 3.7.1",5.263335943222,5.2942268848419,5.3578720092773,5.320060968399,5.3152029514313
"LLVM Clang 3.8",5.3134908676147,5.3160929679871,5.301707983017,5.3118178844452,5.3040552139282
"GCC 5.3.1",4.9605329036713,4.956237077713,4.9439167976379,4.9497668743134,4.9421238899231
"GCC 6.0.0 20160125",4.861053943634,4.8495898246765,4.8571929931641,4.8662979602814,4.8568389415741
"LAME MP3 Encoding 3.99.3 - WAV To MP3",
Lower Results Are Better
"LLVM Clang 3.7.1",11.47807598114,11.455163955688,11.470170974731,11.490792989731,11.473060846329
"LLVM Clang 3.8",12.104830026627,12.014185190201,12.000457048416,12.207390069962,12.106920003891
"GCC 5.3.1",10.870515108109,10.856787204742,10.837475061417,10.874949932098,10.880131006241
"GCC 6.0.0 20160125",10.619333982468,10.633233070374,10.582150936127,10.60329079628,10.62588095665
"OpenSSL 1.0.1g - RSA 4096-bit Performance",
Higher Results Are Better
"LLVM Clang 3.7.1",677.1,679.3,679.2
"LLVM Clang 3.8",677.3,678.4,676
"GCC 5.3.1",694.1,693.8,694.1
"GCC 6.0.0 20160125",693.5,693.6,693.1
"PostgreSQL pgbench 9.4.3 - Scaling: Buffer Test - Test: Normal Load - Mode: Read Write",
Higher Results Are Better
"LLVM Clang 3.7.1",6419.043606,6670.369011,6823.408883
"LLVM Clang 3.8",6478.856317,6708.995693,6606.692177
"GCC 5.3.1",6292.220241,6452.180348,6549.981449
"GCC 6.0.0 20160125",6235.302615,6513.20053,6516.260393
"PostgreSQL pgbench 9.4.3 - Scaling: Buffer Test - Test: Single Thread - Mode: Read Write",
Higher Results Are Better
"LLVM Clang 3.7.1",573.492931,622.223947,606.661025,598.580779
"LLVM Clang 3.8",587.591753,597.609595,591.750857
"GCC 5.3.1",564.923105,568.446925,586.818966
"GCC 6.0.0 20160125",552.07535,566.639727,559.169
"PostgreSQL pgbench 9.4.3 - Scaling: Buffer Test - Test: Heavy Contention - Mode: Read Write",
Higher Results Are Better
"LLVM Clang 3.7.1",7987.048148,7894.591675,7854.200695
"LLVM Clang 3.8",7970.755982,7884.352033,7852.367789
"GCC 5.3.1",8039.101653,7895.114646,7832.183843
"GCC 6.0.0 20160125",7943.397433,7887.304921,8021.542368
"Redis 3.0.1 - Test: GET",
Higher Results Are Better
"LLVM Clang 3.7.1",3115264.75,3134796.25,3039513.75
"LLVM Clang 3.8",2994012,2832861.25,3030303,2732240.5,2392344.5,2958580
"GCC 5.3.1",2808988.75,3378378.25,2597402.75,3322259.25,3278688.5,3289473.75
"GCC 6.0.0 20160125",3322259.25,3039513.75,2793296,3030303,3289473.75,2652519.75
"Redis 3.0.1 - Test: SET",
Higher Results Are Better
"LLVM Clang 3.7.1",2183406,2141327.5,2114165
"LLVM Clang 3.8",2109704.5,2132196,2024291.5
"GCC 5.3.1",2155172.5,2004008,2057613.12,2087682.62
"GCC 6.0.0 20160125",1976284.62,2227171.5,2207505.5,2132196,2247191,2277904.25
"Apache Benchmark 2.4.7 - Static Web Page Serving",
Higher Results Are Better
"LLVM Clang 3.7.1",49288.39,48485.82,48622.35
"LLVM Clang 3.8",49144.77,48254.8,48338.81
"GCC 5.3.1",49802.57,49741.78,49686.51
"GCC 6.0.0 20160125",49691.93,49629.49,49432.11