users@glassfish.java.net

Re: singleton lifecycle webservice

From: <glassfish_at_javadesktop.org>
Date: Fri, 27 Aug 2010 00:37:06 PDT

More information about performance...

As you can see on previous logs, on glassfish V2 it takes 250 milliseconds to do 3 calls, but on V3 it takes 4 seconds. I think that could be a performance problem, so I did another test, calling 1000 times the GetInstanceID. I found that on V2 it takes 11 seconds and on V3 it takes 33 minutes!.

[u]1000 calls on glassfish V2[/u]
Inici: 26/08/2010 16:33:11:747
InstanceID = 7928411566304827935
InstanceID = 7928411566304827935

InstanceID = 7928411566304827935
Final: 26/08/2010 16:33:22:622

[u]1000 calls on glassfish V3[/u]
Inici: 26/08/2010 16:36:26:262
InstanceId = -1128308741116005621
InstanceId = 440776624290594225
...
InstanceId = -8198160457147966333
Final: 26/08/2010 17:09:43:606
[Message sent by forum member 'emoya']

http://forums.java.net/jive/thread.jspa?messageID=481130