diff options
author | Adin Scannell <ascannell@google.com> | 2020-02-24 17:28:27 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-24 17:29:34 -0800 |
commit | 160d5751ab6a06c22aed7d829a17c88344cc7cf2 (patch) | |
tree | e27a84000286e5f91237b6fdee9d3f6f1e3901ab /test/perf | |
parent | 93626a28e4120c5eccdf4b36f071b93b2210714f (diff) |
Add default behavior for gtest runner.
PiperOrigin-RevId: 297009116
Diffstat (limited to 'test/perf')
-rw-r--r-- | test/perf/BUILD | 8 | ||||
-rw-r--r-- | test/perf/linux/getdents_benchmark.cc | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/test/perf/BUILD b/test/perf/BUILD index 7a2bf10ed..346a28e16 100644 --- a/test/perf/BUILD +++ b/test/perf/BUILD @@ -29,7 +29,7 @@ syscall_test( ) syscall_test( - size = "large", + size = "enormous", test = "//test/perf/linux:getdents_benchmark", ) @@ -39,7 +39,7 @@ syscall_test( ) syscall_test( - size = "large", + size = "enormous", test = "//test/perf/linux:gettid_benchmark", ) @@ -87,7 +87,7 @@ syscall_test( ) syscall_test( - size = "large", + size = "enormous", test = "//test/perf/linux:signal_benchmark", ) @@ -102,7 +102,7 @@ syscall_test( ) syscall_test( - size = "large", + size = "enormous", add_overlay = True, test = "//test/perf/linux:unlink_benchmark", ) diff --git a/test/perf/linux/getdents_benchmark.cc b/test/perf/linux/getdents_benchmark.cc index 0e03975b4..afc599ad2 100644 --- a/test/perf/linux/getdents_benchmark.cc +++ b/test/perf/linux/getdents_benchmark.cc @@ -141,7 +141,7 @@ void BM_GetdentsNewFD(benchmark::State& state) { state.SetItemsProcessed(state.iterations()); } -BENCHMARK(BM_GetdentsNewFD)->Range(1, 1 << 16)->UseRealTime(); +BENCHMARK(BM_GetdentsNewFD)->Range(1, 1 << 12)->UseRealTime(); } // namespace |