This is the servlet/ejb that is in the contrib module in cvs.  Look in the 'tomcat' directory.  It doesn't look to be a very stress-filled test--looks like it just calls a 'hello world' method on a session bean...but it is nice to see that invoking a method on a bean method is pretty quick....

-jason




Aaron Mulder <[EMAIL PROTECTED]>

10/25/2000 10:59 AM
Please respond to jBoss

       
        To:        jBoss <[EMAIL PROTECTED]>
        cc:        
        Subject:        [jBoss-User] Re: Benchmarks


On Wed, 25 Oct 2000 [EMAIL PROTECTED] wrote:
> Sorry to keep spamming the list, but this is quite impressive...check out
> the times on the Servlet->EJB Benchmark:

                What benchmark is this?  Is it a public/standard one?  I have been
curious about whether there's some standard way to compare the performance
of different J2EE app servers...

Thanks,
                Aaron

> It just got faster every time I ran it (good old hotspot working in there,
>  I guess)  The average call time was about 4ms, down to what you see
> below....
> (PIII/733Mhz/128MB RAM/JDK1.3/RedHat Linux 7.0/jBoss CVS/Tomcat3.2b4)
>
> Servlet calling EJB
> Using jndi name NonOptimized: getMessage() returned: "StatelessSessionBean says: Hello World"
> Speed Test now (1000 iterations)
> Time/call(ms):1.37
> Time/call(ms):1.35
> Time/call(ms):1.3
> Time/call(ms):1.21
> Time/call(ms):1.23
> Time/call(ms):1.15
> Time/call(ms):1.91
> Time/call(ms):1.25
> Time/call(ms):1.22
> Avg. time/call(ms):1.332
> Using jndi name Optimized: getMessage() returned: "StatelessSessionBean says: Hello World"
> Speed Test now (1000 iterations)
> Time/call(ms):1.6
> Time/call(ms):1.4
> Time/call(ms):1.4
> Time/call(ms):4.91
> Time/call(ms):2.66
> Time/call(ms):3.05
> Time/call(ms):2.48
> Time/call(ms):2.42
> Time/call(ms):2.46
> Avg. time/call(ms):2.395



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]



Reply via email to