GCC 6.1 Compiler Optimization Level Benchmarks: -O0 To -Ofast + FLTO
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.
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.
24 Comments