Package org.apache.logging.log4j.perf.jmh

Benchmark tests for Log4j.

See:
          Description

Class Summary
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.
Log4j1AsyncAppenderBenchmark Tests Log4j-1.2 Async Appender performance.
Log4j1AsyncAppenderBenchmark.NormalState  
Log4j2AsyncAppenderBenchmark Tests Log4j2 Async Appender performance.
Log4j2AsyncAppenderBenchmark.NormalState  
Log4jLogEventBenchmark  
LogbackAsyncAppenderBenchmark Tests Logback Async Appender performance.
LogbackAsyncAppenderBenchmark.NormalState  
ReflectionBenchmark Benchmarks the different ways the caller class can be obtained.
ReflectionBenchmark.RandomInteger  
SimpleBenchmark Tests the overhead of disabled logging.
TimeFormatBenchmark Tests performance of various time format implementation.
TimeFormatBenchmark.BufferState  
UuidGeneratorBenchmark Compares random UUID generation with time-based UUID generation.
 

Package org.apache.logging.log4j.perf.jmh Description

Benchmark tests for Log4j. For general usage help, run:

     java -jar microbenchmarks.jar -help
 



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.