java.lang.Object
be.yildizgames.common.application.helper.cli.PerformanceChecker

public class PerformanceChecker extends Object
Utility class for measuring and displaying elapsed time between operations.
Author:
Grégory Van den Borre
  • Constructor Details

    • PerformanceChecker

      public PerformanceChecker()
      Creates a new PerformanceChecker instance.
  • Method Details

    • displayTimeElapsed

      public final void displayTimeElapsed(String label)
      Displays the elapsed time since construction or the last call in milliseconds.
      Parameters:
      label - label to display along with the elapsed time.