commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ottobackwards <...@git.apache.org>
Subject [GitHub] commons-lang pull request #311: LANG-1373 Stopwatch based capability for nes...
Date Wed, 03 Jan 2018 19:31:13 GMT
GitHub user ottobackwards opened a pull request:

    https://github.com/apache/commons-lang/pull/311

    LANG-1373 Stopwatch based capability for nested, named, timings 

    There are times when you want to do a number or related timings across a sequence of calls
or operations.  This is difficult to do with just the StopWatch.
    
    StackWatch provides an abstraction over the  StopWatch class that allows callers to create
multiple named and possibly nested timing operations.
    
    StackWatch uses a combination of Deque and a custom Tree implementation to create, start
and end timing operations.
    
    A Visitor pattern is also implemented to allow for retrieving the results after the completion
of the operation, and timings may be tagged to allow the consumer to filter the results.
    
    
    
    I have built this in my personal travis and all three jobs pass


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ottobackwards/commons-lang stackwatch

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-lang/pull/311.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #311
    
----
commit dd09e9225aba05e854fb1b8a4611450248d38dd3
Author: Otto Fowler <ottobackwards@...>
Date:   2018-01-03T17:19:07Z

    StackWatch implementation and tests

commit ddaab51568ab01fc883d30e66394a669a75e24cc
Author: Otto Fowler <ottobackwards@...>
Date:   2018-01-03T19:30:28Z

    fix wording in javadoc

----


---

Mime
View raw message