[Backport] weights from v9320 release branch (#1890)

* [benchmarks] pr with weights (#1857)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* [benchmarks] Update weights for statemine/t (#1859)

* [benchmarks] pr with weights

* Update parachains/runtimes/assets/westmint/src/weights/pallet_uniques.rs

* Update parachains/runtimes/assets/westmint/src/weights/pallet_assets.rs

* Update parachains/runtimes/assets/statemine/src/weights/pallet_assets.rs

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: Squirrel <gilescope@gmail.com>

* fix weights for destroy

Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: Squirrel <gilescope@gmail.com>
Co-authored-by: parity-processbot <>
Co-authored-by: Anthony Alaribe <anthonyalaribe@gmail.com>
This commit is contained in:
Egor_P
2022-11-21 15:06:32 +01:00
committed by GitHub
parent 037397eb2f
commit 97f16d9aff
45 changed files with 1282 additions and 978 deletions
@@ -17,21 +17,22 @@
//! Autogenerated weights for `pallet_multisig`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot-parachain
// ./artifacts/polkadot-parachain
// benchmark
// pallet
// --chain=statemint-dev
// --execution=wasm
// --wasm-execution=compiled
// --pallet=pallet_multisig
// --extrinsic=
// --extrinsic=*
// --steps=50
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/assets/statemint/src/weights/pallet_multisig.rs
@@ -47,22 +48,22 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `z` is `[0, 10000]`.
fn as_multi_threshold_1(z: u32, ) -> Weight {
// Minimum execution time: 20_538 nanoseconds.
Weight::from_ref_time(21_429_260 as u64)
// Standard Error: 10
.saturating_add(Weight::from_ref_time(398 as u64).saturating_mul(z as u64))
// Minimum execution time: 22_134 nanoseconds.
Weight::from_ref_time(22_604_925 as u64)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(715 as u64).saturating_mul(z as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_create(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 49_619 nanoseconds.
Weight::from_ref_time(39_692_148 as u64)
// Standard Error: 795
.saturating_add(Weight::from_ref_time(107_929 as u64).saturating_mul(s as u64))
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_563 as u64).saturating_mul(z as u64))
// Minimum execution time: 53_866 nanoseconds.
Weight::from_ref_time(41_343_606 as u64)
// Standard Error: 1_035
.saturating_add(Weight::from_ref_time(133_682 as u64).saturating_mul(s as u64))
// Standard Error: 10
.saturating_add(Weight::from_ref_time(1_773 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -70,12 +71,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[3, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 39_162 nanoseconds.
Weight::from_ref_time(27_925_170 as u64)
// Standard Error: 771
.saturating_add(Weight::from_ref_time(125_006 as u64).saturating_mul(s as u64))
// Minimum execution time: 43_221 nanoseconds.
Weight::from_ref_time(30_853_169 as u64)
// Standard Error: 790
.saturating_add(Weight::from_ref_time(130_145 as u64).saturating_mul(s as u64))
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_587 as u64).saturating_mul(z as u64))
.saturating_add(Weight::from_ref_time(1_733 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -84,12 +85,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 54_676 nanoseconds.
Weight::from_ref_time(42_343_658 as u64)
// Standard Error: 915
.saturating_add(Weight::from_ref_time(143_916 as u64).saturating_mul(s as u64))
// Standard Error: 8
.saturating_add(Weight::from_ref_time(1_486 as u64).saturating_mul(z as u64))
// Minimum execution time: 57_905 nanoseconds.
Weight::from_ref_time(43_231_076 as u64)
// Standard Error: 1_047
.saturating_add(Weight::from_ref_time(162_148 as u64).saturating_mul(s as u64))
// Standard Error: 10
.saturating_add(Weight::from_ref_time(1_831 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -97,30 +98,30 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_create(s: u32, ) -> Weight {
// Minimum execution time: 34_863 nanoseconds.
Weight::from_ref_time(37_816_741 as u64)
// Standard Error: 1_209
.saturating_add(Weight::from_ref_time(126_254 as u64).saturating_mul(s as u64))
// Minimum execution time: 37_073 nanoseconds.
Weight::from_ref_time(40_034_885 as u64)
// Standard Error: 1_195
.saturating_add(Weight::from_ref_time(129_484 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_approve(s: u32, ) -> Weight {
// Minimum execution time: 25_841 nanoseconds.
Weight::from_ref_time(27_329_266 as u64)
// Standard Error: 667
.saturating_add(Weight::from_ref_time(126_214 as u64).saturating_mul(s as u64))
// Minimum execution time: 27_147 nanoseconds.
Weight::from_ref_time(29_227_318 as u64)
// Standard Error: 717
.saturating_add(Weight::from_ref_time(132_920 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn cancel_as_multi(s: u32, ) -> Weight {
// Minimum execution time: 34_887 nanoseconds.
Weight::from_ref_time(37_482_449 as u64)
// Standard Error: 1_063
.saturating_add(Weight::from_ref_time(132_406 as u64).saturating_mul(s as u64))
// Minimum execution time: 37_198 nanoseconds.
Weight::from_ref_time(39_793_955 as u64)
// Standard Error: 968
.saturating_add(Weight::from_ref_time(141_607 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}