[Biojava-l] Java VM performance.
Smithies, Russell
Russell.Smithies at agresearch.co.nz
Mon Jun 21 17:34:09 EDT 2004
I just read an interesting article that re-ran the benchmark tests for
Java vs. C++.
http://www.sys-con.com/story/?storyid=45250
According to the author, Keith Lea, "..no one should ever run the client
JVM when given the choice" and "..the Server VM is much faster than the
Client VM,".
Some simple editing of jvm.cfg will cause the server VM to be run for
all applications, unless they are run with the -client argument.
Performance rating (bigger is better)
G++ 3.3.1 Java 1.4.2
Intel 386 Intel 686 Server JVM Client JVM
Ackermann 73% 114% 129% N/A*
Fibonacci 88% 101% 132% 88%
Hash2 79% 77% 168% 115%
Hash 194% 193% 402% 36%
Heapsort 101% 104% 94% 99%
Matrix 157% 155% 111% 54%
Method call 89% 105% 871% 54%
Nested loop 165% 138% 89% 64%
Object creation 62% 65% 241% 215%
Random no. gen. 145% 204% 102% 54%
Sieve 97% 98% 107% 97%
String concatenation 99% 137% 94% 82%
Sumcol 101% 108% 138% 72%
Word count 88% 91% 128% 99%
*The Client JVM could not run the Ackermann test
without producing a StackOverflowError.
Russell Smithies
Bioinformatics Software Developer
AgResearch Invermay
Private Bag 50034
Puddle Alley
Mosgiel
New Zealand
Tel: +64 3 489 9171
Fax: +64 3 489 3739
=======================================================================
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
=======================================================================
More information about the Biojava-l
mailing list