aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/microbenchmarks
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-02-15 22:57:43 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-02-15 22:57:43 -0800
commitc52ba3a03f70454269ad65e1edf406cfcfb977fe (patch)
tree64c46413c9969f2e26a83089b0b10b8e08b6bf26 /test/cpp/microbenchmarks
parenta25c9b4aa06d74dec0e7d5346c64b86191a1632c (diff)
Hoist constant setting out of loop - and shave some ns from call creation
Diffstat (limited to 'test/cpp/microbenchmarks')
-rw-r--r--test/cpp/microbenchmarks/bm_call_create.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/microbenchmarks/bm_call_create.cc b/test/cpp/microbenchmarks/bm_call_create.cc
index 8fe69514f6..7a151c57a5 100644
--- a/test/cpp/microbenchmarks/bm_call_create.cc
+++ b/test/cpp/microbenchmarks/bm_call_create.cc
@@ -140,7 +140,7 @@ static void StartTransportOp(grpc_exec_ctx *exec_ctx,
static grpc_error *InitCallElem(grpc_exec_ctx *exec_ctx,
grpc_call_element *elem,
- grpc_call_element_args *args) {
+ const grpc_call_element_args *args) {
return GRPC_ERROR_NONE;
}