aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-02-13 19:23:09 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-02-13 19:23:09 -0800
commitef6d744c23f772f32c6f299291a504e15a10644f (patch)
treeb140017f108d087904b4500d63083855dc78f1ab /test/cpp
parent4cb0a7a5a12802f7deaf77659adb9b07ee58393f (diff)
Include faster networks
Diffstat (limited to 'test/cpp')
-rw-r--r--test/cpp/microbenchmarks/bm_fullstack.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cpp/microbenchmarks/bm_fullstack.cc b/test/cpp/microbenchmarks/bm_fullstack.cc
index b4f57c3e47..619a03d474 100644
--- a/test/cpp/microbenchmarks/bm_fullstack.cc
+++ b/test/cpp/microbenchmarks/bm_fullstack.cc
@@ -1021,9 +1021,9 @@ BENCHMARK_TEMPLATE(BM_PumpStreamServerToClient, InProcessCHTTP2)
static void TrickleArgs(benchmark::internal::Benchmark* b) {
for (int i = 1; i <= 128 * 1024 * 1024; i *= 8) {
- for (int j = 1; j <= 40000; j *= 8) {
- double expected_time = (double)(20 + i) / (125 * (double)j);
- if (expected_time > 0.1) continue;
+ for (int j = 1; j <= 128 * 1024 * 1024; j *= 8) {
+ double expected_time = (double)(14 + i) / (125 * (double)j);
+ if (expected_time > 0.01) continue;
b->Args({i, j});
}
}