mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 11:01:01 +00:00
New runners for weights and new weights (#6508)
* [DO NOT MERGE] test new vm runner for weights 2 * add image * fix merge conflict * apply weights * new weights Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
cc080d0e78
commit
0119a6dae1
@@ -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: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -49,15 +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 {
|
||||
// Minimum execution time: 43_766 nanoseconds.
|
||||
Weight::from_ref_time(44_789_000)
|
||||
// Minimum execution time: 53_031 nanoseconds.
|
||||
Weight::from_ref_time(55_864_000)
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
fn second() -> Weight {
|
||||
// Minimum execution time: 40_020 nanoseconds.
|
||||
Weight::from_ref_time(42_074_000)
|
||||
// Minimum execution time: 46_017 nanoseconds.
|
||||
Weight::from_ref_time(47_880_000)
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -65,8 +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 {
|
||||
// Minimum execution time: 50_321 nanoseconds.
|
||||
Weight::from_ref_time(50_928_000)
|
||||
// Minimum execution time: 57_992 nanoseconds.
|
||||
Weight::from_ref_time(60_252_000)
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
@@ -74,16 +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 {
|
||||
// Minimum execution time: 50_195 nanoseconds.
|
||||
Weight::from_ref_time(51_184_000)
|
||||
// Minimum execution time: 60_354 nanoseconds.
|
||||
Weight::from_ref_time(62_448_000)
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy Cancellations (r:1 w:1)
|
||||
fn emergency_cancel() -> Weight {
|
||||
// Minimum execution time: 21_441 nanoseconds.
|
||||
Weight::from_ref_time(21_819_000)
|
||||
// Minimum execution time: 22_119 nanoseconds.
|
||||
Weight::from_ref_time(22_651_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -94,45 +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 {
|
||||
// Minimum execution time: 79_334 nanoseconds.
|
||||
Weight::from_ref_time(80_956_000)
|
||||
// Minimum execution time: 94_424 nanoseconds.
|
||||
Weight::from_ref_time(96_984_000)
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:0)
|
||||
fn external_propose() -> Weight {
|
||||
// Minimum execution time: 16_586 nanoseconds.
|
||||
Weight::from_ref_time(16_932_000)
|
||||
// Minimum execution time: 17_013 nanoseconds.
|
||||
Weight::from_ref_time(17_572_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_majority() -> Weight {
|
||||
// Minimum execution time: 4_679 nanoseconds.
|
||||
Weight::from_ref_time(4_887_000)
|
||||
// Minimum execution time: 4_391 nanoseconds.
|
||||
Weight::from_ref_time(4_561_000)
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_default() -> Weight {
|
||||
// Minimum execution time: 4_554 nanoseconds.
|
||||
Weight::from_ref_time(4_806_000)
|
||||
// Minimum execution time: 4_295 nanoseconds.
|
||||
Weight::from_ref_time(4_586_000)
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// 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 {
|
||||
// Minimum execution time: 20_564 nanoseconds.
|
||||
Weight::from_ref_time(20_974_000)
|
||||
// Minimum execution time: 21_958 nanoseconds.
|
||||
Weight::from_ref_time(22_606_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:1)
|
||||
fn veto_external() -> Weight {
|
||||
// Minimum execution time: 26_694 nanoseconds.
|
||||
Weight::from_ref_time(27_189_000)
|
||||
// Minimum execution time: 27_007 nanoseconds.
|
||||
Weight::from_ref_time(27_693_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -140,15 +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 {
|
||||
// Minimum execution time: 66_909 nanoseconds.
|
||||
Weight::from_ref_time(68_127_000)
|
||||
// Minimum execution time: 80_566 nanoseconds.
|
||||
Weight::from_ref_time(82_175_000)
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
|
||||
fn cancel_referendum() -> Weight {
|
||||
// Minimum execution time: 13_513 nanoseconds.
|
||||
Weight::from_ref_time(13_848_000)
|
||||
// Minimum execution time: 14_105 nanoseconds.
|
||||
Weight::from_ref_time(14_330_000)
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Democracy LowestUnbaked (r:1 w:1)
|
||||
@@ -156,10 +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 {
|
||||
// Minimum execution time: 6_296 nanoseconds.
|
||||
Weight::from_ref_time(9_156_811)
|
||||
// Standard Error: 4_206
|
||||
.saturating_add(Weight::from_ref_time(2_075_070).saturating_mul(r.into()))
|
||||
// Minimum execution time: 6_648 nanoseconds.
|
||||
Weight::from_ref_time(7_364_590)
|
||||
// Standard Error: 5_128
|
||||
.saturating_add(Weight::from_ref_time(2_510_520).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -172,10 +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 {
|
||||
// Minimum execution time: 8_549 nanoseconds.
|
||||
Weight::from_ref_time(11_646_977)
|
||||
// Standard Error: 3_819
|
||||
.saturating_add(Weight::from_ref_time(2_072_455).saturating_mul(r.into()))
|
||||
// Minimum execution time: 9_093 nanoseconds.
|
||||
Weight::from_ref_time(9_336_059)
|
||||
// Standard Error: 5_350
|
||||
.saturating_add(Weight::from_ref_time(2_532_170).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -185,10 +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 {
|
||||
// Minimum execution time: 42_820 nanoseconds.
|
||||
Weight::from_ref_time(49_145_966)
|
||||
// Standard Error: 5_841
|
||||
.saturating_add(Weight::from_ref_time(3_057_103).saturating_mul(r.into()))
|
||||
// Minimum execution time: 43_838 nanoseconds.
|
||||
Weight::from_ref_time(48_205_620)
|
||||
// Standard Error: 6_563
|
||||
.saturating_add(Weight::from_ref_time(3_759_724).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
@@ -198,10 +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 {
|
||||
// Minimum execution time: 25_555 nanoseconds.
|
||||
Weight::from_ref_time(28_782_855)
|
||||
// Standard Error: 5_763
|
||||
.saturating_add(Weight::from_ref_time(3_056_014).saturating_mul(r.into()))
|
||||
// Minimum execution time: 25_985 nanoseconds.
|
||||
Weight::from_ref_time(26_010_777)
|
||||
// Standard Error: 5_537
|
||||
.saturating_add(Weight::from_ref_time(3_730_949).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
@@ -209,8 +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 {
|
||||
// Minimum execution time: 5_302 nanoseconds.
|
||||
Weight::from_ref_time(5_415_000)
|
||||
// Minimum execution time: 4_740 nanoseconds.
|
||||
Weight::from_ref_time(4_902_000)
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
@@ -218,10 +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 {
|
||||
// Minimum execution time: 25_866 nanoseconds.
|
||||
Weight::from_ref_time(32_423_849)
|
||||
// Standard Error: 1_483
|
||||
.saturating_add(Weight::from_ref_time(32_233).saturating_mul(r.into()))
|
||||
// Minimum execution time: 26_132 nanoseconds.
|
||||
Weight::from_ref_time(32_056_980)
|
||||
// Standard Error: 1_594
|
||||
.saturating_add(Weight::from_ref_time(98_086).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
@@ -230,10 +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 {
|
||||
// Minimum execution time: 30_900 nanoseconds.
|
||||
Weight::from_ref_time(32_169_888)
|
||||
// Standard Error: 549
|
||||
.saturating_add(Weight::from_ref_time(66_800).saturating_mul(r.into()))
|
||||
// Minimum execution time: 30_655 nanoseconds.
|
||||
Weight::from_ref_time(31_821_090)
|
||||
// Standard Error: 1_353
|
||||
.saturating_add(Weight::from_ref_time(136_551).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
@@ -241,10 +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 {
|
||||
// Minimum execution time: 16_102 nanoseconds.
|
||||
Weight::from_ref_time(19_188_005)
|
||||
// Standard Error: 1_134
|
||||
.saturating_add(Weight::from_ref_time(63_688).saturating_mul(r.into()))
|
||||
// Minimum execution time: 16_010 nanoseconds.
|
||||
Weight::from_ref_time(17_557_366)
|
||||
// Standard Error: 1_264
|
||||
.saturating_add(Weight::from_ref_time(126_455).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -252,10 +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 {
|
||||
// Minimum execution time: 16_231 nanoseconds.
|
||||
Weight::from_ref_time(18_895_931)
|
||||
// Standard Error: 905
|
||||
.saturating_add(Weight::from_ref_time(70_560).saturating_mul(r.into()))
|
||||
// Minimum execution time: 15_954 nanoseconds.
|
||||
Weight::from_ref_time(17_840_992)
|
||||
// Standard Error: 1_036
|
||||
.saturating_add(Weight::from_ref_time(122_167).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user