[ 
https://issues.apache.org/jira/browse/LANG-1504?focusedWorklogId=468360&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-468360
 ]

ASF GitHub Bot logged work on LANG-1504:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 10/Aug/20 01:10
            Start Date: 10/Aug/20 01:10
    Worklog Time Spent: 10m 
      Work Description: coveralls commented on pull request #482:
URL: https://github.com/apache/commons-lang/pull/482#issuecomment-671126821


   
   [![Coverage 
Status](https://coveralls.io/builds/32635377/badge)](https://coveralls.io/builds/32635377)
   
   Coverage decreased (-0.4%) to 94.655% when pulling 
**667a71347e9f4ab5a167bfad749d67c6555cac8d on 
topera:LANG-1504-steps-on-stopwatch** into 
**a606a0328ba4b3061c5bc810a31418fa4251ea16 on apache:master**.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 468360)
    Time Spent: 3h  (was: 2h 50m)

> StopWatch: steps feature
> ------------------------
>
>                 Key: LANG-1504
>                 URL: https://issues.apache.org/jira/browse/LANG-1504
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.time.*
>            Reporter: Topera
>            Priority: Major
>          Time Spent: 3h
>  Remaining Estimate: 0h
>
> Would be great if we could use StopWatch to track times on many places of our 
> code.
> I created a new feature called "*steps*". 
>  
> With this feature we can add label to each step and then get a report with 
> time between each step.
>  
> Example:
> {code:java}
> final StopWatch watch = new StopWatch();
> watch.step("starting");
> exampleGoSleep();
> watch.step("sleeping");
> exampleGoWalk();
> watch.step("walking ");
> exampleGoDance();
> watch.step("dancing ");
> System.out.println(watch.getStepsReport());
> {code}
> The output would be:
> {noformat}
> [starting] 0ms
> [sleeping] 235ms
> [walking ] 20ms
> [dancing ] 458ms
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to