Costin:
Is there any way to find out how many objects are created in the JVM?
I remember seeing something similar on a pre-release version of MacOS X: it
sampled the number of objects of the different core classes that were
allocated at any moment.
Otherwise, how do you find out how many objects are allocated by the
container with each request?
Just curious.
Un saludo,
Alex.
Costin Manolache wrote:
> --- Alex Fernández <[EMAIL PROTECTED]> 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/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]