pull/37024/head
Craig Tiller 5 months ago
parent 6219e4e5d7
commit 9b2fc76807
  1. 2
      test/core/call/bm_client_call.cc
  2. 4
      test/core/client_channel/bm_client_channel.cc
  3. 1
      test/core/transport/bm_call_spine.cc

@ -26,6 +26,7 @@
#include "src/core/lib/transport/call_arena_allocator.h"
namespace grpc_core {
namespace {
class TestCallDestination : public UnstartedCallDestination {
public:
@ -170,6 +171,7 @@ void BM_Unary(benchmark::State& state) {
}
BENCHMARK(BM_Unary);
} // namespace
} // namespace grpc_core
// Some distros have RunSpecifiedBenchmarks under the benchmark namespace,

@ -25,7 +25,9 @@
namespace grpc_core {
namespace {
const Slice kTestPath = Slice::FromExternalString("/foo/bar");
}
class ClientChannelTraits {
public:
@ -110,6 +112,7 @@ class ClientChannelTraits {
};
GRPC_CALL_SPINE_BENCHMARK(UnstartedCallDestinationFixture<ClientChannelTraits>);
namespace {
class TestResolver final : public Resolver {
public:
explicit TestResolver(ChannelArgs args,
@ -171,6 +174,7 @@ void BM_CreateClientChannel(benchmark::State& state) {
}
BENCHMARK(BM_CreateClientChannel);
} // namespace
} // namespace grpc_core
// Some distros have RunSpecifiedBenchmarks under the benchmark namespace,

@ -100,6 +100,7 @@ class ForwardCallFixture {
CallFilters::StackBuilder().Build();
};
GRPC_CALL_SPINE_BENCHMARK(ForwardCallFixture);
} // namespace grpc_core
// Some distros have RunSpecifiedBenchmarks under the benchmark namespace,

Loading…
Cancel
Save