[ci] Return benchmark to bm machines (#2225)

* [WIP][ci] Return benchmark to bm machines

* run build on docker machines

* restart pipeline

* rm docker runner

* fix refs

* add weights

* return ci

* fix asset benchmark
This commit is contained in:
Alexander Samusev
2023-02-23 11:50:38 +01:00
committed by GitHub
parent 26b109bb82
commit 7e811c2c2f
89 changed files with 7970 additions and 3721 deletions
@@ -17,8 +17,9 @@
//! Autogenerated weights for `cumulus_pallet_xcmp_queue`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,17 +47,27 @@ use sp_std::marker::PhantomData;
/// Weight functions for `cumulus_pallet_xcmp_queue`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
// Storage: XcmpQueue QueueConfig (r:1 w:1)
/// Storage: XcmpQueue QueueConfig (r:1 w:1)
/// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured)
fn set_config_with_u32() -> Weight {
// Minimum execution time: 7_029 nanoseconds.
Weight::from_ref_time(7_466_000)
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `571`
// Minimum execution time: 4_808 nanoseconds.
Weight::from_ref_time(4_966_000)
.saturating_add(Weight::from_proof_size(571))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: XcmpQueue QueueConfig (r:1 w:1)
/// Storage: XcmpQueue QueueConfig (r:1 w:1)
/// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured)
fn set_config_with_weight() -> Weight {
// Minimum execution time: 7_027 nanoseconds.
Weight::from_ref_time(7_256_000)
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `571`
// Minimum execution time: 5_014 nanoseconds.
Weight::from_ref_time(5_135_000)
.saturating_add(Weight::from_proof_size(571))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -17,8 +17,9 @@
//! Autogenerated weights for `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -48,51 +49,81 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
/// The range of component `b` is `[0, 3932160]`.
fn remark(b: u32, ) -> Weight {
// Minimum execution time: 3_824 nanoseconds.
Weight::from_ref_time(3_006_762)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_643 nanoseconds.
Weight::from_ref_time(1_672_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(476).saturating_mul(b.into()))
.saturating_add(Weight::from_ref_time(368).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Minimum execution time: 13_506 nanoseconds.
Weight::from_ref_time(145_176_063)
// Standard Error: 4
.saturating_add(Weight::from_ref_time(1_865).saturating_mul(b.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_679 nanoseconds.
Weight::from_ref_time(6_737_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_714).saturating_mul(b.into()))
}
// Storage: System Digest (r:1 w:1)
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: unknown `0x3a686561707061676573` (r:0 w:1)
/// Proof Skipped: unknown `0x3a686561707061676573` (r:0 w:1)
fn set_heap_pages() -> Weight {
// Minimum execution time: 8_012 nanoseconds.
Weight::from_ref_time(8_298_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `495`
// Minimum execution time: 3_675 nanoseconds.
Weight::from_ref_time(3_915_000)
.saturating_add(Weight::from_proof_size(495))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Skipped Metadata (r:0 w:0)
/// Storage: Skipped Metadata (r:0 w:0)
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `i` is `[0, 1000]`.
fn set_storage(i: u32, ) -> Weight {
// Minimum execution time: 3_968 nanoseconds.
Weight::from_ref_time(4_082_000)
// Standard Error: 2_428
.saturating_add(Weight::from_ref_time(684_810).saturating_mul(i.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_789 nanoseconds.
Weight::from_ref_time(1_840_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 2_081
.saturating_add(Weight::from_ref_time(587_667).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// Storage: Skipped Metadata (r:0 w:0)
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `i` is `[0, 1000]`.
fn kill_storage(i: u32, ) -> Weight {
// Minimum execution time: 4_019 nanoseconds.
Weight::from_ref_time(4_112_000)
// Standard Error: 969
.saturating_add(Weight::from_ref_time(516_358).saturating_mul(i.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_849 nanoseconds.
Weight::from_ref_time(1_915_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 798
.saturating_add(Weight::from_ref_time(446_723).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// Storage: Skipped Metadata (r:0 w:0)
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32, ) -> Weight {
// Minimum execution time: 5_739 nanoseconds.
Weight::from_ref_time(5_965_000)
// Standard Error: 1_231
.saturating_add(Weight::from_ref_time(1_157_068).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `68 + p * (69 ±0)`
// Estimated: `69 + p * (70 ±0)`
// Minimum execution time: 3_503 nanoseconds.
Weight::from_ref_time(3_574_000)
.saturating_add(Weight::from_proof_size(69))
// Standard Error: 948
.saturating_add(Weight::from_ref_time(949_091).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
.saturating_add(Weight::from_proof_size(70).saturating_mul(p.into()))
}
}
@@ -17,8 +17,9 @@
//! Autogenerated weights for `pallet_alliance`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,273 +47,445 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_alliance`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
// Storage: Alliance Members (r:1 w:0)
// Storage: AllianceMotion ProposalOf (r:1 w:1)
// Storage: AllianceMotion Proposals (r:1 w:1)
// Storage: AllianceMotion ProposalCount (r:1 w:1)
// Storage: AllianceMotion Voting (r:0 w:1)
/// Storage: Alliance Members (r:1 w:0)
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
/// Storage: AllianceMotion ProposalOf (r:1 w:1)
/// Proof Skipped: AllianceMotion ProposalOf (max_values: None, max_size: None, mode: Measured)
/// Storage: AllianceMotion Proposals (r:1 w:1)
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion ProposalCount (r:1 w:1)
/// Proof Skipped: AllianceMotion ProposalCount (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Voting (r:0 w:1)
/// Proof Skipped: AllianceMotion Voting (max_values: None, max_size: None, mode: Measured)
/// The range of component `b` is `[1, 1024]`.
/// 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: 38_288 nanoseconds.
Weight::from_ref_time(38_207_884)
// Standard Error: 143
.saturating_add(Weight::from_ref_time(1_163).saturating_mul(b.into()))
// Standard Error: 1_497
.saturating_add(Weight::from_ref_time(49_809).saturating_mul(m.into()))
// Standard Error: 1_478
.saturating_add(Weight::from_ref_time(157_329).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `502 + m * (32 ±0) + p * (36 ±0)`
// Estimated: `10983 + m * (128 ±0) + p * (144 ±0)`
// Minimum execution time: 26_997 nanoseconds.
Weight::from_ref_time(28_875_691)
.saturating_add(Weight::from_proof_size(10983))
// Standard Error: 65
.saturating_add(Weight::from_ref_time(235).saturating_mul(b.into()))
// Standard Error: 683
.saturating_add(Weight::from_ref_time(17_740).saturating_mul(m.into()))
// Standard Error: 675
.saturating_add(Weight::from_ref_time(88_731).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(Weight::from_proof_size(128).saturating_mul(m.into()))
.saturating_add(Weight::from_proof_size(144).saturating_mul(p.into()))
}
// Storage: Alliance Members (r:1 w:0)
// Storage: AllianceMotion Voting (r:1 w:1)
/// Storage: Alliance Members (r:1 w:0)
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
/// Storage: AllianceMotion Voting (r:1 w:1)
/// Proof Skipped: AllianceMotion Voting (max_values: None, max_size: None, mode: Measured)
/// The range of component `m` is `[5, 100]`.
fn vote(m: u32, ) -> Weight {
// Minimum execution time: 36_846 nanoseconds.
Weight::from_ref_time(38_931_188)
// Standard Error: 1_204
.saturating_add(Weight::from_ref_time(75_325).saturating_mul(m.into()))
// Proof Size summary in bytes:
// Measured: `932 + m * (64 ±0)`
// Estimated: `9092 + m * (64 ±0)`
// Minimum execution time: 23_241 nanoseconds.
Weight::from_ref_time(23_786_275)
.saturating_add(Weight::from_proof_size(9092))
// Standard Error: 563
.saturating_add(Weight::from_ref_time(44_164).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_proof_size(64).saturating_mul(m.into()))
}
// Storage: Alliance Members (r:1 w:0)
// Storage: AllianceMotion Voting (r:1 w:1)
// Storage: AllianceMotion Members (r:1 w:0)
// Storage: AllianceMotion Proposals (r:1 w:1)
// Storage: AllianceMotion ProposalOf (r:0 w:1)
/// Storage: Alliance Members (r:1 w:0)
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
/// Storage: AllianceMotion Voting (r:1 w:1)
/// Proof Skipped: AllianceMotion Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: AllianceMotion Members (r:1 w:0)
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Proposals (r:1 w:1)
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion ProposalOf (r:0 w:1)
/// Proof Skipped: AllianceMotion 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]`.
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
// Minimum execution time: 45_595 nanoseconds.
Weight::from_ref_time(41_968_843)
// Standard Error: 1_471
.saturating_add(Weight::from_ref_time(78_046).saturating_mul(m.into()))
// Standard Error: 1_434
.saturating_add(Weight::from_ref_time(140_858).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `438 + m * (96 ±0) + p * (36 ±0)`
// Estimated: `11067 + m * (388 ±0) + p * (144 ±0)`
// Minimum execution time: 32_551 nanoseconds.
Weight::from_ref_time(30_322_236)
.saturating_add(Weight::from_proof_size(11067))
// Standard Error: 695
.saturating_add(Weight::from_ref_time(44_336).saturating_mul(m.into()))
// Standard Error: 678
.saturating_add(Weight::from_ref_time(83_273).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_proof_size(388).saturating_mul(m.into()))
.saturating_add(Weight::from_proof_size(144).saturating_mul(p.into()))
}
// Storage: Alliance Members (r:1 w:0)
// Storage: AllianceMotion Voting (r:1 w:1)
// Storage: AllianceMotion Members (r:1 w:0)
// Storage: AllianceMotion ProposalOf (r:1 w:1)
// Storage: AllianceMotion Proposals (r:1 w:1)
/// Storage: Alliance Members (r:1 w:0)
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
/// Storage: AllianceMotion Voting (r:1 w:1)
/// Proof Skipped: AllianceMotion Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: AllianceMotion Members (r:1 w:0)
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion ProposalOf (r:1 w:1)
/// Proof Skipped: AllianceMotion ProposalOf (max_values: None, max_size: None, mode: Measured)
/// Storage: AllianceMotion Proposals (r:1 w:1)
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `b` is `[1, 1024]`.
/// 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: 56_903 nanoseconds.
Weight::from_ref_time(55_838_779)
// Standard Error: 1_463
.saturating_add(Weight::from_ref_time(76_732).saturating_mul(m.into()))
// Standard Error: 1_426
.saturating_add(Weight::from_ref_time(147_104).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `923 + m * (96 ±0) + p * (41 ±0)`
// Estimated: `15422 + m * (388 ±0) + p * (160 ±0)`
// Minimum execution time: 42_592 nanoseconds.
Weight::from_ref_time(42_349_696)
.saturating_add(Weight::from_proof_size(15422))
// Standard Error: 1_776
.saturating_add(Weight::from_ref_time(53_830).saturating_mul(m.into()))
// Standard Error: 1_731
.saturating_add(Weight::from_ref_time(94_827).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_proof_size(388).saturating_mul(m.into()))
.saturating_add(Weight::from_proof_size(160).saturating_mul(p.into()))
}
// Storage: Alliance Members (r:1 w:0)
// Storage: AllianceMotion Voting (r:1 w:1)
// Storage: AllianceMotion Members (r:1 w:0)
// Storage: AllianceMotion Prime (r:1 w:0)
// Storage: AllianceMotion Proposals (r:1 w:1)
// Storage: AllianceMotion ProposalOf (r:0 w:1)
// Storage: Alliance Rule (r:0 w:1)
/// Storage: Alliance Members (r:1 w:0)
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
/// Storage: AllianceMotion Voting (r:1 w:1)
/// Proof Skipped: AllianceMotion Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: AllianceMotion Members (r:1 w:0)
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Prime (r:1 w:0)
/// Proof Skipped: AllianceMotion Prime (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion ProposalOf (r:1 w:1)
/// Proof Skipped: AllianceMotion ProposalOf (max_values: None, max_size: None, mode: Measured)
/// Storage: AllianceMotion Proposals (r:1 w:1)
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Alliance Rule (r:0 w:1)
/// Proof: Alliance Rule (max_values: Some(1), max_size: Some(87), added: 582, mode: MaxEncodedLen)
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_disapproved(m: u32, p: u32, ) -> Weight {
// Minimum execution time: 55_524 nanoseconds.
Weight::from_ref_time(54_973_604)
// Standard Error: 4_178
.saturating_add(Weight::from_ref_time(137_799).saturating_mul(m.into()))
// Standard Error: 4_127
.saturating_add(Weight::from_ref_time(181_776).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `677 + m * (96 ±0) + p * (41 ±0)`
// Estimated: `14232 + m * (507 ±0) + p * (202 ±0)`
// Minimum execution time: 39_735 nanoseconds.
Weight::from_ref_time(42_276_266)
.saturating_add(Weight::from_proof_size(14232))
// Standard Error: 3_451
.saturating_add(Weight::from_ref_time(94_755).saturating_mul(m.into()))
// Standard Error: 3_409
.saturating_add(Weight::from_ref_time(108_485).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(Weight::from_proof_size(507).saturating_mul(m.into()))
.saturating_add(Weight::from_proof_size(202).saturating_mul(p.into()))
}
// Storage: Alliance Members (r:1 w:0)
// Storage: AllianceMotion Voting (r:1 w:1)
// Storage: AllianceMotion Members (r:1 w:0)
// Storage: AllianceMotion Prime (r:1 w:0)
// Storage: AllianceMotion Proposals (r:1 w:1)
// Storage: AllianceMotion ProposalOf (r:0 w:1)
/// Storage: Alliance Members (r:1 w:0)
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
/// Storage: AllianceMotion Voting (r:1 w:1)
/// Proof Skipped: AllianceMotion Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: AllianceMotion Members (r:1 w:0)
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Prime (r:1 w:0)
/// Proof Skipped: AllianceMotion Prime (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Proposals (r:1 w:1)
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion ProposalOf (r:0 w:1)
/// Proof Skipped: AllianceMotion ProposalOf (max_values: None, max_size: None, mode: Measured)
/// The range of component `b` is `[1, 1024]`.
/// The range of component `m` is `[5, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 47_385 nanoseconds.
Weight::from_ref_time(43_221_021)
// Standard Error: 125
.saturating_add(Weight::from_ref_time(670).saturating_mul(b.into()))
// Standard Error: 1_346
.saturating_add(Weight::from_ref_time(74_996).saturating_mul(m.into()))
// Standard Error: 1_298
.saturating_add(Weight::from_ref_time(139_287).saturating_mul(p.into()))
fn close_approved(_b: u32, m: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `545 + m * (96 ±0) + p * (36 ±0)`
// Estimated: `12436 + m * (480 ±0) + p * (180 ±0)`
// Minimum execution time: 33_604 nanoseconds.
Weight::from_ref_time(32_382_610)
.saturating_add(Weight::from_proof_size(12436))
// Standard Error: 564
.saturating_add(Weight::from_ref_time(41_625).saturating_mul(m.into()))
// Standard Error: 544
.saturating_add(Weight::from_ref_time(80_954).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_proof_size(480).saturating_mul(m.into()))
.saturating_add(Weight::from_proof_size(180).saturating_mul(p.into()))
}
// Storage: Alliance Members (r:2 w:2)
// Storage: AllianceMotion Members (r:1 w:1)
/// Storage: Alliance Members (r:2 w:2)
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
/// Storage: AllianceMotion Members (r:1 w:1)
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[1, 100]`.
/// The range of component `z` is `[0, 100]`.
fn init_members(m: u32, z: u32, ) -> Weight {
// Minimum execution time: 39_193 nanoseconds.
Weight::from_ref_time(26_044_549)
// Standard Error: 1_185
.saturating_add(Weight::from_ref_time(173_356).saturating_mul(m.into()))
// Standard Error: 1_171
.saturating_add(Weight::from_ref_time(150_180).saturating_mul(z.into()))
// Proof Size summary in bytes:
// Measured: `12`
// Estimated: `11879`
// Minimum execution time: 27_970 nanoseconds.
Weight::from_ref_time(16_763_631)
.saturating_add(Weight::from_proof_size(11879))
// Standard Error: 496
.saturating_add(Weight::from_ref_time(130_747).saturating_mul(m.into()))
// Standard Error: 490
.saturating_add(Weight::from_ref_time(112_074).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Alliance Members (r:2 w:2)
// Storage: AllianceMotion Proposals (r:1 w:0)
// Storage: Alliance DepositOf (r:101 w:50)
// Storage: System Account (r:50 w:50)
// Storage: AllianceMotion Members (r:0 w:1)
// Storage: AllianceMotion Prime (r:0 w:1)
/// Storage: Alliance Members (r:2 w:2)
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
/// Storage: AllianceMotion Proposals (r:1 w:0)
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Alliance DepositOf (r:200 w:50)
/// Proof: Alliance DepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
/// Storage: System Account (r:50 w:50)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: AllianceMotion Members (r:0 w:1)
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Prime (r:0 w:1)
/// Proof Skipped: AllianceMotion Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `x` is `[1, 100]`.
/// The range of component `y` is `[0, 100]`.
/// The range of component `z` is `[0, 50]`.
fn disband(x: u32, y: u32, z: u32, ) -> Weight {
// Minimum execution time: 269_952 nanoseconds.
Weight::from_ref_time(273_268_000)
// Standard Error: 21_296
.saturating_add(Weight::from_ref_time(520_494).saturating_mul(x.into()))
// Standard Error: 21_193
.saturating_add(Weight::from_ref_time(517_860).saturating_mul(y.into()))
// Standard Error: 42_349
.saturating_add(Weight::from_ref_time(10_726_990).saturating_mul(z.into()))
// Proof Size summary in bytes:
// Measured: `0 + x * (52 ±0) + y * (53 ±0) + z * (282 ±0)`
// Estimated: `31580 + x * (2590 ±0) + y * (2590 ±0) + z * (3200 ±1)`
// Minimum execution time: 221_464 nanoseconds.
Weight::from_ref_time(223_114_000)
.saturating_add(Weight::from_proof_size(31580))
// Standard Error: 19_600
.saturating_add(Weight::from_ref_time(471_527).saturating_mul(x.into()))
// Standard Error: 19_506
.saturating_add(Weight::from_ref_time(424_033).saturating_mul(y.into()))
// Standard Error: 38_976
.saturating_add(Weight::from_ref_time(9_666_599).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(x.into())))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(y.into())))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(z.into())))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(z.into())))
.saturating_add(Weight::from_proof_size(2590).saturating_mul(x.into()))
.saturating_add(Weight::from_proof_size(2590).saturating_mul(y.into()))
.saturating_add(Weight::from_proof_size(3200).saturating_mul(z.into()))
}
// Storage: Alliance Rule (r:0 w:1)
/// Storage: Alliance Rule (r:0 w:1)
/// Proof: Alliance Rule (max_values: Some(1), max_size: Some(87), added: 582, mode: MaxEncodedLen)
fn set_rule() -> Weight {
// Minimum execution time: 15_647 nanoseconds.
Weight::from_ref_time(16_092_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_585 nanoseconds.
Weight::from_ref_time(8_746_000)
.saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Alliance Announcements (r:1 w:1)
/// Storage: Alliance Announcements (r:1 w:1)
/// Proof: Alliance Announcements (max_values: Some(1), max_size: Some(8702), added: 9197, mode: MaxEncodedLen)
fn announce() -> Weight {
// Minimum execution time: 17_905 nanoseconds.
Weight::from_ref_time(18_333_000)
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `9197`
// Minimum execution time: 10_728 nanoseconds.
Weight::from_ref_time(10_974_000)
.saturating_add(Weight::from_proof_size(9197))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Alliance Announcements (r:1 w:1)
/// Storage: Alliance Announcements (r:1 w:1)
/// Proof: Alliance Announcements (max_values: Some(1), max_size: Some(8702), added: 9197, mode: MaxEncodedLen)
fn remove_announcement() -> Weight {
// Minimum execution time: 19_189 nanoseconds.
Weight::from_ref_time(19_714_000)
// Proof Size summary in bytes:
// Measured: `181`
// Estimated: `9197`
// Minimum execution time: 11_751 nanoseconds.
Weight::from_ref_time(12_205_000)
.saturating_add(Weight::from_proof_size(9197))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Alliance Members (r:3 w:1)
// Storage: Alliance UnscrupulousAccounts (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: Alliance DepositOf (r:0 w:1)
/// Storage: Alliance Members (r:3 w:1)
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
/// Storage: Alliance UnscrupulousAccounts (r:1 w:0)
/// Proof: Alliance UnscrupulousAccounts (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Alliance DepositOf (r:0 w:1)
/// Proof: Alliance DepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
fn join_alliance() -> Weight {
// Minimum execution time: 46_828 nanoseconds.
Weight::from_ref_time(48_341_000)
// Proof Size summary in bytes:
// Measured: `388`
// Estimated: `23358`
// Minimum execution time: 38_798 nanoseconds.
Weight::from_ref_time(39_255_000)
.saturating_add(Weight::from_proof_size(23358))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Alliance Members (r:3 w:1)
// Storage: Alliance UnscrupulousAccounts (r:1 w:0)
/// Storage: Alliance Members (r:3 w:1)
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
/// Storage: Alliance UnscrupulousAccounts (r:1 w:0)
/// Proof: Alliance UnscrupulousAccounts (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
fn nominate_ally() -> Weight {
// Minimum execution time: 33_512 nanoseconds.
Weight::from_ref_time(34_557_000)
// Proof Size summary in bytes:
// Measured: `255`
// Estimated: `20755`
// Minimum execution time: 27_702 nanoseconds.
Weight::from_ref_time(28_189_000)
.saturating_add(Weight::from_proof_size(20755))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Alliance Members (r:2 w:2)
// Storage: AllianceMotion Proposals (r:1 w:0)
// Storage: AllianceMotion Members (r:0 w:1)
// Storage: AllianceMotion Prime (r:0 w:1)
/// Storage: Alliance Members (r:2 w:2)
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
/// Storage: AllianceMotion Proposals (r:1 w:0)
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Members (r:0 w:1)
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Prime (r:0 w:1)
/// Proof Skipped: AllianceMotion Prime (max_values: Some(1), max_size: None, mode: Measured)
fn elevate_ally() -> Weight {
// Minimum execution time: 29_986 nanoseconds.
Weight::from_ref_time(30_647_000)
// Proof Size summary in bytes:
// Measured: `298`
// Estimated: `12761`
// Minimum execution time: 23_033 nanoseconds.
Weight::from_ref_time(23_589_000)
.saturating_add(Weight::from_proof_size(12761))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Alliance Members (r:4 w:2)
// Storage: AllianceMotion Proposals (r:1 w:0)
// Storage: AllianceMotion Members (r:0 w:1)
// Storage: AllianceMotion Prime (r:0 w:1)
// Storage: Alliance RetiringMembers (r:0 w:1)
/// Storage: Alliance Members (r:4 w:2)
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
/// Storage: AllianceMotion Proposals (r:1 w:0)
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Members (r:0 w:1)
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Prime (r:0 w:1)
/// Proof Skipped: AllianceMotion Prime (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Alliance RetiringMembers (r:0 w:1)
/// Proof: Alliance RetiringMembers (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
fn give_retirement_notice() -> Weight {
// Minimum execution time: 36_997 nanoseconds.
Weight::from_ref_time(38_347_000)
// Proof Size summary in bytes:
// Measured: `298`
// Estimated: `24133`
// Minimum execution time: 31_352 nanoseconds.
Weight::from_ref_time(31_848_000)
.saturating_add(Weight::from_proof_size(24133))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Alliance RetiringMembers (r:1 w:1)
// Storage: Alliance Members (r:1 w:1)
// Storage: Alliance DepositOf (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Alliance RetiringMembers (r:1 w:1)
/// Proof: Alliance RetiringMembers (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
/// Storage: Alliance Members (r:1 w:1)
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
/// Storage: Alliance DepositOf (r:1 w:1)
/// Proof: Alliance DepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn retire() -> Weight {
// Minimum execution time: 40_467 nanoseconds.
Weight::from_ref_time(41_405_000)
// Proof Size summary in bytes:
// Measured: `580`
// Estimated: `13355`
// Minimum execution time: 31_872 nanoseconds.
Weight::from_ref_time(32_156_000)
.saturating_add(Weight::from_proof_size(13355))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Alliance Members (r:3 w:1)
// Storage: AllianceMotion Proposals (r:1 w:0)
// Storage: Alliance DepositOf (r:1 w:1)
// Storage: System Account (r:2 w:2)
// Storage: ParachainInfo ParachainId (r:1 w:0)
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
// Storage: AllianceMotion Members (r:0 w:1)
// Storage: AllianceMotion Prime (r:0 w:1)
/// Storage: Alliance Members (r:3 w:1)
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
/// Storage: AllianceMotion Proposals (r:1 w:0)
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Alliance DepositOf (r:1 w:1)
/// Proof: Alliance DepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
/// Storage: System Account (r:2 w:2)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: ParachainInfo ParachainId (r:1 w:0)
/// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Members (r:0 w:1)
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Prime (r:0 w:1)
/// Proof Skipped: AllianceMotion Prime (max_values: Some(1), max_size: None, mode: Measured)
fn kick_member() -> Weight {
// Minimum execution time: 130_704 nanoseconds.
Weight::from_ref_time(135_795_000)
// Proof Size summary in bytes:
// Measured: `716`
// Estimated: `35980`
// Minimum execution time: 115_869 nanoseconds.
Weight::from_ref_time(116_954_000)
.saturating_add(Weight::from_proof_size(35980))
.saturating_add(T::DbWeight::get().reads(13))
.saturating_add(T::DbWeight::get().writes(8))
}
// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
/// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
/// Proof: Alliance UnscrupulousAccounts (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
/// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
/// Proof: Alliance UnscrupulousWebsites (max_values: Some(1), max_size: Some(25702), added: 26197, mode: MaxEncodedLen)
/// The range of component `n` is `[0, 100]`.
/// The range of component `l` is `[0, 255]`.
fn add_unscrupulous_items(n: u32, l: u32, ) -> Weight {
// Minimum execution time: 14_157 nanoseconds.
Weight::from_ref_time(14_298_000)
// Standard Error: 3_498
.saturating_add(Weight::from_ref_time(1_345_686).saturating_mul(n.into()))
// Standard Error: 1_370
.saturating_add(Weight::from_ref_time(69_753).saturating_mul(l.into()))
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `29894`
// Minimum execution time: 6_956 nanoseconds.
Weight::from_ref_time(7_074_000)
.saturating_add(Weight::from_proof_size(29894))
// Standard Error: 2_782
.saturating_add(Weight::from_ref_time(1_178_647).saturating_mul(n.into()))
// Standard Error: 1_089
.saturating_add(Weight::from_ref_time(65_684).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
/// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
/// Proof: Alliance UnscrupulousAccounts (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
/// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
/// Proof: Alliance UnscrupulousWebsites (max_values: Some(1), max_size: Some(25702), added: 26197, mode: MaxEncodedLen)
/// The range of component `n` is `[0, 100]`.
/// The range of component `l` is `[0, 255]`.
fn remove_unscrupulous_items(n: u32, l: u32, ) -> Weight {
// Minimum execution time: 14_045 nanoseconds.
Weight::from_ref_time(14_470_000)
// Standard Error: 192_627
.saturating_add(Weight::from_ref_time(14_774_889).saturating_mul(n.into()))
// Standard Error: 75_441
.saturating_add(Weight::from_ref_time(609_306).saturating_mul(l.into()))
// Proof Size summary in bytes:
// Measured: `0 + n * (289 ±0) + l * (100 ±0)`
// Estimated: `29894`
// Minimum execution time: 6_939 nanoseconds.
Weight::from_ref_time(7_100_000)
.saturating_add(Weight::from_proof_size(29894))
// Standard Error: 170_977
.saturating_add(Weight::from_ref_time(13_668_797).saturating_mul(n.into()))
// Standard Error: 66_962
.saturating_add(Weight::from_ref_time(451_782).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Alliance Members (r:3 w:2)
// Storage: AllianceMotion Proposals (r:1 w:0)
// Storage: AllianceMotion Members (r:0 w:1)
// Storage: AllianceMotion Prime (r:0 w:1)
/// Storage: Alliance Members (r:3 w:2)
/// Proof: Alliance Members (max_values: None, max_size: Some(3211), added: 5686, mode: MaxEncodedLen)
/// Storage: AllianceMotion Proposals (r:1 w:0)
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Members (r:0 w:1)
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Prime (r:0 w:1)
/// Proof Skipped: AllianceMotion Prime (max_values: Some(1), max_size: None, mode: Measured)
fn abdicate_fellow_status() -> Weight {
// Minimum execution time: 35_464 nanoseconds.
Weight::from_ref_time(37_038_000)
// Proof Size summary in bytes:
// Measured: `298`
// Estimated: `18447`
// Minimum execution time: 29_564 nanoseconds.
Weight::from_ref_time(30_313_000)
.saturating_add(Weight::from_proof_size(18447))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -17,8 +17,9 @@
//! Autogenerated weights for `pallet_balances`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,52 +47,87 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_balances`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn transfer() -> Weight {
// Minimum execution time: 45_122 nanoseconds.
Weight::from_ref_time(46_166_000)
// Proof Size summary in bytes:
// Measured: `1176`
// Estimated: `2603`
// Minimum execution time: 45_207 nanoseconds.
Weight::from_ref_time(45_620_000)
.saturating_add(Weight::from_proof_size(2603))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn transfer_keep_alive() -> Weight {
// Minimum execution time: 33_640 nanoseconds.
Weight::from_ref_time(34_488_000)
// Proof Size summary in bytes:
// Measured: `1060`
// Estimated: `2603`
// Minimum execution time: 35_103 nanoseconds.
Weight::from_ref_time(35_730_000)
.saturating_add(Weight::from_proof_size(2603))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn set_balance_creating() -> Weight {
// Minimum execution time: 23_438 nanoseconds.
Weight::from_ref_time(24_284_000)
// Proof Size summary in bytes:
// Measured: `1172`
// Estimated: `2603`
// Minimum execution time: 26_007 nanoseconds.
Weight::from_ref_time(26_347_000)
.saturating_add(Weight::from_proof_size(2603))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn set_balance_killing() -> Weight {
// Minimum execution time: 26_770 nanoseconds.
Weight::from_ref_time(27_526_000)
// Proof Size summary in bytes:
// Measured: `1172`
// Estimated: `2603`
// Minimum execution time: 28_971 nanoseconds.
Weight::from_ref_time(29_435_000)
.saturating_add(Weight::from_proof_size(2603))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:2 w:2)
/// Storage: System Account (r:2 w:2)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn force_transfer() -> Weight {
// Minimum execution time: 44_142 nanoseconds.
Weight::from_ref_time(45_448_000)
// Proof Size summary in bytes:
// Measured: `1172`
// Estimated: `5206`
// Minimum execution time: 45_554 nanoseconds.
Weight::from_ref_time(46_156_000)
.saturating_add(Weight::from_proof_size(5206))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: System Account (r:1 w:1)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn transfer_all() -> Weight {
// Minimum execution time: 39_237 nanoseconds.
Weight::from_ref_time(40_438_000)
// Proof Size summary in bytes:
// Measured: `1060`
// Estimated: `2603`
// Minimum execution time: 40_290 nanoseconds.
Weight::from_ref_time(40_805_000)
.saturating_add(Weight::from_proof_size(2603))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn force_unreserve() -> Weight {
// Minimum execution time: 20_235 nanoseconds.
Weight::from_ref_time(20_804_000)
// Proof Size summary in bytes:
// Measured: `1056`
// Estimated: `2603`
// Minimum execution time: 22_459 nanoseconds.
Weight::from_ref_time(23_037_000)
.saturating_add(Weight::from_proof_size(2603))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -17,8 +17,9 @@
//! Autogenerated weights for `pallet_collator_selection`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,79 +47,131 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_collator_selection`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightInfo<T> {
// Storage: Session NextKeys (r:1 w:0)
// Storage: CollatorSelection Invulnerables (r:0 w:1)
/// Storage: Session NextKeys (r:100 w:0)
/// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
/// Storage: CollatorSelection Invulnerables (r:0 w:1)
/// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
/// The range of component `b` is `[1, 100]`.
fn set_invulnerables(b: u32, ) -> Weight {
// Minimum execution time: 20_299 nanoseconds.
Weight::from_ref_time(19_027_195)
// Standard Error: 4_017
.saturating_add(Weight::from_ref_time(2_863_630).saturating_mul(b.into()))
// Proof Size summary in bytes:
// Measured: `178 + b * (78 ±0)`
// Estimated: `178 + b * (2554 ±0)`
// Minimum execution time: 13_471 nanoseconds.
Weight::from_ref_time(13_949_440)
.saturating_add(Weight::from_proof_size(178))
// Standard Error: 3_549
.saturating_add(Weight::from_ref_time(2_497_077).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_proof_size(2554).saturating_mul(b.into()))
}
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
/// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
/// Proof: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn set_desired_candidates() -> Weight {
// Minimum execution time: 13_209 nanoseconds.
Weight::from_ref_time(13_980_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_444 nanoseconds.
Weight::from_ref_time(6_763_000)
.saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
/// Storage: CollatorSelection CandidacyBond (r:0 w:1)
/// Proof: CollatorSelection CandidacyBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
fn set_candidacy_bond() -> Weight {
// Minimum execution time: 13_572 nanoseconds.
Weight::from_ref_time(14_417_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_610 nanoseconds.
Weight::from_ref_time(6_807_000)
.saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: CollatorSelection Candidates (r:1 w:1)
// Storage: CollatorSelection DesiredCandidates (r:1 w:0)
// Storage: CollatorSelection Invulnerables (r:1 w:0)
// Storage: Session NextKeys (r:1 w:0)
// Storage: CollatorSelection CandidacyBond (r:1 w:0)
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
/// Storage: CollatorSelection Candidates (r:1 w:1)
/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(48002), added: 48497, mode: MaxEncodedLen)
/// Storage: CollatorSelection DesiredCandidates (r:1 w:0)
/// Proof: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: CollatorSelection Invulnerables (r:1 w:0)
/// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
/// Storage: Session NextKeys (r:1 w:0)
/// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
/// Storage: CollatorSelection CandidacyBond (r:1 w:0)
/// Proof: CollatorSelection CandidacyBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
/// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
/// The range of component `c` is `[1, 999]`.
fn register_as_candidate(c: u32, ) -> Weight {
// Minimum execution time: 45_919 nanoseconds.
Weight::from_ref_time(43_816_560)
// Standard Error: 3_084
.saturating_add(Weight::from_ref_time(156_908).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `1171 + c * (48 ±0)`
// Estimated: `56784 + c * (49 ±0)`
// Minimum execution time: 35_411 nanoseconds.
Weight::from_ref_time(26_990_808)
.saturating_add(Weight::from_proof_size(56784))
// Standard Error: 1_294
.saturating_add(Weight::from_ref_time(107_975).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(Weight::from_proof_size(49).saturating_mul(c.into()))
}
// Storage: CollatorSelection Candidates (r:1 w:1)
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
/// Storage: CollatorSelection Candidates (r:1 w:1)
/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(48002), added: 48497, mode: MaxEncodedLen)
/// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
/// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
/// The range of component `c` is `[6, 1000]`.
fn leave_intent(c: u32, ) -> Weight {
// Minimum execution time: 36_399 nanoseconds.
Weight::from_ref_time(43_953_781)
// Standard Error: 1_684
.saturating_add(Weight::from_ref_time(196_799).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `536 + c * (48 ±0)`
// Estimated: `48497`
// Minimum execution time: 25_912 nanoseconds.
Weight::from_ref_time(15_664_296)
.saturating_add(Weight::from_proof_size(48497))
// Standard Error: 1_292
.saturating_add(Weight::from_ref_time(105_672).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: System Account (r:2 w:2)
// Storage: System BlockWeight (r:1 w:1)
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
/// Storage: System Account (r:2 w:2)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: System BlockWeight (r:1 w:1)
/// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)
/// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
/// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
fn note_author() -> Weight {
// Minimum execution time: 33_371 nanoseconds.
Weight::from_ref_time(34_081_000)
// Proof Size summary in bytes:
// Measured: `135`
// Estimated: `5749`
// Minimum execution time: 24_773 nanoseconds.
Weight::from_ref_time(25_088_000)
.saturating_add(Weight::from_proof_size(5749))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: CollatorSelection Candidates (r:1 w:1)
// Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1)
// Storage: System Account (r:1 w:1)
// Storage: CollatorSelection Invulnerables (r:1 w:0)
// Storage: System BlockWeight (r:1 w:1)
/// Storage: CollatorSelection Candidates (r:1 w:0)
/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(48002), added: 48497, mode: MaxEncodedLen)
/// Storage: CollatorSelection LastAuthoredBlock (r:999 w:0)
/// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
/// Storage: CollatorSelection Invulnerables (r:1 w:0)
/// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
/// Storage: System BlockWeight (r:1 w:1)
/// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)
/// Storage: System Account (r:995 w:995)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 1000]`.
/// The range of component `c` is `[1, 1000]`.
fn new_session(_r: u32, c: u32, ) -> Weight {
// Minimum execution time: 18_737 nanoseconds.
Weight::from_ref_time(18_894_000)
// Standard Error: 844_081
.saturating_add(Weight::from_ref_time(31_454_028).saturating_mul(c.into()))
fn new_session(r: u32, c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `22784 + r * (148 ±0) + c * (97 ±0)`
// Estimated: `52737 + c * (2519 ±0) + r * (2602 ±0)`
// Minimum execution time: 16_174 nanoseconds.
Weight::from_ref_time(16_337_000)
.saturating_add(Weight::from_proof_size(52737))
// Standard Error: 759_621
.saturating_add(Weight::from_ref_time(27_780_906).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
.saturating_add(Weight::from_proof_size(2519).saturating_mul(c.into()))
.saturating_add(Weight::from_proof_size(2602).saturating_mul(r.into()))
}
}
@@ -17,8 +17,9 @@
//! Autogenerated weights for `pallet_collective`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,163 +47,256 @@ 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: AllianceMotion Members (r:1 w:1)
// Storage: AllianceMotion Proposals (r:1 w:0)
// Storage: AllianceMotion Prime (r:0 w:1)
// Storage: AllianceMotion Voting (r:100 w:100)
/// Storage: AllianceMotion Members (r:1 w:1)
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Proposals (r:1 w:0)
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Voting (r:100 w:100)
/// Proof Skipped: AllianceMotion Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: AllianceMotion Prime (r:0 w:1)
/// Proof Skipped: AllianceMotion 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]`.
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
// Minimum execution time: 17_553 nanoseconds.
Weight::from_ref_time(17_927_000)
// Standard Error: 69_221
.saturating_add(Weight::from_ref_time(5_275_876).saturating_mul(m.into()))
// Standard Error: 69_221
.saturating_add(Weight::from_ref_time(8_657_171).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `0 + m * (3233 ±0) + p * (3223 ±0)`
// Estimated: `15906 + m * (7809 ±23) + p * (10238 ±23)`
// Minimum execution time: 15_797 nanoseconds.
Weight::from_ref_time(16_028_000)
.saturating_add(Weight::from_proof_size(15906))
// Standard Error: 70_308
.saturating_add(Weight::from_ref_time(5_642_347).saturating_mul(m.into()))
// Standard Error: 70_308
.saturating_add(Weight::from_ref_time(8_133_950).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: AllianceMotion Members (r:1 w:0)
/// Storage: AllianceMotion Members (r:1 w:0)
/// Proof Skipped: AllianceMotion 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]`.
fn execute(b: u32, m: u32, ) -> Weight {
// Minimum execution time: 20_469 nanoseconds.
Weight::from_ref_time(20_804_130)
// Standard Error: 97
.saturating_add(Weight::from_ref_time(2_029).saturating_mul(b.into()))
// Standard Error: 1_007
.saturating_add(Weight::from_ref_time(11_086).saturating_mul(m.into()))
// Proof Size summary in bytes:
// Measured: `64 + m * (32 ±0)`
// Estimated: `560 + m * (32 ±0)`
// Minimum execution time: 14_039 nanoseconds.
Weight::from_ref_time(13_145_821)
.saturating_add(Weight::from_proof_size(560))
// Standard Error: 24
.saturating_add(Weight::from_ref_time(1_434).saturating_mul(b.into()))
// Standard Error: 248
.saturating_add(Weight::from_ref_time(14_559).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(Weight::from_proof_size(32).saturating_mul(m.into()))
}
// Storage: AllianceMotion Members (r:1 w:0)
// Storage: AllianceMotion ProposalOf (r:1 w:0)
/// Storage: AllianceMotion Members (r:1 w:0)
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion ProposalOf (r:1 w:0)
/// Proof Skipped: AllianceMotion 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]`.
fn propose_execute(b: u32, m: u32, ) -> Weight {
// Minimum execution time: 23_719 nanoseconds.
Weight::from_ref_time(20_840_191)
// Standard Error: 905
.saturating_add(Weight::from_ref_time(3_109).saturating_mul(b.into()))
// Standard Error: 9_336
.saturating_add(Weight::from_ref_time(49_591).saturating_mul(m.into()))
// Proof Size summary in bytes:
// Measured: `64 + m * (32 ±0)`
// Estimated: `3100 + m * (64 ±0)`
// Minimum execution time: 16_235 nanoseconds.
Weight::from_ref_time(14_913_854)
.saturating_add(Weight::from_proof_size(3100))
// Standard Error: 26
.saturating_add(Weight::from_ref_time(1_744).saturating_mul(b.into()))
// Standard Error: 273
.saturating_add(Weight::from_ref_time(23_908).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(Weight::from_proof_size(64).saturating_mul(m.into()))
}
// Storage: AllianceMotion Members (r:1 w:0)
// Storage: AllianceMotion ProposalOf (r:1 w:1)
// Storage: AllianceMotion Proposals (r:1 w:1)
// Storage: AllianceMotion ProposalCount (r:1 w:1)
// Storage: AllianceMotion Voting (r:0 w:1)
/// Storage: AllianceMotion Members (r:1 w:0)
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion ProposalOf (r:1 w:1)
/// Proof Skipped: AllianceMotion ProposalOf (max_values: None, max_size: None, mode: Measured)
/// Storage: AllianceMotion Proposals (r:1 w:1)
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion ProposalCount (r:1 w:1)
/// Proof Skipped: AllianceMotion ProposalCount (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Voting (r:0 w:1)
/// Proof Skipped: AllianceMotion 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]`.
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 31_254 nanoseconds.
Weight::from_ref_time(24_735_510)
// Standard Error: 208
.saturating_add(Weight::from_ref_time(6_808).saturating_mul(b.into()))
// Standard Error: 2_178
.saturating_add(Weight::from_ref_time(39_453).saturating_mul(m.into()))
// Standard Error: 2_150
.saturating_add(Weight::from_ref_time(252_936).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `386 + m * (32 ±0) + p * (36 ±0)`
// Estimated: `5505 + m * (165 ±0) + p * (180 ±0)`
// Minimum execution time: 21_595 nanoseconds.
Weight::from_ref_time(23_162_876)
.saturating_add(Weight::from_proof_size(5505))
// Standard Error: 76
.saturating_add(Weight::from_ref_time(2_647).saturating_mul(b.into()))
// Standard Error: 797
.saturating_add(Weight::from_ref_time(19_673).saturating_mul(m.into()))
// Standard Error: 787
.saturating_add(Weight::from_ref_time(95_242).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: AllianceMotion Members (r:1 w:0)
// Storage: AllianceMotion Voting (r:1 w:1)
/// Storage: AllianceMotion Members (r:1 w:0)
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Voting (r:1 w:1)
/// Proof Skipped: AllianceMotion Voting (max_values: None, max_size: None, mode: Measured)
/// The range of component `m` is `[5, 100]`.
fn vote(m: u32, ) -> Weight {
// Minimum execution time: 35_835 nanoseconds.
Weight::from_ref_time(40_529_972)
// Standard Error: 2_842
.saturating_add(Weight::from_ref_time(57_776).saturating_mul(m.into()))
// Proof Size summary in bytes:
// Measured: `836 + m * (64 ±0)`
// Estimated: `4640 + m * (128 ±0)`
// Minimum execution time: 20_793 nanoseconds.
Weight::from_ref_time(21_342_865)
.saturating_add(Weight::from_proof_size(4640))
// Standard Error: 394
.saturating_add(Weight::from_ref_time(43_236).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: AllianceMotion Voting (r:1 w:1)
// Storage: AllianceMotion Members (r:1 w:0)
// Storage: AllianceMotion Proposals (r:1 w:1)
// Storage: AllianceMotion ProposalOf (r:0 w:1)
/// Storage: AllianceMotion Voting (r:1 w:1)
/// Proof Skipped: AllianceMotion Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: AllianceMotion Members (r:1 w:0)
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Proposals (r:1 w:1)
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion ProposalOf (r:0 w:1)
/// Proof Skipped: AllianceMotion 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]`.
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
// Minimum execution time: 31_675 nanoseconds.
Weight::from_ref_time(32_610_448)
// Standard Error: 2_828
.saturating_add(Weight::from_ref_time(47_300).saturating_mul(m.into()))
// Standard Error: 2_757
.saturating_add(Weight::from_ref_time(233_631).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `456 + m * (64 ±0) + p * (36 ±0)`
// Estimated: `5213 + m * (260 ±0) + p * (144 ±0)`
// Minimum execution time: 24_859 nanoseconds.
Weight::from_ref_time(26_156_065)
.saturating_add(Weight::from_proof_size(5213))
// Standard Error: 737
.saturating_add(Weight::from_ref_time(20_578).saturating_mul(m.into()))
// Standard Error: 718
.saturating_add(Weight::from_ref_time(86_327).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: AllianceMotion Voting (r:1 w:1)
// Storage: AllianceMotion Members (r:1 w:0)
// Storage: AllianceMotion ProposalOf (r:1 w:1)
// Storage: AllianceMotion Proposals (r:1 w:1)
/// Storage: AllianceMotion Voting (r:1 w:1)
/// Proof Skipped: AllianceMotion Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: AllianceMotion Members (r:1 w:0)
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion ProposalOf (r:1 w:1)
/// Proof Skipped: AllianceMotion ProposalOf (max_values: None, max_size: None, mode: Measured)
/// Storage: AllianceMotion Proposals (r:1 w:1)
/// Proof Skipped: AllianceMotion 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]`.
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 42_467 nanoseconds.
Weight::from_ref_time(41_191_754)
// Standard Error: 240
.saturating_add(Weight::from_ref_time(4_306).saturating_mul(b.into()))
// Standard Error: 2_539
.saturating_add(Weight::from_ref_time(41_073).saturating_mul(m.into()))
// Standard Error: 2_475
.saturating_add(Weight::from_ref_time(287_142).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `792 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
// Estimated: `8484 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)`
// Minimum execution time: 34_729 nanoseconds.
Weight::from_ref_time(36_499_058)
.saturating_add(Weight::from_proof_size(8484))
// Standard Error: 84
.saturating_add(Weight::from_ref_time(1_409).saturating_mul(b.into()))
// Standard Error: 893
.saturating_add(Weight::from_ref_time(14_167).saturating_mul(m.into()))
// Standard Error: 871
.saturating_add(Weight::from_ref_time(101_999).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: AllianceMotion Voting (r:1 w:1)
// Storage: AllianceMotion Members (r:1 w:0)
// Storage: AllianceMotion Prime (r:1 w:0)
// Storage: AllianceMotion Proposals (r:1 w:1)
// Storage: AllianceMotion ProposalOf (r:0 w:1)
/// Storage: AllianceMotion Voting (r:1 w:1)
/// Proof Skipped: AllianceMotion Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: AllianceMotion Members (r:1 w:0)
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Prime (r:1 w:0)
/// Proof Skipped: AllianceMotion Prime (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Proposals (r:1 w:1)
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion ProposalOf (r:0 w:1)
/// Proof Skipped: AllianceMotion 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]`.
fn close_disapproved(m: u32, p: u32, ) -> Weight {
// Minimum execution time: 32_710 nanoseconds.
Weight::from_ref_time(35_372_369)
// Standard Error: 2_333
.saturating_add(Weight::from_ref_time(36_146).saturating_mul(m.into()))
// Standard Error: 2_275
.saturating_add(Weight::from_ref_time(222_227).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `553 + m * (48 ±0) + p * (36 ±0)`
// Estimated: `6605 + m * (245 ±0) + p * (180 ±0)`
// Minimum execution time: 27_113 nanoseconds.
Weight::from_ref_time(28_105_174)
.saturating_add(Weight::from_proof_size(6605))
// Standard Error: 686
.saturating_add(Weight::from_ref_time(20_379).saturating_mul(m.into()))
// Standard Error: 669
.saturating_add(Weight::from_ref_time(89_284).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_proof_size(245).saturating_mul(m.into()))
.saturating_add(Weight::from_proof_size(180).saturating_mul(p.into()))
}
// Storage: AllianceMotion Voting (r:1 w:1)
// Storage: AllianceMotion Members (r:1 w:0)
// Storage: AllianceMotion Prime (r:1 w:0)
// Storage: AllianceMotion ProposalOf (r:1 w:1)
// Storage: AllianceMotion Proposals (r:1 w:1)
/// Storage: AllianceMotion Voting (r:1 w:1)
/// Proof Skipped: AllianceMotion Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: AllianceMotion Members (r:1 w:0)
/// Proof Skipped: AllianceMotion Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Prime (r:1 w:0)
/// Proof Skipped: AllianceMotion Prime (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion ProposalOf (r:1 w:1)
/// Proof Skipped: AllianceMotion ProposalOf (max_values: None, max_size: None, mode: Measured)
/// Storage: AllianceMotion Proposals (r:1 w:1)
/// Proof Skipped: AllianceMotion 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]`.
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 45_339 nanoseconds.
Weight::from_ref_time(45_506_410)
// Standard Error: 294
.saturating_add(Weight::from_ref_time(3_875).saturating_mul(b.into()))
// Standard Error: 3_108
.saturating_add(Weight::from_ref_time(26_273).saturating_mul(m.into()))
// Standard Error: 3_030
.saturating_add(Weight::from_ref_time(288_963).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `812 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
// Estimated: `9715 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)`
// Minimum execution time: 37_242 nanoseconds.
Weight::from_ref_time(38_722_168)
.saturating_add(Weight::from_proof_size(9715))
// Standard Error: 89
.saturating_add(Weight::from_ref_time(1_419).saturating_mul(b.into()))
// Standard Error: 947
.saturating_add(Weight::from_ref_time(15_417).saturating_mul(m.into()))
// Standard Error: 923
.saturating_add(Weight::from_ref_time(103_094).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: AllianceMotion Proposals (r:1 w:1)
// Storage: AllianceMotion Voting (r:0 w:1)
// Storage: AllianceMotion ProposalOf (r:0 w:1)
/// Storage: AllianceMotion Proposals (r:1 w:1)
/// Proof Skipped: AllianceMotion Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: AllianceMotion Voting (r:0 w:1)
/// Proof Skipped: AllianceMotion Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: AllianceMotion ProposalOf (r:0 w:1)
/// Proof Skipped: AllianceMotion ProposalOf (max_values: None, max_size: None, mode: Measured)
/// The range of component `p` is `[1, 100]`.
fn disapprove_proposal(p: u32, ) -> Weight {
// Minimum execution time: 19_931 nanoseconds.
Weight::from_ref_time(22_362_404)
// Standard Error: 1_600
.saturating_add(Weight::from_ref_time(171_520).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `221 + p * (32 ±0)`
// Estimated: `1158 + p * (96 ±0)`
// Minimum execution time: 13_173 nanoseconds.
Weight::from_ref_time(14_787_145)
.saturating_add(Weight::from_proof_size(1158))
// Standard Error: 614
.saturating_add(Weight::from_ref_time(81_286).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()))
}
}
@@ -17,8 +17,9 @@
//! Autogenerated weights for `pallet_multisig`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -48,80 +49,113 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `z` is `[0, 10000]`.
fn as_multi_threshold_1(z: u32, ) -> Weight {
// Minimum execution time: 16_840 nanoseconds.
Weight::from_ref_time(17_872_341)
// Standard Error: 6
.saturating_add(Weight::from_ref_time(612).saturating_mul(z.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 11_628 nanoseconds.
Weight::from_ref_time(12_058_313)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 3
.saturating_add(Weight::from_ref_time(500).saturating_mul(z.into()))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_create(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 49_235 nanoseconds.
Weight::from_ref_time(35_099_801)
// Standard Error: 1_322
.saturating_add(Weight::from_ref_time(157_504).saturating_mul(s.into()))
// Standard Error: 12
.saturating_add(Weight::from_ref_time(1_877).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
// Proof Size summary in bytes:
// Measured: `311 + s * (2 ±0)`
// Estimated: `5821`
// Minimum execution time: 34_764 nanoseconds.
Weight::from_ref_time(27_813_109)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 630
.saturating_add(Weight::from_ref_time(73_821).saturating_mul(s.into()))
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_542).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
/// The range of component `s` is `[3, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 36_414 nanoseconds.
Weight::from_ref_time(24_873_925)
// Standard Error: 949
.saturating_add(Weight::from_ref_time(135_191).saturating_mul(s.into()))
// Standard Error: 9
.saturating_add(Weight::from_ref_time(1_863).saturating_mul(z.into()))
// Proof Size summary in bytes:
// Measured: `313`
// Estimated: `5821`
// Minimum execution time: 25_932 nanoseconds.
Weight::from_ref_time(19_364_026)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 490
.saturating_add(Weight::from_ref_time(69_834).saturating_mul(s.into()))
// Standard Error: 4
.saturating_add(Weight::from_ref_time(1_520).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 53_386 nanoseconds.
Weight::from_ref_time(36_974_236)
// Standard Error: 1_394
.saturating_add(Weight::from_ref_time(189_592).saturating_mul(s.into()))
// Standard Error: 13
.saturating_add(Weight::from_ref_time(1_950).saturating_mul(z.into()))
// Proof Size summary in bytes:
// Measured: `448 + s * (33 ±0)`
// Estimated: `8424`
// Minimum execution time: 39_495 nanoseconds.
Weight::from_ref_time(31_235_649)
.saturating_add(Weight::from_proof_size(8424))
// Standard Error: 570
.saturating_add(Weight::from_ref_time(88_719).saturating_mul(s.into()))
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_523).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_create(s: u32, ) -> Weight {
// Minimum execution time: 33_039 nanoseconds.
Weight::from_ref_time(34_703_637)
// Standard Error: 1_679
.saturating_add(Weight::from_ref_time(153_311).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_approve(s: u32, ) -> Weight {
// Minimum execution time: 22_712 nanoseconds.
Weight::from_ref_time(24_071_132)
// Standard Error: 1_711
.saturating_add(Weight::from_ref_time(140_819).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `318 + s * (2 ±0)`
// Estimated: `5821`
// Minimum execution time: 24_708 nanoseconds.
Weight::from_ref_time(26_673_173)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 863
.saturating_add(Weight::from_ref_time(81_459).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_approve(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `313`
// Estimated: `5821`
// Minimum execution time: 16_520 nanoseconds.
Weight::from_ref_time(18_123_705)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 661
.saturating_add(Weight::from_ref_time(74_405).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
/// The range of component `s` is `[2, 100]`.
fn cancel_as_multi(s: u32, ) -> Weight {
// Minimum execution time: 33_141 nanoseconds.
Weight::from_ref_time(34_308_456)
// Standard Error: 1_285
.saturating_add(Weight::from_ref_time(154_821).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `517 + s * (1 ±0)`
// Estimated: `5821`
// Minimum execution time: 25_476 nanoseconds.
Weight::from_ref_time(27_845_581)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 868
.saturating_add(Weight::from_ref_time(77_797).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -17,8 +17,9 @@
//! Autogenerated weights for `pallet_proxy`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,121 +47,176 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_proxy`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Storage: Proxy Proxies (r:1 w:0)
/// Storage: Proxy Proxies (r:1 w:0)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn proxy(p: u32, ) -> Weight {
// Minimum execution time: 20_320 nanoseconds.
Weight::from_ref_time(21_382_422)
// Standard Error: 2_074
.saturating_add(Weight::from_ref_time(43_265).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 14_443 nanoseconds.
Weight::from_ref_time(15_158_969)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_249
.saturating_add(Weight::from_ref_time(33_941).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
}
// Storage: Proxy Proxies (r:1 w:0)
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:0)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// Storage: Proxy Announcements (r:1 w:1)
/// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn proxy_announced(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 39_242 nanoseconds.
Weight::from_ref_time(40_180_408)
// Standard Error: 2_531
.saturating_add(Weight::from_ref_time(123_908).saturating_mul(a.into()))
// Standard Error: 2_615
.saturating_add(Weight::from_ref_time(50_917).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `550 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `11027`
// Minimum execution time: 32_060 nanoseconds.
Weight::from_ref_time(32_192_294)
.saturating_add(Weight::from_proof_size(11027))
// Standard Error: 1_900
.saturating_add(Weight::from_ref_time(109_332).saturating_mul(a.into()))
// Standard Error: 1_963
.saturating_add(Weight::from_ref_time(39_154).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Proxy Announcements (r:1 w:1)
/// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn remove_announcement(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 27_218 nanoseconds.
Weight::from_ref_time(28_431_295)
// Standard Error: 1_665
.saturating_add(Weight::from_ref_time(117_344).saturating_mul(a.into()))
// Standard Error: 1_720
.saturating_add(Weight::from_ref_time(17_062).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `433 + a * (68 ±0)`
// Estimated: `7311`
// Minimum execution time: 20_084 nanoseconds.
Weight::from_ref_time(21_187_531)
.saturating_add(Weight::from_proof_size(7311))
// Standard Error: 1_412
.saturating_add(Weight::from_ref_time(112_601).saturating_mul(a.into()))
// Standard Error: 1_458
.saturating_add(Weight::from_ref_time(6_862).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Proxy Announcements (r:1 w:1)
/// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn reject_announcement(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 27_225 nanoseconds.
Weight::from_ref_time(27_980_122)
// Standard Error: 1_727
.saturating_add(Weight::from_ref_time(118_676).saturating_mul(a.into()))
// Standard Error: 1_784
.saturating_add(Weight::from_ref_time(26_243).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `433 + a * (68 ±0)`
// Estimated: `7311`
// Minimum execution time: 20_658 nanoseconds.
Weight::from_ref_time(21_184_810)
.saturating_add(Weight::from_proof_size(7311))
// Standard Error: 1_259
.saturating_add(Weight::from_ref_time(112_012).saturating_mul(a.into()))
// Standard Error: 1_301
.saturating_add(Weight::from_ref_time(10_767).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Proxies (r:1 w:0)
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:0)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// Storage: Proxy Announcements (r:1 w:1)
/// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn announce(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 36_531 nanoseconds.
Weight::from_ref_time(37_133_468)
// Standard Error: 1_915
.saturating_add(Weight::from_ref_time(115_190).saturating_mul(a.into()))
// Standard Error: 1_979
.saturating_add(Weight::from_ref_time(52_216).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `482 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `11027`
// Minimum execution time: 28_670 nanoseconds.
Weight::from_ref_time(29_411_875)
.saturating_add(Weight::from_proof_size(11027))
// Standard Error: 1_864
.saturating_add(Weight::from_ref_time(94_146).saturating_mul(a.into()))
// Standard Error: 1_926
.saturating_add(Weight::from_ref_time(36_523).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn add_proxy(p: u32, ) -> Weight {
// Minimum execution time: 29_880 nanoseconds.
Weight::from_ref_time(30_971_686)
// Standard Error: 1_951
.saturating_add(Weight::from_ref_time(59_512).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 21_273 nanoseconds.
Weight::from_ref_time(22_137_672)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_345
.saturating_add(Weight::from_ref_time(44_075).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn remove_proxy(p: u32, ) -> Weight {
// Minimum execution time: 29_304 nanoseconds.
Weight::from_ref_time(30_836_356)
// Standard Error: 2_408
.saturating_add(Weight::from_ref_time(74_531).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 20_888 nanoseconds.
Weight::from_ref_time(22_120_940)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_516
.saturating_add(Weight::from_ref_time(55_407).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn remove_proxies(p: u32, ) -> Weight {
// Minimum execution time: 25_023 nanoseconds.
Weight::from_ref_time(26_352_051)
// Standard Error: 1_532
.saturating_add(Weight::from_ref_time(37_737).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 17_007 nanoseconds.
Weight::from_ref_time(17_746_585)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_201
.saturating_add(Weight::from_ref_time(22_307).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn create_pure(p: u32, ) -> Weight {
// Minimum execution time: 31_808 nanoseconds.
Weight::from_ref_time(33_127_282)
// Standard Error: 2_151
.saturating_add(Weight::from_ref_time(25_760).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
// Proof Size summary in bytes:
// Measured: `139`
// Estimated: `3716`
// Minimum execution time: 22_625 nanoseconds.
Weight::from_ref_time(23_598_172)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_668
.saturating_add(Weight::from_ref_time(113).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[0, 30]`.
fn kill_pure(p: u32, ) -> Weight {
// Minimum execution time: 26_149 nanoseconds.
Weight::from_ref_time(27_463_462)
// Standard Error: 1_610
.saturating_add(Weight::from_ref_time(40_692).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `196 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 17_969 nanoseconds.
Weight::from_ref_time(18_830_934)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_340
.saturating_add(Weight::from_ref_time(23_749).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -17,8 +17,9 @@
//! Autogenerated weights for `pallet_session`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,19 +47,31 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_session`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
// Storage: Session NextKeys (r:1 w:1)
// Storage: Session KeyOwner (r:1 w:1)
/// Storage: Session NextKeys (r:1 w:1)
/// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
/// Storage: Session KeyOwner (r:1 w:1)
/// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured)
fn set_keys() -> Weight {
// Minimum execution time: 21_519 nanoseconds.
Weight::from_ref_time(22_385_000)
// Proof Size summary in bytes:
// Measured: `270`
// Estimated: `5490`
// Minimum execution time: 15_653 nanoseconds.
Weight::from_ref_time(16_004_000)
.saturating_add(Weight::from_proof_size(5490))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Session NextKeys (r:1 w:1)
// Storage: Session KeyOwner (r:0 w:1)
/// Storage: Session NextKeys (r:1 w:1)
/// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
/// Storage: Session KeyOwner (r:0 w:1)
/// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured)
fn purge_keys() -> Weight {
// Minimum execution time: 17_539 nanoseconds.
Weight::from_ref_time(18_292_000)
// Proof Size summary in bytes:
// Measured: `242`
// Estimated: `2959`
// Minimum execution time: 11_729 nanoseconds.
Weight::from_ref_time(12_081_000)
.saturating_add(Weight::from_proof_size(2959))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -17,8 +17,9 @@
//! Autogenerated weights for `pallet_timestamp`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,16 +47,26 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_timestamp`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
// Storage: Timestamp Now (r:1 w:1)
// Storage: Aura CurrentSlot (r:1 w:0)
/// Storage: Timestamp Now (r:1 w:1)
/// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: Aura CurrentSlot (r:1 w:0)
/// Proof: Aura CurrentSlot (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
fn set() -> Weight {
// Minimum execution time: 9_196 nanoseconds.
Weight::from_ref_time(9_641_000)
// Proof Size summary in bytes:
// Measured: `49`
// Estimated: `1006`
// Minimum execution time: 6_995 nanoseconds.
Weight::from_ref_time(7_169_000)
.saturating_add(Weight::from_proof_size(1006))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
fn on_finalize() -> Weight {
// Minimum execution time: 3_907 nanoseconds.
Weight::from_ref_time(4_143_000)
// Proof Size summary in bytes:
// Measured: `57`
// Estimated: `0`
// Minimum execution time: 3_166 nanoseconds.
Weight::from_ref_time(3_331_000)
.saturating_add(Weight::from_proof_size(0))
}
}
@@ -17,8 +17,9 @@
//! Autogenerated weights for `pallet_utility`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
// Executed Command:
@@ -48,31 +49,51 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
/// The range of component `c` is `[0, 1000]`.
fn batch(c: u32, ) -> Weight {
// Minimum execution time: 12_693 nanoseconds.
Weight::from_ref_time(16_857_716)
// Standard Error: 1_960
.saturating_add(Weight::from_ref_time(4_305_835).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_987 nanoseconds.
Weight::from_ref_time(19_221_047)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 2_233
.saturating_add(Weight::from_ref_time(3_808_598).saturating_mul(c.into()))
}
fn as_derivative() -> Weight {
// Minimum execution time: 6_309 nanoseconds.
Weight::from_ref_time(6_560_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 4_203 nanoseconds.
Weight::from_ref_time(4_337_000)
.saturating_add(Weight::from_proof_size(0))
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
// Minimum execution time: 12_890 nanoseconds.
Weight::from_ref_time(19_743_708)
// Standard Error: 2_659
.saturating_add(Weight::from_ref_time(4_530_531).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_986 nanoseconds.
Weight::from_ref_time(14_991_349)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 2_440
.saturating_add(Weight::from_ref_time(4_032_363).saturating_mul(c.into()))
}
fn dispatch_as() -> Weight {
// Minimum execution time: 14_949 nanoseconds.
Weight::from_ref_time(15_398_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_768 nanoseconds.
Weight::from_ref_time(7_998_000)
.saturating_add(Weight::from_proof_size(0))
}
/// The range of component `c` is `[0, 1000]`.
fn force_batch(c: u32, ) -> Weight {
// Minimum execution time: 12_979 nanoseconds.
Weight::from_ref_time(16_643_839)
// Standard Error: 2_263
.saturating_add(Weight::from_ref_time(4_321_042).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_906 nanoseconds.
Weight::from_ref_time(16_782_253)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 2_131
.saturating_add(Weight::from_ref_time(3_780_339).saturating_mul(c.into()))
}
}
@@ -17,25 +17,25 @@
//! Autogenerated weights for `pallet_xcm`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-22, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
// Executed Command:
// /home/benchbot/cargo_target_dir/production/polkadot-parachain
// ./artifacts/polkadot-parachain
// benchmark
// pallet
// --steps=50
// --repeat=20
// --extrinsic=*
// --chain=collectives-polkadot-dev
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/cumulus/.git/.artifacts/bench.json
// --pallet=pallet_xcm
// --chain=collectives-polkadot-dev
// --extrinsic=*
// --steps=50
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_xcm.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -47,126 +47,228 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_xcm`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
fn send() -> Weight {
// Minimum execution time: 27_016 nanoseconds.
Weight::from_ref_time(27_587_000)
// Proof Size summary in bytes:
// Measured: `38`
// Estimated: `4645`
// Minimum execution time: 23_618 nanoseconds.
Weight::from_ref_time(24_118_000)
.saturating_add(Weight::from_proof_size(4645))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: ParachainInfo ParachainId (r:1 w:0)
/// Storage: ParachainInfo ParachainId (r:1 w:0)
/// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn teleport_assets() -> Weight {
// Minimum execution time: 33_807 nanoseconds.
Weight::from_ref_time(34_960_000)
// Proof Size summary in bytes:
// Measured: `32`
// Estimated: `499`
// Minimum execution time: 23_764 nanoseconds.
Weight::from_ref_time(24_114_000)
.saturating_add(Weight::from_proof_size(499))
.saturating_add(T::DbWeight::get().reads(1))
}
// Storage: Benchmark Override (r:0 w:0)
/// Storage: Benchmark Override (r:0 w:0)
/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
fn reserve_transfer_assets() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 18_446_744_073_709_551 nanoseconds.
Weight::from_ref_time(18_446_744_073_709_551_000)
.saturating_add(Weight::from_proof_size(0))
}
// Storage: Benchmark Override (r:0 w:0)
/// Storage: Benchmark Override (r:0 w:0)
/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
fn execute() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 18_446_744_073_709_551 nanoseconds.
Weight::from_ref_time(18_446_744_073_709_551_000)
.saturating_add(Weight::from_proof_size(0))
}
// Storage: PolkadotXcm SupportedVersion (r:0 w:1)
/// Storage: PolkadotXcm SupportedVersion (r:0 w:1)
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
fn force_xcm_version() -> Weight {
// Minimum execution time: 15_322 nanoseconds.
Weight::from_ref_time(15_782_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_266 nanoseconds.
Weight::from_ref_time(8_578_000)
.saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1)
/// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1)
/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
fn force_default_xcm_version() -> Weight {
// Minimum execution time: 4_390 nanoseconds.
Weight::from_ref_time(4_564_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_289 nanoseconds.
Weight::from_ref_time(2_382_000)
.saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)
// Storage: PolkadotXcm QueryCounter (r:1 w:1)
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
// Storage: PolkadotXcm Queries (r:0 w:1)
/// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)
/// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured)
/// Storage: PolkadotXcm QueryCounter (r:1 w:1)
/// Proof Skipped: PolkadotXcm QueryCounter (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PolkadotXcm Queries (r:0 w:1)
/// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
fn force_subscribe_version_notify() -> Weight {
// Minimum execution time: 31_238 nanoseconds.
Weight::from_ref_time(32_021_000)
// Proof Size summary in bytes:
// Measured: `38`
// Estimated: `7729`
// Minimum execution time: 28_592 nanoseconds.
Weight::from_ref_time(29_116_000)
.saturating_add(Weight::from_proof_size(7729))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
// Storage: PolkadotXcm Queries (r:0 w:1)
/// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)
/// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured)
/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PolkadotXcm Queries (r:0 w:1)
/// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
fn force_unsubscribe_version_notify() -> Weight {
// Minimum execution time: 32_459 nanoseconds.
Weight::from_ref_time(32_802_000)
// Proof Size summary in bytes:
// Measured: `220`
// Estimated: `8470`
// Minimum execution time: 30_604 nanoseconds.
Weight::from_ref_time(31_361_000)
.saturating_add(Weight::from_proof_size(8470))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: PolkadotXcm SupportedVersion (r:4 w:2)
/// Storage: PolkadotXcm SupportedVersion (r:4 w:2)
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
fn migrate_supported_version() -> Weight {
// Minimum execution time: 13_433 nanoseconds.
Weight::from_ref_time(13_890_000)
// Proof Size summary in bytes:
// Measured: `95`
// Estimated: `9995`
// Minimum execution time: 13_750 nanoseconds.
Weight::from_ref_time(14_051_000)
.saturating_add(Weight::from_proof_size(9995))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: PolkadotXcm VersionNotifiers (r:4 w:2)
/// Storage: PolkadotXcm VersionNotifiers (r:4 w:2)
/// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured)
fn migrate_version_notifiers() -> Weight {
// Minimum execution time: 13_798 nanoseconds.
Weight::from_ref_time(14_104_000)
// Proof Size summary in bytes:
// Measured: `99`
// Estimated: `9999`
// Minimum execution time: 13_897 nanoseconds.
Weight::from_ref_time(14_080_000)
.saturating_add(Weight::from_proof_size(9999))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: PolkadotXcm VersionNotifyTargets (r:5 w:0)
/// Storage: PolkadotXcm VersionNotifyTargets (r:5 w:0)
/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
fn already_notified_target() -> Weight {
// Minimum execution time: 15_012 nanoseconds.
Weight::from_ref_time(15_360_000)
// Proof Size summary in bytes:
// Measured: `106`
// Estimated: `12481`
// Minimum execution time: 16_364 nanoseconds.
Weight::from_ref_time(16_867_000)
.saturating_add(Weight::from_proof_size(12481))
.saturating_add(T::DbWeight::get().reads(5))
}
// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1)
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
/// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1)
/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
fn notify_current_targets() -> Weight {
// Minimum execution time: 26_911 nanoseconds.
Weight::from_ref_time(27_686_000)
// Proof Size summary in bytes:
// Measured: `106`
// Estimated: `10041`
// Minimum execution time: 27_372 nanoseconds.
Weight::from_ref_time(28_128_000)
.saturating_add(Weight::from_proof_size(10041))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: PolkadotXcm VersionNotifyTargets (r:3 w:0)
/// Storage: PolkadotXcm VersionNotifyTargets (r:3 w:0)
/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
fn notify_target_migration_fail() -> Weight {
// Minimum execution time: 7_067 nanoseconds.
Weight::from_ref_time(7_207_000)
// Proof Size summary in bytes:
// Measured: `136`
// Estimated: `7561`
// Minimum execution time: 7_804 nanoseconds.
Weight::from_ref_time(8_096_000)
.saturating_add(Weight::from_proof_size(7561))
.saturating_add(T::DbWeight::get().reads(3))
}
// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)
/// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)
/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
fn migrate_version_notify_targets() -> Weight {
// Minimum execution time: 13_882 nanoseconds.
Weight::from_ref_time(14_067_000)
// Proof Size summary in bytes:
// Measured: `106`
// Estimated: `10006`
// Minimum execution time: 14_948 nanoseconds.
Weight::from_ref_time(15_422_000)
.saturating_add(Weight::from_proof_size(10006))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
/// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)
/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
fn migrate_and_notify_old_targets() -> Weight {
// Minimum execution time: 32_227 nanoseconds.
Weight::from_ref_time(33_068_000)
// Proof Size summary in bytes:
// Measured: `112`
// Estimated: `15027`
// Minimum execution time: 33_791 nanoseconds.
Weight::from_ref_time(34_282_000)
.saturating_add(Weight::from_proof_size(15027))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(4))
}