[logback-dev] RFC: LoggingEvent redesign

Ceki Gulcu ceki at qos.ch
Tue Feb 24 21:54:44 CET 2009



Thorbjoern Ravn Andersen wrote:

> Java programs generally create a lot of short lived objects and the 
> garbage collectors know very well how to deal with them.  I suggest we 
> measure to see if there is a difference :)  You probably have some very 
> large datasets?

Preliminary test show that there is a 2% increase in the time it takes to 
serialize LoggingEventMemento instances (3482 nanoseconds per object) instead of 
LoggingEvent instances directly (3413 nanoseconds per object). In other words, 
the overhead is negligible.


-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch


More information about the logback-dev mailing list