[logback-user] Benchmarks (Log4j - Direct, Log4j - Using SLF4J, LogBack, System.Out)

Thorbjørn Ravn Andersen thunderaxiom at gmail.com
Tue Aug 19 12:23:37 CEST 2008


Ceki Gulcu skrev  den 18-08-2008 20:53:
> Hello Eric,
>
> See http://www.qos.ch/pipermail/logback-user/2007-March/000160.html
>
> Eric Faden wrote:
>   
>> Are there any recent benchmarks of these?  I am trying to get some 
>> actual benchmarks as well as how they were computed showing the 
>> upsides/downsides of the logging systems.
>>     
I just ran these again with log4j-1.2.15, slf4j-1.5.2, and logback
0.9.9.   I got these results on OpenSolaris 2008.05 in VirtualBox under
XP with Java 1.6.

###############################################
Log4j direct debug call: 681
Log4j tested (isDebugEnabled) debug call: 28
Logback direct debug call: 671
Logback tested (isDebugEnabled) debug call: 19
Logback parametrized debug call: 23
###############################################

The somewhat unusual configuration is due to the fact that I hope to use
dtrace with one of our applications to get non-benchmark results on the
same configuration.


-- 
   Thorbjørn Ravn Andersen          "... plus... Tubular Bells!"


More information about the Logback-user mailing list