From 4805538d4448e02597c53ae79eca98b11d9710aa Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Fri, 14 Aug 2020 10:21:44 +0200 Subject: [PATCH] add bazel "counters" config --- tools/bazel.rc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/bazel.rc b/tools/bazel.rc index b27d9cb0675..a7bb30bbcc3 100644 --- a/tools/bazel.rc +++ b/tools/bazel.rc @@ -88,3 +88,10 @@ build:basicprof --copt=-DGRPC_TIMERS_RDTSC build:python_single_threaded_unary_stream --test_env="GRPC_SINGLE_THREADED_UNARY_STREAM=true" build:python_poller_engine --test_env="GRPC_ASYNCIO_ENGINE=poller" + +# "counters" config is based on a legacy config provided by the Makefile (see definition in build_handwritten.yaml). +# It is only used in microbenchmarks. +# TODO(jtattermusch): get rid of the "counters" config when possible +build:counters --compilation_mode=opt +build:counters --copt=-Wframe-larger-than=16384 +build:counters --copt=-DGPR_LOW_LEVEL_COUNTERS