From 024fbf24987dda293a628dce51141df0af400900 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 5 Feb 2024 14:44:58 +0100 Subject: bench/test: switch to millisecond display (from microseconds) --- bench/bitmask.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bench') diff --git a/bench/bitmask.cpp b/bench/bitmask.cpp index 1156a9f7..3fd4d77c 100644 --- a/bench/bitmask.cpp +++ b/bench/bitmask.cpp @@ -17,10 +17,11 @@ void Bitmask(benchmark::State& state) anim_atlas::make_bitmask_(img, bitmask); for (auto _ : state) - anim_atlas::make_bitmask_(img, bitmask); + for (int i = 0; i < 10; i++) + anim_atlas::make_bitmask_(img, bitmask); } -BENCHMARK(Bitmask)->Unit(benchmark::kMicrosecond); +BENCHMARK(Bitmask)->Unit(benchmark::kMillisecond); } // namespace -- cgit v1.2.3