diff --git a/runtimes/peregrine/src/weights/attestation.rs b/runtimes/peregrine/src/weights/attestation.rs index 681c8463a3..93ef072fa6 100644 --- a/runtimes/peregrine/src/weights/attestation.rs +++ b/runtimes/peregrine/src/weights/attestation.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `attestation` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev // --pallet=attestation // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/attestation.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -56,16 +53,16 @@ impl attestation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn add() -> Weight { // Proof Size summary in bytes: - // Measured: `260` - // Estimated: `3660` - // Minimum execution time: 52_335_000 picoseconds. - Weight::from_parts(53_274_000, 0) - .saturating_add(Weight::from_parts(0, 3660)) + // Measured: `296` + // Estimated: `3784` + // Minimum execution time: 53_374_000 picoseconds. + Weight::from_parts(54_584_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -73,10 +70,10 @@ impl attestation::WeightInfo for WeightInfo { /// Proof: `Attestation::Attestations` (`max_values`: None, `max_size`: Some(195), added: 2670, mode: `MaxEncodedLen`) fn revoke() -> Weight { // Proof Size summary in bytes: - // Measured: `196` + // Measured: `233` // Estimated: `3660` - // Minimum execution time: 14_393_000 picoseconds. - Weight::from_parts(14_731_000, 0) + // Minimum execution time: 15_313_000 picoseconds. + Weight::from_parts(15_725_000, 0) .saturating_add(Weight::from_parts(0, 3660)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -88,14 +85,14 @@ impl attestation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove() -> Weight { // Proof Size summary in bytes: - // Measured: `437` - // Estimated: `3660` - // Minimum execution time: 47_894_000 picoseconds. - Weight::from_parts(48_491_000, 0) - .saturating_add(Weight::from_parts(0, 3660)) + // Measured: `474` + // Estimated: `3784` + // Minimum execution time: 50_148_000 picoseconds. + Weight::from_parts(50_647_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -106,14 +103,14 @@ impl attestation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn reclaim_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `437` - // Estimated: `3660` - // Minimum execution time: 48_351_000 picoseconds. - Weight::from_parts(48_828_000, 0) - .saturating_add(Weight::from_parts(0, 3660)) + // Measured: `474` + // Estimated: `3784` + // Minimum execution time: 50_415_000 picoseconds. + Weight::from_parts(50_796_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -124,14 +121,14 @@ impl attestation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: - // Measured: `581` - // Estimated: `6326` - // Minimum execution time: 77_624_000 picoseconds. - Weight::from_parts(78_569_000, 0) - .saturating_add(Weight::from_parts(0, 6326)) + // Measured: `618` + // Estimated: `6578` + // Minimum execution time: 83_269_000 picoseconds. + Weight::from_parts(84_088_000, 0) + .saturating_add(Weight::from_parts(0, 6578)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -142,14 +139,14 @@ impl attestation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `437` - // Estimated: `3660` - // Minimum execution time: 71_073_000 picoseconds. - Weight::from_parts(71_519_000, 0) - .saturating_add(Weight::from_parts(0, 3660)) + // Measured: `474` + // Estimated: `3784` + // Minimum execution time: 73_306_000 picoseconds. + Weight::from_parts(73_956_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -166,7 +163,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3660 + > 3784 ); } #[test] @@ -190,7 +187,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3660 + > 3784 ); } #[test] @@ -202,7 +199,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3660 + > 3784 ); } #[test] @@ -214,7 +211,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6326 + > 6578 ); } #[test] @@ -226,7 +223,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3660 + > 3784 ); } } diff --git a/runtimes/peregrine/src/weights/ctype.rs b/runtimes/peregrine/src/weights/ctype.rs index eee80dafc0..cda87a0e13 100644 --- a/runtimes/peregrine/src/weights/ctype.rs +++ b/runtimes/peregrine/src/weights/ctype.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `ctype` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev // --pallet=ctype // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/ctype.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -58,11 +55,11 @@ impl ctype::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `254` // Estimated: `6204` - // Minimum execution time: 43_876_000 picoseconds. - Weight::from_parts(44_318_000, 0) + // Minimum execution time: 43_699_000 picoseconds. + Weight::from_parts(44_603_000, 0) .saturating_add(Weight::from_parts(0, 6204)) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_566, 0).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(1_568, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -72,8 +69,8 @@ impl ctype::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `158` // Estimated: `3553` - // Minimum execution time: 15_009_000 picoseconds. - Weight::from_parts(15_716_000, 0) + // Minimum execution time: 15_716_000 picoseconds. + Weight::from_parts(16_082_000, 0) .saturating_add(Weight::from_parts(0, 3553)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtimes/peregrine/src/weights/cumulus_pallet_parachain_system.rs b/runtimes/peregrine/src/weights/cumulus_pallet_parachain_system.rs index 3c49a82407..766bb49b59 100644 --- a/runtimes/peregrine/src/weights/cumulus_pallet_parachain_system.rs +++ b/runtimes/peregrine/src/weights/cumulus_pallet_parachain_system.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `cumulus_pallet_parachain_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev -// --pallet=cumulus_pallet_parachain_system +// --pallet=cumulus-pallet-parachain-system // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/cumulus_pallet_parachain_system.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -62,13 +59,13 @@ impl cumulus_pallet_parachain_system::WeightInfo for We /// The range of component `n` is `[0, 1000]`. fn enqueue_inbound_downward_messages(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `115` + // Measured: `151` // Estimated: `3517` - // Minimum execution time: 1_841_000 picoseconds. - Weight::from_parts(1_928_000, 0) + // Minimum execution time: 3_093_000 picoseconds. + Weight::from_parts(3_232_000, 0) .saturating_add(Weight::from_parts(0, 3517)) - // Standard Error: 18_371 - .saturating_add(Weight::from_parts(193_473_787, 0).saturating_mul(n.into())) + // Standard Error: 10_919 + .saturating_add(Weight::from_parts(191_367_834, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) diff --git a/runtimes/peregrine/src/weights/delegation.rs b/runtimes/peregrine/src/weights/delegation.rs index dbd2816e25..307c73fba4 100644 --- a/runtimes/peregrine/src/weights/delegation.rs +++ b/runtimes/peregrine/src/weights/delegation.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `delegation` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev // --pallet=delegation // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/delegation.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -56,7 +53,7 @@ impl delegation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Delegation::DelegationNodes` (r:0 w:1) /// Proof: `Delegation::DelegationNodes` (`max_values`: None, `max_size`: Some(32200), added: 34675, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) @@ -64,10 +61,10 @@ impl delegation::WeightInfo for WeightInfo { fn create_hierarchy() -> Weight { // Proof Size summary in bytes: // Measured: `363` - // Estimated: `3658` - // Minimum execution time: 54_699_000 picoseconds. - Weight::from_parts(55_207_000, 0) - .saturating_add(Weight::from_parts(0, 3658)) + // Estimated: `3784` + // Minimum execution time: 53_876_000 picoseconds. + Weight::from_parts(54_404_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -76,15 +73,15 @@ impl delegation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn add_delegation() -> Weight { // Proof Size summary in bytes: // Measured: `502` // Estimated: `70340` - // Minimum execution time: 59_709_000 picoseconds. - Weight::from_parts(60_141_000, 0) + // Minimum execution time: 58_705_000 picoseconds. + Weight::from_parts(59_385_000, 0) .saturating_add(Weight::from_parts(0, 70340)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) @@ -99,13 +96,13 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `241 + r * (239 ±0)` // Estimated: `3545 + r * (34675 ±0)` - // Minimum execution time: 24_320_000 picoseconds. - Weight::from_parts(15_889_244, 0) + // Minimum execution time: 24_042_000 picoseconds. + Weight::from_parts(15_967_378, 0) .saturating_add(Weight::from_parts(0, 3545)) - // Standard Error: 11_872 - .saturating_add(Weight::from_parts(9_382_556, 0).saturating_mul(r.into())) - // Standard Error: 11_872 - .saturating_add(Weight::from_parts(42_441, 0).saturating_mul(c.into())) + // Standard Error: 16_748 + .saturating_add(Weight::from_parts(9_188_984, 0).saturating_mul(r.into())) + // Standard Error: 16_748 + .saturating_add(Weight::from_parts(66_716, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) @@ -121,11 +118,11 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `414 + c * (239 ±0)` // Estimated: `35665 + c * (34675 ±0)` - // Minimum execution time: 27_798_000 picoseconds. - Weight::from_parts(25_412_478, 0) + // Minimum execution time: 27_281_000 picoseconds. + Weight::from_parts(25_334_631, 0) .saturating_add(Weight::from_parts(0, 35665)) - // Standard Error: 17_146 - .saturating_add(Weight::from_parts(4_219_254, 0).saturating_mul(c.into())) + // Standard Error: 15_414 + .saturating_add(Weight::from_parts(4_020_735, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -138,7 +135,7 @@ impl delegation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Delegation::DelegationHierarchies` (r:1 w:1) /// Proof: `Delegation::DelegationHierarchies` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 5]`. @@ -146,11 +143,11 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `651 + r * (294 ±0)` // Estimated: `35665 + r * (34675 ±0)` - // Minimum execution time: 99_737_000 picoseconds. - Weight::from_parts(67_169_789, 0) + // Minimum execution time: 94_942_000 picoseconds. + Weight::from_parts(61_682_608, 0) .saturating_add(Weight::from_parts(0, 35665)) - // Standard Error: 69_804 - .saturating_add(Weight::from_parts(36_006_219, 0).saturating_mul(r.into())) + // Standard Error: 55_395 + .saturating_add(Weight::from_parts(36_411_201, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -164,7 +161,7 @@ impl delegation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Delegation::DelegationHierarchies` (r:0 w:1) /// Proof: `Delegation::DelegationHierarchies` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 5]`. @@ -172,11 +169,11 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `583 + r * (294 ±0)` // Estimated: `35665 + r * (34675 ±0)` - // Minimum execution time: 95_277_000 picoseconds. - Weight::from_parts(62_361_345, 0) + // Minimum execution time: 90_522_000 picoseconds. + Weight::from_parts(56_999_710, 0) .saturating_add(Weight::from_parts(0, 35665)) - // Standard Error: 72_256 - .saturating_add(Weight::from_parts(36_212_512, 0).saturating_mul(r.into())) + // Standard Error: 59_106 + .saturating_add(Weight::from_parts(36_532_893, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -191,8 +188,8 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `613` // Estimated: `35665` - // Minimum execution time: 12_206_000 picoseconds. - Weight::from_parts(12_555_000, 0) + // Minimum execution time: 11_829_000 picoseconds. + Weight::from_parts(12_102_000, 0) .saturating_add(Weight::from_parts(0, 35665)) .saturating_add(T::DbWeight::get().reads(2)) } @@ -203,11 +200,11 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `341 + c * (240 ±0)` // Estimated: `35665 + c * (34675 ±0)` - // Minimum execution time: 11_218_000 picoseconds. - Weight::from_parts(8_196_690, 0) + // Minimum execution time: 10_696_000 picoseconds. + Weight::from_parts(7_833_269, 0) .saturating_add(Weight::from_parts(0, 35665)) - // Standard Error: 16_268 - .saturating_add(Weight::from_parts(3_563_546, 0).saturating_mul(c.into())) + // Standard Error: 15_481 + .saturating_add(Weight::from_parts(3_530_034, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 34675).saturating_mul(c.into())) @@ -219,11 +216,11 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `341 + c * (240 ±0)` // Estimated: `35665 + c * (34675 ±0)` - // Minimum execution time: 11_180_000 picoseconds. - Weight::from_parts(8_147_080, 0) + // Minimum execution time: 10_788_000 picoseconds. + Weight::from_parts(7_843_177, 0) .saturating_add(Weight::from_parts(0, 35665)) - // Standard Error: 15_643 - .saturating_add(Weight::from_parts(3_634_816, 0).saturating_mul(c.into())) + // Standard Error: 16_353 + .saturating_add(Weight::from_parts(3_535_244, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 34675).saturating_mul(c.into())) @@ -235,13 +232,13 @@ impl delegation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: // Measured: `829` // Estimated: `35665` - // Minimum execution time: 83_409_000 picoseconds. - Weight::from_parts(84_131_000, 0) + // Minimum execution time: 85_857_000 picoseconds. + Weight::from_parts(86_397_000, 0) .saturating_add(Weight::from_parts(0, 35665)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) @@ -253,13 +250,13 @@ impl delegation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `685` // Estimated: `35665` - // Minimum execution time: 76_806_000 picoseconds. - Weight::from_parts(77_508_000, 0) + // Minimum execution time: 75_827_000 picoseconds. + Weight::from_parts(76_365_000, 0) .saturating_add(Weight::from_parts(0, 35665)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -277,7 +274,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3658 + > 3784 ); } #[test] diff --git a/runtimes/peregrine/src/weights/did.rs b/runtimes/peregrine/src/weights/did.rs index 46a1dabaa8..ac1238065e 100644 --- a/runtimes/peregrine/src/weights/did.rs +++ b/runtimes/peregrine/src/weights/did.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `did` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -53,7 +53,7 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:0 w:1) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Did::ServiceEndpoints` (r:0 w:25) @@ -66,13 +66,13 @@ impl did::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `361` // Estimated: `6204` - // Minimum execution time: 176_703_000 picoseconds. - Weight::from_parts(123_587_764, 0) + // Minimum execution time: 176_278_000 picoseconds. + Weight::from_parts(131_987_071, 0) .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 140_510 - .saturating_add(Weight::from_parts(2_474_654, 0).saturating_mul(n.into())) - // Standard Error: 54_325 - .saturating_add(Weight::from_parts(27_504_309, 0).saturating_mul(c.into())) + // Standard Error: 49_089 + .saturating_add(Weight::from_parts(1_797_854, 0).saturating_mul(n.into())) + // Standard Error: 18_979 + .saturating_add(Weight::from_parts(26_982_288, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) @@ -84,7 +84,7 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:0 w:1) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Did::ServiceEndpoints` (r:0 w:25) @@ -97,13 +97,13 @@ impl did::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `361` // Estimated: `6204` - // Minimum execution time: 170_835_000 picoseconds. - Weight::from_parts(118_906_598, 0) + // Minimum execution time: 170_296_000 picoseconds. + Weight::from_parts(119_125_276, 0) .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 48_780 - .saturating_add(Weight::from_parts(1_768_612, 0).saturating_mul(n.into())) - // Standard Error: 18_859 - .saturating_add(Weight::from_parts(35_135_898, 0).saturating_mul(c.into())) + // Standard Error: 59_204 + .saturating_add(Weight::from_parts(1_706_591, 0).saturating_mul(n.into())) + // Standard Error: 22_890 + .saturating_add(Weight::from_parts(34_858_318, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) @@ -115,7 +115,7 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:0 w:1) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Did::ServiceEndpoints` (r:0 w:25) @@ -128,13 +128,13 @@ impl did::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `361` // Estimated: `6204` - // Minimum execution time: 160_788_000 picoseconds. - Weight::from_parts(122_676_200, 0) + // Minimum execution time: 159_604_000 picoseconds. + Weight::from_parts(121_943_203, 0) .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 48_026 - .saturating_add(Weight::from_parts(1_698_790, 0).saturating_mul(n.into())) - // Standard Error: 18_568 - .saturating_add(Weight::from_parts(22_344_290, 0).saturating_mul(c.into())) + // Standard Error: 47_270 + .saturating_add(Weight::from_parts(1_721_700, 0).saturating_mul(n.into())) + // Standard Error: 18_276 + .saturating_add(Weight::from_parts(22_123_083, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) @@ -145,25 +145,31 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::ServiceEndpoints` (`max_values`: None, `max_size`: Some(4215), added: 6690, mode: `MaxEncodedLen`) /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) + /// Storage: `Web3Names::Names` (r:1 w:0) + /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `DotNames::Names` (r:1 w:0) + /// Proof: `DotNames::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `DidLookup::ConnectedAccounts` (r:1 w:0) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Did::DidBlacklist` (r:0 w:1) /// Proof: `Did::DidBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 25]`. fn delete(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `724 + c * (105 ±0)` + // Measured: `917 + c * (105 ±0)` // Estimated: `5777 + c * (6690 ±0)` - // Minimum execution time: 59_941_000 picoseconds. - Weight::from_parts(60_787_776, 0) + // Minimum execution time: 74_229_000 picoseconds. + Weight::from_parts(74_868_341, 0) .saturating_add(Weight::from_parts(0, 5777)) - // Standard Error: 4_305 - .saturating_add(Weight::from_parts(1_182_832, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Standard Error: 4_585 + .saturating_add(Weight::from_parts(1_209_504, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) @@ -175,25 +181,31 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Did::ServiceEndpoints` (r:25 w:25) /// Proof: `Did::ServiceEndpoints` (`max_values`: None, `max_size`: Some(4215), added: 6690, mode: `MaxEncodedLen`) + /// Storage: `Web3Names::Names` (r:1 w:0) + /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `DotNames::Names` (r:1 w:0) + /// Proof: `DotNames::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `DidLookup::ConnectedAccounts` (r:1 w:0) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Did::DidBlacklist` (r:0 w:1) /// Proof: `Did::DidBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 25]`. fn reclaim_deposit(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `724 + c * (105 ±0)` + // Measured: `917 + c * (105 ±0)` // Estimated: `5777 + c * (6690 ±0)` - // Minimum execution time: 61_925_000 picoseconds. - Weight::from_parts(62_686_230, 0) + // Minimum execution time: 76_325_000 picoseconds. + Weight::from_parts(77_322_290, 0) .saturating_add(Weight::from_parts(0, 5777)) - // Standard Error: 4_880 - .saturating_add(Weight::from_parts(1_197_574, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Standard Error: 4_324 + .saturating_add(Weight::from_parts(1_204_888, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) @@ -205,8 +217,8 @@ impl did::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `352` // Estimated: `5777` - // Minimum execution time: 70_153_000 picoseconds. - Weight::from_parts(71_321_000, 0) + // Minimum execution time: 71_122_000 picoseconds. + Weight::from_parts(72_250_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -217,8 +229,8 @@ impl did::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `352` // Estimated: `5777` - // Minimum execution time: 57_176_000 picoseconds. - Weight::from_parts(57_930_000, 0) + // Minimum execution time: 57_578_000 picoseconds. + Weight::from_parts(58_555_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -229,8 +241,8 @@ impl did::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `5777` - // Minimum execution time: 59_897_000 picoseconds. - Weight::from_parts(61_614_000, 0) + // Minimum execution time: 60_329_000 picoseconds. + Weight::from_parts(61_744_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -244,13 +256,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn set_ed25519_authentication_key() -> Weight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `5777` - // Minimum execution time: 73_397_000 picoseconds. - Weight::from_parts(74_826_000, 0) + // Minimum execution time: 75_083_000 picoseconds. + Weight::from_parts(76_311_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -264,13 +276,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn set_sr25519_authentication_key() -> Weight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `5777` - // Minimum execution time: 73_519_000 picoseconds. - Weight::from_parts(74_696_000, 0) + // Minimum execution time: 75_329_000 picoseconds. + Weight::from_parts(76_204_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -284,13 +296,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn set_ecdsa_authentication_key() -> Weight { // Proof Size summary in bytes: // Measured: `1738` // Estimated: `5777` - // Minimum execution time: 73_532_000 picoseconds. - Weight::from_parts(74_206_000, 0) + // Minimum execution time: 75_366_000 picoseconds. + Weight::from_parts(75_866_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -304,13 +316,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn set_ed25519_delegation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `5777` - // Minimum execution time: 73_492_000 picoseconds. - Weight::from_parts(74_719_000, 0) + // Minimum execution time: 74_877_000 picoseconds. + Weight::from_parts(75_909_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -324,13 +336,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn set_sr25519_delegation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `5777` - // Minimum execution time: 73_102_000 picoseconds. - Weight::from_parts(73_773_000, 0) + // Minimum execution time: 74_816_000 picoseconds. + Weight::from_parts(76_017_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -344,13 +356,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn set_ecdsa_delegation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1738` // Estimated: `5777` - // Minimum execution time: 73_472_000 picoseconds. - Weight::from_parts(74_125_000, 0) + // Minimum execution time: 74_957_000 picoseconds. + Weight::from_parts(75_901_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -364,13 +376,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove_ed25519_delegation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `5777` - // Minimum execution time: 71_383_000 picoseconds. - Weight::from_parts(72_118_000, 0) + // Minimum execution time: 72_952_000 picoseconds. + Weight::from_parts(73_938_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -384,13 +396,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove_sr25519_delegation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `5777` - // Minimum execution time: 71_120_000 picoseconds. - Weight::from_parts(72_186_000, 0) + // Minimum execution time: 72_847_000 picoseconds. + Weight::from_parts(73_374_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -404,13 +416,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove_ecdsa_delegation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1738` // Estimated: `5777` - // Minimum execution time: 71_313_000 picoseconds. - Weight::from_parts(72_083_000, 0) + // Minimum execution time: 73_088_000 picoseconds. + Weight::from_parts(73_544_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -424,13 +436,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn set_ed25519_attestation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `5777` - // Minimum execution time: 73_165_000 picoseconds. - Weight::from_parts(73_941_000, 0) + // Minimum execution time: 74_813_000 picoseconds. + Weight::from_parts(75_974_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -444,13 +456,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn set_sr25519_attestation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `5777` - // Minimum execution time: 73_271_000 picoseconds. - Weight::from_parts(74_303_000, 0) + // Minimum execution time: 74_979_000 picoseconds. + Weight::from_parts(75_977_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -464,13 +476,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn set_ecdsa_attestation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1738` // Estimated: `5777` - // Minimum execution time: 73_118_000 picoseconds. - Weight::from_parts(74_354_000, 0) + // Minimum execution time: 74_620_000 picoseconds. + Weight::from_parts(75_883_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -484,13 +496,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove_ed25519_attestation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `5777` - // Minimum execution time: 71_464_000 picoseconds. - Weight::from_parts(72_435_000, 0) + // Minimum execution time: 72_469_000 picoseconds. + Weight::from_parts(73_750_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -504,13 +516,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove_sr25519_attestation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `5777` - // Minimum execution time: 71_836_000 picoseconds. - Weight::from_parts(72_819_000, 0) + // Minimum execution time: 72_573_000 picoseconds. + Weight::from_parts(74_128_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -524,13 +536,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove_ecdsa_attestation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1738` // Estimated: `5777` - // Minimum execution time: 71_458_000 picoseconds. - Weight::from_parts(72_849_000, 0) + // Minimum execution time: 72_909_000 picoseconds. + Weight::from_parts(73_665_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -544,13 +556,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn add_ed25519_key_agreement_key() -> Weight { // Proof Size summary in bytes: // Measured: `1629` // Estimated: `5777` - // Minimum execution time: 72_468_000 picoseconds. - Weight::from_parts(73_521_000, 0) + // Minimum execution time: 73_378_000 picoseconds. + Weight::from_parts(74_859_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -564,13 +576,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn add_sr25519_key_agreement_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1629` + // Measured: `1666` // Estimated: `5777` - // Minimum execution time: 72_191_000 picoseconds. - Weight::from_parts(73_376_000, 0) + // Minimum execution time: 73_782_000 picoseconds. + Weight::from_parts(75_009_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -584,13 +596,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn add_ecdsa_key_agreement_key() -> Weight { // Proof Size summary in bytes: // Measured: `1632` // Estimated: `5777` - // Minimum execution time: 72_969_000 picoseconds. - Weight::from_parts(73_442_000, 0) + // Minimum execution time: 73_858_000 picoseconds. + Weight::from_parts(74_981_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -604,13 +616,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove_ed25519_key_agreement_key() -> Weight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `5777` - // Minimum execution time: 71_449_000 picoseconds. - Weight::from_parts(72_497_000, 0) + // Minimum execution time: 73_338_000 picoseconds. + Weight::from_parts(74_190_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -624,13 +636,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove_sr25519_key_agreement_key() -> Weight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `5777` - // Minimum execution time: 72_068_000 picoseconds. - Weight::from_parts(73_229_000, 0) + // Minimum execution time: 73_126_000 picoseconds. + Weight::from_parts(74_281_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -644,13 +656,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove_ecdsa_key_agreement_key() -> Weight { // Proof Size summary in bytes: // Measured: `1738` // Estimated: `5777` - // Minimum execution time: 72_096_000 picoseconds. - Weight::from_parts(72_820_000, 0) + // Minimum execution time: 73_419_000 picoseconds. + Weight::from_parts(74_201_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -666,13 +678,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn add_service_endpoint() -> Weight { // Proof Size summary in bytes: // Measured: `1135` // Estimated: `7680` - // Minimum execution time: 88_854_000 picoseconds. - Weight::from_parts(89_516_000, 0) + // Minimum execution time: 89_174_000 picoseconds. + Weight::from_parts(90_025_000, 0) .saturating_add(Weight::from_parts(0, 7680)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) @@ -688,13 +700,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove_service_endpoint() -> Weight { // Proof Size summary in bytes: // Measured: `5318` // Estimated: `7680` - // Minimum execution time: 81_709_000 picoseconds. - Weight::from_parts(83_575_000, 0) + // Minimum execution time: 83_690_000 picoseconds. + Weight::from_parts(84_726_000, 0) .saturating_add(Weight::from_parts(0, 7680)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) @@ -706,11 +718,11 @@ impl did::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1626` // Estimated: `5777` - // Minimum execution time: 47_054_000 picoseconds. - Weight::from_parts(19_434_438, 0) + // Minimum execution time: 49_247_000 picoseconds. + Weight::from_parts(29_692_301, 0) .saturating_add(Weight::from_parts(0, 5777)) // Standard Error: 0 - .saturating_add(Weight::from_parts(4_280, 0).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(4_268, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Did::Did` (r:1 w:0) @@ -720,11 +732,11 @@ impl did::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1626` // Estimated: `5777` - // Minimum execution time: 60_357_000 picoseconds. - Weight::from_parts(39_287_609, 0) + // Minimum execution time: 60_744_000 picoseconds. + Weight::from_parts(40_324_015, 0) .saturating_add(Weight::from_parts(0, 5777)) // Standard Error: 0 - .saturating_add(Weight::from_parts(2_364, 0).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(2_337, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Did::Did` (r:1 w:0) @@ -734,11 +746,11 @@ impl did::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1627` // Estimated: `5777` - // Minimum execution time: 49_576_000 picoseconds. - Weight::from_parts(27_809_336, 0) + // Minimum execution time: 50_264_000 picoseconds. + Weight::from_parts(22_838_576, 0) .saturating_add(Weight::from_parts(0, 5777)) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_163, 0).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(1_157, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Migration::MigratedKeys` (r:1 w:1) @@ -748,13 +760,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: // Measured: `519` // Estimated: `5777` - // Minimum execution time: 68_038_000 picoseconds. - Weight::from_parts(68_764_000, 0) + // Minimum execution time: 68_761_000 picoseconds. + Weight::from_parts(69_835_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -771,8 +783,8 @@ impl did::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `463` // Estimated: `5777` - // Minimum execution time: 32_636_000 picoseconds. - Weight::from_parts(33_820_000, 0) + // Minimum execution time: 34_015_000 picoseconds. + Weight::from_parts(34_766_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -783,8 +795,8 @@ impl did::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `5777` - // Minimum execution time: 17_323_000 picoseconds. - Weight::from_parts(17_851_000, 0) + // Minimum execution time: 17_781_000 picoseconds. + Weight::from_parts(18_342_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -795,15 +807,15 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn create_from_account() -> Weight { // Proof Size summary in bytes: // Measured: `323` // Estimated: `6204` - // Minimum execution time: 76_870_000 picoseconds. - Weight::from_parts(77_655_000, 0) + // Minimum execution time: 77_418_000 picoseconds. + Weight::from_parts(78_519_000, 0) .saturating_add(Weight::from_parts(0, 6204)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) diff --git a/runtimes/peregrine/src/weights/frame_system.rs b/runtimes/peregrine/src/weights/frame_system.rs index 218e83d366..18dfea99f6 100644 --- a/runtimes/peregrine/src/weights/frame_system.rs +++ b/runtimes/peregrine/src/weights/frame_system.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev // --pallet=frame-system // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/frame_system.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -54,8 +51,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_095_000 picoseconds. - Weight::from_parts(2_196_000, 0) + // Minimum execution time: 2_187_000 picoseconds. + Weight::from_parts(2_259_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 .saturating_add(Weight::from_parts(390, 0).saturating_mul(b.into())) @@ -65,11 +62,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_784_000 picoseconds. - Weight::from_parts(5_919_000, 0) + // Minimum execution time: 5_907_000 picoseconds. + Weight::from_parts(6_009_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_557, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_547, 0).saturating_mul(b.into())) } /// Storage: `System::Digest` (r:1 w:1) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -79,8 +76,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 3_771_000 picoseconds. - Weight::from_parts(4_019_000, 0) + // Minimum execution time: 3_753_000 picoseconds. + Weight::from_parts(4_011_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -99,11 +96,11 @@ impl frame_system::WeightInfo for WeightInfo { /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_code() -> Weight { // Proof Size summary in bytes: - // Measured: `127` - // Estimated: `1612` - // Minimum execution time: 101_315_441_000 picoseconds. - Weight::from_parts(104_155_772_000, 0) - .saturating_add(Weight::from_parts(0, 1612)) + // Measured: `164` + // Estimated: `1649` + // Minimum execution time: 101_126_971_000 picoseconds. + Weight::from_parts(104_407_393_000, 0) + .saturating_add(Weight::from_parts(0, 1649)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -114,11 +111,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_030_000 picoseconds. - Weight::from_parts(2_087_000, 0) + // Minimum execution time: 2_260_000 picoseconds. + Weight::from_parts(2_303_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_131 - .saturating_add(Weight::from_parts(739_354, 0).saturating_mul(i.into())) + // Standard Error: 2_095 + .saturating_add(Weight::from_parts(749_491, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -128,11 +125,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_101_000 picoseconds. - Weight::from_parts(2_171_000, 0) + // Minimum execution time: 2_188_000 picoseconds. + Weight::from_parts(2_269_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 819 - .saturating_add(Weight::from_parts(528_995, 0).saturating_mul(i.into())) + // Standard Error: 777 + .saturating_add(Weight::from_parts(516_555, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -140,13 +137,13 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `82 + p * (69 ±0)` - // Estimated: `92 + p * (70 ±0)` - // Minimum execution time: 4_152_000 picoseconds. - Weight::from_parts(4_262_000, 0) - .saturating_add(Weight::from_parts(0, 92)) - // Standard Error: 982 - .saturating_add(Weight::from_parts(1_029_408, 0).saturating_mul(p.into())) + // Measured: `95 + p * (69 ±0)` + // Estimated: `100 + p * (70 ±0)` + // Minimum execution time: 4_300_000 picoseconds. + Weight::from_parts(4_404_000, 0) + .saturating_add(Weight::from_parts(0, 100)) + // Standard Error: 992 + .saturating_add(Weight::from_parts(1_027_359, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) @@ -157,8 +154,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_906_000 picoseconds. - Weight::from_parts(8_575_000, 0) + // Minimum execution time: 8_226_000 picoseconds. + Weight::from_parts(8_519_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,11 +175,11 @@ impl frame_system::WeightInfo for WeightInfo { /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn apply_authorized_upgrade() -> Weight { // Proof Size summary in bytes: - // Measured: `149` - // Estimated: `1634` - // Minimum execution time: 106_385_288_000 picoseconds. - Weight::from_parts(109_274_128_000, 0) - .saturating_add(Weight::from_parts(0, 1634)) + // Measured: `186` + // Estimated: `1671` + // Minimum execution time: 105_122_320_000 picoseconds. + Weight::from_parts(107_549_603_000, 0) + .saturating_add(Weight::from_parts(0, 1671)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -211,7 +208,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 1612 + > 1649 ); } #[test] @@ -223,7 +220,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 92 + > 100 ); } #[test] @@ -235,7 +232,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 1634 + > 1671 ); } } diff --git a/runtimes/peregrine/src/weights/pallet_asset_switch.rs b/runtimes/peregrine/src/weights/pallet_asset_switch.rs index fd14a0cdec..9b88a8c9a8 100644 --- a/runtimes/peregrine/src/weights/pallet_asset_switch.rs +++ b/runtimes/peregrine/src/weights/pallet_asset_switch.rs @@ -18,30 +18,23 @@ //! Autogenerated weights for `pallet_asset_switch` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 27.0.0 -//! DATE: 2024-07-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/debug/kilt-parachain +// ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --execution=wasm -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain -// dev -// --pallet -// pallet-asset-switch +// --chain=dev +// --pallet=pallet-asset-switch // --extrinsic=* -// --output -// ./runtimes/peregrine/src/weights/pallet_asset_switch.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -54,82 +47,99 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_asset_switch::WeightInfo for WeightInfo { /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:1) - /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1891), added: 2386, mode: `MaxEncodedLen`) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (r:1 w:0) + /// Proof: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::NextQueryId` (r:0 w:1) + /// Proof: `AssetSwitchPool1::NextQueryId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn set_switch_pair() -> Weight { // Proof Size summary in bytes: - // Measured: `128` + // Measured: `220` // Estimated: `3597` - // Minimum execution time: 195_975_000 picoseconds. - Weight::from_parts(197_609_000, 0) + // Minimum execution time: 21_541_000 picoseconds. + Weight::from_parts(21_925_000, 0) .saturating_add(Weight::from_parts(0, 3597)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } + /// Storage: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (r:1 w:0) + /// Proof: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::NextQueryId` (r:0 w:1) + /// Proof: `AssetSwitchPool1::NextQueryId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// Storage: `AssetSwitchPool1::SwitchPair` (r:0 w:1) - /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1891), added: 2386, mode: `MaxEncodedLen`) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) fn force_set_switch_pair() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 124_504_000 picoseconds. - Weight::from_parts(124_996_000, 0) - .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `76` + // Estimated: `1489` + // Minimum execution time: 14_697_000 picoseconds. + Weight::from_parts(15_163_000, 0) + .saturating_add(Weight::from_parts(0, 1489)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } + /// Storage: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (r:1 w:0) + /// Proof: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:1) - /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1891), added: 2386, mode: `MaxEncodedLen`) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::NextQueryId` (r:0 w:1) + /// Proof: `AssetSwitchPool1::NextQueryId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn force_unset_switch_pair() -> Weight { // Proof Size summary in bytes: - // Measured: `172` - // Estimated: `3376` - // Minimum execution time: 146_871_000 picoseconds. - Weight::from_parts(149_775_000, 0) - .saturating_add(Weight::from_parts(0, 3376)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `218` + // Estimated: `3424` + // Minimum execution time: 14_566_000 picoseconds. + Weight::from_parts(14_949_000, 0) + .saturating_add(Weight::from_parts(0, 3424)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:1) - /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1891), added: 2386, mode: `MaxEncodedLen`) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) fn pause_switch_pair() -> Weight { // Proof Size summary in bytes: - // Measured: `172` - // Estimated: `3376` - // Minimum execution time: 101_743_000 picoseconds. - Weight::from_parts(102_740_000, 0) - .saturating_add(Weight::from_parts(0, 3376)) + // Measured: `218` + // Estimated: `3424` + // Minimum execution time: 10_543_000 picoseconds. + Weight::from_parts(10_830_000, 0) + .saturating_add(Weight::from_parts(0, 3424)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:1) - /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1891), added: 2386, mode: `MaxEncodedLen`) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) fn resume_switch_pair() -> Weight { // Proof Size summary in bytes: - // Measured: `172` - // Estimated: `3376` - // Minimum execution time: 149_329_000 picoseconds. - Weight::from_parts(154_394_000, 0) - .saturating_add(Weight::from_parts(0, 3376)) + // Measured: `218` + // Estimated: `3424` + // Minimum execution time: 14_312_000 picoseconds. + Weight::from_parts(14_632_000, 0) + .saturating_add(Weight::from_parts(0, 3424)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:1) - /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1891), added: 2386, mode: `MaxEncodedLen`) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) fn update_remote_xcm_fee() -> Weight { // Proof Size summary in bytes: - // Measured: `172` - // Estimated: `3376` - // Minimum execution time: 103_161_000 picoseconds. - Weight::from_parts(105_989_000, 0) - .saturating_add(Weight::from_parts(0, 3376)) + // Measured: `218` + // Estimated: `3424` + // Minimum execution time: 10_952_000 picoseconds. + Weight::from_parts(11_215_000, 0) + .saturating_add(Weight::from_parts(0, 3424)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:1) - /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1891), added: 2386, mode: `MaxEncodedLen`) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, 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: `AssetSwitchPool1::NextQueryId` (r:1 w:1) + /// Proof: `AssetSwitchPool1::NextQueryId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) @@ -144,17 +154,21 @@ impl pallet_asset_switch::WeightInfo for WeightInfo /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `AssetSwitchPool1::PendingSwitchConfirmations` (r:1 w:1) + /// Proof: `AssetSwitchPool1::PendingSwitchConfirmations` (`max_values`: None, `max_size`: Some(666), added: 3141, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (r:1 w:1) + /// Proof: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) fn switch() -> Weight { // Proof Size summary in bytes: - // Measured: `1045` + // Measured: `1160` // Estimated: `6204` - // Minimum execution time: 1_435_326_000 picoseconds. - Weight::from_parts(1_466_377_000, 0) + // Minimum execution time: 165_853_000 picoseconds. + Weight::from_parts(167_043_000, 0) .saturating_add(Weight::from_parts(0, 6204)) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(8)) + .saturating_add(T::DbWeight::get().reads(14)) + .saturating_add(T::DbWeight::get().writes(11)) } } @@ -173,6 +187,18 @@ mod tests { ); } #[test] + fn test_force_set_switch_pair() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 1489 + ); + } + #[test] fn test_force_unset_switch_pair() { assert!( ::BlockWeights::get() @@ -181,7 +207,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3376 + > 3424 ); } #[test] @@ -193,7 +219,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3376 + > 3424 ); } #[test] @@ -205,11 +231,11 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3376 + > 3424 ); } #[test] - fn update_remote_xcm_fee() { + fn test_update_remote_xcm_fee() { assert!( ::BlockWeights::get() .per_class @@ -217,7 +243,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3376 + > 3424 ); } #[test] diff --git a/runtimes/peregrine/src/weights/pallet_assets.rs b/runtimes/peregrine/src/weights/pallet_assets.rs index 83b2190703..4b68e9b63c 100644 --- a/runtimes/peregrine/src/weights/pallet_assets.rs +++ b/runtimes/peregrine/src/weights/pallet_assets.rs @@ -19,27 +19,22 @@ //! Autogenerated weights for `pallet_assets` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-08-14, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/release-unoptimized/kilt-parachain +// ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 -// --chain -// dev -// --pallet -// pallet-assets +// --chain=dev +// --pallet=pallet-assets // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_assets.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -57,8 +52,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `4273` - // Minimum execution time: 7_511_000 picoseconds. - Weight::from_parts(8_022_000, 0) + // Minimum execution time: 12_391_000 picoseconds. + Weight::from_parts(12_799_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -69,8 +64,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `4273` - // Minimum execution time: 7_389_000 picoseconds. - Weight::from_parts(7_993_000, 0) + // Minimum execution time: 11_647_000 picoseconds. + Weight::from_parts(12_044_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -81,8 +76,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `312` // Estimated: `4273` - // Minimum execution time: 7_724_000 picoseconds. - Weight::from_parts(8_024_000, 0) + // Minimum execution time: 11_897_000 picoseconds. + Weight::from_parts(12_203_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -98,11 +93,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + c * (212 ±0)` // Estimated: `4273 + c * (3207 ±0)` - // Minimum execution time: 10_650_000 picoseconds. - Weight::from_parts(11_066_000, 0) + // Minimum execution time: 16_852_000 picoseconds. + Weight::from_parts(17_011_000, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 6_907 - .saturating_add(Weight::from_parts(9_817_244, 0).saturating_mul(c.into())) + // Standard Error: 6_506 + .saturating_add(Weight::from_parts(12_143_853, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -118,11 +113,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `447 + a * (86 ±0)` // Estimated: `4273 + a * (3221 ±0)` - // Minimum execution time: 10_767_000 picoseconds. - Weight::from_parts(10_982_000, 0) + // Minimum execution time: 17_440_000 picoseconds. + Weight::from_parts(17_629_000, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 3_058 - .saturating_add(Weight::from_parts(3_935_847, 0).saturating_mul(a.into())) + // Standard Error: 3_595 + .saturating_add(Weight::from_parts(4_804_947, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -137,8 +132,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `278` // Estimated: `4273` - // Minimum execution time: 9_031_000 picoseconds. - Weight::from_parts(9_270_000, 0) + // Minimum execution time: 13_612_000 picoseconds. + Weight::from_parts(14_077_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -151,8 +146,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `278` // Estimated: `4273` - // Minimum execution time: 16_960_000 picoseconds. - Weight::from_parts(17_381_000, 0) + // Minimum execution time: 23_332_000 picoseconds. + Weight::from_parts(24_036_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -165,8 +160,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `384` // Estimated: `4273` - // Minimum execution time: 22_651_000 picoseconds. - Weight::from_parts(23_338_000, 0) + // Minimum execution time: 29_767_000 picoseconds. + Weight::from_parts(30_162_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -181,8 +176,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `436` // Estimated: `7404` - // Minimum execution time: 33_107_000 picoseconds. - Weight::from_parts(33_858_000, 0) + // Minimum execution time: 42_016_000 picoseconds. + Weight::from_parts(42_481_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -197,8 +192,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `436` // Estimated: `7404` - // Minimum execution time: 29_877_000 picoseconds. - Weight::from_parts(30_769_000, 0) + // Minimum execution time: 37_897_000 picoseconds. + Weight::from_parts(38_426_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -213,8 +208,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `436` // Estimated: `7404` - // Minimum execution time: 32_722_000 picoseconds. - Weight::from_parts(33_735_000, 0) + // Minimum execution time: 41_887_000 picoseconds. + Weight::from_parts(42_528_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -227,8 +222,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `384` // Estimated: `4273` - // Minimum execution time: 10_858_000 picoseconds. - Weight::from_parts(11_325_000, 0) + // Minimum execution time: 15_713_000 picoseconds. + Weight::from_parts(16_187_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -241,8 +236,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `384` // Estimated: `4273` - // Minimum execution time: 10_834_000 picoseconds. - Weight::from_parts(11_284_000, 0) + // Minimum execution time: 15_761_000 picoseconds. + Weight::from_parts(16_118_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -253,8 +248,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `312` // Estimated: `4273` - // Minimum execution time: 7_493_000 picoseconds. - Weight::from_parts(7_911_000, 0) + // Minimum execution time: 11_722_000 picoseconds. + Weight::from_parts(12_085_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -265,8 +260,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `312` // Estimated: `4273` - // Minimum execution time: 7_613_000 picoseconds. - Weight::from_parts(7_951_000, 0) + // Minimum execution time: 11_639_000 picoseconds. + Weight::from_parts(11_938_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -279,8 +274,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `278` // Estimated: `4273` - // Minimum execution time: 9_365_000 picoseconds. - Weight::from_parts(9_594_000, 0) + // Minimum execution time: 14_510_000 picoseconds. + Weight::from_parts(14_900_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -291,8 +286,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `278` // Estimated: `4273` - // Minimum execution time: 7_928_000 picoseconds. - Weight::from_parts(8_388_000, 0) + // Minimum execution time: 12_836_000 picoseconds. + Weight::from_parts(13_314_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -307,13 +302,13 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `278` // Estimated: `4273` - // Minimum execution time: 9_177_000 picoseconds. - Weight::from_parts(9_513_737, 0) + // Minimum execution time: 14_363_000 picoseconds. + Weight::from_parts(14_626_632, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 4_348 - .saturating_add(Weight::from_parts(92_631, 0).saturating_mul(n.into())) - // Standard Error: 4_348 - .saturating_add(Weight::from_parts(76_577, 0).saturating_mul(s.into())) + // Standard Error: 3_718 + .saturating_add(Weight::from_parts(74_391, 0).saturating_mul(n.into())) + // Standard Error: 3_718 + .saturating_add(Weight::from_parts(69_342, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -325,8 +320,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `346` // Estimated: `4273` - // Minimum execution time: 9_824_000 picoseconds. - Weight::from_parts(10_333_000, 0) + // Minimum execution time: 14_641_000 picoseconds. + Weight::from_parts(14_915_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -341,13 +336,13 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `117` // Estimated: `4273` - // Minimum execution time: 8_095_000 picoseconds. - Weight::from_parts(8_730_911, 0) + // Minimum execution time: 12_926_000 picoseconds. + Weight::from_parts(13_218_169, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 4_722 - .saturating_add(Weight::from_parts(39_054, 0).saturating_mul(n.into())) - // Standard Error: 4_722 - .saturating_add(Weight::from_parts(70_013, 0).saturating_mul(s.into())) + // Standard Error: 3_145 + .saturating_add(Weight::from_parts(80_868, 0).saturating_mul(n.into())) + // Standard Error: 3_145 + .saturating_add(Weight::from_parts(77_749, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -359,8 +354,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `346` // Estimated: `4273` - // Minimum execution time: 9_583_000 picoseconds. - Weight::from_parts(9_811_000, 0) + // Minimum execution time: 14_230_000 picoseconds. + Weight::from_parts(14_562_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -371,8 +366,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `278` // Estimated: `4273` - // Minimum execution time: 7_572_000 picoseconds. - Weight::from_parts(7_975_000, 0) + // Minimum execution time: 12_102_000 picoseconds. + Weight::from_parts(12_518_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -385,8 +380,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `312` // Estimated: `4273` - // Minimum execution time: 12_806_000 picoseconds. - Weight::from_parts(13_339_000, 0) + // Minimum execution time: 18_419_000 picoseconds. + Weight::from_parts(18_718_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -403,8 +398,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `604` // Estimated: `7404` - // Minimum execution time: 41_589_000 picoseconds. - Weight::from_parts(42_096_000, 0) + // Minimum execution time: 51_847_000 picoseconds. + Weight::from_parts(52_294_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -417,8 +412,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `480` // Estimated: `4273` - // Minimum execution time: 14_768_000 picoseconds. - Weight::from_parts(15_253_000, 0) + // Minimum execution time: 20_990_000 picoseconds. + Weight::from_parts(21_294_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -431,8 +426,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `480` // Estimated: `4273` - // Minimum execution time: 14_912_000 picoseconds. - Weight::from_parts(15_381_000, 0) + // Minimum execution time: 21_316_000 picoseconds. + Weight::from_parts(21_561_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -443,8 +438,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `278` // Estimated: `4273` - // Minimum execution time: 8_518_000 picoseconds. - Weight::from_parts(8_741_000, 0) + // Minimum execution time: 13_208_000 picoseconds. + Weight::from_parts(13_642_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -457,8 +452,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `278` // Estimated: `4273` - // Minimum execution time: 13_139_000 picoseconds. - Weight::from_parts(13_604_000, 0) + // Minimum execution time: 18_556_000 picoseconds. + Weight::from_parts(18_985_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -471,8 +466,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `278` // Estimated: `4273` - // Minimum execution time: 12_159_000 picoseconds. - Weight::from_parts(12_811_000, 0) + // Minimum execution time: 17_723_000 picoseconds. + Weight::from_parts(18_137_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -485,8 +480,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `402` // Estimated: `4273` - // Minimum execution time: 11_554_000 picoseconds. - Weight::from_parts(11_897_000, 0) + // Minimum execution time: 16_282_000 picoseconds. + Weight::from_parts(16_809_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -499,8 +494,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `435` // Estimated: `4273` - // Minimum execution time: 11_645_000 picoseconds. - Weight::from_parts(11_851_000, 0) + // Minimum execution time: 15_642_000 picoseconds. + Weight::from_parts(16_048_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -513,8 +508,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `384` // Estimated: `4273` - // Minimum execution time: 10_550_000 picoseconds. - Weight::from_parts(10_923_000, 0) + // Minimum execution time: 15_851_000 picoseconds. + Weight::from_parts(16_158_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtimes/peregrine/src/weights/pallet_balances.rs b/runtimes/peregrine/src/weights/pallet_balances.rs index 0fc3a85e04..4b8cb6f0eb 100644 --- a/runtimes/peregrine/src/weights/pallet_balances.rs +++ b/runtimes/peregrine/src/weights/pallet_balances.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev // --pallet=pallet-balances // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_balances.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -55,8 +52,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `107` // Estimated: `6204` - // Minimum execution time: 57_680_000 picoseconds. - Weight::from_parts(58_518_000, 0) + // Minimum execution time: 57_814_000 picoseconds. + Weight::from_parts(58_366_000, 0) .saturating_add(Weight::from_parts(0, 6204)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -67,8 +64,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3597` - // Minimum execution time: 36_421_000 picoseconds. - Weight::from_parts(37_217_000, 0) + // Minimum execution time: 36_213_000 picoseconds. + Weight::from_parts(36_843_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -79,8 +76,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3597` - // Minimum execution time: 15_716_000 picoseconds. - Weight::from_parts(16_230_000, 0) + // Minimum execution time: 15_786_000 picoseconds. + Weight::from_parts(16_157_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -91,8 +88,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3597` - // Minimum execution time: 21_093_000 picoseconds. - Weight::from_parts(21_350_000, 0) + // Minimum execution time: 20_920_000 picoseconds. + Weight::from_parts(21_402_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -103,8 +100,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `214` // Estimated: `8811` - // Minimum execution time: 60_396_000 picoseconds. - Weight::from_parts(61_513_000, 0) + // Minimum execution time: 60_647_000 picoseconds. + Weight::from_parts(60_961_000, 0) .saturating_add(Weight::from_parts(0, 8811)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -115,8 +112,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3597` - // Minimum execution time: 45_008_000 picoseconds. - Weight::from_parts(45_809_000, 0) + // Minimum execution time: 44_433_000 picoseconds. + Weight::from_parts(44_985_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -127,8 +124,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3597` - // Minimum execution time: 17_799_000 picoseconds. - Weight::from_parts(18_465_000, 0) + // Minimum execution time: 18_214_000 picoseconds. + Weight::from_parts(18_721_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -140,11 +137,11 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + u * (140 ±0)` // Estimated: `990 + u * (2607 ±0)` - // Minimum execution time: 17_365_000 picoseconds. - Weight::from_parts(17_698_000, 0) + // Minimum execution time: 17_254_000 picoseconds. + Weight::from_parts(17_323_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 10_091 - .saturating_add(Weight::from_parts(12_523_656, 0).saturating_mul(u.into())) + // Standard Error: 10_492 + .saturating_add(Weight::from_parts(12_444_797, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2607).saturating_mul(u.into())) @@ -155,8 +152,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1501` - // Minimum execution time: 6_558_000 picoseconds. - Weight::from_parts(6_815_000, 0) + // Minimum execution time: 6_584_000 picoseconds. + Weight::from_parts(6_866_000, 0) .saturating_add(Weight::from_parts(0, 1501)) .saturating_add(T::DbWeight::get().reads(1)) } diff --git a/runtimes/peregrine/src/weights/pallet_bonded_assets.rs b/runtimes/peregrine/src/weights/pallet_bonded_assets.rs index e4089101bc..d6fb7cd1a4 100644 --- a/runtimes/peregrine/src/weights/pallet_bonded_assets.rs +++ b/runtimes/peregrine/src/weights/pallet_bonded_assets.rs @@ -19,9 +19,9 @@ //! Autogenerated weights for `pallet_bonded_assets` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -43,9 +43,6 @@ use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -// TODO: Remove once the benchmarking stuff fully supports pallet instances. -use pallet_assets as pallet_bonded_assets; - /// Weight functions for `pallet_bonded_assets`. pub struct WeightInfo(PhantomData); impl pallet_bonded_assets::WeightInfo for WeightInfo { @@ -55,8 +52,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `42` // Estimated: `3675` - // Minimum execution time: 5_524_000 picoseconds. - Weight::from_parts(5_886_000, 0) + // Minimum execution time: 11_933_000 picoseconds. + Weight::from_parts(12_304_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -67,8 +64,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `42` // Estimated: `3675` - // Minimum execution time: 5_401_000 picoseconds. - Weight::from_parts(5_623_000, 0) + // Minimum execution time: 11_221_000 picoseconds. + Weight::from_parts(11_694_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -79,8 +76,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 5_746_000 picoseconds. - Weight::from_parts(6_204_000, 0) + // Minimum execution time: 11_813_000 picoseconds. + Weight::from_parts(12_094_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -96,11 +93,11 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0 + c * (212 ±0)` // Estimated: `3675 + c * (2609 ±0)` - // Minimum execution time: 11_169_000 picoseconds. - Weight::from_parts(4_540_955, 0) + // Minimum execution time: 16_995_000 picoseconds. + Weight::from_parts(17_195_000, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 13_118 - .saturating_add(Weight::from_parts(7_987_660, 0).saturating_mul(c.into())) + // Standard Error: 6_940 + .saturating_add(Weight::from_parts(12_072_257, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -116,11 +113,11 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `451 + a * (86 ±0)` // Estimated: `3675 + a * (2623 ±0)` - // Minimum execution time: 8_275_000 picoseconds. - Weight::from_parts(8_481_000, 0) + // Minimum execution time: 17_715_000 picoseconds. + Weight::from_parts(17_843_000, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 2_635 - .saturating_add(Weight::from_parts(3_231_941, 0).saturating_mul(a.into())) + // Standard Error: 3_737 + .saturating_add(Weight::from_parts(4_838_794, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -130,13 +127,13 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo /// Storage: `BondedFungibles::Asset` (r:1 w:1) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Metadata` (r:1 w:0) - /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 6_581_000 picoseconds. - Weight::from_parts(6_935_000, 0) + // Minimum execution time: 13_574_000 picoseconds. + Weight::from_parts(13_920_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -149,8 +146,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 12_312_000 picoseconds. - Weight::from_parts(12_680_000, 0) + // Minimum execution time: 23_547_000 picoseconds. + Weight::from_parts(23_982_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -163,8 +160,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `388` // Estimated: `3675` - // Minimum execution time: 16_661_000 picoseconds. - Weight::from_parts(17_291_000, 0) + // Minimum execution time: 29_555_000 picoseconds. + Weight::from_parts(30_107_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -179,8 +176,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `440` // Estimated: `6208` - // Minimum execution time: 23_697_000 picoseconds. - Weight::from_parts(24_548_000, 0) + // Minimum execution time: 41_252_000 picoseconds. + Weight::from_parts(41_959_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -195,8 +192,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `440` // Estimated: `6208` - // Minimum execution time: 20_724_000 picoseconds. - Weight::from_parts(21_775_000, 0) + // Minimum execution time: 37_089_000 picoseconds. + Weight::from_parts(37_668_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -211,8 +208,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `440` // Estimated: `6208` - // Minimum execution time: 22_727_000 picoseconds. - Weight::from_parts(24_154_000, 0) + // Minimum execution time: 41_277_000 picoseconds. + Weight::from_parts(42_132_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -225,8 +222,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `388` // Estimated: `3675` - // Minimum execution time: 7_572_000 picoseconds. - Weight::from_parts(8_019_000, 0) + // Minimum execution time: 15_574_000 picoseconds. + Weight::from_parts(15_983_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -239,8 +236,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `388` // Estimated: `3675` - // Minimum execution time: 7_513_000 picoseconds. - Weight::from_parts(8_112_000, 0) + // Minimum execution time: 15_432_000 picoseconds. + Weight::from_parts(15_808_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -251,8 +248,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 5_282_000 picoseconds. - Weight::from_parts(5_682_000, 0) + // Minimum execution time: 11_567_000 picoseconds. + Weight::from_parts(11_795_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -263,8 +260,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 5_361_000 picoseconds. - Weight::from_parts(5_701_000, 0) + // Minimum execution time: 11_500_000 picoseconds. + Weight::from_parts(11_776_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -272,13 +269,13 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo /// Storage: `BondedFungibles::Asset` (r:1 w:1) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Metadata` (r:1 w:0) - /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 6_573_000 picoseconds. - Weight::from_parts(6_884_000, 0) + // Minimum execution time: 14_156_000 picoseconds. + Weight::from_parts(14_500_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -289,8 +286,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 5_706_000 picoseconds. - Weight::from_parts(6_144_000, 0) + // Minimum execution time: 12_472_000 picoseconds. + Weight::from_parts(12_841_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -298,31 +295,31 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo /// Storage: `BondedFungibles::Asset` (r:1 w:0) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Metadata` (r:1 w:1) - /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// The range of component `n` is `[0, 4]`. - /// The range of component `s` is `[0, 4]`. + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. fn set_metadata(_n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 6_279_000 picoseconds. - Weight::from_parts(7_152_774, 0) + // Minimum execution time: 14_437_000 picoseconds. + Weight::from_parts(15_096_536, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 4_624 - .saturating_add(Weight::from_parts(22_496, 0).saturating_mul(s.into())) + // Standard Error: 282 + .saturating_add(Weight::from_parts(1_198, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BondedFungibles::Asset` (r:1 w:0) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Metadata` (r:1 w:1) - /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `350` + // Measured: `444` // Estimated: `3675` - // Minimum execution time: 7_113_000 picoseconds. - Weight::from_parts(7_524_000, 0) + // Minimum execution time: 15_105_000 picoseconds. + Weight::from_parts(15_368_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -330,33 +327,33 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo /// Storage: `BondedFungibles::Asset` (r:1 w:0) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Metadata` (r:1 w:1) - /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// The range of component `n` is `[0, 4]`. - /// The range of component `s` is `[0, 4]`. + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. fn force_set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `119` // Estimated: `3675` - // Minimum execution time: 5_756_000 picoseconds. - Weight::from_parts(6_189_023, 0) + // Minimum execution time: 13_118_000 picoseconds. + Weight::from_parts(13_602_797, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 3_605 - .saturating_add(Weight::from_parts(62_714, 0).saturating_mul(n.into())) - // Standard Error: 3_605 - .saturating_add(Weight::from_parts(72_261, 0).saturating_mul(s.into())) + // Standard Error: 287 + .saturating_add(Weight::from_parts(2_414, 0).saturating_mul(n.into())) + // Standard Error: 287 + .saturating_add(Weight::from_parts(1_149, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BondedFungibles::Asset` (r:1 w:0) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Metadata` (r:1 w:1) - /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `350` + // Measured: `444` // Estimated: `3675` - // Minimum execution time: 6_996_000 picoseconds. - Weight::from_parts(7_408_000, 0) + // Minimum execution time: 14_764_000 picoseconds. + Weight::from_parts(15_129_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -367,8 +364,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 5_816_000 picoseconds. - Weight::from_parts(6_225_000, 0) + // Minimum execution time: 12_140_000 picoseconds. + Weight::from_parts(12_442_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -381,8 +378,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 9_372_000 picoseconds. - Weight::from_parts(9_802_000, 0) + // Minimum execution time: 18_496_000 picoseconds. + Weight::from_parts(18_706_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -399,8 +396,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `610` // Estimated: `6208` - // Minimum execution time: 29_488_000 picoseconds. - Weight::from_parts(30_631_000, 0) + // Minimum execution time: 51_363_000 picoseconds. + Weight::from_parts(51_819_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -413,8 +410,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `484` // Estimated: `3675` - // Minimum execution time: 10_844_000 picoseconds. - Weight::from_parts(11_277_000, 0) + // Minimum execution time: 20_751_000 picoseconds. + Weight::from_parts(21_055_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -427,8 +424,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `484` // Estimated: `3675` - // Minimum execution time: 10_635_000 picoseconds. - Weight::from_parts(11_133_000, 0) + // Minimum execution time: 21_155_000 picoseconds. + Weight::from_parts(21_452_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -439,8 +436,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 5_844_000 picoseconds. - Weight::from_parts(6_365_000, 0) + // Minimum execution time: 13_302_000 picoseconds. + Weight::from_parts(13_574_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -453,8 +450,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 8_969_000 picoseconds. - Weight::from_parts(9_620_000, 0) + // Minimum execution time: 18_273_000 picoseconds. + Weight::from_parts(18_620_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -467,8 +464,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 8_357_000 picoseconds. - Weight::from_parts(8_621_000, 0) + // Minimum execution time: 17_338_000 picoseconds. + Weight::from_parts(17_711_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -481,8 +478,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `406` // Estimated: `3675` - // Minimum execution time: 8_669_000 picoseconds. - Weight::from_parts(8_993_000, 0) + // Minimum execution time: 15_984_000 picoseconds. + Weight::from_parts(16_481_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -495,8 +492,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `439` // Estimated: `3675` - // Minimum execution time: 7_975_000 picoseconds. - Weight::from_parts(8_287_000, 0) + // Minimum execution time: 15_806_000 picoseconds. + Weight::from_parts(16_058_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -509,8 +506,8 @@ impl pallet_bonded_assets::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `388` // Estimated: `3675` - // Minimum execution time: 7_521_000 picoseconds. - Weight::from_parts(7_789_000, 0) + // Minimum execution time: 15_725_000 picoseconds. + Weight::from_parts(16_021_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtimes/peregrine/src/weights/pallet_bonded_coins.rs b/runtimes/peregrine/src/weights/pallet_bonded_coins.rs index 16ef616531..866f309d4c 100644 --- a/runtimes/peregrine/src/weights/pallet_bonded_coins.rs +++ b/runtimes/peregrine/src/weights/pallet_bonded_coins.rs @@ -19,9 +19,9 @@ //! Autogenerated weights for `pallet_bonded_coins` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -46,10 +46,14 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_bonded_coins`. pub struct WeightInfo(PhantomData); impl pallet_bonded_coins::WeightInfo for WeightInfo { - /// Storage: `BondedCurrencies::NextAssetId` (r:1 w:1) - /// Proof: `BondedCurrencies::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(994), added: 3469, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:1) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Account` (r:1 w:1) @@ -59,29 +63,31 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// Storage: `BondedFungibles::Asset` (r:50 w:50) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Metadata` (r:50 w:50) - /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Pools` (r:0 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn create_pool_polynomial(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `475` - // Estimated: `4273 + c * (2685 ±0)` - // Minimum execution time: 43_873_000 picoseconds. - Weight::from_parts(39_421_152, 0) - .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 14_474 - .saturating_add(Weight::from_parts(6_295_882, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `517` + // Estimated: `4459 + c * (2685 ±0)` + // Minimum execution time: 81_684_000 picoseconds. + Weight::from_parts(72_714_156, 0) + .saturating_add(Weight::from_parts(0, 4459)) + // Standard Error: 7_194 + .saturating_add(Weight::from_parts(9_786_641, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(T::DbWeight::get().writes(7)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCurrencies::NextAssetId` (r:1 w:1) - /// Proof: `BondedCurrencies::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(994), added: 3469, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:1) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Account` (r:1 w:1) @@ -91,29 +97,31 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// Storage: `BondedFungibles::Asset` (r:50 w:50) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Metadata` (r:50 w:50) - /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Pools` (r:0 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn create_pool_square_root(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `475` - // Estimated: `4273 + c * (2685 ±0)` - // Minimum execution time: 43_983_000 picoseconds. - Weight::from_parts(40_277_345, 0) - .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 14_567 - .saturating_add(Weight::from_parts(6_239_888, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `517` + // Estimated: `4459 + c * (2685 ±0)` + // Minimum execution time: 81_855_000 picoseconds. + Weight::from_parts(75_488_857, 0) + .saturating_add(Weight::from_parts(0, 4459)) + // Standard Error: 5_295 + .saturating_add(Weight::from_parts(9_599_945, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(T::DbWeight::get().writes(7)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCurrencies::NextAssetId` (r:1 w:1) - /// Proof: `BondedCurrencies::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(994), added: 3469, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:1) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Account` (r:1 w:1) @@ -123,77 +131,75 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// Storage: `BondedFungibles::Asset` (r:50 w:50) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Metadata` (r:50 w:50) - /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Pools` (r:0 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn create_pool_lmsr(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `475` - // Estimated: `4273 + c * (2685 ±0)` - // Minimum execution time: 42_177_000 picoseconds. - Weight::from_parts(42_240_143, 0) - .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 36_961 - .saturating_add(Weight::from_parts(6_287_254, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `517` + // Estimated: `4459 + c * (2685 ±0)` + // Minimum execution time: 81_702_000 picoseconds. + Weight::from_parts(74_096_513, 0) + .saturating_add(Weight::from_parts(0, 4459)) + // Standard Error: 5_432 + .saturating_add(Weight::from_parts(9_667_392, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(T::DbWeight::get().writes(7)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } /// Storage: `BondedCurrencies::Pools` (r:1 w:0) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(994), added: 3469, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:1 w:1) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) fn reset_team() -> Weight { // Proof Size summary in bytes: - // Measured: `535` - // Estimated: `4443` - // Minimum execution time: 10_928_000 picoseconds. - Weight::from_parts(11_491_000, 0) - .saturating_add(Weight::from_parts(0, 4443)) + // Measured: `551` + // Estimated: `4459` + // Minimum execution time: 22_782_000 picoseconds. + Weight::from_parts(23_124_000, 0) + .saturating_add(Weight::from_parts(0, 4459)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BondedCurrencies::Pools` (r:1 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(994), added: 3469, mode: `MaxEncodedLen`) fn reset_manager() -> Weight { // Proof Size summary in bytes: - // Measured: `255` - // Estimated: `4443` - // Minimum execution time: 6_171_000 picoseconds. - Weight::from_parts(6_652_000, 0) - .saturating_add(Weight::from_parts(0, 4443)) + // Measured: `271` + // Estimated: `4459` + // Minimum execution time: 14_318_000 picoseconds. + Weight::from_parts(14_588_000, 0) + .saturating_add(Weight::from_parts(0, 4459)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BondedCurrencies::Pools` (r:1 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(994), added: 3469, mode: `MaxEncodedLen`) fn set_lock() -> Weight { // Proof Size summary in bytes: - // Measured: `255` - // Estimated: `4443` - // Minimum execution time: 6_336_000 picoseconds. - Weight::from_parts(6_662_000, 0) - .saturating_add(Weight::from_parts(0, 4443)) + // Measured: `271` + // Estimated: `4459` + // Minimum execution time: 14_171_000 picoseconds. + Weight::from_parts(14_603_000, 0) + .saturating_add(Weight::from_parts(0, 4459)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BondedCurrencies::Pools` (r:1 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(994), added: 3469, mode: `MaxEncodedLen`) fn unlock() -> Weight { // Proof Size summary in bytes: - // Measured: `257` - // Estimated: `4443` - // Minimum execution time: 6_670_000 picoseconds. - Weight::from_parts(6_959_000, 0) - .saturating_add(Weight::from_parts(0, 4443)) + // Measured: `273` + // Estimated: `4459` + // Minimum execution time: 14_098_000 picoseconds. + Weight::from_parts(14_428_000, 0) + .saturating_add(Weight::from_parts(0, 4459)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BondedCurrencies::Pools` (r:1 w:0) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(994), added: 3469, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:1) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Metadata` (r:1 w:0) @@ -209,20 +215,20 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// The range of component `c` is `[1, 50]`. fn mint_into_polynomial(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `920 + c * (221 ±0)` + // Measured: `936 + c * (221 ±0)` // Estimated: `7404 + c * (2685 ±0)` - // Minimum execution time: 50_842_000 picoseconds. - Weight::from_parts(49_324_659, 0) + // Minimum execution time: 85_234_000 picoseconds. + Weight::from_parts(84_504_357, 0) .saturating_add(Weight::from_parts(0, 7404)) - // Standard Error: 6_548 - .saturating_add(Weight::from_parts(1_841_027, 0).saturating_mul(c.into())) + // Standard Error: 4_342 + .saturating_add(Weight::from_parts(2_619_015, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } /// Storage: `BondedCurrencies::Pools` (r:1 w:0) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(994), added: 3469, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:1) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Metadata` (r:1 w:0) @@ -238,20 +244,20 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// The range of component `c` is `[1, 50]`. fn mint_into_square_root(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `904 + c * (221 ±0)` + // Measured: `920 + c * (221 ±0)` // Estimated: `7404 + c * (2685 ±0)` - // Minimum execution time: 85_145_000 picoseconds. - Weight::from_parts(86_694_260, 0) + // Minimum execution time: 147_302_000 picoseconds. + Weight::from_parts(148_255_371, 0) .saturating_add(Weight::from_parts(0, 7404)) - // Standard Error: 8_592 - .saturating_add(Weight::from_parts(1_789_314, 0).saturating_mul(c.into())) + // Standard Error: 6_084 + .saturating_add(Weight::from_parts(2_612_111, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } /// Storage: `BondedCurrencies::Pools` (r:1 w:0) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(994), added: 3469, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:1) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Metadata` (r:1 w:0) @@ -267,20 +273,20 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// The range of component `c` is `[1, 50]`. fn mint_into_lmsr(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `888 + c * (221 ±0)` + // Measured: `904 + c * (221 ±0)` // Estimated: `7404 + c * (2685 ±0)` - // Minimum execution time: 50_361_000 picoseconds. - Weight::from_parts(40_047_834, 0) + // Minimum execution time: 85_960_000 picoseconds. + Weight::from_parts(63_916_286, 0) .saturating_add(Weight::from_parts(0, 7404)) - // Standard Error: 40_577 - .saturating_add(Weight::from_parts(21_995_638, 0).saturating_mul(c.into())) + // Standard Error: 49_377 + .saturating_add(Weight::from_parts(40_501_187, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } /// Storage: `BondedCurrencies::Pools` (r:1 w:0) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(994), added: 3469, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:1) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Metadata` (r:1 w:0) @@ -296,20 +302,20 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// The range of component `c` is `[1, 50]`. fn burn_into_polynomial(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `951 + c * (221 ±0)` + // Measured: `967 + c * (221 ±0)` // Estimated: `7404 + c * (2685 ±0)` - // Minimum execution time: 62_249_000 picoseconds. - Weight::from_parts(64_914_622, 0) + // Minimum execution time: 103_691_000 picoseconds. + Weight::from_parts(103_366_731, 0) .saturating_add(Weight::from_parts(0, 7404)) - // Standard Error: 7_210 - .saturating_add(Weight::from_parts(1_757_444, 0).saturating_mul(c.into())) + // Standard Error: 5_225 + .saturating_add(Weight::from_parts(2_640_765, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } /// Storage: `BondedCurrencies::Pools` (r:1 w:0) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(994), added: 3469, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:1) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Metadata` (r:1 w:0) @@ -325,20 +331,20 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// The range of component `c` is `[1, 50]`. fn burn_into_square_root(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `935 + c * (221 ±0)` + // Measured: `951 + c * (221 ±0)` // Estimated: `7404 + c * (2685 ±0)` - // Minimum execution time: 121_427_000 picoseconds. - Weight::from_parts(129_487_545, 0) + // Minimum execution time: 221_502_000 picoseconds. + Weight::from_parts(223_248_249, 0) .saturating_add(Weight::from_parts(0, 7404)) - // Standard Error: 11_788 - .saturating_add(Weight::from_parts(1_730_380, 0).saturating_mul(c.into())) + // Standard Error: 6_155 + .saturating_add(Weight::from_parts(2_618_474, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } /// Storage: `BondedCurrencies::Pools` (r:1 w:0) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(994), added: 3469, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:1) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Metadata` (r:1 w:0) @@ -354,20 +360,20 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// The range of component `c` is `[1, 50]`. fn burn_into_lmsr(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `919 + c * (221 ±0)` + // Measured: `935 + c * (221 ±0)` // Estimated: `7404 + c * (2685 ±0)` - // Minimum execution time: 61_435_000 picoseconds. - Weight::from_parts(59_579_661, 0) + // Minimum execution time: 105_406_000 picoseconds. + Weight::from_parts(58_619_419, 0) .saturating_add(Weight::from_parts(0, 7404)) - // Standard Error: 119_625 - .saturating_add(Weight::from_parts(54_327_998, 0).saturating_mul(c.into())) + // Standard Error: 85_269 + .saturating_add(Weight::from_parts(104_263_426, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } /// Storage: `BondedCurrencies::Pools` (r:1 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(994), added: 3469, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Account` (r:1 w:0) /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:50) @@ -375,13 +381,13 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// The range of component `c` is `[1, 50]`. fn start_destroy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `331 + c * (221 ±0)` - // Estimated: `4443 + c * (2685 ±0)` - // Minimum execution time: 14_314_000 picoseconds. - Weight::from_parts(13_371_473, 0) - .saturating_add(Weight::from_parts(0, 4443)) - // Standard Error: 8_501 - .saturating_add(Weight::from_parts(3_998_524, 0).saturating_mul(c.into())) + // Measured: `347 + c * (221 ±0)` + // Estimated: `4459 + c * (2685 ±0)` + // Minimum execution time: 28_281_000 picoseconds. + Weight::from_parts(26_391_181, 0) + .saturating_add(Weight::from_parts(0, 4459)) + // Standard Error: 7_795 + .saturating_add(Weight::from_parts(5_940_659, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -389,19 +395,19 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } /// Storage: `BondedCurrencies::Pools` (r:1 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(994), added: 3469, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:50) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn force_start_destroy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `257 + c * (221 ±0)` - // Estimated: `4443 + c * (2685 ±0)` - // Minimum execution time: 11_754_000 picoseconds. - Weight::from_parts(10_155_072, 0) - .saturating_add(Weight::from_parts(0, 4443)) - // Standard Error: 8_562 - .saturating_add(Weight::from_parts(3_986_961, 0).saturating_mul(c.into())) + // Measured: `273 + c * (221 ±0)` + // Estimated: `4459 + c * (2685 ±0)` + // Minimum execution time: 24_500_000 picoseconds. + Weight::from_parts(21_654_365, 0) + .saturating_add(Weight::from_parts(0, 4459)) + // Standard Error: 7_464 + .saturating_add(Weight::from_parts(5_946_204, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -409,35 +415,37 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } /// Storage: `BondedCurrencies::Pools` (r:1 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(994), added: 3469, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:50) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Metadata` (r:50 w:0) - /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Account` (r:1 w:0) /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:1) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn finish_destroy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `462 + c * (221 ±0)` - // Estimated: `4443 + c * (2685 ±0)` - // Minimum execution time: 32_123_000 picoseconds. - Weight::from_parts(29_869_399, 0) - .saturating_add(Weight::from_parts(0, 4443)) - // Standard Error: 12_268 - .saturating_add(Weight::from_parts(4_934_515, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `664 + c * (221 ±0)` + // Estimated: `4459 + c * (2685 ±0)` + // Minimum execution time: 70_126_000 picoseconds. + Weight::from_parts(66_480_936, 0) + .saturating_add(Weight::from_parts(0, 4459)) + // Standard Error: 8_274 + .saturating_add(Weight::from_parts(7_236_493, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } /// Storage: `BondedCurrencies::Pools` (r:1 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(994), added: 3469, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Account` (r:1 w:0) /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:1 w:0) @@ -445,18 +453,18 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// The range of component `c` is `[1, 50]`. fn start_refund(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `967 + c * (12 ±0)` - // Estimated: `4443` - // Minimum execution time: 13_364_000 picoseconds. - Weight::from_parts(14_713_024, 0) - .saturating_add(Weight::from_parts(0, 4443)) - // Standard Error: 1_227 - .saturating_add(Weight::from_parts(54_572, 0).saturating_mul(c.into())) + // Measured: `983 + c * (12 ±0)` + // Estimated: `4459` + // Minimum execution time: 25_937_000 picoseconds. + Weight::from_parts(28_035_196, 0) + .saturating_add(Weight::from_parts(0, 4459)) + // Standard Error: 1_111 + .saturating_add(Weight::from_parts(54_186, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BondedCurrencies::Pools` (r:1 w:1) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(994), added: 3469, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Account` (r:1 w:0) /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:1 w:0) @@ -464,18 +472,18 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// The range of component `c` is `[1, 50]`. fn force_start_refund(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `902 + c * (12 ±0)` - // Estimated: `4443` - // Minimum execution time: 13_807_000 picoseconds. - Weight::from_parts(15_020_098, 0) - .saturating_add(Weight::from_parts(0, 4443)) - // Standard Error: 1_489 - .saturating_add(Weight::from_parts(57_029, 0).saturating_mul(c.into())) + // Measured: `918 + c * (12 ±0)` + // Estimated: `4459` + // Minimum execution time: 26_390_000 picoseconds. + Weight::from_parts(28_530_380, 0) + .saturating_add(Weight::from_parts(0, 4459)) + // Standard Error: 1_022 + .saturating_add(Weight::from_parts(45_875, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `BondedCurrencies::Pools` (r:1 w:0) - /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(994), added: 3469, mode: `MaxEncodedLen`) /// Storage: `Fungibles::Account` (r:2 w:2) /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:50 w:1) @@ -489,13 +497,13 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// The range of component `c` is `[1, 50]`. fn refund_account(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `919 + c * (221 ±0)` + // Measured: `935 + c * (221 ±0)` // Estimated: `7404 + c * (2685 ±0)` - // Minimum execution time: 64_612_000 picoseconds. - Weight::from_parts(67_254_926, 0) + // Minimum execution time: 108_444_000 picoseconds. + Weight::from_parts(108_948_858, 0) .saturating_add(Weight::from_parts(0, 7404)) - // Standard Error: 7_576 - .saturating_add(Weight::from_parts(1_730_580, 0).saturating_mul(c.into())) + // Standard Error: 27_340 + .saturating_add(Weight::from_parts(2_587_411, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6)) @@ -514,7 +522,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4273 + > 4459 ); } #[test] @@ -526,7 +534,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4273 + > 4459 ); } #[test] @@ -538,7 +546,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4273 + > 4459 ); } #[test] @@ -550,7 +558,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4443 + > 4459 ); } #[test] @@ -562,7 +570,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4443 + > 4459 ); } #[test] @@ -574,7 +582,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4443 + > 4459 ); } #[test] @@ -586,7 +594,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4443 + > 4459 ); } #[test] @@ -670,7 +678,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4443 + > 4459 ); } #[test] @@ -682,7 +690,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4443 + > 4459 ); } #[test] @@ -694,7 +702,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4443 + > 4459 ); } #[test] @@ -706,7 +714,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4443 + > 4459 ); } #[test] @@ -718,7 +726,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4443 + > 4459 ); } #[test] diff --git a/runtimes/peregrine/src/weights/pallet_collective.rs b/runtimes/peregrine/src/weights/pallet_collective.rs index 545e4bf131..9da33510ba 100644 --- a/runtimes/peregrine/src/weights/pallet_collective.rs +++ b/runtimes/peregrine/src/weights/pallet_collective.rs @@ -19,22 +19,19 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// ./target/release/kilt-parachain // benchmark // pallet // --heap-pages=4096 // --chain=dev // --pallet=pallet-collective // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs // --output=./runtimes/peregrine/src/weights/ @@ -50,216 +47,252 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { /// Storage: `Council::Members` (r:1 w:1) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:0) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Voting` (r:100 w:100) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Prime` (r:0 w:1) - /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + m * (3228 ±0) + p * (3195 ±0)` - // Estimated: `990` - // Minimum execution time: 369_621_000 picoseconds. - Weight::from_parts(369_621_000, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 17_102_279 - .saturating_add(Weight::from_parts(91_979_117, 0).saturating_mul(m.into())) - // Standard Error: 17_102_279 - .saturating_add(Weight::from_parts(90_212_097, 0).saturating_mul(p.into())) + // Measured: `0 + m * (3232 ±0) + p * (3194 ±0)` + // Estimated: `15736 + m * (1967 ±23) + p * (4336 ±23)` + // Minimum execution time: 17_148_000 picoseconds. + Weight::from_parts(17_324_000, 0) + .saturating_add(Weight::from_parts(0, 15736)) + // Standard Error: 62_071 + .saturating_add(Weight::from_parts(5_073_570, 0).saturating_mul(m.into())) + // Standard Error: 62_071 + .saturating_add(Weight::from_parts(7_579_039, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) .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(m.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 4336).saturating_mul(p.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. - fn execute(b: u32, _m: u32, ) -> Weight { + fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `68 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 625_331_000 picoseconds. - Weight::from_parts(787_644_463, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 16_228 - .saturating_add(Weight::from_parts(62_712, 0).saturating_mul(b.into())) + // Measured: `69 + m * (32 ±0)` + // Estimated: `1555 + m * (32 ±0)` + // Minimum execution time: 14_527_000 picoseconds. + Weight::from_parts(13_716_968, 0) + .saturating_add(Weight::from_parts(0, 1555)) + // Standard Error: 18 + .saturating_add(Weight::from_parts(1_385, 0).saturating_mul(b.into())) + // Standard Error: 190 + .saturating_add(Weight::from_parts(15_692, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:1 w:0) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `68 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 711_111_000 picoseconds. - Weight::from_parts(658_477_137, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 17_555 - .saturating_add(Weight::from_parts(171_729, 0).saturating_mul(b.into())) - // Standard Error: 181_226 - .saturating_add(Weight::from_parts(522_904, 0).saturating_mul(m.into())) + // Measured: `69 + m * (32 ±0)` + // Estimated: `3535 + m * (32 ±0)` + // Minimum execution time: 17_170_000 picoseconds. + Weight::from_parts(16_359_475, 0) + .saturating_add(Weight::from_parts(0, 3535)) + // Standard Error: 21 + .saturating_add(Weight::from_parts(1_480, 0).saturating_mul(b.into())) + // Standard Error: 216 + .saturating_add(Weight::from_parts(25_312, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:1 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalCount` (r:1 w:1) - /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Voting` (r:0 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. - fn propose_proposed(b: u32, _m: u32, p: u32, ) -> Weight { + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4 + m * (32 ±0) + p * (39 ±0)` - // Estimated: `990` - // Minimum execution time: 775_269_000 picoseconds. - Weight::from_parts(905_763_953, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 89_660 - .saturating_add(Weight::from_parts(3_241, 0).saturating_mul(b.into())) - // Standard Error: 925_589 - .saturating_add(Weight::from_parts(5_095_420, 0).saturating_mul(p.into())) + // Measured: `359 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `3751 + m * (33 ±0) + p * (36 ±0)` + // Minimum execution time: 22_743_000 picoseconds. + Weight::from_parts(23_238_689, 0) + .saturating_add(Weight::from_parts(0, 3751)) + // Standard Error: 64 + .saturating_add(Weight::from_parts(2_135, 0).saturating_mul(b.into())) + // Standard Error: 670 + .saturating_add(Weight::from_parts(17_964, 0).saturating_mul(m.into())) + // Standard Error: 661 + .saturating_add(Weight::from_parts(127_287, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. - fn vote(_m: u32, ) -> Weight { + fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `811 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 801_344_000 picoseconds. - Weight::from_parts(8_168_627_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `812 + m * (64 ±0)` + // Estimated: `4276 + m * (64 ±0)` + // Minimum execution time: 20_468_000 picoseconds. + Weight::from_parts(20_839_809, 0) + .saturating_add(Weight::from_parts(0, 4276)) + // Standard Error: 294 + .saturating_add(Weight::from_parts(33_432, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:0 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_early_disapproved(_m: u32, p: u32, ) -> Weight { + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `185 + m * (64 ±0) + p * (38 ±0)` - // Estimated: `990` - // Minimum execution time: 869_858_000 picoseconds. - Weight::from_parts(951_242_033, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 608_221 - .saturating_add(Weight::from_parts(3_301_904, 0).saturating_mul(p.into())) + // Measured: `401 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3846 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 24_822_000 picoseconds. + Weight::from_parts(25_392_460, 0) + .saturating_add(Weight::from_parts(0, 3846)) + // Standard Error: 521 + .saturating_add(Weight::from_parts(20_467, 0).saturating_mul(m.into())) + // Standard Error: 508 + .saturating_add(Weight::from_parts(120_613, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:1 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_early_approved(_b: u32, _m: u32, _p: u32, ) -> Weight { + fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `400 + m * (64 ±0) + p * (44 ±0)` - // Estimated: `990` - // Minimum execution time: 1_416_290_000 picoseconds. - Weight::from_parts(27_075_651_756, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `703 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4020 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 34_809_000 picoseconds. + Weight::from_parts(35_895_669, 0) + .saturating_add(Weight::from_parts(0, 4020)) + // Standard Error: 168 + .saturating_add(Weight::from_parts(2_273, 0).saturating_mul(b.into())) + // Standard Error: 1_737 + .saturating_add(Weight::from_parts(157_797, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Prime` (r:1 w:0) - /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:0 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_disapproved(_m: u32, _p: u32, ) -> Weight { + fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `205 + m * (64 ±0) + p * (38 ±0)` - // Estimated: `990` - // Minimum execution time: 1_168_659_000 picoseconds. - Weight::from_parts(1_589_757_573, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `421 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3866 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 27_128_000 picoseconds. + Weight::from_parts(27_416_378, 0) + .saturating_add(Weight::from_parts(0, 3866)) + // Standard Error: 516 + .saturating_add(Weight::from_parts(24_816, 0).saturating_mul(m.into())) + // Standard Error: 503 + .saturating_add(Weight::from_parts(120_360, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Prime` (r:1 w:0) - /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:1 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_approved(_b: u32, _m: u32, p: u32, ) -> Weight { + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `420 + m * (64 ±0) + p * (44 ±0)` - // Estimated: `990` - // Minimum execution time: 1_204_090_000 picoseconds. - Weight::from_parts(33_870_289_808, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 2_576_837 - .saturating_add(Weight::from_parts(8_788_127, 0).saturating_mul(p.into())) + // Measured: `723 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4040 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 36_187_000 picoseconds. + Weight::from_parts(37_956_645, 0) + .saturating_add(Weight::from_parts(0, 4040)) + // Standard Error: 175 + .saturating_add(Weight::from_parts(1_943, 0).saturating_mul(b.into())) + // Standard Error: 1_809 + .saturating_add(Weight::from_parts(160_125, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Voting` (r:0 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:0 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. - fn disapprove_proposal(_p: u32, ) -> Weight { + fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `224 + p * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 754_675_000 picoseconds. - Weight::from_parts(1_018_024_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `226 + p * (32 ±0)` + // Estimated: `1711 + p * (32 ±0)` + // Minimum execution time: 14_146_000 picoseconds. + Weight::from_parts(15_915_543, 0) + .saturating_add(Weight::from_parts(0, 1711)) + // Standard Error: 541 + .saturating_add(Weight::from_parts(115_457, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } @@ -274,7 +307,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 15736 ); } #[test] @@ -286,7 +319,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 1555 ); } #[test] @@ -298,7 +331,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3535 ); } #[test] @@ -310,7 +343,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3751 ); } #[test] @@ -322,7 +355,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4276 ); } #[test] @@ -334,7 +367,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3846 ); } #[test] @@ -346,7 +379,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4020 ); } #[test] @@ -358,7 +391,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3866 ); } #[test] @@ -370,7 +403,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4040 ); } #[test] @@ -382,7 +415,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 1711 ); } } diff --git a/runtimes/peregrine/src/weights/pallet_democracy.rs b/runtimes/peregrine/src/weights/pallet_democracy.rs index 13ee2cd57f..597a3e6d8f 100644 --- a/runtimes/peregrine/src/weights/pallet_democracy.rs +++ b/runtimes/peregrine/src/weights/pallet_democracy.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev // --pallet=pallet-democracy // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_democracy.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -61,8 +58,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4738` // Estimated: `18187` - // Minimum execution time: 37_810_000 picoseconds. - Weight::from_parts(38_244_000, 0) + // Minimum execution time: 37_803_000 picoseconds. + Weight::from_parts(38_421_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -73,8 +70,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3493` // Estimated: `6695` - // Minimum execution time: 35_733_000 picoseconds. - Weight::from_parts(36_270_000, 0) + // Minimum execution time: 35_355_000 picoseconds. + Weight::from_parts(35_989_000, 0) .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -91,8 +88,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3475` // Estimated: `7264` - // Minimum execution time: 49_425_000 picoseconds. - Weight::from_parts(50_168_000, 0) + // Minimum execution time: 49_555_000 picoseconds. + Weight::from_parts(50_149_000, 0) .saturating_add(Weight::from_parts(0, 7264)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -109,8 +106,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3497` // Estimated: `7264` - // Minimum execution time: 51_698_000 picoseconds. - Weight::from_parts(52_387_000, 0) + // Minimum execution time: 52_758_000 picoseconds. + Weight::from_parts(53_229_000, 0) .saturating_add(Weight::from_parts(0, 7264)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -125,8 +122,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3674` - // Minimum execution time: 24_459_000 picoseconds. - Weight::from_parts(25_024_000, 0) + // Minimum execution time: 24_858_000 picoseconds. + Weight::from_parts(25_400_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -149,8 +146,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `5999` // Estimated: `18187` - // Minimum execution time: 93_232_000 picoseconds. - Weight::from_parts(95_242_000, 0) + // Minimum execution time: 94_357_000 picoseconds. + Weight::from_parts(95_462_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) @@ -163,8 +160,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3353` // Estimated: `6707` - // Minimum execution time: 12_945_000 picoseconds. - Weight::from_parts(13_531_000, 0) + // Minimum execution time: 12_889_000 picoseconds. + Weight::from_parts(13_379_000, 0) .saturating_add(Weight::from_parts(0, 6707)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -175,8 +172,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_979_000 picoseconds. - Weight::from_parts(3_087_000, 0) + // Minimum execution time: 2_921_000 picoseconds. + Weight::from_parts(3_089_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -186,8 +183,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_904_000 picoseconds. - Weight::from_parts(3_032_000, 0) + // Minimum execution time: 2_866_000 picoseconds. + Weight::from_parts(3_115_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -203,8 +200,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 23_538_000 picoseconds. - Weight::from_parts(24_008_000, 0) + // Minimum execution time: 24_030_000 picoseconds. + Weight::from_parts(24_480_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) @@ -219,8 +216,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3456` // Estimated: `6707` - // Minimum execution time: 27_422_000 picoseconds. - Weight::from_parts(27_731_000, 0) + // Minimum execution time: 27_269_000 picoseconds. + Weight::from_parts(27_704_000, 0) .saturating_add(Weight::from_parts(0, 6707)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -237,8 +234,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `5902` // Estimated: `18187` - // Minimum execution time: 78_910_000 picoseconds. - Weight::from_parts(80_065_000, 0) + // Minimum execution time: 77_752_000 picoseconds. + Weight::from_parts(78_341_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -251,8 +248,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `204` // Estimated: `3518` - // Minimum execution time: 17_492_000 picoseconds. - Weight::from_parts(17_789_000, 0) + // Minimum execution time: 18_048_000 picoseconds. + Weight::from_parts(18_493_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -268,11 +265,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `177 + r * (94 ±0)` // Estimated: `1489 + r * (2684 ±0)` - // Minimum execution time: 5_669_000 picoseconds. - Weight::from_parts(9_140_297, 0) + // Minimum execution time: 5_802_000 picoseconds. + Weight::from_parts(9_216_758, 0) .saturating_add(Weight::from_parts(0, 1489)) - // Standard Error: 6_433 - .saturating_add(Weight::from_parts(2_864_062, 0).saturating_mul(r.into())) + // Standard Error: 8_504 + .saturating_add(Weight::from_parts(2_897_410, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -295,11 +292,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `177 + r * (94 ±0)` // Estimated: `18187 + r * (2684 ±0)` - // Minimum execution time: 8_023_000 picoseconds. - Weight::from_parts(11_420_577, 0) + // Minimum execution time: 8_078_000 picoseconds. + Weight::from_parts(11_562_443, 0) .saturating_add(Weight::from_parts(0, 18187)) - // Standard Error: 6_142 - .saturating_add(Weight::from_parts(2_872_698, 0).saturating_mul(r.into())) + // Standard Error: 5_990 + .saturating_add(Weight::from_parts(2_887_610, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -318,11 +315,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `839 + r * (116 ±0)` // Estimated: `19812 + r * (2684 ±0)` - // Minimum execution time: 42_174_000 picoseconds. - Weight::from_parts(48_592_626, 0) + // Minimum execution time: 42_238_000 picoseconds. + Weight::from_parts(48_320_513, 0) .saturating_add(Weight::from_parts(0, 19812)) - // Standard Error: 6_937 - .saturating_add(Weight::from_parts(3_703_869, 0).saturating_mul(r.into())) + // Standard Error: 6_172 + .saturating_add(Weight::from_parts(3_616_389, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -338,11 +335,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `434 + r * (116 ±0)` // Estimated: `13538 + r * (2684 ±0)` - // Minimum execution time: 19_671_000 picoseconds. - Weight::from_parts(22_169_927, 0) + // Minimum execution time: 19_699_000 picoseconds. + Weight::from_parts(21_086_498, 0) .saturating_add(Weight::from_parts(0, 13538)) - // Standard Error: 6_629 - .saturating_add(Weight::from_parts(3_658_094, 0).saturating_mul(r.into())) + // Standard Error: 6_087 + .saturating_add(Weight::from_parts(3_644_765, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -355,8 +352,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_184_000 picoseconds. - Weight::from_parts(3_384_000, 0) + // Minimum execution time: 3_301_000 picoseconds. + Weight::from_parts(3_396_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -373,11 +370,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `484` // Estimated: `7264` - // Minimum execution time: 23_557_000 picoseconds. - Weight::from_parts(33_577_642, 0) + // Minimum execution time: 23_513_000 picoseconds. + Weight::from_parts(33_497_648, 0) .saturating_add(Weight::from_parts(0, 7264)) - // Standard Error: 2_265 - .saturating_add(Weight::from_parts(35_028, 0).saturating_mul(r.into())) + // Standard Error: 2_263 + .saturating_add(Weight::from_parts(37_105, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -394,11 +391,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `485 + r * (22 ±0)` // Estimated: `7264` - // Minimum execution time: 32_888_000 picoseconds. - Weight::from_parts(34_545_478, 0) + // Minimum execution time: 32_555_000 picoseconds. + Weight::from_parts(34_783_685, 0) .saturating_add(Weight::from_parts(0, 7264)) - // Standard Error: 672 - .saturating_add(Weight::from_parts(62_263, 0).saturating_mul(r.into())) + // Standard Error: 756 + .saturating_add(Weight::from_parts(60_346, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -411,11 +408,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `673 + r * (26 ±0)` // Estimated: `7264` - // Minimum execution time: 16_972_000 picoseconds. - Weight::from_parts(19_710_191, 0) + // Minimum execution time: 16_742_000 picoseconds. + Weight::from_parts(19_353_643, 0) .saturating_add(Weight::from_parts(0, 7264)) - // Standard Error: 1_020 - .saturating_add(Weight::from_parts(68_259, 0).saturating_mul(r.into())) + // Standard Error: 960 + .saturating_add(Weight::from_parts(67_898, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -428,11 +425,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `673 + r * (26 ±0)` // Estimated: `7264` - // Minimum execution time: 17_055_000 picoseconds. - Weight::from_parts(19_833_390, 0) + // Minimum execution time: 16_983_000 picoseconds. + Weight::from_parts(19_462_080, 0) .saturating_add(Weight::from_parts(0, 7264)) - // Standard Error: 1_065 - .saturating_add(Weight::from_parts(71_214, 0).saturating_mul(r.into())) + // Standard Error: 956 + .saturating_add(Weight::from_parts(68_343, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -448,8 +445,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `356` // Estimated: `3556` - // Minimum execution time: 18_410_000 picoseconds. - Weight::from_parts(18_909_000, 0) + // Minimum execution time: 18_814_000 picoseconds. + Weight::from_parts(19_260_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -462,8 +459,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 15_561_000 picoseconds. - Weight::from_parts(15_873_000, 0) + // Minimum execution time: 15_948_000 picoseconds. + Weight::from_parts(16_176_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -480,8 +477,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4888` // Estimated: `18187` - // Minimum execution time: 38_177_000 picoseconds. - Weight::from_parts(38_935_000, 0) + // Minimum execution time: 37_904_000 picoseconds. + Weight::from_parts(38_317_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -494,8 +491,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4755` // Estimated: `18187` - // Minimum execution time: 34_101_000 picoseconds. - Weight::from_parts(34_544_000, 0) + // Minimum execution time: 33_824_000 picoseconds. + Weight::from_parts(34_183_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -510,8 +507,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 15_654_000 picoseconds. - Weight::from_parts(15_946_000, 0) + // Minimum execution time: 15_861_000 picoseconds. + Weight::from_parts(16_015_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -524,8 +521,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `239` // Estimated: `3674` - // Minimum execution time: 17_949_000 picoseconds. - Weight::from_parts(18_489_000, 0) + // Minimum execution time: 18_430_000 picoseconds. + Weight::from_parts(18_661_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtimes/peregrine/src/weights/pallet_deposit_storage.rs b/runtimes/peregrine/src/weights/pallet_deposit_storage.rs index 0b821fd18f..b511cfc9e1 100644 --- a/runtimes/peregrine/src/weights/pallet_deposit_storage.rs +++ b/runtimes/peregrine/src/weights/pallet_deposit_storage.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_deposit_storage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev // --pallet=pallet-deposit-storage // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_deposit_storage.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -54,16 +51,16 @@ impl pallet_deposit_storage::WeightInfo for WeightInfo< /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `DipProvider::IdentityCommitments` (r:1 w:1) /// Proof: `DipProvider::IdentityCommitments` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) fn reclaim_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `577` - // Estimated: `3658` - // Minimum execution time: 49_261_000 picoseconds. - Weight::from_parts(49_729_000, 0) - .saturating_add(Weight::from_parts(0, 3658)) + // Estimated: `3784` + // Minimum execution time: 50_657_000 picoseconds. + Weight::from_parts(51_278_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -80,7 +77,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3658 + > 3784 ); } } diff --git a/runtimes/peregrine/src/weights/pallet_did_lookup.rs b/runtimes/peregrine/src/weights/pallet_did_lookup.rs index 5f8d02e81f..86f6acb2c2 100644 --- a/runtimes/peregrine/src/weights/pallet_did_lookup.rs +++ b/runtimes/peregrine/src/weights/pallet_did_lookup.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_did_lookup` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -49,7 +49,7 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:2) @@ -59,17 +59,17 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { fn associate_account_multisig_sr25519() -> Weight { // Proof Size summary in bytes: // Measured: `462` - // Estimated: `3766` - // Minimum execution time: 134_138_000 picoseconds. - Weight::from_parts(135_335_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 128_137_000 picoseconds. + Weight::from_parts(129_546_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:2) @@ -79,17 +79,17 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { fn associate_account_multisig_ed25519() -> Weight { // Proof Size summary in bytes: // Measured: `462` - // Estimated: `3766` - // Minimum execution time: 144_488_000 picoseconds. - Weight::from_parts(145_325_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 140_713_000 picoseconds. + Weight::from_parts(141_432_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:2) @@ -99,17 +99,17 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { fn associate_account_multisig_ecdsa() -> Weight { // Proof Size summary in bytes: // Measured: `462` - // Estimated: `3766` - // Minimum execution time: 135_063_000 picoseconds. - Weight::from_parts(136_676_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 130_079_000 picoseconds. + Weight::from_parts(131_827_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:2) @@ -119,17 +119,17 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { fn associate_eth_account() -> Weight { // Proof Size summary in bytes: // Measured: `449` - // Estimated: `3766` - // Minimum execution time: 135_528_000 picoseconds. - Weight::from_parts(137_337_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 132_306_000 picoseconds. + Weight::from_parts(133_307_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:2) @@ -139,10 +139,10 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { fn associate_sender() -> Weight { // Proof Size summary in bytes: // Measured: `462` - // Estimated: `3766` - // Minimum execution time: 87_591_000 picoseconds. - Weight::from_parts(88_240_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 82_923_000 picoseconds. + Weight::from_parts(83_686_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -153,16 +153,16 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:1) /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) fn remove_sender_association() -> Weight { // Proof Size summary in bytes: // Measured: `540` - // Estimated: `3766` - // Minimum execution time: 49_033_000 picoseconds. - Weight::from_parts(49_721_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 47_431_000 picoseconds. + Weight::from_parts(48_021_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -173,16 +173,16 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:1) /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) fn remove_account_association() -> Weight { // Proof Size summary in bytes: // Measured: `540` - // Estimated: `3766` - // Minimum execution time: 50_361_000 picoseconds. - Weight::from_parts(51_088_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 48_997_000 picoseconds. + Weight::from_parts(49_574_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -193,14 +193,14 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: // Measured: `647` - // Estimated: `6542` - // Minimum execution time: 83_991_000 picoseconds. - Weight::from_parts(84_807_000, 0) - .saturating_add(Weight::from_parts(0, 6542)) + // Estimated: `6578` + // Minimum execution time: 81_430_000 picoseconds. + Weight::from_parts(81_952_000, 0) + .saturating_add(Weight::from_parts(0, 6578)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -211,14 +211,14 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `540` - // Estimated: `3766` - // Minimum execution time: 74_804_000 picoseconds. - Weight::from_parts(75_574_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 72_008_000 picoseconds. + Weight::from_parts(72_841_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -235,7 +235,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -247,7 +247,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -259,7 +259,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -271,7 +271,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -283,7 +283,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -295,7 +295,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -307,7 +307,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -319,7 +319,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6542 + > 6578 ); } #[test] @@ -331,7 +331,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } } diff --git a/runtimes/peregrine/src/weights/pallet_dip_provider.rs b/runtimes/peregrine/src/weights/pallet_dip_provider.rs index a8d229a79f..9ba0115075 100644 --- a/runtimes/peregrine/src/weights/pallet_dip_provider.rs +++ b/runtimes/peregrine/src/weights/pallet_dip_provider.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_dip_provider` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev // --pallet=pallet-dip-provider // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_dip_provider.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -66,13 +63,13 @@ impl pallet_dip_provider::WeightInfo for WeightInfo /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn commit_identity() -> Weight { // Proof Size summary in bytes: - // Measured: `2990` + // Measured: `3026` // Estimated: `29282` - // Minimum execution time: 387_079_000 picoseconds. - Weight::from_parts(396_068_000, 0) + // Minimum execution time: 386_926_000 picoseconds. + Weight::from_parts(394_170_000, 0) .saturating_add(Weight::from_parts(0, 29282)) .saturating_add(T::DbWeight::get().reads(19)) .saturating_add(T::DbWeight::get().writes(4)) @@ -84,14 +81,14 @@ impl pallet_dip_provider::WeightInfo for WeightInfo /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn delete_identity_commitment() -> Weight { // Proof Size summary in bytes: // Measured: `671` - // Estimated: `3658` - // Minimum execution time: 54_311_000 picoseconds. - Weight::from_parts(55_995_000, 0) - .saturating_add(Weight::from_parts(0, 3658)) + // Estimated: `3784` + // Minimum execution time: 56_446_000 picoseconds. + Weight::from_parts(57_520_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -120,7 +117,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3658 + > 3784 ); } } diff --git a/runtimes/peregrine/src/weights/pallet_dot_names.rs b/runtimes/peregrine/src/weights/pallet_dot_names.rs index 8ed9cc89e8..45696dd78d 100644 --- a/runtimes/peregrine/src/weights/pallet_dot_names.rs +++ b/runtimes/peregrine/src/weights/pallet_dot_names.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_dot_names` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -43,9 +43,6 @@ use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -// TODO: Remove once the benchmarking stuff fully supports pallet instances. -use pallet_web3_names as pallet_dot_names; - /// Weight functions for `pallet_dot_names`. pub struct WeightInfo(PhantomData); impl pallet_dot_names::WeightInfo for WeightInfo { @@ -58,15 +55,17 @@ impl pallet_dot_names::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// The range of component `n` is `[7, 32]`. - fn claim(_n: u32, ) -> Weight { + fn claim(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `147` - // Estimated: `3766` - // Minimum execution time: 54_613_000 picoseconds. - Weight::from_parts(55_619_514, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 53_749_000 picoseconds. + Weight::from_parts(54_932_088, 0) + .saturating_add(Weight::from_parts(0, 3784)) + // Standard Error: 1_427 + .saturating_add(Weight::from_parts(178, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -77,14 +76,14 @@ impl pallet_dot_names::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn release_by_owner() -> Weight { // Proof Size summary in bytes: // Measured: `474` - // Estimated: `3766` - // Minimum execution time: 45_364_000 picoseconds. - Weight::from_parts(45_792_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 45_126_000 picoseconds. + Weight::from_parts(45_696_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -93,19 +92,19 @@ impl pallet_dot_names::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `DotNames::Names` (r:0 w:1) /// Proof: `DotNames::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) /// The range of component `n` is `[7, 32]`. fn reclaim_deposit(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `370 + n * (1 ±0)` - // Estimated: `3766` - // Minimum execution time: 43_792_000 picoseconds. - Weight::from_parts(44_313_652, 0) - .saturating_add(Weight::from_parts(0, 3766)) - // Standard Error: 1_009 - .saturating_add(Weight::from_parts(18_304, 0).saturating_mul(n.into())) + // Estimated: `3784` + // Minimum execution time: 43_232_000 picoseconds. + Weight::from_parts(43_726_883, 0) + .saturating_add(Weight::from_parts(0, 3784)) + // Standard Error: 970 + .saturating_add(Weight::from_parts(21_495, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -116,19 +115,19 @@ impl pallet_dot_names::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `DotNames::Names` (r:0 w:1) /// Proof: `DotNames::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) /// The range of component `n` is `[7, 32]`. fn ban(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `370 + n * (1 ±0)` - // Estimated: `3766` - // Minimum execution time: 49_299_000 picoseconds. - Weight::from_parts(49_818_704, 0) - .saturating_add(Weight::from_parts(0, 3766)) - // Standard Error: 1_218 - .saturating_add(Weight::from_parts(25_474, 0).saturating_mul(n.into())) + // Estimated: `3784` + // Minimum execution time: 48_778_000 picoseconds. + Weight::from_parts(49_498_875, 0) + .saturating_add(Weight::from_parts(0, 3784)) + // Standard Error: 1_941 + .saturating_add(Weight::from_parts(12_805, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -139,11 +138,11 @@ impl pallet_dot_names::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `84 + n * (1 ±0)` // Estimated: `3514` - // Minimum execution time: 13_100_000 picoseconds. - Weight::from_parts(13_483_676, 0) + // Minimum execution time: 12_667_000 picoseconds. + Weight::from_parts(13_057_859, 0) .saturating_add(Weight::from_parts(0, 3514)) - // Standard Error: 766 - .saturating_add(Weight::from_parts(18_715, 0).saturating_mul(n.into())) + // Standard Error: 1_007 + .saturating_add(Weight::from_parts(22_380, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -154,14 +153,14 @@ impl pallet_dot_names::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: // Measured: `581` - // Estimated: `6542` - // Minimum execution time: 78_216_000 picoseconds. - Weight::from_parts(78_877_000, 0) - .saturating_add(Weight::from_parts(0, 6542)) + // Estimated: `6578` + // Minimum execution time: 77_125_000 picoseconds. + Weight::from_parts(77_615_000, 0) + .saturating_add(Weight::from_parts(0, 6578)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -170,14 +169,14 @@ impl pallet_dot_names::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `403` - // Estimated: `3766` - // Minimum execution time: 67_507_000 picoseconds. - Weight::from_parts(68_038_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 67_124_000 picoseconds. + Weight::from_parts(67_517_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -194,7 +193,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -206,7 +205,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -218,7 +217,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -230,7 +229,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -254,7 +253,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6542 + > 6578 ); } #[test] @@ -266,7 +265,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } } diff --git a/runtimes/peregrine/src/weights/pallet_indices.rs b/runtimes/peregrine/src/weights/pallet_indices.rs index d19ba877d4..5408aa24e8 100644 --- a/runtimes/peregrine/src/weights/pallet_indices.rs +++ b/runtimes/peregrine/src/weights/pallet_indices.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev // --pallet=pallet-indices // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_indices.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -55,8 +52,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3538` - // Minimum execution time: 21_558_000 picoseconds. - Weight::from_parts(21_795_000, 0) + // Minimum execution time: 21_954_000 picoseconds. + Weight::from_parts(22_285_000, 0) .saturating_add(Weight::from_parts(0, 3538)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -69,8 +66,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `249` // Estimated: `3597` - // Minimum execution time: 32_735_000 picoseconds. - Weight::from_parts(33_311_000, 0) + // Minimum execution time: 32_628_000 picoseconds. + Weight::from_parts(32_968_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -81,8 +78,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3538` - // Minimum execution time: 21_836_000 picoseconds. - Weight::from_parts(22_176_000, 0) + // Minimum execution time: 22_397_000 picoseconds. + Weight::from_parts(22_870_000, 0) .saturating_add(Weight::from_parts(0, 3538)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -95,8 +92,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `249` // Estimated: `3597` - // Minimum execution time: 24_857_000 picoseconds. - Weight::from_parts(25_341_000, 0) + // Minimum execution time: 25_272_000 picoseconds. + Weight::from_parts(25_725_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -107,8 +104,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3538` - // Minimum execution time: 22_785_000 picoseconds. - Weight::from_parts(23_367_000, 0) + // Minimum execution time: 23_381_000 picoseconds. + Weight::from_parts(23_749_000, 0) .saturating_add(Weight::from_parts(0, 3538)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtimes/peregrine/src/weights/pallet_inflation.rs b/runtimes/peregrine/src/weights/pallet_inflation.rs index d9567a46d1..076ee7442f 100644 --- a/runtimes/peregrine/src/weights/pallet_inflation.rs +++ b/runtimes/peregrine/src/weights/pallet_inflation.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_inflation` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev // --pallet=pallet-inflation // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_inflation.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -55,8 +52,8 @@ impl pallet_inflation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `107` // Estimated: `3597` - // Minimum execution time: 19_289_000 picoseconds. - Weight::from_parts(19_441_000, 0) + // Minimum execution time: 19_170_000 picoseconds. + Weight::from_parts(19_702_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -65,8 +62,8 @@ impl pallet_inflation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 222_000 picoseconds. - Weight::from_parts(228_000, 0) + // Minimum execution time: 231_000 picoseconds. + Weight::from_parts(256_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtimes/peregrine/src/weights/pallet_membership.rs b/runtimes/peregrine/src/weights/pallet_membership.rs index 333c2fb6b9..97859b42da 100644 --- a/runtimes/peregrine/src/weights/pallet_membership.rs +++ b/runtimes/peregrine/src/weights/pallet_membership.rs @@ -19,22 +19,19 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// ./target/release/kilt-parachain // benchmark // pallet // --heap-pages=4096 // --chain=dev // --pallet=pallet-membership // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs // --output=./runtimes/peregrine/src/weights/ @@ -50,104 +47,133 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_membership::WeightInfo for WeightInfo { /// Storage: `TipsMembership::Members` (r:1 w:1) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) /// The range of component `m` is `[1, 20]`. fn add_member(_m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `135 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 353_129_000 picoseconds. - Weight::from_parts(377_804_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `137 + m * (32 ±0)` + // Estimated: `2158` + // Minimum execution time: 9_924_000 picoseconds. + Weight::from_parts(10_905_884, 0) + .saturating_add(Weight::from_parts(0, 2158)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `TipsMembership::Members` (r:1 w:1) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) /// Storage: `TipsMembership::Prime` (r:1 w:0) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// The range of component `m` is `[2, 21]`. - fn remove_member(_m: u32, ) -> Weight { + fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `189 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 390_037_000 picoseconds. - Weight::from_parts(404_106_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `226 + m * (32 ±0)` + // Estimated: `2158 + m * (32 ±0)` + // Minimum execution time: 12_746_000 picoseconds. + Weight::from_parts(13_197_960, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 1_074 + .saturating_add(Weight::from_parts(33_961, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TipsMembership::Members` (r:1 w:1) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) /// Storage: `TipsMembership::Prime` (r:1 w:0) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// The range of component `m` is `[2, 21]`. - fn swap_member(_m: u32, ) -> Weight { + fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `189 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 393_449_000 picoseconds. - Weight::from_parts(403_152_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `226 + m * (32 ±0)` + // Estimated: `2158 + m * (32 ±0)` + // Minimum execution time: 12_961_000 picoseconds. + Weight::from_parts(13_400_527, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 1_311 + .saturating_add(Weight::from_parts(49_517, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TipsMembership::Members` (r:1 w:1) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) /// Storage: `TipsMembership::Prime` (r:1 w:0) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// The range of component `m` is `[1, 21]`. - fn reset_member(_m: u32, ) -> Weight { + fn reset_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `187 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 448_047_000 picoseconds. - Weight::from_parts(448_683_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `226 + m * (32 ±0)` + // Estimated: `2158 + m * (32 ±0)` + // Minimum execution time: 12_896_000 picoseconds. + Weight::from_parts(13_376_815, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 1_586 + .saturating_add(Weight::from_parts(157_076, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TipsMembership::Members` (r:1 w:1) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) /// Storage: `TipsMembership::Prime` (r:1 w:1) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// The range of component `m` is `[1, 21]`. - fn change_key(_m: u32, ) -> Weight { + fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `187 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 437_193_000 picoseconds. - Weight::from_parts(516_613_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `226 + m * (32 ±0)` + // Estimated: `2158 + m * (32 ±0)` + // Minimum execution time: 13_537_000 picoseconds. + Weight::from_parts(14_053_891, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 1_287 + .saturating_add(Weight::from_parts(30_413, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TipsMembership::Members` (r:1 w:0) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// Storage: `TipsMembership::Prime` (r:0 w:1) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// The range of component `m` is `[1, 21]`. - fn set_prime(_m: u32, ) -> Weight { + fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `135 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 305_850_000 picoseconds. - Weight::from_parts(329_866_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `137 + m * (32 ±0)` + // Estimated: `2158 + m * (32 ±0)` + // Minimum execution time: 7_502_000 picoseconds. + Weight::from_parts(7_897_677, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 733 + .saturating_add(Weight::from_parts(16_368, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// Storage: `TipsMembership::Prime` (r:0 w:1) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// The range of component `m` is `[1, 21]`. - fn clear_prime(_m: u32, ) -> Weight { + fn clear_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 163_207_000 picoseconds. - Weight::from_parts(171_566_000, 0) + // Minimum execution time: 2_713_000 picoseconds. + Weight::from_parts(2_912_894, 0) .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) + // Standard Error: 342 + .saturating_add(Weight::from_parts(1_088, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().writes(2)) } } @@ -162,7 +188,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } #[test] @@ -174,7 +200,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } #[test] @@ -186,7 +212,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } #[test] @@ -198,7 +224,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } #[test] @@ -210,7 +236,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } #[test] @@ -222,7 +248,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } } diff --git a/runtimes/peregrine/src/weights/pallet_message_queue.rs b/runtimes/peregrine/src/weights/pallet_message_queue.rs index 440761e2f6..3f19c5299e 100644 --- a/runtimes/peregrine/src/weights/pallet_message_queue.rs +++ b/runtimes/peregrine/src/weights/pallet_message_queue.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_message_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev -// --pallet=pallet_message_queue +// --pallet=pallet-message-queue // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_message_queue.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -57,8 +54,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `327` // Estimated: `6044` - // Minimum execution time: 12_180_000 picoseconds. - Weight::from_parts(12_729_000, 0) + // Minimum execution time: 12_456_000 picoseconds. + Weight::from_parts(12_829_000, 0) .saturating_add(Weight::from_parts(0, 6044)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -71,8 +68,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `322` // Estimated: `6044` - // Minimum execution time: 11_515_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 11_447_000 picoseconds. + Weight::from_parts(11_904_000, 0) .saturating_add(Weight::from_parts(0, 6044)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -83,8 +80,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `109` // Estimated: `3517` - // Minimum execution time: 5_016_000 picoseconds. - Weight::from_parts(5_341_000, 0) + // Minimum execution time: 4_918_000 picoseconds. + Weight::from_parts(5_102_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -95,8 +92,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `176` // Estimated: `69050` - // Minimum execution time: 6_967_000 picoseconds. - Weight::from_parts(7_226_000, 0) + // Minimum execution time: 6_605_000 picoseconds. + Weight::from_parts(6_868_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -107,8 +104,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `176` // Estimated: `69050` - // Minimum execution time: 6_923_000 picoseconds. - Weight::from_parts(7_168_000, 0) + // Minimum execution time: 6_808_000 picoseconds. + Weight::from_parts(7_039_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -121,8 +118,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 165_732_000 picoseconds. - Weight::from_parts(166_843_000, 0) + // Minimum execution time: 163_166_000 picoseconds. + Weight::from_parts(164_524_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -134,8 +131,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `275` // Estimated: `3517` - // Minimum execution time: 7_412_000 picoseconds. - Weight::from_parts(7_629_000, 0) + // Minimum execution time: 7_472_000 picoseconds. + Weight::from_parts(7_659_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -148,8 +145,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65771` // Estimated: `69050` - // Minimum execution time: 58_384_000 picoseconds. - Weight::from_parts(59_021_000, 0) + // Minimum execution time: 57_860_000 picoseconds. + Weight::from_parts(58_440_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -162,8 +159,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65771` // Estimated: `69050` - // Minimum execution time: 75_498_000 picoseconds. - Weight::from_parts(76_117_000, 0) + // Minimum execution time: 74_892_000 picoseconds. + Weight::from_parts(75_541_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -176,8 +173,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65771` // Estimated: `69050` - // Minimum execution time: 118_738_000 picoseconds. - Weight::from_parts(120_535_000, 0) + // Minimum execution time: 117_319_000 picoseconds. + Weight::from_parts(118_008_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtimes/peregrine/src/weights/pallet_migration.rs b/runtimes/peregrine/src/weights/pallet_migration.rs index a24b3f1293..770a47111d 100644 --- a/runtimes/peregrine/src/weights/pallet_migration.rs +++ b/runtimes/peregrine/src/weights/pallet_migration.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_migration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev // --pallet=pallet-migration // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_migration.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -56,14 +53,14 @@ impl pallet_migration::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn attestation_migration_weight() -> Weight { // Proof Size summary in bytes: - // Measured: `307` - // Estimated: `3660` - // Minimum execution time: 59_342_000 picoseconds. - Weight::from_parts(60_044_000, 0) - .saturating_add(Weight::from_parts(0, 3660)) + // Measured: `344` + // Estimated: `3784` + // Minimum execution time: 61_409_000 picoseconds. + Weight::from_parts(62_133_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -73,8 +70,8 @@ impl pallet_migration::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `115` // Estimated: `3513` - // Minimum execution time: 15_681_000 picoseconds. - Weight::from_parts(16_061_000, 0) + // Minimum execution time: 15_976_000 picoseconds. + Weight::from_parts(16_322_000, 0) .saturating_add(Weight::from_parts(0, 3513)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -85,13 +82,13 @@ impl pallet_migration::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn did_migration_weight() -> Weight { // Proof Size summary in bytes: // Measured: `463` // Estimated: `5777` - // Minimum execution time: 61_231_000 picoseconds. - Weight::from_parts(62_291_000, 0) + // Minimum execution time: 63_780_000 picoseconds. + Weight::from_parts(64_666_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -102,8 +99,8 @@ impl pallet_migration::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78` // Estimated: `3513` - // Minimum execution time: 14_416_000 picoseconds. - Weight::from_parts(14_634_000, 0) + // Minimum execution time: 14_265_000 picoseconds. + Weight::from_parts(14_618_000, 0) .saturating_add(Weight::from_parts(0, 3513)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -113,8 +110,8 @@ impl pallet_migration::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78` // Estimated: `3513` - // Minimum execution time: 14_492_000 picoseconds. - Weight::from_parts(14_920_000, 0) + // Minimum execution time: 14_755_000 picoseconds. + Weight::from_parts(15_082_000, 0) .saturating_add(Weight::from_parts(0, 3513)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -124,8 +121,8 @@ impl pallet_migration::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78` // Estimated: `3513` - // Minimum execution time: 18_474_000 picoseconds. - Weight::from_parts(18_680_000, 0) + // Minimum execution time: 18_688_000 picoseconds. + Weight::from_parts(18_976_000, 0) .saturating_add(Weight::from_parts(0, 3513)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -142,7 +139,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3660 + > 3784 ); } #[test] diff --git a/runtimes/peregrine/src/weights/pallet_multisig.rs b/runtimes/peregrine/src/weights/pallet_multisig.rs index c84e0dfce3..8f73ac9784 100644 --- a/runtimes/peregrine/src/weights/pallet_multisig.rs +++ b/runtimes/peregrine/src/weights/pallet_multisig.rs @@ -16,103 +16,222 @@ // If you feel like getting in touch with us, you can do so at info@botlabs.org -//! Autogenerated weights for pallet_multisig +//! Autogenerated weights for `pallet_multisig` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: // ./target/release/kilt-parachain // benchmark // pallet +// --heap-pages=4096 // --chain=dev -// --steps=50 -// --repeat=20 // --pallet=pallet_multisig -// --execution=wasm -// --wasm-execution=compiled // --extrinsic=* -// --heap-pages=4096 -// --output=./runtimes/peregrine/src/weights/pallet_multisig.rs +// --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] #![allow(clippy::as_conversions)] -#![allow(clippy::unnecessary_cast)] use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weights for `pallet_multisig`. +/// Weight functions for `pallet_multisig`. 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 { - Weight::from_parts(8_364_882 as u64, 0) - // Standard Error: 79 - .saturating_add(Weight::from_parts(849 as u64, 0).saturating_mul(z as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_313_000 picoseconds. + Weight::from_parts(10_698_981, 0) + .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 1 + .saturating_add(Weight::from_parts(505, 0).saturating_mul(z.into())) } - // Storage: Multisig Multisigs (r:1 w:1) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 64]`. + /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32, ) -> Weight { - Weight::from_parts(20_285_811 as u64, 0) - // Standard Error: 5_408 - .saturating_add(Weight::from_parts(80_065 as u64, 0).saturating_mul(s as u64)) - // Standard Error: 33 - .saturating_add(Weight::from_parts(986 as u64, 0).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `273 + s * (2 ±0)` + // Estimated: `5663` + // Minimum execution time: 37_526_000 picoseconds. + Weight::from_parts(32_870_534, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 601 + .saturating_add(Weight::from_parts(80_810, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_299, 0).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) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[3, 64]`. + /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { - Weight::from_parts(12_705_025 as u64, 0) - // Standard Error: 30_300 - .saturating_add(Weight::from_parts(20_431 as u64, 0).saturating_mul(s as u64)) - // Standard Error: 186 - .saturating_add(Weight::from_parts(3_373 as u64, 0).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `319` + // Estimated: `5663` + // Minimum execution time: 24_281_000 picoseconds. + Weight::from_parts(20_106_948, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 361 + .saturating_add(Weight::from_parts(69_878, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_266, 0).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) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 64]`. + /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32, ) -> Weight { - Weight::from_parts(20_642_060 as u64, 0) - // Standard Error: 5_511 - .saturating_add(Weight::from_parts(104_693 as u64, 0).saturating_mul(s as u64)) - // Standard Error: 34 - .saturating_add(Weight::from_parts(1_132 as u64, 0).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `426 + s * (33 ±0)` + // Estimated: `5663` + // Minimum execution time: 41_555_000 picoseconds. + Weight::from_parts(35_320_563, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 693 + .saturating_add(Weight::from_parts(104_168, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_317, 0).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) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 64]`. fn approve_as_multi_create(s: u32, ) -> Weight { - Weight::from_parts(17_036_891 as u64, 0) - // Standard Error: 4_200 - .saturating_add(Weight::from_parts(122_554 as u64, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `270 + s * (3 ±0)` + // Estimated: `5663` + // Minimum execution time: 30_559_000 picoseconds. + Weight::from_parts(31_763_825, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 710 + .saturating_add(Weight::from_parts(88_657, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Multisig Multisigs (r:1 w:1) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 64]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - Weight::from_parts(12_421_505 as u64, 0) - // Standard Error: 7_770 - .saturating_add(Weight::from_parts(81_668 as u64, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `319` + // Estimated: `5663` + // Minimum execution time: 17_842_000 picoseconds. + Weight::from_parts(18_555_020, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 496 + .saturating_add(Weight::from_parts(76_822, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Multisig Multisigs (r:1 w:1) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 64]`. fn cancel_as_multi(s: u32, ) -> Weight { - Weight::from_parts(19_681_233 as u64, 0) - // Standard Error: 4_292 - .saturating_add(Weight::from_parts(70_945 as u64, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `490 + s * (1 ±0)` + // Estimated: `5663` + // Minimum execution time: 31_004_000 picoseconds. + Weight::from_parts(31_949_325, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 777 + .saturating_add(Weight::from_parts(88_331, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} + +#[cfg(test)] +mod tests { + #[test] + fn test_as_multi_create() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); + } + #[test] + fn test_as_multi_approve() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); + } + #[test] + fn test_as_multi_complete() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); + } + #[test] + fn test_approve_as_multi_create() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); + } + #[test] + fn test_approve_as_multi_approve() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); + } + #[test] + fn test_cancel_as_multi() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); } } diff --git a/runtimes/peregrine/src/weights/pallet_preimage.rs b/runtimes/peregrine/src/weights/pallet_preimage.rs index 0212411fc5..ecfba16a1d 100644 --- a/runtimes/peregrine/src/weights/pallet_preimage.rs +++ b/runtimes/peregrine/src/weights/pallet_preimage.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev // --pallet=pallet-preimage // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_preimage.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -54,19 +51,19 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Preimage::PreimageFor` (r:0 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `109` - // Estimated: `3658` - // Minimum execution time: 45_288_000 picoseconds. - Weight::from_parts(45_876_000, 0) - .saturating_add(Weight::from_parts(0, 3658)) - // Standard Error: 7 - .saturating_add(Weight::from_parts(2_462, 0).saturating_mul(s.into())) + // Estimated: `3784` + // Minimum execution time: 45_629_000 picoseconds. + Weight::from_parts(45_869_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) + // Standard Error: 1 + .saturating_add(Weight::from_parts(2_203, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -81,11 +78,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 15_921_000 picoseconds. - Weight::from_parts(16_050_000, 0) + // Minimum execution time: 16_178_000 picoseconds. + Weight::from_parts(16_398_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 7 - .saturating_add(Weight::from_parts(2_465, 0).saturating_mul(s.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(2_244, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -100,11 +97,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 15_798_000 picoseconds. - Weight::from_parts(15_954_000, 0) + // Minimum execution time: 15_959_000 picoseconds. + Weight::from_parts(16_259_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 8 - .saturating_add(Weight::from_parts(2_417, 0).saturating_mul(s.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(2_205, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -113,16 +110,16 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Preimage::PreimageFor` (r:0 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `311` - // Estimated: `3658` - // Minimum execution time: 50_447_000 picoseconds. - Weight::from_parts(53_356_000, 0) - .saturating_add(Weight::from_parts(0, 3658)) + // Estimated: `3784` + // Minimum execution time: 48_429_000 picoseconds. + Weight::from_parts(50_727_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -136,8 +133,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 25_212_000 picoseconds. - Weight::from_parts(26_852_000, 0) + // Minimum execution time: 23_603_000 picoseconds. + Weight::from_parts(24_990_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -150,8 +147,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `255` // Estimated: `3556` - // Minimum execution time: 21_064_000 picoseconds. - Weight::from_parts(22_145_000, 0) + // Minimum execution time: 20_230_000 picoseconds. + Weight::from_parts(21_184_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -164,8 +161,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 15_869_000 picoseconds. - Weight::from_parts(17_058_000, 0) + // Minimum execution time: 14_723_000 picoseconds. + Weight::from_parts(15_316_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -178,8 +175,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3556` - // Minimum execution time: 13_987_000 picoseconds. - Weight::from_parts(14_660_000, 0) + // Minimum execution time: 14_373_000 picoseconds. + Weight::from_parts(15_005_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -192,8 +189,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 10_379_000 picoseconds. - Weight::from_parts(10_800_000, 0) + // Minimum execution time: 10_757_000 picoseconds. + Weight::from_parts(11_106_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -208,8 +205,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 23_345_000 picoseconds. - Weight::from_parts(24_350_000, 0) + // Minimum execution time: 21_650_000 picoseconds. + Weight::from_parts(22_855_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -222,8 +219,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 10_686_000 picoseconds. - Weight::from_parts(11_227_000, 0) + // Minimum execution time: 10_745_000 picoseconds. + Weight::from_parts(11_140_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -236,8 +233,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 10_760_000 picoseconds. - Weight::from_parts(11_255_000, 0) + // Minimum execution time: 10_877_000 picoseconds. + Weight::from_parts(11_128_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -247,22 +244,22 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1023 w:1023) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1023 w:1023) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Preimage::RequestStatusFor` (r:0 w:1023) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 1024]`. fn ensure_updated(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + n * (231 ±0)` - // Estimated: `990 + n * (2668 ±0)` - // Minimum execution time: 50_302_000 picoseconds. - Weight::from_parts(50_768_000, 0) + // Estimated: `990 + n * (2794 ±0)` + // Minimum execution time: 50_281_000 picoseconds. + Weight::from_parts(50_827_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 31_039 - .saturating_add(Weight::from_parts(46_821_516, 0).saturating_mul(n.into())) + // Standard Error: 27_878 + .saturating_add(Weight::from_parts(46_881_682, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 2668).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2794).saturating_mul(n.into())) } } @@ -277,7 +274,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3658 + > 3784 ); } #[test] @@ -313,7 +310,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3658 + > 3784 ); } #[test] diff --git a/runtimes/peregrine/src/weights/pallet_proxy.rs b/runtimes/peregrine/src/weights/pallet_proxy.rs index 3f7aeadb56..db97402182 100644 --- a/runtimes/peregrine/src/weights/pallet_proxy.rs +++ b/runtimes/peregrine/src/weights/pallet_proxy.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev // --pallet=pallet-proxy // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_proxy.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -56,11 +53,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127 + p * (41 ±0)` // Estimated: `3932` - // Minimum execution time: 13_943_000 picoseconds. - Weight::from_parts(14_378_457, 0) + // Minimum execution time: 14_137_000 picoseconds. + Weight::from_parts(14_513_175, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 1_874 - .saturating_add(Weight::from_parts(55_778, 0).saturating_mul(p.into())) + // Standard Error: 2_226 + .saturating_add(Weight::from_parts(62_858, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Proxy::Proxies` (r:1 w:0) @@ -71,15 +68,17 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 9]`. /// The range of component `p` is `[1, 9]`. - fn proxy_announced(a: u32, _p: u32, ) -> Weight { + fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `425 + a * (72 ±0) + p * (41 ±0)` // Estimated: `4242` - // Minimum execution time: 33_688_000 picoseconds. - Weight::from_parts(34_507_579, 0) + // Minimum execution time: 33_790_000 picoseconds. + Weight::from_parts(34_543_219, 0) .saturating_add(Weight::from_parts(0, 4242)) - // Standard Error: 2_792 - .saturating_add(Weight::from_parts(148_008, 0).saturating_mul(a.into())) + // Standard Error: 3_199 + .saturating_add(Weight::from_parts(159_580, 0).saturating_mul(a.into())) + // Standard Error: 3_551 + .saturating_add(Weight::from_parts(15_060, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -93,11 +92,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `340 + a * (72 ±0)` // Estimated: `4242` - // Minimum execution time: 22_974_000 picoseconds. - Weight::from_parts(24_075_448, 0) + // Minimum execution time: 23_317_000 picoseconds. + Weight::from_parts(24_325_760, 0) .saturating_add(Weight::from_parts(0, 4242)) - // Standard Error: 2_329 - .saturating_add(Weight::from_parts(146_622, 0).saturating_mul(a.into())) + // Standard Error: 2_624 + .saturating_add(Weight::from_parts(146_128, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -111,11 +110,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `340 + a * (72 ±0)` // Estimated: `4242` - // Minimum execution time: 23_257_000 picoseconds. - Weight::from_parts(24_232_121, 0) + // Minimum execution time: 23_318_000 picoseconds. + Weight::from_parts(24_213_601, 0) .saturating_add(Weight::from_parts(0, 4242)) - // Standard Error: 2_311 - .saturating_add(Weight::from_parts(140_335, 0).saturating_mul(a.into())) + // Standard Error: 2_501 + .saturating_add(Weight::from_parts(137_366, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -127,17 +126,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 9]`. /// The range of component `p` is `[1, 9]`. - fn announce(a: u32, p: u32, ) -> Weight { + fn announce(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `353 + a * (72 ±0) + p * (41 ±0)` // Estimated: `4242` - // Minimum execution time: 29_784_000 picoseconds. - Weight::from_parts(30_592_025, 0) + // Minimum execution time: 30_489_000 picoseconds. + Weight::from_parts(31_092_431, 0) .saturating_add(Weight::from_parts(0, 4242)) - // Standard Error: 2_674 - .saturating_add(Weight::from_parts(131_023, 0).saturating_mul(a.into())) - // Standard Error: 2_969 - .saturating_add(Weight::from_parts(5_881, 0).saturating_mul(p.into())) + // Standard Error: 2_931 + .saturating_add(Weight::from_parts(140_909, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -148,11 +145,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127 + p * (41 ±0)` // Estimated: `3932` - // Minimum execution time: 22_387_000 picoseconds. - Weight::from_parts(22_881_097, 0) + // Minimum execution time: 22_680_000 picoseconds. + Weight::from_parts(23_173_720, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_537 - .saturating_add(Weight::from_parts(52_553, 0).saturating_mul(p.into())) + // Standard Error: 2_390 + .saturating_add(Weight::from_parts(51_481, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -163,11 +160,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127 + p * (41 ±0)` // Estimated: `3932` - // Minimum execution time: 22_439_000 picoseconds. - Weight::from_parts(23_053_180, 0) + // Minimum execution time: 22_939_000 picoseconds. + Weight::from_parts(23_481_995, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_570 - .saturating_add(Weight::from_parts(66_474, 0).saturating_mul(p.into())) + // Standard Error: 2_866 + .saturating_add(Weight::from_parts(71_776, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,11 +175,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127 + p * (41 ±0)` // Estimated: `3932` - // Minimum execution time: 20_043_000 picoseconds. - Weight::from_parts(20_684_137, 0) + // Minimum execution time: 20_364_000 picoseconds. + Weight::from_parts(21_007_451, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_488 - .saturating_add(Weight::from_parts(71_363, 0).saturating_mul(p.into())) + // Standard Error: 2_649 + .saturating_add(Weight::from_parts(48_328, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -193,11 +190,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `139` // Estimated: `3932` - // Minimum execution time: 23_627_000 picoseconds. - Weight::from_parts(24_313_377, 0) + // Minimum execution time: 23_759_000 picoseconds. + Weight::from_parts(24_459_609, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_738 - .saturating_add(Weight::from_parts(6_103, 0).saturating_mul(p.into())) + // Standard Error: 2_315 + .saturating_add(Weight::from_parts(12_261, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -208,11 +205,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `168 + p * (41 ±0)` // Estimated: `3932` - // Minimum execution time: 21_252_000 picoseconds. - Weight::from_parts(21_743_076, 0) + // Minimum execution time: 21_242_000 picoseconds. + Weight::from_parts(21_753_782, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_638 - .saturating_add(Weight::from_parts(72_099, 0).saturating_mul(p.into())) + // Standard Error: 1_866 + .saturating_add(Weight::from_parts(82_061, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtimes/peregrine/src/weights/pallet_scheduler.rs b/runtimes/peregrine/src/weights/pallet_scheduler.rs index ed9c02b035..a13623c755 100644 --- a/runtimes/peregrine/src/weights/pallet_scheduler.rs +++ b/runtimes/peregrine/src/weights/pallet_scheduler.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev // --pallet=pallet-scheduler // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_scheduler.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -55,8 +52,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `36` // Estimated: `1493` - // Minimum execution time: 2_691_000 picoseconds. - Weight::from_parts(2_800_000, 0) + // Minimum execution time: 2_897_000 picoseconds. + Weight::from_parts(3_023_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -68,11 +65,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `83 + s * (181 ±0)` // Estimated: `42632` - // Minimum execution time: 3_303_000 picoseconds. - Weight::from_parts(7_206_829, 0) + // Minimum execution time: 3_365_000 picoseconds. + Weight::from_parts(7_096_493, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 2_466 - .saturating_add(Weight::from_parts(460_152, 0).saturating_mul(s.into())) + // Standard Error: 1_735 + .saturating_add(Weight::from_parts(446_870, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -80,8 +77,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_464_000 picoseconds. - Weight::from_parts(3_715_000, 0) + // Minimum execution time: 3_653_000 picoseconds. + Weight::from_parts(3_758_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Preimage::PreimageFor` (r:1 w:1) @@ -95,11 +92,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `246 + s * (1 ±0)` // Estimated: `3711 + s * (1 ±0)` - // Minimum execution time: 18_427_000 picoseconds. - Weight::from_parts(18_762_000, 0) + // Minimum execution time: 19_099_000 picoseconds. + Weight::from_parts(19_225_000, 0) .saturating_add(Weight::from_parts(0, 3711)) - // Standard Error: 17 - .saturating_add(Weight::from_parts(1_557, 0).saturating_mul(s.into())) + // Standard Error: 6 + .saturating_add(Weight::from_parts(1_255, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -110,8 +107,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_194_000 picoseconds. - Weight::from_parts(5_374_000, 0) + // Minimum execution time: 5_177_000 picoseconds. + Weight::from_parts(5_405_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -119,15 +116,15 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_554_000 picoseconds. - Weight::from_parts(3_666_000, 0) + // Minimum execution time: 3_631_000 picoseconds. + Weight::from_parts(3_719_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_477_000 picoseconds. + // Minimum execution time: 2_460_000 picoseconds. Weight::from_parts(2_617_000, 0) .saturating_add(Weight::from_parts(0, 0)) } @@ -135,8 +132,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_507_000 picoseconds. - Weight::from_parts(2_604_000, 0) + // Minimum execution time: 2_443_000 picoseconds. + Weight::from_parts(2_565_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Scheduler::Agenda` (r:1 w:1) @@ -146,11 +143,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `83 + s * (181 ±0)` // Estimated: `42632` - // Minimum execution time: 10_931_000 picoseconds. - Weight::from_parts(15_038_764, 0) + // Minimum execution time: 10_805_000 picoseconds. + Weight::from_parts(14_538_773, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 2_079 - .saturating_add(Weight::from_parts(482_973, 0).saturating_mul(s.into())) + // Standard Error: 1_758 + .saturating_add(Weight::from_parts(469_028, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -163,11 +160,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `83 + s * (181 ±0)` // Estimated: `42632` - // Minimum execution time: 16_383_000 picoseconds. - Weight::from_parts(16_256_564, 0) + // Minimum execution time: 16_168_000 picoseconds. + Weight::from_parts(15_644_062, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 786 - .saturating_add(Weight::from_parts(718_645, 0).saturating_mul(s.into())) + // Standard Error: 906 + .saturating_add(Weight::from_parts(707_292, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -180,11 +177,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `266 + s * (189 ±0)` // Estimated: `42632` - // Minimum execution time: 14_590_000 picoseconds. - Weight::from_parts(19_492_127, 0) + // Minimum execution time: 14_182_000 picoseconds. + Weight::from_parts(18_864_526, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 2_745 - .saturating_add(Weight::from_parts(509_883, 0).saturating_mul(s.into())) + // Standard Error: 2_620 + .saturating_add(Weight::from_parts(500_849, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -197,11 +194,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `290 + s * (189 ±0)` // Estimated: `42632` - // Minimum execution time: 18_014_000 picoseconds. - Weight::from_parts(18_682_628, 0) + // Minimum execution time: 17_855_000 picoseconds. + Weight::from_parts(18_354_761, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 1_730 - .saturating_add(Weight::from_parts(749_440, 0).saturating_mul(s.into())) + // Standard Error: 1_200 + .saturating_add(Weight::from_parts(726_108, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtimes/peregrine/src/weights/pallet_session.rs b/runtimes/peregrine/src/weights/pallet_session.rs index 7e4467c1fe..97adbc1ef7 100644 --- a/runtimes/peregrine/src/weights/pallet_session.rs +++ b/runtimes/peregrine/src/weights/pallet_session.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev // --pallet=pallet-session // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_session.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -57,8 +54,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `298` // Estimated: `3763` - // Minimum execution time: 16_908_000 picoseconds. - Weight::from_parts(17_299_000, 0) + // Minimum execution time: 16_665_000 picoseconds. + Weight::from_parts(17_039_000, 0) .saturating_add(Weight::from_parts(0, 3763)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -71,8 +68,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3745` - // Minimum execution time: 12_647_000 picoseconds. - Weight::from_parts(12_852_000, 0) + // Minimum execution time: 12_318_000 picoseconds. + Weight::from_parts(12_728_000, 0) .saturating_add(Weight::from_parts(0, 3745)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtimes/peregrine/src/weights/pallet_sudo.rs b/runtimes/peregrine/src/weights/pallet_sudo.rs index fc2ecbc17e..a6a4bd1cd9 100644 --- a/runtimes/peregrine/src/weights/pallet_sudo.rs +++ b/runtimes/peregrine/src/weights/pallet_sudo.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_sudo` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -52,8 +52,8 @@ impl pallet_sudo::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `165` // Estimated: `1517` - // Minimum execution time: 10_709_000 picoseconds. - Weight::from_parts(11_006_000, 0) + // Minimum execution time: 10_351_000 picoseconds. + Weight::from_parts(10_875_000, 0) .saturating_add(Weight::from_parts(0, 1517)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -64,8 +64,8 @@ impl pallet_sudo::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `165` // Estimated: `1517` - // Minimum execution time: 11_399_000 picoseconds. - Weight::from_parts(11_808_000, 0) + // Minimum execution time: 11_127_000 picoseconds. + Weight::from_parts(11_411_000, 0) .saturating_add(Weight::from_parts(0, 1517)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -75,8 +75,8 @@ impl pallet_sudo::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `165` // Estimated: `1517` - // Minimum execution time: 11_601_000 picoseconds. - Weight::from_parts(12_031_000, 0) + // Minimum execution time: 11_156_000 picoseconds. + Weight::from_parts(11_441_000, 0) .saturating_add(Weight::from_parts(0, 1517)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -86,8 +86,8 @@ impl pallet_sudo::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `165` // Estimated: `1517` - // Minimum execution time: 9_813_000 picoseconds. - Weight::from_parts(9_961_000, 0) + // Minimum execution time: 9_182_000 picoseconds. + Weight::from_parts(9_686_000, 0) .saturating_add(Weight::from_parts(0, 1517)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtimes/peregrine/src/weights/pallet_technical_committee_collective.rs b/runtimes/peregrine/src/weights/pallet_technical_committee_collective.rs index 96d316ac5a..0c10c56954 100644 --- a/runtimes/peregrine/src/weights/pallet_technical_committee_collective.rs +++ b/runtimes/peregrine/src/weights/pallet_technical_committee_collective.rs @@ -19,22 +19,19 @@ //! Autogenerated weights for `pallet_technical_committee_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// ./target/release/kilt-parachain // benchmark // pallet // --heap-pages=4096 // --chain=dev // --pallet=pallet-technical-committee-collective // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs // --output=./runtimes/peregrine/src/weights/ @@ -46,233 +43,256 @@ use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -// TODO: Remove once the benchmarking stuff fully supports pallet instances. -use pallet_collective as pallet_technical_committee_collective; - /// Weight functions for `pallet_technical_committee_collective`. pub struct WeightInfo(PhantomData); impl pallet_technical_committee_collective::WeightInfo for WeightInfo { /// Storage: `TechnicalCommittee::Members` (r:1 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Voting` (r:100 w:100) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::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 { + fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + m * (3228 ±0) + p * (3195 ±0)` - // Estimated: `990` - // Minimum execution time: 460_642_000 picoseconds. - Weight::from_parts(460_642_000, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 255_764_641 - .saturating_add(Weight::from_parts(127_672_940, 0).saturating_mul(m.into())) - // Standard Error: 255_764_641 - .saturating_add(Weight::from_parts(34_349_310, 0).saturating_mul(n.into())) - // Standard Error: 255_764_641 - .saturating_add(Weight::from_parts(126_599_270, 0).saturating_mul(p.into())) + // Measured: `0 + m * (3232 ±0) + p * (3194 ±0)` + // Estimated: `15770 + m * (1967 ±23) + p * (4336 ±23)` + // Minimum execution time: 16_922_000 picoseconds. + Weight::from_parts(17_253_000, 0) + .saturating_add(Weight::from_parts(0, 15770)) + // Standard Error: 62_485 + .saturating_add(Weight::from_parts(5_143_969, 0).saturating_mul(m.into())) + // Standard Error: 62_485 + .saturating_add(Weight::from_parts(7_689_221, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) .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(m.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 4336).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::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 { + fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `102 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 573_430_000 picoseconds. - Weight::from_parts(29_965_404_055, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 3_984_281 - .saturating_add(Weight::from_parts(2_473_578, 0).saturating_mul(b.into())) + // Measured: `103 + m * (32 ±0)` + // Estimated: `1589 + m * (32 ±0)` + // Minimum execution time: 14_648_000 picoseconds. + Weight::from_parts(13_779_707, 0) + .saturating_add(Weight::from_parts(0, 1589)) + // Standard Error: 18 + .saturating_add(Weight::from_parts(1_410, 0).saturating_mul(b.into())) + // Standard Error: 186 + .saturating_add(Weight::from_parts(15_752, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:0) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::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 { // Proof Size summary in bytes: - // Measured: `102 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 715_079_000 picoseconds. - Weight::from_parts(636_745_116, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 10_109 - .saturating_add(Weight::from_parts(75_330, 0).saturating_mul(b.into())) - // Standard Error: 104_360 - .saturating_add(Weight::from_parts(1_195_222, 0).saturating_mul(m.into())) + // Measured: `103 + m * (32 ±0)` + // Estimated: `3569 + m * (32 ±0)` + // Minimum execution time: 17_617_000 picoseconds. + Weight::from_parts(17_893_954, 0) + .saturating_add(Weight::from_parts(0, 3569)) + // Standard Error: 186 + .saturating_add(Weight::from_parts(1_258, 0).saturating_mul(b.into())) + // Standard Error: 1_926 + .saturating_add(Weight::from_parts(13_486, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalCount` (r:1 w:1) - /// Proof: `TechnicalCommittee::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Voting` (r:0 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::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 { + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `38 + m * (32 ±0) + p * (39 ±0)` - // Estimated: `990` - // Minimum execution time: 972_408_000 picoseconds. - Weight::from_parts(1_342_425_531, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 40_523 - .saturating_add(Weight::from_parts(142_705, 0).saturating_mul(b.into())) - // Standard Error: 418_333 - .saturating_add(Weight::from_parts(3_118_730, 0).saturating_mul(p.into())) + // Measured: `393 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `3785 + m * (33 ±0) + p * (36 ±0)` + // Minimum execution time: 22_987_000 picoseconds. + Weight::from_parts(23_511_611, 0) + .saturating_add(Weight::from_parts(0, 3785)) + // Standard Error: 60 + .saturating_add(Weight::from_parts(2_125, 0).saturating_mul(b.into())) + // Standard Error: 634 + .saturating_add(Weight::from_parts(17_111, 0).saturating_mul(m.into())) + // Standard Error: 626 + .saturating_add(Weight::from_parts(149_021, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. - fn vote(_m: u32, ) -> Weight { + fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `845 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 604_239_000 picoseconds. - Weight::from_parts(705_575_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `846 + m * (64 ±0)` + // Estimated: `4310 + m * (64 ±0)` + // Minimum execution time: 21_402_000 picoseconds. + Weight::from_parts(21_666_858, 0) + .saturating_add(Weight::from_parts(0, 4310)) + // Standard Error: 316 + .saturating_add(Weight::from_parts(33_850, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::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 { + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `219 + m * (64 ±0) + p * (38 ±0)` - // Estimated: `990` - // Minimum execution time: 1_062_882_000 picoseconds. - Weight::from_parts(17_615_015_534, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 1_146_969 - .saturating_add(Weight::from_parts(1_026_338, 0).saturating_mul(m.into())) + // Measured: `435 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3880 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 25_153_000 picoseconds. + Weight::from_parts(25_864_550, 0) + .saturating_add(Weight::from_parts(0, 3880)) + // Standard Error: 535 + .saturating_add(Weight::from_parts(18_458, 0).saturating_mul(m.into())) + // Standard Error: 522 + .saturating_add(Weight::from_parts(140_004, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::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 { + fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `434 + m * (64 ±0) + p * (44 ±0)` - // Estimated: `990` - // Minimum execution time: 1_150_858_000 picoseconds. - Weight::from_parts(17_456_729_928, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 729_009 - .saturating_add(Weight::from_parts(116_718, 0).saturating_mul(m.into())) - // Standard Error: 706_917 - .saturating_add(Weight::from_parts(4_476_141, 0).saturating_mul(p.into())) + // Measured: `737 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4054 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 35_473_000 picoseconds. + Weight::from_parts(36_521_591, 0) + .saturating_add(Weight::from_parts(0, 4054)) + // Standard Error: 171 + .saturating_add(Weight::from_parts(2_241, 0).saturating_mul(b.into())) + // Standard Error: 1_764 + .saturating_add(Weight::from_parts(156_952, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:1 w:0) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::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 { // Proof Size summary in bytes: - // Measured: `239 + m * (64 ±0) + p * (38 ±0)` - // Estimated: `990` - // Minimum execution time: 876_906_000 picoseconds. - Weight::from_parts(876_906_000, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 77_271_809 - .saturating_add(Weight::from_parts(34_940_280, 0).saturating_mul(m.into())) - // Standard Error: 77_291_124 - .saturating_add(Weight::from_parts(39_111_834, 0).saturating_mul(p.into())) + // Measured: `455 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3900 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 27_354_000 picoseconds. + Weight::from_parts(27_059_446, 0) + .saturating_add(Weight::from_parts(0, 3900)) + // Standard Error: 1_342 + .saturating_add(Weight::from_parts(27_418, 0).saturating_mul(m.into())) + // Standard Error: 1_308 + .saturating_add(Weight::from_parts(136_157, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:1 w:0) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::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 { + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `454 + m * (64 ±0) + p * (44 ±0)` - // Estimated: `990` - // Minimum execution time: 1_610_558_000 picoseconds. - Weight::from_parts(2_769_131_417, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 10_668_245 - .saturating_add(Weight::from_parts(5_164_747, 0).saturating_mul(p.into())) + // Measured: `757 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4074 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 37_320_000 picoseconds. + Weight::from_parts(38_646_224, 0) + .saturating_add(Weight::from_parts(0, 4074)) + // Standard Error: 173 + .saturating_add(Weight::from_parts(1_971, 0).saturating_mul(b.into())) + // Standard Error: 1_789 + .saturating_add(Weight::from_parts(158_371, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Voting` (r:0 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. - fn disapprove_proposal(_p: u32, ) -> Weight { + fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `258 + p * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 1_112_072_000 picoseconds. - Weight::from_parts(1_726_467_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `260 + p * (32 ±0)` + // Estimated: `1745 + p * (32 ±0)` + // Minimum execution time: 14_297_000 picoseconds. + Weight::from_parts(16_166_153, 0) + .saturating_add(Weight::from_parts(0, 1745)) + // Standard Error: 561 + .saturating_add(Weight::from_parts(116_014, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } @@ -287,7 +307,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 15770 ); } #[test] @@ -299,7 +319,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 1589 ); } #[test] @@ -311,7 +331,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3569 ); } #[test] @@ -323,7 +343,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3785 ); } #[test] @@ -335,7 +355,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4310 ); } #[test] @@ -347,7 +367,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3880 ); } #[test] @@ -359,7 +379,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4054 ); } #[test] @@ -371,7 +391,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3900 ); } #[test] @@ -383,7 +403,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4074 ); } #[test] @@ -395,7 +415,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 1745 ); } } diff --git a/runtimes/peregrine/src/weights/pallet_technical_membership.rs b/runtimes/peregrine/src/weights/pallet_technical_membership.rs index 349df77da8..ba5bb5fb19 100644 --- a/runtimes/peregrine/src/weights/pallet_technical_membership.rs +++ b/runtimes/peregrine/src/weights/pallet_technical_membership.rs @@ -19,22 +19,19 @@ //! Autogenerated weights for `pallet_technical_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// ./target/release/kilt-parachain // benchmark // pallet // --heap-pages=4096 // --chain=dev // --pallet=pallet-technical-membership // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs // --output=./runtimes/peregrine/src/weights/ @@ -46,144 +43,161 @@ use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -// TODO: Remove once the benchmarking stuff fully supports pallet instances. -use pallet_membership as pallet_technical_membership; - /// Weight functions for `pallet_technical_membership`. pub struct WeightInfo(PhantomData); impl pallet_technical_membership::WeightInfo for WeightInfo { /// Storage: `TechnicalMembership::Members` (r:1 w:1) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Members` (r:0 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 99]`. - fn add_member(_m: u32, ) -> Weight { + fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `133 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 405_749_000 picoseconds. - Weight::from_parts(498_827_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `136 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 13_015_000 picoseconds. + Weight::from_parts(13_461_320, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 248 + .saturating_add(Weight::from_parts(23_019, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Members` (r:1 w:1) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalMembership::Prime` (r:1 w:0) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Members` (r:0 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. - fn remove_member(_m: u32, ) -> Weight { + fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `239 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 500_744_000 picoseconds. - Weight::from_parts(527_487_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `240 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 15_109_000 picoseconds. + Weight::from_parts(15_422_855, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 264 + .saturating_add(Weight::from_parts(22_629, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Members` (r:1 w:1) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalMembership::Prime` (r:1 w:0) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Members` (r:0 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. - fn swap_member(_m: u32, ) -> Weight { + fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `239 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 511_254_000 picoseconds. - Weight::from_parts(993_980_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `240 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 15_241_000 picoseconds. + Weight::from_parts(15_605_748, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 297 + .saturating_add(Weight::from_parts(36_627, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Members` (r:1 w:1) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalMembership::Prime` (r:1 w:0) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Members` (r:0 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. - fn reset_member(_m: u32, ) -> Weight { + fn reset_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `237 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 534_955_000 picoseconds. - Weight::from_parts(688_451_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `240 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 14_513_000 picoseconds. + Weight::from_parts(15_879_620, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 509 + .saturating_add(Weight::from_parts(144_332, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Members` (r:1 w:1) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalMembership::Prime` (r:1 w:1) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Members` (r:0 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. - fn change_key(_m: u32, ) -> Weight { + fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `237 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 538_986_000 picoseconds. - Weight::from_parts(598_771_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `240 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 15_732_000 picoseconds. + Weight::from_parts(16_384_807, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 361 + .saturating_add(Weight::from_parts(36_737, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Members` (r:1 w:0) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalMembership::Prime` (r:0 w:1) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. - fn set_prime(_m: u32, ) -> Weight { + fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `30 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 259_951_000 picoseconds. - Weight::from_parts(340_969_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `32 + m * (32 ±0)` + // Estimated: `4687 + m * (32 ±0)` + // Minimum execution time: 6_878_000 picoseconds. + Weight::from_parts(7_338_507, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 174 + .saturating_add(Weight::from_parts(10_759, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Prime` (r:0 w:1) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. - fn clear_prime(_m: u32, ) -> Weight { + fn clear_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 154_822_000 picoseconds. - Weight::from_parts(220_683_000, 0) + // Minimum execution time: 2_493_000 picoseconds. + Weight::from_parts(2_704_274, 0) .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 75 + .saturating_add(Weight::from_parts(1_066, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().writes(2)) } } @@ -199,7 +213,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } #[test] @@ -211,7 +225,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } #[test] @@ -223,7 +237,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } #[test] @@ -235,7 +249,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } #[test] @@ -247,7 +261,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } #[test] @@ -259,7 +273,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } } diff --git a/runtimes/peregrine/src/weights/pallet_timestamp.rs b/runtimes/peregrine/src/weights/pallet_timestamp.rs index 1f0275cb14..01ae210df9 100644 --- a/runtimes/peregrine/src/weights/pallet_timestamp.rs +++ b/runtimes/peregrine/src/weights/pallet_timestamp.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev // --pallet=pallet-timestamp // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_timestamp.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -55,8 +52,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `1493` - // Minimum execution time: 6_217_000 picoseconds. - Weight::from_parts(6_411_000, 0) + // Minimum execution time: 5_923_000 picoseconds. + Weight::from_parts(6_310_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -65,8 +62,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `94` // Estimated: `0` - // Minimum execution time: 4_270_000 picoseconds. - Weight::from_parts(4_498_000, 0) + // Minimum execution time: 4_156_000 picoseconds. + Weight::from_parts(4_267_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtimes/peregrine/src/weights/pallet_tips.rs b/runtimes/peregrine/src/weights/pallet_tips.rs index 09b790295e..f87cdc3a16 100644 --- a/runtimes/peregrine/src/weights/pallet_tips.rs +++ b/runtimes/peregrine/src/weights/pallet_tips.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_tips` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev // --pallet=pallet-tips // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_tips.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -58,11 +55,11 @@ impl pallet_tips::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4` // Estimated: `3469` - // Minimum execution time: 27_311_000 picoseconds. - Weight::from_parts(28_110_607, 0) + // Minimum execution time: 27_650_000 picoseconds. + Weight::from_parts(28_633_875, 0) .saturating_add(Weight::from_parts(0, 3469)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_547, 0).saturating_mul(r.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_532, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -74,8 +71,8 @@ impl pallet_tips::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `221` // Estimated: `3686` - // Minimum execution time: 25_148_000 picoseconds. - Weight::from_parts(25_454_000, 0) + // Minimum execution time: 25_323_000 picoseconds. + Weight::from_parts(25_798_000, 0) .saturating_add(Weight::from_parts(0, 3686)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -92,13 +89,13 @@ impl pallet_tips::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `141 + t * (32 ±0)` // Estimated: `3606 + t * (32 ±0)` - // Minimum execution time: 19_348_000 picoseconds. - Weight::from_parts(17_861_203, 0) + // Minimum execution time: 19_240_000 picoseconds. + Weight::from_parts(17_694_725, 0) .saturating_add(Weight::from_parts(0, 3606)) // Standard Error: 6 - .saturating_add(Weight::from_parts(1_401, 0).saturating_mul(r.into())) - // Standard Error: 4_912 - .saturating_add(Weight::from_parts(135_186, 0).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(1_389, 0).saturating_mul(r.into())) + // Standard Error: 5_248 + .saturating_add(Weight::from_parts(147_550, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into())) @@ -112,11 +109,11 @@ impl pallet_tips::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `366 + t * (80 ±0)` // Estimated: `3831 + t * (80 ±0)` - // Minimum execution time: 15_591_000 picoseconds. - Weight::from_parts(15_986_370, 0) + // Minimum execution time: 15_055_000 picoseconds. + Weight::from_parts(15_498_503, 0) .saturating_add(Weight::from_parts(0, 3831)) - // Standard Error: 1_501 - .saturating_add(Weight::from_parts(120_962, 0).saturating_mul(t.into())) + // Standard Error: 1_225 + .saturating_add(Weight::from_parts(122_508, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(t.into())) @@ -133,15 +130,15 @@ impl pallet_tips::WeightInfo for WeightInfo { fn close_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `473 + t * (80 ±0)` - // Estimated: `6204 + t * (80 ±0)` - // Minimum execution time: 55_216_000 picoseconds. - Weight::from_parts(56_832_101, 0) + // Estimated: `6204 + t * (79 ±0)` + // Minimum execution time: 54_812_000 picoseconds. + Weight::from_parts(55_948_619, 0) .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 3_930 - .saturating_add(Weight::from_parts(118_712, 0).saturating_mul(t.into())) + // Standard Error: 3_816 + .saturating_add(Weight::from_parts(131_373, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 80).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 79).saturating_mul(t.into())) } /// Storage: `Tips::Tips` (r:1 w:1) /// Proof: `Tips::Tips` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -152,11 +149,11 @@ impl pallet_tips::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `269` // Estimated: `3734` - // Minimum execution time: 14_140_000 picoseconds. - Weight::from_parts(14_682_084, 0) + // Minimum execution time: 13_945_000 picoseconds. + Weight::from_parts(14_324_129, 0) .saturating_add(Weight::from_parts(0, 3734)) - // Standard Error: 1_130 - .saturating_add(Weight::from_parts(3_291, 0).saturating_mul(t.into())) + // Standard Error: 606 + .saturating_add(Weight::from_parts(11_306, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtimes/peregrine/src/weights/pallet_treasury.rs b/runtimes/peregrine/src/weights/pallet_treasury.rs index 1bade513df..6d4cd638a0 100644 --- a/runtimes/peregrine/src/weights/pallet_treasury.rs +++ b/runtimes/peregrine/src/weights/pallet_treasury.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev // --pallet=pallet-treasury // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_treasury.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -57,10 +54,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn spend_local() -> Weight { // Proof Size summary in bytes: - // Measured: `6` + // Measured: `42` // Estimated: `1887` - // Minimum execution time: 11_688_000 picoseconds. - Weight::from_parts(12_036_000, 0) + // Minimum execution time: 12_963_000 picoseconds. + Weight::from_parts(13_550_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -71,10 +68,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn propose_spend() -> Weight { // Proof Size summary in bytes: - // Measured: `111` + // Measured: `147` // Estimated: `1489` - // Minimum execution time: 25_458_000 picoseconds. - Weight::from_parts(25_878_000, 0) + // Minimum execution time: 26_152_000 picoseconds. + Weight::from_parts(26_695_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -85,10 +82,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn reject_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `376` + // Measured: `412` // Estimated: `6204` - // Minimum execution time: 36_141_000 picoseconds. - Weight::from_parts(36_934_000, 0) + // Minimum execution time: 37_136_000 picoseconds. + Weight::from_parts(37_743_000, 0) .saturating_add(Weight::from_parts(0, 6204)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -100,13 +97,13 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `433 + p * (8 ±0)` + // Measured: `470 + p * (8 ±0)` // Estimated: `3573` - // Minimum execution time: 9_838_000 picoseconds. - Weight::from_parts(12_745_248, 0) + // Minimum execution time: 9_541_000 picoseconds. + Weight::from_parts(12_825_856, 0) .saturating_add(Weight::from_parts(0, 3573)) - // Standard Error: 944 - .saturating_add(Weight::from_parts(34_217, 0).saturating_mul(p.into())) + // Standard Error: 968 + .saturating_add(Weight::from_parts(33_765, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -114,10 +111,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) fn remove_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `90` + // Measured: `127` // Estimated: `1887` - // Minimum execution time: 6_121_000 picoseconds. - Weight::from_parts(6_335_000, 0) + // Minimum execution time: 7_448_000 picoseconds. + Weight::from_parts(7_669_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -135,13 +132,13 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 99]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `33 + p * (256 ±0)` + // Measured: `116 + p * (256 ±0)` // Estimated: `3597 + p * (5214 ±0)` - // Minimum execution time: 18_511_000 picoseconds. - Weight::from_parts(31_104_251, 0) + // Minimum execution time: 19_581_000 picoseconds. + Weight::from_parts(26_476_362, 0) .saturating_add(Weight::from_parts(0, 3597)) - // Standard Error: 18_385 - .saturating_add(Weight::from_parts(29_250_242, 0).saturating_mul(p.into())) + // Standard Error: 14_765 + .saturating_add(Weight::from_parts(30_151_233, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -154,10 +151,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`) fn spend() -> Weight { // Proof Size summary in bytes: - // Measured: `6` + // Measured: `42` // Estimated: `1489` - // Minimum execution time: 10_575_000 picoseconds. - Weight::from_parts(10_762_000, 0) + // Minimum execution time: 12_082_000 picoseconds. + Weight::from_parts(12_462_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -168,10 +165,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn payout() -> Weight { // Proof Size summary in bytes: - // Measured: `347` + // Measured: `383` // Estimated: `6204` - // Minimum execution time: 44_998_000 picoseconds. - Weight::from_parts(46_059_000, 0) + // Minimum execution time: 46_228_000 picoseconds. + Weight::from_parts(46_949_000, 0) .saturating_add(Weight::from_parts(0, 6204)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -180,10 +177,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`) fn check_status() -> Weight { // Proof Size summary in bytes: - // Measured: `133` + // Measured: `169` // Estimated: `3542` - // Minimum execution time: 12_873_000 picoseconds. - Weight::from_parts(13_136_000, 0) + // Minimum execution time: 13_177_000 picoseconds. + Weight::from_parts(13_549_000, 0) .saturating_add(Weight::from_parts(0, 3542)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -192,10 +189,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`) fn void_spend() -> Weight { // Proof Size summary in bytes: - // Measured: `133` + // Measured: `169` // Estimated: `3542` - // Minimum execution time: 11_977_000 picoseconds. - Weight::from_parts(12_433_000, 0) + // Minimum execution time: 12_599_000 picoseconds. + Weight::from_parts(12_957_000, 0) .saturating_add(Weight::from_parts(0, 3542)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtimes/peregrine/src/weights/pallet_unique_linking.rs b/runtimes/peregrine/src/weights/pallet_unique_linking.rs index 75e8502e87..0b1b7b3a1b 100644 --- a/runtimes/peregrine/src/weights/pallet_unique_linking.rs +++ b/runtimes/peregrine/src/weights/pallet_unique_linking.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_unique_linking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -43,16 +43,13 @@ use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -// TODO: Remove once the benchmarking stuff fully supports pallet instances. -use pallet_did_lookup as pallet_unique_linking; - /// Weight functions for `pallet_unique_linking`. pub struct WeightInfo(PhantomData); impl pallet_unique_linking::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedAccounts` (r:1 w:2) /// Proof: `UniqueLinking::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedDids` (r:1 w:1) @@ -60,17 +57,17 @@ impl pallet_unique_linking::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `480` - // Estimated: `3766` - // Minimum execution time: 130_921_000 picoseconds. - Weight::from_parts(132_022_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 131_519_000 picoseconds. + Weight::from_parts(132_788_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedAccounts` (r:1 w:2) /// Proof: `UniqueLinking::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedDids` (r:1 w:1) @@ -78,17 +75,17 @@ impl pallet_unique_linking::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `480` - // Estimated: `3766` - // Minimum execution time: 144_426_000 picoseconds. - Weight::from_parts(145_124_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 144_581_000 picoseconds. + Weight::from_parts(145_107_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedAccounts` (r:1 w:2) /// Proof: `UniqueLinking::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedDids` (r:1 w:1) @@ -96,17 +93,17 @@ impl pallet_unique_linking::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `480` - // Estimated: `3766` - // Minimum execution time: 134_243_000 picoseconds. - Weight::from_parts(135_253_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 133_593_000 picoseconds. + Weight::from_parts(135_436_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedAccounts` (r:1 w:2) /// Proof: `UniqueLinking::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedDids` (r:1 w:1) @@ -114,17 +111,17 @@ impl pallet_unique_linking::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `455` - // Estimated: `3766` - // Minimum execution time: 135_406_000 picoseconds. - Weight::from_parts(136_970_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 135_672_000 picoseconds. + Weight::from_parts(137_070_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedAccounts` (r:1 w:2) /// Proof: `UniqueLinking::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedDids` (r:1 w:1) @@ -132,10 +129,10 @@ impl pallet_unique_linking::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `480` - // Estimated: `3766` - // Minimum execution time: 85_979_000 picoseconds. - Weight::from_parts(86_560_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 86_235_000 picoseconds. + Weight::from_parts(86_612_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -144,16 +141,16 @@ impl pallet_unique_linking::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `395` - // Estimated: `3766` - // Minimum execution time: 43_021_000 picoseconds. - Weight::from_parts(43_271_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 42_401_000 picoseconds. + Weight::from_parts(42_905_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -162,16 +159,16 @@ impl pallet_unique_linking::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `395` - // Estimated: `3766` - // Minimum execution time: 43_954_000 picoseconds. - Weight::from_parts(44_538_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 44_076_000 picoseconds. + Weight::from_parts(44_587_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -180,14 +177,14 @@ impl pallet_unique_linking::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `502` - // Estimated: `6542` - // Minimum execution time: 75_408_000 picoseconds. - Weight::from_parts(76_281_000, 0) - .saturating_add(Weight::from_parts(0, 6542)) + // Estimated: `6578` + // Minimum execution time: 75_420_000 picoseconds. + Weight::from_parts(76_279_000, 0) + .saturating_add(Weight::from_parts(0, 6578)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -196,14 +193,14 @@ impl pallet_unique_linking::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `395` - // Estimated: `3766` - // Minimum execution time: 66_351_000 picoseconds. - Weight::from_parts(66_867_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 66_702_000 picoseconds. + Weight::from_parts(67_143_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -220,7 +217,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -232,7 +229,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -244,7 +241,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -256,7 +253,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -268,7 +265,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -280,7 +277,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -292,7 +289,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -304,7 +301,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6542 + > 6578 ); } #[test] @@ -316,7 +313,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } } diff --git a/runtimes/peregrine/src/weights/pallet_utility.rs b/runtimes/peregrine/src/weights/pallet_utility.rs index 15f8db02e5..b530e65895 100644 --- a/runtimes/peregrine/src/weights/pallet_utility.rs +++ b/runtimes/peregrine/src/weights/pallet_utility.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -51,18 +51,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_208_000 picoseconds. - Weight::from_parts(5_901_320, 0) + // Minimum execution time: 5_165_000 picoseconds. + Weight::from_parts(10_208_961, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_466 - .saturating_add(Weight::from_parts(2_876_375, 0).saturating_mul(c.into())) + // Standard Error: 1_826 + .saturating_add(Weight::from_parts(2_820_343, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_694_000 picoseconds. - Weight::from_parts(4_831_000, 0) + // Minimum execution time: 4_770_000 picoseconds. + Weight::from_parts(4_933_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -70,18 +70,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_926_000 picoseconds. - Weight::from_parts(10_741_519, 0) + // Minimum execution time: 5_176_000 picoseconds. + Weight::from_parts(6_706_031, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_402 - .saturating_add(Weight::from_parts(3_075_784, 0).saturating_mul(c.into())) + // Standard Error: 8_963 + .saturating_add(Weight::from_parts(3_045_165, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_929_000 picoseconds. - Weight::from_parts(7_293_000, 0) + // Minimum execution time: 6_915_000 picoseconds. + Weight::from_parts(7_204_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -89,11 +89,11 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_018_000 picoseconds. - Weight::from_parts(11_815_047, 0) + // Minimum execution time: 5_123_000 picoseconds. + Weight::from_parts(7_911_152, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_373 - .saturating_add(Weight::from_parts(2_834_449, 0).saturating_mul(c.into())) + // Standard Error: 1_441 + .saturating_add(Weight::from_parts(2_813_908, 0).saturating_mul(c.into())) } } diff --git a/runtimes/peregrine/src/weights/pallet_vesting.rs b/runtimes/peregrine/src/weights/pallet_vesting.rs index bdca6b043a..5bd02b12e4 100644 --- a/runtimes/peregrine/src/weights/pallet_vesting.rs +++ b/runtimes/peregrine/src/weights/pallet_vesting.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev // --pallet=pallet-vesting // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_vesting.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -61,13 +58,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `366 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 32_716_000 picoseconds. - Weight::from_parts(31_624_238, 0) + // Minimum execution time: 34_027_000 picoseconds. + Weight::from_parts(32_854_461, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 610 - .saturating_add(Weight::from_parts(37_011, 0).saturating_mul(l.into())) - // Standard Error: 1_086 - .saturating_add(Weight::from_parts(141_132, 0).saturating_mul(s.into())) + // Standard Error: 470 + .saturating_add(Weight::from_parts(36_604, 0).saturating_mul(l.into())) + // Standard Error: 836 + .saturating_add(Weight::from_parts(134_665, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -83,13 +80,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `366 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 34_933_000 picoseconds. - Weight::from_parts(34_148_826, 0) + // Minimum execution time: 36_434_000 picoseconds. + Weight::from_parts(35_168_290, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 527 - .saturating_add(Weight::from_parts(30_137, 0).saturating_mul(l.into())) - // Standard Error: 938 - .saturating_add(Weight::from_parts(127_675, 0).saturating_mul(s.into())) + // Standard Error: 558 + .saturating_add(Weight::from_parts(36_222, 0).saturating_mul(l.into())) + // Standard Error: 994 + .saturating_add(Weight::from_parts(131_894, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -107,13 +104,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `434 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 34_970_000 picoseconds. - Weight::from_parts(33_396_762, 0) + // Minimum execution time: 35_594_000 picoseconds. + Weight::from_parts(34_460_095, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 655 - .saturating_add(Weight::from_parts(39_902, 0).saturating_mul(l.into())) - // Standard Error: 1_166 - .saturating_add(Weight::from_parts(146_668, 0).saturating_mul(s.into())) + // Standard Error: 509 + .saturating_add(Weight::from_parts(37_573, 0).saturating_mul(l.into())) + // Standard Error: 906 + .saturating_add(Weight::from_parts(137_192, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -131,13 +128,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `434 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 36_957_000 picoseconds. - Weight::from_parts(36_063_061, 0) + // Minimum execution time: 38_216_000 picoseconds. + Weight::from_parts(36_892_735, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 529 - .saturating_add(Weight::from_parts(31_993, 0).saturating_mul(l.into())) - // Standard Error: 941 - .saturating_add(Weight::from_parts(123_889, 0).saturating_mul(s.into())) + // Standard Error: 513 + .saturating_add(Weight::from_parts(36_498, 0).saturating_mul(l.into())) + // Standard Error: 913 + .saturating_add(Weight::from_parts(132_760, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -155,13 +152,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `471 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 66_016_000 picoseconds. - Weight::from_parts(66_301_649, 0) + // Minimum execution time: 67_965_000 picoseconds. + Weight::from_parts(68_016_112, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_235 - .saturating_add(Weight::from_parts(45_951, 0).saturating_mul(l.into())) - // Standard Error: 2_198 - .saturating_add(Weight::from_parts(171_498, 0).saturating_mul(s.into())) + // Standard Error: 1_131 + .saturating_add(Weight::from_parts(47_457, 0).saturating_mul(l.into())) + // Standard Error: 2_013 + .saturating_add(Weight::from_parts(165_062, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -179,13 +176,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `578 + l * (25 ±0) + s * (40 ±0)` // Estimated: `6204` - // Minimum execution time: 69_129_000 picoseconds. - Weight::from_parts(69_076_699, 0) + // Minimum execution time: 70_103_000 picoseconds. + Weight::from_parts(70_998_746, 0) .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 1_189 - .saturating_add(Weight::from_parts(45_612, 0).saturating_mul(l.into())) - // Standard Error: 2_116 - .saturating_add(Weight::from_parts(169_957, 0).saturating_mul(s.into())) + // Standard Error: 975 + .saturating_add(Weight::from_parts(44_054, 0).saturating_mul(l.into())) + // Standard Error: 1_736 + .saturating_add(Weight::from_parts(155_342, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -203,13 +200,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `471 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 36_571_000 picoseconds. - Weight::from_parts(35_060_968, 0) + // Minimum execution time: 37_885_000 picoseconds. + Weight::from_parts(36_184_521, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 525 - .saturating_add(Weight::from_parts(42_288, 0).saturating_mul(l.into())) - // Standard Error: 970 - .saturating_add(Weight::from_parts(142_565, 0).saturating_mul(s.into())) + // Standard Error: 507 + .saturating_add(Weight::from_parts(41_907, 0).saturating_mul(l.into())) + // Standard Error: 936 + .saturating_add(Weight::from_parts(139_307, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -227,13 +224,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `471 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 39_189_000 picoseconds. - Weight::from_parts(37_159_926, 0) + // Minimum execution time: 40_054_000 picoseconds. + Weight::from_parts(38_651_008, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 636 - .saturating_add(Weight::from_parts(46_607, 0).saturating_mul(l.into())) - // Standard Error: 1_175 - .saturating_add(Weight::from_parts(147_625, 0).saturating_mul(s.into())) + // Standard Error: 561 + .saturating_add(Weight::from_parts(40_493, 0).saturating_mul(l.into())) + // Standard Error: 1_036 + .saturating_add(Weight::from_parts(138_633, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -251,13 +248,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `471 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 39_755_000 picoseconds. - Weight::from_parts(38_003_429, 0) + // Minimum execution time: 40_783_000 picoseconds. + Weight::from_parts(39_225_319, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 864 - .saturating_add(Weight::from_parts(43_527, 0).saturating_mul(l.into())) - // Standard Error: 1_596 - .saturating_add(Weight::from_parts(144_859, 0).saturating_mul(s.into())) + // Standard Error: 643 + .saturating_add(Weight::from_parts(40_973, 0).saturating_mul(l.into())) + // Standard Error: 1_188 + .saturating_add(Weight::from_parts(141_849, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtimes/peregrine/src/weights/pallet_web3_names.rs b/runtimes/peregrine/src/weights/pallet_web3_names.rs index 6b7424f88d..dfbaf92703 100644 --- a/runtimes/peregrine/src/weights/pallet_web3_names.rs +++ b/runtimes/peregrine/src/weights/pallet_web3_names.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_web3_names` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -55,17 +55,17 @@ impl pallet_web3_names::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `n` is `[3, 32]`. fn claim(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `147` - // Estimated: `3766` - // Minimum execution time: 56_910_000 picoseconds. - Weight::from_parts(57_849_856, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 57_026_000 picoseconds. + Weight::from_parts(58_236_060, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -78,14 +78,14 @@ impl pallet_web3_names::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn release_by_owner() -> Weight { // Proof Size summary in bytes: // Measured: `552` - // Estimated: `3766` - // Minimum execution time: 50_225_000 picoseconds. - Weight::from_parts(51_126_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 50_254_000 picoseconds. + Weight::from_parts(51_300_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -96,19 +96,19 @@ impl pallet_web3_names::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Web3Names::Names` (r:0 w:1) /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) /// The range of component `n` is `[3, 32]`. fn reclaim_deposit(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `448 + n * (1 ±0)` - // Estimated: `3766` - // Minimum execution time: 48_077_000 picoseconds. - Weight::from_parts(49_012_304, 0) - .saturating_add(Weight::from_parts(0, 3766)) - // Standard Error: 1_284 - .saturating_add(Weight::from_parts(22_720, 0).saturating_mul(n.into())) + // Estimated: `3784` + // Minimum execution time: 48_329_000 picoseconds. + Weight::from_parts(49_230_690, 0) + .saturating_add(Weight::from_parts(0, 3784)) + // Standard Error: 1_054 + .saturating_add(Weight::from_parts(22_627, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -121,19 +121,19 @@ impl pallet_web3_names::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Web3Names::Names` (r:0 w:1) /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) /// The range of component `n` is `[3, 32]`. fn ban(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `448 + n * (1 ±0)` - // Estimated: `3766` - // Minimum execution time: 53_916_000 picoseconds. - Weight::from_parts(54_905_352, 0) - .saturating_add(Weight::from_parts(0, 3766)) - // Standard Error: 1_190 - .saturating_add(Weight::from_parts(12_308, 0).saturating_mul(n.into())) + // Estimated: `3784` + // Minimum execution time: 53_766_000 picoseconds. + Weight::from_parts(55_012_707, 0) + .saturating_add(Weight::from_parts(0, 3784)) + // Standard Error: 1_097 + .saturating_add(Weight::from_parts(13_360, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -144,11 +144,11 @@ impl pallet_web3_names::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `84 + n * (1 ±0)` // Estimated: `3514` - // Minimum execution time: 12_818_000 picoseconds. - Weight::from_parts(13_203_572, 0) + // Minimum execution time: 12_814_000 picoseconds. + Weight::from_parts(13_274_624, 0) .saturating_add(Weight::from_parts(0, 3514)) - // Standard Error: 841 - .saturating_add(Weight::from_parts(22_244, 0).saturating_mul(n.into())) + // Standard Error: 726 + .saturating_add(Weight::from_parts(17_862, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -161,14 +161,14 @@ impl pallet_web3_names::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: // Measured: `659` - // Estimated: `6542` - // Minimum execution time: 82_337_000 picoseconds. - Weight::from_parts(83_234_000, 0) - .saturating_add(Weight::from_parts(0, 6542)) + // Estimated: `6578` + // Minimum execution time: 83_626_000 picoseconds. + Weight::from_parts(84_173_000, 0) + .saturating_add(Weight::from_parts(0, 6578)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -179,14 +179,14 @@ impl pallet_web3_names::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `407` - // Estimated: `3766` - // Minimum execution time: 64_526_000 picoseconds. - Weight::from_parts(65_698_000, 0) - .saturating_add(Weight::from_parts(0, 3766)) + // Estimated: `3784` + // Minimum execution time: 65_102_000 picoseconds. + Weight::from_parts(65_872_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -203,7 +203,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -215,7 +215,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -227,7 +227,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -239,7 +239,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } #[test] @@ -263,7 +263,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6542 + > 6578 ); } #[test] @@ -275,7 +275,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3766 + > 3784 ); } } diff --git a/runtimes/peregrine/src/weights/pallet_xcm.rs b/runtimes/peregrine/src/weights/pallet_xcm.rs index cc64e66b1d..83092c3418 100644 --- a/runtimes/peregrine/src/weights/pallet_xcm.rs +++ b/runtimes/peregrine/src/weights/pallet_xcm.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_xcm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev // --pallet=pallet-xcm // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_xcm.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -63,11 +60,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `277` - // Estimated: `3742` - // Minimum execution time: 29_784_000 picoseconds. - Weight::from_parts(30_448_000, 0) - .saturating_add(Weight::from_parts(0, 3742)) + // Measured: `348` + // Estimated: `3813` + // Minimum execution time: 30_733_000 picoseconds. + Weight::from_parts(31_789_000, 0) + .saturating_add(Weight::from_parts(0, 3813)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -81,6 +78,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { Weight::from_parts(18_446_744_073_709_551_000, 0) .saturating_add(Weight::from_parts(0, 0)) } + /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:0) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, 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: `System::Account` (r:1 w:1) @@ -99,12 +98,12 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `309` - // Estimated: `3774` - // Minimum execution time: 91_369_000 picoseconds. - Weight::from_parts(92_344_000, 0) - .saturating_add(Weight::from_parts(0, 3774)) - .saturating_add(T::DbWeight::get().reads(7)) + // Measured: `383` + // Estimated: `3848` + // Minimum execution time: 112_608_000 picoseconds. + Weight::from_parts(115_552_000, 0) + .saturating_add(Weight::from_parts(0, 3848)) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:0) @@ -127,11 +126,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) fn transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `346` - // Estimated: `3811` - // Minimum execution time: 1_048_341_000 picoseconds. - Weight::from_parts(1_058_740_000, 0) - .saturating_add(Weight::from_parts(0, 3811)) + // Measured: `383` + // Estimated: `3848` + // Minimum execution time: 112_532_000 picoseconds. + Weight::from_parts(113_783_000, 0) + .saturating_add(Weight::from_parts(0, 3848)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -151,8 +150,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_878_000 picoseconds. - Weight::from_parts(9_420_000, 0) + // Minimum execution time: 9_145_000 picoseconds. + Weight::from_parts(9_427_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -162,8 +161,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_571_000 picoseconds. - Weight::from_parts(2_662_000, 0) + // Minimum execution time: 2_620_000 picoseconds. + Weight::from_parts(2_835_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -187,11 +186,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `277` - // Estimated: `3742` - // Minimum execution time: 36_578_000 picoseconds. - Weight::from_parts(36_960_000, 0) - .saturating_add(Weight::from_parts(0, 3742)) + // Measured: `348` + // Estimated: `3813` + // Minimum execution time: 36_928_000 picoseconds. + Weight::from_parts(37_773_000, 0) + .saturating_add(Weight::from_parts(0, 3813)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -213,11 +212,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `532` - // Estimated: `3997` - // Minimum execution time: 39_310_000 picoseconds. - Weight::from_parts(39_690_000, 0) - .saturating_add(Weight::from_parts(0, 3997)) + // Measured: `603` + // Estimated: `4068` + // Minimum execution time: 39_989_000 picoseconds. + Weight::from_parts(40_513_000, 0) + .saturating_add(Weight::from_parts(0, 4068)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -227,8 +226,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_652_000 picoseconds. - Weight::from_parts(2_778_000, 0) + // Minimum execution time: 2_644_000 picoseconds. + Weight::from_parts(2_761_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -236,11 +235,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: - // Measured: `125` - // Estimated: `13490` - // Minimum execution time: 20_568_000 picoseconds. - Weight::from_parts(21_057_000, 0) - .saturating_add(Weight::from_parts(0, 13490)) + // Measured: `159` + // Estimated: `13524` + // Minimum execution time: 20_613_000 picoseconds. + Weight::from_parts(21_027_000, 0) + .saturating_add(Weight::from_parts(0, 13524)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -248,11 +247,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: - // Measured: `129` - // Estimated: `13494` - // Minimum execution time: 20_906_000 picoseconds. - Weight::from_parts(21_366_000, 0) - .saturating_add(Weight::from_parts(0, 13494)) + // Measured: `163` + // Estimated: `13528` + // Minimum execution time: 20_266_000 picoseconds. + Weight::from_parts(20_831_000, 0) + .saturating_add(Weight::from_parts(0, 13528)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -260,11 +259,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: - // Measured: `183` - // Estimated: `16023` - // Minimum execution time: 23_236_000 picoseconds. - Weight::from_parts(23_742_000, 0) - .saturating_add(Weight::from_parts(0, 16023)) + // Measured: `178` + // Estimated: `16018` + // Minimum execution time: 22_896_000 picoseconds. + Weight::from_parts(23_331_000, 0) + .saturating_add(Weight::from_parts(0, 16018)) .saturating_add(T::DbWeight::get().reads(6)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) @@ -283,11 +282,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_current_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `349` - // Estimated: `6289` - // Minimum execution time: 35_279_000 picoseconds. - Weight::from_parts(36_068_000, 0) - .saturating_add(Weight::from_parts(0, 6289)) + // Measured: `420` + // Estimated: `6360` + // Minimum execution time: 35_811_000 picoseconds. + Weight::from_parts(36_362_000, 0) + .saturating_add(Weight::from_parts(0, 6360)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -295,22 +294,22 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: - // Measured: `172` - // Estimated: `11062` - // Minimum execution time: 12_676_000 picoseconds. - Weight::from_parts(13_133_000, 0) - .saturating_add(Weight::from_parts(0, 11062)) + // Measured: `206` + // Estimated: `11096` + // Minimum execution time: 12_727_000 picoseconds. + Weight::from_parts(13_022_000, 0) + .saturating_add(Weight::from_parts(0, 11096)) .saturating_add(T::DbWeight::get().reads(4)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `136` - // Estimated: `13501` - // Minimum execution time: 20_858_000 picoseconds. - Weight::from_parts(21_234_000, 0) - .saturating_add(Weight::from_parts(0, 13501)) + // Measured: `170` + // Estimated: `13535` + // Minimum execution time: 20_380_000 picoseconds. + Weight::from_parts(20_780_000, 0) + .saturating_add(Weight::from_parts(0, 13535)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -330,11 +329,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `349` - // Estimated: `13714` - // Minimum execution time: 44_759_000 picoseconds. - Weight::from_parts(45_465_000, 0) - .saturating_add(Weight::from_parts(0, 13714)) + // Measured: `420` + // Estimated: `13785` + // Minimum execution time: 45_202_000 picoseconds. + Weight::from_parts(45_821_000, 0) + .saturating_add(Weight::from_parts(0, 13785)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -344,11 +343,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn new_query() -> Weight { // Proof Size summary in bytes: - // Measured: `69` - // Estimated: `1554` - // Minimum execution time: 5_050_000 picoseconds. - Weight::from_parts(5_350_000, 0) - .saturating_add(Weight::from_parts(0, 1554)) + // Measured: `103` + // Estimated: `1588` + // Minimum execution time: 5_349_000 picoseconds. + Weight::from_parts(5_577_000, 0) + .saturating_add(Weight::from_parts(0, 1588)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -356,24 +355,26 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn take_response() -> Weight { // Proof Size summary in bytes: - // Measured: `7710` - // Estimated: `11175` - // Minimum execution time: 28_206_000 picoseconds. - Weight::from_parts(28_515_000, 0) - .saturating_add(Weight::from_parts(0, 11175)) + // Measured: `7744` + // Estimated: `11209` + // Minimum execution time: 29_246_000 picoseconds. + Weight::from_parts(29_593_000, 0) + .saturating_add(Weight::from_parts(0, 11209)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:0) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1) /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) fn claim_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `126` - // Estimated: `3591` - // Minimum execution time: 42_518_000 picoseconds. - Weight::from_parts(43_653_000, 0) - .saturating_add(Weight::from_parts(0, 3591)) - .saturating_add(T::DbWeight::get().reads(1)) + // Measured: `163` + // Estimated: `3628` + // Minimum execution time: 64_111_000 picoseconds. + Weight::from_parts(65_141_000, 0) + .saturating_add(Weight::from_parts(0, 3628)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } } @@ -389,7 +390,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3742 + > 3813 ); } #[test] @@ -401,7 +402,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3774 + > 3848 ); } #[test] @@ -413,7 +414,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3811 + > 3848 ); } #[test] @@ -425,7 +426,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3742 + > 3813 ); } #[test] @@ -437,7 +438,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3997 + > 4068 ); } #[test] @@ -449,7 +450,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 13490 + > 13524 ); } #[test] @@ -461,7 +462,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 13494 + > 13528 ); } #[test] @@ -473,7 +474,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 16023 + > 16018 ); } #[test] @@ -485,7 +486,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6289 + > 6360 ); } #[test] @@ -497,7 +498,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 11062 + > 11096 ); } #[test] @@ -509,7 +510,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 13501 + > 13535 ); } #[test] @@ -521,7 +522,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 13714 + > 13785 ); } #[test] @@ -533,7 +534,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 1554 + > 1588 ); } #[test] @@ -545,7 +546,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 11175 + > 11209 ); } #[test] @@ -557,7 +558,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3591 + > 3628 ); } } diff --git a/runtimes/peregrine/src/weights/parachain_staking.rs b/runtimes/peregrine/src/weights/parachain_staking.rs index 44d667061a..4f6cf06a1c 100644 --- a/runtimes/peregrine/src/weights/parachain_staking.rs +++ b/runtimes/peregrine/src/weights/parachain_staking.rs @@ -1,5 +1,3 @@ -// TODO: UPDATE BEFORE RELEASE - // KILT Blockchain – https://botlabs.org // Copyright (C) 2019-2024 BOTLabs GmbH @@ -20,27 +18,23 @@ //! Autogenerated weights for `parachain_staking` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-05, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --execution=wasm -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=2 -// --repeat=1 // --chain=dev // --pallet=parachain-staking // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/parachain_staking.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -52,62 +46,61 @@ use sp_std::marker::PhantomData; /// Weight functions for `parachain_staking`. pub struct WeightInfo(PhantomData); impl parachain_staking::WeightInfo for WeightInfo { - /// Storage: ParachainStaking Round (r:1 w:0) - /// Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::Round` (r:1 w:0) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) fn on_initialize_no_action() -> Weight { // Proof Size summary in bytes: // Measured: `335` - // Estimated: `515` - // Minimum execution time: 4_572_000 picoseconds. - Weight::from_parts(4_572_000, 0) - .saturating_add(Weight::from_parts(0, 515)) + // Estimated: `1505` + // Minimum execution time: 4_743_000 picoseconds. + Weight::from_parts(4_914_000, 0) + .saturating_add(Weight::from_parts(0, 1505)) .saturating_add(T::DbWeight::get().reads(1)) } - /// Storage: ParachainStaking Round (r:1 w:1) - /// Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::Round` (r:1 w:1) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) fn on_initialize_round_update() -> Weight { // Proof Size summary in bytes: // Measured: `335` - // Estimated: `515` - // Minimum execution time: 12_371_000 picoseconds. - Weight::from_parts(12_371_000, 0) - .saturating_add(Weight::from_parts(0, 515)) + // Estimated: `1505` + // Minimum execution time: 7_953_000 picoseconds. + Weight::from_parts(8_186_000, 0) + .saturating_add(Weight::from_parts(0, 1505)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: ParachainStaking Round (r:1 w:1) - /// Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxCollatorCandidateStake (r:1 w:0) - /// Proof: ParachainStaking MaxCollatorCandidateStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::Round` (r:1 w:1) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxCollatorCandidateStake` (r:1 w:0) + /// Proof: `ParachainStaking::MaxCollatorCandidateStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn on_initialize_network_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `881` - // Estimated: `4723` - // Minimum execution time: 52_932_000 picoseconds. - Weight::from_parts(52_932_000, 0) - .saturating_add(Weight::from_parts(0, 4723)) + // Measured: `482` + // Estimated: `3597` + // Minimum execution time: 30_745_000 picoseconds. + Weight::from_parts(31_116_000, 0) + .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: ParachainStaking ForceNewRound (r:0 w:1) - /// Proof: ParachainStaking ForceNewRound (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::ForceNewRound` (r:0 w:1) + /// Proof: `ParachainStaking::ForceNewRound` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) fn force_new_round() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_626_000 picoseconds. - Weight::from_parts(8_626_000, 0) + // Minimum execution time: 2_758_000 picoseconds. + Weight::from_parts(2_970_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - -/// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:0) + /// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:0) /// Proof: `ParachainStaking::CounterForCandidatePool` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `ParachainStaking::CandidatePool` (r:76 w:0) /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) @@ -126,14 +119,14 @@ impl parachain_staking::WeightInfo for WeightInfo { fn set_inflation(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (7573 ±0) + n * (3709 ±0)` - // Estimated: `183222 + m * (64823 ±2_167) + n * (31965 ±1_009)` - // Minimum execution time: 704_611_000 picoseconds. - Weight::from_parts(707_105_000, 0) + // Estimated: `183222 + m * (64823 ±2_167) + n * (31965 ±0)` + // Minimum execution time: 687_227_000 picoseconds. + Weight::from_parts(688_616_000, 0) .saturating_add(Weight::from_parts(0, 183222)) - // Standard Error: 4_876_636 - .saturating_add(Weight::from_parts(150_694_630, 0).saturating_mul(n.into())) - // Standard Error: 10_470_032 - .saturating_add(Weight::from_parts(290_425_882, 0).saturating_mul(m.into())) + // Standard Error: 4_712_788 + .saturating_add(Weight::from_parts(145_167_299, 0).saturating_mul(n.into())) + // Standard Error: 10_118_253 + .saturating_add(Weight::from_parts(281_849_985, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(152)) .saturating_add(T::DbWeight::get().reads((27_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((51_u64).saturating_mul(m.into()))) @@ -143,535 +136,552 @@ impl parachain_staking::WeightInfo for WeightInfo { .saturating_add(Weight::from_parts(0, 64823).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 31965).saturating_mul(n.into())) } - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:1) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:0) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidatePool (r:59 w:0) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:59 w:0) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// The range of component `n` is `[16, 75]`. /// The range of component `m` is `[0, 35]`. fn set_max_selected_candidates(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + n * (1883 ±0) + m * (2832 ±0)` - // Estimated: `5168 + n * (3355 ±0)` - // Minimum execution time: 23_081_000 picoseconds. - Weight::from_parts(23_081_000, 0) - .saturating_add(Weight::from_parts(0, 5168)) - // Standard Error: 459_002 - .saturating_add(Weight::from_parts(2_023_254, 0).saturating_mul(n.into())) - // Standard Error: 991_008 - .saturating_add(Weight::from_parts(204_663, 0).saturating_mul(m.into())) + // Measured: `0 + m * (2832 ±0) + n * (1843 ±0)` + // Estimated: `5255 + n * (3554 ±9)` + // Minimum execution time: 27_334_000 picoseconds. + Weight::from_parts(27_698_000, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 21_663 + .saturating_add(Weight::from_parts(3_094_212, 0).saturating_mul(n.into())) + // Standard Error: 47_949 + .saturating_add(Weight::from_parts(232_800, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 3355).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 3554).saturating_mul(n.into())) } - /// Storage: ParachainStaking Round (r:1 w:1) - /// Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::Round` (r:1 w:1) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) fn set_blocks_per_round() -> Weight { // Proof Size summary in bytes: // Measured: `335` - // Estimated: `515` - // Minimum execution time: 18_585_000 picoseconds. - Weight::from_parts(18_585_000, 0) - .saturating_add(Weight::from_parts(0, 515)) + // Estimated: `1505` + // Minimum execution time: 10_874_000 picoseconds. + Weight::from_parts(11_421_000, 0) + .saturating_add(Weight::from_parts(0, 1505)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: ParachainStaking CandidatePool (r:17 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:1) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksAuthored (r:1 w:1) - /// Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksRewarded (r:36 w:36) - /// Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking Rewards (r:36 w:36) - /// Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) - /// Storage: ParachainStaking Unstaking (r:36 w:36) - /// Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:35 w:35) - /// Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - /// Storage: Session Validators (r:1 w:0) - /// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Session DisabledValidators (r:1 w:1) - /// Proof Skipped: Session DisabledValidators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Digest (r:1 w:1) - /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking CounterForCandidatePool (r:1 w:1) - /// Proof: ParachainStaking CounterForCandidatePool (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::CandidatePool` (r:17 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:36 w:36) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:36 w:36) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:36 w:36) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:35 w:35) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `Session::Validators` (r:1 w:0) + /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Session::DisabledValidators` (r:1 w:1) + /// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CounterForCandidatePool` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `n` is `[17, 75]`. /// The range of component `m` is `[0, 35]`. fn force_remove_candidate(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + n * (435 ±0) + m * (2388 ±0)` - // Estimated: `116721 + m * (16221 ±0) + n * (372 ±138)` - // Minimum execution time: 92_957_000 picoseconds. - Weight::from_parts(92_957_000, 0) - .saturating_add(Weight::from_parts(0, 116721)) - // Standard Error: 679_179 - .saturating_add(Weight::from_parts(603_826, 0).saturating_mul(n.into())) - // Standard Error: 1_467_794 - .saturating_add(Weight::from_parts(16_308_990, 0).saturating_mul(m.into())) + // Measured: `0 + m * (2303 ±0) + n * (397 ±0)` + // Estimated: `73495 + m * (2756 ±8) + n * (136 ±3)` + // Minimum execution time: 119_580_000 picoseconds. + Weight::from_parts(120_692_000, 0) + .saturating_add(Weight::from_parts(0, 73495)) + // Standard Error: 22_640 + .saturating_add(Weight::from_parts(818_847, 0).saturating_mul(n.into())) + // Standard Error: 50_225 + .saturating_add(Weight::from_parts(24_648_510, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(29)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().writes(10)) .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(m.into()))) - .saturating_add(Weight::from_parts(0, 16221).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 372).saturating_mul(n.into())) - } - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:1 w:0) - /// Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxCollatorCandidateStake (r:1 w:0) - /// Proof: ParachainStaking MaxCollatorCandidateStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: ParachainStaking Unstaking (r:1 w:1) - /// Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:1) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking CounterForCandidatePool (r:1 w:1) - /// Proof: ParachainStaking CounterForCandidatePool (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + .saturating_add(Weight::from_parts(0, 2756).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 136).saturating_mul(n.into())) + } + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxCollatorCandidateStake` (r:1 w:0) + /// Proof: `ParachainStaking::MaxCollatorCandidateStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:0) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CounterForCandidatePool` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 74]`. /// The range of component `m` is `[0, 35]`. fn join_candidates(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `78 + n * (83 ±0) + m * (85 ±0)` - // Estimated: `22098` - // Minimum execution time: 50_697_000 picoseconds. - Weight::from_parts(4_904_178, 0) - .saturating_add(Weight::from_parts(0, 22098)) - // Standard Error: 95_903 - .saturating_add(Weight::from_parts(618_821, 0).saturating_mul(n.into())) - // Standard Error: 200_027 - .saturating_add(Weight::from_parts(1_353_228, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(10)) + // Measured: `2617 + m * (37 ±0) + n * (76 ±0)` + // Estimated: `5255 + m * (43 ±0)` + // Minimum execution time: 69_301_000 picoseconds. + Weight::from_parts(50_991_837, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 10_464 + .saturating_add(Weight::from_parts(484_667, 0).saturating_mul(n.into())) + // Standard Error: 21_729 + .saturating_add(Weight::from_parts(915_463, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(Weight::from_parts(0, 43).saturating_mul(m.into())) } - /// Storage: ParachainStaking CandidatePool (r:17 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:1) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking Round (r:1 w:0) - /// Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::CandidatePool` (r:17 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Round` (r:1 w:0) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// The range of component `n` is `[17, 74]`. /// The range of component `m` is `[0, 35]`. - fn init_leave_candidates(n: u32, _m: u32, ) -> Weight { + fn init_leave_candidates(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2447 + n * (72 ±0) + m * (818 ±0)` - // Estimated: `78143` - // Minimum execution time: 91_929_000 picoseconds. - Weight::from_parts(86_361_105, 0) - .saturating_add(Weight::from_parts(0, 78143)) - // Standard Error: 123_416 - .saturating_add(Weight::from_parts(492_552, 0).saturating_mul(n.into())) + // Measured: `2007 + m * (816 ±0) + n * (71 ±0)` + // Estimated: `73495` + // Minimum execution time: 94_556_000 picoseconds. + Weight::from_parts(71_411_021, 0) + .saturating_add(Weight::from_parts(0, 73495)) + // Standard Error: 9_190 + .saturating_add(Weight::from_parts(518_859, 0).saturating_mul(n.into())) + // Standard Error: 14_903 + .saturating_add(Weight::from_parts(1_256_711, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(21)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: ParachainStaking CandidatePool (r:2 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:1) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::CandidatePool` (r:2 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// The range of component `n` is `[17, 74]`. /// The range of component `m` is `[0, 35]`. fn cancel_leave_candidates(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `846 + n * (53 ±0) + m * (96 ±0)` - // Estimated: `13653` - // Minimum execution time: 34_969_000 picoseconds. - Weight::from_parts(5_322_543, 0) - .saturating_add(Weight::from_parts(0, 13653)) - // Standard Error: 114_619 - .saturating_add(Weight::from_parts(403_438, 0).saturating_mul(n.into())) - // Standard Error: 186_665 - .saturating_add(Weight::from_parts(651_085, 0).saturating_mul(m.into())) + // Measured: `780 + m * (96 ±0) + n * (53 ±0)` + // Estimated: `9520` + // Minimum execution time: 36_175_000 picoseconds. + Weight::from_parts(30_044_644, 0) + .saturating_add(Weight::from_parts(0, 9520)) + // Standard Error: 6_250 + .saturating_add(Weight::from_parts(227_699, 0).saturating_mul(n.into())) + // Standard Error: 10_137 + .saturating_add(Weight::from_parts(573_087, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking Round (r:1 w:0) - /// Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksAuthored (r:1 w:1) - /// Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksRewarded (r:36 w:36) - /// Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking Rewards (r:36 w:36) - /// Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:0) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) - /// Storage: ParachainStaking Unstaking (r:36 w:36) - /// Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:35 w:35) - /// Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - /// Storage: Session Validators (r:1 w:0) - /// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Session DisabledValidators (r:1 w:1) - /// Proof Skipped: Session DisabledValidators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Digest (r:1 w:1) - /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking CounterForCandidatePool (r:1 w:1) - /// Proof: ParachainStaking CounterForCandidatePool (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Round` (r:1 w:0) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:36 w:36) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:36 w:36) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:0) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:36 w:36) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:35 w:35) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `Session::Validators` (r:1 w:0) + /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Session::DisabledValidators` (r:1 w:1) + /// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CounterForCandidatePool` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `n` is `[17, 74]`. /// The range of component `m` is `[0, 35]`. fn execute_leave_candidates(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + n * (368 ±0) + m * (1611 ±0)` - // Estimated: `25299 + m * (14112 ±0) + n * (312 ±117)` - // Minimum execution time: 48_603_000 picoseconds. - Weight::from_parts(48_603_000, 0) - .saturating_add(Weight::from_parts(0, 25299)) - // Standard Error: 599_572 - .saturating_add(Weight::from_parts(479_149, 0).saturating_mul(n.into())) - // Standard Error: 1_278_769 - .saturating_add(Weight::from_parts(15_930_155, 0).saturating_mul(m.into())) + // Measured: `0 + m * (1534 ±0) + n * (335 ±0)` + // Estimated: `5255 + m * (2756 ±0) + n * (118 ±3)` + // Minimum execution time: 59_106_000 picoseconds. + Weight::from_parts(59_883_000, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 19_623 + .saturating_add(Weight::from_parts(666_321, 0).saturating_mul(n.into())) + // Standard Error: 42_976 + .saturating_add(Weight::from_parts(24_712_741, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().writes(8)) .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(m.into()))) - .saturating_add(Weight::from_parts(0, 14112).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 312).saturating_mul(n.into())) - } - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxCollatorCandidateStake (r:1 w:0) - /// Proof: ParachainStaking MaxCollatorCandidateStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - /// Storage: ParachainStaking Unstaking (r:1 w:1) - /// Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:1) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksAuthored (r:1 w:0) - /// Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksRewarded (r:1 w:1) - /// Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking Rewards (r:1 w:1) - /// Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + .saturating_add(Weight::from_parts(0, 2756).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 118).saturating_mul(n.into())) + } + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxCollatorCandidateStake` (r:1 w:0) + /// Proof: `ParachainStaking::MaxCollatorCandidateStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:0) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 74]`. /// The range of component `m` is `[0, 35]`. /// The range of component `u` is `[0, 9]`. fn candidate_stake_more(n: u32, m: u32, u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `510 + n * (83 ±0) + m * (128 ±0) + u * (27 ±0)` - // Estimated: `27204` - // Minimum execution time: 57_740_000 picoseconds. - Weight::from_parts(1_978_780, 0) - .saturating_add(Weight::from_parts(0, 27204)) - // Standard Error: 104_528 - .saturating_add(Weight::from_parts(655_552, 0).saturating_mul(n.into())) - // Standard Error: 218_015 - .saturating_add(Weight::from_parts(1_264_552, 0).saturating_mul(m.into())) - // Standard Error: 847_839 - .saturating_add(Weight::from_parts(1_205_148, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(12)) + // Measured: `3030 + m * (92 ±0) + n * (65 ±0) + u * (24 ±0)` + // Estimated: `5255` + // Minimum execution time: 80_398_000 picoseconds. + Weight::from_parts(51_933_927, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 9_989 + .saturating_add(Weight::from_parts(524_075, 0).saturating_mul(n.into())) + // Standard Error: 20_736 + .saturating_add(Weight::from_parts(1_044_861, 0).saturating_mul(m.into())) + // Standard Error: 76_814 + .saturating_add(Weight::from_parts(1_148_706, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(8)) } - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking Unstaking (r:1 w:1) - /// Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:1) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksAuthored (r:1 w:0) - /// Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksRewarded (r:1 w:1) - /// Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking Rewards (r:1 w:1) - /// Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 74]`. /// The range of component `m` is `[0, 35]`. fn candidate_stake_less(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `49 + n * (72 ±0) + m * (103 ±0)` - // Estimated: `20312` - // Minimum execution time: 44_572_000 picoseconds. - Weight::from_parts(16_172_013, 0) - .saturating_add(Weight::from_parts(0, 20312)) - // Standard Error: 48_260 - .saturating_add(Weight::from_parts(513_986, 0).saturating_mul(n.into())) - // Standard Error: 100_656 - .saturating_add(Weight::from_parts(796_742, 0).saturating_mul(m.into())) + // Measured: `2099 + m * (70 ±0) + n * (60 ±0)` + // Estimated: `5255` + // Minimum execution time: 54_141_000 picoseconds. + Weight::from_parts(36_950_474, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 9_885 + .saturating_add(Weight::from_parts(459_552, 0).saturating_mul(n.into())) + // Standard Error: 20_528 + .saturating_add(Weight::from_parts(876_321, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidatePool (r:2 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking Unstaking (r:1 w:1) - /// Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - /// Storage: ParachainStaking LastDelegation (r:1 w:1) - /// Proof: ParachainStaking LastDelegation (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking Round (r:1 w:0) - /// Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:1) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksAuthored (r:1 w:0) - /// Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksRewarded (r:0 w:1) - /// Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:2 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::LastDelegation` (r:1 w:1) + /// Proof: `ParachainStaking::LastDelegation` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Round` (r:1 w:0) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:0) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:0 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 75]`. /// The range of component `m` is `[1, 34]`. fn join_delegators(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `929 + n * (97 ±0) + m * (135 ±0)` - // Estimated: `30914` - // Minimum execution time: 58_247_000 picoseconds. - Weight::from_parts(28_773_576, 0) - .saturating_add(Weight::from_parts(0, 30914)) - // Standard Error: 51_294 - .saturating_add(Weight::from_parts(603_817, 0).saturating_mul(n.into())) - // Standard Error: 115_023 - .saturating_add(Weight::from_parts(849_106, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(12)) + // Measured: `3558 + m * (93 ±0) + n * (84 ±0)` + // Estimated: `9520` + // Minimum execution time: 84_273_000 picoseconds. + Weight::from_parts(58_578_993, 0) + .saturating_add(Weight::from_parts(0, 9520)) + // Standard Error: 10_734 + .saturating_add(Weight::from_parts(628_020, 0).saturating_mul(n.into())) + // Standard Error: 23_856 + .saturating_add(Weight::from_parts(1_291_469, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(9)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - /// Storage: ParachainStaking Unstaking (r:1 w:1) - /// Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:1) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksAuthored (r:1 w:0) - /// Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksRewarded (r:1 w:1) - /// Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking Rewards (r:1 w:1) - /// Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:0) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 75]`. /// The range of component `m` is `[1, 34]`. /// The range of component `u` is `[1, 9]`. - fn delegator_stake_more(n: u32, m: u32, _u: u32, ) -> Weight { + fn delegator_stake_more(n: u32, m: u32, u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1515 + n * (94 ±0) + m * (114 ±0) + u * (28 ±0)` - // Estimated: `29256` - // Minimum execution time: 62_490_000 picoseconds. - Weight::from_parts(33_402_121, 0) - .saturating_add(Weight::from_parts(0, 29256)) - // Standard Error: 44_620 - .saturating_add(Weight::from_parts(606_783, 0).saturating_mul(n.into())) - // Standard Error: 100_057 - .saturating_add(Weight::from_parts(1_189_969, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(12)) + // Measured: `4166 + m * (88 ±0) + n * (72 ±0) + u * (24 ±0)` + // Estimated: `5255` + // Minimum execution time: 86_880_000 picoseconds. + Weight::from_parts(59_672_570, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 9_649 + .saturating_add(Weight::from_parts(564_356, 0).saturating_mul(n.into())) + // Standard Error: 21_438 + .saturating_add(Weight::from_parts(1_084_640, 0).saturating_mul(m.into())) + // Standard Error: 83_148 + .saturating_add(Weight::from_parts(1_168_883, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(9)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking Unstaking (r:1 w:1) - /// Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:1) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksAuthored (r:1 w:0) - /// Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksRewarded (r:1 w:1) - /// Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking Rewards (r:1 w:1) - /// Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 75]`. /// The range of component `m` is `[1, 34]`. fn delegator_stake_less(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1244 + n * (80 ±0) + m * (91 ±0)` - // Estimated: `22875` - // Minimum execution time: 51_678_000 picoseconds. - Weight::from_parts(14_393_305, 0) - .saturating_add(Weight::from_parts(0, 22875)) - // Standard Error: 11_562 - .saturating_add(Weight::from_parts(516_270, 0).saturating_mul(n.into())) - // Standard Error: 25_928 - .saturating_add(Weight::from_parts(1_081_424, 0).saturating_mul(m.into())) + // Measured: `2952 + m * (71 ±0) + n * (67 ±0)` + // Estimated: `5255` + // Minimum execution time: 63_108_000 picoseconds. + Weight::from_parts(41_194_025, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 9_908 + .saturating_add(Weight::from_parts(526_412, 0).saturating_mul(n.into())) + // Standard Error: 22_022 + .saturating_add(Weight::from_parts(1_049_919, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(7)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksAuthored (r:1 w:0) - /// Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksRewarded (r:1 w:1) - /// Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking Rewards (r:1 w:1) - /// Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) - /// Storage: ParachainStaking Unstaking (r:1 w:1) - /// Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopCandidates (r:1 w:1) - /// Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - /// Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - /// Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 75]`. /// The range of component `m` is `[1, 34]`. fn leave_delegators(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1244 + n * (80 ±0) + m * (91 ±0)` - // Estimated: `22875` - // Minimum execution time: 56_485_000 picoseconds. - Weight::from_parts(20_483_674, 0) - .saturating_add(Weight::from_parts(0, 22875)) - // Standard Error: 104_239 - .saturating_add(Weight::from_parts(498_628, 0).saturating_mul(n.into())) - // Standard Error: 233_748 - .saturating_add(Weight::from_parts(1_044_196, 0).saturating_mul(m.into())) + // Measured: `2952 + m * (71 ±0) + n * (67 ±0)` + // Estimated: `5255` + // Minimum execution time: 64_821_000 picoseconds. + Weight::from_parts(46_837_102, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 10_155 + .saturating_add(Weight::from_parts(510_666, 0).saturating_mul(n.into())) + // Standard Error: 22_569 + .saturating_add(Weight::from_parts(977_726, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(7)) } - /// Storage: ParachainStaking Unstaking (r:1 w:1) - /// Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:0) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// The range of component `u` is `[1, 9]`. - fn unlock_unstaked(_u: u32, ) -> Weight { + fn unlock_unstaked(u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1449 + u * (28 ±0)` - // Estimated: `9137` - // Minimum execution time: 29_489_000 picoseconds. - Weight::from_parts(36_332_000, 0) - .saturating_add(Weight::from_parts(0, 9137)) - .saturating_add(T::DbWeight::get().reads(3)) + // Measured: `709 + u * (24 ±0)` + // Estimated: `4764` + // Minimum execution time: 35_501_000 picoseconds. + Weight::from_parts(35_991_179, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 2_875 + .saturating_add(Weight::from_parts(103_684, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: ParachainStaking MaxCollatorCandidateStake (r:0 w:1) - /// Proof: ParachainStaking MaxCollatorCandidateStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::MaxCollatorCandidateStake` (r:0 w:1) + /// Proof: `ParachainStaking::MaxCollatorCandidateStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn set_max_candidate_stake() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_555_000 picoseconds. - Weight::from_parts(8_555_000, 0) + // Minimum execution time: 5_674_000 picoseconds. + Weight::from_parts(5_879_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:0) - /// Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksAuthored (r:1 w:0) - /// Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksRewarded (r:1 w:1) - /// Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking Rewards (r:1 w:1) - /// Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:0) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:0) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) fn increment_delegator_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `739` - // Estimated: `11258` - // Minimum execution time: 16_914_000 picoseconds. - Weight::from_parts(16_914_000, 0) - .saturating_add(Weight::from_parts(0, 11258)) + // Measured: `676` + // Estimated: `3553` + // Minimum execution time: 25_922_000 picoseconds. + Weight::from_parts(26_247_000, 0) + .saturating_add(Weight::from_parts(0, 3553)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: ParachainStaking CandidatePool (r:1 w:0) - /// Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksAuthored (r:1 w:0) - /// Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking BlocksRewarded (r:1 w:1) - /// Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: ParachainStaking Rewards (r:1 w:1) - /// Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: ParachainStaking TotalCollatorStake (r:1 w:0) - /// Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:0) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:0) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) fn increment_collator_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `654` - // Estimated: `12960` - // Minimum execution time: 17_807_000 picoseconds. - Weight::from_parts(17_807_000, 0) - .saturating_add(Weight::from_parts(0, 12960)) + // Measured: `590` + // Estimated: `5255` + // Minimum execution time: 21_919_000 picoseconds. + Weight::from_parts(22_444_000, 0) + .saturating_add(Weight::from_parts(0, 5255)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: ParachainStaking Rewards (r:1 w:1) - /// Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `950` - // Estimated: `5138` - // Minimum execution time: 28_715_000 picoseconds. - Weight::from_parts(28_715_000, 0) - .saturating_add(Weight::from_parts(0, 5138)) + // Measured: `516` + // Estimated: `3597` + // Minimum execution time: 26_167_000 picoseconds. + Weight::from_parts(26_675_000, 0) + .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -696,14 +706,14 @@ impl parachain_staking::WeightInfo for WeightInfo { fn execute_scheduled_reward_change(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (7573 ±0) + n * (3647 ±0)` - // Estimated: `183222 + m * (64823 ±2_167) + n * (31965 ±1_009)` - // Minimum execution time: 683_160_000 picoseconds. - Weight::from_parts(687_351_000, 0) + // Estimated: `183222 + m * (64823 ±2_174) + n * (31965 ±1)` + // Minimum execution time: 675_610_000 picoseconds. + Weight::from_parts(680_509_000, 0) .saturating_add(Weight::from_parts(0, 183222)) - // Standard Error: 4_643_820 - .saturating_add(Weight::from_parts(141_740_256, 0).saturating_mul(n.into())) - // Standard Error: 9_970_180 - .saturating_add(Weight::from_parts(280_674_034, 0).saturating_mul(m.into())) + // Standard Error: 4_566_906 + .saturating_add(Weight::from_parts(139_722_200, 0).saturating_mul(n.into())) + // Standard Error: 9_805_048 + .saturating_add(Weight::from_parts(276_464_966, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(153)) .saturating_add(T::DbWeight::get().reads((27_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((51_u64).saturating_mul(m.into()))) @@ -726,7 +736,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 515 + > 1505 ); } #[test] @@ -738,7 +748,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 515 + > 1505 ); } #[test] @@ -750,7 +760,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4723 + > 3597 ); } #[test] @@ -774,7 +784,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 5168 + > 5255 ); } #[test] @@ -786,7 +796,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 515 + > 1505 ); } #[test] @@ -798,7 +808,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 116721 + > 73495 ); } #[test] @@ -810,7 +820,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 22098 + > 5255 ); } #[test] @@ -822,7 +832,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 78143 + > 73495 ); } #[test] @@ -834,7 +844,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 13653 + > 9520 ); } #[test] @@ -846,7 +856,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 25299 + > 5255 ); } #[test] @@ -858,7 +868,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 27204 + > 5255 ); } #[test] @@ -870,7 +880,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 20312 + > 5255 ); } #[test] @@ -882,7 +892,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 30914 + > 9520 ); } #[test] @@ -894,7 +904,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 29256 + > 5255 ); } #[test] @@ -906,7 +916,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 22875 + > 5255 ); } #[test] @@ -918,7 +928,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 22875 + > 5255 ); } #[test] @@ -930,7 +940,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 9137 + > 4764 ); } #[test] @@ -942,7 +952,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 11258 + > 3553 ); } #[test] @@ -954,7 +964,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 12960 + > 5255 ); } #[test] @@ -966,7 +976,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 5138 + > 3597 ); } #[test] diff --git a/runtimes/peregrine/src/weights/public_credentials.rs b/runtimes/peregrine/src/weights/public_credentials.rs index 21d4aede03..d6ca3e83bf 100644 --- a/runtimes/peregrine/src/weights/public_credentials.rs +++ b/runtimes/peregrine/src/weights/public_credentials.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `public_credentials` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=dev // --pallet=public-credentials // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/public_credentials.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -56,7 +53,7 @@ impl public_credentials::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `PublicCredentials::CredentialSubjects` (r:0 w:1) /// Proof: `PublicCredentials::CredentialSubjects` (`max_values`: None, `max_size`: Some(312), added: 2787, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) @@ -66,11 +63,11 @@ impl public_credentials::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `363` // Estimated: `3940` - // Minimum execution time: 65_939_000 picoseconds. - Weight::from_parts(62_465_999, 0) + // Minimum execution time: 65_319_000 picoseconds. + Weight::from_parts(61_331_302, 0) .saturating_add(Weight::from_parts(0, 3940)) // Standard Error: 7 - .saturating_add(Weight::from_parts(2_372, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(2_345, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -82,8 +79,8 @@ impl public_credentials::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `919` // Estimated: `3940` - // Minimum execution time: 24_868_000 picoseconds. - Weight::from_parts(25_278_000, 0) + // Minimum execution time: 24_556_000 picoseconds. + Weight::from_parts(24_855_000, 0) .saturating_add(Weight::from_parts(0, 3940)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -96,8 +93,8 @@ impl public_credentials::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `919` // Estimated: `3940` - // Minimum execution time: 24_328_000 picoseconds. - Weight::from_parts(24_757_000, 0) + // Minimum execution time: 24_115_000 picoseconds. + Weight::from_parts(24_535_000, 0) .saturating_add(Weight::from_parts(0, 3940)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -111,13 +108,13 @@ impl public_credentials::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove() -> Weight { // Proof Size summary in bytes: // Measured: `1160` // Estimated: `3940` - // Minimum execution time: 62_908_000 picoseconds. - Weight::from_parts(63_578_000, 0) + // Minimum execution time: 62_245_000 picoseconds. + Weight::from_parts(62_957_000, 0) .saturating_add(Weight::from_parts(0, 3940)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -131,13 +128,13 @@ impl public_credentials::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn reclaim_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `1160` // Estimated: `3940` - // Minimum execution time: 62_638_000 picoseconds. - Weight::from_parts(63_232_000, 0) + // Minimum execution time: 62_371_000 picoseconds. + Weight::from_parts(62_883_000, 0) .saturating_add(Weight::from_parts(0, 3940)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -151,14 +148,14 @@ impl public_credentials::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: // Measured: `1265` - // Estimated: `6326` - // Minimum execution time: 98_356_000 picoseconds. - Weight::from_parts(99_382_000, 0) - .saturating_add(Weight::from_parts(0, 6326)) + // Estimated: `6578` + // Minimum execution time: 102_563_000 picoseconds. + Weight::from_parts(103_532_000, 0) + .saturating_add(Weight::from_parts(0, 6578)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -171,13 +168,13 @@ impl public_credentials::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `1084` // Estimated: `3940` - // Minimum execution time: 85_146_000 picoseconds. - Weight::from_parts(86_307_000, 0) + // Minimum execution time: 84_766_000 picoseconds. + Weight::from_parts(85_450_000, 0) .saturating_add(Weight::from_parts(0, 3940)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -255,7 +252,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6326 + > 6578 ); } #[test] diff --git a/runtimes/spiritnet/src/weights/attestation.rs b/runtimes/spiritnet/src/weights/attestation.rs index 3c212bb597..914cbc058f 100644 --- a/runtimes/spiritnet/src/weights/attestation.rs +++ b/runtimes/spiritnet/src/weights/attestation.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `attestation` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=attestation // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/attestation.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -56,16 +53,16 @@ impl attestation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn add() -> Weight { // Proof Size summary in bytes: // Measured: `260` - // Estimated: `3660` - // Minimum execution time: 51_135_000 picoseconds. - Weight::from_parts(51_755_000, 0) - .saturating_add(Weight::from_parts(0, 3660)) + // Estimated: `3784` + // Minimum execution time: 52_220_000 picoseconds. + Weight::from_parts(52_901_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -75,8 +72,8 @@ impl attestation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `196` // Estimated: `3660` - // Minimum execution time: 14_512_000 picoseconds. - Weight::from_parts(14_684_000, 0) + // Minimum execution time: 14_657_000 picoseconds. + Weight::from_parts(14_927_000, 0) .saturating_add(Weight::from_parts(0, 3660)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -88,14 +85,14 @@ impl attestation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove() -> Weight { // Proof Size summary in bytes: // Measured: `437` - // Estimated: `3660` - // Minimum execution time: 47_728_000 picoseconds. - Weight::from_parts(48_196_000, 0) - .saturating_add(Weight::from_parts(0, 3660)) + // Estimated: `3784` + // Minimum execution time: 48_680_000 picoseconds. + Weight::from_parts(49_286_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -106,14 +103,14 @@ impl attestation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn reclaim_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `437` - // Estimated: `3660` - // Minimum execution time: 47_883_000 picoseconds. - Weight::from_parts(48_325_000, 0) - .saturating_add(Weight::from_parts(0, 3660)) + // Estimated: `3784` + // Minimum execution time: 48_916_000 picoseconds. + Weight::from_parts(49_213_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -124,14 +121,14 @@ impl attestation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: // Measured: `581` - // Estimated: `6326` - // Minimum execution time: 77_079_000 picoseconds. - Weight::from_parts(77_637_000, 0) - .saturating_add(Weight::from_parts(0, 6326)) + // Estimated: `6578` + // Minimum execution time: 81_153_000 picoseconds. + Weight::from_parts(81_803_000, 0) + .saturating_add(Weight::from_parts(0, 6578)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -142,14 +139,14 @@ impl attestation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `437` - // Estimated: `3660` - // Minimum execution time: 70_610_000 picoseconds. - Weight::from_parts(71_270_000, 0) - .saturating_add(Weight::from_parts(0, 3660)) + // Estimated: `3784` + // Minimum execution time: 70_655_000 picoseconds. + Weight::from_parts(71_647_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -166,7 +163,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3660 + > 3784 ); } #[test] @@ -190,7 +187,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3660 + > 3784 ); } #[test] @@ -202,7 +199,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3660 + > 3784 ); } #[test] @@ -214,7 +211,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6326 + > 6578 ); } #[test] @@ -226,7 +223,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3660 + > 3784 ); } } diff --git a/runtimes/spiritnet/src/weights/ctype.rs b/runtimes/spiritnet/src/weights/ctype.rs index 5f2710979d..1e7243596a 100644 --- a/runtimes/spiritnet/src/weights/ctype.rs +++ b/runtimes/spiritnet/src/weights/ctype.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `ctype` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=ctype // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/ctype.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -58,11 +55,11 @@ impl ctype::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `254` // Estimated: `6204` - // Minimum execution time: 44_236_000 picoseconds. - Weight::from_parts(1_715_088, 0) + // Minimum execution time: 44_493_000 picoseconds. + Weight::from_parts(44_836_000, 0) .saturating_add(Weight::from_parts(0, 6204)) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_628, 0).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(1_610, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -72,8 +69,8 @@ impl ctype::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `158` // Estimated: `3553` - // Minimum execution time: 17_668_000 picoseconds. - Weight::from_parts(18_341_000, 0) + // Minimum execution time: 15_666_000 picoseconds. + Weight::from_parts(16_282_000, 0) .saturating_add(Weight::from_parts(0, 3553)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtimes/spiritnet/src/weights/cumulus_pallet_parachain_system.rs b/runtimes/spiritnet/src/weights/cumulus_pallet_parachain_system.rs index 9359715e44..808c44bb04 100644 --- a/runtimes/spiritnet/src/weights/cumulus_pallet_parachain_system.rs +++ b/runtimes/spiritnet/src/weights/cumulus_pallet_parachain_system.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `cumulus_pallet_parachain_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev -// --pallet=cumulus_pallet_parachain_system +// --pallet=cumulus-pallet-parachain-system // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/cumulus_pallet_parachain_system.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -62,13 +59,13 @@ impl cumulus_pallet_parachain_system::WeightInfo for We /// The range of component `n` is `[0, 1000]`. fn enqueue_inbound_downward_messages(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `115` + // Measured: `151` // Estimated: `3517` - // Minimum execution time: 1_824_000 picoseconds. - Weight::from_parts(3_137_458_802, 0) + // Minimum execution time: 3_095_000 picoseconds. + Weight::from_parts(3_184_000, 0) .saturating_add(Weight::from_parts(0, 3517)) - // Standard Error: 1_119_461 - .saturating_add(Weight::from_parts(188_354_017, 0).saturating_mul(n.into())) + // Standard Error: 14_893 + .saturating_add(Weight::from_parts(203_898_496, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) diff --git a/runtimes/spiritnet/src/weights/delegation.rs b/runtimes/spiritnet/src/weights/delegation.rs index 0b37990698..7002c53ebb 100644 --- a/runtimes/spiritnet/src/weights/delegation.rs +++ b/runtimes/spiritnet/src/weights/delegation.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `delegation` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=delegation // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/delegation.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -56,7 +53,7 @@ impl delegation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Delegation::DelegationNodes` (r:0 w:1) /// Proof: `Delegation::DelegationNodes` (`max_values`: None, `max_size`: Some(32200), added: 34675, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) @@ -64,10 +61,10 @@ impl delegation::WeightInfo for WeightInfo { fn create_hierarchy() -> Weight { // Proof Size summary in bytes: // Measured: `330` - // Estimated: `3658` - // Minimum execution time: 56_654_000 picoseconds. - Weight::from_parts(57_074_000, 0) - .saturating_add(Weight::from_parts(0, 3658)) + // Estimated: `3784` + // Minimum execution time: 55_053_000 picoseconds. + Weight::from_parts(55_628_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -76,15 +73,15 @@ impl delegation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn add_delegation() -> Weight { // Proof Size summary in bytes: // Measured: `469` // Estimated: `70340` - // Minimum execution time: 61_676_000 picoseconds. - Weight::from_parts(62_625_000, 0) + // Minimum execution time: 59_724_000 picoseconds. + Weight::from_parts(60_559_000, 0) .saturating_add(Weight::from_parts(0, 70340)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) @@ -99,13 +96,13 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `208 + r * (239 ±0)` // Estimated: `3545 + r * (34675 ±0)` - // Minimum execution time: 24_738_000 picoseconds. - Weight::from_parts(16_570_193, 0) + // Minimum execution time: 24_957_000 picoseconds. + Weight::from_parts(16_456_381, 0) .saturating_add(Weight::from_parts(0, 3545)) - // Standard Error: 18_176 - .saturating_add(Weight::from_parts(9_591_484, 0).saturating_mul(r.into())) - // Standard Error: 18_176 - .saturating_add(Weight::from_parts(54_078, 0).saturating_mul(c.into())) + // Standard Error: 16_959 + .saturating_add(Weight::from_parts(9_588_871, 0).saturating_mul(r.into())) + // Standard Error: 16_959 + .saturating_add(Weight::from_parts(73_627, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) @@ -121,11 +118,11 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `381 + c * (239 ±0)` // Estimated: `35665 + c * (34675 ±0)` - // Minimum execution time: 28_480_000 picoseconds. - Weight::from_parts(26_142_601, 0) + // Minimum execution time: 28_402_000 picoseconds. + Weight::from_parts(26_067_512, 0) .saturating_add(Weight::from_parts(0, 35665)) - // Standard Error: 18_975 - .saturating_add(Weight::from_parts(4_367_029, 0).saturating_mul(c.into())) + // Standard Error: 14_824 + .saturating_add(Weight::from_parts(4_061_390, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -138,7 +135,7 @@ impl delegation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Delegation::DelegationHierarchies` (r:1 w:1) /// Proof: `Delegation::DelegationHierarchies` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 5]`. @@ -146,11 +143,11 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `618 + r * (294 ±0)` // Estimated: `35665 + r * (34675 ±0)` - // Minimum execution time: 99_379_000 picoseconds. - Weight::from_parts(67_667_457, 0) + // Minimum execution time: 97_984_000 picoseconds. + Weight::from_parts(64_123_637, 0) .saturating_add(Weight::from_parts(0, 35665)) - // Standard Error: 101_036 - .saturating_add(Weight::from_parts(35_735_298, 0).saturating_mul(r.into())) + // Standard Error: 47_647 + .saturating_add(Weight::from_parts(36_418_949, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -164,7 +161,7 @@ impl delegation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Delegation::DelegationHierarchies` (r:0 w:1) /// Proof: `Delegation::DelegationHierarchies` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 5]`. @@ -172,11 +169,11 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `550 + r * (294 ±0)` // Estimated: `35665 + r * (34675 ±0)` - // Minimum execution time: 92_101_000 picoseconds. - Weight::from_parts(58_494_298, 0) + // Minimum execution time: 92_372_000 picoseconds. + Weight::from_parts(58_896_715, 0) .saturating_add(Weight::from_parts(0, 35665)) - // Standard Error: 56_546 - .saturating_add(Weight::from_parts(36_463_171, 0).saturating_mul(r.into())) + // Standard Error: 57_644 + .saturating_add(Weight::from_parts(36_534_010, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -191,8 +188,8 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `580` // Estimated: `35665` - // Minimum execution time: 11_732_000 picoseconds. - Weight::from_parts(12_043_000, 0) + // Minimum execution time: 12_036_000 picoseconds. + Weight::from_parts(12_306_000, 0) .saturating_add(Weight::from_parts(0, 35665)) .saturating_add(T::DbWeight::get().reads(2)) } @@ -203,11 +200,11 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `308 + c * (240 ±0)` // Estimated: `35665 + c * (34675 ±0)` - // Minimum execution time: 10_893_000 picoseconds. - Weight::from_parts(7_787_310, 0) + // Minimum execution time: 11_217_000 picoseconds. + Weight::from_parts(8_199_989, 0) .saturating_add(Weight::from_parts(0, 35665)) - // Standard Error: 15_306 - .saturating_add(Weight::from_parts(3_597_394, 0).saturating_mul(c.into())) + // Standard Error: 14_987 + .saturating_add(Weight::from_parts(3_587_569, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 34675).saturating_mul(c.into())) @@ -219,11 +216,11 @@ impl delegation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `308 + c * (240 ±0)` // Estimated: `35665 + c * (34675 ±0)` - // Minimum execution time: 10_869_000 picoseconds. - Weight::from_parts(7_855_382, 0) + // Minimum execution time: 11_208_000 picoseconds. + Weight::from_parts(8_125_812, 0) .saturating_add(Weight::from_parts(0, 35665)) - // Standard Error: 16_019 - .saturating_add(Weight::from_parts(3_577_958, 0).saturating_mul(c.into())) + // Standard Error: 14_874 + .saturating_add(Weight::from_parts(3_616_425, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 34675).saturating_mul(c.into())) @@ -235,13 +232,13 @@ impl delegation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: // Measured: `796` // Estimated: `35665` - // Minimum execution time: 84_824_000 picoseconds. - Weight::from_parts(85_612_000, 0) + // Minimum execution time: 87_636_000 picoseconds. + Weight::from_parts(88_617_000, 0) .saturating_add(Weight::from_parts(0, 35665)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) @@ -253,13 +250,13 @@ impl delegation::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `652` // Estimated: `35665` - // Minimum execution time: 78_639_000 picoseconds. - Weight::from_parts(79_283_000, 0) + // Minimum execution time: 77_308_000 picoseconds. + Weight::from_parts(77_955_000, 0) .saturating_add(Weight::from_parts(0, 35665)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -277,7 +274,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3658 + > 3784 ); } #[test] diff --git a/runtimes/spiritnet/src/weights/did.rs b/runtimes/spiritnet/src/weights/did.rs index 50d25088a8..589a9996a5 100644 --- a/runtimes/spiritnet/src/weights/did.rs +++ b/runtimes/spiritnet/src/weights/did.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `did` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=did // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/did.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -56,7 +53,7 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:0 w:1) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Did::ServiceEndpoints` (r:0 w:25) @@ -69,13 +66,13 @@ impl did::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `361` // Estimated: `6204` - // Minimum execution time: 179_645_000 picoseconds. - Weight::from_parts(140_140_433, 0) + // Minimum execution time: 178_528_000 picoseconds. + Weight::from_parts(131_555_132, 0) .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 66_286 - .saturating_add(Weight::from_parts(1_325_294, 0).saturating_mul(n.into())) - // Standard Error: 25_628 - .saturating_add(Weight::from_parts(27_990_119, 0).saturating_mul(c.into())) + // Standard Error: 55_442 + .saturating_add(Weight::from_parts(1_909_318, 0).saturating_mul(n.into())) + // Standard Error: 21_435 + .saturating_add(Weight::from_parts(29_357_431, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) @@ -87,7 +84,7 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:0 w:1) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Did::ServiceEndpoints` (r:0 w:25) @@ -100,13 +97,13 @@ impl did::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `361` // Estimated: `6204` - // Minimum execution time: 174_477_000 picoseconds. - Weight::from_parts(122_131_516, 0) + // Minimum execution time: 174_377_000 picoseconds. + Weight::from_parts(118_837_715, 0) .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 53_422 - .saturating_add(Weight::from_parts(1_616_614, 0).saturating_mul(n.into())) - // Standard Error: 20_654 - .saturating_add(Weight::from_parts(36_170_906, 0).saturating_mul(c.into())) + // Standard Error: 55_625 + .saturating_add(Weight::from_parts(2_000_423, 0).saturating_mul(n.into())) + // Standard Error: 21_506 + .saturating_add(Weight::from_parts(37_295_169, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) @@ -118,7 +115,7 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Did::DidEndpointsCount` (r:0 w:1) /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Did::ServiceEndpoints` (r:0 w:25) @@ -127,15 +124,17 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 10]`. /// The range of component `c` is `[1, 25]`. - fn create_ecdsa_keys(_n: u32, c: u32, ) -> Weight { + fn create_ecdsa_keys(n: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `361` // Estimated: `6204` - // Minimum execution time: 160_082_000 picoseconds. - Weight::from_parts(149_830_386, 0) + // Minimum execution time: 162_956_000 picoseconds. + Weight::from_parts(122_160_942, 0) .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 33_424 - .saturating_add(Weight::from_parts(22_228_318, 0).saturating_mul(c.into())) + // Standard Error: 53_261 + .saturating_add(Weight::from_parts(1_793_118, 0).saturating_mul(n.into())) + // Standard Error: 20_592 + .saturating_add(Weight::from_parts(24_570_506, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) @@ -146,25 +145,31 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::ServiceEndpoints` (`max_values`: None, `max_size`: Some(4215), added: 6690, mode: `MaxEncodedLen`) /// Storage: `Did::Did` (r:1 w:1) /// Proof: `Did::Did` (`max_values`: None, `max_size`: Some(2312), added: 4787, mode: `MaxEncodedLen`) + /// Storage: `Web3Names::Names` (r:1 w:0) + /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `DotNames::Names` (r:1 w:0) + /// Proof: `DotNames::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `DidLookup::ConnectedAccounts` (r:1 w:0) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Did::DidBlacklist` (r:0 w:1) /// Proof: `Did::DidBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 25]`. fn delete(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `724 + c * (105 ±0)` + // Measured: `917 + c * (105 ±0)` // Estimated: `5777 + c * (6690 ±0)` - // Minimum execution time: 59_047_000 picoseconds. - Weight::from_parts(59_454_165, 0) + // Minimum execution time: 73_644_000 picoseconds. + Weight::from_parts(74_401_328, 0) .saturating_add(Weight::from_parts(0, 5777)) - // Standard Error: 3_867 - .saturating_add(Weight::from_parts(1_196_375, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Standard Error: 4_610 + .saturating_add(Weight::from_parts(1_196_188, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) @@ -176,25 +181,31 @@ impl did::WeightInfo for WeightInfo { /// Proof: `Did::DidEndpointsCount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `Did::ServiceEndpoints` (r:25 w:25) /// Proof: `Did::ServiceEndpoints` (`max_values`: None, `max_size`: Some(4215), added: 6690, mode: `MaxEncodedLen`) + /// Storage: `Web3Names::Names` (r:1 w:0) + /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `DotNames::Names` (r:1 w:0) + /// Proof: `DotNames::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `DidLookup::ConnectedAccounts` (r:1 w:0) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Did::DidBlacklist` (r:0 w:1) /// Proof: `Did::DidBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 25]`. fn reclaim_deposit(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `724 + c * (105 ±0)` + // Measured: `917 + c * (105 ±0)` // Estimated: `5777 + c * (6690 ±0)` - // Minimum execution time: 61_094_000 picoseconds. - Weight::from_parts(61_617_698, 0) + // Minimum execution time: 75_407_000 picoseconds. + Weight::from_parts(76_393_491, 0) .saturating_add(Weight::from_parts(0, 5777)) - // Standard Error: 17_827 - .saturating_add(Weight::from_parts(1_213_047, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Standard Error: 4_363 + .saturating_add(Weight::from_parts(1_198_048, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) @@ -206,8 +217,8 @@ impl did::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `352` // Estimated: `5777` - // Minimum execution time: 69_858_000 picoseconds. - Weight::from_parts(71_302_000, 0) + // Minimum execution time: 70_824_000 picoseconds. + Weight::from_parts(71_662_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -218,8 +229,8 @@ impl did::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `352` // Estimated: `5777` - // Minimum execution time: 56_726_000 picoseconds. - Weight::from_parts(57_659_000, 0) + // Minimum execution time: 57_579_000 picoseconds. + Weight::from_parts(58_310_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -230,8 +241,8 @@ impl did::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `5777` - // Minimum execution time: 59_676_000 picoseconds. - Weight::from_parts(60_698_000, 0) + // Minimum execution time: 59_947_000 picoseconds. + Weight::from_parts(61_734_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -245,13 +256,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn set_ed25519_authentication_key() -> Weight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `5777` - // Minimum execution time: 73_313_000 picoseconds. - Weight::from_parts(74_181_000, 0) + // Minimum execution time: 75_222_000 picoseconds. + Weight::from_parts(76_306_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -265,13 +276,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn set_sr25519_authentication_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1772` // Estimated: `5777` - // Minimum execution time: 73_640_000 picoseconds. - Weight::from_parts(75_533_000, 0) + // Minimum execution time: 75_195_000 picoseconds. + Weight::from_parts(75_848_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -285,13 +296,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn set_ecdsa_authentication_key() -> Weight { // Proof Size summary in bytes: // Measured: `1738` // Estimated: `5777` - // Minimum execution time: 73_143_000 picoseconds. - Weight::from_parts(74_398_000, 0) + // Minimum execution time: 75_066_000 picoseconds. + Weight::from_parts(76_028_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -305,13 +316,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn set_ed25519_delegation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1772` + // Measured: `1735` // Estimated: `5777` - // Minimum execution time: 73_982_000 picoseconds. - Weight::from_parts(74_831_000, 0) + // Minimum execution time: 74_561_000 picoseconds. + Weight::from_parts(75_614_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -325,13 +336,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn set_sr25519_delegation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `5777` - // Minimum execution time: 72_948_000 picoseconds. - Weight::from_parts(74_124_000, 0) + // Minimum execution time: 74_581_000 picoseconds. + Weight::from_parts(75_551_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -345,13 +356,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn set_ecdsa_delegation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1738` // Estimated: `5777` - // Minimum execution time: 72_776_000 picoseconds. - Weight::from_parts(73_973_000, 0) + // Minimum execution time: 74_855_000 picoseconds. + Weight::from_parts(75_924_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -365,13 +376,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove_ed25519_delegation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `5777` - // Minimum execution time: 71_002_000 picoseconds. - Weight::from_parts(72_014_000, 0) + // Minimum execution time: 72_836_000 picoseconds. + Weight::from_parts(73_674_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -385,13 +396,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove_sr25519_delegation_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1772` // Estimated: `5777` - // Minimum execution time: 71_170_000 picoseconds. - Weight::from_parts(72_281_000, 0) + // Minimum execution time: 72_787_000 picoseconds. + Weight::from_parts(73_558_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -405,13 +416,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove_ecdsa_delegation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1738` // Estimated: `5777` - // Minimum execution time: 70_930_000 picoseconds. - Weight::from_parts(71_820_000, 0) + // Minimum execution time: 72_673_000 picoseconds. + Weight::from_parts(73_465_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -425,13 +436,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn set_ed25519_attestation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `5777` - // Minimum execution time: 73_075_000 picoseconds. - Weight::from_parts(74_451_000, 0) + // Minimum execution time: 74_802_000 picoseconds. + Weight::from_parts(75_455_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -445,13 +456,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn set_sr25519_attestation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `5777` - // Minimum execution time: 72_776_000 picoseconds. - Weight::from_parts(73_833_000, 0) + // Minimum execution time: 74_465_000 picoseconds. + Weight::from_parts(75_571_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -465,13 +476,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn set_ecdsa_attestation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1738` // Estimated: `5777` - // Minimum execution time: 72_958_000 picoseconds. - Weight::from_parts(74_260_000, 0) + // Minimum execution time: 74_832_000 picoseconds. + Weight::from_parts(75_396_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -485,13 +496,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove_ed25519_attestation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `5777` - // Minimum execution time: 70_897_000 picoseconds. - Weight::from_parts(72_155_000, 0) + // Minimum execution time: 73_176_000 picoseconds. + Weight::from_parts(73_991_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -505,13 +516,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove_sr25519_attestation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `5777` - // Minimum execution time: 72_222_000 picoseconds. - Weight::from_parts(73_100_000, 0) + // Minimum execution time: 72_962_000 picoseconds. + Weight::from_parts(73_780_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -525,13 +536,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove_ecdsa_attestation_key() -> Weight { // Proof Size summary in bytes: // Measured: `1738` // Estimated: `5777` - // Minimum execution time: 71_533_000 picoseconds. - Weight::from_parts(72_491_000, 0) + // Minimum execution time: 72_809_000 picoseconds. + Weight::from_parts(73_691_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -545,13 +556,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn add_ed25519_key_agreement_key() -> Weight { // Proof Size summary in bytes: // Measured: `1629` // Estimated: `5777` - // Minimum execution time: 73_781_000 picoseconds. - Weight::from_parts(74_430_000, 0) + // Minimum execution time: 73_676_000 picoseconds. + Weight::from_parts(74_963_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -565,13 +576,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn add_sr25519_key_agreement_key() -> Weight { // Proof Size summary in bytes: // Measured: `1629` // Estimated: `5777` - // Minimum execution time: 72_993_000 picoseconds. - Weight::from_parts(74_268_000, 0) + // Minimum execution time: 73_670_000 picoseconds. + Weight::from_parts(75_427_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -585,13 +596,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn add_ecdsa_key_agreement_key() -> Weight { // Proof Size summary in bytes: // Measured: `1632` // Estimated: `5777` - // Minimum execution time: 74_264_000 picoseconds. - Weight::from_parts(75_192_000, 0) + // Minimum execution time: 74_212_000 picoseconds. + Weight::from_parts(74_759_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -605,13 +616,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove_ed25519_key_agreement_key() -> Weight { // Proof Size summary in bytes: - // Measured: `1735` + // Measured: `1772` // Estimated: `5777` - // Minimum execution time: 71_437_000 picoseconds. - Weight::from_parts(72_238_000, 0) + // Minimum execution time: 73_635_000 picoseconds. + Weight::from_parts(74_359_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -625,13 +636,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove_sr25519_key_agreement_key() -> Weight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `5777` - // Minimum execution time: 71_933_000 picoseconds. - Weight::from_parts(72_751_000, 0) + // Minimum execution time: 73_472_000 picoseconds. + Weight::from_parts(74_319_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -645,13 +656,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove_ecdsa_key_agreement_key() -> Weight { // Proof Size summary in bytes: // Measured: `1738` // Estimated: `5777` - // Minimum execution time: 71_479_000 picoseconds. - Weight::from_parts(72_521_000, 0) + // Minimum execution time: 73_658_000 picoseconds. + Weight::from_parts(74_358_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -667,13 +678,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn add_service_endpoint() -> Weight { // Proof Size summary in bytes: // Measured: `1135` // Estimated: `7680` - // Minimum execution time: 88_127_000 picoseconds. - Weight::from_parts(89_305_000, 0) + // Minimum execution time: 89_185_000 picoseconds. + Weight::from_parts(90_603_000, 0) .saturating_add(Weight::from_parts(0, 7680)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) @@ -689,13 +700,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove_service_endpoint() -> Weight { // Proof Size summary in bytes: // Measured: `5318` // Estimated: `7680` - // Minimum execution time: 82_371_000 picoseconds. - Weight::from_parts(83_453_000, 0) + // Minimum execution time: 83_419_000 picoseconds. + Weight::from_parts(84_323_000, 0) .saturating_add(Weight::from_parts(0, 7680)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) @@ -707,11 +718,11 @@ impl did::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1626` // Estimated: `5777` - // Minimum execution time: 46_835_000 picoseconds. - Weight::from_parts(26_104_235, 0) + // Minimum execution time: 46_647_000 picoseconds. + Weight::from_parts(28_480_149, 0) .saturating_add(Weight::from_parts(0, 5777)) // Standard Error: 0 - .saturating_add(Weight::from_parts(4_280, 0).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(4_277, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Did::Did` (r:1 w:0) @@ -721,11 +732,11 @@ impl did::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1626` // Estimated: `5777` - // Minimum execution time: 59_948_000 picoseconds. - Weight::from_parts(36_083_978, 0) + // Minimum execution time: 59_974_000 picoseconds. + Weight::from_parts(35_609_713, 0) .saturating_add(Weight::from_parts(0, 5777)) // Standard Error: 0 - .saturating_add(Weight::from_parts(2_362, 0).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(2_340, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Did::Did` (r:1 w:0) @@ -735,11 +746,11 @@ impl did::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1627` // Estimated: `5777` - // Minimum execution time: 49_515_000 picoseconds. - Weight::from_parts(22_529_728, 0) + // Minimum execution time: 50_434_000 picoseconds. + Weight::from_parts(24_905_595, 0) .saturating_add(Weight::from_parts(0, 5777)) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_165, 0).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(1_158, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Migration::MigratedKeys` (r:1 w:1) @@ -749,13 +760,13 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: // Measured: `519` // Estimated: `5777` - // Minimum execution time: 65_775_000 picoseconds. - Weight::from_parts(66_720_000, 0) + // Minimum execution time: 69_030_000 picoseconds. + Weight::from_parts(69_719_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -772,8 +783,8 @@ impl did::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `463` // Estimated: `5777` - // Minimum execution time: 32_895_000 picoseconds. - Weight::from_parts(33_748_000, 0) + // Minimum execution time: 33_550_000 picoseconds. + Weight::from_parts(34_561_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -784,8 +795,8 @@ impl did::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `353` // Estimated: `5777` - // Minimum execution time: 17_099_000 picoseconds. - Weight::from_parts(17_324_000, 0) + // Minimum execution time: 17_908_000 picoseconds. + Weight::from_parts(18_234_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -796,15 +807,15 @@ impl did::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn create_from_account() -> Weight { // Proof Size summary in bytes: // Measured: `323` // Estimated: `6204` - // Minimum execution time: 77_079_000 picoseconds. - Weight::from_parts(77_988_000, 0) + // Minimum execution time: 77_447_000 picoseconds. + Weight::from_parts(78_647_000, 0) .saturating_add(Weight::from_parts(0, 6204)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) diff --git a/runtimes/spiritnet/src/weights/frame_system.rs b/runtimes/spiritnet/src/weights/frame_system.rs index ef58405fd9..c4c646e00d 100644 --- a/runtimes/spiritnet/src/weights/frame_system.rs +++ b/runtimes/spiritnet/src/weights/frame_system.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=frame-system // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/frame_system.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -54,22 +51,22 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_170_000 picoseconds. - Weight::from_parts(2_200_000, 0) + // Minimum execution time: 2_087_000 picoseconds. + Weight::from_parts(2_140_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(391, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(439, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_826_000 picoseconds. - Weight::from_parts(5_937_000, 0) + // Minimum execution time: 6_056_000 picoseconds. + Weight::from_parts(6_195_000, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_548, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_608, 0).saturating_mul(b.into())) } /// Storage: `System::Digest` (r:1 w:1) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -79,8 +76,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 3_795_000 picoseconds. - Weight::from_parts(3_957_000, 0) + // Minimum execution time: 3_914_000 picoseconds. + Weight::from_parts(4_097_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -99,11 +96,11 @@ impl frame_system::WeightInfo for WeightInfo { /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_code() -> Weight { // Proof Size summary in bytes: - // Measured: `127` - // Estimated: `1612` - // Minimum execution time: 101_619_838_000 picoseconds. - Weight::from_parts(103_955_584_000, 0) - .saturating_add(Weight::from_parts(0, 1612)) + // Measured: `164` + // Estimated: `1649` + // Minimum execution time: 102_403_996_000 picoseconds. + Weight::from_parts(108_071_574_000, 0) + .saturating_add(Weight::from_parts(0, 1649)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -114,11 +111,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_248_000 picoseconds. - Weight::from_parts(2_336_000, 0) + // Minimum execution time: 2_110_000 picoseconds. + Weight::from_parts(2_177_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_870 - .saturating_add(Weight::from_parts(736_156, 0).saturating_mul(i.into())) + // Standard Error: 2_058 + .saturating_add(Weight::from_parts(731_724, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -128,11 +125,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_220_000 picoseconds. - Weight::from_parts(2_271_000, 0) + // Minimum execution time: 2_154_000 picoseconds. + Weight::from_parts(2_249_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 766 - .saturating_add(Weight::from_parts(529_745, 0).saturating_mul(i.into())) + // Standard Error: 835 + .saturating_add(Weight::from_parts(518_683, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -140,13 +137,13 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `82 + p * (69 ±0)` - // Estimated: `91 + p * (70 ±0)` - // Minimum execution time: 4_183_000 picoseconds. - Weight::from_parts(4_309_000, 0) - .saturating_add(Weight::from_parts(0, 91)) - // Standard Error: 923 - .saturating_add(Weight::from_parts(1_027_074, 0).saturating_mul(p.into())) + // Measured: `93 + p * (69 ±0)` + // Estimated: `96 + p * (70 ±0)` + // Minimum execution time: 4_289_000 picoseconds. + Weight::from_parts(4_430_000, 0) + .saturating_add(Weight::from_parts(0, 96)) + // Standard Error: 970 + .saturating_add(Weight::from_parts(1_031_853, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) @@ -157,8 +154,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_754_000 picoseconds. - Weight::from_parts(8_184_000, 0) + // Minimum execution time: 8_277_000 picoseconds. + Weight::from_parts(8_702_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,11 +175,11 @@ impl frame_system::WeightInfo for WeightInfo { /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn apply_authorized_upgrade() -> Weight { // Proof Size summary in bytes: - // Measured: `149` - // Estimated: `1634` - // Minimum execution time: 104_821_125_000 picoseconds. - Weight::from_parts(106_523_390_000, 0) - .saturating_add(Weight::from_parts(0, 1634)) + // Measured: `186` + // Estimated: `1671` + // Minimum execution time: 105_092_839_000 picoseconds. + Weight::from_parts(107_649_676_000, 0) + .saturating_add(Weight::from_parts(0, 1671)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -211,7 +208,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 1612 + > 1649 ); } #[test] @@ -223,7 +220,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 91 + > 96 ); } #[test] @@ -235,7 +232,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 1634 + > 1671 ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_asset_switch.rs b/runtimes/spiritnet/src/weights/pallet_asset_switch.rs index 56778f4ef5..7fb793e1c9 100644 --- a/runtimes/spiritnet/src/weights/pallet_asset_switch.rs +++ b/runtimes/spiritnet/src/weights/pallet_asset_switch.rs @@ -1,26 +1,40 @@ +// KILT Blockchain – https://botlabs.org +// Copyright (C) 2019-2024 BOTLabs GmbH + +// The KILT Blockchain is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The KILT Blockchain is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +// If you feel like getting in touch with us, you can do so at info@botlabs.org //! Autogenerated weights for `pallet_asset_switch` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-08-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// ./target/release/kilt-parachain // benchmark // pallet +// --heap-pages=4096 // --chain=spiritnet-dev -// --steps=50 -// --repeat=20 // --pallet=pallet-asset-switch // --extrinsic=* -// --execution=wasm -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=./runtimes/spiritnet/src/weights/ +// --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -34,40 +48,53 @@ pub struct WeightInfo(PhantomData); impl pallet_asset_switch::WeightInfo for WeightInfo { /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:1) /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (r:1 w:0) + /// Proof: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::NextQueryId` (r:0 w:1) + /// Proof: `AssetSwitchPool1::NextQueryId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn set_switch_pair() -> Weight { // Proof Size summary in bytes: // Measured: `220` // Estimated: `3597` - // Minimum execution time: 201_873_000 picoseconds. - Weight::from_parts(203_847_000, 0) + // Minimum execution time: 22_174_000 picoseconds. + Weight::from_parts(22_486_000, 0) .saturating_add(Weight::from_parts(0, 3597)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) } + /// Storage: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (r:1 w:0) + /// Proof: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::NextQueryId` (r:0 w:1) + /// Proof: `AssetSwitchPool1::NextQueryId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// Storage: `AssetSwitchPool1::SwitchPair` (r:0 w:1) /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) fn force_set_switch_pair() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 99_925_000 picoseconds. - Weight::from_parts(101_714_000, 0) - .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `76` + // Estimated: `1489` + // Minimum execution time: 15_215_000 picoseconds. + Weight::from_parts(15_673_000, 0) + .saturating_add(Weight::from_parts(0, 1489)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) } + /// Storage: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (r:1 w:0) + /// Proof: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:1) /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::NextQueryId` (r:0 w:1) + /// Proof: `AssetSwitchPool1::NextQueryId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn force_unset_switch_pair() -> Weight { // Proof Size summary in bytes: // Measured: `218` // Estimated: `3424` - // Minimum execution time: 113_309_000 picoseconds. - Weight::from_parts(116_506_000, 0) + // Minimum execution time: 15_368_000 picoseconds. + Weight::from_parts(15_701_000, 0) .saturating_add(Weight::from_parts(0, 3424)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:1) /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) @@ -75,8 +102,8 @@ impl pallet_asset_switch::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `218` // Estimated: `3424` - // Minimum execution time: 88_871_000 picoseconds. - Weight::from_parts(89_525_000, 0) + // Minimum execution time: 11_208_000 picoseconds. + Weight::from_parts(11_403_000, 0) .saturating_add(Weight::from_parts(0, 3424)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -87,8 +114,8 @@ impl pallet_asset_switch::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `218` // Estimated: `3424` - // Minimum execution time: 115_902_000 picoseconds. - Weight::from_parts(118_293_000, 0) + // Minimum execution time: 15_125_000 picoseconds. + Weight::from_parts(15_481_000, 0) .saturating_add(Weight::from_parts(0, 3424)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -99,8 +126,8 @@ impl pallet_asset_switch::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `218` // Estimated: `3424` - // Minimum execution time: 91_074_000 picoseconds. - Weight::from_parts(92_105_000, 0) + // Minimum execution time: 11_662_000 picoseconds. + Weight::from_parts(11_946_000, 0) .saturating_add(Weight::from_parts(0, 3424)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -109,6 +136,10 @@ impl pallet_asset_switch::WeightInfo for WeightInfo /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, 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: `AssetSwitchPool1::NextQueryId` (r:1 w:1) + /// Proof: `AssetSwitchPool1::NextQueryId` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) @@ -123,17 +154,21 @@ impl pallet_asset_switch::WeightInfo for WeightInfo /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `AssetSwitchPool1::PendingSwitchConfirmations` (r:1 w:1) + /// Proof: `AssetSwitchPool1::PendingSwitchConfirmations` (`max_values`: None, `max_size`: Some(666), added: 3141, mode: `MaxEncodedLen`) + /// Storage: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (r:1 w:1) + /// Proof: `AssetSwitchPool1::CounterForPendingSwitchConfirmations` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) fn switch() -> Weight { // Proof Size summary in bytes: - // Measured: `1091` + // Measured: `1160` // Estimated: `6204` - // Minimum execution time: 1_543_529_000 picoseconds. - Weight::from_parts(1_578_149_000, 0) + // Minimum execution time: 169_659_000 picoseconds. + Weight::from_parts(171_092_000, 0) .saturating_add(Weight::from_parts(0, 6204)) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(8)) + .saturating_add(T::DbWeight::get().reads(14)) + .saturating_add(T::DbWeight::get().writes(11)) } } @@ -152,6 +187,18 @@ mod tests { ); } #[test] + fn test_force_set_switch_pair() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 1489 + ); + } + #[test] fn test_force_unset_switch_pair() { assert!( ::BlockWeights::get() diff --git a/runtimes/spiritnet/src/weights/pallet_assets.rs b/runtimes/spiritnet/src/weights/pallet_assets.rs index 5717f115b8..f85da296f0 100644 --- a/runtimes/spiritnet/src/weights/pallet_assets.rs +++ b/runtimes/spiritnet/src/weights/pallet_assets.rs @@ -1,26 +1,40 @@ +// KILT Blockchain – https://botlabs.org +// Copyright (C) 2019-2024 BOTLabs GmbH + +// The KILT Blockchain is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The KILT Blockchain is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +// If you feel like getting in touch with us, you can do so at info@botlabs.org //! Autogenerated weights for `pallet_assets` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-08-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// ./target/release/kilt-parachain // benchmark // pallet +// --heap-pages=4096 // --chain=spiritnet-dev -// --steps=50 -// --repeat=20 // --pallet=pallet-assets // --extrinsic=* -// --execution=wasm -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=./runtimes/spiritnet/src/weights/ +// --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -38,8 +52,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `4273` - // Minimum execution time: 670_284_000 picoseconds. - Weight::from_parts(830_855_000, 0) + // Minimum execution time: 12_818_000 picoseconds. + Weight::from_parts(13_011_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -50,8 +64,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `4273` - // Minimum execution time: 699_768_000 picoseconds. - Weight::from_parts(784_398_000, 0) + // Minimum execution time: 11_803_000 picoseconds. + Weight::from_parts(12_364_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -62,8 +76,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `312` // Estimated: `4273` - // Minimum execution time: 697_104_000 picoseconds. - Weight::from_parts(761_710_000, 0) + // Minimum execution time: 12_539_000 picoseconds. + Weight::from_parts(12_848_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -79,11 +93,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + c * (212 ±0)` // Estimated: `4273 + c * (3207 ±0)` - // Minimum execution time: 929_714_000 picoseconds. - Weight::from_parts(2_652_804_841, 0) + // Minimum execution time: 17_260_000 picoseconds. + Weight::from_parts(17_612_000, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 6_621_016 - .saturating_add(Weight::from_parts(178_537_863, 0).saturating_mul(c.into())) + // Standard Error: 6_097 + .saturating_add(Weight::from_parts(12_287_591, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -99,11 +113,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `447 + a * (86 ±0)` // Estimated: `4273 + a * (3221 ±0)` - // Minimum execution time: 183_722_000 picoseconds. - Weight::from_parts(185_234_000, 0) + // Minimum execution time: 17_645_000 picoseconds. + Weight::from_parts(18_005_000, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 309_726 - .saturating_add(Weight::from_parts(68_577_378, 0).saturating_mul(a.into())) + // Standard Error: 3_933 + .saturating_add(Weight::from_parts(4_820_344, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -118,8 +132,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `278` // Estimated: `4273` - // Minimum execution time: 158_427_000 picoseconds. - Weight::from_parts(160_668_000, 0) + // Minimum execution time: 14_070_000 picoseconds. + Weight::from_parts(14_393_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -132,8 +146,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `278` // Estimated: `4273` - // Minimum execution time: 282_826_000 picoseconds. - Weight::from_parts(287_541_000, 0) + // Minimum execution time: 24_275_000 picoseconds. + Weight::from_parts(24_708_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -146,8 +160,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `384` // Estimated: `4273` - // Minimum execution time: 390_440_000 picoseconds. - Weight::from_parts(398_994_000, 0) + // Minimum execution time: 30_217_000 picoseconds. + Weight::from_parts(30_801_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -162,8 +176,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `436` // Estimated: `7404` - // Minimum execution time: 554_247_000 picoseconds. - Weight::from_parts(561_657_000, 0) + // Minimum execution time: 42_332_000 picoseconds. + Weight::from_parts(43_063_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -178,8 +192,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `436` // Estimated: `7404` - // Minimum execution time: 505_609_000 picoseconds. - Weight::from_parts(511_182_000, 0) + // Minimum execution time: 38_176_000 picoseconds. + Weight::from_parts(38_738_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -194,8 +208,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `436` // Estimated: `7404` - // Minimum execution time: 553_195_000 picoseconds. - Weight::from_parts(557_682_000, 0) + // Minimum execution time: 42_697_000 picoseconds. + Weight::from_parts(43_398_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -208,8 +222,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `384` // Estimated: `4273` - // Minimum execution time: 185_832_000 picoseconds. - Weight::from_parts(188_556_000, 0) + // Minimum execution time: 16_345_000 picoseconds. + Weight::from_parts(16_616_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -222,8 +236,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `384` // Estimated: `4273` - // Minimum execution time: 185_944_000 picoseconds. - Weight::from_parts(189_359_000, 0) + // Minimum execution time: 16_165_000 picoseconds. + Weight::from_parts(16_513_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -234,8 +248,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `312` // Estimated: `4273` - // Minimum execution time: 129_754_000 picoseconds. - Weight::from_parts(132_353_000, 0) + // Minimum execution time: 12_078_000 picoseconds. + Weight::from_parts(12_503_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -246,8 +260,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `312` // Estimated: `4273` - // Minimum execution time: 129_422_000 picoseconds. - Weight::from_parts(134_030_000, 0) + // Minimum execution time: 12_088_000 picoseconds. + Weight::from_parts(12_437_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -260,8 +274,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `278` // Estimated: `4273` - // Minimum execution time: 164_227_000 picoseconds. - Weight::from_parts(166_823_000, 0) + // Minimum execution time: 15_046_000 picoseconds. + Weight::from_parts(15_360_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -272,8 +286,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `278` // Estimated: `4273` - // Minimum execution time: 138_887_000 picoseconds. - Weight::from_parts(142_103_000, 0) + // Minimum execution time: 13_172_000 picoseconds. + Weight::from_parts(13_571_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -284,13 +298,17 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 4]`. /// The range of component `s` is `[0, 4]`. - fn set_metadata(_n: u32, _s: u32, ) -> Weight { + fn set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `278` // Estimated: `4273` - // Minimum execution time: 153_483_000 picoseconds. - Weight::from_parts(166_947_854, 0) + // Minimum execution time: 14_603_000 picoseconds. + Weight::from_parts(15_004_213, 0) .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 3_421 + .saturating_add(Weight::from_parts(71_652, 0).saturating_mul(n.into())) + // Standard Error: 3_421 + .saturating_add(Weight::from_parts(80_570, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -302,8 +320,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `346` // Estimated: `4273` - // Minimum execution time: 161_504_000 picoseconds. - Weight::from_parts(163_432_000, 0) + // Minimum execution time: 15_317_000 picoseconds. + Weight::from_parts(15_610_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -318,13 +336,13 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `117` // Estimated: `4273` - // Minimum execution time: 153_719_000 picoseconds. - Weight::from_parts(156_756_127, 0) + // Minimum execution time: 13_206_000 picoseconds. + Weight::from_parts(13_512_624, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 42_141 - .saturating_add(Weight::from_parts(47_279, 0).saturating_mul(n.into())) - // Standard Error: 42_141 - .saturating_add(Weight::from_parts(606_325, 0).saturating_mul(s.into())) + // Standard Error: 3_540 + .saturating_add(Weight::from_parts(95_228, 0).saturating_mul(n.into())) + // Standard Error: 3_540 + .saturating_add(Weight::from_parts(70_547, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -336,8 +354,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `346` // Estimated: `4273` - // Minimum execution time: 159_022_000 picoseconds. - Weight::from_parts(159_860_000, 0) + // Minimum execution time: 14_920_000 picoseconds. + Weight::from_parts(15_176_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -348,8 +366,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `278` // Estimated: `4273` - // Minimum execution time: 127_227_000 picoseconds. - Weight::from_parts(128_014_000, 0) + // Minimum execution time: 12_461_000 picoseconds. + Weight::from_parts(12_650_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -362,8 +380,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `312` // Estimated: `4273` - // Minimum execution time: 207_749_000 picoseconds. - Weight::from_parts(209_271_000, 0) + // Minimum execution time: 18_842_000 picoseconds. + Weight::from_parts(19_241_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -380,8 +398,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `604` // Estimated: `7404` - // Minimum execution time: 639_409_000 picoseconds. - Weight::from_parts(644_412_000, 0) + // Minimum execution time: 52_003_000 picoseconds. + Weight::from_parts(52_758_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -394,8 +412,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `480` // Estimated: `4273` - // Minimum execution time: 230_433_000 picoseconds. - Weight::from_parts(238_922_000, 0) + // Minimum execution time: 21_504_000 picoseconds. + Weight::from_parts(21_930_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -408,8 +426,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `480` // Estimated: `4273` - // Minimum execution time: 230_209_000 picoseconds. - Weight::from_parts(232_202_000, 0) + // Minimum execution time: 22_000_000 picoseconds. + Weight::from_parts(22_312_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -420,8 +438,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `278` // Estimated: `4273` - // Minimum execution time: 149_517_000 picoseconds. - Weight::from_parts(150_361_000, 0) + // Minimum execution time: 13_544_000 picoseconds. + Weight::from_parts(13_894_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -434,8 +452,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `278` // Estimated: `4273` - // Minimum execution time: 220_867_000 picoseconds. - Weight::from_parts(223_534_000, 0) + // Minimum execution time: 19_039_000 picoseconds. + Weight::from_parts(19_636_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -448,8 +466,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `278` // Estimated: `4273` - // Minimum execution time: 212_910_000 picoseconds. - Weight::from_parts(215_017_000, 0) + // Minimum execution time: 18_277_000 picoseconds. + Weight::from_parts(18_617_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -462,8 +480,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `402` // Estimated: `4273` - // Minimum execution time: 200_001_000 picoseconds. - Weight::from_parts(202_074_000, 0) + // Minimum execution time: 16_787_000 picoseconds. + Weight::from_parts(17_021_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -476,8 +494,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `435` // Estimated: `4273` - // Minimum execution time: 194_374_000 picoseconds. - Weight::from_parts(195_424_000, 0) + // Minimum execution time: 16_152_000 picoseconds. + Weight::from_parts(16_438_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -490,8 +508,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `384` // Estimated: `4273` - // Minimum execution time: 176_392_000 picoseconds. - Weight::from_parts(178_538_000, 0) + // Minimum execution time: 16_363_000 picoseconds. + Weight::from_parts(16_736_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtimes/spiritnet/src/weights/pallet_balances.rs b/runtimes/spiritnet/src/weights/pallet_balances.rs index 767313482b..5529fefd95 100644 --- a/runtimes/spiritnet/src/weights/pallet_balances.rs +++ b/runtimes/spiritnet/src/weights/pallet_balances.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=pallet-balances // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_balances.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -55,8 +52,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `107` // Estimated: `6204` - // Minimum execution time: 57_631_000 picoseconds. - Weight::from_parts(58_505_000, 0) + // Minimum execution time: 59_484_000 picoseconds. + Weight::from_parts(60_361_000, 0) .saturating_add(Weight::from_parts(0, 6204)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -67,8 +64,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3597` - // Minimum execution time: 36_640_000 picoseconds. - Weight::from_parts(37_398_000, 0) + // Minimum execution time: 36_971_000 picoseconds. + Weight::from_parts(37_936_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -79,8 +76,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3597` - // Minimum execution time: 15_909_000 picoseconds. - Weight::from_parts(16_256_000, 0) + // Minimum execution time: 16_170_000 picoseconds. + Weight::from_parts(16_535_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -91,8 +88,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3597` - // Minimum execution time: 20_849_000 picoseconds. - Weight::from_parts(21_268_000, 0) + // Minimum execution time: 21_689_000 picoseconds. + Weight::from_parts(22_095_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -103,8 +100,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `214` // Estimated: `8811` - // Minimum execution time: 60_228_000 picoseconds. - Weight::from_parts(60_901_000, 0) + // Minimum execution time: 62_328_000 picoseconds. + Weight::from_parts(63_219_000, 0) .saturating_add(Weight::from_parts(0, 8811)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -115,8 +112,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3597` - // Minimum execution time: 44_815_000 picoseconds. - Weight::from_parts(45_343_000, 0) + // Minimum execution time: 45_908_000 picoseconds. + Weight::from_parts(46_691_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -127,8 +124,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3597` - // Minimum execution time: 18_525_000 picoseconds. - Weight::from_parts(18_948_000, 0) + // Minimum execution time: 18_590_000 picoseconds. + Weight::from_parts(18_949_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -140,11 +137,11 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + u * (140 ±0)` // Estimated: `990 + u * (2607 ±0)` - // Minimum execution time: 17_564_000 picoseconds. - Weight::from_parts(17_764_000, 0) + // Minimum execution time: 17_561_000 picoseconds. + Weight::from_parts(17_688_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 9_627 - .saturating_add(Weight::from_parts(12_525_557, 0).saturating_mul(u.into())) + // Standard Error: 9_742 + .saturating_add(Weight::from_parts(12_718_480, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2607).saturating_mul(u.into())) @@ -155,8 +152,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1501` - // Minimum execution time: 6_375_000 picoseconds. - Weight::from_parts(6_719_000, 0) + // Minimum execution time: 6_773_000 picoseconds. + Weight::from_parts(7_088_000, 0) .saturating_add(Weight::from_parts(0, 1501)) .saturating_add(T::DbWeight::get().reads(1)) } diff --git a/runtimes/spiritnet/src/weights/pallet_collective.rs b/runtimes/spiritnet/src/weights/pallet_collective.rs index 545e4bf131..7aed546c03 100644 --- a/runtimes/spiritnet/src/weights/pallet_collective.rs +++ b/runtimes/spiritnet/src/weights/pallet_collective.rs @@ -19,25 +19,22 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// ./target/release/kilt-parachain // benchmark // pallet // --heap-pages=4096 -// --chain=dev +// --chain=spiritnet-dev // --pallet=pallet-collective // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs -// --output=./runtimes/peregrine/src/weights/ +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -50,216 +47,252 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { /// Storage: `Council::Members` (r:1 w:1) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:0) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Voting` (r:100 w:100) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Prime` (r:0 w:1) - /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + m * (3228 ±0) + p * (3195 ±0)` - // Estimated: `990` - // Minimum execution time: 369_621_000 picoseconds. - Weight::from_parts(369_621_000, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 17_102_279 - .saturating_add(Weight::from_parts(91_979_117, 0).saturating_mul(m.into())) - // Standard Error: 17_102_279 - .saturating_add(Weight::from_parts(90_212_097, 0).saturating_mul(p.into())) + // Measured: `0 + m * (3232 ±0) + p * (3194 ±0)` + // Estimated: `15736 + m * (1967 ±23) + p * (4336 ±23)` + // Minimum execution time: 17_660_000 picoseconds. + Weight::from_parts(17_977_000, 0) + .saturating_add(Weight::from_parts(0, 15736)) + // Standard Error: 71_525 + .saturating_add(Weight::from_parts(5_880_650, 0).saturating_mul(m.into())) + // Standard Error: 71_525 + .saturating_add(Weight::from_parts(8_336_923, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) .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(m.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 4336).saturating_mul(p.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. - fn execute(b: u32, _m: u32, ) -> Weight { + fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `68 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 625_331_000 picoseconds. - Weight::from_parts(787_644_463, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 16_228 - .saturating_add(Weight::from_parts(62_712, 0).saturating_mul(b.into())) + // Measured: `69 + m * (32 ±0)` + // Estimated: `1555 + m * (32 ±0)` + // Minimum execution time: 15_301_000 picoseconds. + Weight::from_parts(14_196_385, 0) + .saturating_add(Weight::from_parts(0, 1555)) + // Standard Error: 19 + .saturating_add(Weight::from_parts(1_549, 0).saturating_mul(b.into())) + // Standard Error: 196 + .saturating_add(Weight::from_parts(15_118, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:1 w:0) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `68 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 711_111_000 picoseconds. - Weight::from_parts(658_477_137, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 17_555 - .saturating_add(Weight::from_parts(171_729, 0).saturating_mul(b.into())) - // Standard Error: 181_226 - .saturating_add(Weight::from_parts(522_904, 0).saturating_mul(m.into())) + // Measured: `69 + m * (32 ±0)` + // Estimated: `3535 + m * (32 ±0)` + // Minimum execution time: 17_696_000 picoseconds. + Weight::from_parts(16_775_410, 0) + .saturating_add(Weight::from_parts(0, 3535)) + // Standard Error: 20 + .saturating_add(Weight::from_parts(1_575, 0).saturating_mul(b.into())) + // Standard Error: 215 + .saturating_add(Weight::from_parts(25_902, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:1 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalCount` (r:1 w:1) - /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Voting` (r:0 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. - fn propose_proposed(b: u32, _m: u32, p: u32, ) -> Weight { + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4 + m * (32 ±0) + p * (39 ±0)` - // Estimated: `990` - // Minimum execution time: 775_269_000 picoseconds. - Weight::from_parts(905_763_953, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 89_660 - .saturating_add(Weight::from_parts(3_241, 0).saturating_mul(b.into())) - // Standard Error: 925_589 - .saturating_add(Weight::from_parts(5_095_420, 0).saturating_mul(p.into())) + // Measured: `359 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `3751 + m * (33 ±0) + p * (36 ±0)` + // Minimum execution time: 23_116_000 picoseconds. + Weight::from_parts(23_497_188, 0) + .saturating_add(Weight::from_parts(0, 3751)) + // Standard Error: 64 + .saturating_add(Weight::from_parts(2_318, 0).saturating_mul(b.into())) + // Standard Error: 668 + .saturating_add(Weight::from_parts(17_019, 0).saturating_mul(m.into())) + // Standard Error: 660 + .saturating_add(Weight::from_parts(132_380, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. - fn vote(_m: u32, ) -> Weight { + fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `811 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 801_344_000 picoseconds. - Weight::from_parts(8_168_627_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `812 + m * (64 ±0)` + // Estimated: `4276 + m * (64 ±0)` + // Minimum execution time: 20_816_000 picoseconds. + Weight::from_parts(21_295_445, 0) + .saturating_add(Weight::from_parts(0, 4276)) + // Standard Error: 326 + .saturating_add(Weight::from_parts(32_601, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:0 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_early_disapproved(_m: u32, p: u32, ) -> Weight { + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `185 + m * (64 ±0) + p * (38 ±0)` - // Estimated: `990` - // Minimum execution time: 869_858_000 picoseconds. - Weight::from_parts(951_242_033, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 608_221 - .saturating_add(Weight::from_parts(3_301_904, 0).saturating_mul(p.into())) + // Measured: `401 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3846 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 25_085_000 picoseconds. + Weight::from_parts(25_782_999, 0) + .saturating_add(Weight::from_parts(0, 3846)) + // Standard Error: 542 + .saturating_add(Weight::from_parts(19_967, 0).saturating_mul(m.into())) + // Standard Error: 529 + .saturating_add(Weight::from_parts(126_726, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:1 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_early_approved(_b: u32, _m: u32, _p: u32, ) -> Weight { + fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `400 + m * (64 ±0) + p * (44 ±0)` - // Estimated: `990` - // Minimum execution time: 1_416_290_000 picoseconds. - Weight::from_parts(27_075_651_756, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `703 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4020 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 35_199_000 picoseconds. + Weight::from_parts(36_984_247, 0) + .saturating_add(Weight::from_parts(0, 4020)) + // Standard Error: 183 + .saturating_add(Weight::from_parts(2_208, 0).saturating_mul(b.into())) + // Standard Error: 1_892 + .saturating_add(Weight::from_parts(158_129, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Prime` (r:1 w:0) - /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:0 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_disapproved(_m: u32, _p: u32, ) -> Weight { + fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `205 + m * (64 ±0) + p * (38 ±0)` - // Estimated: `990` - // Minimum execution time: 1_168_659_000 picoseconds. - Weight::from_parts(1_589_757_573, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `421 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3866 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 27_190_000 picoseconds. + Weight::from_parts(27_641_512, 0) + .saturating_add(Weight::from_parts(0, 3866)) + // Standard Error: 534 + .saturating_add(Weight::from_parts(23_344, 0).saturating_mul(m.into())) + // Standard Error: 521 + .saturating_add(Weight::from_parts(124_272, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `Council::Voting` (r:1 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Members` (r:1 w:0) - /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Prime` (r:1 w:0) - /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:1 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_approved(_b: u32, _m: u32, p: u32, ) -> Weight { + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `420 + m * (64 ±0) + p * (44 ±0)` - // Estimated: `990` - // Minimum execution time: 1_204_090_000 picoseconds. - Weight::from_parts(33_870_289_808, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 2_576_837 - .saturating_add(Weight::from_parts(8_788_127, 0).saturating_mul(p.into())) + // Measured: `723 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4040 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 37_251_000 picoseconds. + Weight::from_parts(39_081_529, 0) + .saturating_add(Weight::from_parts(0, 4040)) + // Standard Error: 175 + .saturating_add(Weight::from_parts(2_028, 0).saturating_mul(b.into())) + // Standard Error: 1_805 + .saturating_add(Weight::from_parts(157_795, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: `Council::Proposals` (r:1 w:1) - /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Voting` (r:0 w:1) - /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Council::ProposalOf` (r:0 w:1) - /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. - fn disapprove_proposal(_p: u32, ) -> Weight { + fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `224 + p * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 754_675_000 picoseconds. - Weight::from_parts(1_018_024_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `226 + p * (32 ±0)` + // Estimated: `1711 + p * (32 ±0)` + // Minimum execution time: 14_515_000 picoseconds. + Weight::from_parts(16_181_915, 0) + .saturating_add(Weight::from_parts(0, 1711)) + // Standard Error: 515 + .saturating_add(Weight::from_parts(112_357, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } @@ -274,7 +307,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 15736 ); } #[test] @@ -286,7 +319,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 1555 ); } #[test] @@ -298,7 +331,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3535 ); } #[test] @@ -310,7 +343,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3751 ); } #[test] @@ -322,7 +355,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4276 ); } #[test] @@ -334,7 +367,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3846 ); } #[test] @@ -346,7 +379,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4020 ); } #[test] @@ -358,7 +391,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3866 ); } #[test] @@ -370,7 +403,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4040 ); } #[test] @@ -382,7 +415,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 1711 ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_democracy.rs b/runtimes/spiritnet/src/weights/pallet_democracy.rs index f0fca3874e..730dec136e 100644 --- a/runtimes/spiritnet/src/weights/pallet_democracy.rs +++ b/runtimes/spiritnet/src/weights/pallet_democracy.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=pallet-democracy // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_democracy.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -61,8 +58,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4738` // Estimated: `18187` - // Minimum execution time: 39_624_000 picoseconds. - Weight::from_parts(41_093_000, 0) + // Minimum execution time: 37_671_000 picoseconds. + Weight::from_parts(38_387_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -73,8 +70,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3493` // Estimated: `6695` - // Minimum execution time: 36_401_000 picoseconds. - Weight::from_parts(37_075_000, 0) + // Minimum execution time: 35_996_000 picoseconds. + Weight::from_parts(36_575_000, 0) .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -91,8 +88,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3475` // Estimated: `7264` - // Minimum execution time: 50_499_000 picoseconds. - Weight::from_parts(51_659_000, 0) + // Minimum execution time: 49_556_000 picoseconds. + Weight::from_parts(49_997_000, 0) .saturating_add(Weight::from_parts(0, 7264)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -109,8 +106,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3497` // Estimated: `7264` - // Minimum execution time: 53_370_000 picoseconds. - Weight::from_parts(54_268_000, 0) + // Minimum execution time: 52_676_000 picoseconds. + Weight::from_parts(54_427_000, 0) .saturating_add(Weight::from_parts(0, 7264)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -125,8 +122,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3674` - // Minimum execution time: 24_689_000 picoseconds. - Weight::from_parts(25_239_000, 0) + // Minimum execution time: 25_268_000 picoseconds. + Weight::from_parts(25_859_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -149,8 +146,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `5999` // Estimated: `18187` - // Minimum execution time: 97_027_000 picoseconds. - Weight::from_parts(98_377_000, 0) + // Minimum execution time: 94_203_000 picoseconds. + Weight::from_parts(95_917_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) @@ -163,8 +160,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3353` // Estimated: `6707` - // Minimum execution time: 12_857_000 picoseconds. - Weight::from_parts(13_766_000, 0) + // Minimum execution time: 12_821_000 picoseconds. + Weight::from_parts(13_240_000, 0) .saturating_add(Weight::from_parts(0, 6707)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -175,8 +172,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_132_000 picoseconds. - Weight::from_parts(3_255_000, 0) + // Minimum execution time: 2_922_000 picoseconds. + Weight::from_parts(3_117_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -186,8 +183,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_104_000 picoseconds. - Weight::from_parts(3_249_000, 0) + // Minimum execution time: 2_904_000 picoseconds. + Weight::from_parts(3_079_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -203,8 +200,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 23_852_000 picoseconds. - Weight::from_parts(24_262_000, 0) + // Minimum execution time: 23_873_000 picoseconds. + Weight::from_parts(24_530_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) @@ -219,8 +216,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3456` // Estimated: `6707` - // Minimum execution time: 27_095_000 picoseconds. - Weight::from_parts(27_723_000, 0) + // Minimum execution time: 27_227_000 picoseconds. + Weight::from_parts(27_757_000, 0) .saturating_add(Weight::from_parts(0, 6707)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -237,8 +234,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `5902` // Estimated: `18187` - // Minimum execution time: 80_185_000 picoseconds. - Weight::from_parts(81_709_000, 0) + // Minimum execution time: 78_731_000 picoseconds. + Weight::from_parts(79_487_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -251,8 +248,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `204` // Estimated: `3518` - // Minimum execution time: 17_627_000 picoseconds. - Weight::from_parts(18_045_000, 0) + // Minimum execution time: 18_504_000 picoseconds. + Weight::from_parts(18_902_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -268,11 +265,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `177 + r * (94 ±0)` // Estimated: `1489 + r * (2684 ±0)` - // Minimum execution time: 5_790_000 picoseconds. - Weight::from_parts(9_106_364, 0) + // Minimum execution time: 5_694_000 picoseconds. + Weight::from_parts(9_727_106, 0) .saturating_add(Weight::from_parts(0, 1489)) - // Standard Error: 5_924 - .saturating_add(Weight::from_parts(2_962_777, 0).saturating_mul(r.into())) + // Standard Error: 5_624 + .saturating_add(Weight::from_parts(2_803_499, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -295,11 +292,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `177 + r * (94 ±0)` // Estimated: `18187 + r * (2684 ±0)` - // Minimum execution time: 7_997_000 picoseconds. - Weight::from_parts(11_524_794, 0) + // Minimum execution time: 7_803_000 picoseconds. + Weight::from_parts(11_580_584, 0) .saturating_add(Weight::from_parts(0, 18187)) - // Standard Error: 5_651 - .saturating_add(Weight::from_parts(2_960_951, 0).saturating_mul(r.into())) + // Standard Error: 6_030 + .saturating_add(Weight::from_parts(2_821_974, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -318,11 +315,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `839 + r * (116 ±0)` // Estimated: `19812 + r * (2684 ±0)` - // Minimum execution time: 42_844_000 picoseconds. - Weight::from_parts(49_137_786, 0) + // Minimum execution time: 41_833_000 picoseconds. + Weight::from_parts(48_201_177, 0) .saturating_add(Weight::from_parts(0, 19812)) - // Standard Error: 6_433 - .saturating_add(Weight::from_parts(3_805_122, 0).saturating_mul(r.into())) + // Standard Error: 6_690 + .saturating_add(Weight::from_parts(3_616_657, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -338,11 +335,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `434 + r * (116 ±0)` // Estimated: `13538 + r * (2684 ±0)` - // Minimum execution time: 20_056_000 picoseconds. - Weight::from_parts(21_626_312, 0) + // Minimum execution time: 19_715_000 picoseconds. + Weight::from_parts(21_979_940, 0) .saturating_add(Weight::from_parts(0, 13538)) - // Standard Error: 6_416 - .saturating_add(Weight::from_parts(3_809_905, 0).saturating_mul(r.into())) + // Standard Error: 5_664 + .saturating_add(Weight::from_parts(3_588_019, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -355,8 +352,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_333_000 picoseconds. - Weight::from_parts(3_493_000, 0) + // Minimum execution time: 3_334_000 picoseconds. + Weight::from_parts(3_477_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -373,11 +370,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `484` // Estimated: `7264` - // Minimum execution time: 23_845_000 picoseconds. - Weight::from_parts(33_969_988, 0) + // Minimum execution time: 23_291_000 picoseconds. + Weight::from_parts(33_645_648, 0) .saturating_add(Weight::from_parts(0, 7264)) - // Standard Error: 2_252 - .saturating_add(Weight::from_parts(38_640, 0).saturating_mul(r.into())) + // Standard Error: 2_334 + .saturating_add(Weight::from_parts(31_606, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -394,11 +391,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `485 + r * (22 ±0)` // Estimated: `7264` - // Minimum execution time: 33_356_000 picoseconds. - Weight::from_parts(35_414_023, 0) + // Minimum execution time: 32_195_000 picoseconds. + Weight::from_parts(34_286_331, 0) .saturating_add(Weight::from_parts(0, 7264)) - // Standard Error: 666 - .saturating_add(Weight::from_parts(61_306, 0).saturating_mul(r.into())) + // Standard Error: 846 + .saturating_add(Weight::from_parts(67_114, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -411,11 +408,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `673 + r * (26 ±0)` // Estimated: `7264` - // Minimum execution time: 17_148_000 picoseconds. - Weight::from_parts(19_947_582, 0) + // Minimum execution time: 17_199_000 picoseconds. + Weight::from_parts(19_494_066, 0) .saturating_add(Weight::from_parts(0, 7264)) - // Standard Error: 989 - .saturating_add(Weight::from_parts(70_448, 0).saturating_mul(r.into())) + // Standard Error: 919 + .saturating_add(Weight::from_parts(71_569, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -428,11 +425,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `673 + r * (26 ±0)` // Estimated: `7264` - // Minimum execution time: 17_415_000 picoseconds. - Weight::from_parts(20_079_464, 0) + // Minimum execution time: 17_227_000 picoseconds. + Weight::from_parts(19_633_382, 0) .saturating_add(Weight::from_parts(0, 7264)) - // Standard Error: 971 - .saturating_add(Weight::from_parts(71_051, 0).saturating_mul(r.into())) + // Standard Error: 961 + .saturating_add(Weight::from_parts(71_109, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -448,8 +445,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `356` // Estimated: `3556` - // Minimum execution time: 18_782_000 picoseconds. - Weight::from_parts(19_144_000, 0) + // Minimum execution time: 18_957_000 picoseconds. + Weight::from_parts(19_272_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -462,8 +459,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 15_704_000 picoseconds. - Weight::from_parts(15_969_000, 0) + // Minimum execution time: 16_064_000 picoseconds. + Weight::from_parts(16_324_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -480,8 +477,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4888` // Estimated: `18187` - // Minimum execution time: 37_618_000 picoseconds. - Weight::from_parts(38_353_000, 0) + // Minimum execution time: 37_261_000 picoseconds. + Weight::from_parts(37_561_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -494,8 +491,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4755` // Estimated: `18187` - // Minimum execution time: 33_649_000 picoseconds. - Weight::from_parts(34_211_000, 0) + // Minimum execution time: 33_061_000 picoseconds. + Weight::from_parts(33_482_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -510,8 +507,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 15_670_000 picoseconds. - Weight::from_parts(16_046_000, 0) + // Minimum execution time: 15_695_000 picoseconds. + Weight::from_parts(16_028_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -524,8 +521,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `239` // Estimated: `3674` - // Minimum execution time: 18_542_000 picoseconds. - Weight::from_parts(18_769_000, 0) + // Minimum execution time: 18_577_000 picoseconds. + Weight::from_parts(19_025_000, 0) .saturating_add(Weight::from_parts(0, 3674)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtimes/spiritnet/src/weights/pallet_deposit_storage.rs b/runtimes/spiritnet/src/weights/pallet_deposit_storage.rs index 03033e0c20..e827f8dbfc 100644 --- a/runtimes/spiritnet/src/weights/pallet_deposit_storage.rs +++ b/runtimes/spiritnet/src/weights/pallet_deposit_storage.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_deposit_storage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=pallet-deposit-storage // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_deposit_storage.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -54,16 +51,16 @@ impl pallet_deposit_storage::WeightInfo for WeightInfo< /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `DipProvider::IdentityCommitments` (r:1 w:1) /// Proof: `DipProvider::IdentityCommitments` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) fn reclaim_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `577` - // Estimated: `3658` - // Minimum execution time: 49_943_000 picoseconds. - Weight::from_parts(50_147_000, 0) - .saturating_add(Weight::from_parts(0, 3658)) + // Estimated: `3784` + // Minimum execution time: 50_323_000 picoseconds. + Weight::from_parts(51_116_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -80,7 +77,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3658 + > 3784 ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_did_lookup.rs b/runtimes/spiritnet/src/weights/pallet_did_lookup.rs index 4e72c59d6b..4f89430f2e 100644 --- a/runtimes/spiritnet/src/weights/pallet_did_lookup.rs +++ b/runtimes/spiritnet/src/weights/pallet_did_lookup.rs @@ -19,25 +19,22 @@ //! Autogenerated weights for `pallet_did_lookup` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// ./target/release/kilt-parachain // benchmark // pallet // --heap-pages=4096 -// --chain=dev +// --chain=spiritnet-dev // --pallet=pallet-did-lookup // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs -// --output=./runtimes/peregrine/src/weights/ +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -50,178 +47,178 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_did_lookup::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) - /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:2) - /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn associate_account_multisig_sr25519() -> Weight { // Proof Size summary in bytes: // Measured: `462` - // Estimated: `990` - // Minimum execution time: 8_231_783_000 picoseconds. - Weight::from_parts(8_231_783_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 128_525_000 picoseconds. + Weight::from_parts(129_206_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) - /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:2) - /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn associate_account_multisig_ed25519() -> Weight { // Proof Size summary in bytes: // Measured: `462` - // Estimated: `990` - // Minimum execution time: 3_532_242_000 picoseconds. - Weight::from_parts(3_532_242_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 141_901_000 picoseconds. + Weight::from_parts(142_965_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) - /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:2) - /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn associate_account_multisig_ecdsa() -> Weight { // Proof Size summary in bytes: // Measured: `462` - // Estimated: `990` - // Minimum execution time: 4_624_007_000 picoseconds. - Weight::from_parts(4_624_007_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 131_378_000 picoseconds. + Weight::from_parts(132_182_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) - /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:2) - /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn associate_eth_account() -> Weight { // Proof Size summary in bytes: // Measured: `449` - // Estimated: `990` - // Minimum execution time: 7_807_837_000 picoseconds. - Weight::from_parts(7_807_837_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 131_990_000 picoseconds. + Weight::from_parts(133_607_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) - /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:2) - /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn associate_sender() -> Weight { // Proof Size summary in bytes: // Measured: `462` - // Estimated: `990` - // Minimum execution time: 3_061_394_000 picoseconds. - Weight::from_parts(3_061_394_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 83_051_000 picoseconds. + Weight::from_parts(84_136_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) - /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:1) - /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) fn remove_sender_association() -> Weight { // Proof Size summary in bytes: // Measured: `540` - // Estimated: `990` - // Minimum execution time: 1_769_975_000 picoseconds. - Weight::from_parts(1_769_975_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 47_806_000 picoseconds. + Weight::from_parts(48_520_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) - /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `DidLookup::ConnectedAccounts` (r:0 w:1) - /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) fn remove_account_association() -> Weight { // Proof Size summary in bytes: // Measured: `540` - // Estimated: `990` - // Minimum execution time: 1_514_759_000 picoseconds. - Weight::from_parts(1_514_759_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 49_224_000 picoseconds. + Weight::from_parts(49_756_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) - /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: // Measured: `647` - // Estimated: `990` - // Minimum execution time: 2_512_929_000 picoseconds. - Weight::from_parts(2_512_929_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `6578` + // Minimum execution time: 81_518_000 picoseconds. + Weight::from_parts(81_938_000, 0) + .saturating_add(Weight::from_parts(0, 6578)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `DidLookup::ConnectedDids` (r:1 w:1) - /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `DidLookup::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `540` - // Estimated: `990` - // Minimum execution time: 2_369_856_000 picoseconds. - Weight::from_parts(2_369_856_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 72_043_000 picoseconds. + Weight::from_parts(72_793_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -238,7 +235,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -250,7 +247,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -262,7 +259,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -274,7 +271,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -286,7 +283,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -298,7 +295,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -310,7 +307,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -322,7 +319,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 6578 ); } #[test] @@ -334,7 +331,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_dip_provider.rs b/runtimes/spiritnet/src/weights/pallet_dip_provider.rs index 89823dfcf7..a28d02d249 100644 --- a/runtimes/spiritnet/src/weights/pallet_dip_provider.rs +++ b/runtimes/spiritnet/src/weights/pallet_dip_provider.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_dip_provider` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=pallet-dip-provider // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_dip_provider.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -66,13 +63,13 @@ impl pallet_dip_provider::WeightInfo for WeightInfo /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn commit_identity() -> Weight { // Proof Size summary in bytes: - // Measured: `2990` + // Measured: `3027` // Estimated: `29282` - // Minimum execution time: 383_619_000 picoseconds. - Weight::from_parts(390_717_000, 0) + // Minimum execution time: 388_847_000 picoseconds. + Weight::from_parts(393_478_000, 0) .saturating_add(Weight::from_parts(0, 29282)) .saturating_add(T::DbWeight::get().reads(19)) .saturating_add(T::DbWeight::get().writes(4)) @@ -84,14 +81,14 @@ impl pallet_dip_provider::WeightInfo for WeightInfo /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn delete_identity_commitment() -> Weight { // Proof Size summary in bytes: // Measured: `671` - // Estimated: `3658` - // Minimum execution time: 55_412_000 picoseconds. - Weight::from_parts(56_013_000, 0) - .saturating_add(Weight::from_parts(0, 3658)) + // Estimated: `3784` + // Minimum execution time: 56_858_000 picoseconds. + Weight::from_parts(57_313_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -120,7 +117,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3658 + > 3784 ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_dot_names.rs b/runtimes/spiritnet/src/weights/pallet_dot_names.rs index e592de56cc..4b1c5b6373 100644 --- a/runtimes/spiritnet/src/weights/pallet_dot_names.rs +++ b/runtimes/spiritnet/src/weights/pallet_dot_names.rs @@ -19,25 +19,22 @@ //! Autogenerated weights for `pallet_dot_names` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// ./target/release/kilt-parachain // benchmark // pallet // --heap-pages=4096 -// --chain=dev +// --chain=spiritnet-dev // --pallet=pallet-dot-names // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs -// --output=./runtimes/peregrine/src/weights/ +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -46,135 +43,138 @@ use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -// TODO: Remove once the benchmarking stuff fully supports pallet instances. -use pallet_web3_names as pallet_dot_names; - /// Weight functions for `pallet_dot_names`. pub struct WeightInfo(PhantomData); impl pallet_dot_names::WeightInfo for WeightInfo { /// Storage: `DotNames::Names` (r:1 w:1) - /// Proof: `DotNames::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `Ignored`) + /// Proof: `DotNames::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) /// Storage: `DotNames::Owner` (r:1 w:1) - /// Proof: `DotNames::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `Ignored`) + /// Proof: `DotNames::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) /// Storage: `DotNames::Banned` (r:1 w:0) - /// Proof: `DotNames::Banned` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `Ignored`) + /// Proof: `DotNames::Banned` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// The range of component `n` is `[7, 32]`. fn claim(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `147` - // Estimated: `990` - // Minimum execution time: 2_034_175_000 picoseconds. - Weight::from_parts(2_047_230_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 54_545_000 picoseconds. + Weight::from_parts(55_803_905, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `DotNames::Names` (r:1 w:1) - /// Proof: `DotNames::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `Ignored`) + /// Proof: `DotNames::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) /// Storage: `DotNames::Owner` (r:1 w:1) - /// Proof: `DotNames::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `Ignored`) + /// Proof: `DotNames::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn release_by_owner() -> Weight { // Proof Size summary in bytes: // Measured: `474` - // Estimated: `990` - // Minimum execution time: 1_503_537_000 picoseconds. - Weight::from_parts(1_503_537_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 45_331_000 picoseconds. + Weight::from_parts(46_034_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `DotNames::Owner` (r:1 w:1) - /// Proof: `DotNames::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `Ignored`) + /// Proof: `DotNames::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `DotNames::Names` (r:0 w:1) - /// Proof: `DotNames::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `Ignored`) + /// Proof: `DotNames::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) /// The range of component `n` is `[7, 32]`. - fn reclaim_deposit(_n: u32, ) -> Weight { + fn reclaim_deposit(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `369 + n * (1 ±0)` - // Estimated: `990` - // Minimum execution time: 1_430_949_000 picoseconds. - Weight::from_parts(1_575_358_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `370 + n * (1 ±0)` + // Estimated: `3784` + // Minimum execution time: 43_754_000 picoseconds. + Weight::from_parts(44_429_348, 0) + .saturating_add(Weight::from_parts(0, 3784)) + // Standard Error: 1_001 + .saturating_add(Weight::from_parts(7_375, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `DotNames::Banned` (r:1 w:1) - /// Proof: `DotNames::Banned` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `Ignored`) + /// Proof: `DotNames::Banned` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `DotNames::Owner` (r:1 w:1) - /// Proof: `DotNames::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `Ignored`) + /// Proof: `DotNames::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `DotNames::Names` (r:0 w:1) - /// Proof: `DotNames::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `Ignored`) + /// Proof: `DotNames::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) /// The range of component `n` is `[7, 32]`. - fn ban(_n: u32, ) -> Weight { + fn ban(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `369 + n * (1 ±0)` - // Estimated: `990` - // Minimum execution time: 1_543_707_000 picoseconds. - Weight::from_parts(1_800_627_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `370 + n * (1 ±0)` + // Estimated: `3784` + // Minimum execution time: 49_467_000 picoseconds. + Weight::from_parts(50_076_378, 0) + .saturating_add(Weight::from_parts(0, 3784)) + // Standard Error: 1_119 + .saturating_add(Weight::from_parts(13_737, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `DotNames::Banned` (r:1 w:1) - /// Proof: `DotNames::Banned` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `Ignored`) + /// Proof: `DotNames::Banned` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// The range of component `n` is `[7, 32]`. - fn unban(_n: u32, ) -> Weight { + fn unban(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `83 + n * (1 ±0)` - // Estimated: `990` - // Minimum execution time: 645_352_000 picoseconds. - Weight::from_parts(657_482_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `84 + n * (1 ±0)` + // Estimated: `3514` + // Minimum execution time: 13_065_000 picoseconds. + Weight::from_parts(13_514_693, 0) + .saturating_add(Weight::from_parts(0, 3514)) + // Standard Error: 909 + .saturating_add(Weight::from_parts(15_486, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `DotNames::Names` (r:1 w:0) - /// Proof: `DotNames::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `Ignored`) + /// Proof: `DotNames::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) /// Storage: `DotNames::Owner` (r:1 w:1) - /// Proof: `DotNames::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `Ignored`) + /// Proof: `DotNames::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: // Measured: `581` - // Estimated: `990` - // Minimum execution time: 2_716_990_000 picoseconds. - Weight::from_parts(2_716_990_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `6578` + // Minimum execution time: 77_558_000 picoseconds. + Weight::from_parts(78_215_000, 0) + .saturating_add(Weight::from_parts(0, 6578)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `DotNames::Owner` (r:1 w:1) - /// Proof: `DotNames::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `Ignored`) + /// Proof: `DotNames::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `403` - // Estimated: `990` - // Minimum execution time: 2_180_700_000 picoseconds. - Weight::from_parts(2_180_700_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 66_524_000 picoseconds. + Weight::from_parts(67_351_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -191,7 +191,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -203,7 +203,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -215,7 +215,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -227,7 +227,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -239,7 +239,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3514 ); } #[test] @@ -251,7 +251,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 6578 ); } #[test] @@ -263,7 +263,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_indices.rs b/runtimes/spiritnet/src/weights/pallet_indices.rs index 34f5a824ec..cac5e851be 100644 --- a/runtimes/spiritnet/src/weights/pallet_indices.rs +++ b/runtimes/spiritnet/src/weights/pallet_indices.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=pallet-indices // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_indices.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -55,8 +52,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3538` - // Minimum execution time: 22_133_000 picoseconds. - Weight::from_parts(22_586_000, 0) + // Minimum execution time: 22_013_000 picoseconds. + Weight::from_parts(22_344_000, 0) .saturating_add(Weight::from_parts(0, 3538)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -69,8 +66,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `249` // Estimated: `3597` - // Minimum execution time: 32_928_000 picoseconds. - Weight::from_parts(33_446_000, 0) + // Minimum execution time: 33_157_000 picoseconds. + Weight::from_parts(33_626_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -81,8 +78,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3538` - // Minimum execution time: 22_479_000 picoseconds. - Weight::from_parts(22_959_000, 0) + // Minimum execution time: 22_638_000 picoseconds. + Weight::from_parts(23_098_000, 0) .saturating_add(Weight::from_parts(0, 3538)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -95,8 +92,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `249` // Estimated: `3597` - // Minimum execution time: 25_606_000 picoseconds. - Weight::from_parts(26_126_000, 0) + // Minimum execution time: 25_708_000 picoseconds. + Weight::from_parts(25_967_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -107,8 +104,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3538` - // Minimum execution time: 23_412_000 picoseconds. - Weight::from_parts(23_830_000, 0) + // Minimum execution time: 23_583_000 picoseconds. + Weight::from_parts(24_035_000, 0) .saturating_add(Weight::from_parts(0, 3538)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtimes/spiritnet/src/weights/pallet_inflation.rs b/runtimes/spiritnet/src/weights/pallet_inflation.rs index 62033c092d..02eb15c127 100644 --- a/runtimes/spiritnet/src/weights/pallet_inflation.rs +++ b/runtimes/spiritnet/src/weights/pallet_inflation.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_inflation` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=pallet-inflation // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_inflation.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -55,8 +52,8 @@ impl pallet_inflation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `107` // Estimated: `3597` - // Minimum execution time: 19_031_000 picoseconds. - Weight::from_parts(19_533_000, 0) + // Minimum execution time: 19_812_000 picoseconds. + Weight::from_parts(20_155_000, 0) .saturating_add(Weight::from_parts(0, 3597)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -65,7 +62,7 @@ impl pallet_inflation::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 201_000 picoseconds. + // Minimum execution time: 209_000 picoseconds. Weight::from_parts(224_000, 0) .saturating_add(Weight::from_parts(0, 0)) } diff --git a/runtimes/spiritnet/src/weights/pallet_membership.rs b/runtimes/spiritnet/src/weights/pallet_membership.rs index 333c2fb6b9..e6ebf72cdd 100644 --- a/runtimes/spiritnet/src/weights/pallet_membership.rs +++ b/runtimes/spiritnet/src/weights/pallet_membership.rs @@ -19,25 +19,22 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// ./target/release/kilt-parachain // benchmark // pallet // --heap-pages=4096 -// --chain=dev +// --chain=spiritnet-dev // --pallet=pallet-membership // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs -// --output=./runtimes/peregrine/src/weights/ +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -50,104 +47,135 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_membership::WeightInfo for WeightInfo { /// Storage: `TipsMembership::Members` (r:1 w:1) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) /// The range of component `m` is `[1, 20]`. - fn add_member(_m: u32, ) -> Weight { + fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `135 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 353_129_000 picoseconds. - Weight::from_parts(377_804_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `137 + m * (32 ±0)` + // Estimated: `2158` + // Minimum execution time: 10_430_000 picoseconds. + Weight::from_parts(10_861_521, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 793 + .saturating_add(Weight::from_parts(22_953, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `TipsMembership::Members` (r:1 w:1) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) /// Storage: `TipsMembership::Prime` (r:1 w:0) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// The range of component `m` is `[2, 21]`. - fn remove_member(_m: u32, ) -> Weight { + fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `189 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 390_037_000 picoseconds. - Weight::from_parts(404_106_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `226 + m * (32 ±0)` + // Estimated: `2158 + m * (32 ±0)` + // Minimum execution time: 13_359_000 picoseconds. + Weight::from_parts(13_771_537, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 1_042 + .saturating_add(Weight::from_parts(38_564, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TipsMembership::Members` (r:1 w:1) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) /// Storage: `TipsMembership::Prime` (r:1 w:0) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// The range of component `m` is `[2, 21]`. - fn swap_member(_m: u32, ) -> Weight { + fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `189 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 393_449_000 picoseconds. - Weight::from_parts(403_152_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `226 + m * (32 ±0)` + // Estimated: `2158 + m * (32 ±0)` + // Minimum execution time: 13_663_000 picoseconds. + Weight::from_parts(14_060_098, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 1_019 + .saturating_add(Weight::from_parts(39_912, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TipsMembership::Members` (r:1 w:1) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) /// Storage: `TipsMembership::Prime` (r:1 w:0) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// The range of component `m` is `[1, 21]`. - fn reset_member(_m: u32, ) -> Weight { + fn reset_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `187 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 448_047_000 picoseconds. - Weight::from_parts(448_683_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `226 + m * (32 ±0)` + // Estimated: `2158 + m * (32 ±0)` + // Minimum execution time: 13_023_000 picoseconds. + Weight::from_parts(13_735_343, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 1_761 + .saturating_add(Weight::from_parts(166_544, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TipsMembership::Members` (r:1 w:1) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) /// Storage: `TipsMembership::Prime` (r:1 w:1) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// The range of component `m` is `[1, 21]`. - fn change_key(_m: u32, ) -> Weight { + fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `187 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 437_193_000 picoseconds. - Weight::from_parts(516_613_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `226 + m * (32 ±0)` + // Estimated: `2158 + m * (32 ±0)` + // Minimum execution time: 13_755_000 picoseconds. + Weight::from_parts(14_491_783, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 1_325 + .saturating_add(Weight::from_parts(31_680, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TipsMembership::Members` (r:1 w:0) - /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `Ignored`) + /// Proof: `TipsMembership::Members` (`max_values`: Some(1), `max_size`: Some(673), added: 1168, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// Storage: `TipsMembership::Prime` (r:0 w:1) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// The range of component `m` is `[1, 21]`. - fn set_prime(_m: u32, ) -> Weight { + fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `135 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 305_850_000 picoseconds. - Weight::from_parts(329_866_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `137 + m * (32 ±0)` + // Estimated: `2158 + m * (32 ±0)` + // Minimum execution time: 7_690_000 picoseconds. + Weight::from_parts(8_121_308, 0) + .saturating_add(Weight::from_parts(0, 2158)) + // Standard Error: 737 + .saturating_add(Weight::from_parts(15_087, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } + /// Storage: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) + /// Proof: UNKNOWN KEY `0xdfe4dad7b89644d5962c7bb034ca6f7bb10896c85af113f86bae1ab193a37922` (r:0 w:1) /// Storage: `TipsMembership::Prime` (r:0 w:1) - /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TipsMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// The range of component `m` is `[1, 21]`. - fn clear_prime(_m: u32, ) -> Weight { + fn clear_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 163_207_000 picoseconds. - Weight::from_parts(171_566_000, 0) + // Minimum execution time: 2_769_000 picoseconds. + Weight::from_parts(2_965_793, 0) .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) + // Standard Error: 322 + .saturating_add(Weight::from_parts(2_432, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().writes(2)) } } @@ -162,7 +190,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } #[test] @@ -174,7 +202,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } #[test] @@ -186,7 +214,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } #[test] @@ -198,7 +226,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } #[test] @@ -210,7 +238,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } #[test] @@ -222,7 +250,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 2158 ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_message_queue.rs b/runtimes/spiritnet/src/weights/pallet_message_queue.rs index 70f4f89455..31bd68e2da 100644 --- a/runtimes/spiritnet/src/weights/pallet_message_queue.rs +++ b/runtimes/spiritnet/src/weights/pallet_message_queue.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_message_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev -// --pallet=pallet_message_queue +// --pallet=pallet-message-queue // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_message_queue.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -57,8 +54,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `327` // Estimated: `6044` - // Minimum execution time: 12_729_000 picoseconds. - Weight::from_parts(13_153_000, 0) + // Minimum execution time: 12_504_000 picoseconds. + Weight::from_parts(12_796_000, 0) .saturating_add(Weight::from_parts(0, 6044)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -71,8 +68,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `322` // Estimated: `6044` - // Minimum execution time: 11_572_000 picoseconds. - Weight::from_parts(11_995_000, 0) + // Minimum execution time: 11_482_000 picoseconds. + Weight::from_parts(11_757_000, 0) .saturating_add(Weight::from_parts(0, 6044)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -83,8 +80,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `109` // Estimated: `3517` - // Minimum execution time: 5_165_000 picoseconds. - Weight::from_parts(5_417_000, 0) + // Minimum execution time: 5_081_000 picoseconds. + Weight::from_parts(5_334_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -95,8 +92,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `176` // Estimated: `69050` - // Minimum execution time: 6_834_000 picoseconds. - Weight::from_parts(6_990_000, 0) + // Minimum execution time: 6_937_000 picoseconds. + Weight::from_parts(7_211_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -107,8 +104,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `176` // Estimated: `69050` - // Minimum execution time: 6_877_000 picoseconds. - Weight::from_parts(7_139_000, 0) + // Minimum execution time: 6_949_000 picoseconds. + Weight::from_parts(7_219_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -121,8 +118,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 164_520_000 picoseconds. - Weight::from_parts(166_219_000, 0) + // Minimum execution time: 173_083_000 picoseconds. + Weight::from_parts(173_939_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -134,8 +131,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `275` // Estimated: `3517` - // Minimum execution time: 7_656_000 picoseconds. - Weight::from_parts(7_864_000, 0) + // Minimum execution time: 7_492_000 picoseconds. + Weight::from_parts(7_683_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -148,8 +145,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65771` // Estimated: `69050` - // Minimum execution time: 58_757_000 picoseconds. - Weight::from_parts(59_148_000, 0) + // Minimum execution time: 61_699_000 picoseconds. + Weight::from_parts(62_347_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -162,8 +159,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65771` // Estimated: `69050` - // Minimum execution time: 75_297_000 picoseconds. - Weight::from_parts(75_702_000, 0) + // Minimum execution time: 78_250_000 picoseconds. + Weight::from_parts(78_862_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -176,8 +173,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65771` // Estimated: `69050` - // Minimum execution time: 117_824_000 picoseconds. - Weight::from_parts(118_904_000, 0) + // Minimum execution time: 125_486_000 picoseconds. + Weight::from_parts(126_075_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtimes/spiritnet/src/weights/pallet_migration.rs b/runtimes/spiritnet/src/weights/pallet_migration.rs index dacd76e6a9..b80cd28aaf 100644 --- a/runtimes/spiritnet/src/weights/pallet_migration.rs +++ b/runtimes/spiritnet/src/weights/pallet_migration.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_migration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=pallet-migration // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_migration.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -56,14 +53,14 @@ impl pallet_migration::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn attestation_migration_weight() -> Weight { // Proof Size summary in bytes: // Measured: `307` - // Estimated: `3660` - // Minimum execution time: 61_575_000 picoseconds. - Weight::from_parts(62_230_000, 0) - .saturating_add(Weight::from_parts(0, 3660)) + // Estimated: `3784` + // Minimum execution time: 61_078_000 picoseconds. + Weight::from_parts(61_961_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -73,8 +70,8 @@ impl pallet_migration::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `115` // Estimated: `3513` - // Minimum execution time: 15_508_000 picoseconds. - Weight::from_parts(15_949_000, 0) + // Minimum execution time: 16_100_000 picoseconds. + Weight::from_parts(16_463_000, 0) .saturating_add(Weight::from_parts(0, 3513)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -85,13 +82,13 @@ impl pallet_migration::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn did_migration_weight() -> Weight { // Proof Size summary in bytes: // Measured: `463` // Estimated: `5777` - // Minimum execution time: 63_142_000 picoseconds. - Weight::from_parts(63_880_000, 0) + // Minimum execution time: 64_038_000 picoseconds. + Weight::from_parts(65_281_000, 0) .saturating_add(Weight::from_parts(0, 5777)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -102,8 +99,8 @@ impl pallet_migration::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78` // Estimated: `3513` - // Minimum execution time: 14_204_000 picoseconds. - Weight::from_parts(14_445_000, 0) + // Minimum execution time: 14_288_000 picoseconds. + Weight::from_parts(14_623_000, 0) .saturating_add(Weight::from_parts(0, 3513)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -113,8 +110,8 @@ impl pallet_migration::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78` // Estimated: `3513` - // Minimum execution time: 14_369_000 picoseconds. - Weight::from_parts(14_628_000, 0) + // Minimum execution time: 15_026_000 picoseconds. + Weight::from_parts(15_278_000, 0) .saturating_add(Weight::from_parts(0, 3513)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -124,8 +121,8 @@ impl pallet_migration::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78` // Estimated: `3513` - // Minimum execution time: 18_296_000 picoseconds. - Weight::from_parts(18_555_000, 0) + // Minimum execution time: 18_753_000 picoseconds. + Weight::from_parts(19_038_000, 0) .saturating_add(Weight::from_parts(0, 3513)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -142,7 +139,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3660 + > 3784 ); } #[test] diff --git a/runtimes/spiritnet/src/weights/pallet_multisig.rs b/runtimes/spiritnet/src/weights/pallet_multisig.rs index 50ce046807..55e3c85541 100644 --- a/runtimes/spiritnet/src/weights/pallet_multisig.rs +++ b/runtimes/spiritnet/src/weights/pallet_multisig.rs @@ -16,103 +16,222 @@ // If you feel like getting in touch with us, you can do so at info@botlabs.org -//! Autogenerated weights for pallet_multisig +//! Autogenerated weights for `pallet_multisig` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: // ./target/release/kilt-parachain // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 +// --heap-pages=4096 +// --chain=spiritnet-dev // --pallet=pallet_multisig -// --execution=wasm -// --wasm-execution=compiled // --extrinsic=* -// --heap-pages=4096 -// --output=./runtimes/spiritnet/src/weights/pallet_multisig.rs +// --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] #![allow(clippy::as_conversions)] -#![allow(clippy::unnecessary_cast)] use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weights for `pallet_multisig`. +/// Weight functions for `pallet_multisig`. 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 { - Weight::from_parts(8_364_882 as u64, 0) - // Standard Error: 79 - .saturating_add(Weight::from_parts(849 as u64, 0).saturating_mul(z as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_299_000 picoseconds. + Weight::from_parts(10_776_487, 0) + .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 1 + .saturating_add(Weight::from_parts(646, 0).saturating_mul(z.into())) } - // Storage: Multisig Multisigs (r:1 w:1) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 64]`. + /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32, ) -> Weight { - Weight::from_parts(20_285_811 as u64, 0) - // Standard Error: 5_408 - .saturating_add(Weight::from_parts(80_065 as u64, 0).saturating_mul(s as u64)) - // Standard Error: 33 - .saturating_add(Weight::from_parts(986 as u64, 0).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `273 + s * (2 ±0)` + // Estimated: `5663` + // Minimum execution time: 38_758_000 picoseconds. + Weight::from_parts(34_050_938, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 565 + .saturating_add(Weight::from_parts(79_962, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_421, 0).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) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[3, 64]`. + /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { - Weight::from_parts(12_705_025 as u64, 0) - // Standard Error: 30_300 - .saturating_add(Weight::from_parts(20_431 as u64, 0).saturating_mul(s as u64)) - // Standard Error: 186 - .saturating_add(Weight::from_parts(3_373 as u64, 0).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `319` + // Estimated: `5663` + // Minimum execution time: 24_172_000 picoseconds. + Weight::from_parts(20_150_755, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 382 + .saturating_add(Weight::from_parts(74_113, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_397, 0).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) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 64]`. + /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32, ) -> Weight { - Weight::from_parts(20_642_060 as u64, 0) - // Standard Error: 5_511 - .saturating_add(Weight::from_parts(104_693 as u64, 0).saturating_mul(s as u64)) - // Standard Error: 34 - .saturating_add(Weight::from_parts(1_132 as u64, 0).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `426 + s * (33 ±0)` + // Estimated: `5663` + // Minimum execution time: 41_949_000 picoseconds. + Weight::from_parts(35_792_291, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 692 + .saturating_add(Weight::from_parts(104_066, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_458, 0).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) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 64]`. fn approve_as_multi_create(s: u32, ) -> Weight { - Weight::from_parts(17_036_891 as u64, 0) - // Standard Error: 4_200 - .saturating_add(Weight::from_parts(122_554 as u64, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `270 + s * (3 ±0)` + // Estimated: `5663` + // Minimum execution time: 31_961_000 picoseconds. + Weight::from_parts(32_724_877, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 4_458 + .saturating_add(Weight::from_parts(90_523, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Multisig Multisigs (r:1 w:1) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 64]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - Weight::from_parts(12_421_505 as u64, 0) - // Standard Error: 7_770 - .saturating_add(Weight::from_parts(81_668 as u64, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `319` + // Estimated: `5663` + // Minimum execution time: 17_960_000 picoseconds. + Weight::from_parts(18_695_447, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 480 + .saturating_add(Weight::from_parts(78_391, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Multisig Multisigs (r:1 w:1) - // Proof: Multisig Multisigs (max_values: None, max_size: Some(2198), added: 4673, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2198), added: 4673, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 64]`. fn cancel_as_multi(s: u32, ) -> Weight { - Weight::from_parts(19_681_233 as u64, 0) - // Standard Error: 4_292 - .saturating_add(Weight::from_parts(70_945 as u64, 0).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `490 + s * (1 ±0)` + // Estimated: `5663` + // Minimum execution time: 31_626_000 picoseconds. + Weight::from_parts(32_538_676, 0) + .saturating_add(Weight::from_parts(0, 5663)) + // Standard Error: 828 + .saturating_add(Weight::from_parts(89_271, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} + +#[cfg(test)] +mod tests { + #[test] + fn test_as_multi_create() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); + } + #[test] + fn test_as_multi_approve() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); + } + #[test] + fn test_as_multi_complete() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); + } + #[test] + fn test_approve_as_multi_create() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); + } + #[test] + fn test_approve_as_multi_approve() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); + } + #[test] + fn test_cancel_as_multi() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5663 + ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_preimage.rs b/runtimes/spiritnet/src/weights/pallet_preimage.rs index 7ad28c1de7..d9d6cc86b6 100644 --- a/runtimes/spiritnet/src/weights/pallet_preimage.rs +++ b/runtimes/spiritnet/src/weights/pallet_preimage.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=pallet-preimage // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_preimage.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -54,19 +51,19 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Preimage::PreimageFor` (r:0 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `109` - // Estimated: `3658` - // Minimum execution time: 47_008_000 picoseconds. - Weight::from_parts(47_322_000, 0) - .saturating_add(Weight::from_parts(0, 3658)) + // Estimated: `3784` + // Minimum execution time: 46_053_000 picoseconds. + Weight::from_parts(46_442_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) // Standard Error: 0 - .saturating_add(Weight::from_parts(2_276, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(2_308, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -81,11 +78,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 16_495_000 picoseconds. - Weight::from_parts(16_647_000, 0) + // Minimum execution time: 16_520_000 picoseconds. + Weight::from_parts(16_679_000, 0) .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 0 - .saturating_add(Weight::from_parts(2_267, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(2_307, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -100,11 +97,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 15_966_000 picoseconds. - Weight::from_parts(16_191_000, 0) + // Minimum execution time: 16_035_000 picoseconds. + Weight::from_parts(16_364_000, 0) .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 0 - .saturating_add(Weight::from_parts(2_266, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(2_310, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -113,16 +110,16 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Preimage::PreimageFor` (r:0 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `311` - // Estimated: `3658` - // Minimum execution time: 55_462_000 picoseconds. - Weight::from_parts(56_851_000, 0) - .saturating_add(Weight::from_parts(0, 3658)) + // Estimated: `3784` + // Minimum execution time: 49_930_000 picoseconds. + Weight::from_parts(51_130_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -136,8 +133,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 26_823_000 picoseconds. - Weight::from_parts(28_313_000, 0) + // Minimum execution time: 23_051_000 picoseconds. + Weight::from_parts(24_015_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -150,8 +147,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `255` // Estimated: `3556` - // Minimum execution time: 23_099_000 picoseconds. - Weight::from_parts(26_051_000, 0) + // Minimum execution time: 19_495_000 picoseconds. + Weight::from_parts(20_074_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -164,8 +161,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 14_172_000 picoseconds. - Weight::from_parts(15_296_000, 0) + // Minimum execution time: 13_736_000 picoseconds. + Weight::from_parts(14_573_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -178,8 +175,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3556` - // Minimum execution time: 13_586_000 picoseconds. - Weight::from_parts(14_280_000, 0) + // Minimum execution time: 14_299_000 picoseconds. + Weight::from_parts(14_811_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -192,8 +189,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 10_469_000 picoseconds. - Weight::from_parts(10_857_000, 0) + // Minimum execution time: 10_522_000 picoseconds. + Weight::from_parts(10_822_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -208,8 +205,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 21_120_000 picoseconds. - Weight::from_parts(22_262_000, 0) + // Minimum execution time: 20_280_000 picoseconds. + Weight::from_parts(21_668_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -222,8 +219,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 10_555_000 picoseconds. - Weight::from_parts(10_859_000, 0) + // Minimum execution time: 10_643_000 picoseconds. + Weight::from_parts(11_149_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -236,8 +233,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 10_616_000 picoseconds. - Weight::from_parts(10_905_000, 0) + // Minimum execution time: 10_509_000 picoseconds. + Weight::from_parts(11_077_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -247,22 +244,22 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1023 w:1023) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1023 w:1023) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Preimage::RequestStatusFor` (r:0 w:1023) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 1024]`. fn ensure_updated(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + n * (231 ±0)` - // Estimated: `990 + n * (2668 ±0)` - // Minimum execution time: 51_734_000 picoseconds. - Weight::from_parts(52_052_000, 0) + // Estimated: `990 + n * (2794 ±0)` + // Minimum execution time: 51_405_000 picoseconds. + Weight::from_parts(51_816_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 30_070 - .saturating_add(Weight::from_parts(47_723_490, 0).saturating_mul(n.into())) + // Standard Error: 30_785 + .saturating_add(Weight::from_parts(48_473_345, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 2668).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2794).saturating_mul(n.into())) } } @@ -277,7 +274,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3658 + > 3784 ); } #[test] @@ -313,7 +310,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3658 + > 3784 ); } #[test] diff --git a/runtimes/spiritnet/src/weights/pallet_proxy.rs b/runtimes/spiritnet/src/weights/pallet_proxy.rs index d4ce604309..4dbb0bf18c 100644 --- a/runtimes/spiritnet/src/weights/pallet_proxy.rs +++ b/runtimes/spiritnet/src/weights/pallet_proxy.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=pallet-proxy // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_proxy.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -56,11 +53,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127 + p * (41 ±0)` // Estimated: `3932` - // Minimum execution time: 14_301_000 picoseconds. - Weight::from_parts(14_798_342, 0) + // Minimum execution time: 14_585_000 picoseconds. + Weight::from_parts(15_046_271, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_657 - .saturating_add(Weight::from_parts(66_554, 0).saturating_mul(p.into())) + // Standard Error: 2_161 + .saturating_add(Weight::from_parts(67_046, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Proxy::Proxies` (r:1 w:0) @@ -75,13 +72,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `425 + a * (72 ±0) + p * (41 ±0)` // Estimated: `4242` - // Minimum execution time: 35_230_000 picoseconds. - Weight::from_parts(35_571_301, 0) + // Minimum execution time: 35_360_000 picoseconds. + Weight::from_parts(35_892_734, 0) .saturating_add(Weight::from_parts(0, 4242)) - // Standard Error: 3_463 - .saturating_add(Weight::from_parts(186_729, 0).saturating_mul(a.into())) - // Standard Error: 3_844 - .saturating_add(Weight::from_parts(35_034, 0).saturating_mul(p.into())) + // Standard Error: 2_964 + .saturating_add(Weight::from_parts(181_351, 0).saturating_mul(a.into())) + // Standard Error: 3_290 + .saturating_add(Weight::from_parts(9_723, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -95,11 +92,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `340 + a * (72 ±0)` // Estimated: `4242` - // Minimum execution time: 24_384_000 picoseconds. - Weight::from_parts(25_318_307, 0) + // Minimum execution time: 24_042_000 picoseconds. + Weight::from_parts(25_061_221, 0) .saturating_add(Weight::from_parts(0, 4242)) - // Standard Error: 2_449 - .saturating_add(Weight::from_parts(156_741, 0).saturating_mul(a.into())) + // Standard Error: 2_386 + .saturating_add(Weight::from_parts(149_082, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -113,11 +110,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `340 + a * (72 ±0)` // Estimated: `4242` - // Minimum execution time: 24_120_000 picoseconds. - Weight::from_parts(25_081_883, 0) + // Minimum execution time: 23_956_000 picoseconds. + Weight::from_parts(25_049_471, 0) .saturating_add(Weight::from_parts(0, 4242)) - // Standard Error: 2_247 - .saturating_add(Weight::from_parts(142_629, 0).saturating_mul(a.into())) + // Standard Error: 2_708 + .saturating_add(Weight::from_parts(154_366, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -129,17 +126,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 9]`. /// The range of component `p` is `[1, 9]`. - fn announce(a: u32, p: u32, ) -> Weight { + fn announce(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `353 + a * (72 ±0) + p * (41 ±0)` // Estimated: `4242` - // Minimum execution time: 31_227_000 picoseconds. - Weight::from_parts(31_864_498, 0) + // Minimum execution time: 31_588_000 picoseconds. + Weight::from_parts(32_409_783, 0) .saturating_add(Weight::from_parts(0, 4242)) - // Standard Error: 2_521 - .saturating_add(Weight::from_parts(149_487, 0).saturating_mul(a.into())) - // Standard Error: 2_799 - .saturating_add(Weight::from_parts(11_201, 0).saturating_mul(p.into())) + // Standard Error: 3_394 + .saturating_add(Weight::from_parts(135_739, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -150,11 +145,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127 + p * (41 ±0)` // Estimated: `3932` - // Minimum execution time: 23_166_000 picoseconds. - Weight::from_parts(23_899_961, 0) + // Minimum execution time: 23_697_000 picoseconds. + Weight::from_parts(24_305_145, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_381 - .saturating_add(Weight::from_parts(63_174, 0).saturating_mul(p.into())) + // Standard Error: 3_262 + .saturating_add(Weight::from_parts(51_590, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -165,11 +160,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127 + p * (41 ±0)` // Estimated: `3932` - // Minimum execution time: 23_566_000 picoseconds. - Weight::from_parts(24_125_110, 0) + // Minimum execution time: 23_810_000 picoseconds. + Weight::from_parts(24_354_372, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_389 - .saturating_add(Weight::from_parts(81_452, 0).saturating_mul(p.into())) + // Standard Error: 2_370 + .saturating_add(Weight::from_parts(70_304, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -180,11 +175,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127 + p * (41 ±0)` // Estimated: `3932` - // Minimum execution time: 20_971_000 picoseconds. - Weight::from_parts(21_631_612, 0) + // Minimum execution time: 21_101_000 picoseconds. + Weight::from_parts(21_688_468, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_309 - .saturating_add(Weight::from_parts(73_744, 0).saturating_mul(p.into())) + // Standard Error: 2_597 + .saturating_add(Weight::from_parts(53_195, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -195,11 +190,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `139` // Estimated: `3932` - // Minimum execution time: 24_930_000 picoseconds. - Weight::from_parts(25_649_551, 0) + // Minimum execution time: 24_623_000 picoseconds. + Weight::from_parts(25_458_498, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_172 - .saturating_add(Weight::from_parts(20_799, 0).saturating_mul(p.into())) + // Standard Error: 2_550 + .saturating_add(Weight::from_parts(8_136, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -210,11 +205,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `168 + p * (41 ±0)` // Estimated: `3932` - // Minimum execution time: 22_182_000 picoseconds. - Weight::from_parts(22_735_132, 0) + // Minimum execution time: 22_019_000 picoseconds. + Weight::from_parts(22_667_373, 0) .saturating_add(Weight::from_parts(0, 3932)) - // Standard Error: 2_459 - .saturating_add(Weight::from_parts(78_670, 0).saturating_mul(p.into())) + // Standard Error: 2_650 + .saturating_add(Weight::from_parts(61_808, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtimes/spiritnet/src/weights/pallet_scheduler.rs b/runtimes/spiritnet/src/weights/pallet_scheduler.rs index f242e3c6a3..60915c6468 100644 --- a/runtimes/spiritnet/src/weights/pallet_scheduler.rs +++ b/runtimes/spiritnet/src/weights/pallet_scheduler.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=pallet-scheduler // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_scheduler.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -55,8 +52,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `36` // Estimated: `1493` - // Minimum execution time: 2_704_000 picoseconds. - Weight::from_parts(2_856_000, 0) + // Minimum execution time: 2_644_000 picoseconds. + Weight::from_parts(2_774_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -68,11 +65,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `83 + s * (181 ±0)` // Estimated: `42632` - // Minimum execution time: 3_299_000 picoseconds. - Weight::from_parts(7_000_035, 0) + // Minimum execution time: 3_392_000 picoseconds. + Weight::from_parts(6_930_040, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 1_779 - .saturating_add(Weight::from_parts(460_372, 0).saturating_mul(s.into())) + // Standard Error: 1_727 + .saturating_add(Weight::from_parts(501_689, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -80,8 +77,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_435_000 picoseconds. - Weight::from_parts(3_651_000, 0) + // Minimum execution time: 3_761_000 picoseconds. + Weight::from_parts(3_927_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Preimage::PreimageFor` (r:1 w:1) @@ -95,11 +92,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `246 + s * (1 ±0)` // Estimated: `3711 + s * (1 ±0)` - // Minimum execution time: 18_570_000 picoseconds. - Weight::from_parts(18_744_000, 0) + // Minimum execution time: 18_890_000 picoseconds. + Weight::from_parts(19_109_000, 0) .saturating_add(Weight::from_parts(0, 3711)) - // Standard Error: 19 - .saturating_add(Weight::from_parts(1_753, 0).saturating_mul(s.into())) + // Standard Error: 15 + .saturating_add(Weight::from_parts(1_589, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -110,8 +107,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_090_000 picoseconds. - Weight::from_parts(5_248_000, 0) + // Minimum execution time: 5_486_000 picoseconds. + Weight::from_parts(5_766_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -119,24 +116,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_434_000 picoseconds. - Weight::from_parts(3_559_000, 0) + // Minimum execution time: 3_774_000 picoseconds. + Weight::from_parts(3_996_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_287_000 picoseconds. - Weight::from_parts(2_404_000, 0) + // Minimum execution time: 2_391_000 picoseconds. + Weight::from_parts(2_556_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_250_000 picoseconds. - Weight::from_parts(2_443_000, 0) + // Minimum execution time: 2_469_000 picoseconds. + Weight::from_parts(2_596_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Scheduler::Agenda` (r:1 w:1) @@ -146,11 +143,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `83 + s * (181 ±0)` // Estimated: `42632` - // Minimum execution time: 10_638_000 picoseconds. - Weight::from_parts(14_687_147, 0) + // Minimum execution time: 11_205_000 picoseconds. + Weight::from_parts(14_909_461, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 1_913 - .saturating_add(Weight::from_parts(482_171, 0).saturating_mul(s.into())) + // Standard Error: 1_786 + .saturating_add(Weight::from_parts(540_819, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -163,11 +160,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `83 + s * (181 ±0)` // Estimated: `42632` - // Minimum execution time: 16_149_000 picoseconds. - Weight::from_parts(15_809_362, 0) + // Minimum execution time: 16_526_000 picoseconds. + Weight::from_parts(16_157_501, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 743 - .saturating_add(Weight::from_parts(733_748, 0).saturating_mul(s.into())) + // Standard Error: 745 + .saturating_add(Weight::from_parts(803_035, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -180,11 +177,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `266 + s * (189 ±0)` // Estimated: `42632` - // Minimum execution time: 14_144_000 picoseconds. - Weight::from_parts(19_188_976, 0) + // Minimum execution time: 14_759_000 picoseconds. + Weight::from_parts(19_285_721, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 2_723 - .saturating_add(Weight::from_parts(514_586, 0).saturating_mul(s.into())) + // Standard Error: 2_499 + .saturating_add(Weight::from_parts(569_945, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -197,11 +194,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `290 + s * (189 ±0)` // Estimated: `42632` - // Minimum execution time: 18_108_000 picoseconds. - Weight::from_parts(18_326_622, 0) + // Minimum execution time: 18_046_000 picoseconds. + Weight::from_parts(18_556_363, 0) .saturating_add(Weight::from_parts(0, 42632)) - // Standard Error: 1_010 - .saturating_add(Weight::from_parts(757_085, 0).saturating_mul(s.into())) + // Standard Error: 1_097 + .saturating_add(Weight::from_parts(818_589, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtimes/spiritnet/src/weights/pallet_session.rs b/runtimes/spiritnet/src/weights/pallet_session.rs index f88ae899d3..c7bdb3915f 100644 --- a/runtimes/spiritnet/src/weights/pallet_session.rs +++ b/runtimes/spiritnet/src/weights/pallet_session.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=pallet-session // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_session.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -57,8 +54,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `298` // Estimated: `3763` - // Minimum execution time: 17_310_000 picoseconds. - Weight::from_parts(17_656_000, 0) + // Minimum execution time: 17_044_000 picoseconds. + Weight::from_parts(17_352_000, 0) .saturating_add(Weight::from_parts(0, 3763)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -71,8 +68,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3745` - // Minimum execution time: 12_803_000 picoseconds. - Weight::from_parts(13_129_000, 0) + // Minimum execution time: 12_526_000 picoseconds. + Weight::from_parts(13_022_000, 0) .saturating_add(Weight::from_parts(0, 3745)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtimes/spiritnet/src/weights/pallet_technical_committee_collective.rs b/runtimes/spiritnet/src/weights/pallet_technical_committee_collective.rs index 96d316ac5a..e35f0e197a 100644 --- a/runtimes/spiritnet/src/weights/pallet_technical_committee_collective.rs +++ b/runtimes/spiritnet/src/weights/pallet_technical_committee_collective.rs @@ -19,25 +19,22 @@ //! Autogenerated weights for `pallet_technical_committee_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// ./target/release/kilt-parachain // benchmark // pallet // --heap-pages=4096 -// --chain=dev +// --chain=spiritnet-dev // --pallet=pallet-technical-committee-collective // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs -// --output=./runtimes/peregrine/src/weights/ +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -46,233 +43,256 @@ use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -// TODO: Remove once the benchmarking stuff fully supports pallet instances. -use pallet_collective as pallet_technical_committee_collective; - /// Weight functions for `pallet_technical_committee_collective`. pub struct WeightInfo(PhantomData); impl pallet_technical_committee_collective::WeightInfo for WeightInfo { /// Storage: `TechnicalCommittee::Members` (r:1 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Voting` (r:100 w:100) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::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 { + fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + m * (3228 ±0) + p * (3195 ±0)` - // Estimated: `990` - // Minimum execution time: 460_642_000 picoseconds. - Weight::from_parts(460_642_000, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 255_764_641 - .saturating_add(Weight::from_parts(127_672_940, 0).saturating_mul(m.into())) - // Standard Error: 255_764_641 - .saturating_add(Weight::from_parts(34_349_310, 0).saturating_mul(n.into())) - // Standard Error: 255_764_641 - .saturating_add(Weight::from_parts(126_599_270, 0).saturating_mul(p.into())) + // Measured: `0 + m * (3232 ±0) + p * (3194 ±0)` + // Estimated: `15770 + m * (1967 ±23) + p * (4336 ±23)` + // Minimum execution time: 17_827_000 picoseconds. + Weight::from_parts(18_234_000, 0) + .saturating_add(Weight::from_parts(0, 15770)) + // Standard Error: 69_196 + .saturating_add(Weight::from_parts(5_688_144, 0).saturating_mul(m.into())) + // Standard Error: 69_196 + .saturating_add(Weight::from_parts(8_215_028, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) .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(m.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 4336).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::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 { + fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `102 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 573_430_000 picoseconds. - Weight::from_parts(29_965_404_055, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 3_984_281 - .saturating_add(Weight::from_parts(2_473_578, 0).saturating_mul(b.into())) + // Measured: `103 + m * (32 ±0)` + // Estimated: `1589 + m * (32 ±0)` + // Minimum execution time: 15_178_000 picoseconds. + Weight::from_parts(14_274_408, 0) + .saturating_add(Weight::from_parts(0, 1589)) + // Standard Error: 18 + .saturating_add(Weight::from_parts(1_539, 0).saturating_mul(b.into())) + // Standard Error: 193 + .saturating_add(Weight::from_parts(15_568, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:0) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::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 { // Proof Size summary in bytes: - // Measured: `102 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 715_079_000 picoseconds. - Weight::from_parts(636_745_116, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 10_109 - .saturating_add(Weight::from_parts(75_330, 0).saturating_mul(b.into())) - // Standard Error: 104_360 - .saturating_add(Weight::from_parts(1_195_222, 0).saturating_mul(m.into())) + // Measured: `103 + m * (32 ±0)` + // Estimated: `3569 + m * (32 ±0)` + // Minimum execution time: 17_991_000 picoseconds. + Weight::from_parts(16_999_216, 0) + .saturating_add(Weight::from_parts(0, 3569)) + // Standard Error: 21 + .saturating_add(Weight::from_parts(1_481, 0).saturating_mul(b.into())) + // Standard Error: 216 + .saturating_add(Weight::from_parts(25_856, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalCount` (r:1 w:1) - /// Proof: `TechnicalCommittee::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Voting` (r:0 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::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 { + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `38 + m * (32 ±0) + p * (39 ±0)` - // Estimated: `990` - // Minimum execution time: 972_408_000 picoseconds. - Weight::from_parts(1_342_425_531, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 40_523 - .saturating_add(Weight::from_parts(142_705, 0).saturating_mul(b.into())) - // Standard Error: 418_333 - .saturating_add(Weight::from_parts(3_118_730, 0).saturating_mul(p.into())) + // Measured: `393 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `3785 + m * (33 ±0) + p * (36 ±0)` + // Minimum execution time: 23_222_000 picoseconds. + Weight::from_parts(23_420_711, 0) + .saturating_add(Weight::from_parts(0, 3785)) + // Standard Error: 65 + .saturating_add(Weight::from_parts(2_446, 0).saturating_mul(b.into())) + // Standard Error: 687 + .saturating_add(Weight::from_parts(18_525, 0).saturating_mul(m.into())) + // Standard Error: 678 + .saturating_add(Weight::from_parts(136_514, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. - fn vote(_m: u32, ) -> Weight { + fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `845 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 604_239_000 picoseconds. - Weight::from_parts(705_575_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `846 + m * (64 ±0)` + // Estimated: `4310 + m * (64 ±0)` + // Minimum execution time: 21_502_000 picoseconds. + Weight::from_parts(21_769_188, 0) + .saturating_add(Weight::from_parts(0, 4310)) + // Standard Error: 262 + .saturating_add(Weight::from_parts(34_464, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::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 { + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `219 + m * (64 ±0) + p * (38 ±0)` - // Estimated: `990` - // Minimum execution time: 1_062_882_000 picoseconds. - Weight::from_parts(17_615_015_534, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 1_146_969 - .saturating_add(Weight::from_parts(1_026_338, 0).saturating_mul(m.into())) + // Measured: `435 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3880 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 25_962_000 picoseconds. + Weight::from_parts(26_189_484, 0) + .saturating_add(Weight::from_parts(0, 3880)) + // Standard Error: 524 + .saturating_add(Weight::from_parts(20_888, 0).saturating_mul(m.into())) + // Standard Error: 511 + .saturating_add(Weight::from_parts(133_210, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::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 { + fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `434 + m * (64 ±0) + p * (44 ±0)` - // Estimated: `990` - // Minimum execution time: 1_150_858_000 picoseconds. - Weight::from_parts(17_456_729_928, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 729_009 - .saturating_add(Weight::from_parts(116_718, 0).saturating_mul(m.into())) - // Standard Error: 706_917 - .saturating_add(Weight::from_parts(4_476_141, 0).saturating_mul(p.into())) + // Measured: `737 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4054 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 36_035_000 picoseconds. + Weight::from_parts(37_263_795, 0) + .saturating_add(Weight::from_parts(0, 4054)) + // Standard Error: 177 + .saturating_add(Weight::from_parts(2_082, 0).saturating_mul(b.into())) + // Standard Error: 1_825 + .saturating_add(Weight::from_parts(163_631, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:1 w:0) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::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 { // Proof Size summary in bytes: - // Measured: `239 + m * (64 ±0) + p * (38 ±0)` - // Estimated: `990` - // Minimum execution time: 876_906_000 picoseconds. - Weight::from_parts(876_906_000, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 77_271_809 - .saturating_add(Weight::from_parts(34_940_280, 0).saturating_mul(m.into())) - // Standard Error: 77_291_124 - .saturating_add(Weight::from_parts(39_111_834, 0).saturating_mul(p.into())) + // Measured: `455 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3900 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 27_715_000 picoseconds. + Weight::from_parts(28_111_166, 0) + .saturating_add(Weight::from_parts(0, 3900)) + // Standard Error: 549 + .saturating_add(Weight::from_parts(24_665, 0).saturating_mul(m.into())) + // Standard Error: 535 + .saturating_add(Weight::from_parts(126_138, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Members` (r:1 w:0) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:1 w:0) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::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 { + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `454 + m * (64 ±0) + p * (44 ±0)` - // Estimated: `990` - // Minimum execution time: 1_610_558_000 picoseconds. - Weight::from_parts(2_769_131_417, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 10_668_245 - .saturating_add(Weight::from_parts(5_164_747, 0).saturating_mul(p.into())) + // Measured: `757 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `4074 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 38_005_000 picoseconds. + Weight::from_parts(39_106_273, 0) + .saturating_add(Weight::from_parts(0, 4074)) + // Standard Error: 186 + .saturating_add(Weight::from_parts(2_130, 0).saturating_mul(b.into())) + // Standard Error: 1_924 + .saturating_add(Weight::from_parts(166_121, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Voting` (r:0 w:1) - /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1) - /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. - fn disapprove_proposal(_p: u32, ) -> Weight { + fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `258 + p * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 1_112_072_000 picoseconds. - Weight::from_parts(1_726_467_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `260 + p * (32 ±0)` + // Estimated: `1745 + p * (32 ±0)` + // Minimum execution time: 14_742_000 picoseconds. + Weight::from_parts(16_397_573, 0) + .saturating_add(Weight::from_parts(0, 1745)) + // Standard Error: 529 + .saturating_add(Weight::from_parts(113_043, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } @@ -287,7 +307,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 15770 ); } #[test] @@ -299,7 +319,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 1589 ); } #[test] @@ -311,7 +331,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3569 ); } #[test] @@ -323,7 +343,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3785 ); } #[test] @@ -335,7 +355,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4310 ); } #[test] @@ -347,7 +367,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3880 ); } #[test] @@ -359,7 +379,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4054 ); } #[test] @@ -371,7 +391,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3900 ); } #[test] @@ -383,7 +403,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4074 ); } #[test] @@ -395,7 +415,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 1745 ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_technical_membership.rs b/runtimes/spiritnet/src/weights/pallet_technical_membership.rs index 349df77da8..64c3aa2e58 100644 --- a/runtimes/spiritnet/src/weights/pallet_technical_membership.rs +++ b/runtimes/spiritnet/src/weights/pallet_technical_membership.rs @@ -19,25 +19,22 @@ //! Autogenerated weights for `pallet_technical_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// ./target/release/kilt-parachain // benchmark // pallet // --heap-pages=4096 -// --chain=dev +// --chain=spiritnet-dev // --pallet=pallet-technical-membership // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs -// --output=./runtimes/peregrine/src/weights/ +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -46,144 +43,161 @@ use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -// TODO: Remove once the benchmarking stuff fully supports pallet instances. -use pallet_membership as pallet_technical_membership; - /// Weight functions for `pallet_technical_membership`. pub struct WeightInfo(PhantomData); impl pallet_technical_membership::WeightInfo for WeightInfo { /// Storage: `TechnicalMembership::Members` (r:1 w:1) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Members` (r:0 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 99]`. - fn add_member(_m: u32, ) -> Weight { + fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `133 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 405_749_000 picoseconds. - Weight::from_parts(498_827_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `136 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 13_571_000 picoseconds. + Weight::from_parts(14_196_406, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 269 + .saturating_add(Weight::from_parts(24_436, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Members` (r:1 w:1) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalMembership::Prime` (r:1 w:0) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Members` (r:0 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. - fn remove_member(_m: u32, ) -> Weight { + fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `239 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 500_744_000 picoseconds. - Weight::from_parts(527_487_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `240 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 15_651_000 picoseconds. + Weight::from_parts(16_026_418, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 317 + .saturating_add(Weight::from_parts(25_536, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Members` (r:1 w:1) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalMembership::Prime` (r:1 w:0) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Members` (r:0 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. - fn swap_member(_m: u32, ) -> Weight { + fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `239 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 511_254_000 picoseconds. - Weight::from_parts(993_980_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `240 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 15_865_000 picoseconds. + Weight::from_parts(16_307_362, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 300 + .saturating_add(Weight::from_parts(37_552, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Members` (r:1 w:1) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalMembership::Prime` (r:1 w:0) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Members` (r:0 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. - fn reset_member(_m: u32, ) -> Weight { + fn reset_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `237 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 534_955_000 picoseconds. - Weight::from_parts(688_451_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `240 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 14_826_000 picoseconds. + Weight::from_parts(16_297_003, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 562 + .saturating_add(Weight::from_parts(151_306, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Members` (r:1 w:1) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) - /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalMembership::Prime` (r:1 w:1) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Members` (r:0 w:1) - /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. - fn change_key(_m: u32, ) -> Weight { + fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `237 + m * (64 ±0)` - // Estimated: `990` - // Minimum execution time: 538_986_000 picoseconds. - Weight::from_parts(598_771_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `240 + m * (64 ±0)` + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 16_190_000 picoseconds. + Weight::from_parts(16_743_428, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 358 + .saturating_add(Weight::from_parts(36_976, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Members` (r:1 w:0) - /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `Ignored`) + /// Proof: `TechnicalMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) /// Storage: `TechnicalMembership::Prime` (r:0 w:1) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. - fn set_prime(_m: u32, ) -> Weight { + fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `30 + m * (32 ±0)` - // Estimated: `990` - // Minimum execution time: 259_951_000 picoseconds. - Weight::from_parts(340_969_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `32 + m * (32 ±0)` + // Estimated: `4687 + m * (32 ±0)` + // Minimum execution time: 7_191_000 picoseconds. + Weight::from_parts(7_657_182, 0) + .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 213 + .saturating_add(Weight::from_parts(10_744, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TechnicalMembership::Prime` (r:0 w:1) - /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `Ignored`) + /// Proof: `TechnicalMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) - /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Ignored`) + /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. - fn clear_prime(_m: u32, ) -> Weight { + fn clear_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 154_822_000 picoseconds. - Weight::from_parts(220_683_000, 0) + // Minimum execution time: 2_576_000 picoseconds. + Weight::from_parts(2_811_258, 0) .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 77 + .saturating_add(Weight::from_parts(1_206, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().writes(2)) } } @@ -199,7 +213,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } #[test] @@ -211,7 +225,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } #[test] @@ -223,7 +237,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } #[test] @@ -235,7 +249,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } #[test] @@ -247,7 +261,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } #[test] @@ -259,7 +273,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 4687 ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_timestamp.rs b/runtimes/spiritnet/src/weights/pallet_timestamp.rs index d1931519b2..f1f46c23d2 100644 --- a/runtimes/spiritnet/src/weights/pallet_timestamp.rs +++ b/runtimes/spiritnet/src/weights/pallet_timestamp.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=pallet-timestamp // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_timestamp.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -55,8 +52,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `1493` - // Minimum execution time: 6_308_000 picoseconds. - Weight::from_parts(6_451_000, 0) + // Minimum execution time: 6_009_000 picoseconds. + Weight::from_parts(6_201_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -65,8 +62,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `94` // Estimated: `0` - // Minimum execution time: 4_222_000 picoseconds. - Weight::from_parts(4_386_000, 0) + // Minimum execution time: 4_249_000 picoseconds. + Weight::from_parts(4_452_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtimes/spiritnet/src/weights/pallet_tips.rs b/runtimes/spiritnet/src/weights/pallet_tips.rs index 0043e826fe..477bf50b0d 100644 --- a/runtimes/spiritnet/src/weights/pallet_tips.rs +++ b/runtimes/spiritnet/src/weights/pallet_tips.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_tips` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=pallet-tips // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_tips.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -58,11 +55,11 @@ impl pallet_tips::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4` // Estimated: `3469` - // Minimum execution time: 27_952_000 picoseconds. - Weight::from_parts(28_728_213, 0) + // Minimum execution time: 28_041_000 picoseconds. + Weight::from_parts(28_954_022, 0) .saturating_add(Weight::from_parts(0, 3469)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_556, 0).saturating_mul(r.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_575, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -74,8 +71,8 @@ impl pallet_tips::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `221` // Estimated: `3686` - // Minimum execution time: 25_478_000 picoseconds. - Weight::from_parts(25_777_000, 0) + // Minimum execution time: 25_290_000 picoseconds. + Weight::from_parts(25_660_000, 0) .saturating_add(Weight::from_parts(0, 3686)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -92,13 +89,13 @@ impl pallet_tips::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `141 + t * (32 ±0)` // Estimated: `3606 + t * (32 ±0)` - // Minimum execution time: 19_804_000 picoseconds. - Weight::from_parts(17_926_991, 0) + // Minimum execution time: 19_240_000 picoseconds. + Weight::from_parts(18_109_648, 0) .saturating_add(Weight::from_parts(0, 3606)) - // Standard Error: 7 - .saturating_add(Weight::from_parts(1_423, 0).saturating_mul(r.into())) - // Standard Error: 5_788 - .saturating_add(Weight::from_parts(162_652, 0).saturating_mul(t.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_512, 0).saturating_mul(r.into())) + // Standard Error: 4_228 + .saturating_add(Weight::from_parts(114_725, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into())) @@ -112,11 +109,11 @@ impl pallet_tips::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `366 + t * (80 ±0)` // Estimated: `3831 + t * (80 ±0)` - // Minimum execution time: 15_693_000 picoseconds. - Weight::from_parts(15_940_899, 0) + // Minimum execution time: 15_161_000 picoseconds. + Weight::from_parts(15_542_056, 0) .saturating_add(Weight::from_parts(0, 3831)) - // Standard Error: 1_182 - .saturating_add(Weight::from_parts(126_181, 0).saturating_mul(t.into())) + // Standard Error: 1_190 + .saturating_add(Weight::from_parts(150_253, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(t.into())) @@ -133,15 +130,15 @@ impl pallet_tips::WeightInfo for WeightInfo { fn close_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `473 + t * (80 ±0)` - // Estimated: `6204 + t * (80 ±0)` - // Minimum execution time: 55_188_000 picoseconds. - Weight::from_parts(56_227_331, 0) + // Estimated: `6204 + t * (79 ±0)` + // Minimum execution time: 55_660_000 picoseconds. + Weight::from_parts(57_034_081, 0) .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 4_354 - .saturating_add(Weight::from_parts(135_011, 0).saturating_mul(t.into())) + // Standard Error: 3_959 + .saturating_add(Weight::from_parts(134_991, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 80).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 79).saturating_mul(t.into())) } /// Storage: `Tips::Tips` (r:1 w:1) /// Proof: `Tips::Tips` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -152,11 +149,11 @@ impl pallet_tips::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `269` // Estimated: `3734` - // Minimum execution time: 14_238_000 picoseconds. - Weight::from_parts(14_632_080, 0) + // Minimum execution time: 14_290_000 picoseconds. + Weight::from_parts(14_736_354, 0) .saturating_add(Weight::from_parts(0, 3734)) - // Standard Error: 717 - .saturating_add(Weight::from_parts(9_426, 0).saturating_mul(t.into())) + // Standard Error: 632 + .saturating_add(Weight::from_parts(4_426, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtimes/spiritnet/src/weights/pallet_treasury.rs b/runtimes/spiritnet/src/weights/pallet_treasury.rs index 427edc6896..b517f0a71e 100644 --- a/runtimes/spiritnet/src/weights/pallet_treasury.rs +++ b/runtimes/spiritnet/src/weights/pallet_treasury.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=pallet-treasury // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_treasury.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -57,10 +54,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn spend_local() -> Weight { // Proof Size summary in bytes: - // Measured: `6` + // Measured: `42` // Estimated: `1887` - // Minimum execution time: 11_578_000 picoseconds. - Weight::from_parts(11_946_000, 0) + // Minimum execution time: 13_411_000 picoseconds. + Weight::from_parts(13_778_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -71,10 +68,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn propose_spend() -> Weight { // Proof Size summary in bytes: - // Measured: `111` + // Measured: `147` // Estimated: `1489` - // Minimum execution time: 25_896_000 picoseconds. - Weight::from_parts(26_447_000, 0) + // Minimum execution time: 26_428_000 picoseconds. + Weight::from_parts(27_115_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -85,10 +82,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn reject_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `376` + // Measured: `412` // Estimated: `6204` - // Minimum execution time: 36_905_000 picoseconds. - Weight::from_parts(37_206_000, 0) + // Minimum execution time: 37_691_000 picoseconds. + Weight::from_parts(38_038_000, 0) .saturating_add(Weight::from_parts(0, 6204)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -100,13 +97,13 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `433 + p * (8 ±0)` + // Measured: `470 + p * (8 ±0)` // Estimated: `3573` - // Minimum execution time: 9_645_000 picoseconds. - Weight::from_parts(12_567_224, 0) + // Minimum execution time: 9_805_000 picoseconds. + Weight::from_parts(12_935_558, 0) .saturating_add(Weight::from_parts(0, 3573)) - // Standard Error: 953 - .saturating_add(Weight::from_parts(38_099, 0).saturating_mul(p.into())) + // Standard Error: 968 + .saturating_add(Weight::from_parts(36_023, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -114,10 +111,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) fn remove_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `90` + // Measured: `127` // Estimated: `1887` - // Minimum execution time: 6_302_000 picoseconds. - Weight::from_parts(6_388_000, 0) + // Minimum execution time: 7_538_000 picoseconds. + Weight::from_parts(7_873_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -135,13 +132,13 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 99]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `33 + p * (256 ±0)` + // Measured: `116 + p * (256 ±0)` // Estimated: `3597 + p * (5214 ±0)` - // Minimum execution time: 18_607_000 picoseconds. - Weight::from_parts(23_512_938, 0) + // Minimum execution time: 20_071_000 picoseconds. + Weight::from_parts(26_775_316, 0) .saturating_add(Weight::from_parts(0, 3597)) - // Standard Error: 13_219 - .saturating_add(Weight::from_parts(29_556_399, 0).saturating_mul(p.into())) + // Standard Error: 14_797 + .saturating_add(Weight::from_parts(30_570_793, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -154,10 +151,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`) fn spend() -> Weight { // Proof Size summary in bytes: - // Measured: `6` + // Measured: `42` // Estimated: `1489` - // Minimum execution time: 10_692_000 picoseconds. - Weight::from_parts(10_963_000, 0) + // Minimum execution time: 12_558_000 picoseconds. + Weight::from_parts(12_999_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -168,10 +165,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn payout() -> Weight { // Proof Size summary in bytes: - // Measured: `347` + // Measured: `383` // Estimated: `6204` - // Minimum execution time: 46_436_000 picoseconds. - Weight::from_parts(47_008_000, 0) + // Minimum execution time: 47_017_000 picoseconds. + Weight::from_parts(47_558_000, 0) .saturating_add(Weight::from_parts(0, 6204)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -180,10 +177,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`) fn check_status() -> Weight { // Proof Size summary in bytes: - // Measured: `133` + // Measured: `169` // Estimated: `3542` - // Minimum execution time: 12_823_000 picoseconds. - Weight::from_parts(12_962_000, 0) + // Minimum execution time: 13_571_000 picoseconds. + Weight::from_parts(13_742_000, 0) .saturating_add(Weight::from_parts(0, 3542)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -192,10 +189,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`) fn void_spend() -> Weight { // Proof Size summary in bytes: - // Measured: `133` + // Measured: `169` // Estimated: `3542` - // Minimum execution time: 12_216_000 picoseconds. - Weight::from_parts(12_475_000, 0) + // Minimum execution time: 13_022_000 picoseconds. + Weight::from_parts(13_173_000, 0) .saturating_add(Weight::from_parts(0, 3542)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtimes/spiritnet/src/weights/pallet_unique_linking.rs b/runtimes/spiritnet/src/weights/pallet_unique_linking.rs index 8b16e82ef5..f002e30b7d 100644 --- a/runtimes/spiritnet/src/weights/pallet_unique_linking.rs +++ b/runtimes/spiritnet/src/weights/pallet_unique_linking.rs @@ -19,25 +19,22 @@ //! Autogenerated weights for `pallet_unique_linking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// ./target/release/kilt-parachain // benchmark // pallet // --heap-pages=4096 -// --chain=dev +// --chain=spiritnet-dev // --pallet=pallet-unique-linking // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs -// --output=./runtimes/peregrine/src/weights/ +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -46,167 +43,164 @@ use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -// TODO: Remove once the benchmarking stuff fully supports pallet instances. -use pallet_did_lookup as pallet_unique_linking; - /// Weight functions for `pallet_unique_linking`. pub struct WeightInfo(PhantomData); impl pallet_unique_linking::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedAccounts` (r:1 w:2) - /// Proof: `UniqueLinking::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Ignored`) + /// Proof: `UniqueLinking::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedDids` (r:1 w:1) - /// Proof: `UniqueLinking::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `UniqueLinking::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) fn associate_account_multisig_sr25519() -> Weight { // Proof Size summary in bytes: // Measured: `480` - // Estimated: `990` - // Minimum execution time: 25_113_487_000 picoseconds. - Weight::from_parts(25_113_487_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 135_476_000 picoseconds. + Weight::from_parts(136_089_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedAccounts` (r:1 w:2) - /// Proof: `UniqueLinking::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Ignored`) + /// Proof: `UniqueLinking::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedDids` (r:1 w:1) - /// Proof: `UniqueLinking::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `UniqueLinking::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) fn associate_account_multisig_ed25519() -> Weight { // Proof Size summary in bytes: // Measured: `480` - // Estimated: `990` - // Minimum execution time: 3_828_833_000 picoseconds. - Weight::from_parts(3_828_833_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 146_187_000 picoseconds. + Weight::from_parts(147_451_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedAccounts` (r:1 w:2) - /// Proof: `UniqueLinking::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Ignored`) + /// Proof: `UniqueLinking::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedDids` (r:1 w:1) - /// Proof: `UniqueLinking::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `UniqueLinking::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) fn associate_account_multisig_ecdsa() -> Weight { // Proof Size summary in bytes: // Measured: `480` - // Estimated: `990` - // Minimum execution time: 3_368_653_000 picoseconds. - Weight::from_parts(3_368_653_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 135_665_000 picoseconds. + Weight::from_parts(137_189_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedAccounts` (r:1 w:2) - /// Proof: `UniqueLinking::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Ignored`) + /// Proof: `UniqueLinking::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedDids` (r:1 w:1) - /// Proof: `UniqueLinking::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `UniqueLinking::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) fn associate_eth_account() -> Weight { // Proof Size summary in bytes: // Measured: `455` - // Estimated: `990` - // Minimum execution time: 3_868_482_000 picoseconds. - Weight::from_parts(3_868_482_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 137_039_000 picoseconds. + Weight::from_parts(138_401_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedAccounts` (r:1 w:2) - /// Proof: `UniqueLinking::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Ignored`) + /// Proof: `UniqueLinking::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedDids` (r:1 w:1) - /// Proof: `UniqueLinking::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `UniqueLinking::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) fn associate_sender() -> Weight { // Proof Size summary in bytes: // Measured: `480` - // Estimated: `990` - // Minimum execution time: 3_316_476_000 picoseconds. - Weight::from_parts(3_316_476_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 87_387_000 picoseconds. + Weight::from_parts(88_167_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `UniqueLinking::ConnectedDids` (r:1 w:1) - /// Proof: `UniqueLinking::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `UniqueLinking::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedAccounts` (r:0 w:1) - /// Proof: `UniqueLinking::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Ignored`) + /// Proof: `UniqueLinking::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) fn remove_sender_association() -> Weight { // Proof Size summary in bytes: // Measured: `395` - // Estimated: `990` - // Minimum execution time: 1_563_980_000 picoseconds. - Weight::from_parts(1_563_980_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 44_254_000 picoseconds. + Weight::from_parts(44_705_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `UniqueLinking::ConnectedDids` (r:1 w:1) - /// Proof: `UniqueLinking::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `UniqueLinking::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `UniqueLinking::ConnectedAccounts` (r:0 w:1) - /// Proof: `UniqueLinking::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Ignored`) + /// Proof: `UniqueLinking::ConnectedAccounts` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) fn remove_account_association() -> Weight { // Proof Size summary in bytes: // Measured: `395` - // Estimated: `990` - // Minimum execution time: 1_550_726_000 picoseconds. - Weight::from_parts(1_550_726_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 45_825_000 picoseconds. + Weight::from_parts(46_116_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `UniqueLinking::ConnectedDids` (r:1 w:1) - /// Proof: `UniqueLinking::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `UniqueLinking::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: // Measured: `502` - // Estimated: `990` - // Minimum execution time: 2_422_759_000 picoseconds. - Weight::from_parts(2_422_759_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `6578` + // Minimum execution time: 77_992_000 picoseconds. + Weight::from_parts(78_574_000, 0) + .saturating_add(Weight::from_parts(0, 6578)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `UniqueLinking::ConnectedDids` (r:1 w:1) - /// Proof: `UniqueLinking::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `Ignored`) + /// Proof: `UniqueLinking::ConnectedDids` (`max_values`: None, `max_size`: Some(129), added: 2604, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `395` - // Estimated: `990` - // Minimum execution time: 2_447_655_000 picoseconds. - Weight::from_parts(2_447_655_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 68_924_000 picoseconds. + Weight::from_parts(69_504_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -223,7 +217,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -235,7 +229,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -247,7 +241,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -259,7 +253,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -271,7 +265,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -283,7 +277,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -295,7 +289,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -307,7 +301,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 6578 ); } #[test] @@ -319,7 +313,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_utility.rs b/runtimes/spiritnet/src/weights/pallet_utility.rs index 0361edd74d..d29ff2a728 100644 --- a/runtimes/spiritnet/src/weights/pallet_utility.rs +++ b/runtimes/spiritnet/src/weights/pallet_utility.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=pallet-utility // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_utility.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -54,18 +51,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_222_000 picoseconds. - Weight::from_parts(11_268_025, 0) + // Minimum execution time: 5_407_000 picoseconds. + Weight::from_parts(6_144_651, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 856 - .saturating_add(Weight::from_parts(2_683_219, 0).saturating_mul(c.into())) + // Standard Error: 1_555 + .saturating_add(Weight::from_parts(3_121_438, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_043_000 picoseconds. - Weight::from_parts(5_233_000, 0) + // Minimum execution time: 4_766_000 picoseconds. + Weight::from_parts(4_981_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -73,18 +70,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_182_000 picoseconds. - Weight::from_parts(9_707_336, 0) + // Minimum execution time: 5_363_000 picoseconds. + Weight::from_parts(7_871_014, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_154 - .saturating_add(Weight::from_parts(2_925_062, 0).saturating_mul(c.into())) + // Standard Error: 2_535 + .saturating_add(Weight::from_parts(3_335_930, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_176_000 picoseconds. - Weight::from_parts(7_380_000, 0) + // Minimum execution time: 7_290_000 picoseconds. + Weight::from_parts(7_474_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -92,11 +89,11 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_136_000 picoseconds. - Weight::from_parts(7_738_737, 0) + // Minimum execution time: 5_418_000 picoseconds. + Weight::from_parts(18_058_202, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_249 - .saturating_add(Weight::from_parts(2_687_201, 0).saturating_mul(c.into())) + // Standard Error: 1_363 + .saturating_add(Weight::from_parts(3_043_686, 0).saturating_mul(c.into())) } } diff --git a/runtimes/spiritnet/src/weights/pallet_vesting.rs b/runtimes/spiritnet/src/weights/pallet_vesting.rs index acb2cb3f73..1ec30967a3 100644 --- a/runtimes/spiritnet/src/weights/pallet_vesting.rs +++ b/runtimes/spiritnet/src/weights/pallet_vesting.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=pallet-vesting // --extrinsic=* -// --output=./runtimes/peregrine/src/weights/pallet_vesting.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -59,15 +56,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `366 + l * (25 ±0) + s * (40 ±0)` + // Measured: `333 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 32_716_000 picoseconds. - Weight::from_parts(31_624_238, 0) + // Minimum execution time: 33_267_000 picoseconds. + Weight::from_parts(32_161_777, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 610 - .saturating_add(Weight::from_parts(37_011, 0).saturating_mul(l.into())) - // Standard Error: 1_086 - .saturating_add(Weight::from_parts(141_132, 0).saturating_mul(s.into())) + // Standard Error: 608 + .saturating_add(Weight::from_parts(36_143, 0).saturating_mul(l.into())) + // Standard Error: 1_081 + .saturating_add(Weight::from_parts(146_115, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -81,15 +78,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `366 + l * (25 ±0) + s * (40 ±0)` + // Measured: `333 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 34_933_000 picoseconds. - Weight::from_parts(34_148_826, 0) + // Minimum execution time: 35_834_000 picoseconds. + Weight::from_parts(34_690_184, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 527 - .saturating_add(Weight::from_parts(30_137, 0).saturating_mul(l.into())) - // Standard Error: 938 - .saturating_add(Weight::from_parts(127_675, 0).saturating_mul(s.into())) + // Standard Error: 618 + .saturating_add(Weight::from_parts(36_785, 0).saturating_mul(l.into())) + // Standard Error: 1_099 + .saturating_add(Weight::from_parts(133_716, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -105,15 +102,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `434 + l * (25 ±0) + s * (40 ±0)` + // Measured: `401 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 34_970_000 picoseconds. - Weight::from_parts(33_396_762, 0) + // Minimum execution time: 35_110_000 picoseconds. + Weight::from_parts(33_682_707, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 655 - .saturating_add(Weight::from_parts(39_902, 0).saturating_mul(l.into())) - // Standard Error: 1_166 - .saturating_add(Weight::from_parts(146_668, 0).saturating_mul(s.into())) + // Standard Error: 494 + .saturating_add(Weight::from_parts(39_749, 0).saturating_mul(l.into())) + // Standard Error: 879 + .saturating_add(Weight::from_parts(137_404, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -129,15 +126,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `434 + l * (25 ±0) + s * (40 ±0)` + // Measured: `401 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 36_957_000 picoseconds. - Weight::from_parts(36_063_061, 0) + // Minimum execution time: 37_266_000 picoseconds. + Weight::from_parts(36_291_454, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 529 - .saturating_add(Weight::from_parts(31_993, 0).saturating_mul(l.into())) - // Standard Error: 941 - .saturating_add(Weight::from_parts(123_889, 0).saturating_mul(s.into())) + // Standard Error: 693 + .saturating_add(Weight::from_parts(38_549, 0).saturating_mul(l.into())) + // Standard Error: 1_233 + .saturating_add(Weight::from_parts(135_425, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -153,15 +150,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `471 + l * (25 ±0) + s * (40 ±0)` + // Measured: `438 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 66_016_000 picoseconds. - Weight::from_parts(66_301_649, 0) + // Minimum execution time: 66_895_000 picoseconds. + Weight::from_parts(66_925_838, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_235 - .saturating_add(Weight::from_parts(45_951, 0).saturating_mul(l.into())) - // Standard Error: 2_198 - .saturating_add(Weight::from_parts(171_498, 0).saturating_mul(s.into())) + // Standard Error: 1_022 + .saturating_add(Weight::from_parts(46_105, 0).saturating_mul(l.into())) + // Standard Error: 1_819 + .saturating_add(Weight::from_parts(180_390, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -177,15 +174,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `578 + l * (25 ±0) + s * (40 ±0)` + // Measured: `545 + l * (25 ±0) + s * (40 ±0)` // Estimated: `6204` - // Minimum execution time: 69_129_000 picoseconds. - Weight::from_parts(69_076_699, 0) + // Minimum execution time: 69_191_000 picoseconds. + Weight::from_parts(69_346_719, 0) .saturating_add(Weight::from_parts(0, 6204)) - // Standard Error: 1_189 - .saturating_add(Weight::from_parts(45_612, 0).saturating_mul(l.into())) - // Standard Error: 2_116 - .saturating_add(Weight::from_parts(169_957, 0).saturating_mul(s.into())) + // Standard Error: 1_067 + .saturating_add(Weight::from_parts(47_548, 0).saturating_mul(l.into())) + // Standard Error: 1_899 + .saturating_add(Weight::from_parts(188_139, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -201,15 +198,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `471 + l * (25 ±0) + s * (40 ±0)` + // Measured: `438 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 36_571_000 picoseconds. - Weight::from_parts(35_060_968, 0) + // Minimum execution time: 36_961_000 picoseconds. + Weight::from_parts(35_546_702, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 525 - .saturating_add(Weight::from_parts(42_288, 0).saturating_mul(l.into())) - // Standard Error: 970 - .saturating_add(Weight::from_parts(142_565, 0).saturating_mul(s.into())) + // Standard Error: 471 + .saturating_add(Weight::from_parts(39_841, 0).saturating_mul(l.into())) + // Standard Error: 870 + .saturating_add(Weight::from_parts(141_627, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -225,15 +222,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `471 + l * (25 ±0) + s * (40 ±0)` + // Measured: `438 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 39_189_000 picoseconds. - Weight::from_parts(37_159_926, 0) + // Minimum execution time: 39_841_000 picoseconds. + Weight::from_parts(38_106_550, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 636 - .saturating_add(Weight::from_parts(46_607, 0).saturating_mul(l.into())) - // Standard Error: 1_175 - .saturating_add(Weight::from_parts(147_625, 0).saturating_mul(s.into())) + // Standard Error: 534 + .saturating_add(Weight::from_parts(42_368, 0).saturating_mul(l.into())) + // Standard Error: 987 + .saturating_add(Weight::from_parts(144_165, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -249,15 +246,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn force_remove_vesting_schedule(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `471 + l * (25 ±0) + s * (40 ±0)` + // Measured: `438 + l * (25 ±0) + s * (40 ±0)` // Estimated: `4764` - // Minimum execution time: 39_755_000 picoseconds. - Weight::from_parts(38_003_429, 0) + // Minimum execution time: 40_070_000 picoseconds. + Weight::from_parts(38_574_119, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 864 - .saturating_add(Weight::from_parts(43_527, 0).saturating_mul(l.into())) - // Standard Error: 1_596 - .saturating_add(Weight::from_parts(144_859, 0).saturating_mul(s.into())) + // Standard Error: 511 + .saturating_add(Weight::from_parts(44_906, 0).saturating_mul(l.into())) + // Standard Error: 945 + .saturating_add(Weight::from_parts(145_220, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtimes/spiritnet/src/weights/pallet_web3_names.rs b/runtimes/spiritnet/src/weights/pallet_web3_names.rs index e65ac2f0ed..d43e0996d3 100644 --- a/runtimes/spiritnet/src/weights/pallet_web3_names.rs +++ b/runtimes/spiritnet/src/weights/pallet_web3_names.rs @@ -19,25 +19,22 @@ //! Autogenerated weights for `pallet_web3_names` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-11, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// ./target/release/kilt-parachain // benchmark // pallet // --heap-pages=4096 -// --chain=dev +// --chain=spiritnet-dev // --pallet=pallet-web3-names // --extrinsic=* -// --steps=2 -// --repeat=1 -// --default-pov-mode=ignored // --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs -// --output=./runtimes/peregrine/src/weights/ +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -50,140 +47,146 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_web3_names::WeightInfo for WeightInfo { /// Storage: `Web3Names::Names` (r:1 w:1) - /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `Ignored`) + /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) /// Storage: `Web3Names::Owner` (r:1 w:1) - /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `Ignored`) + /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) /// Storage: `Web3Names::Banned` (r:1 w:0) - /// Proof: `Web3Names::Banned` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `Ignored`) + /// Proof: `Web3Names::Banned` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `n` is `[3, 32]`. fn claim(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `147` - // Estimated: `990` - // Minimum execution time: 1_933_283_000 picoseconds. - Weight::from_parts(2_123_318_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 57_420_000 picoseconds. + Weight::from_parts(58_513_034, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `Web3Names::Names` (r:1 w:1) - /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `Ignored`) + /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) /// Storage: `Web3Names::Owner` (r:1 w:1) - /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `Ignored`) + /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn release_by_owner() -> Weight { // Proof Size summary in bytes: // Measured: `552` - // Estimated: `990` - // Minimum execution time: 1_704_333_000 picoseconds. - Weight::from_parts(1_704_333_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 51_136_000 picoseconds. + Weight::from_parts(51_624_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Web3Names::Owner` (r:1 w:1) - /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `Ignored`) + /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Web3Names::Names` (r:0 w:1) - /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `Ignored`) + /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) /// The range of component `n` is `[3, 32]`. - fn reclaim_deposit(_n: u32, ) -> Weight { + fn reclaim_deposit(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `447 + n * (1 ±0)` - // Estimated: `990` - // Minimum execution time: 1_632_584_000 picoseconds. - Weight::from_parts(1_797_797_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `448 + n * (1 ±0)` + // Estimated: `3784` + // Minimum execution time: 49_003_000 picoseconds. + Weight::from_parts(49_665_423, 0) + .saturating_add(Weight::from_parts(0, 3784)) + // Standard Error: 913 + .saturating_add(Weight::from_parts(19_189, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Web3Names::Banned` (r:1 w:1) - /// Proof: `Web3Names::Banned` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `Ignored`) + /// Proof: `Web3Names::Banned` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `Web3Names::Owner` (r:1 w:1) - /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `Ignored`) + /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `Web3Names::Names` (r:0 w:1) - /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `Ignored`) + /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) /// The range of component `n` is `[3, 32]`. - fn ban(_n: u32, ) -> Weight { + fn ban(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `447 + n * (1 ±0)` - // Estimated: `990` - // Minimum execution time: 1_884_191_000 picoseconds. - Weight::from_parts(2_552_638_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `448 + n * (1 ±0)` + // Estimated: `3784` + // Minimum execution time: 54_683_000 picoseconds. + Weight::from_parts(55_351_218, 0) + .saturating_add(Weight::from_parts(0, 3784)) + // Standard Error: 1_088 + .saturating_add(Weight::from_parts(15_025, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `Web3Names::Banned` (r:1 w:1) - /// Proof: `Web3Names::Banned` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `Ignored`) + /// Proof: `Web3Names::Banned` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// The range of component `n` is `[3, 32]`. - fn unban(_n: u32, ) -> Weight { + fn unban(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `83 + n * (1 ±0)` - // Estimated: `990` - // Minimum execution time: 607_060_000 picoseconds. - Weight::from_parts(614_873_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Measured: `84 + n * (1 ±0)` + // Estimated: `3514` + // Minimum execution time: 13_329_000 picoseconds. + Weight::from_parts(13_776_965, 0) + .saturating_add(Weight::from_parts(0, 3514)) + // Standard Error: 829 + .saturating_add(Weight::from_parts(16_881, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Web3Names::Names` (r:1 w:0) - /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `Ignored`) + /// Proof: `Web3Names::Names` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:0) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `Web3Names::Owner` (r:1 w:1) - /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `Ignored`) + /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: // Measured: `659` - // Estimated: `990` - // Minimum execution time: 3_036_222_000 picoseconds. - Weight::from_parts(3_036_222_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `6578` + // Minimum execution time: 84_001_000 picoseconds. + Weight::from_parts(84_473_000, 0) + .saturating_add(Weight::from_parts(0, 6578)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `Web3Names::Owner` (r:1 w:1) - /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `Ignored`) + /// Proof: `Web3Names::Owner` (`max_values`: None, `max_size`: Some(137), added: 2612, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:1 w:1) - /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `Ignored`) + /// Proof: `Migration::MigratedKeys` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Ignored`) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(301), added: 2776, mode: `Ignored`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `407` - // Estimated: `990` - // Minimum execution time: 2_369_820_000 picoseconds. - Weight::from_parts(2_369_820_000, 0) - .saturating_add(Weight::from_parts(0, 990)) + // Estimated: `3784` + // Minimum execution time: 66_164_000 picoseconds. + Weight::from_parts(66_811_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -200,7 +203,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -212,7 +215,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -224,7 +227,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -236,7 +239,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } #[test] @@ -248,7 +251,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3514 ); } #[test] @@ -260,7 +263,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 6578 ); } #[test] @@ -272,7 +275,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 990 + > 3784 ); } } diff --git a/runtimes/spiritnet/src/weights/pallet_xcm.rs b/runtimes/spiritnet/src/weights/pallet_xcm.rs index 6292ffba7a..47b2ba294e 100644 --- a/runtimes/spiritnet/src/weights/pallet_xcm.rs +++ b/runtimes/spiritnet/src/weights/pallet_xcm.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_xcm` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=pallet-xcm // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/pallet_xcm.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -63,11 +60,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) fn send() -> Weight { // Proof Size summary in bytes: - // Measured: `277` - // Estimated: `3742` - // Minimum execution time: 30_940_000 picoseconds. - Weight::from_parts(31_685_000, 0) - .saturating_add(Weight::from_parts(0, 3742)) + // Measured: `348` + // Estimated: `3813` + // Minimum execution time: 31_344_000 picoseconds. + Weight::from_parts(32_214_000, 0) + .saturating_add(Weight::from_parts(0, 3813)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -81,6 +78,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { Weight::from_parts(18_446_744_073_709_551_000, 0) .saturating_add(Weight::from_parts(0, 0)) } + /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:0) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, 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: `System::Account` (r:1 w:1) @@ -99,23 +98,41 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `309` - // Estimated: `3774` - // Minimum execution time: 97_254_000 picoseconds. - Weight::from_parts(98_092_000, 0) - .saturating_add(Weight::from_parts(0, 3774)) - .saturating_add(T::DbWeight::get().reads(7)) + // Measured: `383` + // Estimated: `3848` + // Minimum execution time: 115_218_000 picoseconds. + Weight::from_parts(116_258_000, 0) + .saturating_add(Weight::from_parts(0, 3848)) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:0) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, 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: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SafeXcmVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) fn transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. - Weight::from_parts(18_446_744_073_709_551_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Measured: `383` + // Estimated: `3848` + // Minimum execution time: 116_898_000 picoseconds. + Weight::from_parts(117_950_000, 0) + .saturating_add(Weight::from_parts(0, 3848)) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Benchmark::Override` (r:0 w:0) /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -133,8 +150,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_272_000 picoseconds. - Weight::from_parts(9_541_000, 0) + // Minimum execution time: 9_031_000 picoseconds. + Weight::from_parts(9_369_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -144,8 +161,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_748_000 picoseconds. - Weight::from_parts(2_927_000, 0) + // Minimum execution time: 2_757_000 picoseconds. + Weight::from_parts(2_910_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -169,11 +186,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_subscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `277` - // Estimated: `3742` - // Minimum execution time: 37_648_000 picoseconds. - Weight::from_parts(38_348_000, 0) - .saturating_add(Weight::from_parts(0, 3742)) + // Measured: `348` + // Estimated: `3813` + // Minimum execution time: 38_352_000 picoseconds. + Weight::from_parts(38_756_000, 0) + .saturating_add(Weight::from_parts(0, 3813)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -195,11 +212,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_unsubscribe_version_notify() -> Weight { // Proof Size summary in bytes: - // Measured: `532` - // Estimated: `3997` - // Minimum execution time: 41_031_000 picoseconds. - Weight::from_parts(41_618_000, 0) - .saturating_add(Weight::from_parts(0, 3997)) + // Measured: `603` + // Estimated: `4068` + // Minimum execution time: 40_863_000 picoseconds. + Weight::from_parts(41_553_000, 0) + .saturating_add(Weight::from_parts(0, 4068)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -209,8 +226,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_830_000 picoseconds. - Weight::from_parts(2_984_000, 0) + // Minimum execution time: 2_814_000 picoseconds. + Weight::from_parts(2_966_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -218,11 +235,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: - // Measured: `125` - // Estimated: `13490` - // Minimum execution time: 21_326_000 picoseconds. - Weight::from_parts(21_932_000, 0) - .saturating_add(Weight::from_parts(0, 13490)) + // Measured: `159` + // Estimated: `13524` + // Minimum execution time: 21_050_000 picoseconds. + Weight::from_parts(21_444_000, 0) + .saturating_add(Weight::from_parts(0, 13524)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -230,11 +247,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: - // Measured: `129` - // Estimated: `13494` - // Minimum execution time: 21_504_000 picoseconds. - Weight::from_parts(21_914_000, 0) - .saturating_add(Weight::from_parts(0, 13494)) + // Measured: `163` + // Estimated: `13528` + // Minimum execution time: 20_929_000 picoseconds. + Weight::from_parts(21_278_000, 0) + .saturating_add(Weight::from_parts(0, 13528)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -242,11 +259,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: - // Measured: `183` - // Estimated: `16023` - // Minimum execution time: 23_689_000 picoseconds. - Weight::from_parts(24_555_000, 0) - .saturating_add(Weight::from_parts(0, 16023)) + // Measured: `178` + // Estimated: `16018` + // Minimum execution time: 23_248_000 picoseconds. + Weight::from_parts(24_042_000, 0) + .saturating_add(Weight::from_parts(0, 16018)) .saturating_add(T::DbWeight::get().reads(6)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) @@ -265,11 +282,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_current_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `349` - // Estimated: `6289` - // Minimum execution time: 36_737_000 picoseconds. - Weight::from_parts(37_663_000, 0) - .saturating_add(Weight::from_parts(0, 6289)) + // Measured: `420` + // Estimated: `6360` + // Minimum execution time: 37_038_000 picoseconds. + Weight::from_parts(37_504_000, 0) + .saturating_add(Weight::from_parts(0, 6360)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -277,22 +294,22 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: - // Measured: `172` - // Estimated: `11062` - // Minimum execution time: 13_355_000 picoseconds. - Weight::from_parts(13_653_000, 0) - .saturating_add(Weight::from_parts(0, 11062)) + // Measured: `206` + // Estimated: `11096` + // Minimum execution time: 12_898_000 picoseconds. + Weight::from_parts(13_147_000, 0) + .saturating_add(Weight::from_parts(0, 11096)) .saturating_add(T::DbWeight::get().reads(4)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `136` - // Estimated: `13501` - // Minimum execution time: 21_637_000 picoseconds. - Weight::from_parts(22_117_000, 0) - .saturating_add(Weight::from_parts(0, 13501)) + // Measured: `170` + // Estimated: `13535` + // Minimum execution time: 20_573_000 picoseconds. + Weight::from_parts(21_281_000, 0) + .saturating_add(Weight::from_parts(0, 13535)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -312,11 +329,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `349` - // Estimated: `13714` - // Minimum execution time: 46_936_000 picoseconds. - Weight::from_parts(47_598_000, 0) - .saturating_add(Weight::from_parts(0, 13714)) + // Measured: `420` + // Estimated: `13785` + // Minimum execution time: 46_599_000 picoseconds. + Weight::from_parts(47_113_000, 0) + .saturating_add(Weight::from_parts(0, 13785)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -326,11 +343,11 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn new_query() -> Weight { // Proof Size summary in bytes: - // Measured: `69` - // Estimated: `1554` - // Minimum execution time: 5_308_000 picoseconds. - Weight::from_parts(5_529_000, 0) - .saturating_add(Weight::from_parts(0, 1554)) + // Measured: `103` + // Estimated: `1588` + // Minimum execution time: 5_180_000 picoseconds. + Weight::from_parts(5_402_000, 0) + .saturating_add(Weight::from_parts(0, 1588)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -338,24 +355,26 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn take_response() -> Weight { // Proof Size summary in bytes: - // Measured: `7710` - // Estimated: `11175` - // Minimum execution time: 30_221_000 picoseconds. - Weight::from_parts(30_681_000, 0) - .saturating_add(Weight::from_parts(0, 11175)) + // Measured: `7744` + // Estimated: `11209` + // Minimum execution time: 29_090_000 picoseconds. + Weight::from_parts(29_375_000, 0) + .saturating_add(Weight::from_parts(0, 11209)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: `AssetSwitchPool1::SwitchPair` (r:1 w:0) + /// Proof: `AssetSwitchPool1::SwitchPair` (`max_values`: Some(1), `max_size`: Some(1939), added: 2434, mode: `MaxEncodedLen`) /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1) /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) fn claim_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `126` - // Estimated: `3591` - // Minimum execution time: 44_754_000 picoseconds. - Weight::from_parts(45_338_000, 0) - .saturating_add(Weight::from_parts(0, 3591)) - .saturating_add(T::DbWeight::get().reads(1)) + // Measured: `163` + // Estimated: `3628` + // Minimum execution time: 66_550_000 picoseconds. + Weight::from_parts(67_537_000, 0) + .saturating_add(Weight::from_parts(0, 3628)) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } } @@ -371,7 +390,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3742 + > 3813 ); } #[test] @@ -383,7 +402,19 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3774 + > 3848 + ); + } + #[test] + fn test_transfer_assets() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 3848 ); } #[test] @@ -395,7 +426,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3742 + > 3813 ); } #[test] @@ -407,7 +438,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3997 + > 4068 ); } #[test] @@ -419,7 +450,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 13490 + > 13524 ); } #[test] @@ -431,7 +462,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 13494 + > 13528 ); } #[test] @@ -443,7 +474,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 16023 + > 16018 ); } #[test] @@ -455,7 +486,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6289 + > 6360 ); } #[test] @@ -467,7 +498,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 11062 + > 11096 ); } #[test] @@ -479,7 +510,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 13501 + > 13535 ); } #[test] @@ -491,7 +522,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 13714 + > 13785 ); } #[test] @@ -503,7 +534,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 1554 + > 1588 ); } #[test] @@ -515,7 +546,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 11175 + > 11209 ); } #[test] @@ -527,7 +558,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 3591 + > 3628 ); } } diff --git a/runtimes/spiritnet/src/weights/parachain_staking.rs b/runtimes/spiritnet/src/weights/parachain_staking.rs index 830f49bdfa..ff5a05a09c 100644 --- a/runtimes/spiritnet/src/weights/parachain_staking.rs +++ b/runtimes/spiritnet/src/weights/parachain_staking.rs @@ -16,73 +16,91 @@ // If you feel like getting in touch with us, you can do so at info@botlabs.org -//! Autogenerated weights for parachain_staking +//! Autogenerated weights for `parachain_staking` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: // ./target/release/kilt-parachain // benchmark // pallet +// --heap-pages=4096 // --chain=spiritnet-dev -// --steps=50 -// --repeat=20 // --pallet=parachain-staking // --extrinsic=* -// --execution=wasm -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=./runtimes/spiritnet/src/weights/parachain_staking.rs +// --header=HEADER-GPL // --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] #![allow(clippy::as_conversions)] -#![allow(clippy::unnecessary_cast)] use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weights for `parachain_staking`. +/// Weight functions for `parachain_staking`. pub struct WeightInfo(PhantomData); impl parachain_staking::WeightInfo for WeightInfo { - // Storage: ParachainStaking Round (r:1 w:0) - // Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::Round` (r:1 w:0) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) fn on_initialize_no_action() -> Weight { - Weight::from_parts(9_720_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - } - // Storage: ParachainStaking Round (r:1 w:1) - // Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `335` + // Estimated: `1505` + // Minimum execution time: 4_646_000 picoseconds. + Weight::from_parts(4_765_000, 0) + .saturating_add(Weight::from_parts(0, 1505)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `ParachainStaking::Round` (r:1 w:1) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) fn on_initialize_round_update() -> Weight { - Weight::from_parts(19_583_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: ParachainStaking Round (r:1 w:1) - // Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxCollatorCandidateStake (r:1 w:0) - // Proof: ParachainStaking MaxCollatorCandidateStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `335` + // Estimated: `1505` + // Minimum execution time: 7_994_000 picoseconds. + Weight::from_parts(8_399_000, 0) + .saturating_add(Weight::from_parts(0, 1505)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `ParachainStaking::Round` (r:1 w:1) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxCollatorCandidateStake` (r:1 w:0) + /// Proof: `ParachainStaking::MaxCollatorCandidateStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn on_initialize_network_rewards() -> Weight { - Weight::from_parts(37_094_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: ParachainStaking ForceNewRound (r:0 w:1) - // Proof: ParachainStaking ForceNewRound (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `482` + // Estimated: `3597` + // Minimum execution time: 30_397_000 picoseconds. + Weight::from_parts(31_150_000, 0) + .saturating_add(Weight::from_parts(0, 3597)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `ParachainStaking::ForceNewRound` (r:0 w:1) + /// Proof: `ParachainStaking::ForceNewRound` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) fn force_new_round() -> Weight { - Weight::from_parts(3_573_000 as u64, 0) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_662_000 picoseconds. + Weight::from_parts(2_791_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } -/// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:0) + /// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:0) /// Proof: `ParachainStaking::CounterForCandidatePool` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `ParachainStaking::CandidatePool` (r:76 w:0) /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) @@ -102,13 +120,13 @@ impl parachain_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + m * (7573 ±0) + n * (3709 ±0)` // Estimated: `183222 + m * (64823 ±2_167) + n * (31965 ±1_009)` - // Minimum execution time: 704_611_000 picoseconds. - Weight::from_parts(707_105_000, 0) + // Minimum execution time: 672_295_000 picoseconds. + Weight::from_parts(674_923_000, 0) .saturating_add(Weight::from_parts(0, 183222)) - // Standard Error: 4_876_636 - .saturating_add(Weight::from_parts(150_694_630, 0).saturating_mul(n.into())) - // Standard Error: 10_470_032 - .saturating_add(Weight::from_parts(290_425_882, 0).saturating_mul(m.into())) + // Standard Error: 4_638_961 + .saturating_add(Weight::from_parts(142_388_566, 0).saturating_mul(n.into())) + // Standard Error: 9_959_747 + .saturating_add(Weight::from_parts(275_754_348, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(152)) .saturating_add(T::DbWeight::get().reads((27_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((51_u64).saturating_mul(m.into()))) @@ -118,419 +136,554 @@ impl parachain_staking::WeightInfo for WeightInfo { .saturating_add(Weight::from_parts(0, 64823).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 31965).saturating_mul(n.into())) } - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:1) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:0) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking CandidatePool (r:59 w:0) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:59 w:0) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// The range of component `n` is `[16, 75]`. + /// The range of component `m` is `[0, 35]`. fn set_max_selected_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_parts(34_791_000 as u64, 0) - // Standard Error: 22_810 - .saturating_add(Weight::from_parts(3_158_790 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 50_488 - .saturating_add(Weight::from_parts(237_373 as u64, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: ParachainStaking Round (r:1 w:1) - // Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `0 + m * (2832 ±0) + n * (1843 ±0)` + // Estimated: `5255 + n * (3554 ±9)` + // Minimum execution time: 27_258_000 picoseconds. + Weight::from_parts(27_792_000, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 21_269 + .saturating_add(Weight::from_parts(3_084_101, 0).saturating_mul(n.into())) + // Standard Error: 47_077 + .saturating_add(Weight::from_parts(196_153, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 3554).saturating_mul(n.into())) + } + /// Storage: `ParachainStaking::Round` (r:1 w:1) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) fn set_blocks_per_round() -> Weight { - Weight::from_parts(24_158_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: ParachainStaking CandidatePool (r:17 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:1) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksAuthored (r:1 w:1) - // Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksRewarded (r:36 w:36) - // Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking Rewards (r:36 w:36) - // Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) - // Storage: ParachainStaking Unstaking (r:36 w:36) - // Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - // Storage: ParachainStaking DelegatorState (r:35 w:35) - // Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - // Storage: Session Validators (r:1 w:0) - // Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured) - // Storage: Session DisabledValidators (r:1 w:1) - // Proof Skipped: Session DisabledValidators (max_values: Some(1), max_size: None, mode: Measured) - // Storage: System Digest (r:1 w:1) - // Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) - // Storage: ParachainStaking CounterForCandidatePool (r:1 w:1) - // Proof: ParachainStaking CounterForCandidatePool (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `335` + // Estimated: `1505` + // Minimum execution time: 11_503_000 picoseconds. + Weight::from_parts(11_759_000, 0) + .saturating_add(Weight::from_parts(0, 1505)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `ParachainStaking::CandidatePool` (r:17 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:36 w:36) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:36 w:36) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:36 w:36) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:35 w:35) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `Session::Validators` (r:1 w:0) + /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Session::DisabledValidators` (r:1 w:1) + /// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CounterForCandidatePool` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// The range of component `n` is `[17, 75]`. + /// The range of component `m` is `[0, 35]`. fn force_remove_candidate(n: u32, m: u32, ) -> Weight { - Weight::from_parts(133_321_000 as u64, 0) - // Standard Error: 23_503 - .saturating_add(Weight::from_parts(849_432 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 52_141 - .saturating_add(Weight::from_parts(24_512_322 as u64, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(29 as u64)) - .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(m as u64))) - .saturating_add(T::DbWeight::get().writes(10 as u64)) - .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(m as u64))) - } - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking DelegatorState (r:1 w:0) - // Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxCollatorCandidateStake (r:1 w:0) - // Proof: ParachainStaking MaxCollatorCandidateStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: ParachainStaking Unstaking (r:1 w:1) - // Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:1) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking CounterForCandidatePool (r:1 w:1) - // Proof: ParachainStaking CounterForCandidatePool (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `0 + m * (2303 ±0) + n * (397 ±0)` + // Estimated: `73495 + m * (2756 ±0) + n * (136 ±3)` + // Minimum execution time: 119_586_000 picoseconds. + Weight::from_parts(120_564_000, 0) + .saturating_add(Weight::from_parts(0, 73495)) + // Standard Error: 21_702 + .saturating_add(Weight::from_parts(802_197, 0).saturating_mul(n.into())) + // Standard Error: 48_144 + .saturating_add(Weight::from_parts(24_193_898, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(29)) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(m.into()))) + .saturating_add(T::DbWeight::get().writes(10)) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(m.into()))) + .saturating_add(Weight::from_parts(0, 2756).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 136).saturating_mul(n.into())) + } + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxCollatorCandidateStake` (r:1 w:0) + /// Proof: `ParachainStaking::MaxCollatorCandidateStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:0) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CounterForCandidatePool` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 74]`. + /// The range of component `m` is `[0, 35]`. fn join_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_parts(58_290_006 as u64, 0) - // Standard Error: 9_768 - .saturating_add(Weight::from_parts(452_557 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 20_284 - .saturating_add(Weight::from_parts(801_802 as u64, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) - } - // Storage: ParachainStaking CandidatePool (r:17 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:1) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking Round (r:1 w:0) - // Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `2617 + m * (37 ±0) + n * (76 ±0)` + // Estimated: `5255 + m * (43 ±0)` + // Minimum execution time: 69_561_000 picoseconds. + Weight::from_parts(52_408_577, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 10_298 + .saturating_add(Weight::from_parts(482_867, 0).saturating_mul(n.into())) + // Standard Error: 21_385 + .saturating_add(Weight::from_parts(887_591, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(Weight::from_parts(0, 43).saturating_mul(m.into())) + } + /// Storage: `ParachainStaking::CandidatePool` (r:17 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Round` (r:1 w:0) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// The range of component `n` is `[17, 74]`. + /// The range of component `m` is `[0, 35]`. fn init_leave_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_parts(82_719_648 as u64, 0) - // Standard Error: 9_416 - .saturating_add(Weight::from_parts(540_449 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 15_271 - .saturating_add(Weight::from_parts(1_265_189 as u64, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(21 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) - } - // Storage: ParachainStaking CandidatePool (r:2 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:1) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `2007 + m * (816 ±0) + n * (71 ±0)` + // Estimated: `73495` + // Minimum execution time: 94_423_000 picoseconds. + Weight::from_parts(70_783_184, 0) + .saturating_add(Weight::from_parts(0, 73495)) + // Standard Error: 8_977 + .saturating_add(Weight::from_parts(523_274, 0).saturating_mul(n.into())) + // Standard Error: 14_559 + .saturating_add(Weight::from_parts(1_259_431, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(21)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `ParachainStaking::CandidatePool` (r:2 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// The range of component `n` is `[17, 74]`. + /// The range of component `m` is `[0, 35]`. fn cancel_leave_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_parts(40_360_490 as u64, 0) - // Standard Error: 6_610 - .saturating_add(Weight::from_parts(244_903 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 10_720 - .saturating_add(Weight::from_parts(568_999 as u64, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) - } - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking Round (r:1 w:0) - // Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksAuthored (r:1 w:1) - // Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksRewarded (r:36 w:36) - // Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking Rewards (r:36 w:36) - // Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:0) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) - // Storage: ParachainStaking Unstaking (r:36 w:36) - // Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - // Storage: ParachainStaking DelegatorState (r:35 w:35) - // Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - // Storage: Session Validators (r:1 w:0) - // Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured) - // Storage: Session DisabledValidators (r:1 w:1) - // Proof Skipped: Session DisabledValidators (max_values: Some(1), max_size: None, mode: Measured) - // Storage: System Digest (r:1 w:1) - // Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) - // Storage: ParachainStaking CounterForCandidatePool (r:1 w:1) - // Proof: ParachainStaking CounterForCandidatePool (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `780 + m * (96 ±0) + n * (53 ±0)` + // Estimated: `9520` + // Minimum execution time: 36_979_000 picoseconds. + Weight::from_parts(32_101_565, 0) + .saturating_add(Weight::from_parts(0, 9520)) + // Standard Error: 6_517 + .saturating_add(Weight::from_parts(221_744, 0).saturating_mul(n.into())) + // Standard Error: 10_570 + .saturating_add(Weight::from_parts(541_404, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Round` (r:1 w:0) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:36 w:36) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:36 w:36) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:0) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:36 w:36) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:35 w:35) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `Session::Validators` (r:1 w:0) + /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Session::DisabledValidators` (r:1 w:1) + /// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CounterForCandidatePool` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// The range of component `n` is `[17, 74]`. + /// The range of component `m` is `[0, 35]`. fn execute_leave_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_parts(66_923_000 as u64, 0) - // Standard Error: 20_476 - .saturating_add(Weight::from_parts(750_740 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 44_843 - .saturating_add(Weight::from_parts(24_654_644 as u64, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(m as u64))) - .saturating_add(T::DbWeight::get().writes(8 as u64)) - .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(m as u64))) - } - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxCollatorCandidateStake (r:1 w:0) - // Proof: ParachainStaking MaxCollatorCandidateStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - // Storage: ParachainStaking Unstaking (r:1 w:1) - // Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:1) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksAuthored (r:1 w:0) - // Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksRewarded (r:1 w:1) - // Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking Rewards (r:1 w:1) - // Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `0 + m * (1534 ±0) + n * (335 ±0)` + // Estimated: `5255 + m * (2756 ±7) + n * (118 ±3)` + // Minimum execution time: 59_387_000 picoseconds. + Weight::from_parts(59_913_000, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 19_384 + .saturating_add(Weight::from_parts(669_333, 0).saturating_mul(n.into())) + // Standard Error: 42_453 + .saturating_add(Weight::from_parts(24_267_840, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(m.into()))) + .saturating_add(T::DbWeight::get().writes(8)) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(m.into()))) + .saturating_add(Weight::from_parts(0, 2756).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 118).saturating_mul(n.into())) + } + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxCollatorCandidateStake` (r:1 w:0) + /// Proof: `ParachainStaking::MaxCollatorCandidateStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:0) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 74]`. + /// The range of component `m` is `[0, 35]`. + /// The range of component `u` is `[0, 9]`. fn candidate_stake_more(n: u32, m: u32, u: u32, ) -> Weight { - Weight::from_parts(55_908_884 as u64, 0) - // Standard Error: 9_777 - .saturating_add(Weight::from_parts(500_279 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 20_296 - .saturating_add(Weight::from_parts(964_901 as u64, 0).saturating_mul(m as u64)) - // Standard Error: 75_180 - .saturating_add(Weight::from_parts(1_126_340 as u64, 0).saturating_mul(u as u64)) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) - } - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking Unstaking (r:1 w:1) - // Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:1) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksAuthored (r:1 w:0) - // Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksRewarded (r:1 w:1) - // Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking Rewards (r:1 w:1) - // Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `3030 + m * (92 ±0) + n * (65 ±0) + u * (24 ±0)` + // Estimated: `5255` + // Minimum execution time: 80_574_000 picoseconds. + Weight::from_parts(52_117_315, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 9_748 + .saturating_add(Weight::from_parts(527_520, 0).saturating_mul(n.into())) + // Standard Error: 20_236 + .saturating_add(Weight::from_parts(1_054_190, 0).saturating_mul(m.into())) + // Standard Error: 74_961 + .saturating_add(Weight::from_parts(1_145_427, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(8)) + } + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 74]`. + /// The range of component `m` is `[0, 35]`. fn candidate_stake_less(n: u32, m: u32, ) -> Weight { - Weight::from_parts(45_889_115 as u64, 0) - // Standard Error: 10_474 - .saturating_add(Weight::from_parts(483_213 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 21_750 - .saturating_add(Weight::from_parts(905_984 as u64, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(9 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) - } - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - // Storage: ParachainStaking CandidatePool (r:2 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking Unstaking (r:1 w:1) - // Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - // Storage: ParachainStaking LastDelegation (r:1 w:1) - // Proof: ParachainStaking LastDelegation (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking Round (r:1 w:0) - // Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:1) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksAuthored (r:1 w:0) - // Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksRewarded (r:0 w:1) - // Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `2099 + m * (70 ±0) + n * (60 ±0)` + // Estimated: `5255` + // Minimum execution time: 54_389_000 picoseconds. + Weight::from_parts(36_858_000, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 9_699 + .saturating_add(Weight::from_parts(459_023, 0).saturating_mul(n.into())) + // Standard Error: 20_141 + .saturating_add(Weight::from_parts(879_166, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(6)) + } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:2 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::LastDelegation` (r:1 w:1) + /// Proof: `ParachainStaking::LastDelegation` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Round` (r:1 w:0) + /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:0) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:0 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 75]`. + /// The range of component `m` is `[1, 34]`. fn join_delegators(n: u32, m: u32, ) -> Weight { - Weight::from_parts(62_585_140 as u64, 0) - // Standard Error: 10_255 - .saturating_add(Weight::from_parts(588_425 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 22_793 - .saturating_add(Weight::from_parts(1_193_810 as u64, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(9 as u64)) - } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - // Storage: ParachainStaking Unstaking (r:1 w:1) - // Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:1) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksAuthored (r:1 w:0) - // Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksRewarded (r:1 w:1) - // Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking Rewards (r:1 w:1) - // Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `3558 + m * (93 ±0) + n * (84 ±0)` + // Estimated: `9520` + // Minimum execution time: 84_803_000 picoseconds. + Weight::from_parts(59_502_627, 0) + .saturating_add(Weight::from_parts(0, 9520)) + // Standard Error: 10_760 + .saturating_add(Weight::from_parts(624_377, 0).saturating_mul(n.into())) + // Standard Error: 23_914 + .saturating_add(Weight::from_parts(1_281_652, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(9)) + } + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:0) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 75]`. + /// The range of component `m` is `[1, 34]`. + /// The range of component `u` is `[1, 9]`. fn delegator_stake_more(n: u32, m: u32, u: u32, ) -> Weight { - Weight::from_parts(66_780_705 as u64, 0) - // Standard Error: 9_176 - .saturating_add(Weight::from_parts(519_243 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 20_387 - .saturating_add(Weight::from_parts(950_103 as u64, 0).saturating_mul(m as u64)) - // Standard Error: 79_072 - .saturating_add(Weight::from_parts(1_029_497 as u64, 0).saturating_mul(u as u64)) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(9 as u64)) - } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking Unstaking (r:1 w:1) - // Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:1) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksAuthored (r:1 w:0) - // Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksRewarded (r:1 w:1) - // Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking Rewards (r:1 w:1) - // Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `4166 + m * (88 ±0) + n * (72 ±0) + u * (24 ±0)` + // Estimated: `5255` + // Minimum execution time: 87_833_000 picoseconds. + Weight::from_parts(61_290_915, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 9_321 + .saturating_add(Weight::from_parts(552_316, 0).saturating_mul(n.into())) + // Standard Error: 20_708 + .saturating_add(Weight::from_parts(1_055_470, 0).saturating_mul(m.into())) + // Standard Error: 80_316 + .saturating_add(Weight::from_parts(1_182_511, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(9)) + } + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 75]`. + /// The range of component `m` is `[1, 34]`. fn delegator_stake_less(n: u32, m: u32, ) -> Weight { - Weight::from_parts(55_304_698 as u64, 0) - // Standard Error: 10_232 - .saturating_add(Weight::from_parts(495_173 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 22_742 - .saturating_add(Weight::from_parts(960_378 as u64, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) - } - // Storage: ParachainStaking DelegatorState (r:1 w:1) - // Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - // Storage: ParachainStaking CandidatePool (r:1 w:1) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksAuthored (r:1 w:0) - // Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksRewarded (r:1 w:1) - // Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking Rewards (r:1 w:1) - // Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) - // Storage: ParachainStaking Unstaking (r:1 w:1) - // Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - // Storage: ParachainStaking TopCandidates (r:1 w:1) - // Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen) - // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) - // Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `2952 + m * (71 ±0) + n * (67 ±0)` + // Estimated: `5255` + // Minimum execution time: 63_204_000 picoseconds. + Weight::from_parts(44_368_729, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 9_781 + .saturating_add(Weight::from_parts(499_198, 0).saturating_mul(n.into())) + // Standard Error: 21_738 + .saturating_add(Weight::from_parts(969_173, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(10)) + .saturating_add(T::DbWeight::get().writes(7)) + } + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:1) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopCandidates` (r:1 w:1) + /// Proof: `ParachainStaking::TopCandidates` (`max_values`: Some(1), `max_size`: Some(3602), added: 4097, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 75]`. + /// The range of component `m` is `[1, 34]`. fn leave_delegators(n: u32, m: u32, ) -> Weight { - Weight::from_parts(62_004_177 as u64, 0) - // Standard Error: 10_361 - .saturating_add(Weight::from_parts(490_342 as u64, 0).saturating_mul(n as u64)) - // Standard Error: 23_027 - .saturating_add(Weight::from_parts(900_182 as u64, 0).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) - } - // Storage: ParachainStaking Unstaking (r:1 w:1) - // Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen) - // Storage: Balances Locks (r:1 w:1) - // Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) - fn unlock_unstaked(_u: u32, ) -> Weight { - Weight::from_parts(40_259_781 as u64, 0) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) - } - // Storage: ParachainStaking MaxCollatorCandidateStake (r:0 w:1) - // Proof: ParachainStaking MaxCollatorCandidateStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `2952 + m * (71 ±0) + n * (67 ±0)` + // Estimated: `5255` + // Minimum execution time: 66_125_000 picoseconds. + Weight::from_parts(48_681_139, 0) + .saturating_add(Weight::from_parts(0, 5255)) + // Standard Error: 10_044 + .saturating_add(Weight::from_parts(505_667, 0).saturating_mul(n.into())) + // Standard Error: 22_324 + .saturating_add(Weight::from_parts(952_149, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(10)) + .saturating_add(T::DbWeight::get().writes(7)) + } + /// Storage: `ParachainStaking::Unstaking` (r:1 w:1) + /// Proof: `ParachainStaking::Unstaking` (`max_values`: None, `max_size`: Some(281), added: 2756, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:1) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:0) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// The range of component `u` is `[1, 9]`. + fn unlock_unstaked(u: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `709 + u * (24 ±0)` + // Estimated: `4764` + // Minimum execution time: 35_283_000 picoseconds. + Weight::from_parts(36_001_785, 0) + .saturating_add(Weight::from_parts(0, 4764)) + // Standard Error: 3_530 + .saturating_add(Weight::from_parts(102_645, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `ParachainStaking::MaxCollatorCandidateStake` (r:0 w:1) + /// Proof: `ParachainStaking::MaxCollatorCandidateStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn set_max_candidate_stake() -> Weight { - Weight::from_parts(9_402_000 as u64, 0) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: ParachainStaking DelegatorState (r:1 w:0) - // Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksAuthored (r:1 w:0) - // Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksRewarded (r:1 w:1) - // Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking Rewards (r:1 w:1) - // Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:0) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_833_000 picoseconds. + Weight::from_parts(6_149_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:0) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) fn increment_delegator_rewards() -> Weight { - Weight::from_parts(40_524_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: ParachainStaking CandidatePool (r:1 w:0) - // Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksAuthored (r:1 w:0) - // Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking BlocksRewarded (r:1 w:1) - // Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - // Storage: ParachainStaking Rewards (r:1 w:1) - // Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: ParachainStaking TotalCollatorStake (r:1 w:0) - // Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - // Storage: ParachainStaking InflationConfig (r:1 w:0) - // Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `676` + // Estimated: `3553` + // Minimum execution time: 25_650_000 picoseconds. + Weight::from_parts(26_108_000, 0) + .saturating_add(Weight::from_parts(0, 3553)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:0) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: None, `max_size`: Some(1790), added: 4265, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksAuthored` (r:1 w:0) + /// Proof: `ParachainStaking::BlocksAuthored` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::BlocksRewarded` (r:1 w:1) + /// Proof: `ParachainStaking::BlocksRewarded` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TotalCollatorStake` (r:1 w:0) + /// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: Some(96), added: 591, mode: `MaxEncodedLen`) fn increment_collator_rewards() -> Weight { - Weight::from_parts(24_257_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: ParachainStaking Rewards (r:1 w:1) - // Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) - // Storage: System Account (r:1 w:1) - // Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen) + // Proof Size summary in bytes: + // Measured: `590` + // Estimated: `5255` + // Minimum execution time: 22_005_000 picoseconds. + Weight::from_parts(22_553_000, 0) + .saturating_add(Weight::from_parts(0, 5255)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `ParachainStaking::Rewards` (r:1 w:1) + /// Proof: `ParachainStaking::Rewards` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { - Weight::from_parts(48_168_000 as u64, 0) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `516` + // Estimated: `3597` + // Minimum execution time: 26_248_000 picoseconds. + Weight::from_parts(26_792_000, 0) + .saturating_add(Weight::from_parts(0, 3597)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `ParachainStaking::CounterForCandidatePool` (r:1 w:0) /// Proof: `ParachainStaking::CounterForCandidatePool` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -553,14 +706,14 @@ impl parachain_staking::WeightInfo for WeightInfo { fn execute_scheduled_reward_change(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (7573 ±0) + n * (3647 ±0)` - // Estimated: `183222 + m * (64823 ±2_167) + n * (31965 ±1_009)` - // Minimum execution time: 683_160_000 picoseconds. - Weight::from_parts(687_351_000, 0) + // Estimated: `183222 + m * (64823 ±2_174) + n * (31965 ±1_012)` + // Minimum execution time: 655_558_000 picoseconds. + Weight::from_parts(660_021_000, 0) .saturating_add(Weight::from_parts(0, 183222)) - // Standard Error: 4_643_820 - .saturating_add(Weight::from_parts(141_740_256, 0).saturating_mul(n.into())) - // Standard Error: 9_970_180 - .saturating_add(Weight::from_parts(280_674_034, 0).saturating_mul(m.into())) + // Standard Error: 4_488_111 + .saturating_add(Weight::from_parts(136_925_724, 0).saturating_mul(n.into())) + // Standard Error: 9_635_876 + .saturating_add(Weight::from_parts(269_787_286, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(153)) .saturating_add(T::DbWeight::get().reads((27_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((51_u64).saturating_mul(m.into()))) @@ -583,7 +736,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 515 + > 1505 ); } #[test] @@ -595,7 +748,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 515 + > 1505 ); } #[test] @@ -607,7 +760,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 4723 + > 3597 ); } #[test] @@ -631,7 +784,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 5168 + > 5255 ); } #[test] @@ -643,7 +796,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 515 + > 1505 ); } #[test] @@ -655,7 +808,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 116721 + > 73495 ); } #[test] @@ -667,7 +820,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 22098 + > 5255 ); } #[test] @@ -679,7 +832,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 78143 + > 73495 ); } #[test] @@ -691,7 +844,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 13653 + > 9520 ); } #[test] @@ -703,7 +856,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 25299 + > 5255 ); } #[test] @@ -715,7 +868,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 27204 + > 5255 ); } #[test] @@ -727,7 +880,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 20312 + > 5255 ); } #[test] @@ -739,7 +892,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 30914 + > 9520 ); } #[test] @@ -751,7 +904,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 29256 + > 5255 ); } #[test] @@ -763,7 +916,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 22875 + > 5255 ); } #[test] @@ -775,7 +928,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 22875 + > 5255 ); } #[test] @@ -787,7 +940,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 9137 + > 4764 ); } #[test] @@ -799,7 +952,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 11258 + > 3553 ); } #[test] @@ -811,7 +964,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 12960 + > 5255 ); } #[test] @@ -823,7 +976,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 5138 + > 3597 ); } #[test] diff --git a/runtimes/spiritnet/src/weights/public_credentials.rs b/runtimes/spiritnet/src/weights/public_credentials.rs index 2dc07c6071..ffaaae23d6 100644 --- a/runtimes/spiritnet/src/weights/public_credentials.rs +++ b/runtimes/spiritnet/src/weights/public_credentials.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `public_credentials` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-06-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 @@ -28,16 +28,13 @@ // ./target/release/kilt-parachain // benchmark // pallet -// --template=.maintain/runtime-weight-template.hbs -// --header=HEADER-GPL -// --wasm-execution=compiled // --heap-pages=4096 -// --steps=50 -// --repeat=20 // --chain=spiritnet-dev // --pallet=public-credentials // --extrinsic=* -// --output=./runtimes/spiritnet/src/weights/public_credentials.rs +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_imports)] @@ -56,7 +53,7 @@ impl public_credentials::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) /// Storage: `PublicCredentials::CredentialSubjects` (r:0 w:1) /// Proof: `PublicCredentials::CredentialSubjects` (`max_values`: None, `max_size`: Some(312), added: 2787, mode: `MaxEncodedLen`) /// Storage: `Migration::MigratedKeys` (r:0 w:1) @@ -66,11 +63,11 @@ impl public_credentials::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `363` // Estimated: `3940` - // Minimum execution time: 64_264_000 picoseconds. - Weight::from_parts(60_245_133, 0) + // Minimum execution time: 64_797_000 picoseconds. + Weight::from_parts(61_414_573, 0) .saturating_add(Weight::from_parts(0, 3940)) - // Standard Error: 7 - .saturating_add(Weight::from_parts(2_343, 0).saturating_mul(c.into())) + // Standard Error: 6 + .saturating_add(Weight::from_parts(2_608, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -82,8 +79,8 @@ impl public_credentials::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `919` // Estimated: `3940` - // Minimum execution time: 24_018_000 picoseconds. - Weight::from_parts(24_346_000, 0) + // Minimum execution time: 24_757_000 picoseconds. + Weight::from_parts(25_066_000, 0) .saturating_add(Weight::from_parts(0, 3940)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -96,8 +93,8 @@ impl public_credentials::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `919` // Estimated: `3940` - // Minimum execution time: 23_516_000 picoseconds. - Weight::from_parts(23_733_000, 0) + // Minimum execution time: 24_024_000 picoseconds. + Weight::from_parts(24_475_000, 0) .saturating_add(Weight::from_parts(0, 3940)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -111,13 +108,13 @@ impl public_credentials::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn remove() -> Weight { // Proof Size summary in bytes: // Measured: `1160` // Estimated: `3940` - // Minimum execution time: 61_552_000 picoseconds. - Weight::from_parts(62_254_000, 0) + // Minimum execution time: 62_015_000 picoseconds. + Weight::from_parts(62_686_000, 0) .saturating_add(Weight::from_parts(0, 3940)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -131,13 +128,13 @@ impl public_credentials::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn reclaim_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `1160` // Estimated: `3940` - // Minimum execution time: 61_540_000 picoseconds. - Weight::from_parts(62_236_000, 0) + // Minimum execution time: 62_142_000 picoseconds. + Weight::from_parts(62_778_000, 0) .saturating_add(Weight::from_parts(0, 3940)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -151,14 +148,14 @@ impl public_credentials::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn change_deposit_owner() -> Weight { // Proof Size summary in bytes: // Measured: `1265` - // Estimated: `6326` - // Minimum execution time: 97_534_000 picoseconds. - Weight::from_parts(98_223_000, 0) - .saturating_add(Weight::from_parts(0, 6326)) + // Estimated: `6578` + // Minimum execution time: 101_678_000 picoseconds. + Weight::from_parts(102_345_000, 0) + .saturating_add(Weight::from_parts(0, 6578)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -171,13 +168,13 @@ impl public_credentials::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(319), added: 2794, mode: `MaxEncodedLen`) fn update_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `1084` // Estimated: `3940` - // Minimum execution time: 84_048_000 picoseconds. - Weight::from_parts(84_586_000, 0) + // Minimum execution time: 84_141_000 picoseconds. + Weight::from_parts(84_973_000, 0) .saturating_add(Weight::from_parts(0, 3940)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -255,7 +252,7 @@ mod tests { .max_extrinsic .unwrap_or_else(::max_value) .proof_size() - > 6326 + > 6578 ); } #[test]