mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 04:01:02 +00:00
Revert back to bare metal runners for weights generation (#6762)
* Revert back to bare metal runners for weights generation * new old weights --------- Co-authored-by: alvicsam <alvicsam@gmail.com>
This commit is contained in:
@@ -16,8 +16,9 @@
|
||||
//! Autogenerated weights for `pallet_ranked_collective`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! 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`
|
||||
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! 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:
|
||||
@@ -44,77 +45,127 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_ranked_collective`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: FellowshipCollective Members (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:1)
|
||||
// Storage: FellowshipCollective IndexToId (r:0 w:1)
|
||||
// Storage: FellowshipCollective IdToIndex (r:0 w:1)
|
||||
/// Storage: FellowshipCollective Members (r:1 w:1)
|
||||
/// Proof: FellowshipCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective MemberCount (r:1 w:1)
|
||||
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective IndexToId (r:0 w:1)
|
||||
/// Proof: FellowshipCollective IndexToId (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective IdToIndex (r:0 w:1)
|
||||
/// Proof: FellowshipCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
|
||||
fn add_member() -> Weight {
|
||||
// Minimum execution time: 21_687 nanoseconds.
|
||||
Weight::from_ref_time(22_505_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `76`
|
||||
// Estimated: `5006`
|
||||
// Minimum execution time: 15_015 nanoseconds.
|
||||
Weight::from_ref_time(15_279_000)
|
||||
.saturating_add(Weight::from_proof_size(5006))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: FellowshipCollective Members (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:1)
|
||||
// Storage: FellowshipCollective IdToIndex (r:1 w:1)
|
||||
// Storage: FellowshipCollective IndexToId (r:1 w:1)
|
||||
/// Storage: FellowshipCollective Members (r:1 w:1)
|
||||
/// Proof: FellowshipCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective MemberCount (r:11 w:11)
|
||||
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective IdToIndex (r:11 w:11)
|
||||
/// Proof: FellowshipCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective IndexToId (r:11 w:11)
|
||||
/// Proof: FellowshipCollective IndexToId (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn remove_member(r: u32, ) -> Weight {
|
||||
// Minimum execution time: 32_770 nanoseconds.
|
||||
Weight::from_ref_time(34_644_917)
|
||||
// Standard Error: 15_325
|
||||
.saturating_add(Weight::from_ref_time(11_355_769).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `550 + r * (281 ±0)`
|
||||
// Estimated: `10064 + r * (7547 ±0)`
|
||||
// Minimum execution time: 24_934 nanoseconds.
|
||||
Weight::from_ref_time(29_372_358)
|
||||
.saturating_add(Weight::from_proof_size(10064))
|
||||
// Standard Error: 28_755
|
||||
.saturating_add(Weight::from_ref_time(10_320_855).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(r.into())))
|
||||
.saturating_add(Weight::from_proof_size(7547).saturating_mul(r.into()))
|
||||
}
|
||||
// Storage: FellowshipCollective Members (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:1)
|
||||
// Storage: FellowshipCollective IndexToId (r:0 w:1)
|
||||
// Storage: FellowshipCollective IdToIndex (r:0 w:1)
|
||||
/// Storage: FellowshipCollective Members (r:1 w:1)
|
||||
/// Proof: FellowshipCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective MemberCount (r:1 w:1)
|
||||
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective IndexToId (r:0 w:1)
|
||||
/// Proof: FellowshipCollective IndexToId (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective IdToIndex (r:0 w:1)
|
||||
/// Proof: FellowshipCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn promote_member(r: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_990 nanoseconds.
|
||||
Weight::from_ref_time(25_072_856)
|
||||
// Standard Error: 5_793
|
||||
.saturating_add(Weight::from_ref_time(404_905).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `248 + r * (17 ±0)`
|
||||
// Estimated: `5006`
|
||||
// Minimum execution time: 17_345 nanoseconds.
|
||||
Weight::from_ref_time(18_369_667)
|
||||
.saturating_add(Weight::from_proof_size(5006))
|
||||
// Standard Error: 5_162
|
||||
.saturating_add(Weight::from_ref_time(317_725).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: FellowshipCollective Members (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:1)
|
||||
// Storage: FellowshipCollective IdToIndex (r:1 w:1)
|
||||
// Storage: FellowshipCollective IndexToId (r:1 w:1)
|
||||
/// Storage: FellowshipCollective Members (r:1 w:1)
|
||||
/// Proof: FellowshipCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective MemberCount (r:1 w:1)
|
||||
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective IdToIndex (r:1 w:1)
|
||||
/// Proof: FellowshipCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective IndexToId (r:1 w:1)
|
||||
/// Proof: FellowshipCollective IndexToId (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn demote_member(r: u32, ) -> Weight {
|
||||
// Minimum execution time: 32_952 nanoseconds.
|
||||
Weight::from_ref_time(35_465_453)
|
||||
// Standard Error: 16_850
|
||||
.saturating_add(Weight::from_ref_time(671_524).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `566 + r * (72 ±0)`
|
||||
// Estimated: `10064`
|
||||
// Minimum execution time: 24_864 nanoseconds.
|
||||
Weight::from_ref_time(29_437_828)
|
||||
.saturating_add(Weight::from_proof_size(10064))
|
||||
// Standard Error: 28_077
|
||||
.saturating_add(Weight::from_ref_time(694_931).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: FellowshipCollective Members (r:1 w:0)
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipCollective Voting (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Storage: FellowshipCollective Members (r:1 w:0)
|
||||
/// Proof: FellowshipCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective Voting (r:1 w:1)
|
||||
/// Proof: FellowshipCollective Voting (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn vote() -> Weight {
|
||||
// Minimum execution time: 50_688 nanoseconds.
|
||||
Weight::from_ref_time(51_397_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `704`
|
||||
// Estimated: `91308`
|
||||
// Minimum execution time: 48_174 nanoseconds.
|
||||
Weight::from_ref_time(48_765_000)
|
||||
.saturating_add(Weight::from_proof_size(91308))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:0)
|
||||
// Storage: FellowshipCollective VotingCleanup (r:1 w:0)
|
||||
// Storage: FellowshipCollective Voting (r:0 w:2)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:0)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective VotingCleanup (r:1 w:0)
|
||||
/// Proof: FellowshipCollective VotingCleanup (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective Voting (r:100 w:100)
|
||||
/// Proof: FellowshipCollective Voting (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
fn cleanup_poll(n: u32, ) -> Weight {
|
||||
// Minimum execution time: 15_422 nanoseconds.
|
||||
Weight::from_ref_time(18_535_259)
|
||||
// Standard Error: 2_621
|
||||
.saturating_add(Weight::from_ref_time(1_164_868).saturating_mul(n.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `500 + n * (50 ±0)`
|
||||
// Estimated: `5964 + n * (2540 ±0)`
|
||||
// Minimum execution time: 13_233 nanoseconds.
|
||||
Weight::from_ref_time(16_859_237)
|
||||
.saturating_add(Weight::from_proof_size(5964))
|
||||
// Standard Error: 1_532
|
||||
.saturating_add(Weight::from_ref_time(910_200).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
|
||||
.saturating_add(Weight::from_proof_size(2540).saturating_mul(n.into()))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user