dev@grizzly.java.net

[Fwd: Re: Performance comparision of Mina vs. java.nio ByteBuffer use]

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Thu, 05 Jul 2007 11:11:01 -0400

-------- Original Message --------
Subject: Re: Performance comparision of Mina vs. java.nio ByteBuffer use
Date: Thu, 05 Jul 2007 09:46:44 +0200
From: Michael Bauroth <michael.bauroth_at_falcom.de>
Reply-To: dev_at_mina.apache.org
Organization: Falcom GmbH
To: dev_at_mina.apache.org
References: <468B96C1.6000402_at_falcom.de>
<768dcb2e0707041927m71003107k88691612862aa49d_at_mail.gmail.com>

Extending the test with Grizzly and after running 100 test loops of each
method I have now correct results (not normalized):

Loop: 100 Mina(avg.): 691 Nio(avg.): 669 Grizzly(avg.): 691

Loop: 100 M (avg.): 699 N (avg.): 662 G (avg.): 686
Loop: 100 M (avg.): 708 N (avg.): 670 G (avg.): 698

Mina and Grizzly have the exact same values (used for Grizzly not-direct
viewbuffers), pure Nio is naturally 3-4% quicker.

Used Java 6 and Win XP as testbed.

Best Regards
Michael