[Shootout-list] Java benchmarks

James McIlree ovrskeek@mac.com
Mon, 28 Mar 2005 22:13:19 -0800


	I'd like to raise an issue about the Java benchmarks. It looks to
me as if they are all being run with the "-server" option.

	Would it be possible to switch to the client compiler? I believe
most of the benchmarks would actually complete quicker using the client
compiler.

	The shootout benchmarks are all so small and quick, the server
compiler simply does not have time to pay for itself.

	As a concrete example, here are timings for knucleotide:

IBM java
1.205u 0.073s 0:01.17 108.5%    0+0k 0+0io 0pf+0w

Sun java (-client)
1.291u 0.053s 0:01.38 97.1%     0+0k 0+0io 1pf+0w

Sun java (-server)
1.785u 0.061s 0:01.45 126.8%    0+0k 0+0io 1pf+0w

	As you can see, it would be really nice to have the IBM jdk
available for testing as well. It seems to be generally faster than
the Sun jdk.

	http://www-128.ibm.com/developerworks/java/jdk/linux140/