From 832641f2905532263f70b3ea9ecc4a9ca7373ed2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 8 Oct 2023 09:52:50 +0200 Subject: a --- test/dijkstra.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/dijkstra.cpp') diff --git a/test/dijkstra.cpp b/test/dijkstra.cpp index 817f944a..afd2a85a 100644 --- a/test/dijkstra.cpp +++ b/test/dijkstra.cpp @@ -13,8 +13,9 @@ void bench_run(StringView name, F&& fun) { using namespace std::chrono; using clock = high_resolution_clock; + for (int i = 0; i < 20; i++) + fun(); const auto t0 = clock::now(); - fun(); for (int i = 0; i < 1000; i++) fun(); const auto tm = clock::now() - t0; -- cgit v1.2.3