dcrd/internal
Dave Collins 44204ac2ff
primitives: Add work calc benchmark.
The following is a comparison between the existing implementation in the
blockchain/standalone module with big integers (old) and the new
implementation (new) averaging 10 runs each:

name       old time/op     new time/op     delta
---------------------------------------------------------------------
CalcWork   638ns ± 1%      59ns ± 1%       -90.78%  (p=0.000 n=10+10)

name       old allocs/op   new allocs/op   delta
----------------------------------------------------------------------
CalcWork   7.00 ± 0%       0.00            -100.00%  (p=0.000 n=10+10)
2021-12-04 15:49:09 -06:00
..
fees fees: Remove deprecated DisableLog. 2020-12-28 13:13:47 -06:00
limits multi: update build tags to pref. go1.17 syntax. 2021-10-19 20:21:44 -05:00
mempool mempool: Convert to use stdscript. 2021-11-18 12:33:40 -06:00
mining multi: Allow discrete mining with invalidated tip. 2021-12-03 12:05:15 -06:00
netsync netsync: Rework next block download logic. 2021-11-24 23:53:45 -06:00
progresslog progresslog: Make header logging concurrent safe. 2021-11-23 17:24:58 -06:00
rpcserver rpcserver: Convert to use stdscript. 2021-11-18 12:55:12 -06:00
staging/primitives primitives: Add work calc benchmark. 2021-12-04 15:49:09 -06:00
version version: Use uint32 for major/minor/patch. 2021-11-10 07:08:23 -06:00