mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 04:01:02 +00:00
Backport weights from 9360 (#2038)
* [benchmarks] pr with weights (#2026) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> * [benchmarks] pr with weights Collectives (#2025) * [benchmarks] pr with weights * provide veto method for trait Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: muharem <ismailov.m.h@gmail.com> * [benchmarks] pr with weights (#2027) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: muharem <ismailov.m.h@gmail.com>
This commit is contained in:
@@ -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-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-12-21, 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("statemint-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -49,11 +49,11 @@ 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: 25_254 nanoseconds.
|
||||
Weight::from_ref_time(26_132_445 as u64)
|
||||
// Standard Error: 1_743
|
||||
.saturating_add(Weight::from_ref_time(54_439 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
// Minimum execution time: 21_377 nanoseconds.
|
||||
Weight::from_ref_time(22_489_158)
|
||||
// Standard Error: 1_714
|
||||
.saturating_add(Weight::from_ref_time(44_904).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
@@ -61,42 +61,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 proxy_announced(a: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 46_342 nanoseconds.
|
||||
Weight::from_ref_time(45_725_750 as u64)
|
||||
// Standard Error: 1_808
|
||||
.saturating_add(Weight::from_ref_time(138_485 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_868
|
||||
.saturating_add(Weight::from_ref_time(61_352 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))
|
||||
// Minimum execution time: 39_613 nanoseconds.
|
||||
Weight::from_ref_time(39_452_331)
|
||||
// Standard Error: 1_633
|
||||
.saturating_add(Weight::from_ref_time(130_771).saturating_mul(a.into()))
|
||||
// Standard Error: 1_687
|
||||
.saturating_add(Weight::from_ref_time(45_617).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// 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: 31_401 nanoseconds.
|
||||
Weight::from_ref_time(31_943_493 as u64)
|
||||
// Standard Error: 1_324
|
||||
.saturating_add(Weight::from_ref_time(148_204 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_368
|
||||
.saturating_add(Weight::from_ref_time(19_983 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))
|
||||
// Minimum execution time: 28_265 nanoseconds.
|
||||
Weight::from_ref_time(29_511_001)
|
||||
// Standard Error: 2_681
|
||||
.saturating_add(Weight::from_ref_time(96_170).saturating_mul(a.into()))
|
||||
// Standard Error: 2_770
|
||||
.saturating_add(Weight::from_ref_time(4_079).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// 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_010 nanoseconds.
|
||||
Weight::from_ref_time(31_673_140 as u64)
|
||||
// Standard Error: 1_377
|
||||
.saturating_add(Weight::from_ref_time(148_189 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_423
|
||||
.saturating_add(Weight::from_ref_time(17_246 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))
|
||||
// Minimum execution time: 27_527 nanoseconds.
|
||||
Weight::from_ref_time(28_797_699)
|
||||
// Standard Error: 1_457
|
||||
.saturating_add(Weight::from_ref_time(114_616).saturating_mul(a.into()))
|
||||
// Standard Error: 1_505
|
||||
.saturating_add(Weight::from_ref_time(9_138).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
// Storage: Proxy Announcements (r:1 w:1)
|
||||
@@ -104,64 +104,64 @@ 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: 41_238 nanoseconds.
|
||||
Weight::from_ref_time(41_151_045 as u64)
|
||||
// Standard Error: 1_625
|
||||
.saturating_add(Weight::from_ref_time(138_750 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_679
|
||||
.saturating_add(Weight::from_ref_time(72_307 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))
|
||||
// Minimum execution time: 36_013 nanoseconds.
|
||||
Weight::from_ref_time(36_879_251)
|
||||
// Standard Error: 1_931
|
||||
.saturating_add(Weight::from_ref_time(107_016).saturating_mul(a.into()))
|
||||
// Standard Error: 1_995
|
||||
.saturating_add(Weight::from_ref_time(43_613).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// 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_831 nanoseconds.
|
||||
Weight::from_ref_time(34_804_281 as u64)
|
||||
// Standard Error: 2_162
|
||||
.saturating_add(Weight::from_ref_time(71_594 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))
|
||||
// Minimum execution time: 29_509 nanoseconds.
|
||||
Weight::from_ref_time(30_966_207)
|
||||
// Standard Error: 2_273
|
||||
.saturating_add(Weight::from_ref_time(56_195).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_proxy(p: u32, ) -> Weight {
|
||||
// Minimum execution time: 33_132 nanoseconds.
|
||||
Weight::from_ref_time(34_841_976 as u64)
|
||||
// Standard Error: 2_607
|
||||
.saturating_add(Weight::from_ref_time(86_453 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))
|
||||
// Minimum execution time: 28_747 nanoseconds.
|
||||
Weight::from_ref_time(30_716_505)
|
||||
// Standard Error: 2_029
|
||||
.saturating_add(Weight::from_ref_time(87_941).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn remove_proxies(p: u32, ) -> Weight {
|
||||
// Minimum execution time: 29_072 nanoseconds.
|
||||
Weight::from_ref_time(30_153_086 as u64)
|
||||
// Standard Error: 1_765
|
||||
.saturating_add(Weight::from_ref_time(40_683 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))
|
||||
// Minimum execution time: 25_788 nanoseconds.
|
||||
Weight::from_ref_time(26_975_282)
|
||||
// Standard Error: 1_718
|
||||
.saturating_add(Weight::from_ref_time(40_720).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[1, 31]`.
|
||||
fn create_pure(p: u32, ) -> Weight {
|
||||
// Minimum execution time: 36_373 nanoseconds.
|
||||
Weight::from_ref_time(37_535_652 as u64)
|
||||
// Standard Error: 1_789
|
||||
.saturating_add(Weight::from_ref_time(9_374 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))
|
||||
// Minimum execution time: 31_514 nanoseconds.
|
||||
Weight::from_ref_time(33_130_868)
|
||||
// Standard Error: 1_738
|
||||
.saturating_add(Weight::from_ref_time(24_538).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// The range of component `p` is `[0, 30]`.
|
||||
fn kill_pure(p: u32, ) -> Weight {
|
||||
// Minimum execution time: 30_320 nanoseconds.
|
||||
Weight::from_ref_time(31_278_960 as u64)
|
||||
// Standard Error: 4_198
|
||||
.saturating_add(Weight::from_ref_time(65_081 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))
|
||||
// Minimum execution time: 27_707 nanoseconds.
|
||||
Weight::from_ref_time(28_793_891)
|
||||
// Standard Error: 1_525
|
||||
.saturating_add(Weight::from_ref_time(38_793).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user