[bench] Benchmark CTxMemPool::check()
Summary:
This is a backport of core#23157 [1 & 2/8]
https://github.com/bitcoin/bitcoin/pull/23157/commits/cb1407196fba648aa75504e3ab3d46aa0181563a
https://github.com/bitcoin/bitcoin/pull/23157/commits/30e240f65e69c6dffcd033afc63895345bd51f53
Test Plan:
ninja bench-bitcoin
ns/op | op/s | err% | total | benchmark |
---|---|---|---|---|
172,478,220.00 | 5.80 | 0.1% | 1.90 | ComplexMemPool |
... | ... | ... | ... | ... |
8.07 | 123,977,164.61 | 0.0% | 0.00 | MempoolCheck |
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Subscribers: Fabien
Differential Revision: https://reviews.bitcoinabc.org/D12169