Because there are now 2PRs referencing this benchmark commit, we may as well add it independently as it is worth landing the benchmark even if neither patch is accepted.
Backport of Bitcoin Core PR14400
https://github.com/bitcoin/bitcoin/pull/14400