LLVM Clang 3.7 vs. GCC Compiler Benchmarks On Linux

Written by Michael Larabel in Software on 31 August 2015 at 11:20 AM EDT. Page 4 of 4. 10 Comments.
Intel Xeon Compiler Tests

GCC was slightly faster than Clang when it came to audio encoding with the FLAC audio format.

Intel Xeon Compiler Tests

The PostgreSQL server performance was nearly the same between GCC and Clang.

Intel Xeon Compiler Tests

With the Apache web server, the Clang 3.7 performance now matches that of GCC 5.2.

Well, those are the initial benchmarks I've done so far of the near-final Clang 3.7 build compared to the GNU Compiler Collection. Coming up will be the OpenMP benchmarks once I have that working properly. Once again, there's more daily benchmarks of the LLVM/Clang code (already at 3.8 SVN) via LinuxBenchmarking.com. All of these benchmarks are done in a fully-automated and reproducible manner using the open-source Phoronix Test Suite and Phoromatic projects. While the LinuxBenchmarking.com tracker covers both Intel and AMD hardware, for another Phoronix article to complement today's tests I'll also work on some AMD and ARM compiler benchmarks. As always, feedback is welcome and if you appreciate the testing please consider helping out.

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.