spark-instrumented-optimizer/core/src/main
Eric Liang 4e8ac6edd5 [SPARK-15735] Allow specifying min time to run in microbenchmarks
## What changes were proposed in this pull request?

This makes microbenchmarks run for at least 2 seconds by default, to allow some time for jit compilation to kick in.

## How was this patch tested?

Tested manually with existing microbenchmarks. This change is backwards compatible in that existing microbenchmarks which specified numIters per-case will still run exactly that number of iterations. Microbenchmarks which previously overrode defaultNumIters now override minNumIters.

cc hvanhovell

Author: Eric Liang <ekl@databricks.com>
Author: Eric Liang <ekhliang@gmail.com>

Closes #13472 from ericl/spark-15735.
2016-06-08 16:21:41 -07:00
..
java/org/apache/spark [SPARK-15391] [SQL] manage the temporary memory of timsort 2016-06-03 16:45:09 -07:00
resources/org/apache/spark [SPARK-15641] HistoryServer to not show invalid date for incomplete application 2016-05-31 06:55:07 -05:00
scala/org/apache/spark [SPARK-15735] Allow specifying min time to run in microbenchmarks 2016-06-08 16:21:41 -07:00