summaryrefslogtreecommitdiffhomepage
path: root/bench/raycast.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-04 17:29:46 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-04 17:44:55 +0100
commit8b9ca5cc3a6d6505183d48216a7c22572592663f (patch)
treeea1177bdd941d854563975c27a7adbe7796ddbcb /bench/raycast.cpp
parente56497a9a9e66fc912aadc79e979f51a7f6fe81c (diff)
wip
Diffstat (limited to 'bench/raycast.cpp')
-rw-r--r--bench/raycast.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/bench/raycast.cpp b/bench/raycast.cpp
new file mode 100644
index 00000000..21b1643d
--- /dev/null
+++ b/bench/raycast.cpp
@@ -0,0 +1,20 @@
+#include "src/raycast.hpp"
+#include <benchmark/benchmark.h>
+
+namespace floormat {
+
+namespace {
+
+#warning TODO!
+
+[[maybe_unused]] void Raycast(benchmark::State& state)
+{
+ for (auto _ : state)
+ (void)0;
+}
+
+BENCHMARK(Raycast)->Unit(benchmark::kMicrosecond);
+
+} // namespace
+
+} // namespace floormat