LLVM Clang Performance Matching The GCC Compiler On AMD Threadripper 3960X

Written by Michael Larabel in Software on 29 December 2019 at 12:00 PM EST. Page 7 of 7. 6 Comments.

SQLite Speedtest was faster with GCC.

There wasn't much of a difference between Apache and Nginx web server performance and the tested compilers.

When benchmarking the compilers on 75 tests in total, LLVM Clang 9.0 yielded the fastest performance 34% of the time to GCC 9.2.1 at 26%. GCC 10 meanwhile was the fastest 25% of the time and Clang 10.0 only won 13% of the tests given the multiple regressions we've seen to its performance on this AMD 3960X system and others.

When it comes to the geometric mean for all the tests that ran successfully on the four tested compilers, the LLVM Clang 9 performance was right in line with GCC 9/10 on this Ryzen Threadripper 3960X workstation. LLVM Clang 10.0 did slip in its performance but hopefully the performance regression(s) will be fixed well in time for its upcoming release.

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.