GCC vs. Clang Compiler Performance On Intel Meteor Lake

Written by Michael Larabel in Software on 4 January 2024 at 11:00 AM EST. Page 5 of 5. 48 Comments.
FLAC Audio Encoding benchmark with settings of WAV To FLAC. Clang 17 was the fastest.
LAME MP3 Encoding benchmark with settings of WAV To MP3. GCC 13 was the fastest.
Opus Codec Encoding benchmark with settings of WAV To Opus Encode. Clang 17 was the fastest.
SecureMark benchmark with settings of Benchmark: SecureMark-TLS. Clang 17 was the fastest.
OpenJPEG benchmark with settings of Encode: NASA Curiosity Panorama M34. Clang 17 was the fastest.
Liquid-DSP benchmark with settings of Threads: 1, Buffer Length: 256, Filter Length: 32. Clang 17 was the fastest.
Liquid-DSP benchmark with settings of Threads: 128, Buffer Length: 256, Filter Length: 32. Clang 17 was the fastest.
Liquid-DSP benchmark with settings of Threads: 192, Buffer Length: 256, Filter Length: 512. Clang 17 was the fastest.

I was running a very diverse range of C/C++ workloads for evaluating the GCC vs. Clang compiler performance on Intel Meteor Lake. In the end I ran 128 benchmarks on the Acer Swift Go 14 looking at the GCC vs. LLVM Clang compiler performance on the Intel Core Ultra 7 155H.

Number Of First Place Finishes benchmark with settings of Wins, 128 Tests.

Of the 128 benchmarks, Clang 17 came out in front 78% of the time! This was quite a surprise to see Clang near consistently leading in this Intel x86_64 compiler race.

Geometric Mean Of All Test Results benchmark with settings of Result Composite, GCC Clang Compiler Benchmarks On Intel Meteor Lake. Clang 17 was the fastest.

When taking the geometric mean of all 128 benchmarks, Clang 17 was yielding around 5% better performance overall for the binaries it generated over that of GCC 13 stable. That's where things stand right now in the Clang vs. GCC performance on Intel Meteor Lake. The upcoming Ubuntu 24.04 LTS release will be sticking to GCC 13 while on the LLVM side it should be shipping Clang 18 so it will be interesting to see what performance changes are there for that next six-month compiler update.

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.