From bd6303cd1150dce17c4362f514dd8d0a3df7500d Mon Sep 17 00:00:00 2001 From: Juan Ignacio Rios <54085674+JuaniRios@users.noreply.github.com> Date: Tue, 3 Sep 2024 16:25:35 +0200 Subject: [PATCH] runtime-benchmarks (#384) --- justfile | 49 +- runtimes/polimec/src/lib.rs | 4 +- .../cumulus_pallet_parachain_system.rs | 25 +- .../src/weights/cumulus_pallet_xcmp_queue.rs | 75 ++- runtimes/polimec/src/weights/frame_system.rs | 79 ++- runtimes/polimec/src/weights/pallet_assets.rs | 479 +++++++++--------- .../polimec/src/weights/pallet_balances.rs | 105 ++-- .../polimec/src/weights/pallet_collective.rs | 143 +++--- .../polimec/src/weights/pallet_democracy.rs | 187 ++++--- .../polimec/src/weights/pallet_dispenser.rs | 25 +- .../src/weights/pallet_elections_phragmen.rs | 143 +++--- .../polimec/src/weights/pallet_funding.rs | 181 ++++--- .../polimec/src/weights/pallet_identity.rs | 225 ++++---- .../src/weights/pallet_linear_release.rs | 255 ++++++++++ .../src/weights/pallet_message_queue.rs | 57 +-- .../polimec/src/weights/pallet_multisig.rs | 79 ++- .../src/weights/pallet_parachain_staking.rs | 455 +++++++++-------- .../polimec/src/weights/pallet_preimage.rs | 107 ++-- runtimes/polimec/src/weights/pallet_proxy.rs | 105 ++-- .../polimec/src/weights/pallet_scheduler.rs | 177 +++++-- .../polimec/src/weights/pallet_session.rs | 37 +- .../polimec/src/weights/pallet_timestamp.rs | 27 +- .../polimec/src/weights/pallet_treasury.rs | 65 ++- .../polimec/src/weights/pallet_utility.rs | 49 +- .../polimec/src/weights/pallet_vesting.rs | 143 +++--- runtimes/polimec/src/weights/pallet_xcm.rs | 261 ++++++++++ 26 files changed, 2075 insertions(+), 1462 deletions(-) create mode 100644 runtimes/polimec/src/weights/pallet_linear_release.rs create mode 100644 runtimes/polimec/src/weights/pallet_xcm.rs diff --git a/justfile b/justfile index 8c45bf550..5053c3413 100644 --- a/justfile +++ b/justfile @@ -41,19 +41,42 @@ dry-run-benchmarks mode="fast-mode" pallet="*" extrinsic="*" : --heap-pages=4096 done -# src: https://github.com/polkadot-fellows/runtimes/blob/48ccfae6141d2924f579d81e8b1877efd208693f/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs -# Benchmark a specific pallet on the "Polimec" Runtime -# Use mode="production" to generate production weights. -benchmark-runtime chain="polimec-paseo-local" pallet="pallet-elections-phragmen" mode="release": - cargo run --features runtime-benchmarks --profile {{mode}} -p polimec-node benchmark pallet \ - --chain={{ chain }} \ - --steps=50 \ - --repeat=20 \ - --pallet={{ pallet }} \ - --extrinsic=* \ - --wasm-execution=compiled \ - --heap-pages=4096 \ - --output=runtimes/polimec/src/weights/{{ replace(pallet, "-", "_") }}.rs +benchmark-runtime: + #!/bin/bash + steps=${4:-50} + repeat=${5:-20} + + weightsDir=./runtimes/polimec/src/weights + chainSpec="polimec-paseo-local" + benchmarkCommand="./target/production/polimec-node benchmark pallet" + + + cargo run --features runtime-benchmarks --profile=production -p polimec-node benchmark pallet + # Load all pallet names in an array. + pallets=($( + ${benchmarkCommand} --list --chain=${chainSpec} |\ + tail -n+2 |\ + cut -d',' -f1 |\ + sort |\ + uniq + )) + + echo "[+] Benchmarking ${#pallets[@]} pallets" + + for pallet in ${pallets[@]} + do + output_pallet=$(echo $pallet | tr '-' '_') + echo $output_pallet + ${benchmarkCommand} \ + --chain=${chainSpec} \ + --wasm-execution=compiled \ + --pallet=$pallet \ + --extrinsic='*' \ + --steps=$steps \ + --repeat=$repeat \ + --output=$weightsDir/$output_pallet.rs + + done # src: https://github.com/paritytech/polkadot-sdk/blob/bc2e5e1fe26e2c2c8ee766ff9fe7be7e212a0c62/substrate/frame/nfts/src/weights.rs # Run the Runtime benchmarks for a specific pallet diff --git a/runtimes/polimec/src/lib.rs b/runtimes/polimec/src/lib.rs index 7a701ab37..6d57a77ed 100644 --- a/runtimes/polimec/src/lib.rs +++ b/runtimes/polimec/src/lib.rs @@ -1488,8 +1488,8 @@ impl_runtime_apis! { use cumulus_pallet_session_benchmarking::Pallet as SessionBench; use xcm::latest::prelude::*; - /// TODO: Update these benchmarks once we enable PLMC Teleportation and upgrade pallet_xcm. New version has - /// a better and quite different trait + // TODO: Update these benchmarks once we enable PLMC Teleportation and upgrade pallet_xcm. New version has + // a better and quite different trait parameter_types! { pub ExistentialDepositAsset: Option = Some(( xcm_config::HereLocation::get(), diff --git a/runtimes/polimec/src/weights/cumulus_pallet_parachain_system.rs b/runtimes/polimec/src/weights/cumulus_pallet_parachain_system.rs index a4a264aa9..27c966f76 100644 --- a/runtimes/polimec/src/weights/cumulus_pallet_parachain_system.rs +++ b/runtimes/polimec/src/weights/cumulus_pallet_parachain_system.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `cumulus_pallet_parachain_system` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-local")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: // ./target/production/polimec-node // benchmark // pallet -// --chain=polimec-local -// --steps=50 -// --repeat=20 +// --chain=polimec-paseo-local +// --wasm-execution=compiled // --pallet=cumulus_pallet_parachain_system // --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/cumulus_pallet_parachain_system.rs +// --steps=50 +// --repeat=20 +// --output=./runtimes/polimec/src/weights/cumulus_pallet_parachain_system.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -46,11 +45,11 @@ impl cumulus_pallet_parachain_system::WeightInfo for We // Proof Size summary in bytes: // Measured: `12` // Estimated: `3517` - // Minimum execution time: 2_060_000 picoseconds. - Weight::from_parts(2_150_000, 0) + // Minimum execution time: 1_990_000 picoseconds. + Weight::from_parts(2_090_000, 0) .saturating_add(Weight::from_parts(0, 3517)) - // Standard Error: 19_164 - .saturating_add(Weight::from_parts(169_295_388, 0).saturating_mul(n.into())) + // Standard Error: 21_455 + .saturating_add(Weight::from_parts(187_017_461, 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/polimec/src/weights/cumulus_pallet_xcmp_queue.rs b/runtimes/polimec/src/weights/cumulus_pallet_xcmp_queue.rs index e955bd4eb..bfa47e957 100644 --- a/runtimes/polimec/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtimes/polimec/src/weights/cumulus_pallet_xcmp_queue.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-local")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: // ./target/production/polimec-node // benchmark // pallet -// --chain=polimec-local -// --steps=50 -// --repeat=20 +// --chain=polimec-paseo-local +// --wasm-execution=compiled // --pallet=cumulus_pallet_xcmp_queue // --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/cumulus_pallet_xcmp_queue.rs +// --steps=50 +// --repeat=20 +// --output=./runtimes/polimec/src/weights/cumulus_pallet_xcmp_queue.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -32,58 +31,58 @@ use core::marker::PhantomData; pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) - /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 4_040_000 picoseconds. - Weight::from_parts(4_200_000, 0) - .saturating_add(Weight::from_parts(0, 1594)) + // Estimated: `1497` + // Minimum execution time: 3_850_000 picoseconds. + Weight::from_parts(4_090_000, 0) + .saturating_add(Weight::from_parts(0, 1497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) - /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) - /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn enqueue_xcmp_message() -> Weight { // Proof Size summary in bytes: // Measured: `115` - // Estimated: `3517` - // Minimum execution time: 10_010_000 picoseconds. - Weight::from_parts(10_320_000, 0) - .saturating_add(Weight::from_parts(0, 3517)) + // Estimated: `5487` + // Minimum execution time: 9_630_000 picoseconds. + Weight::from_parts(10_170_000, 0) + .saturating_add(Weight::from_parts(0, 5487)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) fn suspend_channel() -> Weight { // Proof Size summary in bytes: // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 2_800_000 picoseconds. - Weight::from_parts(2_900_000, 0) - .saturating_add(Weight::from_parts(0, 1594)) + // Estimated: `2767` + // Minimum execution time: 2_780_000 picoseconds. + Weight::from_parts(3_020_000, 0) + .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) fn resume_channel() -> Weight { // Proof Size summary in bytes: // Measured: `144` - // Estimated: `1629` - // Minimum execution time: 3_750_000 picoseconds. - Weight::from_parts(3_980_000, 0) - .saturating_add(Weight::from_parts(0, 1629)) + // Estimated: `2767` + // Minimum execution time: 3_560_000 picoseconds. + Weight::from_parts(3_850_000, 0) + .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -91,8 +90,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 60_200_000 picoseconds. - Weight::from_parts(60_431_000, 0) + // Minimum execution time: 5_560_000 picoseconds. + Weight::from_parts(5_690_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -104,17 +103,17 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) - /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) - /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn on_idle_good_msg() -> Weight { // Proof Size summary in bytes: // Measured: `65744` // Estimated: `69209` - // Minimum execution time: 96_810_000 picoseconds. - Weight::from_parts(102_230_000, 0) + // Minimum execution time: 100_270_000 picoseconds. + Weight::from_parts(103_031_000, 0) .saturating_add(Weight::from_parts(0, 69209)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) @@ -127,8 +126,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65743` // Estimated: `69208` - // Minimum execution time: 43_200_000 picoseconds. - Weight::from_parts(44_860_000, 0) + // Minimum execution time: 38_800_000 picoseconds. + Weight::from_parts(41_200_000, 0) .saturating_add(Weight::from_parts(0, 69208)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtimes/polimec/src/weights/frame_system.rs b/runtimes/polimec/src/weights/frame_system.rs index 05bf49897..16ea33737 100644 --- a/runtimes/polimec/src/weights/frame_system.rs +++ b/runtimes/polimec/src/weights/frame_system.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `frame_system` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-local")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: -// target/production/polimec-node +// ./target/production/polimec-node // benchmark // pallet -// --chain=polimec-local -// --steps=50 -// --repeat=20 +// --chain=polimec-paseo-local +// --wasm-execution=compiled // --pallet=frame_system // --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/frame_system.rs +// --steps=50 +// --repeat=20 +// --output=./runtimes/polimec/src/weights/frame_system.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -36,22 +35,22 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_400_000 picoseconds. - Weight::from_parts(1_612_851, 0) + // Minimum execution time: 1_250_000 picoseconds. + Weight::from_parts(1_338_856, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(340, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(272, 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: 4_020_000 picoseconds. - Weight::from_parts(125_192_803, 0) + // Minimum execution time: 3_360_000 picoseconds. + Weight::from_parts(207_216_931, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 8 - .saturating_add(Weight::from_parts(1_353, 0).saturating_mul(b.into())) + // Standard Error: 12 + .saturating_add(Weight::from_parts(1_360, 0).saturating_mul(b.into())) } /// Storage: `System::Digest` (r:1 w:1) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -61,8 +60,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 2_470_000 picoseconds. - Weight::from_parts(2_710_000, 0) + // Minimum execution time: 2_050_000 picoseconds. + Weight::from_parts(2_240_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -83,8 +82,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127` // Estimated: `1612` - // Minimum execution time: 72_080_087_000 picoseconds. - Weight::from_parts(74_193_521_000, 0) + // Minimum execution time: 67_639_391_000 picoseconds. + Weight::from_parts(70_164_442_000, 0) .saturating_add(Weight::from_parts(0, 1612)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -96,11 +95,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_470_000 picoseconds. - Weight::from_parts(1_540_000, 0) + // Minimum execution time: 1_200_000 picoseconds. + Weight::from_parts(1_280_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_622 - .saturating_add(Weight::from_parts(665_963, 0).saturating_mul(i.into())) + // Standard Error: 1_875 + .saturating_add(Weight::from_parts(636_849, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -110,11 +109,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_490_000 picoseconds. - Weight::from_parts(1_590_000, 0) + // Minimum execution time: 1_270_000 picoseconds. + Weight::from_parts(1_310_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 730 - .saturating_add(Weight::from_parts(487_869, 0).saturating_mul(i.into())) + // Standard Error: 806 + .saturating_add(Weight::from_parts(480_182, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -122,13 +121,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: `60 + p * (69 ±0)` - // Estimated: `72 + p * (70 ±0)` - // Minimum execution time: 3_040_000 picoseconds. - Weight::from_parts(3_110_000, 0) - .saturating_add(Weight::from_parts(0, 72)) - // Standard Error: 1_208 - .saturating_add(Weight::from_parts(980_429, 0).saturating_mul(p.into())) + // Measured: `61 + p * (69 ±0)` + // Estimated: `74 + p * (70 ±0)` + // Minimum execution time: 2_670_000 picoseconds. + Weight::from_parts(2_840_000, 0) + .saturating_add(Weight::from_parts(0, 74)) + // Standard Error: 1_132 + .saturating_add(Weight::from_parts(993_136, 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())) @@ -139,8 +138,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_360_000 picoseconds. - Weight::from_parts(7_680_000, 0) + // Minimum execution time: 5_780_000 picoseconds. + Weight::from_parts(6_430_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -162,8 +161,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `149` // Estimated: `1634` - // Minimum execution time: 75_063_801_000 picoseconds. - Weight::from_parts(76_424_683_000, 0) + // Minimum execution time: 72_037_811_000 picoseconds. + Weight::from_parts(73_116_456_000, 0) .saturating_add(Weight::from_parts(0, 1634)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/runtimes/polimec/src/weights/pallet_assets.rs b/runtimes/polimec/src/weights/pallet_assets.rs index 4f6d5de37..154755bdb 100644 --- a/runtimes/polimec/src/weights/pallet_assets.rs +++ b/runtimes/polimec/src/weights/pallet_assets.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `pallet_assets` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-local")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: // ./target/production/polimec-node // benchmark // pallet -// --chain=polimec-local -// --steps=50 -// --repeat=20 +// --chain=polimec-paseo-local +// --wasm-execution=compiled // --pallet=pallet_assets // --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/pallet_assets.rs +// --steps=50 +// --repeat=20 +// --output=./runtimes/polimec/src/weights/pallet_assets.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -31,476 +30,478 @@ use core::marker::PhantomData; /// Weight functions for `pallet_assets`. pub struct WeightInfo(PhantomData); impl pallet_assets::WeightInfo for WeightInfo { - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `107` + // Measured: `249` // Estimated: `3675` - // Minimum execution time: 18_940_000 picoseconds. - Weight::from_parts(19_440_000, 0) + // Minimum execution time: 18_850_000 picoseconds. + Weight::from_parts(19_810_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: - // Measured: `4` + // Measured: `109` // Estimated: `3675` - // Minimum execution time: 7_430_000 picoseconds. - Weight::from_parts(7_670_000, 0) + // Minimum execution time: 6_820_000 picoseconds. + Weight::from_parts(7_200_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) fn start_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `276` + // Measured: `381` // Estimated: `3675` - // Minimum execution time: 7_670_000 picoseconds. - Weight::from_parts(7_800_000, 0) + // Minimum execution time: 7_390_000 picoseconds. + Weight::from_parts(7_760_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Account` (r:1001 w:1000) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Account` (r:1001 w:1000) + /// Proof: `ContributionTokens::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1000 w:1000) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. + /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + c * (208 ±0)` + // Measured: `23 + c * (208 ±0)` // Estimated: `3675 + c * (2609 ±0)` - // Minimum execution time: 10_780_000 picoseconds. - Weight::from_parts(11_050_000, 0) + // Minimum execution time: 10_620_000 picoseconds. + Weight::from_parts(10_850_000, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 7_167 - .saturating_add(Weight::from_parts(11_201_322, 0).saturating_mul(c.into())) + // Standard Error: 4_583 + .saturating_add(Weight::from_parts(10_865_148, 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)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2609).saturating_mul(c.into())) } - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Approvals` (r:1001 w:1000) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Approvals` (r:1001 w:1000) + /// Proof: `ContributionTokens::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 1000]`. /// The range of component `a` is `[0, 1000]`. fn destroy_approvals(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `413 + a * (86 ±0)` + // Measured: `518 + a * (86 ±0)` // Estimated: `3675 + a * (2623 ±0)` - // Minimum execution time: 10_470_000 picoseconds. - Weight::from_parts(10_850_000, 0) + // Minimum execution time: 10_310_000 picoseconds. + Weight::from_parts(10_630_000, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 4_860 - .saturating_add(Weight::from_parts(12_382_742, 0).saturating_mul(a.into())) + // Standard Error: 3_437 + .saturating_add(Weight::from_parts(12_957_654, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) .saturating_add(Weight::from_parts(0, 2623).saturating_mul(a.into())) } - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Metadata` (r:1 w:0) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Metadata` (r:1 w:0) + /// Proof: `ContributionTokens::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `242` + // Measured: `347` // Estimated: `3675` - // Minimum execution time: 9_380_000 picoseconds. - Weight::from_parts(9_710_000, 0) + // Minimum execution time: 9_100_000 picoseconds. + Weight::from_parts(9_420_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Account` (r:1 w:1) + /// Proof: `ContributionTokens::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) fn mint() -> Weight { // Proof Size summary in bytes: - // Measured: `242` + // Measured: `347` // Estimated: `3675` - // Minimum execution time: 16_640_000 picoseconds. - Weight::from_parts(17_020_000, 0) + // Minimum execution time: 15_890_000 picoseconds. + Weight::from_parts(16_480_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Account` (r:1 w:1) + /// Proof: `ContributionTokens::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: - // Measured: `350` + // Measured: `455` // Estimated: `3675` - // Minimum execution time: 22_120_000 picoseconds. - Weight::from_parts(22_540_000, 0) + // Minimum execution time: 21_450_000 picoseconds. + Weight::from_parts(21_980_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Account` (r:2 w:2) + /// Proof: `ContributionTokens::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `402` + // Measured: `507` // Estimated: `6208` - // Minimum execution time: 31_290_000 picoseconds. - Weight::from_parts(32_080_000, 0) + // Minimum execution time: 30_120_000 picoseconds. + Weight::from_parts(30_870_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Account` (r:2 w:2) + /// Proof: `ContributionTokens::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `402` + // Measured: `507` // Estimated: `6208` - // Minimum execution time: 27_820_000 picoseconds. - Weight::from_parts(28_460_000, 0) + // Minimum execution time: 26_831_000 picoseconds. + Weight::from_parts(27_800_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Account` (r:2 w:2) + /// Proof: `ContributionTokens::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `402` + // Measured: `507` // Estimated: `6208` - // Minimum execution time: 31_690_000 picoseconds. - Weight::from_parts(32_420_000, 0) + // Minimum execution time: 30_110_000 picoseconds. + Weight::from_parts(31_161_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:0) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Account` (r:1 w:1) + /// Proof: `ContributionTokens::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: - // Measured: `350` + // Measured: `455` // Estimated: `3675` - // Minimum execution time: 11_060_000 picoseconds. - Weight::from_parts(11_300_000, 0) + // Minimum execution time: 10_510_000 picoseconds. + Weight::from_parts(11_080_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:0) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Account` (r:1 w:1) + /// Proof: `ContributionTokens::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: - // Measured: `350` + // Measured: `455` // Estimated: `3675` - // Minimum execution time: 10_950_000 picoseconds. - Weight::from_parts(11_350_000, 0) + // Minimum execution time: 10_750_000 picoseconds. + Weight::from_parts(11_190_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) fn freeze_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `276` + // Measured: `381` // Estimated: `3675` - // Minimum execution time: 7_440_000 picoseconds. - Weight::from_parts(7_650_000, 0) + // Minimum execution time: 7_300_000 picoseconds. + Weight::from_parts(7_530_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) fn thaw_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `276` + // Measured: `381` // Estimated: `3675` - // Minimum execution time: 7_470_000 picoseconds. - Weight::from_parts(7_760_000, 0) + // Minimum execution time: 7_270_000 picoseconds. + Weight::from_parts(7_570_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Metadata` (r:1 w:0) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Metadata` (r:1 w:0) + /// Proof: `ContributionTokens::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: - // Measured: `242` + // Measured: `347` // Estimated: `3675` - // Minimum execution time: 9_870_000 picoseconds. - Weight::from_parts(10_050_000, 0) + // Minimum execution time: 9_530_000 picoseconds. + Weight::from_parts(9_800_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: - // Measured: `242` + // Measured: `347` // Estimated: `3675` - // Minimum execution time: 8_260_000 picoseconds. - Weight::from_parts(8_460_000, 0) + // Minimum execution time: 7_970_000 picoseconds. + Weight::from_parts(8_380_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:0) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Metadata` (r:1 w:1) + /// Proof: `ContributionTokens::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]`. /// 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: `242` + // Measured: `347` // Estimated: `3675` - // Minimum execution time: 18_570_000 picoseconds. - Weight::from_parts(19_479_246, 0) + // Minimum execution time: 9_080_000 picoseconds. + Weight::from_parts(9_630_686, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 413 - .saturating_add(Weight::from_parts(1_743, 0).saturating_mul(n.into())) - // Standard Error: 413 - .saturating_add(Weight::from_parts(1_311, 0).saturating_mul(s.into())) + // Standard Error: 196 + .saturating_add(Weight::from_parts(956, 0).saturating_mul(n.into())) + // Standard Error: 196 + .saturating_add(Weight::from_parts(1_256, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:0) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Metadata` (r:1 w:1) + /// Proof: `ContributionTokens::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `406` + // Measured: `511` // Estimated: `3675` - // Minimum execution time: 19_760_000 picoseconds. - Weight::from_parts(20_250_000, 0) + // Minimum execution time: 9_920_000 picoseconds. + Weight::from_parts(10_310_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:0) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Metadata` (r:1 w:1) + /// Proof: `ContributionTokens::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]`. /// 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: `81` + // Measured: `186` // Estimated: `3675` - // Minimum execution time: 8_900_000 picoseconds. - Weight::from_parts(9_403_860, 0) + // Minimum execution time: 8_540_000 picoseconds. + Weight::from_parts(9_136_915, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 245 - .saturating_add(Weight::from_parts(478, 0).saturating_mul(n.into())) - // Standard Error: 245 - .saturating_add(Weight::from_parts(344, 0).saturating_mul(s.into())) + // Standard Error: 163 + .saturating_add(Weight::from_parts(609, 0).saturating_mul(n.into())) + // Standard Error: 163 + .saturating_add(Weight::from_parts(805, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Metadata` (r:1 w:1) - /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:0) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Metadata` (r:1 w:1) + /// Proof: `ContributionTokens::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `406` + // Measured: `511` // Estimated: `3675` - // Minimum execution time: 19_320_000 picoseconds. - Weight::from_parts(20_060_000, 0) + // Minimum execution time: 9_500_000 picoseconds. + Weight::from_parts(9_940_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) fn force_asset_status() -> Weight { // Proof Size summary in bytes: - // Measured: `242` + // Measured: `347` // Estimated: `3675` - // Minimum execution time: 7_950_000 picoseconds. - Weight::from_parts(8_240_000, 0) + // Minimum execution time: 7_640_000 picoseconds. + Weight::from_parts(7_940_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Approvals` (r:1 w:1) + /// Proof: `ContributionTokens::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `276` + // Measured: `381` // Estimated: `3675` - // Minimum execution time: 21_880_000 picoseconds. - Weight::from_parts(22_620_000, 0) + // Minimum execution time: 21_750_000 picoseconds. + Weight::from_parts(22_490_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Approvals` (r:1 w:1) + /// Proof: `ContributionTokens::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Account` (r:2 w:2) + /// Proof: `ContributionTokens::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_approved() -> Weight { // Proof Size summary in bytes: - // Measured: `572` + // Measured: `677` // Estimated: `6208` - // Minimum execution time: 47_100_000 picoseconds. - Weight::from_parts(47_720_000, 0) + // Minimum execution time: 45_330_000 picoseconds. + Weight::from_parts(46_050_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Approvals` (r:1 w:1) + /// Proof: `ContributionTokens::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `446` + // Measured: `551` // Estimated: `3675` - // Minimum execution time: 23_380_000 picoseconds. - Weight::from_parts(23_950_000, 0) + // Minimum execution time: 22_700_000 picoseconds. + Weight::from_parts(23_400_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Approvals` (r:1 w:1) - /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Approvals` (r:1 w:1) + /// Proof: `ContributionTokens::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`) fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `446` + // Measured: `551` // Estimated: `3675` - // Minimum execution time: 23_900_000 picoseconds. - Weight::from_parts(24_590_000, 0) + // Minimum execution time: 22_920_000 picoseconds. + Weight::from_parts(23_641_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) fn set_min_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `242` + // Measured: `347` // Estimated: `3675` - // Minimum execution time: 8_730_000 picoseconds. - Weight::from_parts(8_920_000, 0) + // Minimum execution time: 8_710_000 picoseconds. + Weight::from_parts(8_980_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Account` (r:1 w:1) + /// Proof: `ContributionTokens::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: - // Measured: `345` + // Measured: `347` // Estimated: `3675` - // Minimum execution time: 23_430_000 picoseconds. - Weight::from_parts(23_850_000, 0) + // Minimum execution time: 12_460_000 picoseconds. + Weight::from_parts(12_940_000, 0) .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Account` (r:1 w:1) + /// Proof: `ContributionTokens::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) fn touch_other() -> Weight { // Proof Size summary in bytes: - // Measured: `242` + // Measured: `347` // Estimated: `3675` - // Minimum execution time: 21_270_000 picoseconds. - Weight::from_parts(22_040_000, 0) + // Minimum execution time: 11_480_000 picoseconds. + Weight::from_parts(12_080_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Account` (r:1 w:1) + /// Proof: `ContributionTokens::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: - // Measured: `471` + // Measured: `473` // Estimated: `3675` - // Minimum execution time: 22_850_000 picoseconds. - Weight::from_parts(23_360_000, 0) + // Minimum execution time: 11_910_000 picoseconds. + Weight::from_parts(12_390_000, 0) .saturating_add(Weight::from_parts(0, 3675)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Account` (r:1 w:1) + /// Proof: `ContributionTokens::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:1) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) fn refund_other() -> Weight { // Proof Size summary in bytes: - // Measured: `401` + // Measured: `506` // Estimated: `3675` - // Minimum execution time: 20_980_000 picoseconds. - Weight::from_parts(21_420_000, 0) + // Minimum execution time: 11_160_000 picoseconds. + Weight::from_parts(11_570_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `ForeignAssets::Asset` (r:1 w:0) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Account` (r:1 w:1) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Asset` (r:1 w:0) + /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `ContributionTokens::Account` (r:1 w:1) + /// Proof: `ContributionTokens::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) fn block() -> Weight { // Proof Size summary in bytes: - // Measured: `350` + // Measured: `455` // Estimated: `3675` - // Minimum execution time: 11_050_000 picoseconds. - Weight::from_parts(11_290_000, 0) + // Minimum execution time: 10_560_000 picoseconds. + Weight::from_parts(10_920_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/polimec/src/weights/pallet_balances.rs b/runtimes/polimec/src/weights/pallet_balances.rs index c0f7555a2..7b5c11d5d 100644 --- a/runtimes/polimec/src/weights/pallet_balances.rs +++ b/runtimes/polimec/src/weights/pallet_balances.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `pallet_balances` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-local")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: // ./target/production/polimec-node // benchmark // pallet -// --chain=polimec-local -// --steps=50 -// --repeat=20 +// --chain=polimec-paseo-local +// --wasm-execution=compiled // --pallet=pallet_balances // --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/pallet_balances.rs +// --steps=50 +// --repeat=20 +// --output=./runtimes/polimec/src/weights/pallet_balances.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -31,17 +30,17 @@ use core::marker::PhantomData; /// Weight functions for `pallet_balances`. pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { - /// Storage: `System::Account` (r:2 w:2) + /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: - // Measured: `178` - // Estimated: `6196` - // Minimum execution time: 51_500_000 picoseconds. - Weight::from_parts(52_700_000, 0) - .saturating_add(Weight::from_parts(0, 6196)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `0` + // Estimated: `3593` + // Minimum execution time: 33_921_000 picoseconds. + Weight::from_parts(35_150_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) @@ -49,8 +48,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 30_930_000 picoseconds. - Weight::from_parts(31_320_000, 0) + // Minimum execution time: 28_830_000 picoseconds. + Weight::from_parts(29_491_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -61,8 +60,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 11_630_000 picoseconds. - Weight::from_parts(12_130_000, 0) + // Minimum execution time: 10_610_000 picoseconds. + Weight::from_parts(11_030_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -73,23 +72,23 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 16_160_000 picoseconds. - Weight::from_parts(16_460_000, 0) + // Minimum execution time: 14_340_000 picoseconds. + Weight::from_parts(14_790_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `System::Account` (r:3 w:3) + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `281` - // Estimated: `8799` - // Minimum execution time: 54_180_000 picoseconds. - Weight::from_parts(55_070_000, 0) - .saturating_add(Weight::from_parts(0, 8799)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `140` + // Estimated: `6196` + // Minimum execution time: 36_961_000 picoseconds. + Weight::from_parts(37_921_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) @@ -97,8 +96,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 39_000_000 picoseconds. - Weight::from_parts(39_890_000, 0) + // Minimum execution time: 36_651_000 picoseconds. + Weight::from_parts(37_220_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -109,8 +108,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 14_130_000 picoseconds. - Weight::from_parts(14_610_000, 0) + // Minimum execution time: 12_700_000 picoseconds. + Weight::from_parts(13_240_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -122,17 +121,37 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + u * (136 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 13_290_000 picoseconds. - Weight::from_parts(13_800_000, 0) + // Minimum execution time: 12_440_000 picoseconds. + Weight::from_parts(12_620_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 10_291 - .saturating_add(Weight::from_parts(12_529_803, 0).saturating_mul(u.into())) + // Standard Error: 10_792 + .saturating_add(Weight::from_parts(11_859_126, 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, 2603).saturating_mul(u.into())) } - - fn force_adjust_total_issuance() -> cumulus_primitives_core::Weight { todo!() } - fn burn_allow_death() -> cumulus_primitives_core::Weight { todo!() } - fn burn_keep_alive() -> cumulus_primitives_core::Weight { todo!() } + fn force_adjust_total_issuance() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_410_000 picoseconds. + Weight::from_parts(3_660_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + fn burn_allow_death() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 20_441_000 picoseconds. + Weight::from_parts(21_160_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + fn burn_keep_alive() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 14_980_000 picoseconds. + Weight::from_parts(15_270_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } } diff --git a/runtimes/polimec/src/weights/pallet_collective.rs b/runtimes/polimec/src/weights/pallet_collective.rs index 43dc23aa2..0ed23ddcb 100644 --- a/runtimes/polimec/src/weights/pallet_collective.rs +++ b/runtimes/polimec/src/weights/pallet_collective.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `pallet_collective` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-local")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: // ./target/production/polimec-node // benchmark // pallet -// --chain=polimec-local -// --steps=50 -// --repeat=20 +// --chain=polimec-paseo-local +// --wasm-execution=compiled // --pallet=pallet_collective // --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/pallet_collective.rs +// --steps=50 +// --repeat=20 +// --output=./runtimes/polimec/src/weights/pallet_collective.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -49,15 +48,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + m * (257 ±0) + p * (631 ±0)` // Estimated: `3936 + m * (200 ±2) + p * (2248 ±3)` - // Minimum execution time: 5_980_000 picoseconds. - Weight::from_parts(6_160_000, 0) + // Minimum execution time: 5_620_000 picoseconds. + Weight::from_parts(5_860_000, 0) .saturating_add(Weight::from_parts(0, 3936)) - // Standard Error: 16_215 - .saturating_add(Weight::from_parts(799_756, 0).saturating_mul(m.into())) - // Standard Error: 16_215 - .saturating_add(Weight::from_parts(284_876, 0).saturating_mul(n.into())) - // Standard Error: 26_088 - .saturating_add(Weight::from_parts(3_073_457, 0).saturating_mul(p.into())) + // Standard Error: 22_794 + .saturating_add(Weight::from_parts(875_074, 0).saturating_mul(m.into())) + // Standard Error: 22_794 + .saturating_add(Weight::from_parts(713_464, 0).saturating_mul(n.into())) + // Standard Error: 36_672 + .saturating_add(Weight::from_parts(2_964_030, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -75,13 +74,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + m * (32 ±0)` // Estimated: `1517 + m * (32 ±0)` - // Minimum execution time: 8_910_000 picoseconds. - Weight::from_parts(9_240_806, 0) + // Minimum execution time: 8_360_000 picoseconds. + Weight::from_parts(8_295_856, 0) .saturating_add(Weight::from_parts(0, 1517)) - // Standard Error: 8 - .saturating_add(Weight::from_parts(1_405, 0).saturating_mul(b.into())) - // Standard Error: 373 - .saturating_add(Weight::from_parts(20_528, 0).saturating_mul(m.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_586, 0).saturating_mul(b.into())) + // Standard Error: 633 + .saturating_add(Weight::from_parts(66_946, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -97,13 +96,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + m * (32 ±0)` // Estimated: `3497 + m * (32 ±0)` - // Minimum execution time: 10_810_000 picoseconds. - Weight::from_parts(10_815_523, 0) + // Minimum execution time: 9_880_000 picoseconds. + Weight::from_parts(9_678_790, 0) .saturating_add(Weight::from_parts(0, 3497)) - // Standard Error: 11 - .saturating_add(Weight::from_parts(1_575, 0).saturating_mul(b.into())) - // Standard Error: 527 - .saturating_add(Weight::from_parts(48_832, 0).saturating_mul(m.into())) + // Standard Error: 19 + .saturating_add(Weight::from_parts(1_773, 0).saturating_mul(b.into())) + // Standard Error: 908 + .saturating_add(Weight::from_parts(103_728, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -127,15 +126,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `97 + m * (32 ±0) + p * (56 ±0)` // Estimated: `3549 + m * (33 ±0) + p * (61 ±0)` - // Minimum execution time: 14_590_000 picoseconds. - Weight::from_parts(14_023_632, 0) + // Minimum execution time: 13_780_000 picoseconds. + Weight::from_parts(13_288_015, 0) .saturating_add(Weight::from_parts(0, 3549)) - // Standard Error: 33 - .saturating_add(Weight::from_parts(1_820, 0).saturating_mul(b.into())) - // Standard Error: 1_298 - .saturating_add(Weight::from_parts(38_582, 0).saturating_mul(m.into())) - // Standard Error: 5_204 - .saturating_add(Weight::from_parts(448_594, 0).saturating_mul(p.into())) + // Standard Error: 32 + .saturating_add(Weight::from_parts(1_617, 0).saturating_mul(b.into())) + // Standard Error: 1_254 + .saturating_add(Weight::from_parts(51_020, 0).saturating_mul(m.into())) + // Standard Error: 5_028 + .saturating_add(Weight::from_parts(414_126, 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())) @@ -151,11 +150,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `266 + m * (64 ±0)` // Estimated: `3731 + m * (64 ±0)` - // Minimum execution time: 12_170_000 picoseconds. - Weight::from_parts(12_559_668, 0) + // Minimum execution time: 11_300_000 picoseconds. + Weight::from_parts(11_691_017, 0) .saturating_add(Weight::from_parts(0, 3731)) - // Standard Error: 1_191 - .saturating_add(Weight::from_parts(65_573, 0).saturating_mul(m.into())) + // Standard Error: 1_120 + .saturating_add(Weight::from_parts(66_446, 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())) @@ -176,13 +175,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `118 + m * (64 ±0) + p * (56 ±0)` // Estimated: `3605 + m * (64 ±0) + p * (54 ±0)` - // Minimum execution time: 16_010_000 picoseconds. - Weight::from_parts(16_573_137, 0) + // Minimum execution time: 15_070_000 picoseconds. + Weight::from_parts(15_447_314, 0) .saturating_add(Weight::from_parts(0, 3605)) - // Standard Error: 1_105 - .saturating_add(Weight::from_parts(53_023, 0).saturating_mul(m.into())) - // Standard Error: 3_510 - .saturating_add(Weight::from_parts(259_873, 0).saturating_mul(p.into())) + // Standard Error: 1_136 + .saturating_add(Weight::from_parts(59_370, 0).saturating_mul(m.into())) + // Standard Error: 3_609 + .saturating_add(Weight::from_parts(241_061, 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, 64).saturating_mul(m.into())) @@ -206,15 +205,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `152 + b * (1 ±0) + m * (64 ±0) + p * (84 ±0)` // Estimated: `3671 + b * (1 ±0) + m * (65 ±0) + p * (81 ±0)` - // Minimum execution time: 23_330_000 picoseconds. - Weight::from_parts(23_377_861, 0) + // Minimum execution time: 21_920_000 picoseconds. + Weight::from_parts(22_104_910, 0) .saturating_add(Weight::from_parts(0, 3671)) // Standard Error: 32 - .saturating_add(Weight::from_parts(603, 0).saturating_mul(b.into())) - // Standard Error: 1_270 - .saturating_add(Weight::from_parts(68_142, 0).saturating_mul(m.into())) - // Standard Error: 4_950 - .saturating_add(Weight::from_parts(424_662, 0).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(322, 0).saturating_mul(b.into())) + // Standard Error: 1_300 + .saturating_add(Weight::from_parts(80_414, 0).saturating_mul(m.into())) + // Standard Error: 5_068 + .saturating_add(Weight::from_parts(387_014, 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())) @@ -239,13 +238,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `193 + m * (50 ±0) + p * (56 ±0)` // Estimated: `3699 + m * (50 ±0) + p * (52 ±0)` - // Minimum execution time: 17_450_000 picoseconds. - Weight::from_parts(18_016_519, 0) + // Minimum execution time: 16_221_000 picoseconds. + Weight::from_parts(16_841_593, 0) .saturating_add(Weight::from_parts(0, 3699)) - // Standard Error: 1_107 - .saturating_add(Weight::from_parts(54_069, 0).saturating_mul(m.into())) - // Standard Error: 3_517 - .saturating_add(Weight::from_parts(252_754, 0).saturating_mul(p.into())) + // Standard Error: 1_099 + .saturating_add(Weight::from_parts(56_126, 0).saturating_mul(m.into())) + // Standard Error: 3_491 + .saturating_add(Weight::from_parts(261_482, 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, 50).saturating_mul(m.into())) @@ -271,15 +270,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `172 + b * (1 ±0) + m * (64 ±0) + p * (84 ±0)` // Estimated: `3691 + b * (1 ±0) + m * (65 ±0) + p * (81 ±0)` - // Minimum execution time: 24_800_000 picoseconds. - Weight::from_parts(25_037_977, 0) + // Minimum execution time: 23_300_000 picoseconds. + Weight::from_parts(23_700_355, 0) .saturating_add(Weight::from_parts(0, 3691)) - // Standard Error: 34 - .saturating_add(Weight::from_parts(529, 0).saturating_mul(b.into())) - // Standard Error: 1_374 - .saturating_add(Weight::from_parts(65_348, 0).saturating_mul(m.into())) - // Standard Error: 5_356 - .saturating_add(Weight::from_parts(409_844, 0).saturating_mul(p.into())) + // Standard Error: 31 + .saturating_add(Weight::from_parts(396, 0).saturating_mul(b.into())) + // Standard Error: 1_254 + .saturating_add(Weight::from_parts(72_419, 0).saturating_mul(m.into())) + // Standard Error: 4_886 + .saturating_add(Weight::from_parts(381_866, 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())) @@ -298,11 +297,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `188 + p * (32 ±0)` // Estimated: `1672 + p * (32 ±0)` - // Minimum execution time: 9_570_000 picoseconds. - Weight::from_parts(9_844_721, 0) + // Minimum execution time: 8_920_000 picoseconds. + Weight::from_parts(9_182_590, 0) .saturating_add(Weight::from_parts(0, 1672)) - // Standard Error: 1_770 - .saturating_add(Weight::from_parts(204_509, 0).saturating_mul(p.into())) + // Standard Error: 1_649 + .saturating_add(Weight::from_parts(201_678, 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())) diff --git a/runtimes/polimec/src/weights/pallet_democracy.rs b/runtimes/polimec/src/weights/pallet_democracy.rs index e8713d250..816c74ab1 100644 --- a/runtimes/polimec/src/weights/pallet_democracy.rs +++ b/runtimes/polimec/src/weights/pallet_democracy.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `pallet_democracy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-local")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: // ./target/production/polimec-node // benchmark // pallet -// --chain=polimec-local -// --steps=50 -// --repeat=20 +// --chain=polimec-paseo-local +// --wasm-execution=compiled // --pallet=pallet_democracy // --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/pallet_democracy.rs +// --steps=50 +// --repeat=20 +// --output=./runtimes/polimec/src/weights/pallet_democracy.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -38,15 +37,15 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Storage: `Democracy::Blacklist` (r:1 w:0) /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// Storage: `Democracy::DepositOf` (r:0 w:1) /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn propose() -> Weight { // Proof Size summary in bytes: - // Measured: `1040` + // Measured: `934` // Estimated: `6703` - // Minimum execution time: 44_881_000 picoseconds. - Weight::from_parts(45_680_000, 0) + // Minimum execution time: 43_530_000 picoseconds. + Weight::from_parts(44_130_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -54,13 +53,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Storage: `Democracy::DepositOf` (r:1 w:1) /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) fn second() -> Weight { // Proof Size summary in bytes: - // Measured: `4182` + // Measured: `4149` // Estimated: `6695` - // Minimum execution time: 49_361_000 picoseconds. - Weight::from_parts(50_620_000, 0) + // Minimum execution time: 48_190_000 picoseconds. + Weight::from_parts(49_080_000, 0) .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -75,10 +74,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) fn vote_new() -> Weight { // Proof Size summary in bytes: - // Measured: `3359` + // Measured: `3358` // Estimated: `7260` - // Minimum execution time: 38_050_000 picoseconds. - Weight::from_parts(39_610_000, 0) + // Minimum execution time: 38_621_000 picoseconds. + Weight::from_parts(39_660_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -93,10 +92,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) fn vote_existing() -> Weight { // Proof Size summary in bytes: - // Measured: `3381` + // Measured: `3380` // Estimated: `7260` - // Minimum execution time: 40_530_000 picoseconds. - Weight::from_parts(41_680_000, 0) + // Minimum execution time: 40_180_000 picoseconds. + Weight::from_parts(41_831_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -111,8 +110,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `299` // Estimated: `3666` - // Minimum execution time: 18_150_000 picoseconds. - Weight::from_parts(18_780_000, 0) + // Minimum execution time: 17_250_000 picoseconds. + Weight::from_parts(17_610_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -122,7 +121,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Storage: `Democracy::DepositOf` (r:1 w:1) /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Democracy::MetadataOf` (r:3 w:1) @@ -135,10 +134,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn blacklist() -> Weight { // Proof Size summary in bytes: - // Measured: `1682` + // Measured: `1616` // Estimated: `8574` - // Minimum execution time: 64_100_000 picoseconds. - Weight::from_parts(65_190_000, 0) + // Minimum execution time: 62_171_000 picoseconds. + Weight::from_parts(63_960_000, 0) .saturating_add(Weight::from_parts(0, 8574)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(9)) @@ -151,8 +150,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3349` // Estimated: `6703` - // Minimum execution time: 9_780_000 picoseconds. - Weight::from_parts(10_260_000, 0) + // Minimum execution time: 9_840_000 picoseconds. + Weight::from_parts(10_120_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -163,8 +162,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_850_000 picoseconds. - Weight::from_parts(2_010_000, 0) + // Minimum execution time: 1_550_000 picoseconds. + Weight::from_parts(1_670_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -174,8 +173,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_820_000 picoseconds. - Weight::from_parts(1_970_000, 0) + // Minimum execution time: 1_500_000 picoseconds. + Weight::from_parts(1_620_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -191,8 +190,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 17_280_000 picoseconds. - Weight::from_parts(17_850_000, 0) + // Minimum execution time: 16_490_000 picoseconds. + Weight::from_parts(16_860_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) @@ -207,8 +206,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3452` // Estimated: `6703` - // Minimum execution time: 20_130_000 picoseconds. - Weight::from_parts(20_700_000, 0) + // Minimum execution time: 19_310_000 picoseconds. + Weight::from_parts(19_880_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -218,17 +217,17 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Storage: `Democracy::DepositOf` (r:1 w:1) /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Democracy::MetadataOf` (r:1 w:1) /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `1593` + // Measured: `1527` // Estimated: `6695` - // Minimum execution time: 52_360_000 picoseconds. - Weight::from_parts(53_120_000, 0) + // Minimum execution time: 49_961_000 picoseconds. + Weight::from_parts(50_980_000, 0) .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) @@ -241,8 +240,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `204` // Estimated: `3518` - // Minimum execution time: 12_760_000 picoseconds. - Weight::from_parts(13_270_000, 0) + // Minimum execution time: 11_241_000 picoseconds. + Weight::from_parts(11_870_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -258,11 +257,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `177 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 5_220_000 picoseconds. - Weight::from_parts(3_851_151, 0) + // Minimum execution time: 5_180_000 picoseconds. + Weight::from_parts(4_459_490, 0) .saturating_add(Weight::from_parts(0, 1489)) - // Standard Error: 5_595 - .saturating_add(Weight::from_parts(2_887_188, 0).saturating_mul(r.into())) + // Standard Error: 6_339 + .saturating_add(Weight::from_parts(2_867_660, 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)) @@ -285,11 +284,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `177 + r * (86 ±0)` // Estimated: `3156 + r * (2676 ±0)` - // Minimum execution time: 7_110_000 picoseconds. - Weight::from_parts(7_170_221, 0) + // Minimum execution time: 6_970_000 picoseconds. + Weight::from_parts(7_088_754, 0) .saturating_add(Weight::from_parts(0, 3156)) - // Standard Error: 4_907 - .saturating_add(Weight::from_parts(2_887_468, 0).saturating_mul(r.into())) + // Standard Error: 5_099 + .saturating_add(Weight::from_parts(2_879_387, 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)) @@ -306,13 +305,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `723 + r * (108 ±0)` + // Measured: `722 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 29_130_000 picoseconds. - Weight::from_parts(31_406_337, 0) + // Minimum execution time: 28_980_000 picoseconds. + Weight::from_parts(31_175_181, 0) .saturating_add(Weight::from_parts(0, 19800)) - // Standard Error: 5_700 - .saturating_add(Weight::from_parts(3_629_472, 0).saturating_mul(r.into())) + // Standard Error: 5_909 + .saturating_add(Weight::from_parts(3_617_952, 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)) @@ -328,11 +327,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `426 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 14_250_000 picoseconds. - Weight::from_parts(12_729_073, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(12_657_350, 0) .saturating_add(Weight::from_parts(0, 13530)) - // Standard Error: 6_019 - .saturating_add(Weight::from_parts(3_573_213, 0).saturating_mul(r.into())) + // Standard Error: 5_309 + .saturating_add(Weight::from_parts(3_596_675, 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)) @@ -345,8 +344,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_530_000 picoseconds. - Weight::from_parts(1_720_000, 0) + // Minimum execution time: 1_360_000 picoseconds. + Weight::from_parts(1_490_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -361,13 +360,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `415` + // Measured: `414` // Estimated: `7260` - // Minimum execution time: 17_360_000 picoseconds. - Weight::from_parts(24_854_476, 0) + // Minimum execution time: 16_940_000 picoseconds. + Weight::from_parts(23_938_903, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_856 - .saturating_add(Weight::from_parts(61_906, 0).saturating_mul(r.into())) + // Standard Error: 1_665 + .saturating_add(Weight::from_parts(59_005, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -382,13 +381,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `416 + r * (22 ±0)` + // Measured: `415 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 22_770_000 picoseconds. - Weight::from_parts(24_432_360, 0) + // Minimum execution time: 22_560_000 picoseconds. + Weight::from_parts(24_832_044, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 763 - .saturating_add(Weight::from_parts(82_186, 0).saturating_mul(r.into())) + // Standard Error: 842 + .saturating_add(Weight::from_parts(81_330, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -401,11 +400,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `661 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 12_320_000 picoseconds. - Weight::from_parts(14_750_173, 0) + // Minimum execution time: 12_100_000 picoseconds. + Weight::from_parts(14_442_634, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_030 - .saturating_add(Weight::from_parts(80_810, 0).saturating_mul(r.into())) + // Standard Error: 1_017 + .saturating_add(Weight::from_parts(81_610, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -418,11 +417,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `661 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 12_670_000 picoseconds. - Weight::from_parts(14_854_565, 0) + // Minimum execution time: 11_960_000 picoseconds. + Weight::from_parts(14_460_465, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_010 - .saturating_add(Weight::from_parts(82_082, 0).saturating_mul(r.into())) + // Standard Error: 1_035 + .saturating_add(Weight::from_parts(84_395, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -438,8 +437,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `289` // Estimated: `3556` - // Minimum execution time: 14_620_000 picoseconds. - Weight::from_parts(15_110_000, 0) + // Minimum execution time: 13_690_000 picoseconds. + Weight::from_parts(14_250_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -452,8 +451,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 11_760_000 picoseconds. - Weight::from_parts(12_250_000, 0) + // Minimum execution time: 10_920_000 picoseconds. + Weight::from_parts(11_260_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -470,8 +469,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `770` // Estimated: `3556` - // Minimum execution time: 18_290_000 picoseconds. - Weight::from_parts(18_930_000, 0) + // Minimum execution time: 17_770_000 picoseconds. + Weight::from_parts(18_380_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -484,8 +483,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `704` // Estimated: `3518` - // Minimum execution time: 15_210_000 picoseconds. - Weight::from_parts(15_910_000, 0) + // Minimum execution time: 14_490_000 picoseconds. + Weight::from_parts(15_050_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -500,8 +499,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 10_930_000 picoseconds. - Weight::from_parts(11_590_000, 0) + // Minimum execution time: 10_260_000 picoseconds. + Weight::from_parts(10_640_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -514,8 +513,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `235` // Estimated: `3666` - // Minimum execution time: 13_600_000 picoseconds. - Weight::from_parts(14_020_000, 0) + // Minimum execution time: 12_580_000 picoseconds. + Weight::from_parts(13_171_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtimes/polimec/src/weights/pallet_dispenser.rs b/runtimes/polimec/src/weights/pallet_dispenser.rs index dd1052b08..d346144fa 100644 --- a/runtimes/polimec/src/weights/pallet_dispenser.rs +++ b/runtimes/polimec/src/weights/pallet_dispenser.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `pallet_dispenser` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-05-14, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-local")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: // ./target/production/polimec-node // benchmark // pallet -// --chain=polimec-local +// --chain=polimec-paseo-local +// --wasm-execution=compiled +// --pallet=pallet_dispenser +// --extrinsic=* // --steps=50 // --repeat=20 -// --pallet=pallet-dispenser -// --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/pallet_dispenser.rs +// --output=./runtimes/polimec/src/weights/pallet_dispenser.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -49,8 +48,8 @@ impl pallet_dispenser::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `254` // Estimated: `4764` - // Minimum execution time: 175_889_000 picoseconds. - Weight::from_parts(177_360_000, 0) + // Minimum execution time: 176_461_000 picoseconds. + Weight::from_parts(177_791_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) @@ -61,8 +60,8 @@ impl pallet_dispenser::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_360_000 picoseconds. - Weight::from_parts(3_560_000, 0) + // Minimum execution time: 2_810_000 picoseconds. + Weight::from_parts(2_930_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtimes/polimec/src/weights/pallet_elections_phragmen.rs b/runtimes/polimec/src/weights/pallet_elections_phragmen.rs index b166d72e1..5e71f3c63 100644 --- a/runtimes/polimec/src/weights/pallet_elections_phragmen.rs +++ b/runtimes/polimec/src/weights/pallet_elections_phragmen.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-local")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: // ./target/production/polimec-node // benchmark // pallet -// --chain=polimec-local -// --steps=50 -// --repeat=20 +// --chain=polimec-paseo-local +// --wasm-execution=compiled // --pallet=pallet_elections_phragmen // --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/pallet_elections_phragmen.rs +// --steps=50 +// --repeat=20 +// --output=./runtimes/polimec/src/weights/pallet_elections_phragmen.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -48,11 +47,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `378 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 22_770_000 picoseconds. - Weight::from_parts(23_417_624, 0) + // Minimum execution time: 23_640_000 picoseconds. + Weight::from_parts(24_829_745, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 4_554 - .saturating_add(Weight::from_parts(185_396, 0).saturating_mul(v.into())) + // Standard Error: 3_958 + .saturating_add(Weight::from_parts(105_354, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -74,11 +73,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `346 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 23_150_000 picoseconds. - Weight::from_parts(23_445_963, 0) + // Minimum execution time: 24_120_000 picoseconds. + Weight::from_parts(24_841_066, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 4_855 - .saturating_add(Weight::from_parts(165_930, 0).saturating_mul(v.into())) + // Standard Error: 4_792 + .saturating_add(Weight::from_parts(113_814, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -100,11 +99,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `378 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 22_860_000 picoseconds. - Weight::from_parts(23_356_979, 0) + // Minimum execution time: 24_130_000 picoseconds. + Weight::from_parts(24_871_516, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 4_797 - .saturating_add(Weight::from_parts(196_390, 0).saturating_mul(v.into())) + // Standard Error: 4_872 + .saturating_add(Weight::from_parts(113_733, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -119,8 +118,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `646` // Estimated: `4764` - // Minimum execution time: 25_120_000 picoseconds. - Weight::from_parts(25_830_000, 0) + // Minimum execution time: 24_700_000 picoseconds. + Weight::from_parts(25_260_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -132,17 +131,17 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Storage: `Elections::RunnersUp` (r:1 w:0) /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 30]`. fn submit_candidacy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2739 + c * (50 ±0)` - // Estimated: `4414 + c * (50 ±0)` - // Minimum execution time: 42_800_000 picoseconds. - Weight::from_parts(43_820_550, 0) - .saturating_add(Weight::from_parts(0, 4414)) - // Standard Error: 2_588 - .saturating_add(Weight::from_parts(76_325, 0).saturating_mul(c.into())) + // Measured: `2706 + c * (50 ±0)` + // Estimated: `4184 + c * (50 ±0)` + // Minimum execution time: 43_800_000 picoseconds. + Weight::from_parts(45_261_792, 0) + .saturating_add(Weight::from_parts(0, 4184)) + // Standard Error: 1_802 + .saturating_add(Weight::from_parts(57_633, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 50).saturating_mul(c.into())) @@ -150,17 +149,17 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Storage: `Elections::Candidates` (r:1 w:1) /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 30]`. fn renounce_candidacy_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `913 + c * (54 ±0)` - // Estimated: `4414 + c * (55 ±0)` - // Minimum execution time: 35_390_000 picoseconds. - Weight::from_parts(37_047_850, 0) - .saturating_add(Weight::from_parts(0, 4414)) - // Standard Error: 1_682 - .saturating_add(Weight::from_parts(55_312, 0).saturating_mul(c.into())) + // Measured: `880 + c * (54 ±0)` + // Estimated: `3640 + c * (55 ±0)` + // Minimum execution time: 35_110_000 picoseconds. + Weight::from_parts(36_601_149, 0) + .saturating_add(Weight::from_parts(0, 3640)) + // Standard Error: 1_501 + .saturating_add(Weight::from_parts(50_110, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 55).saturating_mul(c.into())) @@ -168,7 +167,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Storage: `Elections::Members` (r:1 w:1) /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// Storage: `Elections::RunnersUp` (r:1 w:1) /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Prime` (r:1 w:1) @@ -179,25 +178,25 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: - // Measured: `2834` - // Estimated: `4414` - // Minimum execution time: 46_600_000 picoseconds. - Weight::from_parts(48_880_000, 0) - .saturating_add(Weight::from_parts(0, 4414)) + // Measured: `2901` + // Estimated: `4386` + // Minimum execution time: 48_670_000 picoseconds. + Weight::from_parts(50_120_000, 0) + .saturating_add(Weight::from_parts(0, 4386)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `Elections::RunnersUp` (r:1 w:1) /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) fn renounce_candidacy_runners_up() -> Weight { // Proof Size summary in bytes: // Measured: `2274` - // Estimated: `4414` - // Minimum execution time: 37_320_000 picoseconds. - Weight::from_parts(38_260_000, 0) - .saturating_add(Weight::from_parts(0, 4414)) + // Estimated: `3759` + // Minimum execution time: 38_710_000 picoseconds. + Weight::from_parts(39_671_000, 0) + .saturating_add(Weight::from_parts(0, 3759)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -214,7 +213,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Storage: `Elections::Members` (r:1 w:1) /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Elections::RunnersUp` (r:1 w:1) @@ -227,10 +226,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: - // Measured: `2936` + // Measured: `3003` // Estimated: `6196` - // Minimum execution time: 52_050_000 picoseconds. - Weight::from_parts(53_840_000, 0) + // Minimum execution time: 52_371_000 picoseconds. + Weight::from_parts(53_200_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(7)) @@ -254,14 +253,14 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn clean_defunct_voters(v: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + d * (512 ±0) + v * (60 ±0)` - // Estimated: `12004 + d * (3774 ±1) + v * (30 ±0)` - // Minimum execution time: 3_510_000 picoseconds. - Weight::from_parts(3_980_000, 0) + // Estimated: `12004 + d * (3774 ±0) + v * (30 ±0)` + // Minimum execution time: 2_800_000 picoseconds. + Weight::from_parts(3_040_000, 0) .saturating_add(Weight::from_parts(0, 12004)) - // Standard Error: 7_539 - .saturating_add(Weight::from_parts(288_609, 0).saturating_mul(v.into())) - // Standard Error: 16_430 - .saturating_add(Weight::from_parts(27_396_185, 0).saturating_mul(d.into())) + // Standard Error: 8_693 + .saturating_add(Weight::from_parts(322_410, 0).saturating_mul(v.into())) + // Standard Error: 18_943 + .saturating_add(Weight::from_parts(27_443_046, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(d.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(d.into()))) @@ -279,7 +278,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Storage: `Council::Proposals` (r:1 w:0) /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Elections::ElectionRounds` (r:1 w:1) @@ -294,16 +293,16 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + e * (27 ±0) + v * (326 ±0)` - // Estimated: `83499 + c * (206 ±0) + e * (11 ±0) + v * (2473 ±3)` - // Minimum execution time: 228_980_000 picoseconds. - Weight::from_parts(231_370_000, 0) - .saturating_add(Weight::from_parts(0, 83499)) - // Standard Error: 844_780 - .saturating_add(Weight::from_parts(2_977_806, 0).saturating_mul(c.into())) - // Standard Error: 126_172 - .saturating_add(Weight::from_parts(6_562_454, 0).saturating_mul(v.into())) - // Standard Error: 16_618 - .saturating_add(Weight::from_parts(168_203, 0).saturating_mul(e.into())) + // Estimated: `83566 + c * (206 ±0) + e * (11 ±0) + v * (2473 ±3)` + // Minimum execution time: 229_601_000 picoseconds. + Weight::from_parts(231_201_000, 0) + .saturating_add(Weight::from_parts(0, 83566)) + // Standard Error: 823_805 + .saturating_add(Weight::from_parts(3_411_374, 0).saturating_mul(c.into())) + // Standard Error: 123_040 + .saturating_add(Weight::from_parts(6_370_414, 0).saturating_mul(v.into())) + // Standard Error: 16_206 + .saturating_add(Weight::from_parts(155_432, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(19)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(8)) diff --git a/runtimes/polimec/src/weights/pallet_funding.rs b/runtimes/polimec/src/weights/pallet_funding.rs index 461ee2a19..493c4933d 100644 --- a/runtimes/polimec/src/weights/pallet_funding.rs +++ b/runtimes/polimec/src/weights/pallet_funding.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `pallet_funding` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-08-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: -// target/production/polimec-node +// ./target/production/polimec-node // benchmark // pallet // --chain=polimec-paseo-local +// --wasm-execution=compiled +// --pallet=pallet_funding +// --extrinsic=* // --steps=50 // --repeat=20 -// --pallet=pallet-funding -// --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/pallet_funding.rs +// --output=./runtimes/polimec/src/weights/pallet_funding.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -49,8 +48,8 @@ impl pallet_funding::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `254` // Estimated: `3593` - // Minimum execution time: 164_660_000 picoseconds. - Weight::from_parts(166_280_000, 0) + // Minimum execution time: 160_581_000 picoseconds. + Weight::from_parts(162_591_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(6)) @@ -69,8 +68,8 @@ impl pallet_funding::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `445` // Estimated: `3807` - // Minimum execution time: 130_870_000 picoseconds. - Weight::from_parts(132_910_000, 0) + // Minimum execution time: 128_901_000 picoseconds. + Weight::from_parts(131_011_000, 0) .saturating_add(Weight::from_parts(0, 3807)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -87,8 +86,8 @@ impl pallet_funding::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `445` // Estimated: `3807` - // Minimum execution time: 132_880_000 picoseconds. - Weight::from_parts(134_570_000, 0) + // Minimum execution time: 132_160_000 picoseconds. + Weight::from_parts(133_860_000, 0) .saturating_add(Weight::from_parts(0, 3807)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -103,8 +102,8 @@ impl pallet_funding::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `740` // Estimated: `3967` - // Minimum execution time: 131_330_000 picoseconds. - Weight::from_parts(132_870_000, 0) + // Minimum execution time: 129_751_000 picoseconds. + Weight::from_parts(130_620_000, 0) .saturating_add(Weight::from_parts(0, 3967)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -124,17 +123,17 @@ impl pallet_funding::WeightInfo for WeightInfo { /// Storage: `Funding::Evaluations` (r:16 w:1) /// Proof: `Funding::Evaluations` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(1149), added: 3624, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// The range of component `x` is `[0, 15]`. fn evaluate(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1286 + x * (194 ±0)` - // Estimated: `4614 + x * (2729 ±0)` - // Minimum execution time: 177_520_000 picoseconds. - Weight::from_parts(185_626_259, 0) - .saturating_add(Weight::from_parts(0, 4614)) - // Standard Error: 23_552 - .saturating_add(Weight::from_parts(3_818_391, 0).saturating_mul(x.into())) + // Measured: `1282 + x * (194 ±0)` + // Estimated: `3967 + x * (2729 ±0)` + // Minimum execution time: 176_511_000 picoseconds. + Weight::from_parts(184_738_717, 0) + .saturating_add(Weight::from_parts(0, 3967)) + // Standard Error: 26_084 + .saturating_add(Weight::from_parts(3_771_526, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(5)) @@ -148,8 +147,8 @@ impl pallet_funding::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `477` // Estimated: `3807` - // Minimum execution time: 11_730_000 picoseconds. - Weight::from_parts(12_120_000, 0) + // Minimum execution time: 11_200_000 picoseconds. + Weight::from_parts(11_760_000, 0) .saturating_add(Weight::from_parts(0, 3807)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -177,7 +176,7 @@ impl pallet_funding::WeightInfo for WeightInfo { /// Storage: `Funding::Evaluations` (r:1 w:0) /// Proof: `Funding::Evaluations` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(1149), added: 3624, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) @@ -186,15 +185,15 @@ impl pallet_funding::WeightInfo for WeightInfo { /// The range of component `y` is `[0, 10]`. fn bid(x: u32, y: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2870 + x * (192 ±0)` + // Measured: `2866 + x * (192 ±0)` // Estimated: `6208 + x * (2748 ±0)` - // Minimum execution time: 279_151_000 picoseconds. - Weight::from_parts(210_482_072, 0) + // Minimum execution time: 274_581_000 picoseconds. + Weight::from_parts(211_541_829, 0) .saturating_add(Weight::from_parts(0, 6208)) - // Standard Error: 257_367 - .saturating_add(Weight::from_parts(4_106_421, 0).saturating_mul(x.into())) - // Standard Error: 161_370 - .saturating_add(Weight::from_parts(69_928_066, 0).saturating_mul(y.into())) + // Standard Error: 261_236 + .saturating_add(Weight::from_parts(3_389_028, 0).saturating_mul(x.into())) + // Standard Error: 163_796 + .saturating_add(Weight::from_parts(68_717_795, 0).saturating_mul(y.into())) .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(8)) @@ -217,13 +216,13 @@ impl pallet_funding::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1112 + x * (212 ±0) + y * (192 ±0)` // Estimated: `3967 + x * (2748 ±13) + y * (2748 ±0)` - // Minimum execution time: 185_100_000 picoseconds. - Weight::from_parts(30_697_704, 0) + // Minimum execution time: 184_100_000 picoseconds. + Weight::from_parts(28_884_206, 0) .saturating_add(Weight::from_parts(0, 3967)) - // Standard Error: 13_868 - .saturating_add(Weight::from_parts(9_881_070, 0).saturating_mul(x.into())) - // Standard Error: 25_108 - .saturating_add(Weight::from_parts(7_740_529, 0).saturating_mul(y.into())) + // Standard Error: 13_889 + .saturating_add(Weight::from_parts(10_019_424, 0).saturating_mul(x.into())) + // Standard Error: 25_145 + .saturating_add(Weight::from_parts(7_838_626, 0).saturating_mul(y.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(x.into()))) @@ -251,7 +250,7 @@ impl pallet_funding::WeightInfo for WeightInfo { /// Storage: `Funding::Evaluations` (r:1 w:0) /// Proof: `Funding::Evaluations` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(1149), added: 3624, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:2 w:2) @@ -259,13 +258,13 @@ impl pallet_funding::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 15]`. fn contribute(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3010 + x * (196 ±0)` + // Measured: `3006 + x * (196 ±0)` // Estimated: `6208 + x * (2731 ±0)` - // Minimum execution time: 248_781_000 picoseconds. - Weight::from_parts(258_000_840, 0) + // Minimum execution time: 245_741_000 picoseconds. + Weight::from_parts(255_331_931, 0) .saturating_add(Weight::from_parts(0, 6208)) - // Standard Error: 36_160 - .saturating_add(Weight::from_parts(3_853_017, 0).saturating_mul(x.into())) + // Standard Error: 30_448 + .saturating_add(Weight::from_parts(3_910_300, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(8)) @@ -281,8 +280,8 @@ impl pallet_funding::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `964` // Estimated: `3967` - // Minimum execution time: 23_480_000 picoseconds. - Weight::from_parts(24_520_000, 0) + // Minimum execution time: 23_110_000 picoseconds. + Weight::from_parts(23_880_000, 0) .saturating_add(Weight::from_parts(0, 3967)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -299,10 +298,10 @@ impl pallet_funding::WeightInfo for WeightInfo { /// Proof: `ContributionTokens::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) fn start_settlement() -> Weight { // Proof Size summary in bytes: - // Measured: `1029` + // Measured: `1025` // Estimated: `3967` - // Minimum execution time: 68_330_000 picoseconds. - Weight::from_parts(70_330_000, 0) + // Minimum execution time: 63_410_000 picoseconds. + Weight::from_parts(65_231_000, 0) .saturating_add(Weight::from_parts(0, 3967)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -316,17 +315,17 @@ impl pallet_funding::WeightInfo for WeightInfo { /// Storage: `ContributionTokens::Asset` (r:1 w:1) /// Proof: `ContributionTokens::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(1149), added: 3624, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// Storage: `Funding::UserMigrations` (r:1 w:1) /// Proof: `Funding::UserMigrations` (`max_values`: None, `max_size`: Some(30366), added: 32841, mode: `MaxEncodedLen`) /// Storage: `Funding::UnmigratedCounter` (r:1 w:1) /// Proof: `Funding::UnmigratedCounter` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) fn settle_rewarded_evaluation() -> Weight { // Proof Size summary in bytes: - // Measured: `2053` + // Measured: `2049` // Estimated: `33831` - // Minimum execution time: 86_840_000 picoseconds. - Weight::from_parts(88_781_000, 0) + // Minimum execution time: 83_331_000 picoseconds. + Weight::from_parts(85_130_000, 0) .saturating_add(Weight::from_parts(0, 33831)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) @@ -342,7 +341,7 @@ impl pallet_funding::WeightInfo for WeightInfo { /// Storage: `ForeignAssets::Metadata` (r:1 w:0) /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(1149), added: 3624, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Account` (r:3 w:3) @@ -361,10 +360,10 @@ impl pallet_funding::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn settle_accepted_bid_with_refund() -> Weight { // Proof Size summary in bytes: - // Measured: `3107` + // Measured: `3103` // Estimated: `33831` - // Minimum execution time: 165_521_000 picoseconds. - Weight::from_parts(168_670_000, 0) + // Minimum execution time: 160_810_000 picoseconds. + Weight::from_parts(163_780_000, 0) .saturating_add(Weight::from_parts(0, 33831)) .saturating_add(T::DbWeight::get().reads(17)) .saturating_add(T::DbWeight::get().writes(12)) @@ -395,8 +394,8 @@ impl pallet_funding::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2511` // Estimated: `33831` - // Minimum execution time: 103_250_000 picoseconds. - Weight::from_parts(104_990_000, 0) + // Minimum execution time: 100_361_000 picoseconds. + Weight::from_parts(101_840_000, 0) .saturating_add(Weight::from_parts(0, 33831)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(10)) @@ -413,8 +412,8 @@ impl pallet_funding::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `745` // Estimated: `3807` - // Minimum execution time: 27_560_000 picoseconds. - Weight::from_parts(28_770_000, 0) + // Minimum execution time: 26_770_000 picoseconds. + Weight::from_parts(27_690_000, 0) .saturating_add(Weight::from_parts(0, 3807)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) @@ -427,8 +426,8 @@ impl pallet_funding::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `760` // Estimated: `3807` - // Minimum execution time: 136_720_000 picoseconds. - Weight::from_parts(137_630_000, 0) + // Minimum execution time: 134_921_000 picoseconds. + Weight::from_parts(136_120_000, 0) .saturating_add(Weight::from_parts(0, 3807)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -444,11 +443,11 @@ impl pallet_funding::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1127 + x * (65 ±0)` // Estimated: `33831` - // Minimum execution time: 26_810_000 picoseconds. - Weight::from_parts(27_289_697, 0) + // Minimum execution time: 25_900_000 picoseconds. + Weight::from_parts(26_655_737, 0) .saturating_add(Weight::from_parts(0, 33831)) - // Standard Error: 1_829 - .saturating_add(Weight::from_parts(610_427, 0).saturating_mul(x.into())) + // Standard Error: 842 + .saturating_add(Weight::from_parts(268_499, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -460,8 +459,8 @@ impl pallet_funding::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `760` // Estimated: `3807` - // Minimum execution time: 139_890_000 picoseconds. - Weight::from_parts(141_370_000, 0) + // Minimum execution time: 134_501_000 picoseconds. + Weight::from_parts(135_731_000, 0) .saturating_add(Weight::from_parts(0, 3807)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -480,8 +479,8 @@ impl pallet_funding::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1061` // Estimated: `3807` - // Minimum execution time: 161_350_000 picoseconds. - Weight::from_parts(163_350_000, 0) + // Minimum execution time: 150_300_000 picoseconds. + Weight::from_parts(151_541_000, 0) .saturating_add(Weight::from_parts(0, 3807)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -494,8 +493,8 @@ impl pallet_funding::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1072` // Estimated: `6624` - // Minimum execution time: 23_260_000 picoseconds. - Weight::from_parts(24_190_000, 0) + // Minimum execution time: 23_050_000 picoseconds. + Weight::from_parts(23_830_000, 0) .saturating_add(Weight::from_parts(0, 6624)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -508,8 +507,8 @@ impl pallet_funding::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1072` // Estimated: `6624` - // Minimum execution time: 23_420_000 picoseconds. - Weight::from_parts(24_190_000, 0) + // Minimum execution time: 23_171_000 picoseconds. + Weight::from_parts(23_670_000, 0) .saturating_add(Weight::from_parts(0, 6624)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -535,11 +534,11 @@ impl pallet_funding::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1170 + x * (65 ±0)` // Estimated: `33831 + x * (65 ±0)` - // Minimum execution time: 52_920_000 picoseconds. - Weight::from_parts(53_884_173, 0) + // Minimum execution time: 51_960_000 picoseconds. + Weight::from_parts(53_199_921, 0) .saturating_add(Weight::from_parts(0, 33831)) - // Standard Error: 3_045 - .saturating_add(Weight::from_parts(1_267_213, 0).saturating_mul(x.into())) + // Standard Error: 1_621 + .saturating_add(Weight::from_parts(588_372, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(x.into())) @@ -557,11 +556,11 @@ impl pallet_funding::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1249 + x * (65 ±0)` // Estimated: `33831` - // Minimum execution time: 32_670_000 picoseconds. - Weight::from_parts(33_416_454, 0) + // Minimum execution time: 31_900_000 picoseconds. + Weight::from_parts(32_938_463, 0) .saturating_add(Weight::from_parts(0, 33831)) - // Standard Error: 2_205 - .saturating_add(Weight::from_parts(633_305, 0).saturating_mul(x.into())) + // Standard Error: 1_140 + .saturating_add(Weight::from_parts(304_490, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -571,8 +570,8 @@ impl pallet_funding::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `725` // Estimated: `6624` - // Minimum execution time: 17_560_000 picoseconds. - Weight::from_parts(18_170_000, 0) + // Minimum execution time: 16_370_000 picoseconds. + Weight::from_parts(17_200_000, 0) .saturating_add(Weight::from_parts(0, 6624)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -589,8 +588,8 @@ impl pallet_funding::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1001` // Estimated: `6624` - // Minimum execution time: 40_800_000 picoseconds. - Weight::from_parts(42_370_000, 0) + // Minimum execution time: 38_400_000 picoseconds. + Weight::from_parts(39_430_000, 0) .saturating_add(Weight::from_parts(0, 6624)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -603,8 +602,8 @@ impl pallet_funding::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `730` // Estimated: `3807` - // Minimum execution time: 18_601_000 picoseconds. - Weight::from_parts(19_480_000, 0) + // Minimum execution time: 18_130_000 picoseconds. + Weight::from_parts(18_440_000, 0) .saturating_add(Weight::from_parts(0, 3807)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtimes/polimec/src/weights/pallet_identity.rs b/runtimes/polimec/src/weights/pallet_identity.rs index e39f2fe69..eb1902bc3 100644 --- a/runtimes/polimec/src/weights/pallet_identity.rs +++ b/runtimes/polimec/src/weights/pallet_identity.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `pallet_identity` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-local")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: // ./target/production/polimec-node // benchmark // pallet -// --chain=polimec-local +// --chain=polimec-paseo-local +// --wasm-execution=compiled +// --pallet=pallet_identity +// --extrinsic=* // --steps=50 // --repeat=20 -// --pallet=pallet-identity -// --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/pallet_identity.rs +// --output=./runtimes/polimec/src/weights/pallet_identity.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -36,13 +35,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 2]`. fn add_registrar(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `30 + r * (58 ±0)` + // Measured: `29 + r * (58 ±0)` // Estimated: `1657` - // Minimum execution time: 7_200_000 picoseconds. - Weight::from_parts(7_628_900, 0) + // Minimum execution time: 6_240_000 picoseconds. + Weight::from_parts(6_610_804, 0) .saturating_add(Weight::from_parts(0, 1657)) - // Standard Error: 31_499 - .saturating_add(Weight::from_parts(74_600, 0).saturating_mul(r.into())) + // Standard Error: 25_426 + .saturating_add(Weight::from_parts(66_097, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -51,13 +50,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 3]`. fn set_identity(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `6978 + r * (5 ±0)` + // Measured: `6977 + r * (5 ±0)` // Estimated: `10680` - // Minimum execution time: 106_780_000 picoseconds. - Weight::from_parts(111_152_772, 0) + // Minimum execution time: 110_801_000 picoseconds. + Weight::from_parts(113_591_971, 0) .saturating_add(Weight::from_parts(0, 10680)) - // Standard Error: 29_991 - .saturating_add(Weight::from_parts(27_839, 0).saturating_mul(r.into())) + // Standard Error: 33_516 + .saturating_add(Weight::from_parts(100_867, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -70,13 +69,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 2]`. fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `101` + // Measured: `100` // Estimated: `10680 + s * (2589 ±0)` - // Minimum execution time: 6_980_000 picoseconds. - Weight::from_parts(7_425_706, 0) + // Minimum execution time: 6_720_000 picoseconds. + Weight::from_parts(7_183_870, 0) .saturating_add(Weight::from_parts(0, 10680)) - // Standard Error: 8_218 - .saturating_add(Weight::from_parts(3_341_772, 0).saturating_mul(s.into())) + // Standard Error: 8_735 + .saturating_add(Weight::from_parts(3_260_648, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -92,13 +91,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 2]`. fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `101 + p * (124 ±0)` + // Measured: `100 + p * (124 ±0)` // Estimated: `10680` - // Minimum execution time: 6_930_000 picoseconds. - Weight::from_parts(7_395_744, 0) + // Minimum execution time: 6_720_000 picoseconds. + Weight::from_parts(7_251_080, 0) .saturating_add(Weight::from_parts(0, 10680)) - // Standard Error: 12_933 - .saturating_add(Weight::from_parts(2_065_283, 0).saturating_mul(p.into())) + // Standard Error: 9_354 + .saturating_add(Weight::from_parts(2_033_971, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -113,15 +112,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 2]`. fn clear_identity(r: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `6887 + r * (5 ±0) + s * (124 ±0)` + // Measured: `6886 + r * (5 ±0) + s * (124 ±0)` // Estimated: `10680` - // Minimum execution time: 50_130_000 picoseconds. - Weight::from_parts(50_345_339, 0) + // Minimum execution time: 44_640_000 picoseconds. + Weight::from_parts(46_291_053, 0) .saturating_add(Weight::from_parts(0, 10680)) - // Standard Error: 19_295 - .saturating_add(Weight::from_parts(482_369, 0).saturating_mul(r.into())) - // Standard Error: 19_295 - .saturating_add(Weight::from_parts(2_170_805, 0).saturating_mul(s.into())) + // Standard Error: 19_500 + .saturating_add(Weight::from_parts(269_645, 0).saturating_mul(r.into())) + // Standard Error: 19_500 + .saturating_add(Weight::from_parts(2_062_698, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(s.into()))) } @@ -132,41 +131,41 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 3]`. fn request_judgement(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `6966 + r * (58 ±0)` + // Measured: `6965 + r * (58 ±0)` // Estimated: `10680` - // Minimum execution time: 68_730_000 picoseconds. - Weight::from_parts(70_061_284, 0) + // Minimum execution time: 69_021_000 picoseconds. + Weight::from_parts(70_637_997, 0) .saturating_add(Weight::from_parts(0, 10680)) - // Standard Error: 23_372 - .saturating_add(Weight::from_parts(196_025, 0).saturating_mul(r.into())) + // Standard Error: 21_973 + .saturating_add(Weight::from_parts(203_043, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Identity::IdentityOf` (r:1 w:1) /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7215), added: 9690, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 3]`. - fn cancel_request(_r: u32, ) -> Weight { + fn cancel_request(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `6999` + // Measured: `6998` // Estimated: `10680` - // Minimum execution time: 72_080_000 picoseconds. - Weight::from_parts(73_988_697, 0) + // Minimum execution time: 71_561_000 picoseconds. + Weight::from_parts(73_521_316, 0) .saturating_add(Weight::from_parts(0, 10680)) + // Standard Error: 30_273 + .saturating_add(Weight::from_parts(156_236, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Identity::Registrars` (r:1 w:1) /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(172), added: 667, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 2]`. - fn set_fee(r: u32, ) -> Weight { + fn set_fee(_r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `89 + r * (57 ±0)` + // Measured: `88 + r * (57 ±0)` // Estimated: `1657` - // Minimum execution time: 5_280_000 picoseconds. - Weight::from_parts(5_679_253, 0) + // Minimum execution time: 4_930_000 picoseconds. + Weight::from_parts(5_394_134, 0) .saturating_add(Weight::from_parts(0, 1657)) - // Standard Error: 25_820 - .saturating_add(Weight::from_parts(25_873, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -175,13 +174,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 2]`. fn set_account_id(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `89 + r * (57 ±0)` + // Measured: `88 + r * (57 ±0)` // Estimated: `1657` - // Minimum execution time: 4_750_000 picoseconds. - Weight::from_parts(5_019_193, 0) + // Minimum execution time: 4_300_000 picoseconds. + Weight::from_parts(4_608_024, 0) .saturating_add(Weight::from_parts(0, 1657)) - // Standard Error: 19_187 - .saturating_add(Weight::from_parts(64_453, 0).saturating_mul(r.into())) + // Standard Error: 17_526 + .saturating_add(Weight::from_parts(66_987, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -190,13 +189,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 2]`. fn set_fields(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `89 + r * (57 ±0)` + // Measured: `88 + r * (57 ±0)` // Estimated: `1657` - // Minimum execution time: 4_470_000 picoseconds. - Weight::from_parts(4_915_130, 0) + // Minimum execution time: 4_280_000 picoseconds. + Weight::from_parts(4_600_659, 0) .saturating_add(Weight::from_parts(0, 1657)) - // Standard Error: 17_658 - .saturating_add(Weight::from_parts(434, 0).saturating_mul(r.into())) + // Standard Error: 17_573 + .saturating_add(Weight::from_parts(66_220, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -207,13 +206,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 2]`. fn provide_judgement(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `7046 + r * (57 ±0)` + // Measured: `7045 + r * (57 ±0)` // Estimated: `10680` - // Minimum execution time: 94_070_000 picoseconds. - Weight::from_parts(95_967_553, 0) + // Minimum execution time: 87_501_000 picoseconds. + Weight::from_parts(84_905_451, 0) .saturating_add(Weight::from_parts(0, 10680)) - // Standard Error: 96_804 - .saturating_add(Weight::from_parts(316_773, 0).saturating_mul(r.into())) + // Standard Error: 105_588 + .saturating_add(Weight::from_parts(4_450_124, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -229,15 +228,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 2]`. fn kill_identity(r: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `7130 + r * (5 ±0) + s * (124 ±0)` + // Measured: `7129 + r * (5 ±0) + s * (124 ±0)` // Estimated: `10680` - // Minimum execution time: 58_730_000 picoseconds. - Weight::from_parts(58_571_387, 0) + // Minimum execution time: 55_800_000 picoseconds. + Weight::from_parts(55_999_794, 0) .saturating_add(Weight::from_parts(0, 10680)) - // Standard Error: 27_483 - .saturating_add(Weight::from_parts(766_911, 0).saturating_mul(r.into())) - // Standard Error: 27_483 - .saturating_add(Weight::from_parts(2_266_249, 0).saturating_mul(s.into())) + // Standard Error: 22_851 + .saturating_add(Weight::from_parts(564_960, 0).saturating_mul(r.into())) + // Standard Error: 22_851 + .saturating_add(Weight::from_parts(2_208_880, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(s.into()))) @@ -251,13 +250,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 1]`. fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `101 + s * (216 ±0)` + // Measured: `100 + s * (216 ±0)` // Estimated: `10680` - // Minimum execution time: 11_450_000 picoseconds. - Weight::from_parts(12_126_251, 0) + // Minimum execution time: 10_750_000 picoseconds. + Weight::from_parts(11_405_397, 0) .saturating_add(Weight::from_parts(0, 10680)) - // Standard Error: 42_896 - .saturating_add(Weight::from_parts(2_838_748, 0).saturating_mul(s.into())) + // Standard Error: 37_456 + .saturating_add(Weight::from_parts(2_813_602, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -268,13 +267,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 2]`. fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `238 + s * (37 ±0)` + // Measured: `237 + s * (37 ±0)` // Estimated: `10680` - // Minimum execution time: 9_730_000 picoseconds. - Weight::from_parts(9_498_114, 0) + // Minimum execution time: 9_360_000 picoseconds. + Weight::from_parts(9_128_724, 0) .saturating_add(Weight::from_parts(0, 10680)) - // Standard Error: 29_870 - .saturating_add(Weight::from_parts(793_442, 0).saturating_mul(s.into())) + // Standard Error: 29_582 + .saturating_add(Weight::from_parts(769_687, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -287,13 +286,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 2]`. fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `284 + s * (70 ±0)` + // Measured: `283 + s * (70 ±0)` // Estimated: `10680` - // Minimum execution time: 14_760_000 picoseconds. - Weight::from_parts(14_536_673, 0) + // Minimum execution time: 13_780_000 picoseconds. + Weight::from_parts(13_595_093, 0) .saturating_add(Weight::from_parts(0, 10680)) - // Standard Error: 44_243 - .saturating_add(Weight::from_parts(995_663, 0).saturating_mul(s.into())) + // Standard Error: 43_152 + .saturating_add(Weight::from_parts(965_553, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -304,13 +303,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 1]`. fn quit_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `294 + s * (70 ±0)` + // Measured: `293 + s * (70 ±0)` // Estimated: `3586` - // Minimum execution time: 12_200_000 picoseconds. - Weight::from_parts(13_006_289, 0) + // Minimum execution time: 11_620_000 picoseconds. + Weight::from_parts(12_259_695, 0) .saturating_add(Weight::from_parts(0, 3586)) - // Standard Error: 44_394 - .saturating_add(Weight::from_parts(837_710, 0).saturating_mul(s.into())) + // Standard Error: 37_807 + .saturating_add(Weight::from_parts(743_404, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -320,8 +319,8 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_120_000 picoseconds. - Weight::from_parts(5_250_000, 0) + // Minimum execution time: 4_040_000 picoseconds. + Weight::from_parts(4_390_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -329,10 +328,10 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn remove_username_authority() -> Weight { // Proof Size summary in bytes: - // Measured: `80` + // Measured: `79` // Estimated: `3534` - // Minimum execution time: 8_180_000 picoseconds. - Weight::from_parts(8_490_000, 0) + // Minimum execution time: 7_190_000 picoseconds. + Weight::from_parts(7_510_000, 0) .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -347,10 +346,10 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7215), added: 9690, mode: `MaxEncodedLen`) fn set_username_for() -> Weight { // Proof Size summary in bytes: - // Measured: `80` + // Measured: `79` // Estimated: `10680` - // Minimum execution time: 56_560_000 picoseconds. - Weight::from_parts(58_170_000, 0) + // Minimum execution time: 54_251_000 picoseconds. + Weight::from_parts(55_760_000, 0) .saturating_add(Weight::from_parts(0, 10680)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -363,10 +362,10 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) fn accept_username() -> Weight { // Proof Size summary in bytes: - // Measured: `115` + // Measured: `114` // Estimated: `10680` - // Minimum execution time: 17_270_000 picoseconds. - Weight::from_parts(17_770_000, 0) + // Minimum execution time: 15_610_000 picoseconds. + Weight::from_parts(16_160_000, 0) .saturating_add(Weight::from_parts(0, 10680)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -375,10 +374,10 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn remove_expired_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `115` + // Measured: `114` // Estimated: `3550` - // Minimum execution time: 8_610_000 picoseconds. - Weight::from_parts(9_030_000, 0) + // Minimum execution time: 8_040_000 picoseconds. + Weight::from_parts(8_280_000, 0) .saturating_add(Weight::from_parts(0, 3550)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -389,10 +388,10 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7215), added: 9690, mode: `MaxEncodedLen`) fn set_primary_username() -> Weight { // Proof Size summary in bytes: - // Measured: `257` + // Measured: `256` // Estimated: `10680` - // Minimum execution time: 13_930_000 picoseconds. - Weight::from_parts(14_390_000, 0) + // Minimum execution time: 13_340_000 picoseconds. + Weight::from_parts(13_780_000, 0) .saturating_add(Weight::from_parts(0, 10680)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -403,10 +402,10 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7215), added: 9690, mode: `MaxEncodedLen`) fn remove_dangling_username() -> Weight { // Proof Size summary in bytes: - // Measured: `98` + // Measured: `97` // Estimated: `10680` - // Minimum execution time: 9_690_000 picoseconds. - Weight::from_parts(9_890_000, 0) + // Minimum execution time: 8_960_000 picoseconds. + Weight::from_parts(9_260_000, 0) .saturating_add(Weight::from_parts(0, 10680)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtimes/polimec/src/weights/pallet_linear_release.rs b/runtimes/polimec/src/weights/pallet_linear_release.rs new file mode 100644 index 000000000..bc0a8be98 --- /dev/null +++ b/runtimes/polimec/src/weights/pallet_linear_release.rs @@ -0,0 +1,255 @@ + +//! Autogenerated weights for `pallet_linear_release` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 + +// Executed Command: +// ./target/production/polimec-node +// benchmark +// pallet +// --chain=polimec-paseo-local +// --wasm-execution=compiled +// --pallet=pallet_linear_release +// --extrinsic=* +// --steps=50 +// --repeat=20 +// --output=./runtimes/polimec/src/weights/pallet_linear_release.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_linear_release`. +pub struct WeightInfo(PhantomData); +impl pallet_linear_release::WeightInfo for WeightInfo { + /// Storage: `LinearRelease::Vesting` (r:1 w:1) + /// Proof: `LinearRelease::Vesting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 9]`. + /// The range of component `s` is `[1, 99]`. + fn vest_locked(l: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `153 + s * (36 ±0)` + // Estimated: `3640 + s * (36 ±0)` + // Minimum execution time: 25_070_000 picoseconds. + Weight::from_parts(25_570_064, 0) + .saturating_add(Weight::from_parts(0, 3640)) + // Standard Error: 3_841 + .saturating_add(Weight::from_parts(52_917, 0).saturating_mul(l.into())) + // Standard Error: 374 + .saturating_add(Weight::from_parts(65_131, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(s.into())) + } + /// Storage: `LinearRelease::Vesting` (r:1 w:1) + /// Proof: `LinearRelease::Vesting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 9]`. + /// The range of component `s` is `[1, 99]`. + fn vest_unlocked(l: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `153 + s * (36 ±0)` + // Estimated: `3640 + s * (36 ±0)` + // Minimum execution time: 32_930_000 picoseconds. + Weight::from_parts(33_781_704, 0) + .saturating_add(Weight::from_parts(0, 3640)) + // Standard Error: 4_508 + .saturating_add(Weight::from_parts(27_988, 0).saturating_mul(l.into())) + // Standard Error: 440 + .saturating_add(Weight::from_parts(59_104, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(s.into())) + } + /// Storage: `LinearRelease::Vesting` (r:1 w:1) + /// Proof: `LinearRelease::Vesting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 9]`. + /// The range of component `s` is `[1, 99]`. + fn vest_other_locked(l: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `256 + s * (36 ±0)` + // Estimated: `3722 + s * (36 ±0)` + // Minimum execution time: 27_190_000 picoseconds. + Weight::from_parts(28_282_337, 0) + .saturating_add(Weight::from_parts(0, 3722)) + // Standard Error: 4_314 + .saturating_add(Weight::from_parts(22_037, 0).saturating_mul(l.into())) + // Standard Error: 421 + .saturating_add(Weight::from_parts(63_400, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(s.into())) + } + /// Storage: `LinearRelease::Vesting` (r:1 w:1) + /// Proof: `LinearRelease::Vesting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 9]`. + /// The range of component `s` is `[1, 99]`. + fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `256 + s * (36 ±0)` + // Estimated: `3722 + s * (36 ±0)` + // Minimum execution time: 35_700_000 picoseconds. + Weight::from_parts(36_492_467, 0) + .saturating_add(Weight::from_parts(0, 3722)) + // Standard Error: 4_674 + .saturating_add(Weight::from_parts(16_280, 0).saturating_mul(l.into())) + // Standard Error: 456 + .saturating_add(Weight::from_parts(55_882, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(s.into())) + } + /// Storage: `LinearRelease::Vesting` (r:1 w:1) + /// Proof: `LinearRelease::Vesting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 9]`. + /// The range of component `s` is `[1, 99]`. + fn vested_transfer(l: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `293 + s * (36 ±0)` + // Estimated: `3759 + s * (36 ±0)` + // Minimum execution time: 54_480_000 picoseconds. + Weight::from_parts(56_200_070, 0) + .saturating_add(Weight::from_parts(0, 3759)) + // Standard Error: 5_168 + .saturating_add(Weight::from_parts(30_598, 0).saturating_mul(l.into())) + // Standard Error: 504 + .saturating_add(Weight::from_parts(68_584, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(s.into())) + } + /// Storage: `LinearRelease::Vesting` (r:1 w:1) + /// Proof: `LinearRelease::Vesting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 9]`. + /// The range of component `s` is `[1, 99]`. + fn force_vested_transfer(_l: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `433 + s * (36 ±0)` + // Estimated: `6196 + s * (36 ±0)` + // Minimum execution time: 57_461_000 picoseconds. + Weight::from_parts(59_120_635, 0) + .saturating_add(Weight::from_parts(0, 6196)) + // Standard Error: 524 + .saturating_add(Weight::from_parts(70_763, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(s.into())) + } + /// Storage: `LinearRelease::Vesting` (r:1 w:1) + /// Proof: `LinearRelease::Vesting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 9]`. + /// The range of component `s` is `[2, 100]`. + fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `256 + s * (36 ±0)` + // Estimated: `3720 + s * (36 ±0)` + // Minimum execution time: 28_140_000 picoseconds. + Weight::from_parts(28_577_300, 0) + .saturating_add(Weight::from_parts(0, 3720)) + // Standard Error: 4_534 + .saturating_add(Weight::from_parts(23_143, 0).saturating_mul(l.into())) + // Standard Error: 442 + .saturating_add(Weight::from_parts(68_391, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(s.into())) + } + /// Storage: `LinearRelease::Vesting` (r:1 w:1) + /// Proof: `LinearRelease::Vesting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 9]`. + /// The range of component `s` is `[2, 100]`. + fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `256 + s * (36 ±0)` + // Estimated: `3720 + s * (36 ±0)` + // Minimum execution time: 36_410_000 picoseconds. + Weight::from_parts(37_693_018, 0) + .saturating_add(Weight::from_parts(0, 3720)) + // Standard Error: 5_007 + .saturating_add(Weight::from_parts(39_577, 0).saturating_mul(l.into())) + // Standard Error: 488 + .saturating_add(Weight::from_parts(66_480, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(s.into())) + } + /// Storage: `LinearRelease::Vesting` (r:2 w:1) + /// Proof: `LinearRelease::Vesting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 9]`. + /// The range of component `s` is `[1, 99]`. + fn vest_all(l: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `228 + s * (36 ±0)` + // Estimated: `6169 + s * (36 ±0)` + // Minimum execution time: 30_090_000 picoseconds. + Weight::from_parts(31_131_478, 0) + .saturating_add(Weight::from_parts(0, 6169)) + // Standard Error: 5_503 + .saturating_add(Weight::from_parts(48_646, 0).saturating_mul(l.into())) + // Standard Error: 537 + .saturating_add(Weight::from_parts(80_710, 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, 36).saturating_mul(s.into())) + } + /// Storage: `LinearRelease::Vesting` (r:2 w:1) + /// Proof: `LinearRelease::Vesting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 9]`. + /// The range of component `s` is `[1, 99]`. + fn vest_all_other(l: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `331 + s * (36 ±0)` + // Estimated: `6272 + s * (36 ±0)` + // Minimum execution time: 32_771_000 picoseconds. + Weight::from_parts(33_590_039, 0) + .saturating_add(Weight::from_parts(0, 6272)) + // Standard Error: 5_937 + .saturating_add(Weight::from_parts(19_831, 0).saturating_mul(l.into())) + // Standard Error: 579 + .saturating_add(Weight::from_parts(82_741, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(s.into())) + } +} diff --git a/runtimes/polimec/src/weights/pallet_message_queue.rs b/runtimes/polimec/src/weights/pallet_message_queue.rs index 2d9fdda17..84ee017ed 100644 --- a/runtimes/polimec/src/weights/pallet_message_queue.rs +++ b/runtimes/polimec/src/weights/pallet_message_queue.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `pallet_message_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-local")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: // ./target/production/polimec-node // benchmark // pallet -// --chain=polimec-local -// --steps=50 -// --repeat=20 +// --chain=polimec-paseo-local +// --wasm-execution=compiled // --pallet=pallet_message_queue // --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/pallet_message_queue.rs +// --steps=50 +// --repeat=20 +// --output=./runtimes/polimec/src/weights/pallet_message_queue.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -39,8 +38,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `223` // Estimated: `6044` - // Minimum execution time: 10_660_000 picoseconds. - Weight::from_parts(11_060_000, 0) + // Minimum execution time: 10_330_000 picoseconds. + Weight::from_parts(10_850_000, 0) .saturating_add(Weight::from_parts(0, 6044)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -53,8 +52,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `218` // Estimated: `6044` - // Minimum execution time: 8_910_000 picoseconds. - Weight::from_parts(9_520_000, 0) + // Minimum execution time: 8_780_000 picoseconds. + Weight::from_parts(9_280_000, 0) .saturating_add(Weight::from_parts(0, 6044)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -65,8 +64,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `6` // Estimated: `3517` - // Minimum execution time: 3_670_000 picoseconds. - Weight::from_parts(3_900_000, 0) + // Minimum execution time: 3_500_000 picoseconds. + Weight::from_parts(3_670_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -77,8 +76,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `72` // Estimated: `69050` - // Minimum execution time: 5_630_000 picoseconds. - Weight::from_parts(5_770_000, 0) + // Minimum execution time: 5_150_000 picoseconds. + Weight::from_parts(5_470_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -89,8 +88,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `72` // Estimated: `69050` - // Minimum execution time: 5_730_000 picoseconds. - Weight::from_parts(6_020_000, 0) + // Minimum execution time: 5_300_000 picoseconds. + Weight::from_parts(5_540_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -103,8 +102,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 140_610_000 picoseconds. - Weight::from_parts(150_420_000, 0) + // Minimum execution time: 159_101_000 picoseconds. + Weight::from_parts(168_701_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -116,8 +115,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `171` // Estimated: `3517` - // Minimum execution time: 6_170_000 picoseconds. - Weight::from_parts(6_400_000, 0) + // Minimum execution time: 6_171_000 picoseconds. + Weight::from_parts(6_350_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -130,8 +129,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65667` // Estimated: `69050` - // Minimum execution time: 46_350_000 picoseconds. - Weight::from_parts(47_580_000, 0) + // Minimum execution time: 39_571_000 picoseconds. + Weight::from_parts(40_351_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -144,8 +143,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65667` // Estimated: `69050` - // Minimum execution time: 62_130_000 picoseconds. - Weight::from_parts(63_500_000, 0) + // Minimum execution time: 57_450_000 picoseconds. + Weight::from_parts(58_511_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -158,8 +157,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65667` // Estimated: `69050` - // Minimum execution time: 94_020_000 picoseconds. - Weight::from_parts(95_390_000, 0) + // Minimum execution time: 101_680_000 picoseconds. + Weight::from_parts(108_071_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/polimec/src/weights/pallet_multisig.rs b/runtimes/polimec/src/weights/pallet_multisig.rs index 401f69d45..db6d7f824 100644 --- a/runtimes/polimec/src/weights/pallet_multisig.rs +++ b/runtimes/polimec/src/weights/pallet_multisig.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `pallet_multisig` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-local")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: // ./target/production/polimec-node // benchmark // pallet -// --chain=polimec-local -// --steps=50 -// --repeat=20 +// --chain=polimec-paseo-local +// --wasm-execution=compiled // --pallet=pallet_multisig // --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/pallet_multisig.rs +// --steps=50 +// --repeat=20 +// --output=./runtimes/polimec/src/weights/pallet_multisig.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -36,11 +35,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_500_000 picoseconds. - Weight::from_parts(8_000_313, 0) + // Minimum execution time: 7_090_000 picoseconds. + Weight::from_parts(7_734_191, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 2 - .saturating_add(Weight::from_parts(486, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(422, 0).saturating_mul(z.into())) } /// Storage: `Multisig::Multisigs` (r:1 w:1) /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(2194), added: 4669, mode: `MaxEncodedLen`) @@ -50,13 +49,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `269 + s * (2 ±0)` // Estimated: `5659` - // Minimum execution time: 27_230_000 picoseconds. - Weight::from_parts(22_972_801, 0) + // Minimum execution time: 27_650_000 picoseconds. + Weight::from_parts(23_609_400, 0) .saturating_add(Weight::from_parts(0, 5659)) - // Standard Error: 798 - .saturating_add(Weight::from_parts(80_322, 0).saturating_mul(s.into())) + // Standard Error: 671 + .saturating_add(Weight::from_parts(74_519, 0).saturating_mul(s.into())) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_357, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_290, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -68,13 +67,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `315` // Estimated: `5659` - // Minimum execution time: 16_770_000 picoseconds. - Weight::from_parts(13_159_196, 0) + // Minimum execution time: 16_280_000 picoseconds. + Weight::from_parts(12_962_813, 0) .saturating_add(Weight::from_parts(0, 5659)) - // Standard Error: 556 - .saturating_add(Weight::from_parts(69_160, 0).saturating_mul(s.into())) + // Standard Error: 501 + .saturating_add(Weight::from_parts(63_715, 0).saturating_mul(s.into())) // Standard Error: 3 - .saturating_add(Weight::from_parts(1_331, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_255, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -88,13 +87,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `418 + s * (33 ±0)` // Estimated: `5659` - // Minimum execution time: 31_720_000 picoseconds. - Weight::from_parts(25_599_943, 0) + // Minimum execution time: 30_360_000 picoseconds. + Weight::from_parts(25_228_951, 0) .saturating_add(Weight::from_parts(0, 5659)) - // Standard Error: 824 - .saturating_add(Weight::from_parts(109_757, 0).saturating_mul(s.into())) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_425, 0).saturating_mul(z.into())) + // Standard Error: 1_346 + .saturating_add(Weight::from_parts(100_441, 0).saturating_mul(s.into())) + // Standard Error: 8 + .saturating_add(Weight::from_parts(1_307, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -105,11 +104,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `267 + s * (2 ±0)` // Estimated: `5659` - // Minimum execution time: 21_920_000 picoseconds. - Weight::from_parts(22_578_234, 0) + // Minimum execution time: 22_090_000 picoseconds. + Weight::from_parts(22_602_978, 0) .saturating_add(Weight::from_parts(0, 5659)) - // Standard Error: 916 - .saturating_add(Weight::from_parts(76_410, 0).saturating_mul(s.into())) + // Standard Error: 744 + .saturating_add(Weight::from_parts(74_432, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -120,11 +119,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `315` // Estimated: `5659` - // Minimum execution time: 12_020_000 picoseconds. - Weight::from_parts(12_385_375, 0) + // Minimum execution time: 11_390_000 picoseconds. + Weight::from_parts(11_899_178, 0) .saturating_add(Weight::from_parts(0, 5659)) - // Standard Error: 661 - .saturating_add(Weight::from_parts(64_861, 0).saturating_mul(s.into())) + // Standard Error: 710 + .saturating_add(Weight::from_parts(58_945, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -135,11 +134,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `482 + s * (1 ±0)` // Estimated: `5659` - // Minimum execution time: 23_670_000 picoseconds. - Weight::from_parts(24_225_033, 0) + // Minimum execution time: 22_660_000 picoseconds. + Weight::from_parts(23_395_451, 0) .saturating_add(Weight::from_parts(0, 5659)) - // Standard Error: 883 - .saturating_add(Weight::from_parts(72_921, 0).saturating_mul(s.into())) + // Standard Error: 686 + .saturating_add(Weight::from_parts(68_255, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtimes/polimec/src/weights/pallet_parachain_staking.rs b/runtimes/polimec/src/weights/pallet_parachain_staking.rs index 5ae71efc1..456368e42 100644 --- a/runtimes/polimec/src/weights/pallet_parachain_staking.rs +++ b/runtimes/polimec/src/weights/pallet_parachain_staking.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `pallet_parachain_staking` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-local")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: // ./target/production/polimec-node // benchmark // pallet -// --chain=polimec-local +// --chain=polimec-paseo-local +// --wasm-execution=compiled +// --pallet=pallet_parachain_staking +// --extrinsic=* // --steps=50 // --repeat=20 -// --pallet=pallet-parachain-staking -// --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/pallet_parachain_staking.rs +// --output=./runtimes/polimec/src/weights/pallet_parachain_staking.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -35,11 +34,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_staking_expectations() -> Weight { // Proof Size summary in bytes: - // Measured: `257` - // Estimated: `1742` - // Minimum execution time: 8_920_000 picoseconds. - Weight::from_parts(9_320_000, 0) - .saturating_add(Weight::from_parts(0, 1742)) + // Measured: `324` + // Estimated: `1809` + // Minimum execution time: 8_080_000 picoseconds. + Weight::from_parts(8_420_000, 0) + .saturating_add(Weight::from_parts(0, 1809)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -49,11 +48,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_inflation() -> Weight { // Proof Size summary in bytes: - // Measured: `293` - // Estimated: `1778` - // Minimum execution time: 33_620_000 picoseconds. - Weight::from_parts(34_130_000, 0) - .saturating_add(Weight::from_parts(0, 1778)) + // Measured: `360` + // Estimated: `1845` + // Minimum execution time: 32_520_000 picoseconds. + Weight::from_parts(32_950_000, 0) + .saturating_add(Weight::from_parts(0, 1845)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -61,11 +60,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::ParachainBondInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_parachain_bond_account() -> Weight { // Proof Size summary in bytes: - // Measured: `225` - // Estimated: `1710` - // Minimum execution time: 8_920_000 picoseconds. - Weight::from_parts(9_150_000, 0) - .saturating_add(Weight::from_parts(0, 1710)) + // Measured: `292` + // Estimated: `1777` + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(8_370_000, 0) + .saturating_add(Weight::from_parts(0, 1777)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -73,11 +72,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::ParachainBondInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_parachain_bond_reserve_percent() -> Weight { // Proof Size summary in bytes: - // Measured: `225` - // Estimated: `1710` - // Minimum execution time: 8_700_000 picoseconds. - Weight::from_parts(8_910_000, 0) - .saturating_add(Weight::from_parts(0, 1710)) + // Measured: `292` + // Estimated: `1777` + // Minimum execution time: 7_990_000 picoseconds. + Weight::from_parts(8_230_000, 0) + .saturating_add(Weight::from_parts(0, 1777)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -87,11 +86,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_total_selected() -> Weight { // Proof Size summary in bytes: - // Measured: `205` - // Estimated: `1690` - // Minimum execution time: 8_700_000 picoseconds. - Weight::from_parts(9_040_000, 0) - .saturating_add(Weight::from_parts(0, 1690)) + // Measured: `272` + // Estimated: `1757` + // Minimum execution time: 8_010_000 picoseconds. + Weight::from_parts(8_410_000, 0) + .saturating_add(Weight::from_parts(0, 1757)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -99,11 +98,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::CollatorCommission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_collator_commission() -> Weight { // Proof Size summary in bytes: - // Measured: `196` - // Estimated: `1681` - // Minimum execution time: 7_910_000 picoseconds. - Weight::from_parts(8_190_000, 0) - .saturating_add(Weight::from_parts(0, 1681)) + // Measured: `263` + // Estimated: `1748` + // Minimum execution time: 7_130_000 picoseconds. + Weight::from_parts(7_470_000, 0) + .saturating_add(Weight::from_parts(0, 1748)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -115,11 +114,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_blocks_per_round() -> Weight { // Proof Size summary in bytes: - // Measured: `293` - // Estimated: `1778` - // Minimum execution time: 34_730_000 picoseconds. - Weight::from_parts(35_230_000, 0) - .saturating_add(Weight::from_parts(0, 1778)) + // Measured: `360` + // Estimated: `1845` + // Minimum execution time: 33_521_000 picoseconds. + Weight::from_parts(33_840_000, 0) + .saturating_add(Weight::from_parts(0, 1845)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -132,7 +131,7 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// Storage: `ParachainStaking::Total` (r:1 w:1) /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `ParachainStaking::TopDelegations` (r:0 w:1) @@ -142,13 +141,13 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// The range of component `x` is `[3, 1000]`. fn join_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2053 + x * (49 ±0)` - // Estimated: `5289 + x * (50 ±0)` - // Minimum execution time: 48_160_000 picoseconds. - Weight::from_parts(48_807_859, 0) - .saturating_add(Weight::from_parts(0, 5289)) - // Standard Error: 1_158 - .saturating_add(Weight::from_parts(98_382, 0).saturating_mul(x.into())) + // Measured: `2120 + x * (49 ±0)` + // Estimated: `5356 + x * (50 ±0)` + // Minimum execution time: 49_340_000 picoseconds. + Weight::from_parts(48_874_921, 0) + .saturating_add(Weight::from_parts(0, 5356)) + // Standard Error: 1_260 + .saturating_add(Weight::from_parts(95_958, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(7)) .saturating_add(Weight::from_parts(0, 50).saturating_mul(x.into())) @@ -162,13 +161,13 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// The range of component `x` is `[3, 1000]`. fn schedule_leave_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1193 + x * (48 ±0)` - // Estimated: `4577 + x * (49 ±0)` - // Minimum execution time: 15_960_000 picoseconds. - Weight::from_parts(10_515_571, 0) - .saturating_add(Weight::from_parts(0, 4577)) - // Standard Error: 1_125 - .saturating_add(Weight::from_parts(81_127, 0).saturating_mul(x.into())) + // Measured: `1260 + x * (48 ±0)` + // Estimated: `4644 + x * (49 ±0)` + // Minimum execution time: 15_360_000 picoseconds. + Weight::from_parts(9_155_653, 0) + .saturating_add(Weight::from_parts(0, 4644)) + // Standard Error: 1_277 + .saturating_add(Weight::from_parts(80_365, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 49).saturating_mul(x.into())) @@ -182,7 +181,7 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Storage: `ParachainStaking::DelegatorState` (r:349 w:349) /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Balances::Holds` (r:350 w:350) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:350 w:350) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) @@ -196,18 +195,18 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// The range of component `x` is `[2, 350]`. fn execute_leave_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `397 + x * (520 ±0)` - // Estimated: `5096 + x * (3424 ±0)` - // Minimum execution time: 95_430_000 picoseconds. - Weight::from_parts(96_480_000, 0) - .saturating_add(Weight::from_parts(0, 5096)) - // Standard Error: 83_649 - .saturating_add(Weight::from_parts(39_568_564, 0).saturating_mul(x.into())) + // Measured: `468 + x * (520 ±0)` + // Estimated: `5163 + x * (2969 ±0)` + // Minimum execution time: 98_191_000 picoseconds. + Weight::from_parts(98_990_000, 0) + .saturating_add(Weight::from_parts(0, 5163)) + // Standard Error: 81_946 + .saturating_add(Weight::from_parts(41_889_065, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into()))) - .saturating_add(Weight::from_parts(0, 3424).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(0, 2969).saturating_mul(x.into())) } /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -216,13 +215,13 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// The range of component `x` is `[3, 1000]`. fn cancel_leave_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1113 + x * (48 ±0)` - // Estimated: `4497 + x * (49 ±0)` - // Minimum execution time: 14_450_000 picoseconds. - Weight::from_parts(8_373_790, 0) - .saturating_add(Weight::from_parts(0, 4497)) - // Standard Error: 1_167 - .saturating_add(Weight::from_parts(86_878, 0).saturating_mul(x.into())) + // Measured: `1180 + x * (48 ±0)` + // Estimated: `4564 + x * (49 ±0)` + // Minimum execution time: 13_810_000 picoseconds. + Weight::from_parts(6_943_588, 0) + .saturating_add(Weight::from_parts(0, 4564)) + // Standard Error: 1_314 + .saturating_add(Weight::from_parts(86_432, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 49).saturating_mul(x.into())) @@ -233,11 +232,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn go_offline() -> Weight { // Proof Size summary in bytes: - // Measured: `499` - // Estimated: `3964` - // Minimum execution time: 13_410_000 picoseconds. - Weight::from_parts(13_880_000, 0) - .saturating_add(Weight::from_parts(0, 3964)) + // Measured: `566` + // Estimated: `4031` + // Minimum execution time: 12_680_000 picoseconds. + Weight::from_parts(13_250_000, 0) + .saturating_add(Weight::from_parts(0, 4031)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -247,11 +246,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn go_online() -> Weight { // Proof Size summary in bytes: - // Measured: `448` - // Estimated: `3913` - // Minimum execution time: 13_140_000 picoseconds. - Weight::from_parts(13_360_000, 0) - .saturating_add(Weight::from_parts(0, 3913)) + // Measured: `515` + // Estimated: `3980` + // Minimum execution time: 12_180_000 picoseconds. + Weight::from_parts(12_890_000, 0) + .saturating_add(Weight::from_parts(0, 3980)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -262,16 +261,16 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Storage: `ParachainStaking::Total` (r:1 w:1) /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn candidate_bond_more() -> Weight { // Proof Size summary in bytes: - // Measured: `660` - // Estimated: `4414` - // Minimum execution time: 43_700_000 picoseconds. - Weight::from_parts(45_050_000, 0) - .saturating_add(Weight::from_parts(0, 4414)) + // Measured: `764` + // Estimated: `4229` + // Minimum execution time: 46_141_000 picoseconds. + Weight::from_parts(46_880_000, 0) + .saturating_add(Weight::from_parts(0, 4229)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -281,11 +280,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn schedule_candidate_bond_less() -> Weight { // Proof Size summary in bytes: - // Measured: `460` - // Estimated: `3925` - // Minimum execution time: 12_660_000 picoseconds. - Weight::from_parts(13_120_000, 0) - .saturating_add(Weight::from_parts(0, 3925)) + // Measured: `527` + // Estimated: `3992` + // Minimum execution time: 11_970_000 picoseconds. + Weight::from_parts(12_390_000, 0) + .saturating_add(Weight::from_parts(0, 3992)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -298,16 +297,16 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute_candidate_bond_less() -> Weight { // Proof Size summary in bytes: - // Measured: `819` - // Estimated: `4414` - // Minimum execution time: 44_680_000 picoseconds. - Weight::from_parts(45_881_000, 0) - .saturating_add(Weight::from_parts(0, 4414)) + // Measured: `923` + // Estimated: `4388` + // Minimum execution time: 47_250_000 picoseconds. + Weight::from_parts(48_491_000, 0) + .saturating_add(Weight::from_parts(0, 4388)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -315,11 +314,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_candidate_bond_less() -> Weight { // Proof Size summary in bytes: - // Measured: `444` - // Estimated: `3909` - // Minimum execution time: 10_450_000 picoseconds. - Weight::from_parts(10_810_000, 0) - .saturating_add(Weight::from_parts(0, 3909)) + // Measured: `511` + // Estimated: `3976` + // Minimum execution time: 9_960_000 picoseconds. + Weight::from_parts(10_370_000, 0) + .saturating_add(Weight::from_parts(0, 3976)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -334,22 +333,22 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// Storage: `ParachainStaking::Total` (r:1 w:1) /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[3, 100]`. /// The range of component `y` is `[2, 300]`. fn delegate(x: u32, y: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2445 + x * (104 ±0) + y * (52 ±0)` - // Estimated: `5622 + x * (106 ±0) + y * (53 ±0)` - // Minimum execution time: 77_190_000 picoseconds. - Weight::from_parts(72_320_913, 0) - .saturating_add(Weight::from_parts(0, 5622)) - // Standard Error: 1_483 - .saturating_add(Weight::from_parts(98_369, 0).saturating_mul(x.into())) - // Standard Error: 486 - .saturating_add(Weight::from_parts(58_803, 0).saturating_mul(y.into())) + // Measured: `2512 + x * (104 ±0) + y * (52 ±0)` + // Estimated: `5689 + x * (106 ±0) + y * (53 ±0)` + // Minimum execution time: 79_901_000 picoseconds. + Weight::from_parts(73_660_410, 0) + .saturating_add(Weight::from_parts(0, 5689)) + // Standard Error: 1_418 + .saturating_add(Weight::from_parts(96_002, 0).saturating_mul(x.into())) + // Standard Error: 465 + .saturating_add(Weight::from_parts(58_455, 0).saturating_mul(y.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(7)) .saturating_add(Weight::from_parts(0, 106).saturating_mul(x.into())) @@ -363,11 +362,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn schedule_leave_delegators() -> Weight { // Proof Size summary in bytes: - // Measured: `495` - // Estimated: `3960` - // Minimum execution time: 15_070_000 picoseconds. - Weight::from_parts(15_670_000, 0) - .saturating_add(Weight::from_parts(0, 3960)) + // Measured: `562` + // Estimated: `4027` + // Minimum execution time: 15_130_000 picoseconds. + Weight::from_parts(15_851_000, 0) + .saturating_add(Weight::from_parts(0, 4027)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -388,19 +387,19 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:99 w:0) /// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `x` is `[2, 100]`. fn execute_leave_delegators(x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1037 + x * (463 ±0)` - // Estimated: `4787 + x * (2860 ±0)` - // Minimum execution time: 67_410_000 picoseconds. - Weight::from_parts(4_074_707, 0) - .saturating_add(Weight::from_parts(0, 4787)) - // Standard Error: 23_516 - .saturating_add(Weight::from_parts(19_251_975, 0).saturating_mul(x.into())) + // Measured: `1104 + x * (463 ±0)` + // Estimated: `4854 + x * (2860 ±2)` + // Minimum execution time: 67_310_000 picoseconds. + Weight::from_parts(4_621_959, 0) + .saturating_add(Weight::from_parts(0, 4854)) + // Standard Error: 24_365 + .saturating_add(Weight::from_parts(18_846_066, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -413,11 +412,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_leave_delegators() -> Weight { // Proof Size summary in bytes: - // Measured: `620` - // Estimated: `4085` - // Minimum execution time: 17_110_000 picoseconds. - Weight::from_parts(17_650_000, 0) - .saturating_add(Weight::from_parts(0, 4085)) + // Measured: `687` + // Estimated: `4152` + // Minimum execution time: 16_680_000 picoseconds. + Weight::from_parts(17_250_000, 0) + .saturating_add(Weight::from_parts(0, 4152)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -429,11 +428,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn schedule_revoke_delegation() -> Weight { // Proof Size summary in bytes: - // Measured: `495` - // Estimated: `3960` - // Minimum execution time: 15_210_000 picoseconds. - Weight::from_parts(15_950_000, 0) - .saturating_add(Weight::from_parts(0, 3960)) + // Measured: `562` + // Estimated: `4027` + // Minimum execution time: 14_920_000 picoseconds. + Weight::from_parts(15_380_000, 0) + .saturating_add(Weight::from_parts(0, 4027)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -444,7 +443,7 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) @@ -455,11 +454,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn delegator_bond_more() -> Weight { // Proof Size summary in bytes: - // Measured: `1048` - // Estimated: `4513` - // Minimum execution time: 59_760_000 picoseconds. - Weight::from_parts(61_480_000, 0) - .saturating_add(Weight::from_parts(0, 4513)) + // Measured: `1115` + // Estimated: `4580` + // Minimum execution time: 62_931_000 picoseconds. + Weight::from_parts(64_050_000, 0) + .saturating_add(Weight::from_parts(0, 4580)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -471,11 +470,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn schedule_delegator_bond_less() -> Weight { // Proof Size summary in bytes: - // Measured: `495` - // Estimated: `3960` - // Minimum execution time: 15_250_000 picoseconds. - Weight::from_parts(16_010_000, 0) - .saturating_add(Weight::from_parts(0, 3960)) + // Measured: `562` + // Estimated: `4027` + // Minimum execution time: 14_720_000 picoseconds. + Weight::from_parts(15_270_000, 0) + .saturating_add(Weight::from_parts(0, 4027)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -486,7 +485,7 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Storage: `ParachainStaking::Round` (r:1 w:0) /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:0) @@ -501,11 +500,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute_revoke_delegation() -> Weight { // Proof Size summary in bytes: - // Measured: `1322` - // Estimated: `4787` - // Minimum execution time: 68_470_000 picoseconds. - Weight::from_parts(70_320_000, 0) - .saturating_add(Weight::from_parts(0, 4787)) + // Measured: `1389` + // Estimated: `4854` + // Minimum execution time: 67_571_000 picoseconds. + Weight::from_parts(69_880_000, 0) + .saturating_add(Weight::from_parts(0, 4854)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -518,7 +517,7 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) @@ -529,11 +528,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute_delegator_bond_less() -> Weight { // Proof Size summary in bytes: - // Measured: `1276` - // Estimated: `4741` - // Minimum execution time: 61_861_000 picoseconds. - Weight::from_parts(62_760_000, 0) - .saturating_add(Weight::from_parts(0, 4741)) + // Measured: `1343` + // Estimated: `4808` + // Minimum execution time: 64_570_000 picoseconds. + Weight::from_parts(66_250_000, 0) + .saturating_add(Weight::from_parts(0, 4808)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -543,11 +542,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_revoke_delegation() -> Weight { // Proof Size summary in bytes: - // Measured: `620` - // Estimated: `4085` - // Minimum execution time: 15_290_000 picoseconds. - Weight::from_parts(15_810_000, 0) - .saturating_add(Weight::from_parts(0, 4085)) + // Measured: `687` + // Estimated: `4152` + // Minimum execution time: 14_920_000 picoseconds. + Weight::from_parts(15_630_000, 0) + .saturating_add(Weight::from_parts(0, 4152)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -557,11 +556,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_delegator_bond_less() -> Weight { // Proof Size summary in bytes: - // Measured: `686` - // Estimated: `4151` - // Minimum execution time: 15_430_000 picoseconds. - Weight::from_parts(16_050_000, 0) - .saturating_add(Weight::from_parts(0, 4151)) + // Measured: `753` + // Estimated: `4218` + // Minimum execution time: 15_120_000 picoseconds. + Weight::from_parts(15_810_000, 0) + .saturating_add(Weight::from_parts(0, 4218)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -577,11 +576,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::DelayedPayouts` (`max_values`: None, `max_size`: None, mode: `Measured`) fn prepare_staking_payouts() -> Weight { // Proof Size summary in bytes: - // Measured: `344` - // Estimated: `3809` - // Minimum execution time: 11_810_000 picoseconds. - Weight::from_parts(12_210_000, 0) - .saturating_add(Weight::from_parts(0, 3809)) + // Measured: `411` + // Estimated: `3876` + // Minimum execution time: 11_530_000 picoseconds. + Weight::from_parts(11_891_000, 0) + .saturating_add(Weight::from_parts(0, 3876)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -592,13 +591,13 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// The range of component `y` is `[0, 100]`. fn get_rewardable_delegators(y: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `365 + y * (48 ±0)` - // Estimated: `3829 + y * (48 ±0)` - // Minimum execution time: 7_530_000 picoseconds. - Weight::from_parts(8_117_569, 0) - .saturating_add(Weight::from_parts(0, 3829)) - // Standard Error: 356 - .saturating_add(Weight::from_parts(39_577, 0).saturating_mul(y.into())) + // Measured: `432 + y * (48 ±0)` + // Estimated: `3896 + y * (48 ±0)` + // Minimum execution time: 7_460_000 picoseconds. + Weight::from_parts(8_069_065, 0) + .saturating_add(Weight::from_parts(0, 3896)) + // Standard Error: 338 + .saturating_add(Weight::from_parts(36_811, 0).saturating_mul(y.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(y.into())) } @@ -623,14 +622,14 @@ impl pallet_parachain_staking::WeightInfo for WeightInf fn select_top_candidates(x: u32, y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + x * (5059 ±0) + y * (2400 ±0)` - // Estimated: `8898 + x * (4298 ±54) + y * (852 ±27)` - // Minimum execution time: 8_420_000 picoseconds. - Weight::from_parts(8_580_000, 0) - .saturating_add(Weight::from_parts(0, 8898)) - // Standard Error: 71_035 - .saturating_add(Weight::from_parts(14_115_883, 0).saturating_mul(x.into())) - // Standard Error: 35_423 - .saturating_add(Weight::from_parts(1_049_957, 0).saturating_mul(y.into())) + // Estimated: `8965 + x * (4298 ±54) + y * (852 ±27)` + // Minimum execution time: 7_990_000 picoseconds. + Weight::from_parts(8_200_000, 0) + .saturating_add(Weight::from_parts(0, 8965)) + // Standard Error: 70_579 + .saturating_add(Weight::from_parts(13_593_953, 0).saturating_mul(x.into())) + // Standard Error: 35_195 + .saturating_add(Weight::from_parts(1_000_799, 0).saturating_mul(y.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -651,13 +650,13 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// The range of component `y` is `[0, 300]`. fn pay_one_collator_reward(y: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `874 + y * (49 ±0)` - // Estimated: `6822 + y * (50 ±0)` - // Minimum execution time: 24_250_000 picoseconds. - Weight::from_parts(47_691_646, 0) - .saturating_add(Weight::from_parts(0, 6822)) - // Standard Error: 8_467 - .saturating_add(Weight::from_parts(1_540_122, 0).saturating_mul(y.into())) + // Measured: `941 + y * (49 ±0)` + // Estimated: `6886 + y * (50 ±0)` + // Minimum execution time: 24_530_000 picoseconds. + Weight::from_parts(43_157_478, 0) + .saturating_add(Weight::from_parts(0, 6886)) + // Standard Error: 7_767 + .saturating_add(Weight::from_parts(1_545_269, 0).saturating_mul(y.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 50).saturating_mul(y.into())) @@ -666,11 +665,11 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `ParachainStaking::Round` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn base_on_initialize() -> Weight { // Proof Size summary in bytes: - // Measured: `347` - // Estimated: `1832` - // Minimum execution time: 4_030_000 picoseconds. - Weight::from_parts(4_170_000, 0) - .saturating_add(Weight::from_parts(0, 1832)) + // Measured: `414` + // Estimated: `1899` + // Minimum execution time: 3_950_000 picoseconds. + Weight::from_parts(4_100_000, 0) + .saturating_add(Weight::from_parts(0, 1899)) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) @@ -681,15 +680,15 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// The range of component `y` is `[0, 100]`. fn set_auto_compound(x: u32, y: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1006 + x * (34 ±0) + y * (48 ±0)` - // Estimated: `4348 + x * (35 ±0) + y * (49 ±0)` - // Minimum execution time: 21_720_000 picoseconds. - Weight::from_parts(21_886_784, 0) - .saturating_add(Weight::from_parts(0, 4348)) - // Standard Error: 294 - .saturating_add(Weight::from_parts(34_446, 0).saturating_mul(x.into())) - // Standard Error: 880 - .saturating_add(Weight::from_parts(27_524, 0).saturating_mul(y.into())) + // Measured: `1073 + x * (34 ±0) + y * (48 ±0)` + // Estimated: `4415 + x * (35 ±0) + y * (49 ±0)` + // Minimum execution time: 20_950_000 picoseconds. + Weight::from_parts(21_814_717, 0) + .saturating_add(Weight::from_parts(0, 4415)) + // Standard Error: 260 + .saturating_add(Weight::from_parts(30_633, 0).saturating_mul(x.into())) + // Standard Error: 780 + .saturating_add(Weight::from_parts(21_130, 0).saturating_mul(y.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 35).saturating_mul(x.into())) @@ -706,7 +705,7 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1) /// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) /// Storage: `ParachainStaking::Total` (r:1 w:1) /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) @@ -719,16 +718,16 @@ impl pallet_parachain_staking::WeightInfo for WeightInf fn delegate_with_auto_compound(x: u32, y: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + x * (82 ±0) + y * (33 ±0) + z * (61 ±0)` - // Estimated: `15332 + x * (84 ±0) + y * (44 ±0) + z * (54 ±0)` - // Minimum execution time: 83_700_000 picoseconds. - Weight::from_parts(68_707_864, 0) - .saturating_add(Weight::from_parts(0, 15332)) - // Standard Error: 746 - .saturating_add(Weight::from_parts(28_447, 0).saturating_mul(x.into())) - // Standard Error: 746 - .saturating_add(Weight::from_parts(34_460, 0).saturating_mul(y.into())) - // Standard Error: 2_603 - .saturating_add(Weight::from_parts(121_485, 0).saturating_mul(z.into())) + // Estimated: `15399 + x * (84 ±0) + y * (44 ±0) + z * (54 ±2)` + // Minimum execution time: 85_200_000 picoseconds. + Weight::from_parts(73_017_192, 0) + .saturating_add(Weight::from_parts(0, 15399)) + // Standard Error: 729 + .saturating_add(Weight::from_parts(22_980, 0).saturating_mul(x.into())) + // Standard Error: 729 + .saturating_add(Weight::from_parts(30_661, 0).saturating_mul(y.into())) + // Standard Error: 2_545 + .saturating_add(Weight::from_parts(106_185, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(8)) .saturating_add(Weight::from_parts(0, 84).saturating_mul(x.into())) @@ -739,10 +738,10 @@ impl pallet_parachain_staking::WeightInfo for WeightInf /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn mint_collator_reward() -> Weight { // Proof Size summary in bytes: - // Measured: `281` + // Measured: `318` // Estimated: `6196` - // Minimum execution time: 31_920_000 picoseconds. - Weight::from_parts(32_480_000, 0) + // Minimum execution time: 32_410_000 picoseconds. + Weight::from_parts(33_530_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtimes/polimec/src/weights/pallet_preimage.rs b/runtimes/polimec/src/weights/pallet_preimage.rs index 1fe202c61..b0889be3c 100644 --- a/runtimes/polimec/src/weights/pallet_preimage.rs +++ b/runtimes/polimec/src/weights/pallet_preimage.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `pallet_preimage` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-local")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: // ./target/production/polimec-node // benchmark // pallet -// --chain=polimec-local -// --steps=50 -// --repeat=20 +// --chain=polimec-paseo-local +// --wasm-execution=compiled // --pallet=pallet_preimage // --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/pallet_preimage.rs +// --steps=50 +// --repeat=20 +// --output=./runtimes/polimec/src/weights/pallet_preimage.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -36,19 +35,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(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, 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: `135` - // Estimated: `4414` - // Minimum execution time: 38_290_000 picoseconds. - Weight::from_parts(161_037_588, 0) - .saturating_add(Weight::from_parts(0, 4414)) - // Standard Error: 12 - .saturating_add(Weight::from_parts(1_821, 0).saturating_mul(s.into())) + // Measured: `42` + // Estimated: `3640` + // Minimum execution time: 37_480_000 picoseconds. + Weight::from_parts(511_269_389, 0) + .saturating_add(Weight::from_parts(0, 3640)) + // Standard Error: 28 + .saturating_add(Weight::from_parts(1_871, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -63,11 +62,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 11_900_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 10_660_000 picoseconds. + Weight::from_parts(10_990_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_973, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(2_294, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -82,11 +81,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 11_990_000 picoseconds. - Weight::from_parts(1_776_554, 0) + // Minimum execution time: 11_120_000 picoseconds. + Weight::from_parts(11_220_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 3 - .saturating_add(Weight::from_parts(1_938, 0).saturating_mul(s.into())) + // Standard Error: 8 + .saturating_add(Weight::from_parts(2_255, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -95,16 +94,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(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, 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: `318` - // Estimated: `4414` - // Minimum execution time: 49_811_000 picoseconds. - Weight::from_parts(52_920_000, 0) - .saturating_add(Weight::from_parts(0, 4414)) + // Measured: `243` + // Estimated: `3640` + // Minimum execution time: 42_790_000 picoseconds. + Weight::from_parts(44_331_000, 0) + .saturating_add(Weight::from_parts(0, 3640)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -118,8 +117,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 26_750_000 picoseconds. - Weight::from_parts(27_830_000, 0) + // Minimum execution time: 21_110_000 picoseconds. + Weight::from_parts(22_750_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -132,8 +131,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `188` // Estimated: `3556` - // Minimum execution time: 20_590_000 picoseconds. - Weight::from_parts(22_080_000, 0) + // Minimum execution time: 16_690_000 picoseconds. + Weight::from_parts(17_500_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -146,8 +145,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 16_210_000 picoseconds. - Weight::from_parts(17_560_000, 0) + // Minimum execution time: 13_580_000 picoseconds. + Weight::from_parts(14_920_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -160,8 +159,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3556` - // Minimum execution time: 12_880_000 picoseconds. - Weight::from_parts(13_920_000, 0) + // Minimum execution time: 10_930_000 picoseconds. + Weight::from_parts(12_570_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -174,8 +173,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 9_020_000 picoseconds. - Weight::from_parts(9_890_000, 0) + // Minimum execution time: 8_540_000 picoseconds. + Weight::from_parts(8_950_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -190,8 +189,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 23_280_000 picoseconds. - Weight::from_parts(24_430_000, 0) + // Minimum execution time: 18_761_000 picoseconds. + Weight::from_parts(20_520_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -204,8 +203,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 8_770_000 picoseconds. - Weight::from_parts(9_690_000, 0) + // Minimum execution time: 8_410_000 picoseconds. + Weight::from_parts(9_060_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -218,8 +217,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 9_070_000 picoseconds. - Weight::from_parts(9_740_000, 0) + // Minimum execution time: 8_350_000 picoseconds. + Weight::from_parts(9_061_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -229,21 +228,21 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1023 w:1023) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1023 w:1023) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, 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 * (227 ±0)` - // Estimated: `990 + n * (3424 ±0)` - // Minimum execution time: 43_400_000 picoseconds. - Weight::from_parts(44_270_000, 0) + // Estimated: `990 + n * (2650 ±0)` + // Minimum execution time: 43_360_000 picoseconds. + Weight::from_parts(43_710_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 33_915 - .saturating_add(Weight::from_parts(45_440_355, 0).saturating_mul(n.into())) + // Standard Error: 31_160 + .saturating_add(Weight::from_parts(46_638_395, 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, 3424).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2650).saturating_mul(n.into())) } } diff --git a/runtimes/polimec/src/weights/pallet_proxy.rs b/runtimes/polimec/src/weights/pallet_proxy.rs index 39b79b8fb..af641e5f9 100644 --- a/runtimes/polimec/src/weights/pallet_proxy.rs +++ b/runtimes/polimec/src/weights/pallet_proxy.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `pallet_proxy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-local")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: // ./target/production/polimec-node // benchmark // pallet -// --chain=polimec-local -// --steps=50 -// --repeat=20 +// --chain=polimec-paseo-local +// --wasm-execution=compiled // --pallet=pallet_proxy // --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/pallet_proxy.rs +// --steps=50 +// --repeat=20 +// --output=./runtimes/polimec/src/weights/pallet_proxy.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -38,11 +37,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `90 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 8_640_000 picoseconds. - Weight::from_parts(9_131_743, 0) + // Minimum execution time: 8_290_000 picoseconds. + Weight::from_parts(8_743_140, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 952 - .saturating_add(Weight::from_parts(31_152, 0).saturating_mul(p.into())) + // Standard Error: 781 + .saturating_add(Weight::from_parts(36_314, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Proxy::Proxies` (r:1 w:0) @@ -57,13 +56,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `380 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 24_490_000 picoseconds. - Weight::from_parts(24_655_446, 0) + // Minimum execution time: 25_280_000 picoseconds. + Weight::from_parts(25_488_140, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_786 - .saturating_add(Weight::from_parts(140_845, 0).saturating_mul(a.into())) - // Standard Error: 1_845 - .saturating_add(Weight::from_parts(29_209, 0).saturating_mul(p.into())) + // Standard Error: 1_497 + .saturating_add(Weight::from_parts(138_960, 0).saturating_mul(a.into())) + // Standard Error: 1_547 + .saturating_add(Weight::from_parts(21_285, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -77,11 +76,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `295 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 16_040_000 picoseconds. - Weight::from_parts(16_876_555, 0) + // Minimum execution time: 16_740_000 picoseconds. + Weight::from_parts(17_658_930, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_286 - .saturating_add(Weight::from_parts(132_410, 0).saturating_mul(a.into())) + // Standard Error: 1_156 + .saturating_add(Weight::from_parts(130_132, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -95,11 +94,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `295 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 16_030_000 picoseconds. - Weight::from_parts(16_768_813, 0) + // Minimum execution time: 16_610_000 picoseconds. + Weight::from_parts(17_427_871, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_320 - .saturating_add(Weight::from_parts(137_474, 0).saturating_mul(a.into())) + // Standard Error: 1_157 + .saturating_add(Weight::from_parts(135_031, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -115,13 +114,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `312 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 22_260_000 picoseconds. - Weight::from_parts(22_297_686, 0) + // Minimum execution time: 22_910_000 picoseconds. + Weight::from_parts(23_264_471, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_217 - .saturating_add(Weight::from_parts(136_362, 0).saturating_mul(a.into())) - // Standard Error: 1_257 - .saturating_add(Weight::from_parts(27_529, 0).saturating_mul(p.into())) + // Standard Error: 1_258 + .saturating_add(Weight::from_parts(127_793, 0).saturating_mul(a.into())) + // Standard Error: 1_300 + .saturating_add(Weight::from_parts(23_036, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -132,11 +131,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `90 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 15_630_000 picoseconds. - Weight::from_parts(16_242_176, 0) + // Minimum execution time: 16_020_000 picoseconds. + Weight::from_parts(16_785_360, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 851 - .saturating_add(Weight::from_parts(36_815, 0).saturating_mul(p.into())) + // Standard Error: 835 + .saturating_add(Weight::from_parts(32_790, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -147,11 +146,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `90 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 15_630_000 picoseconds. - Weight::from_parts(16_338_540, 0) + // Minimum execution time: 15_540_000 picoseconds. + Weight::from_parts(16_459_908, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_393 - .saturating_add(Weight::from_parts(31_677, 0).saturating_mul(p.into())) + // Standard Error: 867 + .saturating_add(Weight::from_parts(40_896, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -162,11 +161,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `90 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 14_430_000 picoseconds. - Weight::from_parts(15_152_881, 0) + // Minimum execution time: 14_230_000 picoseconds. + Weight::from_parts(14_912_636, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 795 - .saturating_add(Weight::from_parts(25_997, 0).saturating_mul(p.into())) + // Standard Error: 899 + .saturating_add(Weight::from_parts(27_616, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -177,11 +176,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `102` // Estimated: `4706` - // Minimum execution time: 16_360_000 picoseconds. - Weight::from_parts(16_963_268, 0) + // Minimum execution time: 16_820_000 picoseconds. + Weight::from_parts(17_626_188, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 820 - .saturating_add(Weight::from_parts(11_111, 0).saturating_mul(p.into())) + // Standard Error: 1_184 + .saturating_add(Weight::from_parts(16_153, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -192,11 +191,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 15_150_000 picoseconds. - Weight::from_parts(15_894_902, 0) + // Minimum execution time: 14_811_000 picoseconds. + Weight::from_parts(15_583_028, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 856 - .saturating_add(Weight::from_parts(26_721, 0).saturating_mul(p.into())) + // Standard Error: 868 + .saturating_add(Weight::from_parts(23_029, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtimes/polimec/src/weights/pallet_scheduler.rs b/runtimes/polimec/src/weights/pallet_scheduler.rs index a4af1bff4..64435469c 100644 --- a/runtimes/polimec/src/weights/pallet_scheduler.rs +++ b/runtimes/polimec/src/weights/pallet_scheduler.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `pallet_scheduler` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-local")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: // ./target/production/polimec-node // benchmark // pallet -// --chain=polimec-local -// --steps=50 -// --repeat=20 +// --chain=polimec-paseo-local +// --wasm-execution=compiled // --pallet=pallet_scheduler // --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/pallet_scheduler.rs +// --steps=50 +// --repeat=20 +// --output=./runtimes/polimec/src/weights/pallet_scheduler.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -37,8 +36,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 2_830_000 picoseconds. - Weight::from_parts(3_120_000, 0) + // Minimum execution time: 2_990_000 picoseconds. + Weight::from_parts(3_170_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -50,11 +49,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 3_350_000 picoseconds. - Weight::from_parts(5_273_618, 0) + // Minimum execution time: 3_280_000 picoseconds. + Weight::from_parts(5_264_100, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_346 - .saturating_add(Weight::from_parts(719_936, 0).saturating_mul(s.into())) + // Standard Error: 903 + .saturating_add(Weight::from_parts(281_751, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -62,8 +61,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_800_000 picoseconds. - Weight::from_parts(2_930_000, 0) + // Minimum execution time: 2_120_000 picoseconds. + Weight::from_parts(2_240_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Preimage::PreimageFor` (r:1 w:1) @@ -77,11 +76,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `179 + s * (1 ±0)` // Estimated: `3644 + s * (1 ±0)` - // Minimum execution time: 14_910_000 picoseconds. - Weight::from_parts(15_190_000, 0) + // Minimum execution time: 13_680_000 picoseconds. + Weight::from_parts(13_990_000, 0) .saturating_add(Weight::from_parts(0, 3644)) // Standard Error: 0 - .saturating_add(Weight::from_parts(833, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(675, 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())) @@ -92,8 +91,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_730_000 picoseconds. - Weight::from_parts(3_920_000, 0) + // Minimum execution time: 3_050_000 picoseconds. + Weight::from_parts(3_220_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -101,24 +100,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_810_000 picoseconds. - Weight::from_parts(2_920_000, 0) + // Minimum execution time: 2_120_000 picoseconds. + Weight::from_parts(2_240_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: 1_690_000 picoseconds. - Weight::from_parts(1_810_000, 0) + // Minimum execution time: 1_430_000 picoseconds. + Weight::from_parts(1_540_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: 1_750_000 picoseconds. - Weight::from_parts(1_830_000, 0) + // Minimum execution time: 1_330_000 picoseconds. + Weight::from_parts(1_460_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Scheduler::Agenda` (r:1 w:1) @@ -128,16 +127,18 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 8_090_000 picoseconds. - Weight::from_parts(9_800_470, 0) + // Minimum execution time: 7_370_000 picoseconds. + Weight::from_parts(9_052_492, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_292 - .saturating_add(Weight::from_parts(739_693, 0).saturating_mul(s.into())) + // Standard Error: 870 + .saturating_add(Weight::from_parts(303_988, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Scheduler::Agenda` (r:1 w:1) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Lookup` (r:0 w:1) /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. @@ -145,13 +146,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 12_440_000 picoseconds. - Weight::from_parts(11_047_828, 0) + // Minimum execution time: 11_120_000 picoseconds. + Weight::from_parts(10_709_113, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_926 - .saturating_add(Weight::from_parts(1_360_086, 0).saturating_mul(s.into())) + // Standard Error: 748 + .saturating_add(Weight::from_parts(458_934, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `Scheduler::Lookup` (r:1 w:1) /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) @@ -162,11 +163,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 10_690_000 picoseconds. - Weight::from_parts(13_506_521, 0) + // Minimum execution time: 9_820_000 picoseconds. + Weight::from_parts(12_920_198, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_127 - .saturating_add(Weight::from_parts(764_464, 0).saturating_mul(s.into())) + // Standard Error: 1_825 + .saturating_add(Weight::from_parts(328_024, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -174,24 +175,96 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Agenda` (r:1 w:1) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 13_780_000 picoseconds. - Weight::from_parts(13_086_247, 0) + // Minimum execution time: 13_150_000 picoseconds. + Weight::from_parts(13_327_341, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_186 - .saturating_add(Weight::from_parts(1_382_321, 0).saturating_mul(s.into())) + // Standard Error: 876 + .saturating_add(Weight::from_parts(481_053, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + /// The range of component `s` is `[1, 50]`. + fn schedule_retry(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `118` + // Estimated: `42428` + // Minimum execution time: 7_050_000 picoseconds. + Weight::from_parts(7_457_450, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 424 + .saturating_add(Weight::from_parts(16_593, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - - // TODO: add benches - fn schedule_retry(_: u32) -> cumulus_primitives_core::Weight { Weight::zero() } - fn set_retry() -> cumulus_primitives_core::Weight { Weight::zero() } - fn set_retry_named() -> cumulus_primitives_core::Weight { Weight::zero() } - fn cancel_retry() -> cumulus_primitives_core::Weight { Weight::zero() } - fn cancel_retry_named() -> cumulus_primitives_core::Weight { Weight::zero() } + /// Storage: `Scheduler::Agenda` (r:1 w:0) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + fn set_retry() -> Weight { + // Proof Size summary in bytes: + // Measured: `8928` + // Estimated: `42428` + // Minimum execution time: 18_210_000 picoseconds. + Weight::from_parts(19_060_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Scheduler::Lookup` (r:1 w:0) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:0) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + fn set_retry_named() -> Weight { + // Proof Size summary in bytes: + // Measured: `9606` + // Estimated: `42428` + // Minimum execution time: 23_120_000 picoseconds. + Weight::from_parts(24_030_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Scheduler::Agenda` (r:1 w:0) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + fn cancel_retry() -> Weight { + // Proof Size summary in bytes: + // Measured: `8940` + // Estimated: `42428` + // Minimum execution time: 17_950_000 picoseconds. + Weight::from_parts(18_380_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Scheduler::Lookup` (r:1 w:0) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:0) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + fn cancel_retry_named() -> Weight { + // Proof Size summary in bytes: + // Measured: `9618` + // Estimated: `42428` + // Minimum execution time: 22_420_000 picoseconds. + Weight::from_parts(23_171_000, 0) + .saturating_add(Weight::from_parts(0, 42428)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } } diff --git a/runtimes/polimec/src/weights/pallet_session.rs b/runtimes/polimec/src/weights/pallet_session.rs index d4cc743ea..cbcb94a18 100644 --- a/runtimes/polimec/src/weights/pallet_session.rs +++ b/runtimes/polimec/src/weights/pallet_session.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `pallet_session` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-local")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: // ./target/production/polimec-node // benchmark // pallet -// --chain=polimec-local -// --steps=50 -// --repeat=20 +// --chain=polimec-paseo-local +// --wasm-execution=compiled // --pallet=pallet_session // --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/pallet_session.rs +// --steps=50 +// --repeat=20 +// --output=./runtimes/polimec/src/weights/pallet_session.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -37,11 +36,11 @@ impl pallet_session::WeightInfo for WeightInfo { /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `297` - // Estimated: `3762` - // Minimum execution time: 13_680_000 picoseconds. - Weight::from_parts(14_120_000, 0) - .saturating_add(Weight::from_parts(0, 3762)) + // Measured: `298` + // Estimated: `3763` + // Minimum execution time: 12_650_000 picoseconds. + Weight::from_parts(13_080_000, 0) + .saturating_add(Weight::from_parts(0, 3763)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -51,11 +50,11 @@ impl pallet_session::WeightInfo for WeightInfo { /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn purge_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `279` - // Estimated: `3744` - // Minimum execution time: 9_370_000 picoseconds. - Weight::from_parts(9_580_000, 0) - .saturating_add(Weight::from_parts(0, 3744)) + // Measured: `280` + // Estimated: `3745` + // Minimum execution time: 8_800_000 picoseconds. + Weight::from_parts(9_120_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/polimec/src/weights/pallet_timestamp.rs b/runtimes/polimec/src/weights/pallet_timestamp.rs index 412699b41..0fc3eea0a 100644 --- a/runtimes/polimec/src/weights/pallet_timestamp.rs +++ b/runtimes/polimec/src/weights/pallet_timestamp.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `pallet_timestamp` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-local")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: -// target/production/polimec-node +// ./target/production/polimec-node // benchmark // pallet -// --chain=polimec-local -// --steps=50 -// --repeat=20 +// --chain=polimec-paseo-local +// --wasm-execution=compiled // --pallet=pallet_timestamp // --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/pallet_timestamp.rs +// --steps=50 +// --repeat=20 +// --output=./runtimes/polimec/src/weights/pallet_timestamp.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -39,8 +38,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `122` // Estimated: `1493` - // Minimum execution time: 6_570_000 picoseconds. - Weight::from_parts(6_830_000, 0) + // Minimum execution time: 6_250_000 picoseconds. + Weight::from_parts(6_520_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -49,8 +48,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `94` // Estimated: `0` - // Minimum execution time: 3_680_000 picoseconds. - Weight::from_parts(3_860_000, 0) + // Minimum execution time: 3_630_000 picoseconds. + Weight::from_parts(3_800_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/runtimes/polimec/src/weights/pallet_treasury.rs b/runtimes/polimec/src/weights/pallet_treasury.rs index e9265776e..4b448e415 100644 --- a/runtimes/polimec/src/weights/pallet_treasury.rs +++ b/runtimes/polimec/src/weights/pallet_treasury.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `pallet_treasury` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-local")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: // ./target/production/polimec-node // benchmark // pallet -// --chain=polimec-local +// --chain=polimec-paseo-local +// --wasm-execution=compiled +// --pallet=pallet_treasury +// --extrinsic=* // --steps=50 // --repeat=20 -// --pallet=pallet-treasury -// --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/pallet_treasury.rs +// --output=./runtimes/polimec/src/weights/pallet_treasury.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -41,8 +40,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6` // Estimated: `1887` - // Minimum execution time: 8_060_000 picoseconds. - Weight::from_parts(8_450_000, 0) + // Minimum execution time: 7_190_000 picoseconds. + Weight::from_parts(7_680_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -55,8 +54,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `107` // Estimated: `1489` - // Minimum execution time: 17_870_000 picoseconds. - Weight::from_parts(18_350_000, 0) + // Minimum execution time: 17_620_000 picoseconds. + Weight::from_parts(18_300_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -69,8 +68,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `368` // Estimated: `6196` - // Minimum execution time: 29_290_000 picoseconds. - Weight::from_parts(30_240_000, 0) + // Minimum execution time: 27_091_000 picoseconds. + Weight::from_parts(27_981_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -84,11 +83,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `433 + p * (8 ±0)` // Estimated: `3573` - // Minimum execution time: 6_210_000 picoseconds. - Weight::from_parts(8_806_084, 0) + // Minimum execution time: 5_910_000 picoseconds. + Weight::from_parts(8_193_679, 0) .saturating_add(Weight::from_parts(0, 3573)) - // Standard Error: 1_048 - .saturating_add(Weight::from_parts(46_106, 0).saturating_mul(p.into())) + // Standard Error: 1_056 + .saturating_add(Weight::from_parts(44_329, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -98,8 +97,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `90` // Estimated: `1887` - // Minimum execution time: 4_990_000 picoseconds. - Weight::from_parts(5_140_000, 0) + // Minimum execution time: 4_630_000 picoseconds. + Weight::from_parts(4_850_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -117,11 +116,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `193 + p * (122 ±0)` // Estimated: `3593 + p * (2583 ±0)` - // Minimum execution time: 15_010_000 picoseconds. - Weight::from_parts(11_870_459, 0) + // Minimum execution time: 13_850_000 picoseconds. + Weight::from_parts(11_575_843, 0) .saturating_add(Weight::from_parts(0, 3593)) - // Standard Error: 5_692 - .saturating_add(Weight::from_parts(2_875_232, 0).saturating_mul(p.into())) + // Standard Error: 4_684 + .saturating_add(Weight::from_parts(2_765_372, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -135,8 +134,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6` // Estimated: `1489` - // Minimum execution time: 7_350_000 picoseconds. - Weight::from_parts(7_620_000, 0) + // Minimum execution time: 6_370_000 picoseconds. + Weight::from_parts(6_670_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -149,8 +148,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `227` // Estimated: `6196` - // Minimum execution time: 40_920_000 picoseconds. - Weight::from_parts(41_350_000, 0) + // Minimum execution time: 39_250_000 picoseconds. + Weight::from_parts(39_860_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -161,8 +160,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `124` // Estimated: `3534` - // Minimum execution time: 9_020_000 picoseconds. - Weight::from_parts(9_450_000, 0) + // Minimum execution time: 8_100_000 picoseconds. + Weight::from_parts(8_260_000, 0) .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -173,8 +172,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `124` // Estimated: `3534` - // Minimum execution time: 8_810_000 picoseconds. - Weight::from_parts(9_010_000, 0) + // Minimum execution time: 7_690_000 picoseconds. + Weight::from_parts(7_960_000, 0) .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtimes/polimec/src/weights/pallet_utility.rs b/runtimes/polimec/src/weights/pallet_utility.rs index 8fcadc5c0..400677e11 100644 --- a/runtimes/polimec/src/weights/pallet_utility.rs +++ b/runtimes/polimec/src/weights/pallet_utility.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `pallet_utility` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-local")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: // ./target/production/polimec-node // benchmark // pallet -// --chain=polimec-local -// --steps=50 -// --repeat=20 +// --chain=polimec-paseo-local +// --wasm-execution=compiled // --pallet=pallet_utility // --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/pallet_utility.rs +// --steps=50 +// --repeat=20 +// --output=./runtimes/polimec/src/weights/pallet_utility.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -36,18 +35,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_500_000 picoseconds. - Weight::from_parts(712_845, 0) + // Minimum execution time: 2_740_000 picoseconds. + Weight::from_parts(4_324_216, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_106 - .saturating_add(Weight::from_parts(2_934_310, 0).saturating_mul(c.into())) + // Standard Error: 1_144 + .saturating_add(Weight::from_parts(2_742_202, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_460_000 picoseconds. - Weight::from_parts(3_590_000, 0) + // Minimum execution time: 2_950_000 picoseconds. + Weight::from_parts(3_060_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -55,18 +54,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_490_000 picoseconds. - Weight::from_parts(12_107_466, 0) + // Minimum execution time: 2_830_000 picoseconds. + Weight::from_parts(5_654_671, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_564 - .saturating_add(Weight::from_parts(3_203_469, 0).saturating_mul(c.into())) + // Standard Error: 1_172 + .saturating_add(Weight::from_parts(2_917_607, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_080_000 picoseconds. - Weight::from_parts(5_310_000, 0) + // Minimum execution time: 3_990_000 picoseconds. + Weight::from_parts(4_230_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -74,10 +73,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_520_000 picoseconds. - Weight::from_parts(3_097_068, 0) + // Minimum execution time: 2_810_000 picoseconds. + Weight::from_parts(6_496_227, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_269 - .saturating_add(Weight::from_parts(2_952_322, 0).saturating_mul(c.into())) + // Standard Error: 1_624 + .saturating_add(Weight::from_parts(2_754_366, 0).saturating_mul(c.into())) } } diff --git a/runtimes/polimec/src/weights/pallet_vesting.rs b/runtimes/polimec/src/weights/pallet_vesting.rs index 90d6a6353..ea27b8de3 100644 --- a/runtimes/polimec/src/weights/pallet_vesting.rs +++ b/runtimes/polimec/src/weights/pallet_vesting.rs @@ -1,24 +1,23 @@ //! Autogenerated weights for `pallet_vesting` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-local")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 // Executed Command: // ./target/production/polimec-node // benchmark // pallet -// --chain=polimec-local -// --steps=50 -// --repeat=20 +// --chain=polimec-paseo-local +// --wasm-execution=compiled // --pallet=pallet_vesting // --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=runtimes/polimec/src/weights/pallet_vesting.rs +// --steps=50 +// --repeat=20 +// --output=./runtimes/polimec/src/weights/pallet_vesting.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -41,15 +40,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 12]`. fn vest_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `206 + l * (25 ±0) + s * (36 ±0)` + // Measured: `205 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 21_660_000 picoseconds. - Weight::from_parts(21_664_530, 0) + // Minimum execution time: 22_400_000 picoseconds. + Weight::from_parts(22_324_794, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 748 - .saturating_add(Weight::from_parts(40_175, 0).saturating_mul(l.into())) - // Standard Error: 3_170 - .saturating_add(Weight::from_parts(76_811, 0).saturating_mul(s.into())) + // Standard Error: 609 + .saturating_add(Weight::from_parts(33_033, 0).saturating_mul(l.into())) + // Standard Error: 2_583 + .saturating_add(Weight::from_parts(84_317, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -63,15 +62,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 12]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `206 + l * (25 ±0) + s * (36 ±0)` + // Measured: `205 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 23_580_000 picoseconds. - Weight::from_parts(23_617_256, 0) + // Minimum execution time: 23_520_000 picoseconds. + Weight::from_parts(23_551_194, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 907 - .saturating_add(Weight::from_parts(33_051, 0).saturating_mul(l.into())) - // Standard Error: 3_846 - .saturating_add(Weight::from_parts(88_962, 0).saturating_mul(s.into())) + // Standard Error: 714 + .saturating_add(Weight::from_parts(30_267, 0).saturating_mul(l.into())) + // Standard Error: 3_027 + .saturating_add(Weight::from_parts(79_066, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -87,15 +86,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 12]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `309 + l * (25 ±0) + s * (36 ±0)` + // Measured: `308 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 24_180_000 picoseconds. - Weight::from_parts(24_411_531, 0) + // Minimum execution time: 24_310_000 picoseconds. + Weight::from_parts(24_480_688, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 792 - .saturating_add(Weight::from_parts(34_479, 0).saturating_mul(l.into())) - // Standard Error: 3_360 - .saturating_add(Weight::from_parts(73_053, 0).saturating_mul(s.into())) + // Standard Error: 717 + .saturating_add(Weight::from_parts(33_148, 0).saturating_mul(l.into())) + // Standard Error: 3_042 + .saturating_add(Weight::from_parts(91_787, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -111,15 +110,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 12]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `309 + l * (25 ±0) + s * (36 ±0)` + // Measured: `308 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 25_980_000 picoseconds. - Weight::from_parts(25_448_039, 0) + // Minimum execution time: 25_080_000 picoseconds. + Weight::from_parts(25_574_155, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_409 - .saturating_add(Weight::from_parts(39_863, 0).saturating_mul(l.into())) - // Standard Error: 5_974 - .saturating_add(Weight::from_parts(119_644, 0).saturating_mul(s.into())) + // Standard Error: 695 + .saturating_add(Weight::from_parts(33_470, 0).saturating_mul(l.into())) + // Standard Error: 2_947 + .saturating_add(Weight::from_parts(89_151, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -135,15 +134,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 11]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `346 + l * (25 ±0) + s * (36 ±0)` + // Measured: `345 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 52_770_000 picoseconds. - Weight::from_parts(53_481_726, 0) + // Minimum execution time: 54_021_000 picoseconds. + Weight::from_parts(53_937_367, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_505 - .saturating_add(Weight::from_parts(50_106, 0).saturating_mul(l.into())) - // Standard Error: 6_382 - .saturating_add(Weight::from_parts(131_065, 0).saturating_mul(s.into())) + // Standard Error: 1_200 + .saturating_add(Weight::from_parts(48_396, 0).saturating_mul(l.into())) + // Standard Error: 5_086 + .saturating_add(Weight::from_parts(169_422, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -159,15 +158,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 11]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `449 + l * (25 ±0) + s * (36 ±0)` + // Measured: `485 + l * (25 ±0) + s * (36 ±0)` // Estimated: `6196` - // Minimum execution time: 55_050_000 picoseconds. - Weight::from_parts(55_610_977, 0) + // Minimum execution time: 56_610_000 picoseconds. + Weight::from_parts(57_273_019, 0) .saturating_add(Weight::from_parts(0, 6196)) - // Standard Error: 1_477 - .saturating_add(Weight::from_parts(47_745, 0).saturating_mul(l.into())) - // Standard Error: 6_262 - .saturating_add(Weight::from_parts(154_900, 0).saturating_mul(s.into())) + // Standard Error: 1_233 + .saturating_add(Weight::from_parts(33_843, 0).saturating_mul(l.into())) + // Standard Error: 5_229 + .saturating_add(Weight::from_parts(137_758, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -183,15 +182,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 12]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `307 + l * (25 ±0) + s * (36 ±0)` + // Measured: `306 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 24_161_000 picoseconds. - Weight::from_parts(24_386_731, 0) + // Minimum execution time: 24_750_000 picoseconds. + Weight::from_parts(24_658_804, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 859 - .saturating_add(Weight::from_parts(39_323, 0).saturating_mul(l.into())) - // Standard Error: 3_999 - .saturating_add(Weight::from_parts(97_773, 0).saturating_mul(s.into())) + // Standard Error: 663 + .saturating_add(Weight::from_parts(35_584, 0).saturating_mul(l.into())) + // Standard Error: 3_087 + .saturating_add(Weight::from_parts(86_320, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -207,15 +206,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 12]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `307 + l * (25 ±0) + s * (36 ±0)` + // Measured: `306 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 26_120_000 picoseconds. - Weight::from_parts(26_488_434, 0) + // Minimum execution time: 26_020_000 picoseconds. + Weight::from_parts(26_139_915, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 883 - .saturating_add(Weight::from_parts(39_932, 0).saturating_mul(l.into())) - // Standard Error: 4_114 - .saturating_add(Weight::from_parts(91_054, 0).saturating_mul(s.into())) + // Standard Error: 754 + .saturating_add(Weight::from_parts(38_811, 0).saturating_mul(l.into())) + // Standard Error: 3_512 + .saturating_add(Weight::from_parts(94_100, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -231,15 +230,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 12]`. fn force_remove_vesting_schedule(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `346 + l * (25 ±0) + s * (36 ±0)` + // Measured: `345 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 28_010_000 picoseconds. - Weight::from_parts(28_048_177, 0) + // Minimum execution time: 27_700_000 picoseconds. + Weight::from_parts(27_753_974, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 856 - .saturating_add(Weight::from_parts(39_788, 0).saturating_mul(l.into())) - // Standard Error: 3_986 - .saturating_add(Weight::from_parts(93_170, 0).saturating_mul(s.into())) + // Standard Error: 755 + .saturating_add(Weight::from_parts(32_855, 0).saturating_mul(l.into())) + // Standard Error: 3_516 + .saturating_add(Weight::from_parts(85_344, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtimes/polimec/src/weights/pallet_xcm.rs b/runtimes/polimec/src/weights/pallet_xcm.rs new file mode 100644 index 000000000..610aa78f8 --- /dev/null +++ b/runtimes/polimec/src/weights/pallet_xcm.rs @@ -0,0 +1,261 @@ + +//! Autogenerated weights for `pallet_xcm` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 + +// Executed Command: +// ./target/production/polimec-node +// benchmark +// pallet +// --chain=polimec-paseo-local +// --wasm-execution=compiled +// --pallet=pallet_xcm +// --extrinsic=* +// --steps=50 +// --repeat=20 +// --output=./runtimes/polimec/src/weights/pallet_xcm.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_xcm`. +pub struct WeightInfo(PhantomData); +impl pallet_xcm::WeightInfo for WeightInfo { + fn send() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_330_000 picoseconds. + Weight::from_parts(4_550_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn teleport_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)) + } + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn reserve_transfer_assets() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`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)) + } + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn execute() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn force_xcm_version() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_820_000 picoseconds. + Weight::from_parts(5_100_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } + fn force_default_xcm_version() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_510_000 picoseconds. + Weight::from_parts(1_640_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) + /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::Queries` (r:0 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn force_subscribe_version_notify() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `3465` + // Minimum execution time: 8_880_000 picoseconds. + Weight::from_parts(9_120_000, 0) + .saturating_add(Weight::from_parts(0, 3465)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::Queries` (r:0 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn force_unsubscribe_version_notify() -> Weight { + // Proof Size summary in bytes: + // Measured: `30` + // Estimated: `3495` + // Minimum execution time: 8_520_000 picoseconds. + Weight::from_parts(8_940_000, 0) + .saturating_add(Weight::from_parts(0, 3495)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) + /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn force_suspension() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_510_000 picoseconds. + Weight::from_parts(1_650_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `PolkadotXcm::SupportedVersion` (r:5 w:2) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn migrate_supported_version() -> Weight { + // Proof Size summary in bytes: + // Measured: `22` + // Estimated: `13387` + // Minimum execution time: 15_810_000 picoseconds. + Weight::from_parts(16_210_000, 0) + .saturating_add(Weight::from_parts(0, 13387)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `PolkadotXcm::VersionNotifiers` (r:5 w:2) + /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn migrate_version_notifiers() -> Weight { + // Proof Size summary in bytes: + // Measured: `26` + // Estimated: `13391` + // Minimum execution time: 15_551_000 picoseconds. + Weight::from_parts(16_020_000, 0) + .saturating_add(Weight::from_parts(0, 13391)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:0) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn already_notified_target() -> Weight { + // Proof Size summary in bytes: + // Measured: `79` + // Estimated: `15919` + // Minimum execution time: 18_171_000 picoseconds. + Weight::from_parts(18_660_000, 0) + .saturating_add(Weight::from_parts(0, 15919)) + .saturating_add(T::DbWeight::get().reads(6)) + } + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn notify_current_targets() -> Weight { + // Proof Size summary in bytes: + // Measured: `37` + // Estimated: `5977` + // Minimum execution time: 9_350_000 picoseconds. + Weight::from_parts(9_610_000, 0) + .saturating_add(Weight::from_parts(0, 5977)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:0) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn notify_target_migration_fail() -> Weight { + // Proof Size summary in bytes: + // Measured: `36` + // Estimated: `10926` + // Minimum execution time: 11_101_000 picoseconds. + Weight::from_parts(11_480_000, 0) + .saturating_add(Weight::from_parts(0, 10926)) + .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: `33` + // Estimated: `13398` + // Minimum execution time: 15_650_000 picoseconds. + Weight::from_parts(16_020_000, 0) + .saturating_add(Weight::from_parts(0, 13398)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn migrate_and_notify_old_targets() -> Weight { + // Proof Size summary in bytes: + // Measured: `37` + // Estimated: `13402` + // Minimum execution time: 17_700_000 picoseconds. + Weight::from_parts(18_060_000, 0) + .saturating_add(Weight::from_parts(0, 13402)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) + /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::Queries` (r:0 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn new_query() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 1_650_000 picoseconds. + Weight::from_parts(1_820_000, 0) + .saturating_add(Weight::from_parts(0, 1485)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `PolkadotXcm::Queries` (r:1 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn take_response() -> Weight { + // Proof Size summary in bytes: + // Measured: `7576` + // Estimated: `11041` + // Minimum execution time: 21_080_000 picoseconds. + Weight::from_parts(21_400_000, 0) + .saturating_add(Weight::from_parts(0, 11041)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// 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: `23` + // Estimated: `3488` + // Minimum execution time: 28_170_000 picoseconds. + Weight::from_parts(29_010_000, 0) + .saturating_add(Weight::from_parts(0, 3488)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } +}