Make a better educated guess about CPU costs of a benchmark

pull/8872/head
Craig Tiller 8 years ago
parent 38bfa15d2b
commit f739c058b7
  1. 4
      test/cpp/qps/gen_build_yaml.py
  2. 44
      tools/run_tests/tests.json

@ -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)

@ -36783,7 +36783,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,
@ -36825,7 +36825,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,
@ -36846,7 +36846,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,
@ -36888,7 +36888,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,
@ -36909,7 +36909,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,
@ -36951,7 +36951,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,
@ -36972,7 +36972,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,
@ -37014,7 +37014,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,
@ -37035,7 +37035,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,
@ -37077,7 +37077,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,
@ -37098,7 +37098,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,
@ -37140,7 +37140,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,
@ -37182,7 +37182,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,
@ -37203,7 +37203,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,
@ -37245,7 +37245,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,
@ -37266,7 +37266,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,
@ -37308,7 +37308,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,
@ -37329,7 +37329,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,
@ -37371,7 +37371,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,
@ -37392,7 +37392,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,
@ -37434,7 +37434,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,
@ -37455,7 +37455,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 8,
"cpu_cost": 16,
"defaults": "boringssl",
"exclude_configs": [],
"flaky": false,

Loading…
Cancel
Save