diff options
author | Eric Liang <ekl@databricks.com> | 2016-04-19 15:55:21 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-04-19 15:55:21 -0700 |
commit | 008a8bbef0d3475610c13fff778a425900912650 (patch) | |
tree | 8d6bb2dd8dc29328857d26816ca491f51fc735b4 /streaming/src | |
parent | da8859226e09aa6ebcf6a1c5c1369dec3c216eac (diff) | |
download | spark-008a8bbef0d3475610c13fff778a425900912650.tar.gz spark-008a8bbef0d3475610c13fff778a425900912650.tar.bz2 spark-008a8bbef0d3475610c13fff778a425900912650.zip |
[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
Author: Eric Liang <ekl@databricks.com>
Closes #12502 from ericl/spark-14733.
Diffstat (limited to 'streaming/src')
0 files changed, 0 insertions, 0 deletions