[slf4j-dev] svn commit: r1210 - slf4j/trunk/slf4j-api/src/test/java/org/slf4j/helpers

Ceki Gulcu listid at qos.ch
Mon Oct 27 20:41:44 CET 2008



Thorbjørn Ravn Andersen wrote:

> Superficially.  It looked to me as you were calibrating using a sort 
> (due to the checkins handling the different algorithms in the Windows 
> and Linux JVM's), which may or may not be relevant for logging 
> performance as the operations done are different.

The calibration coefficient is calculated by by generating a series of random 
numbers and then sorting them. Admittedly, such operations are not directly 
related to logging but they nonetheless give a rough estimate of the host CPU's 
power.

> Yes.  I had a performance test fail on me, otherwise I would not have 
> brought up the issue.
> 
> It was a while ago so I believe that it was on my elderly Pentium II 
> Linux box at work.  It does not happen on my MacBook.  I'll have a look.

There are many more performance tests in logback so such failures are likelier 
to occur in that project. Nevertheless, if such a failure reoccurs, do not 
hesitate to report it on this list, so we can take corrective measures.

> /Thorbjørn

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



More information about the slf4j-dev mailing list