Class | Description |
---|---|
AsyncAppenderLog4j1Benchmark |
Tests Log4j-1.2 Async Appender performance.
|
AsyncAppenderLog4j1Benchmark.NormalState | |
AsyncAppenderLog4j2Benchmark |
Tests Log4j2 Async Appender performance.
|
AsyncAppenderLog4j2Benchmark.NormalState | |
AsyncAppenderLogbackBenchmark |
Tests Logback Async Appender performance.
|
AsyncAppenderLogbackBenchmark.NormalState | |
AsyncLoggersBenchmark |
Tests Log4j2 Async Loggers performance.
|
ClocksBenchmark |
Tests performance of various clock implementation.
|
ConfiguratorInitializeBenchmark |
This benchmark demonstrates how long it takes for a simple XML configuration file to be parsed and initialize a new
LoggerContext using that configuration. |
DebugDisabledBenchmark |
Benchmarks Log4j 2, Log4j 1, and Logback using the DEBUG level which is disabled for this test.
|
FormatterLoggerBenchmark |
Tests Log4j2 Formatter Logger performance.
|
JdbcAppenderBenchmark |
Tests the overhead of a number of JDBC Appenders.
|
JpaAppenderBenchmark |
Tests the overhead of a number of JPA Appenders.
|
Log4jLogEventBenchmark | |
PatternLayoutBenchmark |
Tests Log4j2 PatternLayout performance.
|
ReflectionBenchmark |
Benchmarks the different ways the caller class can be obtained.
|
ReflectionBenchmark.ClassContextManager | |
ReflectionBenchmark.RandomInteger | |
SimpleBenchmark |
Tests the overhead of disabled logging.
|
StringEncodingBenchmark |
Tests Log4j2 StringEncoding performance.
|
TimeFormatBenchmark |
Tests performance of various time format implementation.
|
TimeFormatBenchmark.BufferState | |
UuidGeneratorBenchmark |
Compares random UUID generation with time-based UUID generation.
|
Benchmark tests for Log4j. For general usage help, run:
java -jar microbenchmarks.jar -help
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.