summaryrefslogtreecommitdiffhomepage
path: root/bench
diff options
context:
space:
mode:
Diffstat (limited to 'bench')
-rw-r--r--bench/bitmask.cpp5
1 files changed, 3 insertions, 2 deletions
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