GCC vs. LLVM Clang Compiler Performance On AMD's Ryzen
Clang managed another victory, this time with the FLAC audio encoding performance.
But for MP3s, GCC was leading with its LAME MP3 encoding performance.
Clang 4.0 appears to regress with the libjpeg-turbo benchmark.
GCC was leading with the Redis performance.
GCC also led with HINT.
Ending out these initial AMD Ryzen compiler benchmarks, GCC also won over Clang with the Apache web server performance benchmark.
The numbers varied a lot between the different workloads with which compiler scored. So it's hard ot draw any definitive conclusions but:
phoronix-test-suite winners-and-losers 1703078-RI-AMDRYZENC44 AMD Ryzen Compiler Testing RESULT COUNT: 37 WINS: GCC 6.3.0: 18 [48.6%] Clang 3.9.1: 12 [32.4%] GCC 7.0.1 20170305: 5 [13.5%] Clang 4.0 RC2: 2 [5.4%] LOSSES: Clang 4.0 RC2: 18 [48.6%] GCC 7.0.1 20170305: 9 [24.3%] Clang 3.9.1: 6 [16.2%] GCC 6.3.0: 4 [10.8%]
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.