
24 Feb
2009
24 Feb
'09
8:54 p.m.
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