HomePhabricator

bench: Reorg benchmarks without mempool removal

Description

bench: Reorg benchmarks without mempool removal

Summary:

This adds two additional re-orgs tests that clear the mempool after
disconnecting blocks. This removes the need to remove them from the
mempool during re-connect.

As of writing this test, removing transactions from mempool during re-connect
takes significant amount of time. Now we can see how much time.

Port of bchn#1077.

Depends on D13105.

Test Plan:

ninja bench-bitcoin

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

Differential Revision: https://reviews.bitcoinabc.org/D13106

Details

Provenance
dagurvalAuthored on Feb 6 2023, 19:31
FabienCommitted on Feb 7 2023, 19:06
FabienPushed on Feb 7 2023, 19:06
Reviewer
Restricted Project
Differential Revision
D13106: bench: Reorg benchmarks without mempool removal
Parents
rABCce7c2881fb7c: bench: CreateNewBlock with long tx chains
Branches
Unknown
Tags
Unknown