13 auto testing_setup{MakeNoLogFileContext<TestChain100Setup>()};
15 testing_setup->mineBlocks(1000);
17 testing_setup->m_node.chainman->CheckBlockIndex();
static void CheckBlockIndex(benchmark::Bench &bench)
BENCHMARK(CheckBlockIndex, benchmark::PriorityLevel::HIGH)
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.