GCC vs. LLVM Clang Compiler Performance On AMD's Ryzen

Written by Michael Larabel in Software on 8 March 2017 at 08:52 AM EST. Page 5 of 5. 23 Comments.

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.


Related Articles
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.