GCC Optimization Level Benchmarks With A 4GHz Intel Skylake CPU On Ubuntu 64-bit

Written by Michael Larabel in GNU on 28 February 2016 at 05:18 PM EST. 14 Comments
GNU
With it being trivial to deploy new benchmark test cases with the Phoronix Test Suite and it being fully-automated, the latest results of our Xeon E3 v5 Skylake CPUs are some GCC reference benchmarks with various optimization levels to see the impact on the performance of the generated binaries as well as build time.

Similar to the other Xeon Skylake benchmarks this weekend, I tested on the Xeon E3-1280 v5 CPU that has a 3.7GHz base frequency with 4.0GHz turbo frequency. The tests were using the MSI C236A Workstation motherboard and thanks to MSI Computer for making all of this Linux testing possible.

These reference benchmarks were done with CFLAGS/CXXFLAGS set to -O0, -O1, -O2, -O2 -march=native, -O3, -O3 -march=native, -Ofast -march=native. GCC 5.3.1 was used as the compiler. For another article I'm doing a direct comparison of all these GCC optimization level benchmarks compared to LLVM Clang 3.8. While not an optimization level comparison, on Friday I did publish LLVM Clang vs. GCC Compiler Comparison On Ubuntu 16.04 LTS using the same hardware.
Skylake Xeon GCC Compiler Optimization Tests

All of the tests were done on a development build of Ubuntu 16.04 x86_64 LTS.
Skylake Xeon GCC Compiler Optimization Tests

Skylake Xeon GCC Compiler Optimization Tests

Skylake Xeon GCC Compiler Optimization Tests

Skylake Xeon GCC Compiler Optimization Tests

To see all of these compiler benchmark reference results, visit this OpenBenchmarking.org result page. Enjoy! See our many other compiler benchmark articles if you need more explanation or insight.
Related News
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.

Popular News This Week