6#include <test/util/setup_common.h>
10 auto testing_setup{MakeNoLogFileContext<TestChain100Setup>()};
12 testing_setup->mineBlocks(1000);
13 bench.
run([&] { testing_setup->m_node.chainman->CheckBlockIndex(); });
static void CheckBlockIndex(benchmark::Bench &bench)
BENCHMARK(CheckBlockIndex)
Main entry point to nanobench's benchmarking facility.
Bench & run(char const *benchmarkName, Op &&op)
Repeatedly calls op() based on the configuration, and performs measurements.