GitHub user rxin opened a pull request:
https://github.com/apache/spark/pull/12884
[SPARK-15107][SQL] Allow varying # iterations by test cases in Benchmark
## What changes were proposed in this pull request?
This patch changes our micro-benchmark util to allow setting different
iteration numbers for different test cases. For some of our benchmarks, turning
off whole-stage codegen can make the runtime 20X slower, making it very
difficult to run a large number of times without substantially shortening the
input cardinality.
## How was this patch tested?
N/A - this is a test util.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rxin/spark SPARK-15107
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12884.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 #12884
----
commit 5a646746f4c8793c5acfa21cbb7500ac163f450a
Author: Reynold Xin <[email protected]>
Date: 2016-05-04T01:52:53Z
[SPARK-15107][SQL] Allow running test cases with different iterations in
micro-benchmarks
----
---
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]