summaryrefslogtreecommitdiffhomepage
path: root/test/perf/linux/getdents_benchmark.cc
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2020-04-03 12:28:00 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-03 12:29:03 -0700
commit4032cf06e4fe5f952f145427dec34629939df980 (patch)
tree207673294c94f40250b3890ce0c01d024e8cd889 /test/perf/linux/getdents_benchmark.cc
parentea98693d915ebb55bb6b93797bc58d7675ffbe9d (diff)
Deflake //third_party/gvisor/test/perf:getdents_benchmark_runsc_ptrace
* Increase a buffer size for getdents64 * Increase a number of shards PiperOrigin-RevId: 304670004
Diffstat (limited to 'test/perf/linux/getdents_benchmark.cc')
-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 afc599ad2..d8e81fa8c 100644
--- a/test/perf/linux/getdents_benchmark.cc
+++ b/test/perf/linux/getdents_benchmark.cc
@@ -38,7 +38,7 @@ namespace testing {
namespace {
-constexpr int kBufferSize = 16384;
+constexpr int kBufferSize = 65536;
PosixErrorOr<TempPath> CreateDirectory(int count,
std::vector<std::string>* files) {