Class JiraDevSpeedTimer

java.lang.Object
com.atlassian.jira.util.devspeed.JiraDevSpeedTimer

public class JiraDevSpeedTimer extends Object
A really simple class to help us track how long JIRA takes to do stuff over time.

It does NOTHING if jira.dev.mode is not on.

Since:
v4.4
  • Method Details

    • run

      public static void run(String task, Runnable runnable)
      Runs the provided code and times the result
      Parameters:
      task - the task to time
      runnable - the code to run