Ryzen Compiler Performance: Clang 4/5 vs. GCC 6/7/8 Benchmarks
GCC 8 does appear to regress currently over GCC 7 when it comes to PostgreSQL performance and the znver1 optimizations aren't helping its score.
The Redis performance was a tight race.
As it was too with HINT.
While the testing ended out with Apache where Clang was battling to get in a few more serves than GCC.
It's really tough to draw any definitive conclusions based upon the wide spread of the results, but overall does show that more work needs to be done for Zen optimizations/tuning in both GCC and Clang. Between GCC and Clang performance overall, it was a very tight race with Clang SVN continuing to get faster while GCC remains as the dominant free software compiler but there were a few cases of regressions.
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.