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 4 of 5. 48 Comments.
Kvazaar benchmark with settings of Video Input: Bosphorus 4K, Video Preset: Slow. Clang 17 was the fastest.
Kvazaar benchmark with settings of Video Input: Bosphorus 4K, Video Preset: Very Fast. Clang 17 was the fastest.
Kvazaar benchmark with settings of Video Input: Bosphorus 4K, Video Preset: Super Fast. Clang 17 was the fastest.
Kvazaar benchmark with settings of Video Input: Bosphorus 4K, Video Preset: Ultra Fast. Clang 17 was the fastest.
uvg266 benchmark with settings of Video Input: Bosphorus 4K, Video Preset: Medium. Clang 17 was the fastest.
uvg266 benchmark with settings of Video Input: Bosphorus 4K, Video Preset: Very Fast. Clang 17 was the fastest.
x265 benchmark with settings of Video Input: Bosphorus 4K. GCC 13 was the fastest.

Across various video encode workloads those encoders built with Clang tended to offer slightly better performance than GCC on this Intel Meteor Lake laptop.

Stargate Digital Audio Workstation benchmark with settings of Sample Rate: 96000, Buffer Size: 512. Clang 17 was the fastest.
Stargate Digital Audio Workstation benchmark with settings of Sample Rate: 44100, Buffer Size: 1024. Clang 17 was the fastest.
Stargate Digital Audio Workstation benchmark with settings of Sample Rate: 192000, Buffer Size: 1024. Clang 17 was the fastest.

The Stargate digital audio workstation software was enjoying superior performance when built by Clang.

libavif avifenc benchmark with settings of Encoder Speed: 0. Clang 17 was the fastest.
libavif avifenc benchmark with settings of Encoder Speed: 2. Clang 17 was the fastest.
C-Ray benchmark with settings of Total Time, 4K, 16 Rays Per Pixel. GCC 13 was the fastest.

Clang was leading in many of the benchmarks while for some code-bases GCC still yields faster binaries.


Related Articles