Linked by Thom Holwerda on Fri 20th Feb 2009 15:49 UTC, submitted by Michael
Benchmarks "Earlier this month we published an article looking at the Linux versus OpenSolaris performance when using the new AMD Shanghai Opteron CPUs. Ubuntu Linux was faster than OpenSolaris 2008.11 in nearly all of the tests, but as mentioned in that article, OpenSolaris is still dependent upon GCC 3.4 where as Ubuntu and most other Linux distributions are now shipping with the newer and much-improved GCC 4 series. Following that article being published, Sun Microsystems had requested some compiler tests since they were confident the results would be different had their Sun Studio compiler been used. Well, in this article we now have some OpenSolaris benchmarks from the same AMD setup using GCC 3.4, GCC 4.0, and Sun Studio 12."
Permalink for comment 350030
To read all comments associated with this story, please click here.
Compiler benchmarks...
by FellowConspirator on Fri 20th Feb 2009 18:39 UTC
Member since:

The biggest problem with the article is that they are benchmarking the compilation times, not the performance of the resulting code (OK, the first two looked at the performance of the generated executable -- but the rest were measuring how long it took to compile something).

The thesis was that GCC was generating more efficient code and that's why applications were faster under Ubuntu. In fact, their simple benchmarks seem to reflect that, to the extent they tested it, but they don't recognize that.

Who cares if the compiler takes 100 seconds to rather than 60 to compile a project. Whichever generates the fastest running code without error is the winner.

Reply Score: 3