GCC 5 Is Compiling Faster, But Still Falls Short Of Clang
On Saturday I posted some LLVM Clang vs. GCC benchmark results of the packages found in Fedora 21 on an Intel Xeon system, but how does the performance compare if building the latest snapshot of GCC 5? Fortunately, I have some interesting GCC 5.0 benchmarks to make this Sunday morning interesting for compiler fans.
From that same Fedora 21 system used for yesterday's Fedora 21 reference compiler tests, I built GCC 5.0 20141102 in its release mode and carried out the same C/C++ compiler benchmarks again using the open-source Phoronix Test Suite.
All of these results with Fedora 21's GCC 4.9.2 vs. LLVM Clang 3.4.2 vs. GCC 5.0 snapshot can be found via this OpenBenchmarking.org result file. The short story is:
Compile times seem to be much faster with GCC 5 than the GCC 4.9 stable series! However, LLVM's Clang still dominates when it comes to faster compile times.
GCC 5 also offers speed boosts in a few of our common open-source C/C++ benchmarks over GCC 4.9.
In some benchmarks, however, GCC 5.0 is showing lower performance than the GCC 4.9.2 stable release.
Again, check out all of our compiler benchmark results on OpenBenchmarking.org along with all of the system hardware/software details. Beyond the performance changes, GCC 5 has many other improvements.
From that same Fedora 21 system used for yesterday's Fedora 21 reference compiler tests, I built GCC 5.0 20141102 in its release mode and carried out the same C/C++ compiler benchmarks again using the open-source Phoronix Test Suite.
All of these results with Fedora 21's GCC 4.9.2 vs. LLVM Clang 3.4.2 vs. GCC 5.0 snapshot can be found via this OpenBenchmarking.org result file. The short story is:
Compile times seem to be much faster with GCC 5 than the GCC 4.9 stable series! However, LLVM's Clang still dominates when it comes to faster compile times.
GCC 5 also offers speed boosts in a few of our common open-source C/C++ benchmarks over GCC 4.9.
In some benchmarks, however, GCC 5.0 is showing lower performance than the GCC 4.9.2 stable release.
Again, check out all of our compiler benchmark results on OpenBenchmarking.org along with all of the system hardware/software details. Beyond the performance changes, GCC 5 has many other improvements.
67 Comments