aboutsummaryrefslogtreecommitdiff
path: root/src/bench
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2023-10-02 11:54:55 +0100
committerfanquake <fanquake@gmail.com>2023-10-02 14:27:21 +0100
commitd67aa25eb2f781b9edcfcf164a08401f9937a0c1 (patch)
treec628fc31a3ac6be0c94191eb4b9ec7cef08888ec /src/bench
parent8909667ab8a65478e0eaa6495299305ad836e835 (diff)
bench: drop NO_THREAD_SAFETY_ANALYSIS from disconnected_txs
Diffstat (limited to 'src/bench')
-rw-r--r--src/bench/disconnected_transactions.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bench/disconnected_transactions.cpp b/src/bench/disconnected_transactions.cpp
index d6f1590950..0a7344b248 100644
--- a/src/bench/disconnected_transactions.cpp
+++ b/src/bench/disconnected_transactions.cpp
@@ -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);
});
}
@@ -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);
});
}
@@ -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);
});
}