Class PerformanceChecker
java.lang.Object
be.yildizgames.common.application.helper.cli.PerformanceChecker
Utility class for measuring and displaying elapsed time between operations.
- Author:
- Grégory Van den Borre
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voiddisplayTimeElapsed(String label) Displays the elapsed time since construction or the last call in milliseconds.
-
Constructor Details
-
PerformanceChecker
public PerformanceChecker()Creates a new PerformanceChecker instance.
-
-
Method Details
-
displayTimeElapsed
Displays the elapsed time since construction or the last call in milliseconds.- Parameters:
label- label to display along with the elapsed time.
-