summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2020-09-03 10:52:01 -0700
committergVisor bot <gvisor-bot@google.com>2020-09-03 10:54:01 -0700
commit30c20df76f969699619bc0819b6e54c9d6bcfb5a (patch)
tree51a4ab3c80df7a94a8c59c89509a42d6679f7d6b /test
parent319ce67369b48841c5ee30c7d1b54428ea3b4bab (diff)
Run gentdents_benchmark with fewer files.
This test regularly times out when "shared" filesystem is enabled. PiperOrigin-RevId: 329950622
Diffstat (limited to 'test')
-rw-r--r--test/perf/linux/getdents_benchmark.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/perf/linux/getdents_benchmark.cc b/test/perf/linux/getdents_benchmark.cc
index d8e81fa8c..9030eb356 100644
--- a/test/perf/linux/getdents_benchmark.cc
+++ b/test/perf/linux/getdents_benchmark.cc
@@ -105,7 +105,7 @@ void BM_GetdentsSameFD(benchmark::State& state) {
state.SetItemsProcessed(state.iterations());
}
-BENCHMARK(BM_GetdentsSameFD)->Range(1, 1 << 16)->UseRealTime();
+BENCHMARK(BM_GetdentsSameFD)->Range(1, 1 << 12)->UseRealTime();
// Creates a directory containing `files` files, and reads all the directory
// entries from the directory using a new FD each time.