tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Costin Manolache <cmanola...@yahoo.com>
Subject Re: Some benchmarks
Date Tue, 20 Feb 2001 19:32:20 GMT
--- Alex Fernández <afm229@tid.es> wrote:
> I think the benchmarks are very interesting. Unfortunately, the
> results from HelloWorld don't seem too revealing.

Depends what you want to measure - HelloWorld shows one number, the 
container overhead. For any servlet that does something more you'll get
the container overhead + the servlet overhead.

What would be interesting is a number of simple servlets doing simple 
tasks - like get a parameter, send a big chunk of data using
OutputStream, then Writer, then set headers, etc: and you substract the
first number and you can reveal more information. 

An arbitrary page can't tell too much, because it'll be hard to
separate the components. Of course, if you want to know how your
application will
perform you need to measure your application :-)


> Actually, it seems there are lots of jsps but no servlets. Perhaps
> the test
> pages would be more complete, but can they be run from within the
> browser?

Yes, I would be very interested in the results with a simple JSP.
In some of my tests they were slightly faster than a similar servlet 
( for 3.3 ).

Also, as a note - 3.3 is just M1 - there are still few things that will
affect the performance.

Costin


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Mime
View raw message