GCC 10.1 Compiler Optimization Benchmarks
Written by Michael Larabel in GNU on 23 May 2020 at 07:00 AM EDT. 34 Comments
GNU --
With the recently minted GCC 10 compiler there was a request to see some fresh benchmarks at different compiler optimization levels and flags like LTO.

For those wondering about the general impact of the different compiler optimization levels and likes of LTO, here are some quick benchmarks I whipped up for your weekend analysis. Tests were done on an Intel Core i9 10980XE with different optimization CFLAGS/CXXFLAGS off an Intel Core i9 10980XE workstation running Ubuntu Linux.

For the most part, the numbers are what one would expect:

Those wanting to go through all the numbers on more C/C++ benchmarks, see this OpenBenchmarking.org result file for all of the data. Some GCC 10.1 PGO benchmarks coming up soon as well.
Related News
About The Author
Author picture

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 or contacted via MichaelLarabel.com.

Popular News This Week