Class SysPerf


  • public class SysPerf
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.slf4j.Logger logger  
    • Method Summary

      Modifier and Type Method Description
      static SysPerf get()  
      java.util.Optional<java.nio.file.attribute.FileTime> getCacheFileTime()  
      SysPerfData getPerfData​(boolean forceRun)
      WARNING: If you are trying to debug this, JMH will not cooperate by default.
      SysPerfData load()  
      void reset()  
      void save​(boolean forceSave)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        public static final org.slf4j.Logger logger
    • Method Detail

      • get

        public static SysPerf get()
      • getPerfData

        public SysPerfData getPerfData​(boolean forceRun)
        WARNING: If you are trying to debug this, JMH will not cooperate by default.
        Parameters:
        forceRun - Force the benchmarks to run
        Returns:
        a SysPerfData performance data summary
      • reset

        public void reset()
      • getCacheFileTime

        public java.util.Optional<java.nio.file.attribute.FileTime> getCacheFileTime()
      • save

        public void save​(boolean forceSave)