org.apache.logging.log4j.perf.jmh
Class SimpleBenchmark

java.lang.Object
  extended by org.apache.logging.log4j.perf.jmh.SimpleBenchmark

public class SimpleBenchmark
extends Object

Tests the overhead of disabled logging.


Constructor Summary
SimpleBenchmark()
           
 
Method Summary
 void setup()
           
 void testBaselineResponseTime(org.openjdk.jmh.logic.BlackHole bh)
           
 void testBaselineThroughput(org.openjdk.jmh.logic.BlackHole bh)
           
 void testDebugDisabledResponseTime(org.openjdk.jmh.logic.BlackHole bh)
           
 void testDebugDisabledThroughput(org.openjdk.jmh.logic.BlackHole bh)
           
 void testIsDebugEnabledResponseTime(org.openjdk.jmh.logic.BlackHole bh)
           
 void testIsDebugEnabledThroughput(org.openjdk.jmh.logic.BlackHole bh)
           
 void testIsEnabledLevelResponseTime(org.openjdk.jmh.logic.BlackHole bh)
           
 void testIsEnabledLevelThroughput(org.openjdk.jmh.logic.BlackHole bh)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleBenchmark

public SimpleBenchmark()
Method Detail

setup

public void setup()

testBaselineThroughput

public void testBaselineThroughput(org.openjdk.jmh.logic.BlackHole bh)

testIsDebugEnabledThroughput

public void testIsDebugEnabledThroughput(org.openjdk.jmh.logic.BlackHole bh)

testIsEnabledLevelThroughput

public void testIsEnabledLevelThroughput(org.openjdk.jmh.logic.BlackHole bh)

testDebugDisabledThroughput

public void testDebugDisabledThroughput(org.openjdk.jmh.logic.BlackHole bh)

testBaselineResponseTime

public void testBaselineResponseTime(org.openjdk.jmh.logic.BlackHole bh)

testIsDebugEnabledResponseTime

public void testIsDebugEnabledResponseTime(org.openjdk.jmh.logic.BlackHole bh)

testIsEnabledLevelResponseTime

public void testIsEnabledLevelResponseTime(org.openjdk.jmh.logic.BlackHole bh)

testDebugDisabledResponseTime

public void testDebugDisabledResponseTime(org.openjdk.jmh.logic.BlackHole bh)


Copyright c 1999-2014 Apache Software Foundation. All Rights Reserved. Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, and the Apache Logging project logo are trademarks of The Apache Software Foundation.