LLVM Clang 22 Compiler Performance Largely Unchanged Over Clang 21 On AMD Zen 5

Phoronix Feb 25, 2026

With yesterday's stable release of the LLVM Clang 22 compiler it didn't take long for Phoronix readers to begin asking about the performance of this half-year feature update to this prominent open-source C/C++ compiler. What I am seeing so far are no big surprises with the performance largely being similar to Clang 21 across various open-source C/C++ workloads in the testing thus far. This initial round of reference benchmark results between LLVM Clang 22, Clang 21, and Clang 20 were done on an AMD EPYC Turin (Zen 5) Linux server.

link to the original content