diff options
Diffstat (limited to 'bench/01-dijkstra.cpp')
-rw-r--r-- | bench/01-dijkstra.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bench/01-dijkstra.cpp b/bench/01-dijkstra.cpp index aecc885a..66300721 100644 --- a/bench/01-dijkstra.cpp +++ b/bench/01-dijkstra.cpp @@ -10,7 +10,8 @@ namespace floormat { namespace { auto A = astar(); -bool first_run = true; +bool first_run = false; + void Dijkstra(benchmark::State& state) { @@ -65,6 +66,6 @@ void Dijkstra(benchmark::State& state) } // namespace -BENCHMARK(Dijkstra); +BENCHMARK(Dijkstra)->Unit(benchmark::kMillisecond); } // namespace floormat |