If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Benchmarks Of GCC 4.5.0 Compiler Performance

04-19-2010, 02:10 AM

Phoronix: Benchmarks Of GCC 4.5.0 Compiler Performance

Last week GCC 4.5.0 entered the world with improvements to the experimental C++0x support, Graphite-powered automatic parallelization support, compatibility with new ARM processors, Intel Atom and AMD Orochi optimizations, link-time optimization, and GCC plug-in support. Over the weekend we decided to benchmark this major update to the GNU Compiler Collection to see how its performance compares to that of GCC 4.3 and 4.4.

It would be better to build entire system (Gentoo provides great framework for that) with either 4.3, 4.4 and 4.5 and THEN test performence of the output code for the whole system built with exact compiler.

Comment

It would be better to build entire system (Gentoo provides great framework for that) with either 4.3, 4.4 and 4.5 and THEN test performence of the output code for the whole system built with exact compiler.

Actually it would be more interesting to see how the performance of the resulting applications is affected by the new gcc optimizations. The build process itself is something you only do once in a while, but if the programs run faster its worthwhile the extra initial build time.

Comment

Actually it would be more interesting to see how the performance of the resulting applications is affected by the new gcc optimizations. The build process itself is something you only do once in a while, but if the programs run faster its worthwhile the extra initial build time.

I meant to build these Gentoo's and THEN compare applications' performance differences, not the compile time or anything like that.

Comment

Comment

Between GCC releases performance should not improve that greatly on the same command line arguments. Only in earlier releases, GCC did get improvements but as of today the optimizations strategies are well tested and improved. Probably a better test IMHO was between LLVM and GCC 4.5
In fact all the tests are fully supported by GCC like OpenMP and autovectorization support.
Wanna see bigger difference to appear a more interesting article?
Compile with link time optimization s raytracer, or a fortran scientific system. Not that representative for user's software usage?
But testing three compilers under the same algorithm/parameters, will make mostly to not get big gains. The latest problem is that even they will bring 10% speedup, this will not affect regular Linux user anyway, as a lot of applications are not performance critical, and are written in python or bash, or for server based case, filesystem and IO affect much more than the small speedup that a compiler brings.