On 2/21/06, robert burrell donkin <[EMAIL PROTECTED]> wrote: > i've been running some performance tests: the aim being to check how > much slower JCL 1.1 runs that the 1.0.x releases. the figures for log4j > are interesting. the raw data is below (the percentages are normalised > to 1.0.4 benchmark times). > > 1. there is a small performance degradation between the 1.0.3, 1.0.4 and > 1.1RC5 but not significant (a few percentiles). > 2. 1.0.2 is a *lot* faster for log4j that the later releases > 3. isDebugEnabled is a *lot* faster than logging > 4. getLog is *slow* > > i have some ideas for improving performance against log4j (but testing > them will have to wait till tomorrow).
As long as isDebugEnabled is fast, I'm happy. In most cases, debug level will mean logging a ton of things, so will be slow (of course, people have complained that TC was too slow with debug logging). Are the figures similar with JDK logging ? -- xxxxxxxxxxxxxxxxxxxxxxxxx Rémy Maucherat Developer & Consultant JBoss Group (Europe) SàRL xxxxxxxxxxxxxxxxxxxxxxxxx --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]