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

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

public class Log4jLogEventBenchmark
extends Object


Constructor Summary
Log4jLogEventBenchmark()
           
 
Method Summary
 org.apache.logging.log4j.core.LogEvent createLogEventWithExceptionUsingBuilder()
           
 org.apache.logging.log4j.core.LogEvent createLogEventWithoutException()
           
 org.apache.logging.log4j.core.LogEvent createLogEventWithoutExceptionUsingBuilder()
           
 Serializable createSerializableLogEventProxyWithException(org.openjdk.jmh.logic.BlackHole bh)
           
 Serializable createSerializableLogEventProxyWithoutException()
           
 StackTraceElement getSourceLocationOfLogEvent()
           
 void setup()
           
 void testBaseline(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

Log4jLogEventBenchmark

public Log4jLogEventBenchmark()
Method Detail

setup

public void setup()

testBaseline

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

createLogEventWithoutException

public org.apache.logging.log4j.core.LogEvent createLogEventWithoutException()

createLogEventWithoutExceptionUsingBuilder

public org.apache.logging.log4j.core.LogEvent createLogEventWithoutExceptionUsingBuilder()

createLogEventWithExceptionUsingBuilder

public org.apache.logging.log4j.core.LogEvent createLogEventWithExceptionUsingBuilder()

getSourceLocationOfLogEvent

public StackTraceElement getSourceLocationOfLogEvent()

createSerializableLogEventProxyWithoutException

public Serializable createSerializableLogEventProxyWithoutException()

createSerializableLogEventProxyWithException

public Serializable createSerializableLogEventProxyWithException(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.