org.apache.logging.log4j.perf.jmh
Class ClocksBenchmark
java.lang.Object
org.apache.logging.log4j.perf.jmh.ClocksBenchmark
public class ClocksBenchmark
- extends Object
Tests performance of various clock implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClocksBenchmark
public ClocksBenchmark()
up
public void up()
baseline
public void baseline()
systemCurrentTimeMillis
public long systemCurrentTimeMillis()
systemClock
public long systemClock()
cachedClock
public long cachedClock()
coarseCachedClock
public long coarseCachedClock()
fixedClock
public long fixedClock()
fixedFinalClock
public long fixedFinalClock()
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.