GCC 11 Compiler Performance Benchmarks With Various Optimization Levels, LTO

Written by Michael Larabel in Software on 14 June 2021 at 09:30 AM EDT. Page 4 of 4. 49 Comments.

Those are the fresh numbers from this GCC 11 compiler optimization reference benchmarking on this Core i9 11900K desktop with Fedora Workstation 33.

If taking the geometric mean of all 43 diverse benchmarks ran in full (see this OpenBenchmarking.org result file for all 43 tests individually), above is the outcome. With these tests, when going from a plain -O2 to -O3 netted just a 3% improvement for the applications benchmarked. As the next installment, for those wondering about GCC 11 PGO performance those fresh profile-guided optimization benchmarks are currently being carried out.

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.