mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 16:51: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("statemine-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: 24_496 nanoseconds.
|
||||
Weight::from_ref_time(25_892_579 as u64)
|
||||
// Standard Error: 1_686
|
||||
.saturating_add(Weight::from_ref_time(47_948 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
// Minimum execution time: 21_152 nanoseconds.
|
||||
Weight::from_ref_time(23_050_659)
|
||||
// Standard Error: 3_294
|
||||
.saturating_add(Weight::from_ref_time(18_228).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: 45_604 nanoseconds.
|
||||
Weight::from_ref_time(44_734_146 as u64)
|
||||
// Standard Error: 2_106
|
||||
.saturating_add(Weight::from_ref_time(135_966 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 2_176
|
||||
.saturating_add(Weight::from_ref_time(76_385 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_816 nanoseconds.
|
||||
Weight::from_ref_time(39_405_608)
|
||||
// Standard Error: 1_903
|
||||
.saturating_add(Weight::from_ref_time(134_468).saturating_mul(a.into()))
|
||||
// Standard Error: 1_966
|
||||
.saturating_add(Weight::from_ref_time(53_275).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: 30_891 nanoseconds.
|
||||
Weight::from_ref_time(31_358_788 as u64)
|
||||
// Standard Error: 1_273
|
||||
.saturating_add(Weight::from_ref_time(140_434 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_315
|
||||
.saturating_add(Weight::from_ref_time(24_558 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_523 nanoseconds.
|
||||
Weight::from_ref_time(28_272_532)
|
||||
// Standard Error: 1_376
|
||||
.saturating_add(Weight::from_ref_time(128_200).saturating_mul(a.into()))
|
||||
// Standard Error: 1_422
|
||||
.saturating_add(Weight::from_ref_time(15_264).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: 30_822 nanoseconds.
|
||||
Weight::from_ref_time(31_289_268 as u64)
|
||||
// Standard Error: 1_262
|
||||
.saturating_add(Weight::from_ref_time(142_949 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_304
|
||||
.saturating_add(Weight::from_ref_time(25_489 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_750 nanoseconds.
|
||||
Weight::from_ref_time(28_644_306)
|
||||
// Standard Error: 1_659
|
||||
.saturating_add(Weight::from_ref_time(119_508).saturating_mul(a.into()))
|
||||
// Standard Error: 1_714
|
||||
.saturating_add(Weight::from_ref_time(16_971).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: 40_357 nanoseconds.
|
||||
Weight::from_ref_time(40_689_963 as u64)
|
||||
// Standard Error: 1_635
|
||||
.saturating_add(Weight::from_ref_time(132_186 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_689
|
||||
.saturating_add(Weight::from_ref_time(68_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))
|
||||
// Minimum execution time: 35_983 nanoseconds.
|
||||
Weight::from_ref_time(36_651_889)
|
||||
// Standard Error: 2_166
|
||||
.saturating_add(Weight::from_ref_time(119_974).saturating_mul(a.into()))
|
||||
// Standard Error: 2_238
|
||||
.saturating_add(Weight::from_ref_time(48_188).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_350 nanoseconds.
|
||||
Weight::from_ref_time(34_400_930 as u64)
|
||||
// Standard Error: 1_792
|
||||
.saturating_add(Weight::from_ref_time(73_297 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_177 nanoseconds.
|
||||
Weight::from_ref_time(30_731_712)
|
||||
// Standard Error: 1_788
|
||||
.saturating_add(Weight::from_ref_time(70_028).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: 32_838 nanoseconds.
|
||||
Weight::from_ref_time(34_586_705 as u64)
|
||||
// Standard Error: 2_183
|
||||
.saturating_add(Weight::from_ref_time(79_488 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_575 nanoseconds.
|
||||
Weight::from_ref_time(30_796_953)
|
||||
// Standard Error: 2_162
|
||||
.saturating_add(Weight::from_ref_time(82_372).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: 28_763 nanoseconds.
|
||||
Weight::from_ref_time(30_071_429 as u64)
|
||||
// Standard Error: 1_762
|
||||
.saturating_add(Weight::from_ref_time(34_273 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_514 nanoseconds.
|
||||
Weight::from_ref_time(26_752_018)
|
||||
// Standard Error: 1_688
|
||||
.saturating_add(Weight::from_ref_time(47_064).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: 35_560 nanoseconds.
|
||||
Weight::from_ref_time(37_044_529 as u64)
|
||||
// Standard Error: 1_663
|
||||
.saturating_add(Weight::from_ref_time(13_158 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_400 nanoseconds.
|
||||
Weight::from_ref_time(32_761_873)
|
||||
// Standard Error: 9_079
|
||||
.saturating_add(Weight::from_ref_time(64_506).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_253 nanoseconds.
|
||||
Weight::from_ref_time(31_278_034 as u64)
|
||||
// Standard Error: 1_848
|
||||
.saturating_add(Weight::from_ref_time(39_337 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: 26_823 nanoseconds.
|
||||
Weight::from_ref_time(28_399_196)
|
||||
// Standard Error: 1_685
|
||||
.saturating_add(Weight::from_ref_time(49_327).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