org.apache.logging.log4j.perf.jmh

Class ClocksBenchmark

  • Direct Known Subclasses:
    ClocksBenchmark_jmh_B1


    public class ClocksBenchmark
    extends Object
    Tests performance of various clock implementation.
    • Constructor Detail

      • ClocksBenchmark

        public ClocksBenchmark()
    • Method Detail

      • up

        public void up()
      • baseline

        public void baseline()
      • systemCurrentTimeMillis

        public long systemCurrentTimeMillis()
      • systemClock

        public long systemClock()
      • cachedClock

        public long cachedClock()
      • oldCachedClock

        public long oldCachedClock()
      • coarseCachedClock

        public long coarseCachedClock()
      • fixedClock

        public long fixedClock()
      • fixedFinalClock

        public long fixedFinalClock()

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.