mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 17:31:03 +00:00
update weights (#5361)
* polkadot: update weights * kusama: update weights * rococo: update weights * westend: update weights
This commit is contained in:
@@ -16,12 +16,13 @@
|
||||
//! Autogenerated weights for `pallet_democracy`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-04-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
@@ -48,13 +49,13 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy Blacklist (r:1 w:0)
|
||||
// Storage: Democracy DepositOf (r:0 w:1)
|
||||
fn propose() -> Weight {
|
||||
(32_753_000 as Weight)
|
||||
(32_285_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
fn second(s: u32, ) -> Weight {
|
||||
(23_509_000 as Weight)
|
||||
(23_205_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((84_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
@@ -64,9 +65,9 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vote_new(r: u32, ) -> Weight {
|
||||
(31_071_000 as Weight)
|
||||
(30_548_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((129_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((130_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
@@ -74,16 +75,16 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vote_existing(r: u32, ) -> Weight {
|
||||
(31_126_000 as Weight)
|
||||
(30_933_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((132_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((125_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy Cancellations (r:1 w:1)
|
||||
fn emergency_cancel() -> Weight {
|
||||
(14_025_000 as Weight)
|
||||
(14_473_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
@@ -94,45 +95,45 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn blacklist(p: u32, ) -> Weight {
|
||||
(46_277_000 as Weight)
|
||||
(46_637_000 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((199_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add((207_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as Weight))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:0)
|
||||
fn external_propose(v: u32, ) -> Weight {
|
||||
(7_590_000 as Weight)
|
||||
(7_279_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((29_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add((30_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_majority() -> Weight {
|
||||
(1_602_000 as Weight)
|
||||
(1_516_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_default() -> Weight {
|
||||
(1_380_000 as Weight)
|
||||
(1_317_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy ReferendumCount (r:1 w:1)
|
||||
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
|
||||
fn fast_track() -> Weight {
|
||||
(14_130_000 as Weight)
|
||||
(14_367_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:1)
|
||||
fn veto_external(v: u32, ) -> Weight {
|
||||
(14_804_000 as Weight)
|
||||
(15_200_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((62_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add((61_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
@@ -140,23 +141,23 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn cancel_proposal(p: u32, ) -> Weight {
|
||||
(34_598_000 as Weight)
|
||||
(34_468_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((186_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add((188_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
|
||||
fn cancel_referendum() -> Weight {
|
||||
(8_866_000 as Weight)
|
||||
(9_064_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Scheduler Lookup (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
fn cancel_queued(r: u32, ) -> Weight {
|
||||
(20_109_000 as Weight)
|
||||
(19_999_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((1_922_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((1_920_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
@@ -164,9 +165,9 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy ReferendumCount (r:1 w:0)
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:0)
|
||||
fn on_initialize_base(r: u32, ) -> Weight {
|
||||
(2_615_000 as Weight)
|
||||
(2_323_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((2_814_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((2_868_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
@@ -178,9 +179,9 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy PublicProps (r:1 w:0)
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:0)
|
||||
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
|
||||
(6_624_000 as Weight)
|
||||
(6_278_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((2_820_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((2_891_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
@@ -189,9 +190,9 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn delegate(r: u32, ) -> Weight {
|
||||
(31_399_000 as Weight)
|
||||
(31_040_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((3_594_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((3_582_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
@@ -200,9 +201,9 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy VotingOf (r:2 w:2)
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
fn undelegate(r: u32, ) -> Weight {
|
||||
(14_684_000 as Weight)
|
||||
(13_885_000 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((3_574_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((3_608_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
@@ -210,12 +211,12 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
}
|
||||
// Storage: Democracy PublicProps (r:0 w:1)
|
||||
fn clear_public_proposals() -> Weight {
|
||||
(1_164_000 as Weight)
|
||||
(1_128_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Democracy Preimages (r:1 w:1)
|
||||
fn note_preimage(b: u32, ) -> Weight {
|
||||
(20_990_000 as Weight)
|
||||
(20_937_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((2_000 as Weight).saturating_mul(b as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
@@ -223,7 +224,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
}
|
||||
// Storage: Democracy Preimages (r:1 w:1)
|
||||
fn note_imminent_preimage(b: u32, ) -> Weight {
|
||||
(13_864_000 as Weight)
|
||||
(13_727_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((2_000 as Weight).saturating_mul(b as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
@@ -232,7 +233,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Democracy Preimages (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:0)
|
||||
fn reap_preimage(b: u32, ) -> Weight {
|
||||
(20_944_000 as Weight)
|
||||
(20_634_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_000 as Weight).saturating_mul(b as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
@@ -242,9 +243,9 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn unlock_remove(r: u32, ) -> Weight {
|
||||
(19_908_000 as Weight)
|
||||
(19_151_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((26_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((29_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
@@ -252,27 +253,27 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn unlock_set(r: u32, ) -> Weight {
|
||||
(19_013_000 as Weight)
|
||||
(17_993_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((114_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((116_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
fn remove_vote(r: u32, ) -> Weight {
|
||||
(10_289_000 as Weight)
|
||||
(9_960_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((109_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((110_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
fn remove_other_vote(r: u32, ) -> Weight {
|
||||
(10_414_000 as Weight)
|
||||
(10_021_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((108_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((110_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user