GCC 5 Through GCC 10 Compiler Benchmarks - Five Years Worth Of C/C++ Compiler Performance
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.