From: Marc P. <ma...@an...> - 2003-01-29 10:14:27
|
On Tue, 28 Jan 2003 19:22:42 -0500, Eric B. Ridge <eb...@tc...> wrote: > Is it really necessary to use org.webmacro.util.Clock (a background > thread) to calculate the timestamp for logging? This seems like overkill > considering WM should only log when your templates are messed up. It's > not like WM's performance is going to drop 2-fold by using "new Date()" > instead. > > Clock is only used in 3 places: o.wm.servlet.ServletLog, > o.wm.util.LogFile, and o.wm.util.LogSource > > Can I remove this? Please? If I recall, this really was introduced due to heavy performance penalties. I think not using means getting very poor (unrealistic) performance while debugging, and this could in turn foul up your plans if your debugging involves an element of profiling. I may be wrong, but I remember this... Marc |