Force base weights to be the minimum only when the intercept is negative (#12482)
* Force base weights to be the minimum only when the intercept is negative; emit minimum execution times * Add an `assert` making sure the intercept is zero when it's supposed to be zero * Fix template Signed-off-by:Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * ".git/.scripts/bench-bot.sh" pallet dev pallet_assets * ".git/.scripts/bench-bot.sh" pallet dev pallet_uniques Signed-off-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: command-bot <>
Showing
- substrate/.maintain/frame-weight-template.hbs 2 additions, 0 deletionssubstrate/.maintain/frame-weight-template.hbs
- substrate/frame/assets/src/weights.rs 134 additions, 79 deletionssubstrate/frame/assets/src/weights.rs
- substrate/frame/benchmarking/src/analysis.rs 48 additions, 14 deletionssubstrate/frame/benchmarking/src/analysis.rs
- substrate/frame/uniques/src/weights.rs 126 additions, 73 deletionssubstrate/frame/uniques/src/weights.rs
- substrate/utils/frame/benchmarking-cli/src/pallet/template.hbs 1 addition, 0 deletions...rate/utils/frame/benchmarking-cli/src/pallet/template.hbs
- substrate/utils/frame/benchmarking-cli/src/pallet/writer.rs 3 additions, 0 deletionssubstrate/utils/frame/benchmarking-cli/src/pallet/writer.rs
Please register or sign in to comment