An Early Look At GCC 12 Compiler Performance On The Core i9 12900K

Written by Michael Larabel in Software on 23 February 2022 at 08:30 AM EST. Page 3 of 3. 12 Comments.

The C-Ray ray-tracer seems to have significantly regressed at the -O2 optimization level.

With a few exceptions where the GCC 12 built binaries were performing measurably lower than GCC 11.2, overall GCC 12 was steadily offering similar or slightly better performance than GCC 11.2 with the CFLAGS/CXXFLAGS configurations tested on this Core i9 12900K Alder Lake desktop running an Ubuntu 22.04 snapshot. Stay tuned for further tests of GCC 12 at different optimizations and on more processor families. Let me know any specific CPU / test requests you'd like to see in the forums or on Twitter.

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.