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

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

public class ConfiguratorInitializeBenchmark
extends Object

This benchmark demonstrates how long it takes for a simple XML configuration file to be parsed and initialize a new LoggerContext using that configuration.


Constructor Summary
ConfiguratorInitializeBenchmark()
           
 
Method Summary
 org.apache.logging.log4j.core.LoggerContext initializeLoggerContext()
           
 void setUp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfiguratorInitializeBenchmark

public ConfiguratorInitializeBenchmark()
Method Detail

setUp

public void setUp()
           throws IOException
Throws:
IOException

initializeLoggerContext

public org.apache.logging.log4j.core.LoggerContext initializeLoggerContext()


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.