[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,7 +17,7 @@
//! Autogenerated weights for `pallet_proxy`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! 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("statemine-dev"), DB CACHE: 1024
@@ -40,7 +40,7 @@
#![allow(unused_parens)]
#![allow(unused_imports)]
use frame_support::{traits::Get, weights::{Weight}};
use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData;
/// Weight functions for `pallet_proxy`.
@@ -49,9 +49,10 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Storage: Proxy Proxies (r:1 w:0)
/// The range of component `p` is `[1, 31]`.
fn proxy(p: u32, ) -> Weight {
Weight::from_ref_time(24_000_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 24_813 nanoseconds.
Weight::from_ref_time(26_025_606 as u64)
// Standard Error: 1_808
.saturating_add(Weight::from_ref_time(42_388 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
// Storage: Proxy Proxies (r:1 w:0)
@@ -60,11 +61,12 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn proxy_announced(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(42_183_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(126_000 as u64).saturating_mul(a as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(57_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 45_603 nanoseconds.
Weight::from_ref_time(45_445_241 as u64)
// Standard Error: 1_841
.saturating_add(Weight::from_ref_time(143_938 as u64).saturating_mul(a as u64))
// Standard Error: 1_902
.saturating_add(Weight::from_ref_time(61_576 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -73,11 +75,12 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn remove_announcement(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(28_402_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(144_000 as u64).saturating_mul(a as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 31_398 nanoseconds.
Weight::from_ref_time(32_032_789 as u64)
// Standard Error: 1_282
.saturating_add(Weight::from_ref_time(134_303 as u64).saturating_mul(a as u64))
// Standard Error: 1_324
.saturating_add(Weight::from_ref_time(15_923 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -86,11 +89,12 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn reject_announcement(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(28_820_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(145_000 as u64).saturating_mul(a as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(18_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 30_846 nanoseconds.
Weight::from_ref_time(31_467_168 as u64)
// Standard Error: 1_236
.saturating_add(Weight::from_ref_time(150_241 as u64).saturating_mul(a as u64))
// Standard Error: 1_277
.saturating_add(Weight::from_ref_time(17_607 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -100,38 +104,42 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn announce(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(37_916_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(124_000 as u64).saturating_mul(a as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(67_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 41_098 nanoseconds.
Weight::from_ref_time(40_893_716 as u64)
// Standard Error: 2_117
.saturating_add(Weight::from_ref_time(144_361 as u64).saturating_mul(a as u64))
// Standard Error: 2_187
.saturating_add(Weight::from_ref_time(77_430 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn add_proxy(p: u32, ) -> Weight {
Weight::from_ref_time(31_658_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 33_935 nanoseconds.
Weight::from_ref_time(34_841_820 as u64)
// Standard Error: 2_029
.saturating_add(Weight::from_ref_time(68_334 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn remove_proxy(p: u32, ) -> Weight {
Weight::from_ref_time(31_794_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(90_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 33_109 nanoseconds.
Weight::from_ref_time(34_725_654 as u64)
// Standard Error: 2_526
.saturating_add(Weight::from_ref_time(87_724 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn remove_proxies(p: u32, ) -> Weight {
Weight::from_ref_time(27_460_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(44_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 29_058 nanoseconds.
Weight::from_ref_time(30_256_589 as u64)
// Standard Error: 1_743
.saturating_add(Weight::from_ref_time(43_532 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -139,18 +147,20 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn create_pure(p: u32, ) -> Weight {
Weight::from_ref_time(34_252_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(14_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 35_997 nanoseconds.
Weight::from_ref_time(37_314_938 as u64)
// Standard Error: 2_035
.saturating_add(Weight::from_ref_time(22_723 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[0, 30]`.
fn kill_pure(p: u32, ) -> Weight {
Weight::from_ref_time(28_616_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(54_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 30_786 nanoseconds.
Weight::from_ref_time(31_603_821 as u64)
// Standard Error: 1_269
.saturating_add(Weight::from_ref_time(45_703 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}