aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps/gen_build_yaml.py
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-11-28 13:04:51 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-11-28 13:04:51 -0800
commitf739c058b776d0aa36108662bdc445115c0cd661 (patch)
treefde4a131e135282f16bff0f95ec804dc1a2ba94d /test/cpp/qps/gen_build_yaml.py
parent38bfa15d2ba536c0bb17841bd2ae851248cf1931 (diff)
Make a better educated guess about CPU costs of a benchmark
Diffstat (limited to 'test/cpp/qps/gen_build_yaml.py')
-rwxr-xr-xtest/cpp/qps/gen_build_yaml.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/qps/gen_build_yaml.py b/test/cpp/qps/gen_build_yaml.py
index e4d9e7ac58..1e00e0cd2c 100755
--- a/test/cpp/qps/gen_build_yaml.py
+++ b/test/cpp/qps/gen_build_yaml.py
@@ -63,8 +63,8 @@ def guess_cpu(scenario_json):
server = threads_of_type(scenario_json, 'server_config/async_server_threads')
# make an arbitrary guess if set to auto-detect
# about the size of the jenkins instances we have for unit tests
- if client == 0: client = 8
- if server == 0: server = 8
+ if client == 0: client = 16
+ if server == 0: server = 16
return (scenario_json['num_clients'] * client +
scenario_json['num_servers'] * server)