jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davide Giannella (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-2013) Add utility class for tracking time spent in the code
Date Mon, 04 Aug 2014 14:25:11 GMT

    [ https://issues.apache.org/jira/browse/OAK-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14084700#comment-14084700
] 

Davide Giannella commented on OAK-2013:
---------------------------------------

usage example

{noformat}
// ... 
StopwatchLogger sl = new StopwatchLogger(FooBar.class); 
// ...

public void foo() { 
  sl.start(); 
  // perform all sort of things 
  sl.split("performed some operations"); 
  // perform other things 
  sl.stop("operation completed"); 
} 
{noformat}

> Add utility class for tracking time spent in the code
> -----------------------------------------------------
>
>                 Key: OAK-2013
>                 URL: https://issues.apache.org/jira/browse/OAK-2013
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Davide Giannella
>            Assignee: Davide Giannella
>            Priority: Trivial
>             Fix For: 1.1
>
>
> Provide an utility class that could be used for tracking time spent during an operation.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message