diff options
author | 2016-11-28 10:04:50 -0800 | |
---|---|---|
committer | 2016-11-28 10:04:50 -0800 | |
commit | 6d742256154cf712da18ba4e35aa760c03d98258 (patch) | |
tree | af8fd4bba4bb48d93bf2fc3a80cda96f5009cfc5 | |
parent | 87ce813efd85b0b5837baf5e98c25242d52df129 (diff) |
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/
-rw-r--r-- | test/cpp/microbenchmarks/bm_fullstack.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 <class F> auto MakeVector(size_t length, F f) -> std::vector<decltype(f())> { |