summaryrefslogtreecommitdiffhomepage
path: root/bench/raycast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/raycast.cpp')
-rw-r--r--bench/raycast.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/bench/raycast.cpp b/bench/raycast.cpp
index 63f4ad4a..f15c8b27 100644
--- a/bench/raycast.cpp
+++ b/bench/raycast.cpp
@@ -101,11 +101,10 @@ void Raycast(benchmark::State& state)
for (int i = 0; i < 50; i++)
test();
for (auto _ : state)
- for (int i = 0; i < 1000; i++)
- test();
+ test();
}
-BENCHMARK(Raycast)->Unit(benchmark::kMillisecond);
+BENCHMARK(Raycast)->Unit(benchmark::kMicrosecond);
} // namespace