diff options
Diffstat (limited to 'bench/noop.cpp')
| -rw-r--r-- | bench/noop.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bench/noop.cpp b/bench/noop.cpp new file mode 100644 index 00000000..ca84944a --- /dev/null +++ b/bench/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 |
