mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +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:
+71
-72
@@ -17,25 +17,24 @@
|
||||
//! Autogenerated weights for `pallet_collective`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-11-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, 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:
|
||||
// /home/benchbot/cargo_target_dir/production/polkadot-parachain
|
||||
// ./artifacts/polkadot-parachain
|
||||
// benchmark
|
||||
// pallet
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --extrinsic=*
|
||||
// --chain=collectives-polkadot-dev
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/cumulus/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_collective
|
||||
// --chain=collectives-polkadot-dev
|
||||
// --extrinsic=*
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/
|
||||
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_collective.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -55,12 +54,12 @@ 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: 17_673 nanoseconds.
|
||||
Weight::from_ref_time(17_891_000 as u64)
|
||||
// Standard Error: 61_591
|
||||
.saturating_add(Weight::from_ref_time(4_893_341 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 61_591
|
||||
.saturating_add(Weight::from_ref_time(7_372_897 as u64).saturating_mul(p as u64))
|
||||
// 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))
|
||||
@@ -70,12 +69,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn execute(b: u32, m: u32, ) -> Weight {
|
||||
// Minimum execution time: 22_238 nanoseconds.
|
||||
Weight::from_ref_time(21_508_595 as u64)
|
||||
// Standard Error: 34
|
||||
.saturating_add(Weight::from_ref_time(1_793 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 360
|
||||
.saturating_add(Weight::from_ref_time(17_737 as u64).saturating_mul(m as u64))
|
||||
// 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))
|
||||
}
|
||||
// Storage: AllianceMotion Members (r:1 w:0)
|
||||
@@ -83,12 +82,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `b` is `[1, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn propose_execute(b: u32, m: u32, ) -> Weight {
|
||||
// Minimum execution time: 24_826 nanoseconds.
|
||||
Weight::from_ref_time(23_742_099 as u64)
|
||||
// Standard Error: 34
|
||||
.saturating_add(Weight::from_ref_time(1_922 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 355
|
||||
.saturating_add(Weight::from_ref_time(30_647 as u64).saturating_mul(m as u64))
|
||||
// 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))
|
||||
}
|
||||
// Storage: AllianceMotion Members (r:1 w:0)
|
||||
@@ -100,14 +99,14 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// 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: 31_785 nanoseconds.
|
||||
Weight::from_ref_time(30_339_101 as u64)
|
||||
// Standard Error: 143
|
||||
.saturating_add(Weight::from_ref_time(4_127 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_497
|
||||
.saturating_add(Weight::from_ref_time(26_901 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_478
|
||||
.saturating_add(Weight::from_ref_time(179_739 as u64).saturating_mul(p as u64))
|
||||
// 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))
|
||||
}
|
||||
@@ -115,10 +114,10 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
fn vote(m: u32, ) -> Weight {
|
||||
// Minimum execution time: 33_393 nanoseconds.
|
||||
Weight::from_ref_time(36_717_049 as u64)
|
||||
// Standard Error: 2_427
|
||||
.saturating_add(Weight::from_ref_time(52_572 as u64).saturating_mul(m as u64))
|
||||
// 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))
|
||||
}
|
||||
@@ -129,12 +128,12 @@ 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: 33_378 nanoseconds.
|
||||
Weight::from_ref_time(34_734_755 as u64)
|
||||
// Standard Error: 1_644
|
||||
.saturating_add(Weight::from_ref_time(28_090 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_603
|
||||
.saturating_add(Weight::from_ref_time(163_809 as u64).saturating_mul(p as u64))
|
||||
// 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))
|
||||
}
|
||||
@@ -146,14 +145,14 @@ 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_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 45_128 nanoseconds.
|
||||
Weight::from_ref_time(42_122_418 as u64)
|
||||
// Standard Error: 142
|
||||
.saturating_add(Weight::from_ref_time(3_356 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_510
|
||||
.saturating_add(Weight::from_ref_time(42_981 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_472
|
||||
.saturating_add(Weight::from_ref_time(179_794 as u64).saturating_mul(p as u64))
|
||||
// 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))
|
||||
}
|
||||
@@ -165,12 +164,12 @@ 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: 35_611 nanoseconds.
|
||||
Weight::from_ref_time(36_011_285 as u64)
|
||||
// Standard Error: 1_739
|
||||
.saturating_add(Weight::from_ref_time(37_018 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_696
|
||||
.saturating_add(Weight::from_ref_time(165_311 as u64).saturating_mul(p as u64))
|
||||
// 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))
|
||||
}
|
||||
@@ -183,14 +182,14 @@ 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_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 48_279 nanoseconds.
|
||||
Weight::from_ref_time(45_846_962 as u64)
|
||||
// Standard Error: 148
|
||||
.saturating_add(Weight::from_ref_time(1_953 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 1_569
|
||||
.saturating_add(Weight::from_ref_time(45_331 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 1_530
|
||||
.saturating_add(Weight::from_ref_time(181_458 as u64).saturating_mul(p as u64))
|
||||
// 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))
|
||||
}
|
||||
@@ -199,10 +198,10 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: AllianceMotion ProposalOf (r:0 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn disapprove_proposal(p: u32, ) -> Weight {
|
||||
// Minimum execution time: 20_838 nanoseconds.
|
||||
Weight::from_ref_time(24_287_938 as u64)
|
||||
// Standard Error: 1_411
|
||||
.saturating_add(Weight::from_ref_time(172_000 as u64).saturating_mul(p as u64))
|
||||
// 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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user