LLVM Clang 12 Compiler Is Performing Very Well For AMD Ryzen 9 5950X / Zen 3
While in the past there were more cases where the GNU Compiler Collection delivered measurably better performance over LLVM Clang given its much longer history and maturity, these days with x86_64 (and AArch64), it's quite an even race with very healthy competition between these open-source compilers.
There still are cases as shown where one compiler may yield significantly faster binaries over the other due to optimization differences and other factors, but for the most part it's quite a competitive race. In cases where LLVM Clang is yielding faster binaries, we are seeing more Linux distributions becoming open to the idea of allowing more packages to be built with Clang where has traditionally GCC has been the stronghold system compiler of Linux distributions.
See more of these Ryzen 9 5950X compiler benchmarks 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.