diff options
author | 2017-06-06 17:02:38 -0700 | |
---|---|---|
committer | 2017-06-06 17:02:38 -0700 | |
commit | e9dea378c5effc774086a038aaaf57bb63621d08 (patch) | |
tree | 8443b34e9fcd94a5cf9dd115ddf598b3ae543817 /test/cpp/microbenchmarks/bm_fullstack_trickle.cc | |
parent | 8758e1030f75b68192f79b8258d9016bddd09e8d (diff) |
Pare down args once more
Diffstat (limited to 'test/cpp/microbenchmarks/bm_fullstack_trickle.cc')
-rw-r--r-- | test/cpp/microbenchmarks/bm_fullstack_trickle.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/cpp/microbenchmarks/bm_fullstack_trickle.cc b/test/cpp/microbenchmarks/bm_fullstack_trickle.cc index 5a16f6b0ef..c201e2e867 100644 --- a/test/cpp/microbenchmarks/bm_fullstack_trickle.cc +++ b/test/cpp/microbenchmarks/bm_fullstack_trickle.cc @@ -417,7 +417,8 @@ static void BM_PumpUnbalancedUnary_Trickle(benchmark::State& state) { static void UnaryTrickleArgs(benchmark::internal::Benchmark* b) { for (int bw = 64; bw <= 128 * 1024 * 1024; bw *= 16) { - for (int i = 1; i <= 128 * 1024 * 1024; i *= 64) { + b->Args({1, 1, bw}); + for (int i = 64; i <= 128 * 1024 * 1024; i *= 64) { double expected_time = static_cast<double>(14 + i) / (125.0 * static_cast<double>(bw)); if (expected_time > 2.0) continue; |