dev@grizzly.java.net

regarding performance related comet unittest

From: gustav trede <gustav.trede_at_gmail.com>
Date: Thu, 29 Jan 2009 12:40:37 +0100

hello,

On yesterdays phone meeting it was unclear regarding performance related
unit test for comet.

com.sun.grizzly.comet.CometUnitTest does perform performance related
tests.

example output:

STREAMING-NEWSOCKET client threads: 8
  events/sec : 161116 comethandlers: 8 cometWorkqueue: 19123
  events/sec : 152938 comethandlers: 8 cometWorkqueue: 39227
   .....


the test ensures that the comet threadpools queue always has enough work to
keep the threads busy.

Currently its only streaming case that gives performance info.
Long polling tests are not yet implemented.


-- 
regards
 gustav trede