GCC 6.2 vs. LLVM Clang 3.9 compiler benchmarks on Clear Linux. Tests by Michael Larabel for a future article.
Compare your own system(s) to this result file with the
Phoronix Test Suite by running the command:
phoronix-test-suite benchmark 1611113-TA-COMPILERB05
{
"title": "Compiler Benchmarks On Clear Linux OS",
"last_modified": "2016-11-11 16:04:09",
"description": "GCC 6.2 vs. LLVM Clang 3.9 compiler benchmarks on Clear Linux. Tests by Michael Larabel for a future article.",
"systems": {
"GCC 6.2.0": {
"identifier": "GCC 6.2.0",
"hardware": {
"Processor": "Intel Core i5-7200U @ 3.10GHz (4 Cores)",
"Motherboard": "MSI MS-B1421 v1.0",
"Chipset": "Intel Device 5904",
"Memory": "8192MB",
"Disk": "256GB CORSAIR FORCE LX",
"Graphics": "Intel Device 5916 (1000MHz)",
"Audio": "Realtek ALC887-VD",
"Monitor": "DELL P2415Q",
"Network": "Realtek RTL8111\/8168\/8411 + Intel Device 24fb"
},
"software": {
"OS": "Clear Linux 11620",
"Kernel": "4.8.6-272.native (x86_64)",
"Desktop": "Xfce 4.12",
"Display Server": "X Server 1.18.4",
"Display Driver": "intel 2.99.917",
"OpenGL": "4.5 Mesa 13.0.0",
"Vulkan": "1.0.3",
"Compiler": "GCC 6.2.0 + clang (Clear Linux OS for Intel Architecture) 6.2.0 + LLVM 3.9.0",
"File-System": "ext4",
"Screen Resolution": "1920x1080"
},
"user": "root",
"timestamp": "2016-11-10 22:03:49",
"data": {
"compiler-configuration": "--build=x86_64-generic-linux --disable-libunwind-exceptions --disable-multiarch --disable-vtable-verify --enable-__cxa_atexit --enable-bootstrap --enable-clocale=gnu --enable-gnu-indirect-function --enable-languages=c,c++,fortran,go --enable-ld=default --enable-libmpx --enable-libstdcxx-pch --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --exec-prefix=\/usr --includedir=\/usr\/include --target=x86_64-generic-linux --with-arch=westmere --with-glibc-version=2.19 --with-gnu-ld --with-isl --with-ppl=yes --with-tune=haswell",
"cpu-scaling-governor": "intel_pstate performance"
}
},
"Clang 3.9.0": {
"identifier": "Clang 3.9.0",
"hardware": {
"Processor": "Intel Core i5-7200U @ 3.10GHz (4 Cores)",
"Motherboard": "MSI MS-B1421 v1.0",
"Chipset": "Intel Device 5904",
"Memory": "8192MB",
"Disk": "256GB CORSAIR FORCE LX",
"Graphics": "Intel Device 5916 (1000MHz)",
"Audio": "Realtek ALC887-VD",
"Monitor": "DELL P2415Q",
"Network": "Realtek RTL8111\/8168\/8411 + Intel Device 24fb"
},
"software": {
"OS": "Clear Linux 11620",
"Kernel": "4.8.6-272.native (x86_64)",
"Desktop": "Xfce 4.12",
"Display Server": "X Server 1.18.4",
"Display Driver": "intel 2.99.917",
"OpenGL": "4.5 Mesa 13.0.0",
"Vulkan": "1.0.3",
"Compiler": "Clang 3.9.0 + LLVM 3.9.0",
"File-System": "ext4",
"Screen Resolution": "3840x2160"
},
"user": "root",
"timestamp": "2016-11-11 14:13:54",
"data": {
"compiler-configuration": "Optimized build with assertions; Default target: x86_64-unknown-linux-gnu; Host CPU: broadwell",
"cpu-scaling-governor": "intel_pstate performance"
}
}
},
"results": {
"90c619324fe40626154ebb0a68445c6eb32752e9": {
"identifier": "pts\/c-ray-1.1.0",
"title": "C-Ray",
"app_version": "1.1",
"description": "Total Time",
"scale": "Seconds",
"proportion": "LIB",
"display_format": "BAR_GRAPH",
"results": {
"GCC 6.2.0": {
"value": 37.85000000000000142108547152020037174224853515625,
"raw_values": [
37.85600000000000164845914696343243122100830078125,
37.84700000000000130739863379858434200286865234375,
37.8479999999999989768184605054557323455810546875
],
"details": {
"compiler-options": {
"compiler-type": "CC",
"compiler": "gcc",
"compiler-options": "-lm -lpthread -O3 -march=native"
}
}
},
"Clang 3.9.0": {
"value": 60.1700000000000017053025658242404460906982421875,
"raw_values": [
60.18900000000000005684341886080801486968994140625,
60.1700000000000017053025658242404460906982421875,
60.14099999999999823785401531495153903961181640625
],
"details": {
"compiler-options": {
"compiler-type": "CC",
"compiler": "gcc",
"compiler-options": "-lm -lpthread -O3 -march=native"
}
}
}
}
},
"d11d182fb4651bdb472719f185d32623628a0332": {
"identifier": "pts\/build-php-1.3.1",
"title": "Timed PHP Compilation",
"app_version": "5.2.9",
"description": "Time To Compile",
"scale": "Seconds",
"proportion": "LIB",
"display_format": "BAR_GRAPH",
"results": {
"GCC 6.2.0": {
"value": 60.49000000000000198951966012828052043914794921875,
"raw_values": [
60.23819494247400285757976234890520572662353515625,
60.37808799743699950113295926712453365325927734375,
60.854383945465002625496708787977695465087890625
],
"details": {
"compiler-options": {
"compiler-type": "CC",
"compiler": "gcc",
"compiler-options": "-O3 -march=native -pedantic -ldl -lz -lm"
}
}
},
"Clang 3.9.0": {
"value": 95.31000000000000227373675443232059478759765625,
"raw_values": [
95.1806688308719941460367408581078052520751953125,
95.352293014525997705277404747903347015380859375,
95.399771928787004071637056767940521240234375
],
"details": {
"compiler-options": {
"compiler-type": "CC",
"compiler": "gcc",
"compiler-options": "-O3 -march=native -pedantic -ldl -lz -lm"
}
}
}
}
},
"bdc07ed70add05d53911a3c348324a74c88e4be3": {
"identifier": "pts\/scimark2-1.2.0",
"title": "SciMark",
"app_version": "2.0",
"arguments": "TEST_COMPOSITE",
"description": "Computational Test: Composite",
"scale": "Mflops",
"proportion": "HIB",
"display_format": "BAR_GRAPH",
"results": {
"GCC 6.2.0": {
"value": 1057.549999999999954525264911353588104248046875,
"raw_values": [
1089.089999999999918145476840436458587646484375,
1132.48000000000001818989403545856475830078125,
976.549999999999954525264911353588104248046875,
1052.8699999999998908606357872486114501953125,
979.8500000000000227373675443232059478759765625,
1103.0399999999999636202119290828704833984375,
1024.859999999999899955582804977893829345703125,
1101.640000000000100044417195022106170654296875
],
"details": {
"compiler-options": {
"compiler-type": "CXX",
"compiler": "g++",
"compiler-options": "-O3 -march=native"
}
}
},
"Clang 3.9.0": {
"value": 1603.19000000000005456968210637569427490234375,
"raw_values": [
1598.76999999999998181010596454143524169921875,
1604.450000000000045474735088646411895751953125,
1604.609999999999899955582804977893829345703125,
1604.910000000000081854523159563541412353515625
],
"details": {
"compiler-options": {
"compiler-type": "CXX",
"compiler": "g++",
"compiler-options": "-O3 -march=native"
}
}
}
}
},
"fa4819ec386ee90bde5e2b7a95630f48dcbf1d87": {
"identifier": "pts\/build-imagemagick-1.7.2",
"title": "Timed ImageMagick Compilation",
"app_version": "6.9.0",
"description": "Time To Compile",
"scale": "Seconds",
"proportion": "LIB",
"display_format": "BAR_GRAPH",
"results": {
"GCC 6.2.0": {
"value": 142.55000000000001136868377216160297393798828125,
"raw_values": [
142.18438887595999631230370141565799713134765625,
141.970136880870001050425344146788120269775390625,
143.482410192489993505660095252096652984619140625
]
},
"Clang 3.9.0": {
"value": 189.599999999999994315658113919198513031005859375,
"raw_values": [
192.594460010530013960305950604379177093505859375,
191.0349371433300120770581997931003570556640625,
185.18465805054000838936190120875835418701171875
]
}
}
},
"ee52f6aaccbc9d5d65fd2aa66e1286d4bfc7cad1": {
"identifier": "pts\/scimark2-1.2.0",
"title": "SciMark",
"app_version": "2.0",
"arguments": "TEST_SOR",
"description": "Computational Test: Jacobi Successive Over-Relaxation",
"scale": "Mflops",
"proportion": "HIB",
"display_format": "BAR_GRAPH",
"results": {
"GCC 6.2.0": {
"value": 875.6200000000000045474735088646411895751953125,
"raw_values": [
879.1000000000000227373675443232059478759765625,
881.80999999999994543031789362430572509765625,
868.48000000000001818989403545856475830078125,
873.1000000000000227373675443232059478759765625
],
"details": {
"compiler-options": {
"compiler-type": "CXX",
"compiler": "g++",
"compiler-options": "-O3 -march=native"
}
}
},
"Clang 3.9.0": {
"value": 1162.920000000000072759576141834259033203125,
"raw_values": [
1154.44000000000005456968210637569427490234375,
1165.720000000000027284841053187847137451171875,
1165.799999999999954525264911353588104248046875,
1165.73000000000001818989403545856475830078125
],
"details": {
"compiler-options": {
"compiler-type": "CXX",
"compiler": "g++",
"compiler-options": "-O3 -march=native"
}
}
}
}
},
"1393f9624fad95f77195583bd5b13130e9e5ea26": {
"identifier": "pts\/crafty-1.3.1",
"title": "Crafty",
"app_version": "23.4",
"description": "Elapsed Time",
"scale": "Seconds",
"proportion": "LIB",
"display_format": "BAR_GRAPH",
"results": {
"GCC 6.2.0": {
"value": 95.7699999999999960209606797434389591217041015625,
"raw_values": [
96.93999999999999772626324556767940521240234375,
95.3299999999999982946974341757595539093017578125,
95.0499999999999971578290569595992565155029296875
],
"details": {
"compiler-options": {
"compiler-type": "CC",
"compiler": "gcc",
"compiler-options": "-lstdc++ -lm"
}
}
},
"Clang 3.9.0": {
"value": 78.56999999999999317878973670303821563720703125,
"raw_values": [
78.56000000000000227373675443232059478759765625,
78.6099999999999994315658113919198513031005859375,
78.530000000000001136868377216160297393798828125
],
"details": {
"compiler-options": {
"compiler-type": "CC",
"compiler": "gcc",
"compiler-options": "-lstdc++ -lm"
}
}
}
}
},
"dba5ba09c3fc2dde6afef576a5bbd3fe836a8d46": {
"identifier": "pts\/openssl-1.9.0",
"title": "OpenSSL",
"app_version": "1.0.1g",
"description": "RSA 4096-bit Performance",
"scale": "Signs Per Second",
"proportion": "HIB",
"display_format": "BAR_GRAPH",
"results": {
"GCC 6.2.0": {
"value": 243.969999999999998863131622783839702606201171875,
"raw_values": [
247,
237.900000000000005684341886080801486968994140625,
247
],
"details": {
"compiler-options": {
"compiler-type": "CC",
"compiler": "gcc",
"compiler-options": "-m64 -O3 -lssl -lcrypto -ldl"
}
}
},
"Clang 3.9.0": {
"value": 289.56999999999999317878973670303821563720703125,
"raw_values": [
289.6000000000000227373675443232059478759765625,
289.5,
289.6000000000000227373675443232059478759765625
],
"details": {
"compiler-options": {
"compiler-type": "CC",
"compiler": "gcc",
"compiler-options": "-m64 -O3 -lssl -lcrypto -ldl"
}
}
}
}
},
"d8e528781a2d832401861507c398455c72efba22": {
"identifier": "pts\/tscp-1.2.1",
"title": "TSCP",
"app_version": "1.81",
"description": "AI Chess Performance",
"scale": "Nodes Per Second",
"proportion": "HIB",
"display_format": "BAR_GRAPH",
"results": {
"GCC 6.2.0": {
"value": 1011505,
"raw_values": [
1035296,
1023750,
910376,
1041168,
946353,
1033354,
1049100,
1012459,
1045119,
1018073
],
"details": {
"compiler-options": {
"compiler-type": "CC",
"compiler": "gcc",
"compiler-options": "-O3 -march=native"
}
}
},
"Clang 3.9.0": {
"value": 1131426,
"raw_values": [
1130960,
1133288,
1130960,
1130960,
1130960
],
"details": {
"compiler-options": {
"compiler-type": "CC",
"compiler": "gcc",
"compiler-options": "-O3 -march=native"
}
}
}
}
},
"d132504e2dc319840f31a38dd943233bcbafecb8": {
"identifier": "pts\/himeno-1.2.0",
"title": "Himeno Benchmark",
"app_version": "3.0",
"description": "Poisson Pressure Solver",
"scale": "MFLOPS",
"proportion": "HIB",
"display_format": "BAR_GRAPH",
"results": {
"GCC 6.2.0": {
"value": 2018.589999999999918145476840436458587646484375,
"raw_values": [
1990.235750999999936539097689092159271240234375,
2040.680728000000044630724005401134490966796875,
2024.863098999999920124537311494350433349609375
],
"details": {
"compiler-options": {
"compiler-type": "CC",
"compiler": "gcc",
"compiler-options": "-O3 -march=native -mavx2"
}
}
},
"Clang 3.9.0": {
"value": 1816.76999999999998181010596454143524169921875,
"raw_values": [
1842.4383680000000822474248707294464111328125,
1688.829523000000108368112705647945404052734375,
1829.05986699999994016252458095550537109375,
1878.66210700000010547228157520294189453125,
1851.03424799999993410892784595489501953125,
1810.5710349999999380088411271572113037109375
],
"details": {
"compiler-options": {
"compiler-type": "CC",
"compiler": "gcc",
"compiler-options": "-O3 -march=native -mavx2"
}
}
}
}
},
"7d19e05687135409e030b68839392711c669e2d0": {
"identifier": "pts\/fftw-1.1.0",
"title": "FFTW",
"app_version": "3.3.4",
"arguments": "fftw-mr\/tests\/bench --time-repeat 100 -opatient ibc2048x2048",
"description": "Build: Float + SSE - Size: 2D FFT Size 2048",
"scale": "Mflops",
"proportion": "HIB",
"display_format": "BAR_GRAPH",
"results": {
"GCC 6.2.0": {
"value": 14179,
"raw_values": [
14663,
14675,
13133,
13998,
14170,
14235,
14327,
14232
],
"details": {
"compiler-options": {
"compiler-type": "CC",
"compiler": "gcc",
"compiler-options": "-O3 -march=native -lm"
}
}
},
"Clang 3.9.0": {
"value": 13568,
"raw_values": [
13621,
13620,
13549,
13418,
13632
],
"details": {
"compiler-options": {
"compiler-type": "CC",
"compiler": "gcc",
"compiler-options": "-O3 -march=native -lm"
}
}
}
}
},
"fb6b9db68f9389cc58aaf1ea73ae7ff2be854ad3": {
"identifier": "pts\/mafft-1.4.0",
"title": "Timed MAFFT Alignment",
"app_version": "6.864",
"description": "Multiple Sequence Alignment",
"scale": "Seconds",
"proportion": "LIB",
"display_format": "BAR_GRAPH",
"results": {
"GCC 6.2.0": {
"value": 12.1099999999999994315658113919198513031005859375,
"raw_values": [
11.5920860767360007770321317366324365139007568359375,
12.46930289268500047228371840901672840118408203125,
11.8433392047880001740622901706956326961517333984375,
12.547541856765999312983694835565984249114990234375,
11.483829975127999745154738775454461574554443359375,
12.7026410102839992788403833401389420032501220703125
],
"details": {
"compiler-options": {
"compiler-type": "CC",
"compiler": "gcc",
"compiler-options": "-O3 -lm -lpthread"
}
}
},
"Clang 3.9.0": {
"value": 11.6099999999999994315658113919198513031005859375,
"raw_values": [
11.627841949463000759124042815528810024261474609375,
11.87915992736800063767077517695724964141845703125,
10.7788090705870001073662933777086436748504638671875,
11.8839318752290008518457398167811334133148193359375,
11.814533948897999238170086755417287349700927734375,
11.6937980651859998459940470638684928417205810546875
],
"details": {
"compiler-options": {
"compiler-type": "CC",
"compiler": "gcc",
"compiler-options": "-O3 -lm -lpthread"
}
}
}
}
},
"3f4cee906dc2b2f4c9c9ef501d00676bb9d9af0c": {
"identifier": "pts\/scimark2-1.2.0",
"title": "SciMark",
"app_version": "2.0",
"arguments": "TEST_FFT",
"description": "Computational Test: Fast Fourier Transform",
"scale": "Mflops",
"proportion": "HIB",
"display_format": "BAR_GRAPH",
"results": {
"GCC 6.2.0": {
"value": 247.06999999999999317878973670303821563720703125,
"raw_values": [
243.080000000000012505552149377763271331787109375,
261.20999999999997953636921010911464691162109375,
241.44999999999998863131622783839702606201171875,
242.530000000000001136868377216160297393798828125
],
"details": {
"compiler-options": {
"compiler-type": "CXX",
"compiler": "g++",
"compiler-options": "-O3 -march=native"
}
}
},
"Clang 3.9.0": {
"value": 253.56999999999999317878973670303821563720703125,
"raw_values": [
242.469999999999998863131622783839702606201171875,
255.849999999999994315658113919198513031005859375,
260.8500000000000227373675443232059478759765625,
255.090000000000003410605131648480892181396484375
],
"details": {
"compiler-options": {
"compiler-type": "CXX",
"compiler": "g++",
"compiler-options": "-O3 -march=native"
}
}
}
}
},
"e682d8f82b8e5745593850aae00d865c2bc37cfe": {
"identifier": "pts\/encode-mp3-1.5.0",
"title": "LAME MP3 Encoding",
"app_version": "3.99.3",
"description": "WAV To MP3",
"scale": "Seconds",
"proportion": "LIB",
"display_format": "BAR_GRAPH",
"results": {
"GCC 6.2.0": {
"value": 14.339999999999999857891452847979962825775146484375,
"raw_values": [
14.1848061084749996751952494378201663494110107421875,
14.809323072432999168768219533376395702362060546875,
13.92059302330000036818091757595539093017578125,
14.5205800533290005915887377341277897357940673828125,
14.2555589675899998525210321531631052494049072265625
],
"details": {
"compiler-options": {
"compiler-type": "CC",
"compiler": "gcc",
"compiler-options": "-O3 -ffast-math -funroll-loops -fschedule-insns2 -fbranch-count-reg -fforce-addr -pipe -march=native -lncurses -lm"
}
}
},
"Clang 3.9.0": {
"value": 14.160000000000000142108547152020037174224853515625,
"raw_values": [
14.1091949939730003649174250313080847263336181640625,
14.1494801044460007943825985421426594257354736328125,
14.1431989669800000086752334027551114559173583984375,
14.2024388313289993135413169511593878269195556640625,
14.191345930099000582913504331372678279876708984375
],
"details": {
"compiler-options": {
"compiler-type": "CC",
"compiler": "gcc",
"compiler-options": "-O3 -ffast-math -funroll-loops -fschedule-insns2 -fbranch-count-reg -fforce-addr -pipe -march=native -lncurses -lm"
}
}
}
}
},
"cca2a4abae7979f304f4980a3a379df002d0278f": {
"identifier": "pts\/ebizzy-1.0.3",
"title": "ebizzy",
"app_version": "0.3",
"description": "Phoronix Test Suite v6.8.0m1",
"scale": "Records\/s",
"proportion": "HIB",
"display_format": "BAR_GRAPH",
"results": {
"GCC 6.2.0": {
"value": 85079,
"raw_values": [
89541,
88421,
74007,
89065,
87164,
82278
],
"details": {
"compiler-options": {
"compiler-type": "CC",
"compiler": "gcc",
"compiler-options": "-pthread -lpthread -O3 -march=native"
}
}
},
"Clang 3.9.0": {
"value": 87880,
"raw_values": [
87050,
85408,
91183
],
"details": {
"compiler-options": {
"compiler-type": "CC",
"compiler": "gcc",
"compiler-options": "-pthread -lpthread -O3 -march=native"
}
}
}
}
},
"9223c2b91bc264beb95068f9337c677ebdbaaf46": {
"identifier": "pts\/scimark2-1.2.0",
"title": "SciMark",
"app_version": "2.0",
"arguments": "TEST_DENSE",
"description": "Computational Test: Dense LU Matrix Factorization",
"scale": "Mflops",
"proportion": "HIB",
"display_format": "BAR_GRAPH",
"results": {
"GCC 6.2.0": {
"value": 1834.339999999999918145476840436458587646484375,
"raw_values": [
1797.34999999999990905052982270717620849609375,
1977.26999999999998181010596454143524169921875,
1597.8699999999998908606357872486114501953125,
1964.84999999999990905052982270717620849609375
],
"details": {
"compiler-options": {
"compiler-type": "CXX",
"compiler": "g++",
"compiler-options": "-O3 -march=native"
}
}
},
"Clang 3.9.0": {
"value": 4165.7200000000002546585164964199066162109375,
"raw_values": [
4159.77000000000043655745685100555419921875,
4166.4300000000002910383045673370361328125,
4166.239999999999781721271574497222900390625,
4170.4399999999995998223312199115753173828125
],
"details": {
"compiler-options": {
"compiler-type": "CXX",
"compiler": "g++",
"compiler-options": "-O3 -march=native"
}
}
}
}
},
"a64c82c0cd7d1e9f4ba1a28715133526c0fa799c": {
"identifier": "pts\/scimark2-1.2.0",
"title": "SciMark",
"app_version": "2.0",
"arguments": "TEST_SPARSE",
"description": "Computational Test: Sparse Matrix Multiply",
"scale": "Mflops",
"proportion": "HIB",
"display_format": "BAR_GRAPH",
"results": {
"GCC 6.2.0": {
"value": 1835.84999999999990905052982270717620849609375,
"raw_values": [
1973.09999999999990905052982270717620849609375,
1971.40000000000009094947017729282379150390625,
1713.640000000000100044417195022106170654296875,
1685.259999999999990905052982270717620849609375
],
"details": {
"compiler-options": {
"compiler-type": "CXX",
"compiler": "g++",
"compiler-options": "-O3 -march=native"
}
}
},
"Clang 3.9.0": {
"value": 2204.9600000000000363797880709171295166015625,
"raw_values": [
2208.42999999999983629095368087291717529296875,
2205.46999999999979991116560995578765869140625,
2201.42999999999983629095368087291717529296875,
2204.51999999999998181010596454143524169921875
],
"details": {
"compiler-options": {
"compiler-type": "CXX",
"compiler": "g++",
"compiler-options": "-O3 -march=native"
}
}
}
}
},
"f6e4715167c7fbe7af3b59f4905329ea1b8deaf5": {
"identifier": "pts\/scimark2-1.2.0",
"title": "SciMark",
"app_version": "2.0",
"arguments": "TEST_MONTE",
"description": "Computational Test: Monte Carlo",
"scale": "Mflops",
"proportion": "HIB",
"display_format": "BAR_GRAPH",
"results": {
"GCC 6.2.0": {
"value": 520.8600000000000136424205265939235687255859375,
"raw_values": [
552.80999999999994543031789362430572509765625,
570.73000000000001818989403545856475830078125,
461.30000000000001136868377216160297393798828125,
498.58999999999997498889570124447345733642578125
],
"details": {
"compiler-options": {
"compiler-type": "CXX",
"compiler": "g++",
"compiler-options": "-O3 -march=native"
}
}
},
"Clang 3.9.0": {
"value": 228.759999999999990905052982270717620849609375,
"raw_values": [
228.729999999999989768184605054557323455810546875,
228.770000000000010231815394945442676544189453125,
228.75,
228.780000000000001136868377216160297393798828125
],
"details": {
"compiler-options": {
"compiler-type": "CXX",
"compiler": "g++",
"compiler-options": "-O3 -march=native"
}
}
}
}
}
}
}