Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/bench/disconnected_transactions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static void AddAndRemoveDisconnectedBlockTransactionsAll(benchmark::Bench& bench
const auto chains{CreateBlocks(/*num_not_shared=*/1)};
assert(chains.num_shared == BLOCK_VTX_COUNT - 1);

bench.minEpochIterations(10).run([&]() NO_THREAD_SAFETY_ANALYSIS {
bench.minEpochIterations(10).run([&]() {
Reorg(chains);
});
}
Expand All @@ -109,7 +109,7 @@ static void AddAndRemoveDisconnectedBlockTransactions90(benchmark::Bench& bench)
const auto chains{CreateBlocks(/*num_not_shared=*/BLOCK_VTX_COUNT_10PERCENT)};
assert(chains.num_shared == BLOCK_VTX_COUNT - BLOCK_VTX_COUNT_10PERCENT);

bench.minEpochIterations(10).run([&]() NO_THREAD_SAFETY_ANALYSIS {
bench.minEpochIterations(10).run([&]() {
Reorg(chains);
});
}
Expand All @@ -120,7 +120,7 @@ static void AddAndRemoveDisconnectedBlockTransactions10(benchmark::Bench& bench)
const auto chains{CreateBlocks(/*num_not_shared=*/BLOCK_VTX_COUNT - BLOCK_VTX_COUNT_10PERCENT)};
assert(chains.num_shared == BLOCK_VTX_COUNT_10PERCENT);

bench.minEpochIterations(10).run([&]() NO_THREAD_SAFETY_ANALYSIS {
bench.minEpochIterations(10).run([&]() {
Reorg(chains);
});
}
Expand Down
Loading