mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 05:51:02 +00:00
Backport collective weights from v9330 to master (#1959)
* [benchmarks] pr with weights (#1945) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> * Use master for some methods Co-authored-by: Egor_P <egor@parity.io> Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
This commit is contained in:
+50
-50
@@ -17,8 +17,8 @@
|
||||
//! Autogenerated weights for `pallet_proxy`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-12-05, 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("collectives-polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -49,10 +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 {
|
||||
// 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))
|
||||
// Minimum execution time: 24_139 nanoseconds.
|
||||
Weight::from_ref_time(25_454_618 as u64)
|
||||
// Standard Error: 2_037
|
||||
.saturating_add(Weight::from_ref_time(47_727 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
@@ -61,12 +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 {
|
||||
// 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))
|
||||
// Minimum execution time: 45_486 nanoseconds.
|
||||
Weight::from_ref_time(46_085_343 as u64)
|
||||
// Standard Error: 2_917
|
||||
.saturating_add(Weight::from_ref_time(135_318 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 3_014
|
||||
.saturating_add(Weight::from_ref_time(26_445 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))
|
||||
}
|
||||
@@ -75,12 +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 {
|
||||
// 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))
|
||||
// Minimum execution time: 30_889 nanoseconds.
|
||||
Weight::from_ref_time(31_350_942 as u64)
|
||||
// Standard Error: 1_248
|
||||
.saturating_add(Weight::from_ref_time(149_414 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_289
|
||||
.saturating_add(Weight::from_ref_time(20_716 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))
|
||||
}
|
||||
@@ -89,12 +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 {
|
||||
// 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))
|
||||
// Minimum execution time: 30_728 nanoseconds.
|
||||
Weight::from_ref_time(31_941_234 as u64)
|
||||
// Standard Error: 1_339
|
||||
.saturating_add(Weight::from_ref_time(128_109 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_384
|
||||
.saturating_add(Weight::from_ref_time(16_158 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))
|
||||
}
|
||||
@@ -104,42 +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 {
|
||||
// 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))
|
||||
// Minimum execution time: 40_662 nanoseconds.
|
||||
Weight::from_ref_time(40_934_458 as u64)
|
||||
// Standard Error: 1_630
|
||||
.saturating_add(Weight::from_ref_time(137_201 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_684
|
||||
.saturating_add(Weight::from_ref_time(61_535 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 {
|
||||
// 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))
|
||||
// Minimum execution time: 33_354 nanoseconds.
|
||||
Weight::from_ref_time(34_467_676 as u64)
|
||||
// Standard Error: 2_111
|
||||
.saturating_add(Weight::from_ref_time(78_774 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 {
|
||||
// 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))
|
||||
// Minimum execution time: 32_974 nanoseconds.
|
||||
Weight::from_ref_time(34_444_856 as u64)
|
||||
// Standard Error: 2_324
|
||||
.saturating_add(Weight::from_ref_time(92_503 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 {
|
||||
// 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))
|
||||
// Minimum execution time: 28_571 nanoseconds.
|
||||
Weight::from_ref_time(29_613_619 as u64)
|
||||
// Standard Error: 1_648
|
||||
.saturating_add(Weight::from_ref_time(44_494 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))
|
||||
}
|
||||
@@ -147,20 +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 {
|
||||
// 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))
|
||||
// Minimum execution time: 36_090 nanoseconds.
|
||||
Weight::from_ref_time(37_328_149 as u64)
|
||||
// Standard Error: 1_617
|
||||
.saturating_add(Weight::from_ref_time(7_522 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 {
|
||||
// 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))
|
||||
// Minimum execution time: 29_949 nanoseconds.
|
||||
Weight::from_ref_time(31_073_757 as u64)
|
||||
// Standard Error: 1_429
|
||||
.saturating_add(Weight::from_ref_time(40_550 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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user