diff options
author | Andrei Vagin <avagin@google.com> | 2020-04-03 12:28:00 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-03 12:29:03 -0700 |
commit | 4032cf06e4fe5f952f145427dec34629939df980 (patch) | |
tree | 207673294c94f40250b3890ce0c01d024e8cd889 | |
parent | ea98693d915ebb55bb6b93797bc58d7675ffbe9d (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
-rw-r--r-- | test/perf/BUILD | 1 | ||||
-rw-r--r-- | test/perf/linux/getdents_benchmark.cc | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/test/perf/BUILD b/test/perf/BUILD index 0a0def6a3..471d8c2ab 100644 --- a/test/perf/BUILD +++ b/test/perf/BUILD @@ -30,6 +30,7 @@ syscall_test( syscall_test( size = "enormous", + shard_count = 10, tags = ["nogotsan"], test = "//test/perf/linux:getdents_benchmark", ) 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) { |