GCC 10 vs. GCC 11 Compiler Performance On AMD Zen 3
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.