mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +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:
+88
-88
@@ -17,7 +17,7 @@
|
||||
//! Autogenerated weights for `pallet_collective`
|
||||
//!
|
||||
//! 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: `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
|
||||
|
||||
@@ -54,72 +54,72 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 20_020 nanoseconds.
|
||||
Weight::from_ref_time(20_243_000 as u64)
|
||||
// Standard Error: 64_886
|
||||
.saturating_add(Weight::from_ref_time(5_203_566 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 64_886
|
||||
.saturating_add(Weight::from_ref_time(7_724_672 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
// Minimum execution time: 17_445 nanoseconds.
|
||||
Weight::from_ref_time(17_574_000)
|
||||
// Standard Error: 65_394
|
||||
.saturating_add(Weight::from_ref_time(5_265_879).saturating_mul(m.into()))
|
||||
// Standard Error: 65_394
|
||||
.saturating_add(Weight::from_ref_time(7_444_558).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
|
||||
}
|
||||
// Storage: AllianceMotion Members (r:1 w:0)
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `b` is `[2, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn execute(b: u32, m: u32, ) -> Weight {
|
||||
// Minimum execution time: 24_663 nanoseconds.
|
||||
Weight::from_ref_time(23_740_074 as u64)
|
||||
// Standard Error: 41
|
||||
.saturating_add(Weight::from_ref_time(2_074 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 430
|
||||
.saturating_add(Weight::from_ref_time(19_672 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
// Minimum execution time: 20_317 nanoseconds.
|
||||
Weight::from_ref_time(19_615_265)
|
||||
// Standard Error: 27
|
||||
.saturating_add(Weight::from_ref_time(2_017).saturating_mul(b.into()))
|
||||
// Standard Error: 287
|
||||
.saturating_add(Weight::from_ref_time(14_147).saturating_mul(m.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
}
|
||||
// Storage: AllianceMotion Members (r:1 w:0)
|
||||
// Storage: AllianceMotion ProposalOf (r:1 w:0)
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `b` is `[2, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn propose_execute(b: u32, m: u32, ) -> Weight {
|
||||
// Minimum execution time: 27_356 nanoseconds.
|
||||
Weight::from_ref_time(26_292_620 as u64)
|
||||
// Standard Error: 47
|
||||
.saturating_add(Weight::from_ref_time(1_993 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 494
|
||||
.saturating_add(Weight::from_ref_time(27_913 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
// Minimum execution time: 23_080 nanoseconds.
|
||||
Weight::from_ref_time(21_846_487)
|
||||
// Standard Error: 28
|
||||
.saturating_add(Weight::from_ref_time(1_944).saturating_mul(b.into()))
|
||||
// Standard Error: 297
|
||||
.saturating_add(Weight::from_ref_time(24_113).saturating_mul(m.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
}
|
||||
// Storage: AllianceMotion Members (r:1 w:0)
|
||||
// Storage: AllianceMotion ProposalOf (r:1 w:1)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:1)
|
||||
// Storage: AllianceMotion ProposalCount (r:1 w:1)
|
||||
// Storage: AllianceMotion Voting (r:0 w:1)
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `b` is `[2, 1024]`.
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 34_601 nanoseconds.
|
||||
Weight::from_ref_time(31_018_653 as u64)
|
||||
// Standard Error: 127
|
||||
.saturating_add(Weight::from_ref_time(6_066 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_328
|
||||
.saturating_add(Weight::from_ref_time(27_417 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_312
|
||||
.saturating_add(Weight::from_ref_time(194_944 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
// Minimum execution time: 29_006 nanoseconds.
|
||||
Weight::from_ref_time(30_263_788)
|
||||
// Standard Error: 89
|
||||
.saturating_add(Weight::from_ref_time(2_887).saturating_mul(b.into()))
|
||||
// Standard Error: 935
|
||||
.saturating_add(Weight::from_ref_time(16_046).saturating_mul(m.into()))
|
||||
// Standard Error: 923
|
||||
.saturating_add(Weight::from_ref_time(110_411).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: AllianceMotion Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
fn vote(m: u32, ) -> Weight {
|
||||
// Minimum execution time: 35_483 nanoseconds.
|
||||
Weight::from_ref_time(38_628_067 as u64)
|
||||
// Standard Error: 2_889
|
||||
.saturating_add(Weight::from_ref_time(74_863 as u64).saturating_mul(m as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
// Minimum execution time: 28_028 nanoseconds.
|
||||
Weight::from_ref_time(29_008_901)
|
||||
// Standard Error: 442
|
||||
.saturating_add(Weight::from_ref_time(39_227).saturating_mul(m.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
// Storage: AllianceMotion Members (r:1 w:0)
|
||||
@@ -128,33 +128,33 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 36_440 nanoseconds.
|
||||
Weight::from_ref_time(40_424_479 as u64)
|
||||
// Standard Error: 2_324
|
||||
.saturating_add(Weight::from_ref_time(9_789 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 2_266
|
||||
.saturating_add(Weight::from_ref_time(147_219 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 30_789 nanoseconds.
|
||||
Weight::from_ref_time(32_883_315)
|
||||
// Standard Error: 927
|
||||
.saturating_add(Weight::from_ref_time(20_146).saturating_mul(m.into()))
|
||||
// Standard Error: 904
|
||||
.saturating_add(Weight::from_ref_time(100_366).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
// Storage: AllianceMotion Members (r:1 w:0)
|
||||
// Storage: AllianceMotion ProposalOf (r:1 w:1)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:1)
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `b` is `[2, 1024]`.
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 48_555 nanoseconds.
|
||||
Weight::from_ref_time(46_468_609 as u64)
|
||||
// Standard Error: 136
|
||||
.saturating_add(Weight::from_ref_time(2_655 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_448
|
||||
.saturating_add(Weight::from_ref_time(42_243 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_412
|
||||
.saturating_add(Weight::from_ref_time(184_606 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 41_415 nanoseconds.
|
||||
Weight::from_ref_time(43_034_456)
|
||||
// Standard Error: 86
|
||||
.saturating_add(Weight::from_ref_time(1_786).saturating_mul(b.into()))
|
||||
// Standard Error: 909
|
||||
.saturating_add(Weight::from_ref_time(13_068).saturating_mul(m.into()))
|
||||
// Standard Error: 886
|
||||
.saturating_add(Weight::from_ref_time(111_933).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
// Storage: AllianceMotion Members (r:1 w:0)
|
||||
@@ -164,45 +164,45 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 38_157 nanoseconds.
|
||||
Weight::from_ref_time(39_875_224 as u64)
|
||||
// Standard Error: 1_662
|
||||
.saturating_add(Weight::from_ref_time(31_313 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_621
|
||||
.saturating_add(Weight::from_ref_time(168_754 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 32_062 nanoseconds.
|
||||
Weight::from_ref_time(35_026_550)
|
||||
// Standard Error: 930
|
||||
.saturating_add(Weight::from_ref_time(18_809).saturating_mul(m.into()))
|
||||
// Standard Error: 907
|
||||
.saturating_add(Weight::from_ref_time(103_195).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
// Storage: AllianceMotion Members (r:1 w:0)
|
||||
// Storage: AllianceMotion Prime (r:1 w:0)
|
||||
// Storage: AllianceMotion ProposalOf (r:1 w:1)
|
||||
// Storage: AllianceMotion Proposals (r:1 w:1)
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `b` is `[2, 1024]`.
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 50_534 nanoseconds.
|
||||
Weight::from_ref_time(47_567_256 as u64)
|
||||
// Standard Error: 141
|
||||
.saturating_add(Weight::from_ref_time(2_276 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_497
|
||||
.saturating_add(Weight::from_ref_time(58_022 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_459
|
||||
.saturating_add(Weight::from_ref_time(192_898 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 43_574 nanoseconds.
|
||||
Weight::from_ref_time(44_782_136)
|
||||
// Standard Error: 90
|
||||
.saturating_add(Weight::from_ref_time(1_990).saturating_mul(b.into()))
|
||||
// Standard Error: 960
|
||||
.saturating_add(Weight::from_ref_time(15_697).saturating_mul(m.into()))
|
||||
// Standard Error: 936
|
||||
.saturating_add(Weight::from_ref_time(113_994).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: AllianceMotion Proposals (r:1 w:1)
|
||||
// Storage: AllianceMotion Voting (r:0 w:1)
|
||||
// Storage: AllianceMotion ProposalOf (r:0 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn disapprove_proposal(p: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_077 nanoseconds.
|
||||
Weight::from_ref_time(26_331_711 as u64)
|
||||
// Standard Error: 1_620
|
||||
.saturating_add(Weight::from_ref_time(176_129 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
// Minimum execution time: 20_012 nanoseconds.
|
||||
Weight::from_ref_time(22_919_021)
|
||||
// Standard Error: 928
|
||||
.saturating_add(Weight::from_ref_time(98_275).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user