GCC 10 vs. Clang 10 Compiler Performance On AMD Zen 2 + Intel Cascade Lake
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.