W. J. van der Laan
03cb2b480b
Merge bitcoin/bitcoin#23025 : bench: update nanobench add -min_time
...
e148a52332 bench: fixed ubsan implicit conversion (Martin Ankerl)
da4e2f1da0 bench: various args improvements (Jon Atack)
d312fd94a1 bench: clean up includes (Jon Atack)
1f10f1663e bench: add usage description and documentation (Martin Ankerl)
d3c6f8bfa1 bench: introduce -min_time argument (Martin Ankerl)
9fef832932 bench: make EvictionProtection.* work with any number of iterations (Martin Ankerl)
153e6860e8 bench: change AddrManGood to AddrManAddThenGood (Martin Ankerl)
468b232f71 bench: remove unnecessary & incorrect multiplication in MuHashDiv (Martin Ankerl)
eed99cf272 bench: 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-ACK e148a52332
laanwj:
Code review ACK e148a52332
Tree-SHA512: 2da6de19a5c85ac234b190025e195c727546166dbb75e3f9267e667a73677ba1e29b7765877418a42b1407b65df901e0130763936525e6f1450f18f08837c40c
2021-09-24 18:39:04 +02:00
..
2021-09-21 14:45:49 +02:00
2021-09-10 11:18:58 +08:00
2021-08-02 23:48:32 +10:00
2020-12-08 19:26:30 +01:00
2021-06-23 09:46:38 -07:00
2021-08-20 16:59:41 +02:00
2021-08-17 03:05:15 -05:00
2021-09-20 19:25:43 +02:00
2021-06-10 09:58:45 -05:00
2020-01-28 16:59:07 +01:00
2021-09-07 19:19:31 +02:00
2021-09-20 19:25:43 +02:00
2021-09-20 13:34:48 +01:00
2020-12-31 09:45:41 +01:00
2021-09-15 22:22:10 -04:00
2021-09-21 11:13:29 +02:00
2021-09-03 13:42:03 +02:00
2021-07-14 14:43:45 -07:00
2021-02-01 15:17:28 +01:00
2021-09-24 14:04:51 +02:00
2020-11-19 15:48:24 +01:00
2021-09-23 16:40:41 +08:00
2021-09-21 11:13:29 +02:00
2021-06-20 16:56:07 +02:00
2021-02-18 10:07:37 +00:00
2021-09-07 09:11:10 +02:00
2021-09-09 09:20:43 +02:00
2021-09-09 09:20:43 +02:00
2021-09-21 10:09:45 +02:00
2021-09-21 10:07:48 +02:00
2020-12-31 09:45:41 +01:00
2021-07-30 11:21:51 +02:00
2021-07-30 11:21:51 +02:00
2021-01-31 17:35:16 +01:00
2020-12-31 09:45:41 +01:00
2021-03-17 17:59:22 -07:00
2021-03-17 17:59:22 -07:00
2021-08-17 16:54:47 +08:00
2021-09-20 18:52:04 +08:00
2021-08-17 16:54:47 +08:00
2021-09-02 13:19:42 +08:00
2021-08-17 16:54:47 +08:00
2021-06-18 20:10:07 +02:00
2021-08-17 16:54:47 +08:00
2021-06-18 20:09:23 +02:00
2021-08-17 16:54:47 +08:00
2021-06-10 09:58:45 -05:00
2020-12-31 09:45:41 +01:00
2020-05-28 09:55:39 +03:00
2020-12-31 09:45:41 +01:00
2020-05-26 17:27:15 -04:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-09-15 15:46:44 -04:00
2021-09-16 18:53:04 +02:00
2021-07-09 11:19:36 +02:00
2021-09-16 18:53:04 +02:00
2020-12-31 09:45:41 +01:00
2021-07-30 11:03:44 +02:00
2020-09-24 06:55:34 +03:00
2021-08-16 16:04:47 +08:00
2021-08-16 16:04:47 +08:00
2021-06-17 09:47:08 -04:00
2021-06-17 09:47:08 -04:00
2021-03-01 17:36:16 +01:00
2021-05-04 06:53:32 +02:00
2020-05-15 15:26:54 -07:00
2021-03-23 10:51:43 -04:00
2021-06-12 12:38:17 -07:00
2021-03-23 10:51:43 -04:00
2021-01-04 12:23:16 +08:00
2021-05-04 06:53:37 +02:00
2021-02-01 15:17:28 +01:00
2021-06-30 08:19:12 +10:00
2021-06-30 08:19:12 +10:00
2021-08-02 23:48:32 +10:00
2021-07-01 20:20:52 +02:00
2021-09-16 08:47:38 +08:00
2021-06-16 10:48:58 +02:00
2021-06-16 10:48:58 +02:00
2021-02-10 20:46:25 +00:00
2020-05-20 07:30:29 -04:00
2021-08-27 08:31:45 +02:00
2021-01-15 22:48:15 +01:00
2021-07-05 08:59:38 +03:00
2021-04-23 11:35:15 -07:00
2021-09-02 13:17:46 +08:00
2021-03-29 23:29:42 +02:00
2021-09-09 21:37:42 +08:00
2020-04-16 13:33:09 -04:00
2021-07-09 11:19:37 +02:00
2021-03-16 13:59:18 +01:00
2020-04-16 13:33:09 -04:00
2021-09-16 19:53:28 +02:00
2021-07-12 21:46:59 +08:00
2021-05-24 12:14:16 -07:00
2021-01-24 02:44:53 +01:00
2021-08-30 12:02:04 -04:00
2021-09-16 21:16:39 +09:00
2021-08-18 19:57:15 +02:00
2021-08-18 19:57:15 +02:00
2021-09-10 11:18:58 +08:00
2021-07-08 12:28:23 +02:00
2020-12-08 19:26:30 +01:00
2021-07-05 08:59:38 +03:00
2020-10-27 19:40:44 +01:00
2021-08-17 03:05:15 -05:00
2021-08-17 03:05:15 -05:00
2021-03-04 12:34:46 +08:00
2021-09-15 15:46:48 -04:00
2021-09-21 10:09:56 +02:00
2021-04-29 18:39:01 +03:00
2021-01-07 18:07:09 +02:00
2020-04-16 13:33:09 -04:00
2021-01-04 12:31:31 +08:00
2020-12-31 09:45:41 +01:00
2021-09-20 22:40:15 +02:00
2021-05-27 13:50:11 -04:00
2021-05-19 19:41:05 +02:00
2021-07-15 12:52:38 -07:00
2021-09-12 12:53:50 +02:00
2021-08-04 16:37:12 +02:00
2021-09-03 05:21:58 -04:00
2021-09-03 05:21:58 -04:00
2021-09-17 14:25:10 +02:00
2021-09-10 14:04:16 +08:00
2021-09-07 13:31:10 +01:00
2021-09-07 13:31:10 +01:00
2021-09-11 10:47:02 +03:00
2021-04-06 14:50:17 +08:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-08-04 19:20:32 +08:00
2021-08-04 19:20:32 +08:00
2020-04-30 18:02:03 +08:00
2021-05-13 12:42:21 +01:00
2021-08-23 18:53:34 +02:00
2021-06-12 12:25:28 -07:00
2021-06-12 12:25:28 -07:00
2021-09-02 10:41:16 +08:00
2021-08-23 21:38:34 -04:00
2021-05-04 06:55:31 +02:00
2020-04-30 09:19:14 -04:00
2021-03-29 11:08:29 +08:00
2021-07-05 08:59:38 +03:00
2021-05-14 12:49:16 +02:00
2021-01-29 15:39:44 +08:00
2021-05-31 14:56:17 +02:00
2021-04-04 18:08:36 +02:00
2021-04-04 18:08:36 +02:00
2021-09-07 09:11:10 +02:00
2021-03-15 10:41:30 +08:00
2020-11-25 15:18:33 +01:00
2021-05-05 20:19:03 +02:00
2021-09-06 23:43:51 +02:00
2021-09-06 23:43:51 +02:00
2020-12-31 09:45:41 +01:00
2021-09-22 22:44:42 +02:00
2021-07-05 08:59:38 +03:00
2021-06-27 19:27:25 +02:00
2021-03-02 12:21:32 +00:00
2021-08-20 16:59:41 +02:00
2021-08-20 16:59:41 +02:00
2021-09-21 16:04:27 +02:00
2021-09-21 16:04:27 +02:00
2021-02-27 01:08:09 +10:00
2021-07-20 13:12:42 +01:00
2021-04-07 19:26:25 +01:00
2020-10-12 12:14:53 -07:00
2020-12-31 09:45:41 +01:00
2021-05-24 12:14:16 -07:00
2020-04-16 13:33:09 -04:00
2021-09-23 22:22:07 +02:00
2021-09-23 22:22:07 +02:00
2020-09-22 11:34:30 -04:00
2020-09-22 11:34:30 -04:00
2020-12-31 09:45:41 +01:00
2021-06-30 08:19:12 +10:00
2021-06-30 08:19:12 +10:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00