diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-11-04 20:18:16 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-11-05 01:04:43 +0100 |
commit | bb1a91f129800af25d198df10d033a01b99e0f6a (patch) | |
tree | cf95555512c933d274623e35513b0a59cddddf0a /bench/01-dijkstra.cpp | |
parent | eb47730fa034cd6419ce16de1204f53db725525e (diff) |
bench stuff
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 |