diff options
Diffstat (limited to 'bench/critter.cpp')
-rw-r--r-- | bench/critter.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bench/critter.cpp b/bench/critter.cpp index 56bfa9b5..17c44617 100644 --- a/bench/critter.cpp +++ b/bench/critter.cpp @@ -332,11 +332,10 @@ void Critter_move(benchmark::State& st) for (int i = 0; i < 2; i++) test_critter(); for (auto _ : st) - for (int i = 0; i < 10; i++) - test_critter(); + test_critter(); } -BENCHMARK(Critter_move)->Unit(benchmark::kMillisecond); +BENCHMARK(Critter_move)->Unit(benchmark::kMicrosecond); } // namespace |