GCC vs. LLVM Clang Compiler Performance On The AMD Threadripper 2990WX Benchmarks

Written by Michael Larabel in Software on 3 September 2018 at 03:38 PM EDT. Page 4 of 4. 24 Comments.
GCC + LLVM Clang Benchmarks Threadripper 2990WX

Clang 6.0 was noticeably faster than the other tested compilers in the Aircrack-ng benchmark.

GCC + LLVM Clang Benchmarks Threadripper 2990WX
GCC + LLVM Clang Benchmarks Threadripper 2990WX
GCC + LLVM Clang Benchmarks Threadripper 2990WX
GCC + LLVM Clang Benchmarks Threadripper 2990WX

The compiler performance is a tight race within the PostgreSQL and Redis benchmarks.

GCC + LLVM Clang Benchmarks Threadripper 2990WX
GCC + LLVM Clang Benchmarks Threadripper 2990WX

In total I ended up running 47 benchmarks across these GCC and Clang compiler releases on Linux x86_64 with the AMD Threadripper 2990WX. Of the five tested compilers, GCC 7.3 was in first place 16 times (34%), GCC 8.2 in first place 12 times (25%) and then Clang 6.0.1 was in third with wins 19% of the time. GCC is still the fastest in a majority of the benchmarks run, but Clang in most situations is incredibly close to the performance level offered by the GNU compiler toolchain. Only in a minority of cases is there still a very significant difference in performance. This is similar to what we have seen on other AMD and Intel systems to when comparing GCC/Clang on Linux systems.

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.