Healthy Competition With GCC 15 vs. LLVM Clang 20 Performance On AMD Zen 5
The Clang-built binaries of the uvg266 H.266 encoder had a slight advantage over GCC on this AMD Zen 5 Linux server.
There remains some very healthy competition between the GCC and LLVM Clang compilers on Linux x86_64 with their newest stable and in-development releases. Those wanting to dig through even more raw benchmark data can find all of the tests here.
On a geometric mean basis when counting all of the dozens of C/C++ workloads that successfully ran on all four tested compiler versions, GCC 14 and GCC 15 retain a very ever small victory over LLVM Clang 19/20 on this AMD EPYC 9005 series Zen 5 server. This is similar to what we have seen on other Intel/AMD hardware in recent times of both GCC and Clang delivering very healthy competition for these open-source compilers. With some codebases/workloads there can be strong advantages at time for one compiler over the other, but at a high level the GCC and Clang compiler performance is extremely tight with recent versions and on modern x86_64 hardware.
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.
