diff options
author | Reynold Xin <rxin@databricks.com> | 2016-05-03 22:56:40 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-05-03 22:56:40 -0700 |
commit | 695f0e9195209c75bfc62fc70bfc6d7d9f1047b3 (patch) | |
tree | 09a996aae9496a53b98ef5f0c6b9d0fabf3769dc /graphx | |
parent | 348c1389842c4d9a8807a41cf22caaa82f81d7ab (diff) | |
download | spark-695f0e9195209c75bfc62fc70bfc6d7d9f1047b3.tar.gz spark-695f0e9195209c75bfc62fc70bfc6d7d9f1047b3.tar.bz2 spark-695f0e9195209c75bfc62fc70bfc6d7d9f1047b3.zip |
[SPARK-15107][SQL] Allow varying # iterations by test case 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.
With this change, I set the default num iterations to 2 for whole stage codegen off, and 5 for whole stage codegen on. I also updated some results.
## How was this patch tested?
N/A - this is a test util.
Author: Reynold Xin <rxin@databricks.com>
Closes #12884 from rxin/SPARK-15107.
Diffstat (limited to 'graphx')
0 files changed, 0 insertions, 0 deletions