summaryrefslogtreecommitdiffhomepage
path: root/bench
diff options
context:
space:
mode:
Diffstat (limited to 'bench')
-rw-r--r--bench/bitmask.cpp2
-rw-r--r--bench/dijkstra.cpp2
-rw-r--r--bench/loader.cpp2
-rw-r--r--bench/noop.cpp15
4 files changed, 3 insertions, 18 deletions
diff --git a/bench/bitmask.cpp b/bench/bitmask.cpp
index c8c698a6..9efa25a9 100644
--- a/bench/bitmask.cpp
+++ b/bench/bitmask.cpp
@@ -20,7 +20,7 @@ namespace {
anim_atlas::make_bitmask_(img, bitmask);
}
-BENCHMARK(Bitmask)->Unit(benchmark::kMicrosecond)->ReportAggregatesOnly();
+BENCHMARK(Bitmask)->Unit(benchmark::kMicrosecond);
} // namespace
diff --git a/bench/dijkstra.cpp b/bench/dijkstra.cpp
index 08f310d4..66300721 100644
--- a/bench/dijkstra.cpp
+++ b/bench/dijkstra.cpp
@@ -66,6 +66,6 @@ void Dijkstra(benchmark::State& state)
} // namespace
-BENCHMARK(Dijkstra)->Unit(benchmark::kMillisecond)->ReportAggregatesOnly();
+BENCHMARK(Dijkstra)->Unit(benchmark::kMillisecond);
} // namespace floormat
diff --git a/bench/loader.cpp b/bench/loader.cpp
index d4d22520..6e891ab7 100644
--- a/bench/loader.cpp
+++ b/bench/loader.cpp
@@ -29,7 +29,7 @@ void Loader_json(benchmark::State& state)
}
}
-BENCHMARK(Loader_json)->Unit(benchmark::kMillisecond)->ReportAggregatesOnly();
+BENCHMARK(Loader_json)->Unit(benchmark::kMillisecond);
} // namespace
diff --git a/bench/noop.cpp b/bench/noop.cpp
deleted file mode 100644
index ca84944a..00000000
--- a/bench/noop.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <benchmark/benchmark.h>
-
-#if 0
-namespace {
-
-void noop(benchmark::State& state)
-{
- for (auto _ : state)
- (void)0;
-}
-
-BENCHMARK(noop);
-
-} // namespace
-#endif