Revert "Better cost estimation"

This reverts commit 4f98e25f8b.
pull/10712/head
Craig Tiller 8 years ago
parent 1fb0c39168
commit f62f8d37b6
  1. 1
      test/cpp/qps/gen_build_yaml.py
  2. 24
      tools/run_tests/generated/tests.json

@ -66,7 +66,6 @@ def _scenario_json_string(scenario_json, is_tsan):
def threads_required(scenario_json, where, is_tsan):
scenario_json = mutate_scenario(scenario_json, is_tsan)
if scenario_json['%s_config' % where]['%s_type' % where] == 'ASYNC_%s' % where.upper():
if scenario_json['client_config']['client_channels'] == 1: return 1
return scenario_json['%s_config' % where].get('async_%s_threads' % where, 0)
return scenario_json['client_config']['outstanding_rpcs_per_channel'] * scenario_json['client_config']['client_channels']

@ -41350,7 +41350,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 100,
"cpu_cost": "capacity",
"defaults": "boringssl",
"exclude_configs": [
"tsan",
@ -41452,7 +41452,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 2,
"cpu_cost": "capacity",
"defaults": "boringssl",
"exclude_configs": [
"tsan",
@ -41504,7 +41504,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 2,
"cpu_cost": "capacity",
"defaults": "boringssl",
"exclude_configs": [
"tsan",
@ -41929,7 +41929,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 100,
"cpu_cost": "capacity",
"defaults": "boringssl",
"exclude_configs": [
"tsan",
@ -42031,7 +42031,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 2,
"cpu_cost": "capacity",
"defaults": "boringssl",
"exclude_configs": [
"tsan",
@ -42083,7 +42083,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 2,
"cpu_cost": "capacity",
"defaults": "boringssl",
"exclude_configs": [
"tsan",
@ -42560,7 +42560,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 100,
"cpu_cost": "capacity",
"defaults": "boringssl",
"exclude_configs": [
"asan-noleaks",
@ -42714,7 +42714,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 2,
"cpu_cost": "capacity",
"defaults": "boringssl",
"exclude_configs": [
"asan-noleaks",
@ -42792,7 +42792,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 2,
"cpu_cost": "capacity",
"defaults": "boringssl",
"exclude_configs": [
"asan-noleaks",
@ -43438,7 +43438,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 100,
"cpu_cost": "capacity",
"defaults": "boringssl",
"exclude_configs": [
"asan-noleaks",
@ -43592,7 +43592,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 2,
"cpu_cost": "capacity",
"defaults": "boringssl",
"exclude_configs": [
"asan-noleaks",
@ -43670,7 +43670,7 @@
"ci_platforms": [
"linux"
],
"cpu_cost": 2,
"cpu_cost": "capacity",
"defaults": "boringssl",
"exclude_configs": [
"asan-noleaks",

Loading…
Cancel
Save