File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ add_executable(bench_bitcoin
44
44
pool.cpp
45
45
prevector.cpp
46
46
random.cpp
47
- readblock .cpp
47
+ readwriteblock .cpp
48
48
rollingbloom.cpp
49
49
rpc_blockchain.cpp
50
50
rpc_mempool.cpp
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ static FlatFilePos WriteBlockToDisk(ChainstateManager& chainman)
28
28
return chainman.m_blockman .SaveBlockToDisk (block, 0 );
29
29
}
30
30
31
- static void ReadBlockFromDiskTest (benchmark::Bench& bench)
31
+ static void ReadBlockFromDiskBench (benchmark::Bench& bench)
32
32
{
33
33
const auto testing_setup{MakeNoLogFileContext<const TestingSetup>(ChainType::MAIN)};
34
34
ChainstateManager& chainman{*testing_setup->m_node .chainman };
@@ -42,7 +42,7 @@ static void ReadBlockFromDiskTest(benchmark::Bench& bench)
42
42
});
43
43
}
44
44
45
- static void ReadRawBlockFromDiskTest (benchmark::Bench& bench)
45
+ static void ReadRawBlockFromDiskBench (benchmark::Bench& bench)
46
46
{
47
47
const auto testing_setup{MakeNoLogFileContext<const TestingSetup>(ChainType::MAIN)};
48
48
ChainstateManager& chainman{*testing_setup->m_node .chainman };
@@ -56,5 +56,5 @@ static void ReadRawBlockFromDiskTest(benchmark::Bench& bench)
56
56
});
57
57
}
58
58
59
- BENCHMARK (ReadBlockFromDiskTest , benchmark::PriorityLevel::HIGH);
60
- BENCHMARK (ReadRawBlockFromDiskTest , benchmark::PriorityLevel::HIGH);
59
+ BENCHMARK (ReadBlockFromDiskBench , benchmark::PriorityLevel::HIGH);
60
+ BENCHMARK (ReadRawBlockFromDiskBench , benchmark::PriorityLevel::HIGH);
You can’t perform that action at this time.
0 commit comments