aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/profiling/microbenchmarks/bm2bq.py
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-02-21 16:06:13 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-02-21 16:06:13 -0800
commit21dd43a1cdb927f54f97f9e310b30379a4f20d1f (patch)
tree571ea861352cc599c0d2d31f1c43d3bd08fb9079 /tools/profiling/microbenchmarks/bm2bq.py
parent3e16f4f1fa6b8725b10fac7baed770297ad9ab12 (diff)
parent8b01e8f5e65f7d8c2a11eaeed8c38bed05364830 (diff)
Merge github.com:grpc/grpc into bm_call_create
Diffstat (limited to 'tools/profiling/microbenchmarks/bm2bq.py')
-rwxr-xr-xtools/profiling/microbenchmarks/bm2bq.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/profiling/microbenchmarks/bm2bq.py b/tools/profiling/microbenchmarks/bm2bq.py
index a7d82269f5..8770fb71cf 100755
--- a/tools/profiling/microbenchmarks/bm2bq.py
+++ b/tools/profiling/microbenchmarks/bm2bq.py
@@ -66,6 +66,8 @@ columns = [
('cli_stream_stalls_per_iteration', 'float'),
('svr_transport_stalls_per_iteration', 'float'),
('svr_stream_stalls_per_iteration', 'float'),
+ ('atm_cas_per_iteration', 'float'),
+ ('atm_add_per_iteration', 'float')
]
if sys.argv[1] == '--schema':
@@ -158,7 +160,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'].split(' ')]
+ labels_list = [s.split(':') for s in bm['label'].strip().split(' ')]
for el in labels_list:
el[0] = el[0].replace('/iter', '_per_iteration')
labels = dict(labels_list)