update weights (#5911)

* rococo: update weigths

* polkadot: update weigths

* kusama: update weigths

* westend: update weights

Co-authored-by: parity-processbot <>
This commit is contained in:
Mara Robin B
2022-08-25 12:11:40 +02:00
committed by GitHub
parent 09e91acb86
commit 83217b3e04
128 changed files with 1943 additions and 1946 deletions
@@ -16,8 +16,8 @@
//! Autogenerated weights for `pallet_democracy`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-08-19, 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("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -49,16 +49,16 @@ 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 {
(39_110_000 as Weight)
(37_453_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 {
(29_044_000 as Weight)
// Standard Error: 1_000
.saturating_add((92_000 as Weight).saturating_mul(s as Weight))
(27_807_000 as Weight)
// Standard Error: 0
.saturating_add((69_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))
}
@@ -67,9 +67,9 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Balances Locks (r:1 w:1)
/// The range of component `r` is `[1, 99]`.
fn vote_new(r: u32, ) -> Weight {
(37_433_000 as Weight)
// Standard Error: 0
.saturating_add((141_000 as Weight).saturating_mul(r as Weight))
(35_336_000 as Weight)
// Standard Error: 1_000
.saturating_add((120_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))
}
@@ -78,16 +78,16 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Balances Locks (r:1 w:1)
/// The range of component `r` is `[1, 99]`.
fn vote_existing(r: u32, ) -> Weight {
(37_107_000 as Weight)
// Standard Error: 0
.saturating_add((144_000 as Weight).saturating_mul(r as Weight))
(35_107_000 as Weight)
// Standard Error: 1_000
.saturating_add((123_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 {
(19_361_000 as Weight)
(17_752_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -99,9 +99,9 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
/// The range of component `p` is `[1, 100]`.
fn blacklist(p: u32, ) -> Weight {
(55_356_000 as Weight)
// Standard Error: 3_000
.saturating_add((217_000 as Weight).saturating_mul(p as Weight))
(52_116_000 as Weight)
// Standard Error: 6_000
.saturating_add((194_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))
}
@@ -109,27 +109,27 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy Blacklist (r:1 w:0)
/// The range of component `v` is `[1, 100]`.
fn external_propose(v: u32, ) -> Weight {
(10_610_000 as Weight)
(10_194_000 as Weight)
// Standard Error: 0
.saturating_add((34_000 as Weight).saturating_mul(v as Weight))
.saturating_add((10_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 {
(4_548_000 as Weight)
(3_700_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Democracy NextExternal (r:0 w:1)
fn external_propose_default() -> Weight {
(4_048_000 as Weight)
(3_713_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 {
(18_575_000 as Weight)
(17_441_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
@@ -137,9 +137,9 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy Blacklist (r:1 w:1)
/// The range of component `v` is `[0, 100]`.
fn veto_external(v: u32, ) -> Weight {
(19_583_000 as Weight)
(18_536_000 as Weight)
// Standard Error: 0
.saturating_add((64_000 as Weight).saturating_mul(v as Weight))
.saturating_add((42_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))
}
@@ -148,24 +148,24 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
/// The range of component `p` is `[1, 100]`.
fn cancel_proposal(p: u32, ) -> Weight {
(43_699_000 as Weight)
(42_174_000 as Weight)
// Standard Error: 1_000
.saturating_add((213_000 as Weight).saturating_mul(p as Weight))
.saturating_add((164_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 {
(13_183_000 as Weight)
(11_892_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 {
(25_260_000 as Weight)
// Standard Error: 3_000
.saturating_add((2_278_000 as Weight).saturating_mul(r as Weight))
(23_252_000 as Weight)
// Standard Error: 5_000
.saturating_add((2_242_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))
}
@@ -174,9 +174,9 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy ReferendumInfoOf (r:1 w:0)
/// The range of component `r` is `[1, 99]`.
fn on_initialize_base(r: u32, ) -> Weight {
(1_423_000 as Weight)
// Standard Error: 2_000
.saturating_add((3_140_000 as Weight).saturating_mul(r as Weight))
(1_457_000 as Weight)
// Standard Error: 3_000
.saturating_add((2_956_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))
@@ -189,9 +189,9 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// 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 {
(6_271_000 as Weight)
// Standard Error: 2_000
.saturating_add((3_142_000 as Weight).saturating_mul(r as Weight))
(6_240_000 as Weight)
// Standard Error: 3_000
.saturating_add((2_963_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))
@@ -201,9 +201,9 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Balances Locks (r:1 w:1)
/// The range of component `r` is `[1, 99]`.
fn delegate(r: u32, ) -> Weight {
(38_463_000 as Weight)
// Standard Error: 3_000
.saturating_add((4_029_000 as Weight).saturating_mul(r as Weight))
(34_480_000 as Weight)
// Standard Error: 5_000
.saturating_add((3_908_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))
@@ -213,9 +213,9 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
/// The range of component `r` is `[1, 99]`.
fn undelegate(r: u32, ) -> Weight {
(20_905_000 as Weight)
// Standard Error: 3_000
.saturating_add((4_016_000 as Weight).saturating_mul(r as Weight))
(17_446_000 as Weight)
// Standard Error: 6_000
.saturating_add((3_917_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))
@@ -223,13 +223,13 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
}
// Storage: Democracy PublicProps (r:0 w:1)
fn clear_public_proposals() -> Weight {
(4_325_000 as Weight)
(3_727_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 {
(26_596_000 as Weight)
(25_720_000 as Weight)
// Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
@@ -238,7 +238,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy Preimages (r:1 w:1)
/// The range of component `b` is `[0, 16384]`.
fn note_imminent_preimage(b: u32, ) -> Weight {
(18_705_000 as Weight)
(17_884_000 as Weight)
// Standard Error: 0
.saturating_add((3_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
@@ -248,9 +248,9 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:0)
/// The range of component `b` is `[0, 16384]`.
fn reap_preimage(b: u32, ) -> Weight {
(26_003_000 as Weight)
(24_695_000 as Weight)
// Standard Error: 0
.saturating_add((2_000 as Weight).saturating_mul(b as Weight))
.saturating_add((1_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -259,9 +259,9 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
/// The range of component `r` is `[1, 99]`.
fn unlock_remove(r: u32, ) -> Weight {
(24_132_000 as Weight)
(22_207_000 as Weight)
// Standard Error: 0
.saturating_add((35_000 as Weight).saturating_mul(r as Weight))
.saturating_add((36_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))
}
@@ -270,9 +270,9 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
/// The range of component `r` is `[1, 99]`.
fn unlock_set(r: u32, ) -> Weight {
(23_272_000 as Weight)
(21_561_000 as Weight)
// Standard Error: 0
.saturating_add((127_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(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
@@ -280,9 +280,9 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy VotingOf (r:1 w:1)
/// The range of component `r` is `[1, 99]`.
fn remove_vote(r: u32, ) -> Weight {
(14_095_000 as Weight)
(13_204_000 as Weight)
// Standard Error: 0
.saturating_add((125_000 as Weight).saturating_mul(r as Weight))
.saturating_add((105_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))
}
@@ -290,9 +290,9 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy VotingOf (r:1 w:1)
/// The range of component `r` is `[1, 99]`.
fn remove_other_vote(r: u32, ) -> Weight {
(14_507_000 as Weight)
(12_994_000 as Weight)
// Standard Error: 0
.saturating_add((125_000 as Weight).saturating_mul(r as Weight))
.saturating_add((106_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))
}