LLVM Clang 10.0 Compiler Performance On Intel + AMD CPUs Under Linux

Written by Michael Larabel in Software on 31 March 2020 at 10:12 AM EDT. Page 6 of 6. 5 Comments.
Clang 10 Benchmarks LLVM 10

PostgreSQL saw a speed-up with the database server built under Clang 10 on the Core i9 10980XE.

Clang 10 Benchmarks LLVM 10

SQLite also saw some benefit on the Cascade Lake and Ice Lake CPUs when built by Clang 10.

Clang 10 Benchmarks LLVM 10
Clang 10 Benchmarks LLVM 10

Cascade Lake with Clang 10 also yielded performance improvements for Nginx and Apache web servers.

Clang 10 Benchmarks LLVM 10

In total I ran 72 different C/C++ benchmarks with this Clang 9 vs. 10 comparison. The AMD Zen 2 performance ended up being flat overall even with some znver2 improvements merged this cycle. The Core i9 9900KS performance was also flat given the mature Skylake compiler target. The Cascade Lake and Ice Lake performance is what was most interesting: overall the Core i9 10980XE saw about 4% better performance overall from Clang 10 while the Core i7 1065G7 was up by 1% overall but as shown in some workloads the performance gains of Clang 10 are quite meaningful.

Stay tuned for the Clang 10 vs. GCC 10 benchmarks in April. If you enjoy these compiler benchmarks consider going premium.

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.