Hi, Yoav,

I'll take a look at thos products. I wasn't aware of your other suggestion. I assume you mean it will improve the performance when debugging is turned off thus preventing the debug statement from being called at all. Is this because there is a lot of overhead with debug(...) calls even with debugging off?

This will be fun, I've got a LOT of debug calls to change. 8(

Thanks,
Jim.

Shapira, Yoav wrote:

Howdy,
I would use JMeter first, if you're just looking for performance
numbers, i.e. time to serve that page.  JMeter is ideally suited for
that.  JProbe and OptimizeIt are great, but they do more than you need
in this case and they WILL skew performance significantly.

As an aside, make sure you have all log4j Logger#debug statements
enclosed in if(logger.isDebugEnabled()) { ... } clauses -- that's an
order of magnitude or so runtime performance improvement.

Yoav Shapira
Millennium ChemInformatics



-----Original Message-----
From: Justin Brister [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 8:44 AM
To: 'Tomcat Users List'
Subject: RE: How to measue performance? Log4j on/off.

Jim,

if you have any money to spend, it would be worth running a code

profiler


such as JProbe over the code. If you don't have access to such a tool /
money, then you could try running JMeter to benchmark the site.

J

-----Original Message-----
From: Jim Lynch [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 1:40 PM
To: Tomcat Users List
Subject: How to measue performance? Log4j on/off.


We have a performance issue with a web page being served via Tomcat/Apache. I don't think it has anything to do with Tomcat, but I am being asked to turn debug logging off to help improve it. I'm resisting because the output has been extremely valuable in solving problems that still crop up and to find out what the users are really doing as opposed to what they said they did.

That said, is there a definitive way I can compare the performance of
the site before and after turning the logging off?  Other than a
stopwatch?

Thanks,
Jim.


--------------------------------------------------------------------- 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]





This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.



--------------------------------------------------------------------- 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]



Reply via email to