[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 82fd8d1ae3
commit 693440673f
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-07-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
@@ -34,7 +34,7 @@
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_proxy.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -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(16_628_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: 23_916 nanoseconds.
Weight::from_ref_time(25_298_186 as u64)
// Standard Error: 1_962
.saturating_add(Weight::from_ref_time(56_777 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(33_846_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(175_000 as u64).saturating_mul(a as u64))
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 45_550 nanoseconds.
Weight::from_ref_time(45_001_780 as u64)
// Standard Error: 1_797
.saturating_add(Weight::from_ref_time(129_179 as u64).saturating_mul(a as u64))
// Standard Error: 1_857
.saturating_add(Weight::from_ref_time(61_524 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(23_633_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(184_000 as u64).saturating_mul(a as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 30_911 nanoseconds.
Weight::from_ref_time(32_105_074 as u64)
// Standard Error: 1_675
.saturating_add(Weight::from_ref_time(133_673 as u64).saturating_mul(a as u64))
// Standard Error: 1_730
.saturating_add(Weight::from_ref_time(8_634 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(24_121_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(177_000 as u64).saturating_mul(a as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(15_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 31_191 nanoseconds.
Weight::from_ref_time(31_504_964 as u64)
// Standard Error: 1_327
.saturating_add(Weight::from_ref_time(138_900 as u64).saturating_mul(a as u64))
// Standard Error: 1_371
.saturating_add(Weight::from_ref_time(25_702 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(31_509_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(172_000 as u64).saturating_mul(a as u64))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(86_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 40_563 nanoseconds.
Weight::from_ref_time(40_977_387 as u64)
// Standard Error: 1_852
.saturating_add(Weight::from_ref_time(127_040 as u64).saturating_mul(a as u64))
// Standard Error: 1_914
.saturating_add(Weight::from_ref_time(69_759 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(26_168_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(127_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 33_574 nanoseconds.
Weight::from_ref_time(34_501_973 as u64)
// Standard Error: 2_447
.saturating_add(Weight::from_ref_time(70_006 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(26_306_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(131_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 32_661 nanoseconds.
Weight::from_ref_time(34_427_585 as u64)
// Standard Error: 2_414
.saturating_add(Weight::from_ref_time(94_991 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(22_287_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 28_650 nanoseconds.
Weight::from_ref_time(29_749_222 as u64)
// Standard Error: 1_766
.saturating_add(Weight::from_ref_time(46_612 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(29_260_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(38_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 35_910 nanoseconds.
Weight::from_ref_time(37_454_353 as u64)
// Standard Error: 1_783
.saturating_add(Weight::from_ref_time(493 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(23_012_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(97_000 as u64).saturating_mul(p as u64))
// Minimum execution time: 29_942 nanoseconds.
Weight::from_ref_time(31_390_903 as u64)
// Standard Error: 1_992
.saturating_add(Weight::from_ref_time(42_745 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))
}