org.apache.logging.log4j.perf.jmh

Class ReflectionBenchmark

  • Direct Known Subclasses:
    ReflectionBenchmark_jmh_B1


    public class ReflectionBenchmark
    extends Object

    Benchmarks the different ways the caller class can be obtained. To run this in sampling mode (latency test):

         java -jar benchmarks.jar ".*ReflectionBenchmark.*" -i 5 -f 1 -wi 5 -bm sample -tu ns
     

    To run this in throughput testing mode:

         java -jar benchmarks.jar ".*ReflectionBenchmark.*" -i 5 -f 1 -wi 5 -bm Throughput -tu ms
     

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.