Skip to content
Snippets Groups Projects
Commit f739c058 authored by Craig Tiller's avatar Craig Tiller
Browse files

Make a better educated guess about CPU costs of a benchmark

parent 38bfa15d
No related branches found
No related tags found
No related merge requests found
...@@ -63,8 +63,8 @@ def guess_cpu(scenario_json): ...@@ -63,8 +63,8 @@ def guess_cpu(scenario_json):
server = threads_of_type(scenario_json, 'server_config/async_server_threads') server = threads_of_type(scenario_json, 'server_config/async_server_threads')
# make an arbitrary guess if set to auto-detect # make an arbitrary guess if set to auto-detect
# about the size of the jenkins instances we have for unit tests # about the size of the jenkins instances we have for unit tests
if client == 0: client = 8 if client == 0: client = 16
if server == 0: server = 8 if server == 0: server = 16
return (scenario_json['num_clients'] * client + return (scenario_json['num_clients'] * client +
scenario_json['num_servers'] * server) scenario_json['num_servers'] * server)
......
...@@ -36783,7 +36783,7 @@ ...@@ -36783,7 +36783,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
...@@ -36825,7 +36825,7 @@ ...@@ -36825,7 +36825,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
...@@ -36846,7 +36846,7 @@ ...@@ -36846,7 +36846,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
...@@ -36888,7 +36888,7 @@ ...@@ -36888,7 +36888,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
...@@ -36909,7 +36909,7 @@ ...@@ -36909,7 +36909,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
...@@ -36951,7 +36951,7 @@ ...@@ -36951,7 +36951,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
...@@ -36972,7 +36972,7 @@ ...@@ -36972,7 +36972,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
...@@ -37014,7 +37014,7 @@ ...@@ -37014,7 +37014,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
...@@ -37035,7 +37035,7 @@ ...@@ -37035,7 +37035,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
...@@ -37077,7 +37077,7 @@ ...@@ -37077,7 +37077,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
...@@ -37098,7 +37098,7 @@ ...@@ -37098,7 +37098,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
...@@ -37140,7 +37140,7 @@ ...@@ -37140,7 +37140,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
...@@ -37182,7 +37182,7 @@ ...@@ -37182,7 +37182,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
...@@ -37203,7 +37203,7 @@ ...@@ -37203,7 +37203,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
...@@ -37245,7 +37245,7 @@ ...@@ -37245,7 +37245,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
...@@ -37266,7 +37266,7 @@ ...@@ -37266,7 +37266,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
...@@ -37308,7 +37308,7 @@ ...@@ -37308,7 +37308,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
...@@ -37329,7 +37329,7 @@ ...@@ -37329,7 +37329,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
...@@ -37371,7 +37371,7 @@ ...@@ -37371,7 +37371,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
...@@ -37392,7 +37392,7 @@ ...@@ -37392,7 +37392,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
...@@ -37434,7 +37434,7 @@ ...@@ -37434,7 +37434,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
...@@ -37455,7 +37455,7 @@ ...@@ -37455,7 +37455,7 @@
"ci_platforms": [ "ci_platforms": [
"linux" "linux"
], ],
"cpu_cost": 8, "cpu_cost": 16,
"defaults": "boringssl", "defaults": "boringssl",
"exclude_configs": [], "exclude_configs": [],
"flaky": false, "flaky": false,
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment