diff options
author | Craig Tiller <ctiller@google.com> | 2017-02-22 19:08:46 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-22 19:08:46 -0800 |
commit | d82c18894a2d142fed92fe40f297277f91c681e3 (patch) | |
tree | a52aba920cd2ccbabee20db6acfc809e5f683bfc /tools | |
parent | 901e48ad5f4938c5c7d733a305df085c420dd859 (diff) | |
parent | 385b00932cfcf86143c2c94c8bbc3bc396f71dbb (diff) |
Merge pull request #9737 from ctiller/bm_call_create
Call creation/destruction benchmark
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/profiling/microbenchmarks/bm2bq.py | 6 | ||||
-rw-r--r-- | tools/run_tests/generated/sources_and_headers.json | 20 | ||||
-rw-r--r-- | tools/run_tests/generated/tests.json | 22 |
3 files changed, 47 insertions, 1 deletions
diff --git a/tools/profiling/microbenchmarks/bm2bq.py b/tools/profiling/microbenchmarks/bm2bq.py index 8770fb71cf..b65aebc97f 100755 --- a/tools/profiling/microbenchmarks/bm2bq.py +++ b/tools/profiling/microbenchmarks/bm2bq.py @@ -104,6 +104,10 @@ bm_specs = { 'tpl': [], 'dyn': ['request_size', 'bandwidth_kilobits'], }, + 'BM_IsolatedFilter' : { + 'tpl': ['fixture', 'client_mutator'], + 'dyn': [], + } } def numericalize(s): @@ -160,7 +164,7 @@ def parse_name(name): for bm in js['benchmarks']: context = js['context'] if 'label' in bm: - labels_list = [s.split(':') for s in bm['label'].strip().split(' ')] + labels_list = [s.split(':') for s in bm['label'].strip().split(' ') if len(s) and s[0] != '#'] for el in labels_list: el[0] = el[0].replace('/iter', '_per_iteration') labels = dict(labels_list) diff --git a/tools/run_tests/generated/sources_and_headers.json b/tools/run_tests/generated/sources_and_headers.json index ce1868df80..462353cb50 100644 --- a/tools/run_tests/generated/sources_and_headers.json +++ b/tools/run_tests/generated/sources_and_headers.json @@ -2318,6 +2318,26 @@ "gpr", "gpr_test_util", "grpc", + "grpc++", + "grpc++_test_util", + "grpc_test_util" + ], + "headers": [], + "is_filegroup": false, + "language": "c++", + "name": "bm_call_create", + "src": [ + "test/cpp/microbenchmarks/bm_call_create.cc" + ], + "third_party": false, + "type": "target" + }, + { + "deps": [ + "benchmark", + "gpr", + "gpr_test_util", + "grpc", "grpc_test_util" ], "headers": [], diff --git a/tools/run_tests/generated/tests.json b/tools/run_tests/generated/tests.json index 142e5bea4a..facc1c3659 100644 --- a/tools/run_tests/generated/tests.json +++ b/tools/run_tests/generated/tests.json @@ -2462,6 +2462,28 @@ "flaky": false, "gtest": false, "language": "c++", + "name": "bm_call_create", + "platforms": [ + "linux", + "mac", + "posix" + ] + }, + { + "args": [ + "--benchmark_min_time=0" + ], + "ci_platforms": [ + "linux", + "mac", + "posix" + ], + "cpu_cost": 1.0, + "exclude_configs": [], + "exclude_iomgrs": [], + "flaky": false, + "gtest": false, + "language": "c++", "name": "bm_closure", "platforms": [ "linux", |