LLVM Clang vs. GCC Compiler Benchmarks On FreeBSD 11.0

Written by Michael Larabel in Software on 27 August 2016 at 11:30 AM EDT. Page 3 of 4. 16 Comments.

With the Himeno pressure solver test, LLVM Clang 3.8 was around the speed of GCC 4.8, but when moving to GCC 5 and GCC 6 the performance is much better.

Clang used to have much faster compile times than GCC, but it appears now -- at least on FreeBSD 11 -- to be close to the same though the PHP timed compilation is notably slower with GCC 6.1, likely due to more optimization passes, etc.

C-Ray saw a huge boost between GCC 4.6 and GCC 4.8 that brings its performance into a better position than what's currently offered by Clang 3.8 on FreeBSD 11.

GCC 5/6 are beating LLVM Clang with the FLAC audio encoding performance.


Related Articles