HomePhabricator

bench: CreateNewBlock with long tx chains

Description

bench: CreateNewBlock with long tx chains

Summary:

This adds two new benchmarks:
- Test block generation with a transaction chain of 50
  one-input-one-output transactions
- Test block generation with a transaction chain of 500
  one-input-one-output transactions

Port of bchn#1074.

Depends on D13104.

Test Plan:

ninja bench-bitcoin

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

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

Details

Provenance
dagurvalAuthored on Feb 6 2023, 19:29
FabienCommitted on Feb 7 2023, 19:05
FabienPushed on Feb 7 2023, 19:05
Reviewer
Restricted Project
Differential Revision
D13105: bench: CreateNewBlock with long tx chains
Parents
rABCeef7c2791b29: bench: Reorgs of blocks with long tx chains
Branches
Unknown
Tags
Unknown