GCC 5 Through GCC 10 Compiler Benchmarks - Five Years Worth Of C/C++ Compiler Performance

Written by Michael Larabel in Software on 20 December 2019 at 11:51 AM EST. Page 4 of 4. 15 Comments.

The Cpp Performance Benchmarks tests has generally seen faster performance on the newer GNU Compiler Collection releases.

Facebook's RocksDB has seen some minor improvements on the later GCC releases.

75 different C/C++ benchmarks were ran. Overall, GCC 10.0 SVN did come out with the most wins in being first place in 25% of the tests, which is good to see. GCC 9 was the fastest in another 12% of the tests, but for the remaining cases, the older compilers were generating faster binaries.

When taking the geometric mean of all 75 tests run on all of the tested compilers, GCC 10.0 fortunately was the fastest by a slim margin followed by GCC 9.2 stable. Though from GCC 5 to GCC 10 SVN is just about a 1.6% improvement. See all of these GCC compiler benchmarks in full via OpenBenchmarking.org.

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.