GCC 6.1 Compiler Optimization Level Benchmarks: -O0 To -Ofast + FLTO
Written by Michael Larabel in GNU on 14 May 2016 at 11:04 AM EDT. 29 Comments
GNU --
Here are some extra GCC 6.1 compiler benchmarks to share this weekend, complementing the recent GCC 4.9 vs. GCC 5 vs. GCC 6 comparison and the GCC 6.1 vs. Clang 3.9 compiler comparison.

These latest results are GCC 6.1 being tested on Linux x86_64 at various compiler optimization levels. Tested combinations included -O0, -Os, -Og, -O1, -O2, -O3, -O3 -march=native, -O3 -march=native -flto, -Ofast -march=native.

All the tests were done on the same Xeon E5-2687W v3 Haswell system running Debian Testing with Linux 4.5 and a hand-built GCC 6.1.0 compiler stack.

The results mostly come down to what one would expect...


See the dozens of compiler optimization benchmark results via this OpenBenchmarking.org result file.
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 GNU News
Popular News This Week