GitHub user ericl opened a pull request:

    https://github.com/apache/spark/pull/12502

    [SPARK-14733] Allow custom timing control in microbenchmarks

    ## What changes were proposed in this pull request?
    
    The current benchmark framework runs a code block for several iterations 
and reports statistics. However there is no way to exclude per-iteration setup 
time from the overall results. This PR adds a timer control object passed into 
the closure that can be used for this purpose.
    
    ## How was this patch tested?
    
    Existing benchmark code. Also see https://github.com/apache/spark/pull/12490

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

    $ git pull https://github.com/ericl/spark spark-14733

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

    https://github.com/apache/spark/pull/12502.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 #12502
    
----
commit e8821b6b209aa5a9164e5bf8ddf7cdd0a3c07617
Author: Eric Liang <[email protected]>
Date:   2016-04-19T18:21:04Z

    Tue Apr 19 11:21:04 PDT 2016

commit 0e590c53efa831ad1125eddaa763968fa58d037e
Author: Eric Liang <[email protected]>
Date:   2016-04-19T18:24:25Z

    Tue Apr 19 11:24:24 PDT 2016

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to