GCC 13 vs. Clang 17 Compiler Benchmarks, Early Clang 18 & GCC 14 Development Benchmarks

Written by Michael Larabel in Software on 28 December 2023 at 07:27 AM EST. Page 6 of 8. 13 Comments.
Coremark benchmark with settings of CoreMark Size 666, Iterations Per Second. GCC 14 23 Dec was the fastest.

GCC still had an advantage over Clang in Coremark on this Ryzen Threadripper 7995WX system.

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

Meanwhile the Clang-built binaries had a measurable advantage for the Stargate digital audio workstation (DAW) open-source software.

libavif avifenc benchmark with settings of Encoder Speed: 2. Clang 18 23 Dec was the fastest.
libavif avifenc benchmark with settings of Encoder Speed: 6. Clang 17.0.2 was the fastest.
libavif avifenc benchmark with settings of Encoder Speed: 6, Lossless. Clang 17.0.2 was the fastest.

Clang maintained an ever so slight lead in the avifenc AVIF image encode benchmarks.

C-Ray benchmark with settings of Total Time, 4K, 16 Rays Per Pixel. GCC 14 23 Dec was the fastest.

The tables flipped with C-Ray where GCC continues to yield faster performance.

FLAC Audio Encoding benchmark with settings of WAV To FLAC. Clang 17.0.2 was the fastest.
m
LAME MP3 Encoding benchmark with settings of WAV To MP3. GCC 13.2 was the fastest.
p3
Opus Codec Encoding benchmark with settings of WAV To Opus Encode. Clang 17.0.2 was the fastest.
SecureMark benchmark with settings of Benchmark: SecureMark-TLS. Clang 17.0.2 was the fastest.
OpenJPEG benchmark with settings of Encode: NASA Curiosity Panorama M34. Clang 18 23 Dec was the fastest.
OpenSSL benchmark with settings of Algorithm: SHA256. Clang 18 23 Dec was the fastest.
OpenSSL benchmark with settings of Algorithm: ChaCha20. GCC 14 23 Dec was the fastest.
OpenSSL benchmark with settings of Algorithm: ChaCha20-Poly1305. GCC 14 23 Dec was the fastest.
OpenSSL benchmark with settings of Algorithm: AES-256-GCM. GCC 14 23 Dec was the fastest.

Related Articles