LLVM Clang 16 vs. GCC 13 Compiler Performance On Intel Raptor Lake
Starting things off with the QuantLib quantitative finance software, the Clang-built library was about 6% faster than GCC 13.1.
In the case of the Crypto++ library, Clang still led -- albeit slightly with just a 16% lead over GCC 13.1.
GCC 13.1 did see slightly better performance with SMHasher. (Note it's build system applies slightly diferent LTO parameters based on the underlying compiler.)
While with the MrBayes and HMMer molecular biology software packages, Clang 16 yielded slightly faster binaries.
When looking at the Zstandard compression performance when Zstd was built under the compilers, it was neck-and-neck competition here depending upon the particular compression settings.