i used jprofiler to profile my tomcat application...is very easy to use and does detailed CPU and mem profiling..also is not resource hungry
-----Original Message----- From: Paul McCulloch [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 7:22 PM To: 'Struts Users Mailing List' Subject: RE: Performance profiling I've used Borland's OptimizeIt fairly successfully. I'm not sure of the cost (there may be a free trial available) - it may well be cheaper to just buy another processor! Paul > -----Original Message----- > From: Ulrich Elsner [mailto:[EMAIL PROTECTED] > Sent: 2005/26/05 17:17 > To: user@struts.apache.org > Subject: Performance profiling > > > Hi, > > a recent load test showed that my Struts-based application has > some problems achieving the desired performance. On a small > Solaris machine it starts to slow down when reaching about > 140 requests/min, while I'd like it to handle about 200. > Using more hardware solves the problem (on a multi-processor > machine I can easily handle over 300 requests/min) but I'd like > to avoid the additional investment. > > Now, my research indicates that struts itself should easily > handle that kind of load, so the culprit is probably my own > code. > > Can anybody recommend a profiler that allows me to narrow > my search for inefficient code? I have tried EJP and did get > it running, but for some reason it returns enormous amount of > data for java.*, sun.* and some apache.* classes but not for > my own code or for struts classes. > > The actual setup is struts 1.2.4 running in a tomcat 4.1. > behind an Apache 1.3 webserver. > > Regards, > > Ulrich Elsner > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > Axios Email Confidentiality Footer Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message, and notify us immediately. If you or your employer does not consent to Internet email messages of this kind, please advise us immediately. Opinions, conclusions and other information expressed in this message are not given or endorsed by my Company or employer unless otherwise indicated by an authorised representative independent of this message. WARNING: While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted via electronic mail attachments we cannot guarantee that attachments do not contain computer virus code. You are therefore strongly advised to undertake anti virus checks prior to accessing the attachment to this electronic mail. Axios Systems Ltd grants no warranties regarding performance use or quality of any attachment and undertakes no liability for loss or damage howsoever caused. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]