mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-07 20:43:03 +02:00
e148a52332bench: fixed ubsan implicit conversion (Martin Ankerl)da4e2f1da0bench: various args improvements (Jon Atack)d312fd94a1bench: clean up includes (Jon Atack)1f10f1663ebench: add usage description and documentation (Martin Ankerl)d3c6f8bfa1bench: introduce -min_time argument (Martin Ankerl)9fef832932bench: make EvictionProtection.* work with any number of iterations (Martin Ankerl)153e6860e8bench: change AddrManGood to AddrManAddThenGood (Martin Ankerl)468b232f71bench: remove unnecessary & incorrect multiplication in MuHashDiv (Martin Ankerl)eed99cf272bench: update nanobench from 4.3.4 to 4.3.6 (Martin Ankerl) Pull request description: This PR updates the nanobench with the latest release from upstream, v4.3.6. It fixes the missing performance counters. Due to discussions on #22999 I have done some work that should make the benchmark results more reliable. It introduces a new flag `-min_time` that allows to run a benchmark for much longer then the default. When results are unreliable, choosing a large timeframe here should usually get repeatable results even when frequency scaling cannot be disabled. The default is now 10ms. For this to work I have changed the `AddrManGood` and `EvictionProtection` benchmarks so they work with any number of iterations. Also, this adds more usage documentation to `bench_bitcoin -h` and I've cherry-picked two changes from #22999 authored by Jon Atack ACKs for top commit: jonatack: re-ACKe148a52332laanwj: Code review ACKe148a52332Tree-SHA512: 2da6de19a5c85ac234b190025e195c727546166dbb75e3f9267e667a73677ba1e29b7765877418a42b1407b65df901e0130763936525e6f1450f18f08837c40c