VOOZH about

URL: https://www.phoronix.com/review/clang20-gcc15-amd-znver5/5

⇱ Healthy Competition With GCC 15 vs. LLVM Clang 20 Performance On AMD Zen 5 - Phoronix


👁 Phoronix

Healthy Competition With GCC 15 vs. LLVM Clang 20 Performance On AMD Zen 5

Written by Michael Larabel in Software on 11 February 2025 at 01:03 PM EST. Page 5 of 5. 10 Comments.

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.

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.