GCC 10 vs. GCC 11 Compiler Performance On The Threadripper 3990X
In some cases there was slightly lower performance found on this Threadripper 3990X system when using GCC 11.
Newer GCC releases often times tend to compile code slower as a result of additional optimization passes and other additions to the code-base in trying to generate more optimal code either for performance or security reasons. In this round of testing, the Eigen compilation time appeared to be more impacted than the other build tests.
Overall though on this Threadripper 3990X system there weren't many bug surprises out of this GCC 10 vs. 11 compiler benchmarking.
Across dozens of benchmarks carried out, the GCC 11.0.1 performance was comparable to that of GCC 10.2.
Only in a handful of tests was there a significant difference in the compiler performance at least for this Threadripper 3990X system. Stay tuned for more compiler benchmarks soon with LLVM Clang 12 and GCC 11 on the horizon.
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.
