diff options
author | Craig Tiller <ctiller@google.com> | 2016-01-20 09:53:15 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-01-20 09:53:15 -0800 |
commit | bfd055357187ac403b0f54abf4729ff4a70499b0 (patch) | |
tree | d6fd98a77b8df63712b4d7f49547a061d92d07be | |
parent | bfe693678d8df3b46772d80eaa9ff298925955ae (diff) |
Add C++ CPU costs
-rw-r--r-- | build.yaml | 6 | ||||
-rwxr-xr-x | src/boringssl/gen_build_yaml.py | 3 | ||||
-rw-r--r-- | tools/run_tests/tests.json | 71 |
3 files changed, 73 insertions, 7 deletions
diff --git a/build.yaml b/build.yaml index 08c8c656e9..61a28cb256 100644 --- a/build.yaml +++ b/build.yaml @@ -1876,6 +1876,7 @@ targets: - gpr_test_util - gpr - name: client_crash_test + cpu_cost: 0.1 build: test language: c++ src: @@ -1954,6 +1955,7 @@ targets: - gpr_test_util - gpr - name: end2end_test + cpu_cost: 0.5 build: test language: c++ src: @@ -2097,6 +2099,7 @@ targets: - linux - posix - name: interop_test + cpu_cost: 0.1 build: test language: c++ src: @@ -2188,6 +2191,7 @@ targets: - linux - posix - name: qps_test + cpu_cost: 10 build: test language: c++ src: @@ -2290,6 +2294,7 @@ targets: - linux - posix - name: server_crash_test + cpu_cost: 0.1 build: test language: c++ src: @@ -2418,6 +2423,7 @@ targets: - linux - posix - name: thread_stress_test + cpu_cost: 100 build: test language: c++ src: diff --git a/src/boringssl/gen_build_yaml.py b/src/boringssl/gen_build_yaml.py index 424912ba70..b635ee4c13 100755 --- a/src/boringssl/gen_build_yaml.py +++ b/src/boringssl/gen_build_yaml.py @@ -137,7 +137,8 @@ class Grpc(object): 'platforms': ['linux', 'mac', 'posix', 'windows'], 'flaky': False, 'language': 'c++', - 'boringssl': True + 'boringssl': True, + 'cpu_cost': 1.0 } for test in files['tests'] ] diff --git a/tools/run_tests/tests.json b/tools/run_tests/tests.json index ce211219c4..e3dd29e7e7 100644 --- a/tools/run_tests/tests.json +++ b/tools/run_tests/tests.json @@ -1790,7 +1790,7 @@ "mac", "posix" ], - "cpu_cost": 1.0, + "cpu_cost": 0.1, "exclude_configs": [], "flaky": false, "language": "c++", @@ -1909,7 +1909,7 @@ "posix", "windows" ], - "cpu_cost": 1.0, + "cpu_cost": 0.5, "exclude_configs": [], "flaky": false, "language": "c++", @@ -1966,7 +1966,7 @@ "mac", "posix" ], - "cpu_cost": 1.0, + "cpu_cost": 0.1, "exclude_configs": [], "flaky": false, "language": "c++", @@ -2004,7 +2004,7 @@ "mac", "posix" ], - "cpu_cost": 1.0, + "cpu_cost": 10, "exclude_configs": [ "tsan" ], @@ -2062,7 +2062,7 @@ "mac", "posix" ], - "cpu_cost": 1.0, + "cpu_cost": 0.1, "exclude_configs": [], "flaky": false, "language": "c++", @@ -2175,7 +2175,7 @@ "posix", "windows" ], - "cpu_cost": 1.0, + "cpu_cost": 100, "exclude_configs": [], "flaky": false, "language": "c++", @@ -2412,6 +2412,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2434,6 +2435,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2456,6 +2458,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2478,6 +2481,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2500,6 +2504,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2525,6 +2530,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2550,6 +2556,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2575,6 +2582,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2600,6 +2608,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2625,6 +2634,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2650,6 +2660,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2675,6 +2686,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2700,6 +2712,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2725,6 +2738,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2750,6 +2764,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2775,6 +2790,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2800,6 +2816,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2825,6 +2842,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2850,6 +2868,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2875,6 +2894,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2900,6 +2920,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2925,6 +2946,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2950,6 +2972,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -2975,6 +2998,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3000,6 +3024,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3025,6 +3050,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3050,6 +3076,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3075,6 +3102,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3100,6 +3128,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3124,6 +3153,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3146,6 +3176,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3168,6 +3199,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3192,6 +3224,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3214,6 +3247,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3236,6 +3270,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3258,6 +3293,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3280,6 +3316,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3302,6 +3339,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3324,6 +3362,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3346,6 +3385,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3368,6 +3408,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3390,6 +3431,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3414,6 +3456,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3436,6 +3479,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3458,6 +3502,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3482,6 +3527,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3504,6 +3550,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3526,6 +3573,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3548,6 +3596,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3570,6 +3619,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3594,6 +3644,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3616,6 +3667,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3638,6 +3690,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3660,6 +3713,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3682,6 +3736,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3704,6 +3759,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3726,6 +3782,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3748,6 +3805,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], @@ -3770,6 +3828,7 @@ "posix", "windows" ], + "cpu_cost": 1.0, "exclude_configs": [ "asan" ], |