Substrate pallets benchmark (!156)
* feat: add pallet session benchmark * fix(pallet_collective): fix parameters for benchmark * fix(pallet_treasury): fix parameters for benchmark * fix(pallet_im_online): fix parameters for benchmark Fixed the pallet_im_online parameters to be pass benchmarks. MaxKeys needs to be at least 1000 because of https://github.com/paritytech/substrate/blob/e94cb0dafd4f30ff29512c1c00ec513ada7d2b5d/frame/im-online/src/benchmarking.rs#L35 * feat(runtimes): use our benchmarks for substrate pallets
parent
406d5f88
No related branches found
No related tags found
Showing
- Cargo.lock 26 additions, 0 deletionsCargo.lock
- pallets/README.md 1 addition, 0 deletionspallets/README.md
- pallets/session-benchmarking/Cargo.toml 100 additions, 0 deletionspallets/session-benchmarking/Cargo.toml
- pallets/session-benchmarking/README.md 4 additions, 0 deletionspallets/session-benchmarking/README.md
- pallets/session-benchmarking/src/lib.rs 47 additions, 0 deletionspallets/session-benchmarking/src/lib.rs
- runtime/common/Cargo.toml 9 additions, 0 deletionsruntime/common/Cargo.toml
- runtime/common/src/apis.rs 3 additions, 0 deletionsruntime/common/src/apis.rs
- runtime/common/src/pallets_config.rs 14 additions, 8 deletionsruntime/common/src/pallets_config.rs
- runtime/common/src/weights.rs 6 additions, 0 deletionsruntime/common/src/weights.rs
- runtime/common/src/weights/frame_benchmarking_baseline.rs 101 additions, 0 deletionsruntime/common/src/weights/frame_benchmarking_baseline.rs
- runtime/common/src/weights/frame_system.rs 41 additions, 28 deletionsruntime/common/src/weights/frame_system.rs
- runtime/common/src/weights/pallet_balances.rs 37 additions, 28 deletionsruntime/common/src/weights/pallet_balances.rs
- runtime/common/src/weights/pallet_collective.rs 196 additions, 0 deletionsruntime/common/src/weights/pallet_collective.rs
- runtime/common/src/weights/pallet_im_online.rs 67 additions, 0 deletionsruntime/common/src/weights/pallet_im_online.rs
- runtime/common/src/weights/pallet_multisig.rs 61 additions, 52 deletionsruntime/common/src/weights/pallet_multisig.rs
- runtime/common/src/weights/pallet_preimage.rs 148 additions, 0 deletionsruntime/common/src/weights/pallet_preimage.rs
- runtime/common/src/weights/pallet_proxy.rs 91 additions, 59 deletionsruntime/common/src/weights/pallet_proxy.rs
- runtime/common/src/weights/pallet_scheduler.rs 86 additions, 43 deletionsruntime/common/src/weights/pallet_scheduler.rs
- runtime/common/src/weights/pallet_session.rs 65 additions, 0 deletionsruntime/common/src/weights/pallet_session.rs
- runtime/common/src/weights/pallet_timestamp.rs 14 additions, 11 deletionsruntime/common/src/weights/pallet_timestamp.rs
Loading
Please register or sign in to comment