LLVM Clang 12 Leading Over GCC 11 Compiler Performance On Intel Xeon Scalable Ice Lake
Across the dozens of benchmarks carried out, the Clang 12.0 compiler had some hefty wins in the areas of NCNN, oneDNN, and other workloads.
Out of 109 C/C++ open-source benchmarks tested under both compilers on this Intel Xeon Scalable Ice Lake server, Clang 12.0 delivered the best result 63% of the time.
Or if taking the geometric mean of all 109 benchmark results, Clang 12.0 came out to being 9% faster than GCC 11.1.
Dig through all these Ice Lake server compiler benchmarks in full over on OpenBenchmarking.org.
While Clang traditionally offered the fastest code compilation speed, these days GCC 11 is much more aggressive. When it came to timed compilation benchmarks, GCC 11.1 was taking the cake from Clang 12:
Timed code compilation benchmarks can be found via this result file.
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.