Okay, some numbers (10min runs under NetBeans' profiler w/ logger classes as roots. Log.write() is sync and no lazy evaluation):
Logger and associated classes: - Wall clock time: 726.77 ms - CPU time: 156.35 ms Log and associated classes: - Wall clock time: 12550.04 ms - CPU time: 8452.19 ms Current branch HEAD was about 17 times (wall clock) and 54 times (CPU) slower in this comparison. Slowdown was not as much as I thought it would be, but certainly more than acceptable. I guess runtime can be lowered a bit with a few more tweaks (mostly by merging sequential calls and removing leftover isLoggable queries - quite a few of those, actually), but, unless someone wants to add a comment, it seems the case is settled. On 25-03-2012 19:22, Marco Schulze wrote: > Working (but incomplete) code is available @ > https://github.com/Heiral/fred-staging/tree/logger++
