summaryrefslogtreecommitdiffhomepage
path: root/bench/bitmask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/bitmask.cpp')
-rw-r--r--bench/bitmask.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/bench/bitmask.cpp b/bench/bitmask.cpp
index 3fd4d77c..1156a9f7 100644
--- a/bench/bitmask.cpp
+++ b/bench/bitmask.cpp
@@ -17,11 +17,10 @@ void Bitmask(benchmark::State& state)
anim_atlas::make_bitmask_(img, bitmask);
for (auto _ : state)
- for (int i = 0; i < 10; i++)
- anim_atlas::make_bitmask_(img, bitmask);
+ anim_atlas::make_bitmask_(img, bitmask);
}
-BENCHMARK(Bitmask)->Unit(benchmark::kMillisecond);
+BENCHMARK(Bitmask)->Unit(benchmark::kMicrosecond);
} // namespace