update weights (sync with 0.9.33) (#6362)

* update weights (0.9.33) (#6299)

* kusama: update weights

* polkadot: update weights

* rococo: update weights

* westend: update weights

* fix deps

* Resolve merge

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Reset Kusama whitelist weights

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

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:
Mara Robin B
2022-12-08 14:23:24 +01:00
committed by GitHub
parent 896d1c2c3b
commit 0185170137
163 changed files with 5178 additions and 3932 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-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-11-15, 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:
@@ -32,7 +32,7 @@
// --execution=wasm
// --wasm-execution=compiled
// --header=./file_header.txt
// --output=./runtime/kusama/src/weights
// --output=./runtime/kusama/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -49,13 +49,15 @@ 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 {
Weight::from_ref_time(42_340_000 as u64)
// Minimum execution time: 43_480 nanoseconds.
Weight::from_ref_time(44_439_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: Democracy DepositOf (r:1 w:1)
fn second() -> Weight {
Weight::from_ref_time(38_557_000 as u64)
// Minimum execution time: 40_276 nanoseconds.
Weight::from_ref_time(41_788_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -63,7 +65,8 @@ 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() -> Weight {
Weight::from_ref_time(48_480_000 as u64)
// Minimum execution time: 50_609 nanoseconds.
Weight::from_ref_time(51_581_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
@@ -71,14 +74,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() -> Weight {
Weight::from_ref_time(48_553_000 as u64)
// Minimum execution time: 50_941 nanoseconds.
Weight::from_ref_time(51_356_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy Cancellations (r:1 w:1)
fn emergency_cancel() -> Weight {
Weight::from_ref_time(20_602_000 as u64)
// Minimum execution time: 21_573 nanoseconds.
Weight::from_ref_time(22_094_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -89,39 +94,45 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy Blacklist (r:0 w:1)
fn blacklist() -> Weight {
Weight::from_ref_time(75_265_000 as u64)
// Minimum execution time: 78_016 nanoseconds.
Weight::from_ref_time(79_651_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy Blacklist (r:1 w:0)
fn external_propose() -> Weight {
Weight::from_ref_time(15_498_000 as u64)
// Minimum execution time: 17_106 nanoseconds.
Weight::from_ref_time(17_287_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Democracy NextExternal (r:0 w:1)
fn external_propose_majority() -> Weight {
Weight::from_ref_time(4_503_000 as u64)
// Minimum execution time: 4_801 nanoseconds.
Weight::from_ref_time(4_954_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Democracy NextExternal (r:0 w:1)
fn external_propose_default() -> Weight {
Weight::from_ref_time(4_486_000 as u64)
// Minimum execution time: 4_671 nanoseconds.
Weight::from_ref_time(4_906_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// 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 {
Weight::from_ref_time(19_676_000 as u64)
// Minimum execution time: 20_734 nanoseconds.
Weight::from_ref_time(21_068_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy Blacklist (r:1 w:1)
fn veto_external() -> Weight {
Weight::from_ref_time(25_443_000 as u64)
// Minimum execution time: 26_640 nanoseconds.
Weight::from_ref_time(27_058_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -129,13 +140,15 @@ 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() -> Weight {
Weight::from_ref_time(63_468_000 as u64)
// Minimum execution time: 66_091 nanoseconds.
Weight::from_ref_time(67_119_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
fn cancel_referendum() -> Weight {
Weight::from_ref_time(13_030_000 as u64)
// Minimum execution time: 13_879 nanoseconds.
Weight::from_ref_time(14_107_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Democracy LowestUnbaked (r:1 w:1)
@@ -143,9 +156,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
/// The range of component `r` is `[0, 99]`.
fn on_initialize_base(r: u32, ) -> Weight {
Weight::from_ref_time(5_941_000 as u64)
// Standard Error: 2_263
.saturating_add(Weight::from_ref_time(2_136_731 as u64).saturating_mul(r as u64))
// Minimum execution time: 6_375 nanoseconds.
Weight::from_ref_time(9_732_668 as u64)
// Standard Error: 4_002
.saturating_add(Weight::from_ref_time(2_103_987 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
@@ -158,9 +172,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
/// The range of component `r` is `[0, 99]`.
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
Weight::from_ref_time(8_085_000 as u64)
// Standard Error: 2_202
.saturating_add(Weight::from_ref_time(2_143_624 as u64).saturating_mul(r as u64))
// Minimum execution time: 8_604 nanoseconds.
Weight::from_ref_time(12_108_221 as u64)
// Standard Error: 3_740
.saturating_add(Weight::from_ref_time(2_106_843 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
@@ -170,9 +185,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
/// The range of component `r` is `[0, 99]`.
fn delegate(r: u32, ) -> Weight {
Weight::from_ref_time(40_416_000 as u64)
// Standard Error: 4_125
.saturating_add(Weight::from_ref_time(3_038_258 as u64).saturating_mul(r as u64))
// Minimum execution time: 43_169 nanoseconds.
Weight::from_ref_time(49_050_100 as u64)
// Standard Error: 6_519
.saturating_add(Weight::from_ref_time(3_017_381 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(4 as u64))
@@ -182,9 +198,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
/// The range of component `r` is `[0, 99]`.
fn undelegate(r: u32, ) -> Weight {
Weight::from_ref_time(24_459_000 as u64)
// Standard Error: 2_860
.saturating_add(Weight::from_ref_time(2_984_453 as u64).saturating_mul(r as u64))
// Minimum execution time: 26_214 nanoseconds.
Weight::from_ref_time(31_373_892 as u64)
// Standard Error: 13_107
.saturating_add(Weight::from_ref_time(2_995_678 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(2 as u64))
@@ -192,7 +209,8 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
}
// Storage: Democracy PublicProps (r:0 w:1)
fn clear_public_proposals() -> Weight {
Weight::from_ref_time(5_200_000 as u64)
// Minimum execution time: 5_062 nanoseconds.
Weight::from_ref_time(5_265_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Democracy VotingOf (r:1 w:1)
@@ -200,9 +218,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
/// The range of component `r` is `[0, 99]`.
fn unlock_remove(r: u32, ) -> Weight {
Weight::from_ref_time(24_289_000 as u64)
// Standard Error: 2_579
.saturating_add(Weight::from_ref_time(125_300 as u64).saturating_mul(r as u64))
// Minimum execution time: 25_583 nanoseconds.
Weight::from_ref_time(32_527_820 as u64)
// Standard Error: 1_608
.saturating_add(Weight::from_ref_time(32_882 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
@@ -211,9 +230,10 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
/// The range of component `r` is `[0, 99]`.
fn unlock_set(r: u32, ) -> Weight {
Weight::from_ref_time(28_331_000 as u64)
// Standard Error: 755
.saturating_add(Weight::from_ref_time(90_997 as u64).saturating_mul(r as u64))
// Minimum execution time: 30_561 nanoseconds.
Weight::from_ref_time(32_558_405 as u64)
// Standard Error: 635
.saturating_add(Weight::from_ref_time(63_267 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
@@ -221,9 +241,10 @@ 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, 100]`.
fn remove_vote(r: u32, ) -> Weight {
Weight::from_ref_time(15_350_000 as u64)
// Standard Error: 1_015
.saturating_add(Weight::from_ref_time(104_402 as u64).saturating_mul(r as u64))
// Minimum execution time: 16_041 nanoseconds.
Weight::from_ref_time(18_765_906 as u64)
// Standard Error: 833
.saturating_add(Weight::from_ref_time(66_549 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -231,9 +252,10 @@ 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, 100]`.
fn remove_other_vote(r: u32, ) -> Weight {
Weight::from_ref_time(15_433_000 as u64)
// Standard Error: 980
.saturating_add(Weight::from_ref_time(104_660 as u64).saturating_mul(r as u64))
// Minimum execution time: 15_811 nanoseconds.
Weight::from_ref_time(18_594_645 as u64)
// Standard Error: 940
.saturating_add(Weight::from_ref_time(72_328 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}