From 5240a5c28a5225c4c1ebd02eb97c902e10d65657 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 6 Nov 2023 18:31:59 +0100 Subject: bbb --- bench/03-bitmask.cpp | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 bench/03-bitmask.cpp (limited to 'bench/03-bitmask.cpp') diff --git a/bench/03-bitmask.cpp b/bench/03-bitmask.cpp deleted file mode 100644 index c8c698a6..00000000 --- a/bench/03-bitmask.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include "compat/assert.hpp" -#include "src/anim-atlas.hpp" -#include "loader/loader.hpp" -#include -#include -#include -#include - -namespace floormat { - -namespace { - -[[maybe_unused]] void Bitmask(benchmark::State& state) -{ - auto img = loader.texture(loader.SCENERY_PATH, "door-close"_s); - auto bitmask = anim_atlas::make_bitmask(img); - anim_atlas::make_bitmask_(img, bitmask); - - for (auto _ : state) - anim_atlas::make_bitmask_(img, bitmask); -} - -BENCHMARK(Bitmask)->Unit(benchmark::kMicrosecond)->ReportAggregatesOnly(); - -} // namespace - -} // namespace floormat -- cgit v1.2.3