GCC 7.0 vs. 6.3 vs. 5.4 vs. 4.9 Compiler Benchmarks On Linux x86_64

Written by Michael Larabel in Software on 21 January 2017 at 12:00 PM EST. Page 1 of 5. 9 Comments.

With GCC7 feature development ending, this week I conducted some benchmarks of the latest GCC 7 snapshot against that of the past three major release series of the GNU Compiler Collection: 6.3.0, 5.4.0, and 4.9.4. All tests were done on Ubuntu Linux x86_64 with an Intel Core i7 6800K processor.

All four GCC releases were built in the same manner (outlined on the PTS system table) and during the testing process the CFLAGS/CXXFLAGS were maintained the same of "-O3 -march=native." All tests were done on the Core i7 6800K Broadwell-E box running Ubuntu 16.04 LTS with the Linux 4.4 kernel.

These dozens of compiler benchmarks were all done in a fully-automated and reproducible manner using the open-source Phoronix Test Suite benchmarking software so let's jump straight to the results.

Related Articles