Intel Xeon Cascade Lake Compiler Performance - GCC 9/10 vs. LLVM Clang 8/9
The Redis performance was similar between compilers.
Memcached tended to perform better when built under the latest GCC compilers.
The Nginx and Apache performance was comparable between the four tested compiler releases.
When looking at the geometric mean of the tests carried out, LLVM Clang 9.0 matched that of GCC 10, which was coming in faster than GCC 9.1 stable thanks to a few optimizations along the way. This has been some of the fiercest LLVM Clang vs. GCC open-source compiler competition we've seen to date and great all things considered. Of 71 tests carried out, purely on a raw number basis GCC did win 50 of them while LLVM Clang picked up 21. The open-source compiler scene is exciting as ever especially on the device offload / SYCL / OpenMP / OpenACC fronts, so it will certainly be interesting to see where both of these leading compilers evolve over the months ahead.
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.