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."
Thread beginning with comment 350080
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: Compiler benchmarks...
by tyrione on Sat 21st Feb 2009 04:58 UTC in reply to "RE: Compiler benchmarks..."
tyrione
Member since:
2005-11-21

"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.


From an end user stand point, this is true. From a developer's stand point, however, compilation time is key to productivity.
"

I can see it now, ``But Sir! Our build times are cut in half? Who cares if the applications run twice as slow? Is that really my concern?''

Long pause, ``You're right. It's not your concern. Your time is too important to work here. Security will escort you from the premises and you'll get your last 2 weeks by tomorrow.''

Reply Parent Score: 1

JesseWagner Member since:
2009-02-17

I think it's pretty obvious that in that case you would use both compilers. The faster compiler at your desk and the better optimizer on the build farm. Infact, companies pretty much already do this with debug builds for developers.

Jesse

Edited 2009-02-21 06:45 UTC

Reply Parent Score: 1

RE[4]: Compiler benchmarks...
by abraxas on Sat 21st Feb 2009 14:20 in reply to "RE[3]: Compiler benchmarks..."
abraxas Member since:
2005-07-07

I think it's pretty obvious that in that case you would use both compilers. The faster compiler at your desk and the better optimizer on the build farm. Infact, companies pretty much already do this with debug builds for developers.


That sounds like a really bad idea. What if it compiles fine on one compiler but doesn't on the other? An application should really be tested with the compiler it is going to be built with.

Reply Parent Score: 2

google_ninja Member since:
2006-02-05

Thats not what he said. The OP said the difference of 40 seconds in a build was irrelivent, he said that it was incredably relevent to a developer, not that it was more important then any other given feature.

Reply Parent Score: 3