More Improvements to Benchmarking CLI + Generic WeightInfo (#7168)
* Generic WeightInfo, Output File Path * Make `WeightInfo` generic * Add support for header file * fix line width * add `--spaces` flag * Configurable trait and struct strings * make elections phragmen generic * Add date to generated file * Apply suggestions from code review Co-authored-by:Gavin Wood <gavin@parity.io> * fixes * add settings metadata to output Co-authored-by:
nikvolf <nikvolf@gmail.com> Co-authored-by:
Gavin Wood <gavin@parity.io>
parent
313f86ec
Showing
- substrate/Cargo.lock 1 addition, 0 deletionssubstrate/Cargo.lock
- substrate/HEADER 16 additions, 0 deletionssubstrate/HEADER
- substrate/bin/node/runtime/src/lib.rs 18 additions, 18 deletionssubstrate/bin/node/runtime/src/lib.rs
- substrate/bin/node/runtime/src/weights/frame_system.rs 10 additions, 9 deletionssubstrate/bin/node/runtime/src/weights/frame_system.rs
- substrate/bin/node/runtime/src/weights/mod.rs 3 additions, 3 deletionssubstrate/bin/node/runtime/src/weights/mod.rs
- substrate/bin/node/runtime/src/weights/pallet_balances.rs 14 additions, 13 deletionssubstrate/bin/node/runtime/src/weights/pallet_balances.rs
- substrate/bin/node/runtime/src/weights/pallet_collective.rs 24 additions, 23 deletionssubstrate/bin/node/runtime/src/weights/pallet_collective.rs
- substrate/bin/node/runtime/src/weights/pallet_democracy.rs 51 additions, 50 deletionssubstrate/bin/node/runtime/src/weights/pallet_democracy.rs
- substrate/bin/node/runtime/src/weights/pallet_elections_phragmen.rs 25 additions, 24 deletions...bin/node/runtime/src/weights/pallet_elections_phragmen.rs
- substrate/bin/node/runtime/src/weights/pallet_identity.rs 41 additions, 40 deletionssubstrate/bin/node/runtime/src/weights/pallet_identity.rs
- substrate/bin/node/runtime/src/weights/pallet_im_online.rs 6 additions, 5 deletionssubstrate/bin/node/runtime/src/weights/pallet_im_online.rs
- substrate/bin/node/runtime/src/weights/pallet_indices.rs 14 additions, 13 deletionssubstrate/bin/node/runtime/src/weights/pallet_indices.rs
- substrate/bin/node/runtime/src/weights/pallet_multisig.rs 22 additions, 21 deletionssubstrate/bin/node/runtime/src/weights/pallet_multisig.rs
- substrate/bin/node/runtime/src/weights/pallet_proxy.rs 23 additions, 22 deletionssubstrate/bin/node/runtime/src/weights/pallet_proxy.rs
- substrate/bin/node/runtime/src/weights/pallet_scheduler.rs 12 additions, 11 deletionssubstrate/bin/node/runtime/src/weights/pallet_scheduler.rs
- substrate/bin/node/runtime/src/weights/pallet_session.rs 8 additions, 7 deletionssubstrate/bin/node/runtime/src/weights/pallet_session.rs
- substrate/bin/node/runtime/src/weights/pallet_staking.rs 57 additions, 56 deletionssubstrate/bin/node/runtime/src/weights/pallet_staking.rs
- substrate/bin/node/runtime/src/weights/pallet_timestamp.rs 6 additions, 5 deletionssubstrate/bin/node/runtime/src/weights/pallet_timestamp.rs
- substrate/bin/node/runtime/src/weights/pallet_treasury.rs 48 additions, 47 deletionssubstrate/bin/node/runtime/src/weights/pallet_treasury.rs
- substrate/bin/node/runtime/src/weights/pallet_utility.rs 4 additions, 3 deletionssubstrate/bin/node/runtime/src/weights/pallet_utility.rs
Please register or sign in to comment