I am pretty sure I generated them by using FilterPerformanceComparison. Today 
it uses a ThreadContextMap filter but I believe I swapped that out for a Marker 
filter to get the numbers on the web site.  

BTW - How do I run one of the performance tests that are in log4j-core? I used 
to be able to do mvn test -Dtest=TestName but that no longer works.

Ralph



> On Sep 12, 2015, at 1:43 AM, Ralph Goers <[email protected]> wrote:
> 
> I believe one of the unit tests generated them. I believe it is the number of 
> nanoseconds per comparison. Logback has a lot of lock contention in its 
> filter processing.
> 
> Ralph
> 
> On Sep 11, 2015, at 10:18 PM, Remko Popma <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>> Ralph, do you know what the numbers in the Advanced Filtering section of the 
>> Performance page mean and how they were generated?
>> 
>> On Wed, Sep 9, 2015 at 8:35 AM, Remko Popma <[email protected] 
>> <mailto:[email protected]>> wrote:
>> The Performance page http://logging.apache.org/log4j/2.x/performance.html 
>> <http://logging.apache.org/log4j/2.x/performance.html>
>> has a section on Advanced Filtering containing a performance comparison 
>> table with LogBack. 
>> 
>> What do these numbers mean? Is this messages per second? And is it messages 
>> actually logged or filtered out? (Also would be interested to know which 
>> appender was used, and if the benchmark code is somewhere for others to run.)
>> 

Reply via email to