diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs index 32b82031842..1fe95a2c9c7 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs @@ -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-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner-osnnfcqu-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -46,17 +47,25 @@ use sp_std::marker::PhantomData; /// Weight functions for `cumulus_pallet_xcmp_queue`. pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { - // 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_617 nanoseconds. + Weight::from_parts(4_888_000, 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: 4_527 nanoseconds. + Weight::from_parts(4_881_000, 571) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/frame_system.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/frame_system.rs index dba8adc7265..944ff5a2096 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/frame_system.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/frame_system.rs @@ -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-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner-osnnfcqu-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -48,51 +49,75 @@ pub struct WeightInfo(PhantomData); impl frame_system::WeightInfo for WeightInfo { /// 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_299 nanoseconds. + Weight::from_ref_time(1_345_000) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(476).saturating_mul(b.into())) + .saturating_add(Weight::from_ref_time(538).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_397 nanoseconds. + Weight::from_ref_time(17_508_692) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(2_089).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: 2_965 nanoseconds. + Weight::from_parts(3_207_000, 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_398 nanoseconds. + Weight::from_ref_time(1_447_000) + // Standard Error: 1_897 + .saturating_add(Weight::from_ref_time(628_612).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_462 nanoseconds. + Weight::from_ref_time(1_544_000) + // Standard Error: 877 + .saturating_add(Weight::from_ref_time(504_031).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_048 nanoseconds. + Weight::from_parts(3_171_000, 69) + // Standard Error: 1_286 + .saturating_add(Weight::from_ref_time(1_121_726).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())) } } diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_alliance.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_alliance.rs index b6b8dd0abb3..c57500c72a2 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_alliance.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_alliance.rs @@ -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-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner-osnnfcqu-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -46,273 +47,427 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_alliance`. pub struct WeightInfo(PhantomData); impl pallet_alliance::WeightInfo for WeightInfo { - // 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: 30_562 nanoseconds. + Weight::from_parts(32_315_372, 10983) + // Standard Error: 104 + .saturating_add(Weight::from_ref_time(1_188).saturating_mul(b.into())) + // Standard Error: 1_090 + .saturating_add(Weight::from_ref_time(25_025).saturating_mul(m.into())) + // Standard Error: 1_076 + .saturating_add(Weight::from_ref_time(113_758).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: 27_362 nanoseconds. + Weight::from_parts(28_587_830, 9092) + // Standard Error: 892 + .saturating_add(Weight::from_ref_time(50_450).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: 35_989 nanoseconds. + Weight::from_parts(35_035_100, 11067) + // Standard Error: 1_190 + .saturating_add(Weight::from_ref_time(47_736).saturating_mul(m.into())) + // Standard Error: 1_160 + .saturating_add(Weight::from_ref_time(106_257).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: 48_816 nanoseconds. + Weight::from_parts(50_545_938, 15422) + // Standard Error: 2_401 + .saturating_add(Weight::from_ref_time(53_387).saturating_mul(m.into())) + // Standard Error: 2_341 + .saturating_add(Weight::from_ref_time(116_192).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: 45_451 nanoseconds. + Weight::from_parts(48_886_779, 14232) + // Standard Error: 4_322 + .saturating_add(Weight::from_ref_time(115_821).saturating_mul(m.into())) + // Standard Error: 4_270 + .saturating_add(Weight::from_ref_time(133_178).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())) + // Proof Size summary in bytes: + // Measured: `545 + m * (96 ±0) + p * (36 ±0)` + // Estimated: `12436 + m * (480 ±0) + p * (180 ±0)` + // Minimum execution time: 37_207 nanoseconds. + Weight::from_parts(36_710_314, 12436) + // Standard Error: 102 + .saturating_add(Weight::from_ref_time(229).saturating_mul(b.into())) + // Standard Error: 1_092 + .saturating_add(Weight::from_ref_time(49_081).saturating_mul(m.into())) + // Standard Error: 1_052 + .saturating_add(Weight::from_ref_time(102_461).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: 30_152 nanoseconds. + Weight::from_parts(17_543_145, 11879) + // Standard Error: 1_139 + .saturating_add(Weight::from_ref_time(158_230).saturating_mul(m.into())) + // Standard Error: 1_126 + .saturating_add(Weight::from_ref_time(139_828).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: 254_625 nanoseconds. + Weight::from_parts(256_792_000, 31580) + // Standard Error: 20_915 + .saturating_add(Weight::from_ref_time(520_637).saturating_mul(x.into())) + // Standard Error: 20_814 + .saturating_add(Weight::from_ref_time(511_939).saturating_mul(y.into())) + // Standard Error: 41_591 + .saturating_add(Weight::from_ref_time(11_025_362).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: 7_825 nanoseconds. + Weight::from_ref_time(8_304_000) .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_323 nanoseconds. + Weight::from_parts(10_612_000, 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_518 nanoseconds. + Weight::from_parts(11_999_000, 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_626 nanoseconds. + Weight::from_parts(40_290_000, 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_004 nanoseconds. + Weight::from_parts(28_222_000, 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: 22_744 nanoseconds. + Weight::from_parts(23_478_000, 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: 30_458 nanoseconds. + Weight::from_parts(31_450_000, 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: 32_460 nanoseconds. + Weight::from_parts(33_426_000, 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: 121_415 nanoseconds. + Weight::from_parts(127_377_000, 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_451 nanoseconds. + Weight::from_parts(6_639_000, 29894) + // Standard Error: 3_552 + .saturating_add(Weight::from_ref_time(1_343_886).saturating_mul(n.into())) + // Standard Error: 1_391 + .saturating_add(Weight::from_ref_time(71_074).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_448 nanoseconds. + Weight::from_parts(6_600_000, 29894) + // Standard Error: 209_260 + .saturating_add(Weight::from_ref_time(14_956_197).saturating_mul(n.into())) + // Standard Error: 81_955 + .saturating_add(Weight::from_ref_time(733_475).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_597 nanoseconds. + Weight::from_parts(30_611_000, 18447) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_balances.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_balances.rs index 3e843b9731c..2c28fcdd6cd 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_balances.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_balances.rs @@ -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-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner-osnnfcqu-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -46,52 +47,80 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_balances`. pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { - // 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: 46_452 nanoseconds. + Weight::from_parts(48_883_000, 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: 34_677 nanoseconds. + Weight::from_parts(35_570_000, 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: 25_355 nanoseconds. + Weight::from_parts(25_953_000, 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_368 nanoseconds. + Weight::from_parts(29_629_000, 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: 46_481 nanoseconds. + Weight::from_parts(47_442_000, 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_331 nanoseconds. + Weight::from_parts(41_703_000, 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: 21_604 nanoseconds. + Weight::from_parts(22_638_000, 2603) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_collator_selection.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_collator_selection.rs index 2fb877a9c8c..0c230c0bb78 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_collator_selection.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_collator_selection.rs @@ -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-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner-osnnfcqu-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -46,79 +47,124 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_collator_selection`. pub struct WeightInfo(PhantomData); impl pallet_collator_selection::WeightInfo for WeightInfo { - // 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_445 nanoseconds. + Weight::from_parts(11_080_095, 178) + // Standard Error: 4_009 + .saturating_add(Weight::from_ref_time(2_937_000).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_190 nanoseconds. + Weight::from_ref_time(6_543_000) .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_347 nanoseconds. + Weight::from_ref_time(6_677_000) .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_753 nanoseconds. + Weight::from_parts(37_186_550, 56784) + // Standard Error: 1_263 + .saturating_add(Weight::from_ref_time(110_649).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: 26_762 nanoseconds. + Weight::from_parts(23_905_970, 48497) + // Standard Error: 1_315 + .saturating_add(Weight::from_ref_time(108_585).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: 26_949 nanoseconds. + Weight::from_parts(27_697_000, 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: 15_799 nanoseconds. + Weight::from_parts(16_173_000, 52737) + // Standard Error: 815_220 + .saturating_add(Weight::from_ref_time(30_097_218).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())) } } diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_collective.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_collective.rs index 79fd639148a..b8817b637c3 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_collective.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_collective.rs @@ -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-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner-osnnfcqu-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -46,163 +47,246 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - // 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: 14_753 nanoseconds. + Weight::from_parts(15_032_000, 15906) + // Standard Error: 51_481 + .saturating_add(Weight::from_ref_time(3_935_898).saturating_mul(m.into())) + // Standard Error: 51_481 + .saturating_add(Weight::from_ref_time(7_159_662).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: 13_236 nanoseconds. + Weight::from_parts(12_805_856, 560) + // Standard Error: 39 + .saturating_add(Weight::from_ref_time(1_825).saturating_mul(b.into())) + // Standard Error: 407 + .saturating_add(Weight::from_ref_time(11_657).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: 15_871 nanoseconds. + Weight::from_parts(14_634_817, 3100) + // Standard Error: 33 + .saturating_add(Weight::from_ref_time(1_854).saturating_mul(b.into())) + // Standard Error: 349 + .saturating_add(Weight::from_ref_time(20_905).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: 22_106 nanoseconds. + Weight::from_parts(22_264_042, 5505) + // Standard Error: 111 + .saturating_add(Weight::from_ref_time(3_854).saturating_mul(b.into())) + // Standard Error: 1_163 + .saturating_add(Weight::from_ref_time(21_305).saturating_mul(m.into())) + // Standard Error: 1_148 + .saturating_add(Weight::from_ref_time(158_684).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: 24_173 nanoseconds. + Weight::from_parts(25_582_838, 4640) + // Standard Error: 821 + .saturating_add(Weight::from_ref_time(47_853).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_990 nanoseconds. + Weight::from_parts(25_188_566, 5213) + // Standard Error: 997 + .saturating_add(Weight::from_ref_time(30_490).saturating_mul(m.into())) + // Standard Error: 972 + .saturating_add(Weight::from_ref_time(146_696).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: 35_220 nanoseconds. + Weight::from_parts(35_491_995, 8484) + // Standard Error: 129 + .saturating_add(Weight::from_ref_time(2_564).saturating_mul(b.into())) + // Standard Error: 1_371 + .saturating_add(Weight::from_ref_time(24_696).saturating_mul(m.into())) + // Standard Error: 1_336 + .saturating_add(Weight::from_ref_time(173_636).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: 26_375 nanoseconds. + Weight::from_parts(26_572_604, 6605) + // Standard Error: 1_019 + .saturating_add(Weight::from_ref_time(30_924).saturating_mul(m.into())) + // Standard Error: 993 + .saturating_add(Weight::from_ref_time(155_833).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_568 nanoseconds. + Weight::from_parts(38_886_116, 9715) + // Standard Error: 156 + .saturating_add(Weight::from_ref_time(2_547).saturating_mul(b.into())) + // Standard Error: 1_649 + .saturating_add(Weight::from_ref_time(19_744).saturating_mul(m.into())) + // Standard Error: 1_607 + .saturating_add(Weight::from_ref_time(175_329).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: 12_446 nanoseconds. + Weight::from_parts(14_343_503, 1158) + // Standard Error: 1_052 + .saturating_add(Weight::from_ref_time(129_817).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())) } } diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_multisig.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_multisig.rs index 6763950f543..199e4627712 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_multisig.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_multisig.rs @@ -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-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner-osnnfcqu-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -48,80 +49,106 @@ pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { /// 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: 13_070 nanoseconds. + Weight::from_ref_time(13_882_145) + // Standard Error: 7 + .saturating_add(Weight::from_ref_time(673).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: 39_159 nanoseconds. + Weight::from_parts(27_075_300, 5821) + // Standard Error: 1_455 + .saturating_add(Weight::from_ref_time(135_439).saturating_mul(s.into())) + // Standard Error: 14 + .saturating_add(Weight::from_ref_time(1_963).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: 28_826 nanoseconds. + Weight::from_parts(18_450_550, 5821) + // Standard Error: 855 + .saturating_add(Weight::from_ref_time(112_350).saturating_mul(s.into())) + // Standard Error: 8 + .saturating_add(Weight::from_ref_time(1_897).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: 44_310 nanoseconds. + Weight::from_parts(30_092_268, 8424) + // Standard Error: 1_231 + .saturating_add(Weight::from_ref_time(156_516).saturating_mul(s.into())) + // Standard Error: 12 + .saturating_add(Weight::from_ref_time(1_992).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)) + // Proof Size summary in bytes: + // Measured: `318 + s * (2 ±0)` + // Estimated: `5821` + // Minimum execution time: 25_197 nanoseconds. + Weight::from_parts(26_398_397, 5821) + // Standard Error: 1_085 + .saturating_add(Weight::from_ref_time(126_639).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 { - // 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: `313` + // Estimated: `5821` + // Minimum execution time: 16_425 nanoseconds. + Weight::from_parts(17_003_077, 5821) + // Standard Error: 897 + .saturating_add(Weight::from_ref_time(114_870).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 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_910 nanoseconds. + Weight::from_parts(27_521_176, 5821) + // Standard Error: 1_144 + .saturating_add(Weight::from_ref_time(120_587).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_proxy.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_proxy.rs index 0c1d07ce470..820810bdccb 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_proxy.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_proxy.rs @@ -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-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner-osnnfcqu-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -46,121 +47,164 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_proxy`. pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { - // 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_142 nanoseconds. + Weight::from_parts(14_934_271, 3716) + // Standard Error: 1_490 + .saturating_add(Weight::from_ref_time(34_148).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_055 nanoseconds. + Weight::from_parts(32_396_145, 11027) + // Standard Error: 2_355 + .saturating_add(Weight::from_ref_time(121_244).saturating_mul(a.into())) + // Standard Error: 2_434 + .saturating_add(Weight::from_ref_time(47_733).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_238 nanoseconds. + Weight::from_parts(21_167_114, 7311) + // Standard Error: 1_613 + .saturating_add(Weight::from_ref_time(116_343).saturating_mul(a.into())) + // Standard Error: 1_667 + .saturating_add(Weight::from_ref_time(23_628).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_144 nanoseconds. + Weight::from_parts(21_298_917, 7311) + // Standard Error: 1_473 + .saturating_add(Weight::from_ref_time(110_369).saturating_mul(a.into())) + // Standard Error: 1_522 + .saturating_add(Weight::from_ref_time(14_649).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_132 nanoseconds. + Weight::from_parts(29_492_378, 11027) + // Standard Error: 2_083 + .saturating_add(Weight::from_ref_time(113_128).saturating_mul(a.into())) + // Standard Error: 2_152 + .saturating_add(Weight::from_ref_time(44_026).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_284 nanoseconds. + Weight::from_parts(22_195_610, 3716) + // Standard Error: 1_614 + .saturating_add(Weight::from_ref_time(61_545).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: 21_063 nanoseconds. + Weight::from_parts(22_132_752, 3716) + // Standard Error: 2_133 + .saturating_add(Weight::from_ref_time(63_420).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_017 nanoseconds. + Weight::from_parts(17_821_152, 3716) + // Standard Error: 1_171 + .saturating_add(Weight::from_ref_time(23_468).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)) + fn create_pure(_p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `139` + // Estimated: `3716` + // Minimum execution time: 22_517 nanoseconds. + Weight::from_parts(23_994_195, 3716) + .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: 18_011 nanoseconds. + Weight::from_parts(18_807_592, 3716) + // Standard Error: 1_557 + .saturating_add(Weight::from_ref_time(31_160).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_session.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_session.rs index 0969c3c257d..23548de838c 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_session.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_session.rs @@ -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-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner-osnnfcqu-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -46,19 +47,29 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_session`. pub struct WeightInfo(PhantomData); impl pallet_session::WeightInfo for WeightInfo { - // 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_259 nanoseconds. + Weight::from_parts(16_024_000, 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_187 nanoseconds. + Weight::from_parts(11_617_000, 2959) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_timestamp.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_timestamp.rs index c01031bab60..4c108ce0d12 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_timestamp.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_timestamp.rs @@ -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-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner-osnnfcqu-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -46,16 +47,24 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_timestamp`. pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { - // 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: 7_006 nanoseconds. + Weight::from_parts(7_322_000, 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_305 nanoseconds. + Weight::from_ref_time(3_482_000) } } diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_utility.rs b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_utility.rs index 1123008a901..3a1b44b5073 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_utility.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_utility.rs @@ -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-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner-osnnfcqu-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -48,31 +49,46 @@ pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { /// 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_779 nanoseconds. + Weight::from_ref_time(8_875_713) + // Standard Error: 1_524 + .saturating_add(Weight::from_ref_time(4_341_164).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: 3_962 nanoseconds. + Weight::from_ref_time(4_134_000) } /// 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_748 nanoseconds. + Weight::from_ref_time(9_452_783) + // Standard Error: 1_821 + .saturating_add(Weight::from_ref_time(4_586_259).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_520 nanoseconds. + Weight::from_ref_time(7_862_000) } /// 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(9_211_770) + // Standard Error: 1_795 + .saturating_add(Weight::from_ref_time(4_359_976).saturating_mul(c.into())) } }