An Early Look At LLVM Clang 13 Performance On AMD Zen 3

Written by Michael Larabel in Software on 12 August 2021 at 02:47 PM EDT. Page 4 of 4. 7 Comments.

Overall, Clang 13 on this AMD EPYC 7003 Milan server was showing some speed improvements out of this forthcoming compiler.

LLVM Clang 13 Early Benchmarks On AMD EPYC Zen 3
LLVM Clang 13 Early Benchmarks On AMD EPYC Zen 3

We weren't expecting any big breakthroughs as no "killer features" come to mind for LLVM 13 or the Clang 13 front-end, but seems to be yet another nice evolutionary step forward for this open-source compiler stack that is already competing well with GCC on x86_64 and AArch64.

LLVM Clang 13 Early Benchmarks On AMD EPYC Zen 3
LLVM Clang 13 Early Benchmarks On AMD EPYC Zen 3
LLVM Clang 13 Early Benchmarks On AMD EPYC Zen 3
LLVM Clang 13 Early Benchmarks On AMD EPYC Zen 3
LLVM Clang 13 Early Benchmarks On AMD EPYC Zen 3
LLVM Clang 13 Early Benchmarks On AMD EPYC Zen 3
LLVM Clang 13 Early Benchmarks On AMD EPYC Zen 3

For those wondering about the build time performance of Clang 13 compared to Clang 12, some benchmarks were run there as well in seeing how the build times compare. Overall the performance was close to the same but compiling FFmpeg and MPlayer both took measurably longer than when built under Clang 12. This though isn't necessarily bad since the addition of new optimization passes and other features in turn can drive up the compile times for yielding faster compiled binaries.

More LLVM Clang 13 benchmarks will come next month around the time of the stable release on more 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.


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.