GCC 8 Through GCC 11 Stable Plus GCC 12 Compiler Benchmarks
Out of the dozens of C/C++ benchmarks used, in some cases there was little change over the span of these five compiler versions benchmarked.
While in some cases like with the QuantLib quantitative finance software GCC 11.1 (and still with GCC 12 development) was a nice boost in performance for this Intel x86_64 system.
Or in the case of Crypto++, an apparent regression in GCC 11.1 that is fortunately fixed since with the mainline GCC development code.
MrBayes is performing better on the newer compiler releases after regressing during GCC 9 and 10.
For many of the real-world tests, there was little change on this Intel Cascade Lake X workstation between GCC 8 and GCC 11/12.