com.atlassian.jira.util.devspeed
Class JiraDevSpeedTimer

java.lang.Object
  extended by 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
 

Method Detail

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


Copyright © 2002-2012 Atlassian. All Rights Reserved.