com.atlassian.jira.util.devspeed
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 Summary |
static void |
run(String task,
Runnable runnable)
Runs the provided code and times the result |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
run
public static void run(String task,
Runnable runnable)
- Runs the provided code and times the result
- Parameters:
task
- the task to timerunnable
- the code to run
Copyright © 2002-2013 Atlassian. All Rights Reserved.