GCC 7.0 vs. LLVM Clang 4.0 Performance With Both Compiler Updates Coming Soon
Written by Michael Larabel in Software on 28 January 2017. Page 6 of 6. 30 Comments

Clang 4.0 is faster than Clang 3.9.1 for the LAME MP3 encoding performance, but still behind GCC.

Clang 4.0 also appeared a bit quicker than Clang 3.9.1 for the FFmpeg encoding test.

GCC 6/7 was quicker than Clang 3.9/4.0 for Caffe's AlexNet test running on the CPU.

The Googlenet performance though was about the same speed.

With Redis the compiler results were close but GCC 7.0 appeared to have the advantage.

For what it's worth, here are some statistics on the first and last place finishes for all the compiler benchmarks in this article (via Phoronix Test Suite 7.0's new winners-and-losers sub-command):


WINS:
Clang 3.9.1:         12  [25.0%]
Clang 4.0 SVN:       9   [18.8%]
GCC 4.9.4:           7   [14.6%]
GCC 7.0.0 20170108:  7   [14.6%]
GCC 5.4.0:           7   [14.6%]
GCC 6.3.0:           6   [12.5%]

LOSSES: 
Clang 3.9.1:         13  [27.1%]
GCC 5.4.0:           12  [25.0%]
GCC 4.9.4:           7   [14.6%]
GCC 7.0.0 20170108:  7   [14.6%]
Clang 4.0 SVN:       7   [14.6%]
GCC 6.3.0:           2   [4.2%]

If you enjoyed these results, you can find more of this compiler benchmark data via this OpenBenchmarking.org result file. Consider joining Phoronix Premium if you would like to see more of these tests occur in the future; thanks for your support.


About The Author
Author picture

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 10,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 or contacted via MichaelLarabel.com.


Related Articles
Trending Linux News