GCC 8 vs. LLVM Clang 6 Performance At End Of Year 2017

Written by Michael Larabel in Software on 28 December 2017 at 11:19 AM EST. Page 5 of 5. 24 Comments.

The Minion constraint solver performed roughly the same between compilers.

There were no major upsets in the other common benchmarks tested on GCC 8 and Clang 6.

While GCC overall still led with the most wins over the LLVM Clang C/C++ compiler on this Intel Core i9 7980XE Skylake-AVX512 system, overall, the results are increasingly close. In many of the benchmark results the outcome was very tight between the competing compilers and much closer performance than we've seen compared to years ago when GCC dominated in a majority of the benchmarks. Clang still benefits from generally quicker compile times, but it's a tight race aside from that and it will be interesting to see how both Clang and GCC evolve as we move into 2018.

LLVM Clang 6.0 will be branching next week for getting its stable release out likely by the end of February while GCC 8 is currently being stabilized for its debut as GCC 8.1 likely in March. Following that, the race is on with LLVM Clang 7.0 and GCC 9.0 to see what new performance optimizations and compiler innovations we'll see out of these leading open-source code compilers.

If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. PayPal or Stripe tips are also graciously accepted. Thanks for your support.


Related Articles
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.