GCC 11 vs. LLVM Clang 12 Performance On The Intel Core i9 11900K Is A Heated Race

Written by Michael Larabel in Software on 18 May 2021. Page 4 of 4. 14 Comments
Intel Core i9 11900K Compiler Benchmarks
Intel Core i9 11900K Compiler Benchmarks

Overall there is very healthy competition between GCC 11 and LLVM Clang 12 as seen on this Core i9 11900K system as well as other Intel/AMD systems we have already tried and more CPUs/systems still being benchmarked with these new compiler releases. Out of several dozen benchmarks, here is the geometric mean of all the results:

Intel Core i9 11900K Compiler Benchmarks

Overall, Clang 12 was about 4% faster than GCC 11.1 at the "-O2" optimization level while when hitting "-O3 -march=native" is where GCC returned to the front and was about 3% faster than Clang 12. See all of these compiler benchmarks in full with all of the data points via this OpenBenchmarking.org result file.

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.