mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 14:01:02 +00:00
update weights (#5767)
* polkadot: update weights * kusama: update weights * westend: update weights * rococo: update weights * Reduce testing constants (#5787) Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
@@ -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-06-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-07-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, 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 {
|
||||
(37_599_000 as Weight)
|
||||
(38_348_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 {
|
||||
(28_626_000 as Weight)
|
||||
(28_629_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((88_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((95_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 {
|
||||
(36_143_000 as Weight)
|
||||
(36_354_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((129_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((142_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 {
|
||||
(35_740_000 as Weight)
|
||||
(36_267_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((134_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((142_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 {
|
||||
(17_934_000 as Weight)
|
||||
(18_768_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 {
|
||||
(54_019_000 as Weight)
|
||||
(54_980_000 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((208_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add((206_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_637_000 as Weight)
|
||||
(10_813_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((26_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add((34_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_256_000 as Weight)
|
||||
(4_573_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_default() -> Weight {
|
||||
(3_910_000 as Weight)
|
||||
(4_110_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_324_000 as Weight)
|
||||
(18_612_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_330_000 as Weight)
|
||||
(19_835_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((60_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add((63_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_275_000 as Weight)
|
||||
(44_121_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((194_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add((204_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 {
|
||||
(12_879_000 as Weight)
|
||||
(13_233_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 {
|
||||
(23_811_000 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((1_935_000 as Weight).saturating_mul(r as Weight))
|
||||
(23_791_000 as Weight)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add((2_308_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_518_000 as Weight)
|
||||
(3_049_000 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((3_035_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((3_067_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_466_000 as Weight)
|
||||
(7_416_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((3_030_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((3_072_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 {
|
||||
(37_036_000 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((3_961_000 as Weight).saturating_mul(r as Weight))
|
||||
(36_719_000 as Weight)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add((4_015_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_072_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((3_920_000 as Weight).saturating_mul(r as Weight))
|
||||
(20_407_000 as Weight)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((3_992_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_230_000 as Weight)
|
||||
(4_715_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 {
|
||||
(25_123_000 as Weight)
|
||||
(26_405_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,9 +238,9 @@ 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_007_000 as Weight)
|
||||
(18_668_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))
|
||||
}
|
||||
@@ -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 {
|
||||
(25_534_000 as Weight)
|
||||
(26_175_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_000 as Weight).saturating_mul(b as Weight))
|
||||
.saturating_add((2_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 {
|
||||
(23_337_000 as Weight)
|
||||
(23_892_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((35_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((32_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 {
|
||||
(22_595_000 as Weight)
|
||||
(22_868_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((118_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((126_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_176_000 as Weight)
|
||||
(14_115_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((113_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((121_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_328_000 as Weight)
|
||||
(14_311_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((115_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((123_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