diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-11 10:35:06 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-11 13:35:27 +0200 |
commit | ca4544f04cc67c296e58170e76203bc11519d988 (patch) | |
tree | 2dcbe936be206c4e7f95a28525fafff6f7340e5e /bench/00-noop.cpp | |
parent | 018755dab3d2a5bb0ead627b6ecad6735a9f0114 (diff) |
add benchmark executable
Diffstat (limited to 'bench/00-noop.cpp')
-rw-r--r-- | bench/00-noop.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bench/00-noop.cpp b/bench/00-noop.cpp new file mode 100644 index 00000000..ca84944a --- /dev/null +++ b/bench/00-noop.cpp @@ -0,0 +1,15 @@ +#include <benchmark/benchmark.h> + +#if 0 +namespace { + +void noop(benchmark::State& state) +{ + for (auto _ : state) + (void)0; +} + +BENCHMARK(noop); + +} // namespace +#endif |