aboutsummaryrefslogtreecommitdiff
path: root/test/cpp/microbenchmarks/bm_chttp2_hpack.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/cpp/microbenchmarks/bm_chttp2_hpack.cc')
-rw-r--r--test/cpp/microbenchmarks/bm_chttp2_hpack.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/cpp/microbenchmarks/bm_chttp2_hpack.cc b/test/cpp/microbenchmarks/bm_chttp2_hpack.cc
index 22da025e5c..1ba7787cc0 100644
--- a/test/cpp/microbenchmarks/bm_chttp2_hpack.cc
+++ b/test/cpp/microbenchmarks/bm_chttp2_hpack.cc
@@ -330,7 +330,9 @@ BENCHMARK_TEMPLATE(BM_HpackEncoderEncodeHeader,
static void BM_HpackParserInitDestroy(benchmark::State& state) {
grpc_core::ExecCtx exec_ctx;
for (auto _ : state) {
- { grpc_core::HPackParser(); }
+ {
+ grpc_core::HPackParser();
+ }
grpc_core::ExecCtx::Get()->Flush();
}
}