GCC 10 vs. GCC 11 Compiler Performance On AMD Zen 3

Written by Michael Larabel in Software on 24 February 2021 at 09:20 AM EST. Page 4 of 4. 4 Comments.

To no surprise, link-time optimizations continue having a significant impact on the build time performance.

The C-Ray performance is largely unchanged.

AOBench meanwhile when built under GCC 11 was trailing slightly behind GCC 10.

Overall though from this testing on AMD Zen 3 there haven't been any really dramatic improvements with the forthcoming GCC 11 in the tested compiler configurations.

With the exception of GCC 11 regressing with "-O3 -march=native" in a few tests, overall GCC 11 is performing comparable to GCC 10 with the tests conducted so far on the Ryzen 9 5950X from various C/C++ benchmarks. Outside of the performance, GCC 11 brings more work on C++20, various new CPUs supported, Intel AMX, and many other features that have accumulated in the massive codebase over the past year. GCC 11.1 stable should be out by/in April if all goes well, so stay tuned for more benchmarks at that point.

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.