public class Log4jLogEventBenchmark extends Object
Constructor and Description |
---|
Log4jLogEventBenchmark() |
Modifier and Type | Method and Description |
---|---|
LogEvent |
createLogEventWithExceptionUsingBuilder() |
LogEvent |
createLogEventWithoutException() |
LogEvent |
createLogEventWithoutExceptionUsingBuilder() |
Serializable |
createSerializableLogEventProxyWithException(org.openjdk.jmh.infra.Blackhole bh) |
Serializable |
createSerializableLogEventProxyWithoutException() |
StackTraceElement |
getSourceLocationOfLogEvent() |
void |
setup() |
void |
testBaseline(org.openjdk.jmh.infra.Blackhole bh) |
public void setup()
public void testBaseline(org.openjdk.jmh.infra.Blackhole bh)
public LogEvent createLogEventWithoutException()
public LogEvent createLogEventWithoutExceptionUsingBuilder()
public LogEvent createLogEventWithExceptionUsingBuilder()
public StackTraceElement getSourceLocationOfLogEvent()
public Serializable createSerializableLogEventProxyWithoutException()
public Serializable createSerializableLogEventProxyWithException(org.openjdk.jmh.infra.Blackhole bh)
Copyright © 1999-2021 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.