mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 05:11: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_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,10 +45,14 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_collective`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Council Members (r:1 w:1)
|
||||
// Storage: Council Proposals (r:1 w:0)
|
||||
// Storage: Council Prime (r:0 w:1)
|
||||
// Storage: Council Voting (r:100 w:100)
|
||||
/// Storage: Council Members (r:1 w:1)
|
||||
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Council Proposals (r:1 w:0)
|
||||
/// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Council Voting (r:100 w:100)
|
||||
/// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Council Prime (r:0 w:1)
|
||||
/// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// The range of component `m` is `[0, 100]`.
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
@@ -55,51 +60,75 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `p` is `[0, 100]`.
|
||||
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 16_648 nanoseconds.
|
||||
Weight::from_ref_time(16_874_000)
|
||||
// Standard Error: 36_550
|
||||
.saturating_add(Weight::from_ref_time(4_155_460).saturating_mul(m.into()))
|
||||
// Standard Error: 36_550
|
||||
.saturating_add(Weight::from_ref_time(6_898_238).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0 + m * (3233 ±0) + p * (3223 ±0)`
|
||||
// Estimated: `16322 + m * (7809 ±16) + p * (10238 ±16)`
|
||||
// Minimum execution time: 15_982 nanoseconds.
|
||||
Weight::from_ref_time(16_149_000)
|
||||
.saturating_add(Weight::from_proof_size(16322))
|
||||
// Standard Error: 48_046
|
||||
.saturating_add(Weight::from_ref_time(5_473_996).saturating_mul(m.into()))
|
||||
// Standard Error: 48_046
|
||||
.saturating_add(Weight::from_ref_time(7_914_849).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
|
||||
.saturating_add(Weight::from_proof_size(7809).saturating_mul(m.into()))
|
||||
.saturating_add(Weight::from_proof_size(10238).saturating_mul(p.into()))
|
||||
}
|
||||
// Storage: Council Members (r:1 w:0)
|
||||
/// Storage: Council Members (r:1 w:0)
|
||||
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// The range of component `b` is `[2, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
/// The range of component `b` is `[2, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn execute(b: u32, m: u32, ) -> Weight {
|
||||
// Minimum execution time: 20_604 nanoseconds.
|
||||
Weight::from_ref_time(20_117_098)
|
||||
// Standard Error: 20
|
||||
.saturating_add(Weight::from_ref_time(1_951).saturating_mul(b.into()))
|
||||
// Standard Error: 213
|
||||
.saturating_add(Weight::from_ref_time(13_087).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `168 + m * (32 ±0)`
|
||||
// Estimated: `664 + m * (32 ±0)`
|
||||
// Minimum execution time: 14_779 nanoseconds.
|
||||
Weight::from_ref_time(13_911_153)
|
||||
.saturating_add(Weight::from_proof_size(664))
|
||||
// Standard Error: 18
|
||||
.saturating_add(Weight::from_ref_time(1_722).saturating_mul(b.into()))
|
||||
// Standard Error: 194
|
||||
.saturating_add(Weight::from_ref_time(16_113).saturating_mul(m.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(Weight::from_proof_size(32).saturating_mul(m.into()))
|
||||
}
|
||||
// Storage: Council Members (r:1 w:0)
|
||||
// Storage: Council ProposalOf (r:1 w:0)
|
||||
/// Storage: Council Members (r:1 w:0)
|
||||
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Council ProposalOf (r:1 w:0)
|
||||
/// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
|
||||
/// The range of component `b` is `[2, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
/// The range of component `b` is `[2, 1024]`.
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn propose_execute(b: u32, m: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_005 nanoseconds.
|
||||
Weight::from_ref_time(22_039_338)
|
||||
// Standard Error: 25
|
||||
.saturating_add(Weight::from_ref_time(2_000).saturating_mul(b.into()))
|
||||
// Standard Error: 265
|
||||
.saturating_add(Weight::from_ref_time(21_045).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `168 + m * (32 ±0)`
|
||||
// Estimated: `3308 + m * (64 ±0)`
|
||||
// Minimum execution time: 17_349 nanoseconds.
|
||||
Weight::from_ref_time(16_113_673)
|
||||
.saturating_add(Weight::from_proof_size(3308))
|
||||
// Standard Error: 22
|
||||
.saturating_add(Weight::from_ref_time(1_794).saturating_mul(b.into()))
|
||||
// Standard Error: 231
|
||||
.saturating_add(Weight::from_ref_time(25_859).saturating_mul(m.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(Weight::from_proof_size(64).saturating_mul(m.into()))
|
||||
}
|
||||
// Storage: Council Members (r:1 w:0)
|
||||
// Storage: Council ProposalOf (r:1 w:1)
|
||||
// Storage: Council Proposals (r:1 w:1)
|
||||
// Storage: Council ProposalCount (r:1 w:1)
|
||||
// Storage: Council Voting (r:0 w:1)
|
||||
/// Storage: Council Members (r:1 w:0)
|
||||
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Council ProposalOf (r:1 w:1)
|
||||
/// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Council Proposals (r:1 w:1)
|
||||
/// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Council ProposalCount (r:1 w:1)
|
||||
/// Proof Skipped: Council ProposalCount (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Council Voting (r:0 w:1)
|
||||
/// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
|
||||
/// The range of component `b` is `[2, 1024]`.
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
@@ -107,51 +136,78 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 28_984 nanoseconds.
|
||||
Weight::from_ref_time(27_067_662)
|
||||
// Standard Error: 97
|
||||
.saturating_add(Weight::from_ref_time(4_243).saturating_mul(b.into()))
|
||||
// Standard Error: 1_015
|
||||
.saturating_add(Weight::from_ref_time(29_845).saturating_mul(m.into()))
|
||||
// Standard Error: 1_002
|
||||
.saturating_add(Weight::from_ref_time(197_072).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `490 + m * (32 ±0) + p * (36 ±0)`
|
||||
// Estimated: `6025 + m * (165 ±0) + p * (180 ±0)`
|
||||
// Minimum execution time: 22_245 nanoseconds.
|
||||
Weight::from_ref_time(22_665_027)
|
||||
.saturating_add(Weight::from_proof_size(6025))
|
||||
// Standard Error: 48
|
||||
.saturating_add(Weight::from_ref_time(2_822).saturating_mul(b.into()))
|
||||
// Standard Error: 501
|
||||
.saturating_add(Weight::from_ref_time(17_282).saturating_mul(m.into()))
|
||||
// Standard Error: 495
|
||||
.saturating_add(Weight::from_ref_time(95_897).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
.saturating_add(Weight::from_proof_size(165).saturating_mul(m.into()))
|
||||
.saturating_add(Weight::from_proof_size(180).saturating_mul(p.into()))
|
||||
}
|
||||
// Storage: Council Members (r:1 w:0)
|
||||
// Storage: Council Voting (r:1 w:1)
|
||||
/// Storage: Council Members (r:1 w:0)
|
||||
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Council Voting (r:1 w:1)
|
||||
/// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
/// The range of component `m` is `[5, 100]`.
|
||||
fn vote(m: u32, ) -> Weight {
|
||||
// Minimum execution time: 34_329 nanoseconds.
|
||||
Weight::from_ref_time(36_958_595)
|
||||
// Standard Error: 750
|
||||
.saturating_add(Weight::from_ref_time(45_910).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `940 + m * (64 ±0)`
|
||||
// Estimated: `4848 + m * (128 ±0)`
|
||||
// Minimum execution time: 20_105 nanoseconds.
|
||||
Weight::from_ref_time(20_545_471)
|
||||
.saturating_add(Weight::from_proof_size(4848))
|
||||
// Standard Error: 737
|
||||
.saturating_add(Weight::from_ref_time(49_541).saturating_mul(m.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(Weight::from_proof_size(128).saturating_mul(m.into()))
|
||||
}
|
||||
// Storage: Council Voting (r:1 w:1)
|
||||
// Storage: Council Members (r:1 w:0)
|
||||
// Storage: Council Proposals (r:1 w:1)
|
||||
// Storage: Council ProposalOf (r:0 w:1)
|
||||
/// Storage: Council Voting (r:1 w:1)
|
||||
/// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Council Members (r:1 w:0)
|
||||
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Council Proposals (r:1 w:1)
|
||||
/// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Council ProposalOf (r:0 w:1)
|
||||
/// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 30_842 nanoseconds.
|
||||
Weight::from_ref_time(32_492_766)
|
||||
// Standard Error: 884
|
||||
.saturating_add(Weight::from_ref_time(31_628).saturating_mul(m.into()))
|
||||
// Standard Error: 862
|
||||
.saturating_add(Weight::from_ref_time(186_164).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `560 + m * (64 ±0) + p * (36 ±0)`
|
||||
// Estimated: `5629 + m * (260 ±0) + p * (144 ±0)`
|
||||
// Minimum execution time: 24_515 nanoseconds.
|
||||
Weight::from_ref_time(26_016_776)
|
||||
.saturating_add(Weight::from_proof_size(5629))
|
||||
// Standard Error: 841
|
||||
.saturating_add(Weight::from_ref_time(9_082).saturating_mul(m.into()))
|
||||
// Standard Error: 820
|
||||
.saturating_add(Weight::from_ref_time(114_701).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
.saturating_add(Weight::from_proof_size(260).saturating_mul(m.into()))
|
||||
.saturating_add(Weight::from_proof_size(144).saturating_mul(p.into()))
|
||||
}
|
||||
// Storage: Council Voting (r:1 w:1)
|
||||
// Storage: Council Members (r:1 w:0)
|
||||
// Storage: Council ProposalOf (r:1 w:1)
|
||||
// Storage: Council Proposals (r:1 w:1)
|
||||
/// Storage: Council Voting (r:1 w:1)
|
||||
/// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Council Members (r:1 w:0)
|
||||
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Council ProposalOf (r:1 w:1)
|
||||
/// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Council Proposals (r:1 w:1)
|
||||
/// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// The range of component `b` is `[2, 1024]`.
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
@@ -159,41 +215,64 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 41_248 nanoseconds.
|
||||
Weight::from_ref_time(41_974_210)
|
||||
// Standard Error: 97
|
||||
.saturating_add(Weight::from_ref_time(3_399).saturating_mul(b.into()))
|
||||
// Standard Error: 1_032
|
||||
.saturating_add(Weight::from_ref_time(28_568).saturating_mul(m.into()))
|
||||
// Standard Error: 1_006
|
||||
.saturating_add(Weight::from_ref_time(212_759).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `896 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
|
||||
// Estimated: `8900 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)`
|
||||
// Minimum execution time: 34_779 nanoseconds.
|
||||
Weight::from_ref_time(38_037_892)
|
||||
.saturating_add(Weight::from_proof_size(8900))
|
||||
// Standard Error: 66
|
||||
.saturating_add(Weight::from_ref_time(1_917).saturating_mul(b.into()))
|
||||
// Standard Error: 706
|
||||
.saturating_add(Weight::from_ref_time(15_325).saturating_mul(m.into()))
|
||||
// Standard Error: 688
|
||||
.saturating_add(Weight::from_ref_time(108_416).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
.saturating_add(Weight::from_proof_size(4).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_proof_size(264).saturating_mul(m.into()))
|
||||
.saturating_add(Weight::from_proof_size(160).saturating_mul(p.into()))
|
||||
}
|
||||
// Storage: Council Voting (r:1 w:1)
|
||||
// Storage: Council Members (r:1 w:0)
|
||||
// Storage: Council Prime (r:1 w:0)
|
||||
// Storage: Council Proposals (r:1 w:1)
|
||||
// Storage: Council ProposalOf (r:0 w:1)
|
||||
/// Storage: Council Voting (r:1 w:1)
|
||||
/// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Council Members (r:1 w:0)
|
||||
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Council Prime (r:1 w:0)
|
||||
/// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Council Proposals (r:1 w:1)
|
||||
/// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Council ProposalOf (r:0 w:1)
|
||||
/// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_disapproved(m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 34_511 nanoseconds.
|
||||
Weight::from_ref_time(34_445_374)
|
||||
// Standard Error: 820
|
||||
.saturating_add(Weight::from_ref_time(38_784).saturating_mul(m.into()))
|
||||
// Standard Error: 799
|
||||
.saturating_add(Weight::from_ref_time(191_619).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `580 + m * (64 ±0) + p * (36 ±0)`
|
||||
// Estimated: `6765 + m * (325 ±0) + p * (180 ±0)`
|
||||
// Minimum execution time: 27_246 nanoseconds.
|
||||
Weight::from_ref_time(28_726_731)
|
||||
.saturating_add(Weight::from_proof_size(6765))
|
||||
// Standard Error: 855
|
||||
.saturating_add(Weight::from_ref_time(29_438).saturating_mul(m.into()))
|
||||
// Standard Error: 834
|
||||
.saturating_add(Weight::from_ref_time(105_832).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
.saturating_add(Weight::from_proof_size(325).saturating_mul(m.into()))
|
||||
.saturating_add(Weight::from_proof_size(180).saturating_mul(p.into()))
|
||||
}
|
||||
// Storage: Council Voting (r:1 w:1)
|
||||
// Storage: Council Members (r:1 w:0)
|
||||
// Storage: Council Prime (r:1 w:0)
|
||||
// Storage: Council ProposalOf (r:1 w:1)
|
||||
// Storage: Council Proposals (r:1 w:1)
|
||||
/// Storage: Council Voting (r:1 w:1)
|
||||
/// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Council Members (r:1 w:0)
|
||||
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Council Prime (r:1 w:0)
|
||||
/// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Council ProposalOf (r:1 w:1)
|
||||
/// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Council Proposals (r:1 w:1)
|
||||
/// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// The range of component `b` is `[2, 1024]`.
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
@@ -201,28 +280,43 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `m` is `[4, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 43_512 nanoseconds.
|
||||
Weight::from_ref_time(43_763_995)
|
||||
// Standard Error: 108
|
||||
.saturating_add(Weight::from_ref_time(3_663).saturating_mul(b.into()))
|
||||
// Standard Error: 1_143
|
||||
.saturating_add(Weight::from_ref_time(32_094).saturating_mul(m.into()))
|
||||
// Standard Error: 1_114
|
||||
.saturating_add(Weight::from_ref_time(218_006).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `916 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
|
||||
// Estimated: `10235 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)`
|
||||
// Minimum execution time: 40_211 nanoseconds.
|
||||
Weight::from_ref_time(41_064_837)
|
||||
.saturating_add(Weight::from_proof_size(10235))
|
||||
// Standard Error: 60
|
||||
.saturating_add(Weight::from_ref_time(1_910).saturating_mul(b.into()))
|
||||
// Standard Error: 643
|
||||
.saturating_add(Weight::from_ref_time(15_864).saturating_mul(m.into()))
|
||||
// Standard Error: 627
|
||||
.saturating_add(Weight::from_ref_time(107_526).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
.saturating_add(Weight::from_proof_size(5).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_proof_size(330).saturating_mul(m.into()))
|
||||
.saturating_add(Weight::from_proof_size(200).saturating_mul(p.into()))
|
||||
}
|
||||
// Storage: Council Proposals (r:1 w:1)
|
||||
// Storage: Council Voting (r:0 w:1)
|
||||
// Storage: Council ProposalOf (r:0 w:1)
|
||||
/// Storage: Council Proposals (r:1 w:1)
|
||||
/// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Council Voting (r:0 w:1)
|
||||
/// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Council ProposalOf (r:0 w:1)
|
||||
/// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn disapprove_proposal(p: u32, ) -> Weight {
|
||||
// Minimum execution time: 19_588 nanoseconds.
|
||||
Weight::from_ref_time(22_092_936)
|
||||
// Standard Error: 912
|
||||
.saturating_add(Weight::from_ref_time(174_551).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `325 + p * (32 ±0)`
|
||||
// Estimated: `1470 + p * (96 ±0)`
|
||||
// Minimum execution time: 13_506 nanoseconds.
|
||||
Weight::from_ref_time(15_355_734)
|
||||
.saturating_add(Weight::from_proof_size(1470))
|
||||
// Standard Error: 440
|
||||
.saturating_add(Weight::from_ref_time(83_215).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
.saturating_add(Weight::from_proof_size(96).saturating_mul(p.into()))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user