HomePhabricator

[backport#18754] bench: add CAddrMan benchmarks

Description

[backport#18754] bench: add CAddrMan benchmarks

Summary:
a9b957740e3490d87e5ce0b7f1b93ba43bb19764 bench: add CAddrMan benchmarks (Vasil Dimov)

Pull request description:

The added benchmarks exercise the public methods Add(), GetAddr(),
Select() and Good().

Backport of Core PR18754

Test Plan:

ninja all
./src/bench/bitcoin-bench -filter=AddrMan.*

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Apr 25 2020, 12:38
majcostaCommitted on Jan 21 2021, 12:29
majcostaPushed on Jan 21 2021, 12:29
Reviewer
Restricted Project
Differential Revision
D8992: [backport#18754] bench: add CAddrMan benchmarks
Parents
rABCf9ec355922bb: [backport#18669] log: Use Join() helper when listing log categories
Branches
Unknown
Tags
Unknown