Skip to content

Commit c77e310

Browse files
committed
refactor: rename leftover WriteBlockBench
The benchmark was referencing the old name of the method
1 parent d42e82d commit c77e310

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bench/readwriteblock.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ static CBlock CreateTestBlock()
2727
return block;
2828
}
2929

30-
static void SaveBlockBench(benchmark::Bench& bench)
30+
static void WriteBlockBench(benchmark::Bench& bench)
3131
{
3232
const auto testing_setup{MakeNoLogFileContext<const TestingSetup>(ChainType::MAIN)};
3333
auto& blockman{testing_setup->m_node.chainman->m_blockman};
@@ -63,6 +63,6 @@ static void ReadRawBlockBench(benchmark::Bench& bench)
6363
});
6464
}
6565

66-
BENCHMARK(SaveBlockBench, benchmark::PriorityLevel::HIGH);
66+
BENCHMARK(WriteBlockBench, benchmark::PriorityLevel::HIGH);
6767
BENCHMARK(ReadBlockBench, benchmark::PriorityLevel::HIGH);
6868
BENCHMARK(ReadRawBlockBench, benchmark::PriorityLevel::HIGH);

0 commit comments

Comments
 (0)