mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
refactor: rename leftover WriteBlockBench
The benchmark was referencing the old name of the method
This commit is contained in:
parent
639279e86a
commit
d2b72b1369
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ static CBlock CreateTestBlock()
|
||||||
return block;
|
return block;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void SaveBlockBench(benchmark::Bench& bench)
|
static void WriteBlockBench(benchmark::Bench& bench)
|
||||||
{
|
{
|
||||||
const auto testing_setup{MakeNoLogFileContext<const TestingSetup>(ChainType::MAIN)};
|
const auto testing_setup{MakeNoLogFileContext<const TestingSetup>(ChainType::MAIN)};
|
||||||
auto& blockman{testing_setup->m_node.chainman->m_blockman};
|
auto& blockman{testing_setup->m_node.chainman->m_blockman};
|
||||||
|
@ -63,6 +63,6 @@ static void ReadRawBlockBench(benchmark::Bench& bench)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
BENCHMARK(SaveBlockBench, benchmark::PriorityLevel::HIGH);
|
BENCHMARK(WriteBlockBench, benchmark::PriorityLevel::HIGH);
|
||||||
BENCHMARK(ReadBlockBench, benchmark::PriorityLevel::HIGH);
|
BENCHMARK(ReadBlockBench, benchmark::PriorityLevel::HIGH);
|
||||||
BENCHMARK(ReadRawBlockBench, benchmark::PriorityLevel::HIGH);
|
BENCHMARK(ReadRawBlockBench, benchmark::PriorityLevel::HIGH);
|
||||||
|
|
Loading…
Add table
Reference in a new issue