LLVM Clang vs. GCC Compiler Comparison On Ubuntu 16.04 LTS

Written by Michael Larabel in Software on 26 February 2016 at 12:00 PM EST. Page 2 of 4. 17 Comments.
Ubuntu 16.04 LTS Compiler Benchmarks

First up with HMMer, GCC 5.3/6.0 continue edging past LLVM Clang but not by a long shot as was the case years ago for the more liberally licensed compiler.

Ubuntu 16.04 LTS Compiler Benchmarks

LLVM Clang continues to run past GCC when it comes to the SciMark2 micro-benchmarks, but Clang 3.8 appears to regress compared to Clang 3.7.

Ubuntu 16.04 LTS Compiler Benchmarks

Similar to other Clang 3.7 vs. 3.8 benchmarks I've carried out on other hardware, Clang 3.8's main SciMark2 regression appears to be with the Monte Carlo sub-test where its performance falls dramatically compared to Clang 3.7 and GCC.

Ubuntu 16.04 LTS Compiler Benchmarks

Dense LU Matrix Factorization is the test where Clang really pulls ahead of GCC.

Ubuntu 16.04 LTS Compiler Benchmarks

In the other SciMark2 tests, Clang's lead is more modest or just on par with the GNU Compiler Collection.

Ubuntu 16.04 LTS Compiler Benchmarks

Clang 3.8 sadly seems to regression with the Himeno scientific test.


Related Articles