diff options
author | Craig Tiller <ctiller@google.com> | 2017-02-16 09:07:45 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-02-16 09:07:45 -0800 |
commit | 264307fa3d846bf0a2cfd94c140ca64014407e43 (patch) | |
tree | 388c12721dcb03c3a2ee4c0469053987901533f4 /tools/profiling | |
parent | 4f60fbf104b88f0213e9f5c98c632b9f56dece43 (diff) |
Add benchmarks for grpc_error
Diffstat (limited to 'tools/profiling')
-rwxr-xr-x | tools/profiling/microbenchmarks/bm2bq.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/profiling/microbenchmarks/bm2bq.py b/tools/profiling/microbenchmarks/bm2bq.py index a7d82269f5..8f728b5c3f 100755 --- a/tools/profiling/microbenchmarks/bm2bq.py +++ b/tools/profiling/microbenchmarks/bm2bq.py @@ -102,6 +102,30 @@ bm_specs = { 'tpl': [], 'dyn': ['request_size', 'bandwidth_kilobits'], }, + 'BM_ErrorStringOnNewError': { + 'tpl': ['fixture'], + 'dyn': [], + }, + 'BM_ErrorStringRepeatedly': { + 'tpl': ['fixture'], + 'dyn': [], + }, + 'BM_ErrorGetStatus': { + 'tpl': ['fixture'], + 'dyn': [], + }, + 'BM_ErrorGetStatusCode': { + 'tpl': ['fixture'], + 'dyn': [], + }, + 'BM_ErrorHttpError': { + 'tpl': ['fixture'], + 'dyn': [], + }, + 'BM_HasClearGrpcStatus': { + 'tpl': ['fixture'], + 'dyn': [], + }, } def numericalize(s): |