Linked by Tony Bourke on Mon 23rd Feb 2004 21:54 UTC
Benchmarks In continuing with my articles exploring the my SPARC-based Sun Ultra 5, I'm going to cover the topic of compiler optimizations on the SPARC platform. While many are familiar with GCC compiler optimizations for the x86 platform, there are naturally differences for GCC on SPARC, and some platform-specific issues to keep in mind.
Permalink for comment
To read all comments associated with this story, please click here.
Results
by TonyB on Thu 4th Mar 2004 14:21 UTC

It looks like for two of the tests, there was a significant difference, although not as dramatic as the OpenSSL tests. About 30% for one test, and 17% for the other. Whether that's worth it to you or to the project itself of course is a matter of opinion.

Also remember, there is I/O involved in these tests, and I/O operations donot benefit from compiler optimizations. When I ran tests with gzip for the various compilers in an earlier article, every compiler showed about the same results for a gunzip operation. The reason is likely that the bottleneck was the disk, as it couldn't read the data fast enough to show any difference.