GCC 10 vs. Clang 10 Compiler Performance On AMD Zen 2 + Intel Cascade Lake

Written by Michael Larabel in Software on 19 May 2020 at 10:40 AM EDT. Page 5 of 5. 7 Comments.

For most of the other open-source C/C++ benchmarks carried out, the LLVM Clang 10 vs. GCC 10 compiler performance tended to yield similarly performing binaries on both the AMD Zen 2 and Intel Cascade Lake workstations.

So far we haven't seen many scenarios where the GCC 10 performance is vastly different from that of GCC 9 with the CPU microarchitecture families tested so far, but in some areas there are minor improvements to be found. It has also been fascinating to see how broadly the Clang 10.0 performance is very much comparable to that of GCC 10.1. With an increasing number of ISVs now using Clang as the default compiler on both their in-house and production builds, Clang has been getting in increasingly great shape with most lingering performance issues being resolved both for x86_64 and AArch64.

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.