mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-09 10:43:19 -05:00
bench: drop NO_THREAD_SAFETY_ANALYSIS from disconnected_txs
This commit is contained in:
parent
8909667ab8
commit
d67aa25eb2
1 changed files with 3 additions and 3 deletions
|
@ -98,7 +98,7 @@ static void AddAndRemoveDisconnectedBlockTransactionsAll(benchmark::Bench& bench
|
||||||
const auto chains{CreateBlocks(/*num_not_shared=*/1)};
|
const auto chains{CreateBlocks(/*num_not_shared=*/1)};
|
||||||
assert(chains.num_shared == BLOCK_VTX_COUNT - 1);
|
assert(chains.num_shared == BLOCK_VTX_COUNT - 1);
|
||||||
|
|
||||||
bench.minEpochIterations(10).run([&]() NO_THREAD_SAFETY_ANALYSIS {
|
bench.minEpochIterations(10).run([&]() {
|
||||||
Reorg(chains);
|
Reorg(chains);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -109,7 +109,7 @@ static void AddAndRemoveDisconnectedBlockTransactions90(benchmark::Bench& bench)
|
||||||
const auto chains{CreateBlocks(/*num_not_shared=*/BLOCK_VTX_COUNT_10PERCENT)};
|
const auto chains{CreateBlocks(/*num_not_shared=*/BLOCK_VTX_COUNT_10PERCENT)};
|
||||||
assert(chains.num_shared == BLOCK_VTX_COUNT - 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);
|
Reorg(chains);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -120,7 +120,7 @@ static void AddAndRemoveDisconnectedBlockTransactions10(benchmark::Bench& bench)
|
||||||
const auto chains{CreateBlocks(/*num_not_shared=*/BLOCK_VTX_COUNT - BLOCK_VTX_COUNT_10PERCENT)};
|
const auto chains{CreateBlocks(/*num_not_shared=*/BLOCK_VTX_COUNT - BLOCK_VTX_COUNT_10PERCENT)};
|
||||||
assert(chains.num_shared == 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);
|
Reorg(chains);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue