update weights (#5704)

* westend: update weights

* kusama: update weights

* polkadot: update weights

* rococo: update weights
This commit is contained in:
Mara Robin B
2022-06-21 12:58:01 +02:00
committed by GitHub
parent 5c2da4e4d8
commit 8ef2b701c1
127 changed files with 2614 additions and 1951 deletions
@@ -16,7 +16,8 @@
//! Autogenerated weights for `pallet_democracy`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-05-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-06-20, 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("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -30,7 +31,6 @@
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --header=./file_header.txt
// --output=./runtime/kusama/src/weights/pallet_democracy.rs
@@ -49,42 +49,45 @@ 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 {
(31_894_000 as Weight)
(37_599_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)
/// The range of component `s` is `[0, 100]`.
fn second(s: u32, ) -> Weight {
(23_576_000 as Weight)
// Standard Error: 0
.saturating_add((81_000 as Weight).saturating_mul(s as Weight))
(28_626_000 as Weight)
// Standard Error: 1_000
.saturating_add((88_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
/// The range of component `r` is `[1, 99]`.
fn vote_new(r: u32, ) -> Weight {
(31_299_000 as Weight)
(36_143_000 as Weight)
// Standard Error: 0
.saturating_add((126_000 as Weight).saturating_mul(r as Weight))
.saturating_add((129_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)
// Storage: Balances Locks (r:1 w:1)
/// The range of component `r` is `[1, 99]`.
fn vote_existing(r: u32, ) -> Weight {
(31_138_000 as Weight)
// Standard Error: 1_000
.saturating_add((128_000 as Weight).saturating_mul(r as Weight))
(35_740_000 as Weight)
// Standard Error: 0
.saturating_add((134_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_650_000 as Weight)
(17_934_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -94,80 +97,86 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy Blacklist (r:0 w:1)
// Storage: Democracy DepositOf (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// The range of component `p` is `[1, 100]`.
fn blacklist(p: u32, ) -> Weight {
(47_463_000 as Weight)
(54_019_000 as Weight)
// Standard Error: 3_000
.saturating_add((186_000 as Weight).saturating_mul(p as Weight))
.saturating_add((208_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)
/// The range of component `v` is `[1, 100]`.
fn external_propose(v: u32, ) -> Weight {
(7_211_000 as Weight)
// Standard Error: 0
.saturating_add((30_000 as Weight).saturating_mul(v as Weight))
(10_637_000 as Weight)
// Standard Error: 1_000
.saturating_add((26_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_529_000 as Weight)
(4_256_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_296_000 as Weight)
(3_910_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_473_000 as Weight)
(18_324_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)
/// The range of component `v` is `[0, 100]`.
fn veto_external(v: u32, ) -> Weight {
(14_972_000 as Weight)
(19_330_000 as Weight)
// Standard Error: 0
.saturating_add((58_000 as Weight).saturating_mul(v as Weight))
.saturating_add((60_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))
}
// Storage: Democracy PublicProps (r:1 w:1)
// Storage: Democracy DepositOf (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// The range of component `p` is `[1, 100]`.
fn cancel_proposal(p: u32, ) -> Weight {
(34_276_000 as Weight)
// Standard Error: 0
.saturating_add((186_000 as Weight).saturating_mul(p as Weight))
(43_275_000 as Weight)
// Standard Error: 1_000
.saturating_add((194_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_968_000 as Weight)
(12_879_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)
/// The range of component `r` is `[1, 99]`.
fn cancel_queued(r: u32, ) -> Weight {
(19_970_000 as Weight)
// Standard Error: 2_000
.saturating_add((1_907_000 as Weight).saturating_mul(r as Weight))
(23_811_000 as Weight)
// Standard Error: 3_000
.saturating_add((1_935_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 LowestUnbaked (r:1 w:1)
// Storage: Democracy ReferendumCount (r:1 w:0)
// Storage: Democracy ReferendumInfoOf (r:1 w:0)
/// The range of component `r` is `[1, 99]`.
fn on_initialize_base(r: u32, ) -> Weight {
(1_971_000 as Weight)
// Standard Error: 2_000
.saturating_add((2_843_000 as Weight).saturating_mul(r as Weight))
(1_518_000 as Weight)
// Standard Error: 3_000
.saturating_add((3_035_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,10 +187,11 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy NextExternal (r:1 w:0)
// Storage: Democracy PublicProps (r:1 w:0)
// Storage: Democracy ReferendumInfoOf (r:1 w:0)
/// The range of component `r` is `[1, 99]`.
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
(5_800_000 as Weight)
// Standard Error: 3_000
.saturating_add((2_865_000 as Weight).saturating_mul(r as Weight))
(6_466_000 as Weight)
// Standard Error: 2_000
.saturating_add((3_030_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,10 +199,11 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy VotingOf (r:3 w:3)
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
/// The range of component `r` is `[1, 99]`.
fn delegate(r: u32, ) -> Weight {
(31_549_000 as Weight)
(37_036_000 as Weight)
// Standard Error: 3_000
.saturating_add((3_605_000 as Weight).saturating_mul(r as Weight))
.saturating_add((3_961_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,10 +211,11 @@ 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)
/// The range of component `r` is `[1, 99]`.
fn undelegate(r: u32, ) -> Weight {
(15_557_000 as Weight)
// Standard Error: 3_000
.saturating_add((3_586_000 as Weight).saturating_mul(r as Weight))
(20_072_000 as Weight)
// Standard Error: 2_000
.saturating_add((3_920_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))
@@ -211,20 +223,22 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
}
// Storage: Democracy PublicProps (r:0 w:1)
fn clear_public_proposals() -> Weight {
(1_100_000 as Weight)
(4_230_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Democracy Preimages (r:1 w:1)
/// The range of component `b` is `[0, 16384]`.
fn note_preimage(b: u32, ) -> Weight {
(20_853_000 as Weight)
(25_123_000 as Weight)
// Standard Error: 0
.saturating_add((2_000 as Weight).saturating_mul(b as Weight))
.saturating_add((3_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Democracy Preimages (r:1 w:1)
/// The range of component `b` is `[0, 16384]`.
fn note_imminent_preimage(b: u32, ) -> Weight {
(13_913_000 as Weight)
(18_007_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,8 +246,9 @@ 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)
/// The range of component `b` is `[0, 16384]`.
fn reap_preimage(b: u32, ) -> Weight {
(20_960_000 as Weight)
(25_534_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,38 +257,42 @@ 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)
// Storage: System Account (r:1 w:1)
/// The range of component `r` is `[1, 99]`.
fn unlock_remove(r: u32, ) -> Weight {
(19_318_000 as Weight)
(23_337_000 as Weight)
// Standard Error: 0
.saturating_add((24_000 as Weight).saturating_mul(r as Weight))
.saturating_add((35_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 VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// The range of component `r` is `[1, 99]`.
fn unlock_set(r: u32, ) -> Weight {
(18_235_000 as Weight)
(22_595_000 as Weight)
// Standard Error: 0
.saturating_add((115_000 as Weight).saturating_mul(r as Weight))
.saturating_add((118_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)
/// The range of component `r` is `[1, 99]`.
fn remove_vote(r: u32, ) -> Weight {
(10_101_000 as Weight)
(14_176_000 as Weight)
// Standard Error: 0
.saturating_add((107_000 as Weight).saturating_mul(r as Weight))
.saturating_add((113_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)
/// The range of component `r` is `[1, 99]`.
fn remove_other_vote(r: u32, ) -> Weight {
(10_188_000 as Weight)
(14_328_000 as Weight)
// Standard Error: 0
.saturating_add((108_000 as Weight).saturating_mul(r as Weight))
.saturating_add((115_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))
}