From f0787ab92794bb3bed1788b3a79f4eafbd308736 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 10 Oct 2023 03:28:21 +0200 Subject: a --- test/dijkstra.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/dijkstra.cpp b/test/dijkstra.cpp index 8b0f531c..7f2fc38b 100644 --- a/test/dijkstra.cpp +++ b/test/dijkstra.cpp @@ -42,13 +42,14 @@ void test_app::test_dijkstra() debug); }; - static constexpr int iters = 1; + static constexpr int iters = 10; if constexpr (iters > 1) do_bench(1, 1); #if 1 - bench_run("Dijkstra", [&] { - do_bench(iters, iters == 1); - }); + for (int i = 0; i < iters; i++) + bench_run("Dijkstra", [&] { + do_bench(1, iters == 1); + }); #endif } -- cgit v1.2.3