GCC vs. Clang Benchmark Comparison At Varying Optimization Levels

Written by Michael Larabel in Software on 3 March 2016 at 01:29 PM EST. Page 2 of 4. 15 Comments.

First up is the HMmer scientific test.

Skylake Xeon GCC vs. Clang Compiler Optimization Tests

At -O0, Clang was much faster than GCC for this scientific benchmark when not having to worry about compiler optimizations. However, at the higher optimization levels, the performance between GCC 5.3.1 and Clang 3.8 were neck-and-neck.

Skylake Xeon GCC vs. Clang Compiler Optimization Tests
Skylake Xeon GCC vs. Clang Compiler Optimization Tests
Skylake Xeon GCC vs. Clang Compiler Optimization Tests

With the OpenMP-using GraphicsMagick test, GCC was faster than Clang regardless of the optimization flags utilized.


Related Articles