mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Run gentdents_benchmark with fewer files.
This test regularly times out when "shared" filesystem is enabled. PiperOrigin-RevId: 329950622
This commit is contained in:
committed by
gVisor bot
parent
319ce67369
commit
30c20df76f
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user