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

Reply via email to