From b4d5c7cee42154b0e24006287a93022ec605def0 Mon Sep 17 00:00:00 2001 From: Moiz Haidry Date: Mon, 8 Oct 2018 10:10:31 -0700 Subject: Benchmark test for callback unary gRPC Every thread intitiates multiple RPCs. The Callback of the unary RPC then issues a new RPC and this goes until the benchmark shuts down. For shutdown the main thread waits on a conditional variable. After shutdown the callbacks increment a rpcs done variable and once the the rpcs done equate the the total number of outstanding rpcs, the last callback performing the increment operation also issues a signal to wake up the main thread. The mainthread process to join the other threads and perform cleanup --- grpc.gyp | 1 + 1 file changed, 1 insertion(+) (limited to 'grpc.gyp') diff --git a/grpc.gyp b/grpc.gyp index 16b182349e..8e14b49cc4 100644 --- a/grpc.gyp +++ b/grpc.gyp @@ -1717,6 +1717,7 @@ 'src/proto/grpc/testing/worker_service.proto', 'test/cpp/qps/benchmark_config.cc', 'test/cpp/qps/client_async.cc', + 'test/cpp/qps/client_callback.cc', 'test/cpp/qps/client_sync.cc', 'test/cpp/qps/driver.cc', 'test/cpp/qps/parse_json.cc', -- cgit v1.2.3