From 6d742256154cf712da18ba4e35aa760c03d98258 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Mon, 28 Nov 2016 10:04:50 -0800 Subject: Reduce pre-generated key count Doesn't affect benchmark accuracy, but makes startup time substantially faster, and hopefully eliminates occurences like this: https://grpc-testing.appspot.com/job/gRPC_master_linux/642/testReport/junit/(root)/c++_linux_dbg/bins_dbg_bm_fullstack_GRPC_POLL_STRATEGY_epoll/ --- test/cpp/microbenchmarks/bm_fullstack.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/cpp') diff --git a/test/cpp/microbenchmarks/bm_fullstack.cc b/test/cpp/microbenchmarks/bm_fullstack.cc index 2b6dd3219c..b20289eaba 100644 --- a/test/cpp/microbenchmarks/bm_fullstack.cc +++ b/test/cpp/microbenchmarks/bm_fullstack.cc @@ -221,7 +221,7 @@ class InProcessCHTTP2 : public EndpointPairFixture { * CONTEXT MUTATORS */ -static const int kPregenerateKeyCount = 10000000; +static const int kPregenerateKeyCount = 100000; template auto MakeVector(size_t length, F f) -> std::vector { -- cgit v1.2.3