aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-05-23 15:57:48 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-05-23 15:57:48 -0700
commite0ddc35aa371821789bf95c1a80324b7b7c7a83f (patch)
tree01092fdd455002ab62616780cf38c172cabace55 /test
parent825cd4533ce658a82621d2776d3bcf50c159f254 (diff)
Speed up tests
Diffstat (limited to 'test')
-rwxr-xr-xtest/cpp/qps/gen_build_yaml.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/cpp/qps/gen_build_yaml.py b/test/cpp/qps/gen_build_yaml.py
index e8ad74f0f6..34b8151441 100755
--- a/test/cpp/qps/gen_build_yaml.py
+++ b/test/cpp/qps/gen_build_yaml.py
@@ -44,6 +44,9 @@ sys.path.append(run_tests_root)
import performance.scenario_config as scenario_config
def _scenario_json_string(scenario_json):
+ # tweak parameters to get fast test times
+ scenario_json['warmup_seconds'] = 1
+ scenario_json['benchmark_seconds'] = 1
return json.dumps(scenario_config.remove_nonproto_fields(scenario_json))
def threads_of_type(scenario_json, path):