From 36e4f3bf4cd2ed3e095df98098344f7e99200435 Mon Sep 17 00:00:00 2001 From: Sander Bosma Date: Thu, 1 Jun 2023 12:02:53 +0200 Subject: [PATCH] chore: testnet weights --- crates/democracy/src/benchmarking.rs | 2 +- .../src/weights/annuity_escrow_annuity.rs | 69 +-- .../src/weights/annuity_vault_annuity.rs | 61 +- .../testnet-kintsugi/src/weights/btc_relay.rs | 86 +-- .../src/weights/clients_info.rs | 44 +- .../src/weights/collator_selection.rs | 100 ++-- .../src/weights/cumulus_pallet_xcmp_queue.rs | 32 +- .../testnet-kintsugi/src/weights/democracy.rs | 293 +++++----- .../src/weights/dex_general.rs | 276 ++++----- .../src/weights/dex_stable.rs | 200 +++---- .../src/weights/dex_swap_router.rs | 26 +- .../testnet-kintsugi/src/weights/escrow.rs | 144 ++--- .../testnet-kintsugi/src/weights/farming.rs | 124 ++-- .../testnet-kintsugi/src/weights/fee.rs | 150 ++--- .../src/weights/frame_system.rs | 77 +-- .../testnet-kintsugi/src/weights/issue.rs | 202 ++++--- .../testnet-kintsugi/src/weights/loans.rs | 532 +++++++++--------- .../src/weights/nomination.rs | 312 ++++++---- .../testnet-kintsugi/src/weights/oracle.rs | 96 ++-- .../src/weights/orml_asset_registry.rs | 44 +- .../src/weights/orml_tokens.rs | 64 ++- .../src/weights/orml_vesting.rs | 50 +- .../src/weights/pallet_collective.rs | 202 +++---- .../src/weights/pallet_identity.rs | 270 ++++----- .../src/weights/pallet_membership.rs | 102 ++-- .../src/weights/pallet_multisig.rs | 118 ++-- .../src/weights/pallet_preimage.rs | 126 +++-- .../src/weights/pallet_proxy.rs | 158 +++--- .../src/weights/pallet_scheduler.rs | 134 ++--- .../src/weights/pallet_timestamp.rs | 26 +- .../src/weights/pallet_utility.rs | 54 +- .../src/weights/pallet_xcm.rs | 134 ++--- .../testnet-kintsugi/src/weights/redeem.rs | 230 +++++--- .../testnet-kintsugi/src/weights/replace.rs | 110 ++-- .../testnet-kintsugi/src/weights/security.rs | 66 +-- .../testnet-kintsugi/src/weights/supply.rs | 52 +- .../testnet-kintsugi/src/weights/tx_pause.rs | 36 +- .../src/weights/vault_registry.rs | 408 ++++++++------ 38 files changed, 2761 insertions(+), 2449 deletions(-) diff --git a/crates/democracy/src/benchmarking.rs b/crates/democracy/src/benchmarking.rs index 785a189bb4..5087fd80a4 100644 --- a/crates/democracy/src/benchmarking.rs +++ b/crates/democracy/src/benchmarking.rs @@ -242,7 +242,7 @@ pub mod benchmarks { // This measures the path of `launch_next` public. Not currently used as we simply // assume the weight is `MaxBlockWeight` when executing. - #[benchmark(extra)] + #[benchmark] pub fn on_initialize_public(r: Linear<0, 99>) -> Result<(), BenchmarkError> { for i in 0..r { add_referendum::(i); diff --git a/parachain/runtime/testnet-kintsugi/src/weights/annuity_escrow_annuity.rs b/parachain/runtime/testnet-kintsugi/src/weights/annuity_escrow_annuity.rs index 0988f5c173..71a387dafa 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/annuity_escrow_annuity.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/annuity_escrow_annuity.rs @@ -2,29 +2,29 @@ //! Autogenerated weights for annuity //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-14, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `enterprise`, CPU: `Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/interbtc-parachain +// target/release/interbtc-parachain // benchmark // pallet // --pallet -// annuity +// * // --extrinsic // * // --chain -// interlay-testnet-latest +// kintsugi-dev // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// parachain/runtime/testnet-kintsugi/src/weights +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,18 +37,15 @@ use sp_std::marker::PhantomData; /// Weights for annuity using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl annuity::WeightInfo for WeightInfo { - /// Storage: EscrowAnnuity RewardPerBlock (r:1 w:0) - /// Proof: EscrowAnnuity RewardPerBlock (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: EscrowAnnuity RewardPerWrapped (r:1 w:0) - /// Proof: EscrowAnnuity RewardPerWrapped (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - fn on_initialize() -> Weight { + + fn on_initialize () -> Weight { // Proof Size summary in bytes: - // Measured: `989` - // Estimated: `1022` - // Minimum execution time: 21_743_000 picoseconds. - Weight::from_parts(23_933_000, 1022) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 17_237_000 picoseconds. + Weight::from_parts(18_217_000, 0) } /// Storage: EscrowRewards Stake (r:1 w:0) /// Proof: EscrowRewards Stake (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) @@ -62,36 +59,30 @@ impl annuity::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn withdraw_rewards() -> Weight { + fn withdraw_rewards () -> Weight { // Proof Size summary in bytes: - // Measured: `2313` - // Estimated: `17940` - // Minimum execution time: 95_654_000 picoseconds. - Weight::from_parts(108_964_000, 17940) + // Measured: `747` + // Estimated: `23880` + // Minimum execution time: 154_871_000 picoseconds. + Weight::from_parts(171_710_000, 23880) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: Tokens Accounts (r:1 w:0) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) - /// Storage: EscrowAnnuity RewardPerBlock (r:0 w:1) - /// Proof: EscrowAnnuity RewardPerBlock (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - fn update_rewards() -> Weight { + fn update_rewards () -> Weight { // Proof Size summary in bytes: - // Measured: `1198` - // Estimated: `2590` - // Minimum execution time: 21_400_000 picoseconds. - Weight::from_parts(27_052_000, 2590) + // Measured: `319` + // Estimated: `3580` + // Minimum execution time: 27_859_000 picoseconds. + Weight::from_parts(32_587_000, 3580) .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: EscrowAnnuity RewardPerWrapped (r:0 w:1) - /// Proof: EscrowAnnuity RewardPerWrapped (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - fn set_reward_per_wrapped() -> Weight { + fn set_reward_per_wrapped () -> Weight { // Proof Size summary in bytes: - // Measured: `711` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_127_000 picoseconds. - Weight::from_parts(12_527_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 10_992_000 picoseconds. + Weight::from_parts(12_035_000, 0) } } \ No newline at end of file diff --git a/parachain/runtime/testnet-kintsugi/src/weights/annuity_vault_annuity.rs b/parachain/runtime/testnet-kintsugi/src/weights/annuity_vault_annuity.rs index 4c6d0c1667..026ee1e293 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/annuity_vault_annuity.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/annuity_vault_annuity.rs @@ -2,29 +2,29 @@ //! Autogenerated weights for annuity //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-14, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `enterprise`, CPU: `Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/interbtc-parachain +// target/release/interbtc-parachain // benchmark // pallet // --pallet -// annuity +// * // --extrinsic // * // --chain -// interlay-testnet-latest +// kintsugi-dev // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// parachain/runtime/testnet-kintsugi/src/weights +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,20 +37,17 @@ use sp_std::marker::PhantomData; /// Weights for annuity using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl annuity::WeightInfo for WeightInfo { - /// Storage: VaultAnnuity RewardPerBlock (r:1 w:0) - /// Proof: VaultAnnuity RewardPerBlock (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: VaultAnnuity RewardPerWrapped (r:1 w:0) - /// Proof: VaultAnnuity RewardPerWrapped (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - fn on_initialize() -> Weight { + + fn on_initialize () -> Weight { // Proof Size summary in bytes: - // Measured: `989` - // Estimated: `1022` - // Minimum execution time: 21_577_000 picoseconds. - Weight::from_parts(23_541_000, 1022) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 17_984_000 picoseconds. + Weight::from_parts(20_888_000, 0) } - fn withdraw_rewards() -> Weight { + fn withdraw_rewards () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` @@ -59,25 +56,19 @@ impl annuity::WeightInfo for WeightInfo { } /// Storage: Tokens Accounts (r:1 w:0) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) - /// Storage: VaultAnnuity RewardPerBlock (r:0 w:1) - /// Proof: VaultAnnuity RewardPerBlock (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - fn update_rewards() -> Weight { + fn update_rewards () -> Weight { // Proof Size summary in bytes: - // Measured: `1194` - // Estimated: `2590` - // Minimum execution time: 19_894_000 picoseconds. - Weight::from_parts(25_259_000, 2590) + // Measured: `319` + // Estimated: `3580` + // Minimum execution time: 27_434_000 picoseconds. + Weight::from_parts(28_780_000, 3580) .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: VaultAnnuity RewardPerWrapped (r:0 w:1) - /// Proof: VaultAnnuity RewardPerWrapped (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - fn set_reward_per_wrapped() -> Weight { + fn set_reward_per_wrapped () -> Weight { // Proof Size summary in bytes: - // Measured: `711` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_948_000 picoseconds. - Weight::from_parts(12_354_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 10_729_000 picoseconds. + Weight::from_parts(11_464_000, 0) } } \ No newline at end of file diff --git a/parachain/runtime/testnet-kintsugi/src/weights/btc_relay.rs b/parachain/runtime/testnet-kintsugi/src/weights/btc_relay.rs index d4a510df2f..78a522073f 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/btc_relay.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/btc_relay.rs @@ -2,29 +2,29 @@ //! Autogenerated weights for btc_relay //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-25, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `enterprise`, CPU: `Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/interbtc-parachain +// target/release/interbtc-parachain // benchmark // pallet // --pallet -// btc-relay +// * // --extrinsic // * // --chain -// kintsugi-testnet-latest +// kintsugi-dev // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// parachain/runtime/testnet-kintsugi/src/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,7 +37,9 @@ use sp_std::marker::PhantomData; /// Weights for btc_relay using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl btc_relay::WeightInfo for WeightInfo { + /// Storage: BTCRelay BestBlock (r:1 w:1) /// Proof: BTCRelay BestBlock (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) /// Storage: BTCRelay DisableDifficultyCheck (r:1 w:0) @@ -58,12 +60,12 @@ impl btc_relay::WeightInfo for WeightInfo { /// Proof: BTCRelay ChainsIndex (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: BTCRelay BlockHeaders (r:0 w:1) /// Proof: BTCRelay BlockHeaders (max_values: None, max_size: Some(200), added: 2675, mode: MaxEncodedLen) - fn initialize() -> Weight { + fn initialize () -> Weight { // Proof Size summary in bytes: - // Measured: `1449` - // Estimated: `4520` - // Minimum execution time: 58_763_000 picoseconds. - Weight::from_parts(59_663_000, 4520) + // Measured: `430` + // Estimated: `9470` + // Minimum execution time: 86_952_000 picoseconds. + Weight::from_parts(89_803_000, 9470) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -83,12 +85,12 @@ impl btc_relay::WeightInfo for WeightInfo { /// Proof: BTCRelay BestBlock (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) /// Storage: BTCRelay BestBlockHeight (r:0 w:1) /// Proof: BTCRelay BestBlockHeight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - fn store_block_header() -> Weight { + fn store_block_header () -> Weight { // Proof Size summary in bytes: - // Measured: `1951` - // Estimated: `11898` - // Minimum execution time: 67_545_000 picoseconds. - Weight::from_parts(68_537_000, 11898) + // Measured: `901` + // Estimated: `17838` + // Minimum execution time: 105_838_000 picoseconds. + Weight::from_parts(118_428_000, 17838) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -109,14 +111,14 @@ impl btc_relay::WeightInfo for WeightInfo { /// Storage: BTCRelay ChainsHashes (r:0 w:1) /// Proof: BTCRelay ChainsHashes (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) /// The range of component `f` is `[1, 6]`. - fn store_block_header_new_fork_sorted(f: u32, ) -> Weight { + fn store_block_header_new_fork_sorted (f: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1892 + f * (92 ±0)` - // Estimated: `9870 + f * (5006 ±0)` - // Minimum execution time: 81_260_000 picoseconds. - Weight::from_parts(71_683_199, 9870) - // Standard Error: 46_691 - .saturating_add(Weight::from_parts(11_127_097, 0).saturating_mul(f.into())) + // Measured: `845 + f * (92 ±0)` + // Estimated: `16800 + f * (5006 ±0)` + // Minimum execution time: 126_540_000 picoseconds. + Weight::from_parts(133_244_957, 16800) + // Standard Error: 1_182_683 + .saturating_add(Weight::from_parts(11_468_572, 0).saturating_mul(f.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(f.into()))) .saturating_add(T::DbWeight::get().writes(5_u64)) @@ -139,19 +141,19 @@ impl btc_relay::WeightInfo for WeightInfo { /// Storage: BTCRelay ChainsHashes (r:0 w:1) /// Proof: BTCRelay ChainsHashes (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) /// The range of component `f` is `[1, 6]`. - fn store_block_header_new_fork_unsorted(f: u32, ) -> Weight { + fn store_block_header_new_fork_unsorted (f: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1971 + f * (98 ±0)` - // Estimated: `12911 + f * (2987 ±22)` - // Minimum execution time: 83_616_000 picoseconds. - Weight::from_parts(66_189_291, 12911) - // Standard Error: 210_135 - .saturating_add(Weight::from_parts(16_131_889, 0).saturating_mul(f.into())) + // Measured: `935 + f * (83 ±0)` + // Estimated: `20002 + f * (2922 ±0)` + // Minimum execution time: 132_669_000 picoseconds. + Weight::from_parts(129_360_844, 20002) + // Standard Error: 760_775 + .saturating_add(Weight::from_parts(15_106_910, 0).saturating_mul(f.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(f.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(f.into()))) - .saturating_add(Weight::from_parts(0, 2987).saturating_mul(f.into())) + .saturating_add(Weight::from_parts(0, 2922).saturating_mul(f.into())) } /// Storage: BTCRelay ChainCounter (r:1 w:0) /// Proof: BTCRelay ChainCounter (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -174,17 +176,17 @@ impl btc_relay::WeightInfo for WeightInfo { /// Storage: BTCRelay BestBlockHeight (r:0 w:1) /// Proof: BTCRelay BestBlockHeight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// The range of component `f` is `[3, 6]`. - fn store_block_header_reorganize_chains(f: u32, ) -> Weight { + fn store_block_header_reorganize_chains (f: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `6532 + f * (199 ±0)` - // Estimated: `101752 + f * (1305 ±32)` - // Minimum execution time: 377_359_000 picoseconds. - Weight::from_parts(388_155_022, 101752) - // Standard Error: 591_983 - .saturating_add(Weight::from_parts(10_309_741, 0).saturating_mul(f.into())) + // Measured: `4731 + f * (240 ±0)` + // Estimated: `108731 + f * (1562 ±132)` + // Minimum execution time: 669_071_000 picoseconds. + Weight::from_parts(626_541_708, 108731) + // Standard Error: 5_076_642 + .saturating_add(Weight::from_parts(25_037_402, 0).saturating_mul(f.into())) .saturating_add(T::DbWeight::get().reads(42_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(f.into()))) .saturating_add(T::DbWeight::get().writes(46_u64)) - .saturating_add(Weight::from_parts(0, 1305).saturating_mul(f.into())) + .saturating_add(Weight::from_parts(0, 1562).saturating_mul(f.into())) } } \ No newline at end of file diff --git a/parachain/runtime/testnet-kintsugi/src/weights/clients_info.rs b/parachain/runtime/testnet-kintsugi/src/weights/clients_info.rs index 745c49885f..627cef75fc 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/clients_info.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/clients_info.rs @@ -2,10 +2,10 @@ //! Autogenerated weights for clients_info //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-13, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: // target/release/interbtc-parachain @@ -16,15 +16,15 @@ // --extrinsic // * // --chain -// kintsugi-testnet-latest +// kintsugi-dev // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// parachain/runtime/testnet-kintsugi/src/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,35 +37,37 @@ use sp_std::marker::PhantomData; /// Weights for clients_info using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl clients_info::WeightInfo for WeightInfo { + /// Storage: ClientsInfo CurrentClientReleases (r:0 w:1) /// Proof: ClientsInfo CurrentClientReleases (max_values: None, max_size: Some(562), added: 3037, mode: MaxEncodedLen) /// The range of component `n` is `[0, 255]`. /// The range of component `u` is `[0, 255]`. - fn set_current_client_release(n: u32, _u: u32, ) -> Weight { + fn set_current_client_release (n: u32, u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1019` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 21_501_000 picoseconds. - Weight::from_parts(25_981_234, 0) - // Standard Error: 2_043 - .saturating_add(Weight::from_parts(10_746, 0).saturating_mul(n.into())) + // Minimum execution time: 30_724_000 picoseconds. + Weight::from_parts(35_540_174, 0) + // Standard Error: 12_965 + .saturating_add(Weight::from_parts(5_348, 0).saturating_mul(n.into())) + // Standard Error: 12_965 + .saturating_add(Weight::from_parts(8_106, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: ClientsInfo PendingClientReleases (r:0 w:1) /// Proof: ClientsInfo PendingClientReleases (max_values: None, max_size: Some(562), added: 3037, mode: MaxEncodedLen) /// The range of component `n` is `[0, 255]`. /// The range of component `u` is `[0, 255]`. - fn set_pending_client_release(n: u32, u: u32, ) -> Weight { + fn set_pending_client_release (_n: u32, u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1019` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 21_622_000 picoseconds. - Weight::from_parts(22_151_291, 0) - // Standard Error: 611 - .saturating_add(Weight::from_parts(4_084, 0).saturating_mul(n.into())) - // Standard Error: 611 - .saturating_add(Weight::from_parts(1_223, 0).saturating_mul(u.into())) + // Minimum execution time: 31_291_000 picoseconds. + Weight::from_parts(36_216_413, 0) + // Standard Error: 13_369 + .saturating_add(Weight::from_parts(13_019, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/testnet-kintsugi/src/weights/collator_selection.rs b/parachain/runtime/testnet-kintsugi/src/weights/collator_selection.rs index c11a43e915..37af590be7 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/collator_selection.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/collator_selection.rs @@ -2,29 +2,29 @@ //! Autogenerated weights for collator_selection //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-19, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `enterprise`, CPU: `Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: // target/release/interbtc-parachain // benchmark // pallet // --pallet -// collator-selection +// * // --extrinsic // * // --chain -// kintsugi-testnet-latest +// kintsugi-dev // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// parachain/runtime/kintsugi/src/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,42 +37,44 @@ use sp_std::marker::PhantomData; /// Weights for collator_selection using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl collator_selection::WeightInfo for WeightInfo { + /// Storage: Session NextKeys (r:100 w:0) /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) /// Storage: CollatorSelection Invulnerables (r:0 w:1) /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) /// The range of component `b` is `[1, 100]`. - fn set_invulnerables(b: u32, ) -> Weight { + fn set_invulnerables (b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `285 + b * (78 ±0)` - // Estimated: `285 + b * (2554 ±0)` - // Minimum execution time: 19_934_000 picoseconds. - Weight::from_parts(18_005_347, 285) - // Standard Error: 8_544 - .saturating_add(Weight::from_parts(3_296_769, 0).saturating_mul(b.into())) + // Measured: `220 + b * (78 ±0)` + // Estimated: `1206 + b * (2554 ±0)` + // Minimum execution time: 35_561_000 picoseconds. + Weight::from_parts(36_899_090, 1206) + // Standard Error: 68_340 + .saturating_add(Weight::from_parts(6_765_424, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 2554).saturating_mul(b.into())) } /// Storage: CollatorSelection DesiredCandidates (r:0 w:1) /// Proof: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - fn set_desired_candidates() -> Weight { + fn set_desired_candidates () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_235_000 picoseconds. - Weight::from_parts(10_631_000, 0) + // Minimum execution time: 20_649_000 picoseconds. + Weight::from_parts(25_335_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: CollatorSelection CandidacyBond (r:0 w:1) /// Proof: CollatorSelection CandidacyBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - fn set_candidacy_bond() -> Weight { + fn set_candidacy_bond () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_621_000 picoseconds. - Weight::from_parts(11_108_000, 0) + // Minimum execution time: 22_038_000 picoseconds. + Weight::from_parts(25_375_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: CollatorSelection Candidates (r:1 w:1) @@ -94,14 +96,14 @@ impl collator_selection::WeightInfo for WeightInfo { /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// The range of component `c` is `[1, 999]`. - fn register_as_candidate(c: u32, ) -> Weight { + fn register_as_candidate (c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3139 + c * (49 ±0)` - // Estimated: `66233 + c * (50 ±0)` - // Minimum execution time: 55_371_000 picoseconds. - Weight::from_parts(64_086_907, 66233) - // Standard Error: 1_355 - .saturating_add(Weight::from_parts(110_436, 0).saturating_mul(c.into())) + // Measured: `2803 + c * (49 ±0)` + // Estimated: `73375 + c * (50 ±0)` + // Minimum execution time: 105_394_000 picoseconds. + Weight::from_parts(135_277_477, 73375) + // Standard Error: 16_080 + .saturating_add(Weight::from_parts(305_911, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 50).saturating_mul(c.into())) @@ -113,14 +115,14 @@ impl collator_selection::WeightInfo for WeightInfo { /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// The range of component `c` is `[6, 1000]`. - fn leave_intent(c: u32, ) -> Weight { + fn leave_intent (c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1207 + c * (48 ±0)` - // Estimated: `51036` - // Minimum execution time: 30_824_000 picoseconds. - Weight::from_parts(23_621_650, 51036) - // Standard Error: 1_165 - .saturating_add(Weight::from_parts(120_904, 0).saturating_mul(c.into())) + // Measured: `933 + c * (48 ±0)` + // Estimated: `53016` + // Minimum execution time: 58_282_000 picoseconds. + Weight::from_parts(75_221_861, 53016) + // Standard Error: 13_283 + .saturating_add(Weight::from_parts(271_170, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -130,12 +132,12 @@ impl collator_selection::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - fn note_author() -> Weight { + fn note_author () -> Weight { // Proof Size summary in bytes: - // Measured: `483` - // Estimated: `7783` - // Minimum execution time: 42_883_000 picoseconds. - Weight::from_parts(43_300_000, 7783) + // Measured: `319` + // Estimated: `9763` + // Minimum execution time: 86_256_000 picoseconds. + Weight::from_parts(90_494_000, 9763) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -151,22 +153,22 @@ impl collator_selection::WeightInfo for WeightInfo { /// Proof: Escrow UserPointHistory (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) /// Storage: CollatorSelection Invulnerables (r:1 w:0) /// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Escrow Reserved (r:989 w:989) + /// Storage: Escrow Reserved (r:889 w:889) /// Proof: Escrow Reserved (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// The range of component `r` is `[1, 1000]`. /// The range of component `c` is `[1, 1000]`. - fn new_session(r: u32, c: u32, ) -> Weight { + fn new_session (r: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `24249 + r * (49 ±0) + c * (225 ±0)` - // Estimated: `52705 + c * (7609 ±0) + r * (2539 ±0)` - // Minimum execution time: 36_511_000 picoseconds. - Weight::from_parts(36_987_000, 52705) - // Standard Error: 525_698 - .saturating_add(Weight::from_parts(46_060_500, 0).saturating_mul(c.into())) + // Measured: `26583 + r * (45 ±0) + c * (193 ±0)` + // Estimated: `58645 + r * (2539 ±0) + c * (7610 ±0)` + // Minimum execution time: 78_285_000 picoseconds. + Weight::from_parts(87_142_000, 58645) + // Standard Error: 5_617_309 + .saturating_add(Weight::from_parts(88_016_861, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 7609).saturating_mul(c.into())) .saturating_add(Weight::from_parts(0, 2539).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 7610).saturating_mul(c.into())) } } \ No newline at end of file diff --git a/parachain/runtime/testnet-kintsugi/src/weights/cumulus_pallet_xcmp_queue.rs b/parachain/runtime/testnet-kintsugi/src/weights/cumulus_pallet_xcmp_queue.rs index 051608559e..cdbc9ac122 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/cumulus_pallet_xcmp_queue.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for cumulus_pallet_xcmp_queue //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-14, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -20,11 +20,11 @@ // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// /tmp/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,26 +37,28 @@ use sp_std::marker::PhantomData; /// Weights for cumulus_pallet_xcmp_queue using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { + /// Storage: XcmpQueue QueueConfig (r:1 w:1) /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) - fn set_config_with_u32() -> Weight { + fn set_config_with_u32 () -> Weight { // Proof Size summary in bytes: - // Measured: `142` - // Estimated: `637` - // Minimum execution time: 6_268_000 picoseconds. - Weight::from_parts(6_441_000, 637) + // Measured: `4` + // Estimated: `1489` + // Minimum execution time: 14_123_000 picoseconds. + Weight::from_parts(14_997_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: XcmpQueue QueueConfig (r:1 w:1) /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) - fn set_config_with_weight() -> Weight { + fn set_config_with_weight () -> Weight { // Proof Size summary in bytes: - // Measured: `142` - // Estimated: `637` - // Minimum execution time: 6_202_000 picoseconds. - Weight::from_parts(6_410_000, 637) + // Measured: `4` + // Estimated: `1489` + // Minimum execution time: 13_899_000 picoseconds. + Weight::from_parts(14_794_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/parachain/runtime/testnet-kintsugi/src/weights/democracy.rs b/parachain/runtime/testnet-kintsugi/src/weights/democracy.rs index f985cb0f57..ec29938c74 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/democracy.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/democracy.rs @@ -2,29 +2,29 @@ //! Autogenerated weights for democracy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-14, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `enterprise`, CPU: `Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/interbtc-parachain +// target/release/interbtc-parachain // benchmark // pallet // --pallet -// democracy +// * // --extrinsic // * // --chain -// kintsugi-testnet-latest +// kintsugi-dev // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// parachain/runtime/testnet-kintsugi/src/weights +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,254 +37,265 @@ use sp_std::marker::PhantomData; /// Weights for democracy using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl democracy::WeightInfo for WeightInfo { + /// Storage: Democracy PublicPropCount (r:1 w:1) - /// Proof Skipped: Democracy PublicPropCount (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Democracy PublicPropCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof Skipped: Democracy PublicProps (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) /// Storage: Escrow UserPointEpoch (r:1 w:0) - /// Proof Skipped: Escrow UserPointEpoch (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow UserPointEpoch (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) /// Storage: Escrow UserPointHistory (r:1 w:0) - /// Proof Skipped: Escrow UserPointHistory (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow UserPointHistory (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) /// Storage: Escrow Reserved (r:1 w:1) - /// Proof Skipped: Escrow Reserved (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow Reserved (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: Democracy DepositOf (r:0 w:1) - /// Proof Skipped: Democracy DepositOf (max_values: None, max_size: None, mode: Measured) - fn propose() -> Weight { + /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + fn propose () -> Weight { // Proof Size summary in bytes: - // Measured: `7368` - // Estimated: `52623` - // Minimum execution time: 64_286_000 picoseconds. - Weight::from_parts(67_063_000, 52623) + // Measured: `6110` + // Estimated: `30275` + // Minimum execution time: 147_414_000 picoseconds. + Weight::from_parts(155_461_000, 30275) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof Skipped: Democracy DepositOf (max_values: None, max_size: None, mode: Measured) + /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) /// Storage: Escrow UserPointEpoch (r:1 w:0) - /// Proof Skipped: Escrow UserPointEpoch (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow UserPointEpoch (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) /// Storage: Escrow UserPointHistory (r:1 w:0) - /// Proof Skipped: Escrow UserPointHistory (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow UserPointHistory (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) /// Storage: Escrow Reserved (r:1 w:1) - /// Proof Skipped: Escrow Reserved (max_values: None, max_size: None, mode: Measured) - fn second() -> Weight { + /// Proof: Escrow Reserved (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) + fn second () -> Weight { // Proof Size summary in bytes: - // Measured: `6034` - // Estimated: `34036` - // Minimum execution time: 52_527_000 picoseconds. - Weight::from_parts(54_109_000, 34036) + // Measured: `4802` + // Estimated: `17294` + // Minimum execution time: 103_197_000 picoseconds. + Weight::from_parts(106_868_000, 17294) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof Skipped: Democracy ReferendumInfoOf (max_values: None, max_size: None, mode: Measured) + /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) /// Storage: Escrow UserPointEpoch (r:1 w:0) - /// Proof Skipped: Escrow UserPointEpoch (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow UserPointEpoch (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) /// Storage: Escrow UserPointHistory (r:1 w:0) - /// Proof Skipped: Escrow UserPointHistory (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow UserPointHistory (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) /// Storage: Escrow Reserved (r:1 w:0) - /// Proof Skipped: Escrow Reserved (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow Reserved (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof Skipped: Democracy VotingOf (max_values: None, max_size: None, mode: Measured) - fn vote_new() -> Weight { + /// Proof: Democracy VotingOf (max_values: None, max_size: Some(2142), added: 4617, mode: MaxEncodedLen) + fn vote_new () -> Weight { // Proof Size summary in bytes: - // Measured: `4422` - // Estimated: `34485` - // Minimum execution time: 51_398_000 picoseconds. - Weight::from_parts(51_945_000, 34485) + // Measured: `3160` + // Estimated: `19872` + // Minimum execution time: 98_466_000 picoseconds. + Weight::from_parts(104_662_000, 19872) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof Skipped: Democracy ReferendumInfoOf (max_values: None, max_size: None, mode: Measured) + /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) /// Storage: Escrow UserPointEpoch (r:1 w:0) - /// Proof Skipped: Escrow UserPointEpoch (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow UserPointEpoch (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) /// Storage: Escrow UserPointHistory (r:1 w:0) - /// Proof Skipped: Escrow UserPointHistory (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow UserPointHistory (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) /// Storage: Escrow Reserved (r:1 w:0) - /// Proof Skipped: Escrow Reserved (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow Reserved (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof Skipped: Democracy VotingOf (max_values: None, max_size: None, mode: Measured) - fn vote_existing() -> Weight { + /// Proof: Democracy VotingOf (max_values: None, max_size: Some(2142), added: 4617, mode: MaxEncodedLen) + fn vote_existing () -> Weight { // Proof Size summary in bytes: - // Measured: `4443` - // Estimated: `34590` - // Minimum execution time: 50_940_000 picoseconds. - Weight::from_parts(52_778_000, 34590) + // Measured: `3181` + // Estimated: `19872` + // Minimum execution time: 111_291_000 picoseconds. + Weight::from_parts(112_728_000, 19872) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof Skipped: Democracy PublicProps (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof Skipped: Democracy DepositOf (max_values: None, max_size: None, mode: Measured) + /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) /// Storage: Escrow Reserved (r:1 w:1) - /// Proof Skipped: Escrow Reserved (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow Reserved (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: Democracy ReferendumCount (r:1 w:1) - /// Proof Skipped: Democracy ReferendumCount (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof Skipped: Democracy ReferendumInfoOf (max_values: None, max_size: None, mode: Measured) - fn fast_track() -> Weight { + /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + fn fast_track () -> Weight { // Proof Size summary in bytes: - // Measured: `1656` - // Estimated: `14220` - // Minimum execution time: 53_139_000 picoseconds. - Weight::from_parts(53_705_000, 14220) + // Measured: `398` + // Estimated: `29900` + // Minimum execution time: 75_550_000 picoseconds. + Weight::from_parts(82_477_000, 29900) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof Skipped: Democracy ReferendumInfoOf (max_values: None, max_size: None, mode: Measured) - fn fast_track_referendum() -> Weight { + /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + fn fast_track_referendum () -> Weight { // Proof Size summary in bytes: - // Measured: `1272` - // Estimated: `3747` - // Minimum execution time: 33_238_000 picoseconds. - Weight::from_parts(34_038_000, 3747) + // Measured: `221` + // Estimated: `3666` + // Minimum execution time: 41_180_000 picoseconds. + Weight::from_parts(44_627_000, 3666) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof Skipped: Democracy PublicProps (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof Skipped: Democracy DepositOf (max_values: None, max_size: None, mode: Measured) + /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) /// Storage: Escrow Reserved (r:1 w:1) - /// Proof Skipped: Escrow Reserved (max_values: None, max_size: None, mode: Measured) - fn cancel_proposal() -> Weight { + /// Proof: Escrow Reserved (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) + fn cancel_proposal () -> Weight { // Proof Size summary in bytes: - // Measured: `7118` - // Estimated: `26799` - // Minimum execution time: 59_387_000 picoseconds. - Weight::from_parts(62_068_000, 26799) + // Measured: `6169` + // Estimated: `28411` + // Minimum execution time: 162_672_000 picoseconds. + Weight::from_parts(171_629_000, 28411) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof Skipped: Democracy ReferendumInfoOf (max_values: None, max_size: None, mode: Measured) - fn cancel_referendum() -> Weight { + /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + fn cancel_referendum () -> Weight { // Proof Size summary in bytes: - // Measured: `1272` - // Estimated: `3747` - // Minimum execution time: 29_674_000 picoseconds. - Weight::from_parts(30_434_000, 3747) + // Measured: `221` + // Estimated: `3666` + // Minimum execution time: 35_751_000 picoseconds. + Weight::from_parts(37_740_000, 3666) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Democracy LowestUnbaked (r:1 w:0) - /// Proof Skipped: Democracy LowestUnbaked (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Democracy ReferendumCount (r:1 w:1) - /// Proof Skipped: Democracy ReferendumCount (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Democracy NextLaunchTimestamp (r:1 w:1) - /// Proof Skipped: Democracy NextLaunchTimestamp (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Democracy NextLaunchTimestamp (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof Skipped: Democracy PublicProps (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof Skipped: Democracy DepositOf (max_values: None, max_size: None, mode: Measured) + /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) /// Storage: Escrow Reserved (r:1 w:1) - /// Proof Skipped: Escrow Reserved (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow Reserved (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: Democracy ReferendumInfoOf (r:99 w:100) - /// Proof Skipped: Democracy ReferendumInfoOf (max_values: None, max_size: None, mode: Measured) + /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) /// Storage: Escrow Epoch (r:1 w:0) - /// Proof Skipped: Escrow Epoch (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Escrow Epoch (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Escrow PointHistory (r:1 w:0) - /// Proof Skipped: Escrow PointHistory (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow PointHistory (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. - fn on_initialize_public(r: u32, ) -> Weight { + fn on_initialize_public (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1474 + r * (117 ±0)` - // Estimated: `23671 + r * (3537 ±0)` - // Minimum execution time: 56_760_000 picoseconds. - Weight::from_parts(76_427_543, 23671) - // Standard Error: 19_120 - .saturating_add(Weight::from_parts(10_261_210, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(9_u64)) + // Measured: `424 + r * (86 ±0)` + // Estimated: `40017 + r * (2681 ±1)` + // Minimum execution time: 82_527_000 picoseconds. + Weight::from_parts(84_748_575, 40017) + // Standard Error: 541_652 + .saturating_add(Weight::from_parts(24_840_199, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(6_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 3537).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2681).saturating_mul(r.into())) } /// Storage: Democracy LowestUnbaked (r:1 w:0) - /// Proof Skipped: Democracy LowestUnbaked (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof Skipped: Democracy ReferendumCount (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Democracy NextLaunchTimestamp (r:1 w:1) - /// Proof Skipped: Democracy NextLaunchTimestamp (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Democracy NextLaunchTimestamp (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof Skipped: Democracy PublicProps (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof Skipped: Democracy ReferendumInfoOf (max_values: None, max_size: None, mode: Measured) + /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. - fn on_initialize_base(r: u32, ) -> Weight { + fn on_initialize_base (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `644 + r * (117 ±0)` - // Estimated: `5704 + r * (3065 ±0)` - // Minimum execution time: 13_767_000 picoseconds. - Weight::from_parts(33_290_300, 5704) - // Standard Error: 17_589 - .saturating_add(Weight::from_parts(3_058_818, 0).saturating_mul(r.into())) + // Measured: `142 + r * (86 ±0)` + // Estimated: `25141 + r * (2676 ±0)` + // Minimum execution time: 21_722_000 picoseconds. + Weight::from_parts(24_912_678, 25141) + // Standard Error: 81_528 + .saturating_add(Weight::from_parts(6_884_710, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_parts(0, 3065).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } /// Storage: Democracy LowestUnbaked (r:1 w:0) - /// Proof Skipped: Democracy LowestUnbaked (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof Skipped: Democracy ReferendumCount (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Democracy NextLaunchTimestamp (r:1 w:1) - /// Proof Skipped: Democracy NextLaunchTimestamp (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Democracy NextLaunchTimestamp (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof Skipped: Democracy PublicProps (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof Skipped: Democracy ReferendumInfoOf (max_values: None, max_size: None, mode: Measured) + /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) /// The range of component `r` is `[0, 99]`. - fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { + fn on_initialize_base_with_launch_period (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `644 + r * (117 ±0)` - // Estimated: `5704 + r * (3065 ±0)` - // Minimum execution time: 14_135_000 picoseconds. - Weight::from_parts(23_304_665, 5704) - // Standard Error: 10_996 - .saturating_add(Weight::from_parts(3_176_123, 0).saturating_mul(r.into())) + // Measured: `142 + r * (86 ±0)` + // Estimated: `25141 + r * (2676 ±0)` + // Minimum execution time: 22_182_000 picoseconds. + Weight::from_parts(17_270_121, 25141) + // Standard Error: 68_347 + .saturating_add(Weight::from_parts(6_956_748, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_parts(0, 3065).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } /// Storage: Democracy PublicProps (r:0 w:1) - /// Proof Skipped: Democracy PublicProps (max_values: Some(1), max_size: None, mode: Measured) - fn clear_public_proposals() -> Weight { + /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) + fn clear_public_proposals () -> Weight { // Proof Size summary in bytes: - // Measured: `711` - // Estimated: `711` - // Minimum execution time: 8_805_000 picoseconds. - Weight::from_parts(9_102_000, 711) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_886_000 picoseconds. + Weight::from_parts(10_333_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof Skipped: Democracy ReferendumInfoOf (max_values: None, max_size: None, mode: Measured) + /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof Skipped: Democracy VotingOf (max_values: None, max_size: None, mode: Measured) + /// Proof: Democracy VotingOf (max_values: None, max_size: Some(2142), added: 4617, mode: MaxEncodedLen) /// The range of component `r` is `[1, 100]`. - fn remove_vote(r: u32, ) -> Weight { + fn remove_vote (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1371 + r * (25 ±0)` - // Estimated: `7614 + r * (52 ±0)` - // Minimum execution time: 25_303_000 picoseconds. - Weight::from_parts(30_126_582, 7614) - // Standard Error: 3_423 - .saturating_add(Weight::from_parts(41_654, 0).saturating_mul(r.into())) + // Measured: `633 + r * (24 ±0)` + // Estimated: `9273` + // Minimum execution time: 35_660_000 picoseconds. + Weight::from_parts(43_940_826, 9273) + // Standard Error: 36_528 + .saturating_add(Weight::from_parts(400_882, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(Weight::from_parts(0, 52).saturating_mul(r.into())) } - fn spend_from_treasury() -> Weight { - Self::cancel_referendum() // didn't run benchmark yet - use this as approximation + /// Storage: Tokens Accounts (r:2 w:2) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + fn spend_from_treasury () -> Weight { + // Proof Size summary in bytes: + // Measured: `319` + // Estimated: `9763` + // Minimum execution time: 86_505_000 picoseconds. + Weight::from_parts(88_561_000, 9763) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/testnet-kintsugi/src/weights/dex_general.rs b/parachain/runtime/testnet-kintsugi/src/weights/dex_general.rs index c4f9618fa0..fe58f07ec5 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/dex_general.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/dex_general.rs @@ -2,29 +2,29 @@ //! Autogenerated weights for dex_general //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-14, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `enterprise`, CPU: `Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/interbtc-parachain +// target/release/interbtc-parachain // benchmark // pallet // --pallet -// dex-general +// * // --extrinsic // * // --chain -// kintsugi-testnet-latest +// kintsugi-dev // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// parachain/runtime/testnet-kintsugi/src/weights +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,107 +37,109 @@ use sp_std::marker::PhantomData; /// Weights for dex_general using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl dex_general::WeightInfo for WeightInfo { + /// Storage: DexGeneral FeeMeta (r:1 w:1) - /// Proof Skipped: DexGeneral FeeMeta (max_values: Some(1), max_size: None, mode: Measured) - fn set_fee_receiver() -> Weight { + /// Proof: DexGeneral FeeMeta (max_values: Some(1), max_size: Some(34), added: 529, mode: MaxEncodedLen) + fn set_fee_receiver () -> Weight { // Proof Size summary in bytes: - // Measured: `787` - // Estimated: `1282` - // Minimum execution time: 12_707_000 picoseconds. - Weight::from_parts(13_390_000, 1282) + // Measured: `3` + // Estimated: `1519` + // Minimum execution time: 17_183_000 picoseconds. + Weight::from_parts(18_184_000, 1519) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: DexGeneral FeeMeta (r:1 w:1) - /// Proof Skipped: DexGeneral FeeMeta (max_values: Some(1), max_size: None, mode: Measured) - fn set_fee_point() -> Weight { + /// Proof: DexGeneral FeeMeta (max_values: Some(1), max_size: Some(34), added: 529, mode: MaxEncodedLen) + fn set_fee_point () -> Weight { // Proof Size summary in bytes: - // Measured: `787` - // Estimated: `1282` - // Minimum execution time: 12_273_000 picoseconds. - Weight::from_parts(12_658_000, 1282) + // Measured: `3` + // Estimated: `1519` + // Minimum execution time: 28_778_000 picoseconds. + Weight::from_parts(31_395_000, 1519) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: DexGeneral PairStatuses (r:1 w:1) - /// Proof Skipped: DexGeneral PairStatuses (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral PairStatuses (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) /// Storage: DexGeneral LiquidityPairs (r:0 w:1) - /// Proof Skipped: DexGeneral LiquidityPairs (max_values: None, max_size: None, mode: Measured) - fn create_pair() -> Weight { + /// Proof: DexGeneral LiquidityPairs (max_values: None, max_size: Some(50), added: 2525, mode: MaxEncodedLen) + fn create_pair () -> Weight { // Proof Size summary in bytes: - // Measured: `1022` - // Estimated: `4519` - // Minimum execution time: 33_935_000 picoseconds. - Weight::from_parts(34_725_000, 4519) + // Measured: `3` + // Estimated: `3628` + // Minimum execution time: 41_980_000 picoseconds. + Weight::from_parts(43_847_000, 3628) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: DexGeneral PairStatuses (r:1 w:1) - /// Proof Skipped: DexGeneral PairStatuses (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral PairStatuses (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) /// Storage: DexGeneral BootstrapLimits (r:0 w:1) - /// Proof Skipped: DexGeneral BootstrapLimits (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral BootstrapLimits (max_values: None, max_size: Some(27032), added: 29507, mode: MaxEncodedLen) /// Storage: DexGeneral BootstrapRewards (r:0 w:1) - /// Proof Skipped: DexGeneral BootstrapRewards (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral BootstrapRewards (max_values: None, max_size: Some(27032), added: 29507, mode: MaxEncodedLen) /// The range of component `r` is `[1, 10]`. /// The range of component `l` is `[1, 10]`. - fn bootstrap_create(r: u32, l: u32, ) -> Weight { + fn bootstrap_create (r: u32, l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1022` - // Estimated: `5541` - // Minimum execution time: 35_825_000 picoseconds. - Weight::from_parts(36_666_000, 5541) - // Standard Error: 212_475 - .saturating_add(Weight::from_parts(6_585_292, 0).saturating_mul(r.into())) - // Standard Error: 212_475 - .saturating_add(Weight::from_parts(4_252_948, 0).saturating_mul(l.into())) + // Measured: `3` + // Estimated: `3628` + // Minimum execution time: 49_793_000 picoseconds. + Weight::from_parts(48_696_204, 3628) + // Standard Error: 568_050 + .saturating_add(Weight::from_parts(655_503, 0).saturating_mul(r.into())) + // Standard Error: 568_050 + .saturating_add(Weight::from_parts(740_237, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: DexGeneral BootstrapLimits (r:1 w:0) - /// Proof Skipped: DexGeneral BootstrapLimits (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral BootstrapLimits (max_values: None, max_size: Some(27032), added: 29507, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:4 w:4) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: DexGeneral PairStatuses (r:1 w:1) - /// Proof Skipped: DexGeneral PairStatuses (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral PairStatuses (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) /// Storage: DexGeneral BootstrapPersonalSupply (r:1 w:1) - /// Proof Skipped: DexGeneral BootstrapPersonalSupply (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral BootstrapPersonalSupply (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn bootstrap_contribute() -> Weight { + fn bootstrap_contribute () -> Weight { // Proof Size summary in bytes: - // Measured: `2346` - // Estimated: `27426` - // Minimum execution time: 411_131_000 picoseconds. - Weight::from_parts(416_003_000, 27426) + // Measured: `671` + // Estimated: `52635` + // Minimum execution time: 194_049_000 picoseconds. + Weight::from_parts(196_918_000, 52635) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } /// Storage: DexGeneral PairStatuses (r:1 w:0) - /// Proof Skipped: DexGeneral PairStatuses (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral PairStatuses (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) /// Storage: DexGeneral BootstrapPersonalSupply (r:1 w:1) - /// Proof Skipped: DexGeneral BootstrapPersonalSupply (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral BootstrapPersonalSupply (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen) /// Storage: DexGeneral BootstrapEndStatus (r:1 w:0) - /// Proof Skipped: DexGeneral BootstrapEndStatus (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral BootstrapEndStatus (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) /// Storage: DexGeneral LiquidityPairs (r:1 w:0) - /// Proof Skipped: DexGeneral LiquidityPairs (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral LiquidityPairs (max_values: None, max_size: Some(50), added: 2525, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:2 w:2) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: DexGeneral BootstrapRewards (r:1 w:0) - /// Proof Skipped: DexGeneral BootstrapRewards (max_values: None, max_size: None, mode: Measured) - fn bootstrap_claim() -> Weight { + /// Proof: DexGeneral BootstrapRewards (max_values: None, max_size: Some(27032), added: 29507, mode: MaxEncodedLen) + fn bootstrap_claim () -> Weight { // Proof Size summary in bytes: - // Measured: `3588` - // Estimated: `38098` - // Minimum execution time: 155_701_000 picoseconds. - Weight::from_parts(157_154_000, 38098) + // Measured: `1231` + // Estimated: `54598` + // Minimum execution time: 175_506_000 picoseconds. + Weight::from_parts(191_765_000, 54598) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: DexGeneral PairStatuses (r:1 w:1) - /// Proof Skipped: DexGeneral PairStatuses (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral PairStatuses (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:5 w:5) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: System Account (r:2 w:1) @@ -145,173 +147,171 @@ impl dex_general::WeightInfo for WeightInfo { /// Storage: Tokens TotalIssuance (r:1 w:1) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: DexGeneral LiquidityPairs (r:0 w:1) - /// Proof Skipped: DexGeneral LiquidityPairs (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral LiquidityPairs (max_values: None, max_size: Some(50), added: 2525, mode: MaxEncodedLen) /// Storage: DexGeneral BootstrapEndStatus (r:0 w:1) - /// Proof Skipped: DexGeneral BootstrapEndStatus (max_values: None, max_size: None, mode: Measured) - fn bootstrap_end() -> Weight { + /// Proof: DexGeneral BootstrapEndStatus (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) + fn bootstrap_end () -> Weight { // Proof Size summary in bytes: - // Measured: `2477` - // Estimated: `30572` - // Minimum execution time: 190_433_000 picoseconds. - Weight::from_parts(191_599_000, 30572) + // Measured: `893` + // Estimated: `27264` + // Minimum execution time: 251_898_000 picoseconds. + Weight::from_parts(260_529_000, 27264) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } /// Storage: DexGeneral PairStatuses (r:1 w:1) - /// Proof Skipped: DexGeneral PairStatuses (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral PairStatuses (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) /// Storage: DexGeneral BootstrapRewards (r:1 w:1) - /// Proof Skipped: DexGeneral BootstrapRewards (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral BootstrapRewards (max_values: None, max_size: Some(27032), added: 29507, mode: MaxEncodedLen) /// Storage: DexGeneral BootstrapLimits (r:0 w:1) - /// Proof Skipped: DexGeneral BootstrapLimits (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral BootstrapLimits (max_values: None, max_size: Some(27032), added: 29507, mode: MaxEncodedLen) /// The range of component `r` is `[1, 10]`. /// The range of component `l` is `[1, 10]`. - fn bootstrap_update(r: u32, l: u32, ) -> Weight { + fn bootstrap_update (r: u32, l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1342 + r * (21 ±0)` - // Estimated: `8919 + r * (69 ±0) + l * (3 ±0)` - // Minimum execution time: 58_760_000 picoseconds. - Weight::from_parts(126_376_491, 8919) - // Standard Error: 511_182 - .saturating_add(Weight::from_parts(455_845, 0).saturating_mul(r.into())) - // Standard Error: 511_182 - .saturating_add(Weight::from_parts(1_874_119, 0).saturating_mul(l.into())) + // Measured: `259 + r * (21 ±0)` + // Estimated: `34125` + // Minimum execution time: 61_132_000 picoseconds. + Weight::from_parts(59_452_777, 34125) + // Standard Error: 458_280 + .saturating_add(Weight::from_parts(1_224_042, 0).saturating_mul(r.into())) + // Standard Error: 458_280 + .saturating_add(Weight::from_parts(407_980, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) - .saturating_add(Weight::from_parts(0, 69).saturating_mul(r.into())) - .saturating_add(Weight::from_parts(0, 3).saturating_mul(l.into())) } /// Storage: DexGeneral PairStatuses (r:1 w:1) - /// Proof Skipped: DexGeneral PairStatuses (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral PairStatuses (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) /// Storage: DexGeneral BootstrapPersonalSupply (r:1 w:1) - /// Proof Skipped: DexGeneral BootstrapPersonalSupply (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral BootstrapPersonalSupply (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:4 w:4) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn bootstrap_refund() -> Weight { + fn bootstrap_refund () -> Weight { // Proof Size summary in bytes: - // Measured: `2642` - // Estimated: `23197` - // Minimum execution time: 161_987_000 picoseconds. - Weight::from_parts(163_090_000, 23197) + // Measured: `1046` + // Estimated: `22138` + // Minimum execution time: 164_406_000 picoseconds. + Weight::from_parts(170_625_000, 22138) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: DexGeneral PairStatuses (r:1 w:1) - /// Proof Skipped: DexGeneral PairStatuses (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral PairStatuses (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:5 w:5) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: DexGeneral LiquidityPairs (r:1 w:0) - /// Proof Skipped: DexGeneral LiquidityPairs (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral LiquidityPairs (max_values: None, max_size: Some(50), added: 2525, mode: MaxEncodedLen) /// Storage: DexGeneral KLast (r:1 w:1) - /// Proof Skipped: DexGeneral KLast (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral KLast (max_values: None, max_size: Some(62), added: 2537, mode: MaxEncodedLen) /// Storage: DexGeneral FeeMeta (r:1 w:0) - /// Proof Skipped: DexGeneral FeeMeta (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: DexGeneral FeeMeta (max_values: Some(1), max_size: Some(34), added: 529, mode: MaxEncodedLen) /// Storage: Tokens TotalIssuance (r:1 w:1) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn add_liquidity() -> Weight { + fn add_liquidity () -> Weight { // Proof Size summary in bytes: - // Measured: `2498` - // Estimated: `35975` - // Minimum execution time: 257_242_000 picoseconds. - Weight::from_parts(258_695_000, 35975) + // Measured: `704` + // Estimated: `33222` + // Minimum execution time: 267_294_000 picoseconds. + Weight::from_parts(275_669_000, 33222) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } /// Storage: DexGeneral PairStatuses (r:1 w:1) - /// Proof Skipped: DexGeneral PairStatuses (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral PairStatuses (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:5 w:5) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: DexGeneral LiquidityPairs (r:1 w:0) - /// Proof Skipped: DexGeneral LiquidityPairs (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral LiquidityPairs (max_values: None, max_size: Some(50), added: 2525, mode: MaxEncodedLen) /// Storage: DexGeneral KLast (r:1 w:1) - /// Proof Skipped: DexGeneral KLast (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral KLast (max_values: None, max_size: Some(62), added: 2537, mode: MaxEncodedLen) /// Storage: DexGeneral FeeMeta (r:1 w:0) - /// Proof Skipped: DexGeneral FeeMeta (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: DexGeneral FeeMeta (max_values: Some(1), max_size: Some(34), added: 529, mode: MaxEncodedLen) /// Storage: Tokens TotalIssuance (r:1 w:1) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn remove_liquidity() -> Weight { + fn remove_liquidity () -> Weight { // Proof Size summary in bytes: - // Measured: `2935` - // Estimated: `37723` - // Minimum execution time: 204_050_000 picoseconds. - Weight::from_parts(234_765_000, 37723) + // Measured: `1188` + // Estimated: `33222` + // Minimum execution time: 230_348_000 picoseconds. + Weight::from_parts(231_894_000, 33222) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } /// Storage: Tokens Accounts (r:20 w:20) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: DexGeneral PairStatuses (r:9 w:0) - /// Proof Skipped: DexGeneral PairStatuses (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral PairStatuses (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) /// Storage: System Account (r:9 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `a` is `[2, 10]`. - fn swap_exact_assets_for_assets(a: u32, ) -> Weight { + fn swap_exact_assets_for_assets (a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1460 + a * (599 ±0)` - // Estimated: `7750 + a * (9109 ±17)` - // Minimum execution time: 141_524_000 picoseconds. - Weight::from_parts(91_433_925, 7750) - // Standard Error: 386_591 - .saturating_add(Weight::from_parts(31_525_821, 0).saturating_mul(a.into())) + // Measured: `2 + a * (433 ±0)` + // Estimated: `8211 + a * (8909 ±0)` + // Minimum execution time: 173_430_000 picoseconds. + Weight::from_parts(19_550_706, 8211) + // Standard Error: 4_301_718 + .saturating_add(Weight::from_parts(85_231_445, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 9109).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 8909).saturating_mul(a.into())) } /// Storage: Tokens Accounts (r:20 w:20) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: DexGeneral PairStatuses (r:9 w:0) - /// Proof Skipped: DexGeneral PairStatuses (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral PairStatuses (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) /// Storage: System Account (r:9 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `a` is `[2, 10]`. - fn swap_assets_for_exact_assets(a: u32, ) -> Weight { + fn swap_assets_for_exact_assets (a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1460 + a * (599 ±0)` - // Estimated: `7750 + a * (9109 ±17)` - // Minimum execution time: 106_595_000 picoseconds. - Weight::from_parts(83_627_548, 7750) - // Standard Error: 302_668 - .saturating_add(Weight::from_parts(32_227_292, 0).saturating_mul(a.into())) + // Measured: `2 + a * (433 ±0)` + // Estimated: `8211 + a * (8909 ±68)` + // Minimum execution time: 173_433_000 picoseconds. + Weight::from_parts(183_328_000, 8211) + // Standard Error: 2_860_787 + .saturating_add(Weight::from_parts(63_403_571, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 9109).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 8909).saturating_mul(a.into())) } /// Storage: DexGeneral BootstrapRewards (r:1 w:1) - /// Proof Skipped: DexGeneral BootstrapRewards (max_values: None, max_size: None, mode: Measured) + /// Proof: DexGeneral BootstrapRewards (max_values: None, max_size: Some(27032), added: 29507, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:20 w:20) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, 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 `r` is `[1, 10]`. - fn bootstrap_charge_reward(r: u32, ) -> Weight { + fn bootstrap_charge_reward (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1989 + r * (119 ±0)` - // Estimated: `7051 + r * (5302 ±0)` - // Minimum execution time: 74_605_000 picoseconds. - Weight::from_parts(34_494_370, 7051) - // Standard Error: 381_551 - .saturating_add(Weight::from_parts(31_553_665, 0).saturating_mul(r.into())) + // Measured: `377 + r * (88 ±0)` + // Estimated: `35080 + r * (5180 ±0)` + // Minimum execution time: 117_775_000 picoseconds. + Weight::from_parts(75_749_977, 35080) + // Standard Error: 1_134_605 + .saturating_add(Weight::from_parts(56_133_616, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 5302).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 5180).saturating_mul(r.into())) } /// Storage: DexGeneral BootstrapRewards (r:1 w:1) - /// Proof Skipped: DexGeneral BootstrapRewards (max_values: None, max_size: None, mode: Measured) - fn bootstrap_withdraw_reward() -> Weight { + /// Proof: DexGeneral BootstrapRewards (max_values: None, max_size: Some(27032), added: 29507, mode: MaxEncodedLen) + fn bootstrap_withdraw_reward () -> Weight { // Proof Size summary in bytes: - // Measured: `1154` - // Estimated: `3629` - // Minimum execution time: 38_111_000 picoseconds. - Weight::from_parts(38_739_000, 3629) + // Measured: `135` + // Estimated: `30497` + // Minimum execution time: 42_180_000 picoseconds. + Weight::from_parts(43_292_000, 30497) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/parachain/runtime/testnet-kintsugi/src/weights/dex_stable.rs b/parachain/runtime/testnet-kintsugi/src/weights/dex_stable.rs index d6810f8f94..68a6ee2618 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/dex_stable.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/dex_stable.rs @@ -2,29 +2,29 @@ //! Autogenerated weights for dex_stable //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-27, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `enterprise`, CPU: `Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/interbtc-parachain +// target/release/interbtc-parachain // benchmark // pallet // --pallet -// dex-stable +// * // --extrinsic // * // --chain -// kintsugi-testnet-latest +// kintsugi-dev // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// parachain/runtime/testnet-kintsugi/src/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,7 +37,9 @@ use sp_std::marker::PhantomData; /// Weights for dex_stable using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl dex_stable::WeightInfo for WeightInfo { + /// Storage: DexStable NextPoolId (r:1 w:1) /// Proof: DexStable NextPoolId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: DexStable LpCurrencies (r:1 w:1) @@ -48,14 +50,16 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: DexStable Pools (max_values: None, max_size: Some(816), added: 3291, mode: MaxEncodedLen) /// The range of component `b` is `[2, 10]`. /// The range of component `s` is `[0, 50]`. - fn create_base_pool(b: u32, _s: u32, ) -> Weight { + fn create_base_pool (b: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1420` - // Estimated: `8899` - // Minimum execution time: 45_524_000 picoseconds. - Weight::from_parts(89_043_262, 8899) - // Standard Error: 626_426 - .saturating_add(Weight::from_parts(9_616_893, 0).saturating_mul(b.into())) + // Measured: `175` + // Estimated: `12859` + // Minimum execution time: 71_837_000 picoseconds. + Weight::from_parts(71_698_298, 12859) + // Standard Error: 354_296 + .saturating_add(Weight::from_parts(529_908, 0).saturating_mul(b.into())) + // Standard Error: 61_090 + .saturating_add(Weight::from_parts(108_928, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -73,14 +77,16 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// The range of component `m` is `[2, 10]`. /// The range of component `s` is `[0, 50]`. - fn create_meta_pool(_m: u32, s: u32, ) -> Weight { + fn create_meta_pool (m: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2696` - // Estimated: `17709` - // Minimum execution time: 85_464_000 picoseconds. - Weight::from_parts(105_157_872, 17709) - // Standard Error: 23_896 - .saturating_add(Weight::from_parts(61_851, 0).saturating_mul(s.into())) + // Measured: `1355` + // Estimated: `23649` + // Minimum execution time: 139_991_000 picoseconds. + Weight::from_parts(143_659_937, 23649) + // Standard Error: 820_102 + .saturating_add(Weight::from_parts(968_262, 0).saturating_mul(m.into())) + // Standard Error: 141_408 + .saturating_add(Weight::from_parts(320_653, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -95,14 +101,14 @@ impl dex_stable::WeightInfo for WeightInfo { /// 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 `b` is `[2, 10]`. - fn add_liquidity(b: u32, ) -> Weight { + fn add_liquidity (b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2734 + b * (148 ±0)` - // Estimated: `11497 + b * (5180 ±0)` - // Minimum execution time: 142_768_000 picoseconds. - Weight::from_parts(165_609_259, 11497) - // Standard Error: 831_885 - .saturating_add(Weight::from_parts(22_935_996, 0).saturating_mul(b.into())) + // Measured: `948 + b * (125 ±0)` + // Estimated: `16447 + b * (5180 ±0)` + // Minimum execution time: 247_870_000 picoseconds. + Weight::from_parts(142_209_555, 16447) + // Standard Error: 2_029_390 + .saturating_add(Weight::from_parts(64_418_888, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -117,12 +123,12 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn swap() -> Weight { + fn swap () -> Weight { // Proof Size summary in bytes: - // Measured: `3916` - // Estimated: `16757` - // Minimum execution time: 125_578_000 picoseconds. - Weight::from_parts(128_918_000, 16757) + // Measured: `2108` + // Estimated: `20717` + // Minimum execution time: 205_177_000 picoseconds. + Weight::from_parts(222_625_000, 20717) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -135,14 +141,14 @@ impl dex_stable::WeightInfo for WeightInfo { /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `b` is `[2, 10]`. - fn remove_liquidity(b: u32, ) -> Weight { + fn remove_liquidity (b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2669 + b * (247 ±0)` - // Estimated: `10994 + b * (5180 ±0)` - // Minimum execution time: 116_546_000 picoseconds. - Weight::from_parts(86_523_615, 10994) - // Standard Error: 37_040 - .saturating_add(Weight::from_parts(18_845_382, 0).saturating_mul(b.into())) + // Measured: `1057 + b * (192 ±0)` + // Estimated: `14954 + b * (5180 ±0)` + // Minimum execution time: 193_896_000 picoseconds. + Weight::from_parts(106_629_258, 14954) + // Standard Error: 1_300_589 + .saturating_add(Weight::from_parts(46_153_263, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -159,12 +165,12 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn remove_liquidity_one_currency() -> Weight { + fn remove_liquidity_one_currency () -> Weight { // Proof Size summary in bytes: - // Measured: `3809` - // Estimated: `16677` - // Minimum execution time: 141_498_000 picoseconds. - Weight::from_parts(142_358_000, 16677) + // Measured: `2207` + // Estimated: `21627` + // Minimum execution time: 235_626_000 picoseconds. + Weight::from_parts(261_217_000, 21627) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -179,14 +185,14 @@ impl dex_stable::WeightInfo for WeightInfo { /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `b` is `[2, 10]`. - fn remove_liquidity_imbalance(b: u32, ) -> Weight { + fn remove_liquidity_imbalance (b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2711 + b * (247 ±0)` - // Estimated: `11497 + b * (5180 ±0)` - // Minimum execution time: 136_111_000 picoseconds. - Weight::from_parts(92_301_992, 11497) - // Standard Error: 28_812 - .saturating_add(Weight::from_parts(24_167_373, 0).saturating_mul(b.into())) + // Measured: `1099 + b * (192 ±0)` + // Estimated: `16447 + b * (5180 ±0)` + // Minimum execution time: 234_549_000 picoseconds. + Weight::from_parts(144_175_697, 16447) + // Standard Error: 1_404_220 + .saturating_add(Weight::from_parts(52_045_060, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -205,16 +211,16 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `b` is `[2, 10]`. /// The range of component `m` is `[2, 10]`. - fn add_pool_and_base_pool_liquidity(b: u32, m: u32, ) -> Weight { + fn add_pool_and_base_pool_liquidity (b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3345 + b * (246 ±0) + m * (139 ±0)` - // Estimated: `17298 + b * (5180 ±0) + m * (5180 ±0)` - // Minimum execution time: 451_496_000 picoseconds. - Weight::from_parts(119_392_444, 17298) - // Standard Error: 70_911 - .saturating_add(Weight::from_parts(27_632_220, 0).saturating_mul(b.into())) - // Standard Error: 70_911 - .saturating_add(Weight::from_parts(32_153_666, 0).saturating_mul(m.into())) + // Measured: `1437 + b * (187 ±0) + m * (121 ±0)` + // Estimated: `22248 + b * (5180 ±0) + m * (5180 ±0)` + // Minimum execution time: 890_625_000 picoseconds. + Weight::from_parts(174_244_755, 22248) + // Standard Error: 4_114_768 + .saturating_add(Weight::from_parts(61_305_943, 0).saturating_mul(b.into())) + // Standard Error: 4_114_768 + .saturating_add(Weight::from_parts(75_448_393, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(m.into()))) @@ -234,16 +240,16 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// The range of component `b` is `[2, 10]`. /// The range of component `m` is `[2, 10]`. - fn remove_pool_and_base_pool_liquidity(b: u32, m: u32, ) -> Weight { + fn remove_pool_and_base_pool_liquidity (b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3420 + b * (246 ±0) + m * (237 ±0)` - // Estimated: `19398 + b * (5180 ±0) + m * (5180 ±0)` - // Minimum execution time: 360_003_000 picoseconds. - Weight::from_parts(131_590_268, 19398) - // Standard Error: 34_307 - .saturating_add(Weight::from_parts(19_880_203, 0).saturating_mul(b.into())) - // Standard Error: 34_307 - .saturating_add(Weight::from_parts(19_558_834, 0).saturating_mul(m.into())) + // Measured: `1658 + b * (187 ±0) + m * (187 ±0)` + // Estimated: `23358 + b * (5180 ±0) + m * (5180 ±0)` + // Minimum execution time: 697_357_000 picoseconds. + Weight::from_parts(246_647_239, 23358) + // Standard Error: 3_052_526 + .saturating_add(Weight::from_parts(40_910_375, 0).saturating_mul(b.into())) + // Standard Error: 3_052_526 + .saturating_add(Weight::from_parts(44_384_533, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(m.into()))) @@ -263,12 +269,12 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: System Account (r:2 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn remove_pool_and_base_pool_liquidity_one_currency() -> Weight { + fn remove_pool_and_base_pool_liquidity_one_currency () -> Weight { // Proof Size summary in bytes: - // Measured: `5744` - // Estimated: `30261` - // Minimum execution time: 253_916_000 picoseconds. - Weight::from_parts(264_362_000, 30261) + // Measured: `4012` + // Estimated: `35211` + // Minimum execution time: 482_102_000 picoseconds. + Weight::from_parts(537_971_000, 35211) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -282,12 +288,12 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn swap_pool_from_base() -> Weight { + fn swap_pool_from_base () -> Weight { // Proof Size summary in bytes: - // Measured: `6495` - // Estimated: `51048` - // Minimum execution time: 302_352_000 picoseconds. - Weight::from_parts(306_703_000, 51048) + // Measured: `4279` + // Estimated: `55998` + // Minimum execution time: 574_764_000 picoseconds. + Weight::from_parts(593_777_000, 55998) .saturating_add(T::DbWeight::get().reads(20_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -301,12 +307,12 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Tokens TotalIssuance (r:1 w:1) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) - fn swap_pool_to_base() -> Weight { + fn swap_pool_to_base () -> Weight { // Proof Size summary in bytes: - // Measured: `6011` - // Estimated: `30341` - // Minimum execution time: 236_765_000 picoseconds. - Weight::from_parts(243_435_000, 30341) + // Measured: `4042` + // Estimated: `35291` + // Minimum execution time: 450_120_000 picoseconds. + Weight::from_parts(539_402_000, 35291) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -318,12 +324,12 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn swap_meta_pool_underlying() -> Weight { + fn swap_meta_pool_underlying () -> Weight { // Proof Size summary in bytes: - // Measured: `4300` - // Estimated: `16757` - // Minimum execution time: 128_497_000 picoseconds. - Weight::from_parts(129_933_000, 16757) + // Measured: `2459` + // Estimated: `20717` + // Minimum execution time: 213_304_000 picoseconds. + Weight::from_parts(233_340_000, 20717) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -331,12 +337,12 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: DexStable Pools (max_values: None, max_size: Some(816), added: 3291, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:10 w:0) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) - fn withdraw_admin_fee() -> Weight { + fn withdraw_admin_fee () -> Weight { // Proof Size summary in bytes: - // Measured: `3309` - // Estimated: `29191` - // Minimum execution time: 125_167_000 picoseconds. - Weight::from_parts(126_431_000, 29191) + // Measured: `1843` + // Estimated: `31171` + // Minimum execution time: 227_894_000 picoseconds. + Weight::from_parts(230_823_000, 31171) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/parachain/runtime/testnet-kintsugi/src/weights/dex_swap_router.rs b/parachain/runtime/testnet-kintsugi/src/weights/dex_swap_router.rs index b5ba2ab614..261d88bf1e 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/dex_swap_router.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/dex_swap_router.rs @@ -2,29 +2,29 @@ //! Autogenerated weights for dex_swap_router //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-05-22, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `enterprise`, CPU: `Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/interbtc-parachain +// target/release/interbtc-parachain // benchmark // pallet // --pallet -// dex-swap-router +// * // --extrinsic // * // --chain -// kintsugi-testnet-latest +// kintsugi-dev // --execution=wasm // --wasm-execution=compiled // --steps -// 2 +// 10 // --repeat -// 1 +// 5 // --output -// parachain/runtime/testnet-kintsugi/src/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -41,11 +41,13 @@ pub struct WeightInfo(PhantomData); impl dex_swap_router::WeightInfo for WeightInfo { /// The range of component `a` is `[2, 10]`. - fn validate_routes (_a: u32, ) -> Weight { + fn validate_routes (a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_284_000 picoseconds. - Weight::from_parts(4_077_000, 0) + // Minimum execution time: 854_000 picoseconds. + Weight::from_parts(1_015_308, 0) + // Standard Error: 17_511 + .saturating_add(Weight::from_parts(97_171, 0).saturating_mul(a.into())) } } \ No newline at end of file diff --git a/parachain/runtime/testnet-kintsugi/src/weights/escrow.rs b/parachain/runtime/testnet-kintsugi/src/weights/escrow.rs index 0df1bb90e2..4b5e3452ec 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/escrow.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/escrow.rs @@ -2,10 +2,10 @@ //! Autogenerated weights for escrow //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-13, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: // target/release/interbtc-parachain @@ -16,15 +16,15 @@ // --extrinsic // * // --chain -// kintsugi-testnet-latest +// kintsugi-dev // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// parachain/runtime/testnet-kintsugi/src/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,145 +37,147 @@ use sp_std::marker::PhantomData; /// Weights for escrow using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl escrow::WeightInfo for WeightInfo { + /// Storage: Escrow Locked (r:1 w:1) - /// Proof Skipped: Escrow Locked (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow Locked (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: Escrow Blocks (r:1 w:0) - /// Proof Skipped: Escrow Blocks (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow Blocks (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Escrow Limits (r:1 w:0) - /// Proof Skipped: Escrow Limits (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow Limits (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) /// Storage: Tokens Locks (r:1 w:1) /// Proof: Tokens Locks (max_values: None, max_size: Some(1268), added: 3743, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Escrow SlopeChanges (r:54 w:1) - /// Proof Skipped: Escrow SlopeChanges (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow SlopeChanges (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) /// Storage: Escrow Epoch (r:1 w:1) - /// Proof Skipped: Escrow Epoch (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Escrow Epoch (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Escrow PointHistory (r:1 w:52) - /// Proof Skipped: Escrow PointHistory (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow PointHistory (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) /// Storage: Escrow UserPointEpoch (r:1 w:1) - /// Proof Skipped: Escrow UserPointEpoch (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow UserPointEpoch (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) /// Storage: EscrowRewards Stake (r:1 w:1) - /// Proof Skipped: EscrowRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: EscrowRewards Stake (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: EscrowRewards TotalStake (r:1 w:1) - /// Proof Skipped: EscrowRewards TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: EscrowRewards TotalStake (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: EscrowRewards RewardCurrencies (r:1 w:0) - /// Proof Skipped: EscrowRewards RewardCurrencies (max_values: None, max_size: None, mode: Measured) + /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(127), added: 2602, mode: MaxEncodedLen) /// Storage: Escrow UserPointHistory (r:0 w:1) - /// Proof Skipped: Escrow UserPointHistory (max_values: None, max_size: None, mode: Measured) - fn create_lock() -> Weight { + /// Proof: Escrow UserPointHistory (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) + fn create_lock () -> Weight { // Proof Size summary in bytes: - // Measured: `2418` - // Estimated: `189479` - // Minimum execution time: 245_982_000 picoseconds. - Weight::from_parts(256_099_000, 189479) + // Measured: `540` + // Estimated: `178187` + // Minimum execution time: 536_901_000 picoseconds. + Weight::from_parts(547_560_000, 178187) .saturating_add(T::DbWeight::get().reads(66_u64)) .saturating_add(T::DbWeight::get().writes(62_u64)) } /// Storage: Escrow Locked (r:1 w:1) - /// Proof Skipped: Escrow Locked (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow Locked (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: Escrow Blocks (r:1 w:0) - /// Proof Skipped: Escrow Blocks (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow Blocks (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Escrow Limits (r:1 w:0) - /// Proof Skipped: Escrow Limits (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow Limits (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) /// Storage: Tokens Locks (r:1 w:1) /// Proof: Tokens Locks (max_values: None, max_size: Some(1268), added: 3743, mode: MaxEncodedLen) /// Storage: Escrow SlopeChanges (r:1 w:1) - /// Proof Skipped: Escrow SlopeChanges (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow SlopeChanges (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) /// Storage: Escrow Epoch (r:1 w:1) - /// Proof Skipped: Escrow Epoch (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Escrow Epoch (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Escrow PointHistory (r:1 w:1) - /// Proof Skipped: Escrow PointHistory (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow PointHistory (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) /// Storage: Escrow UserPointEpoch (r:1 w:1) - /// Proof Skipped: Escrow UserPointEpoch (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow UserPointEpoch (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) /// Storage: EscrowRewards Stake (r:1 w:1) - /// Proof Skipped: EscrowRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: EscrowRewards Stake (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: EscrowRewards TotalStake (r:1 w:1) - /// Proof Skipped: EscrowRewards TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: EscrowRewards TotalStake (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: EscrowRewards RewardCurrencies (r:1 w:0) - /// Proof Skipped: EscrowRewards RewardCurrencies (max_values: None, max_size: None, mode: Measured) + /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(127), added: 2602, mode: MaxEncodedLen) /// Storage: Escrow UserPointHistory (r:0 w:1) - /// Proof Skipped: Escrow UserPointHistory (max_values: None, max_size: None, mode: Measured) - fn increase_amount() -> Weight { + /// Proof: Escrow UserPointHistory (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) + fn increase_amount () -> Weight { // Proof Size summary in bytes: - // Measured: `3239` - // Estimated: `64732` - // Minimum execution time: 115_601_000 picoseconds. - Weight::from_parts(118_048_000, 64732) + // Measured: `1273` + // Estimated: `41511` + // Minimum execution time: 243_729_000 picoseconds. + Weight::from_parts(276_268_000, 41511) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } /// Storage: Escrow Locked (r:1 w:1) - /// Proof Skipped: Escrow Locked (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow Locked (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: Escrow Blocks (r:1 w:0) - /// Proof Skipped: Escrow Blocks (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow Blocks (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) /// Storage: Escrow Limits (r:1 w:0) - /// Proof Skipped: Escrow Limits (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow Limits (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) /// Storage: Tokens Locks (r:1 w:1) /// Proof: Tokens Locks (max_values: None, max_size: Some(1268), added: 3743, mode: MaxEncodedLen) /// Storage: Escrow SlopeChanges (r:97 w:2) - /// Proof Skipped: Escrow SlopeChanges (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow SlopeChanges (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) /// Storage: Escrow Epoch (r:1 w:1) - /// Proof Skipped: Escrow Epoch (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Escrow Epoch (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Escrow PointHistory (r:1 w:95) - /// Proof Skipped: Escrow PointHistory (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow PointHistory (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) /// Storage: Escrow UserPointEpoch (r:1 w:1) - /// Proof Skipped: Escrow UserPointEpoch (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow UserPointEpoch (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) /// Storage: EscrowRewards Stake (r:1 w:1) - /// Proof Skipped: EscrowRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: EscrowRewards Stake (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: EscrowRewards TotalStake (r:1 w:1) - /// Proof Skipped: EscrowRewards TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: EscrowRewards TotalStake (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: EscrowRewards RewardCurrencies (r:1 w:0) - /// Proof Skipped: EscrowRewards RewardCurrencies (max_values: None, max_size: None, mode: Measured) + /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(127), added: 2602, mode: MaxEncodedLen) /// Storage: Escrow UserPointHistory (r:0 w:1) - /// Proof Skipped: Escrow UserPointHistory (max_values: None, max_size: None, mode: Measured) - fn increase_unlock_height() -> Weight { + /// Proof: Escrow UserPointHistory (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) + fn increase_unlock_height () -> Weight { // Proof Size summary in bytes: - // Measured: `3169` - // Estimated: `301562` - // Minimum execution time: 364_773_000 picoseconds. - Weight::from_parts(376_323_000, 301562) + // Measured: `1273` + // Estimated: `282567` + // Minimum execution time: 820_398_000 picoseconds. + Weight::from_parts(831_689_000, 282567) .saturating_add(T::DbWeight::get().reads(108_u64)) .saturating_add(T::DbWeight::get().writes(105_u64)) } /// Storage: Escrow Locked (r:1 w:1) - /// Proof Skipped: Escrow Locked (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow Locked (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) /// Storage: EscrowRewards Stake (r:1 w:1) - /// Proof Skipped: EscrowRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: EscrowRewards Stake (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: EscrowRewards TotalStake (r:1 w:1) - /// Proof Skipped: EscrowRewards TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: EscrowRewards TotalStake (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: EscrowRewards RewardCurrencies (r:1 w:0) - /// Proof Skipped: EscrowRewards RewardCurrencies (max_values: None, max_size: None, mode: Measured) + /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(127), added: 2602, mode: MaxEncodedLen) /// Storage: Escrow SlopeChanges (r:97 w:0) - /// Proof Skipped: Escrow SlopeChanges (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow SlopeChanges (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) /// Storage: Escrow Epoch (r:1 w:1) - /// Proof Skipped: Escrow Epoch (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Escrow Epoch (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Escrow PointHistory (r:1 w:97) - /// Proof Skipped: Escrow PointHistory (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow PointHistory (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) /// Storage: Escrow UserPointEpoch (r:1 w:1) - /// Proof Skipped: Escrow UserPointEpoch (max_values: None, max_size: None, mode: Measured) + /// Proof: Escrow UserPointEpoch (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) /// Storage: Tokens Locks (r:1 w:1) /// Proof: Tokens Locks (max_values: None, max_size: Some(1268), added: 3743, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Escrow UserPointHistory (r:0 w:2) - /// Proof Skipped: Escrow UserPointHistory (max_values: None, max_size: None, mode: Measured) - fn withdraw() -> Weight { + /// Storage: Escrow UserPointHistory (r:1 w:2) + /// Proof: Escrow UserPointHistory (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) + fn withdraw () -> Weight { // Proof Size summary in bytes: - // Measured: `3671` - // Estimated: `297395` - // Minimum execution time: 360_747_000 picoseconds. - Weight::from_parts(374_721_000, 297395) - .saturating_add(T::DbWeight::get().reads(107_u64)) + // Measured: `1455` + // Estimated: `282678` + // Minimum execution time: 829_860_000 picoseconds. + Weight::from_parts(844_196_000, 282678) + .saturating_add(T::DbWeight::get().reads(108_u64)) .saturating_add(T::DbWeight::get().writes(107_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/testnet-kintsugi/src/weights/farming.rs b/parachain/runtime/testnet-kintsugi/src/weights/farming.rs index 1782cbe410..1a291236cf 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/farming.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/farming.rs @@ -2,10 +2,10 @@ //! Autogenerated weights for farming //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-13, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: // target/release/interbtc-parachain @@ -16,15 +16,15 @@ // --extrinsic // * // --chain -// kintsugi-testnet-latest +// kintsugi-dev // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// parachain/runtime/testnet-kintsugi/src/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,23 +37,25 @@ use sp_std::marker::PhantomData; /// Weights for farming using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl farming::WeightInfo for WeightInfo { + /// Storage: Farming RewardSchedules (r:5 w:0) /// Proof: Farming RewardSchedules (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen) /// Storage: FarmingRewards TotalStake (r:2 w:0) - /// Proof Skipped: FarmingRewards TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: FarmingRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// The range of component `c` is `[1, 4]`. - fn on_initialize(c: u32, ) -> Weight { + fn on_initialize (c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1181 + c * (41 ±0)` - // Estimated: `5476 + c * (3773 ±0)` - // Minimum execution time: 25_175_000 picoseconds. - Weight::from_parts(17_826_937, 5476) - // Standard Error: 28_325 - .saturating_add(Weight::from_parts(8_727_038, 0).saturating_mul(c.into())) + // Measured: `189 + c * (41 ±0)` + // Estimated: `6732 + c * (3493 ±0)` + // Minimum execution time: 37_731_000 picoseconds. + Weight::from_parts(22_603_020, 6732) + // Standard Error: 1_219_999 + .saturating_add(Weight::from_parts(17_678_854, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 3773).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 3493).saturating_mul(c.into())) } /// Storage: Tokens Accounts (r:2 w:2) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) @@ -61,12 +63,12 @@ impl farming::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Farming RewardSchedules (r:1 w:1) /// Proof: Farming RewardSchedules (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen) - fn update_reward_schedule() -> Weight { + fn update_reward_schedule () -> Weight { // Proof Size summary in bytes: - // Measured: `2038` - // Estimated: `10332` - // Minimum execution time: 69_757_000 picoseconds. - Weight::from_parts(97_747_000, 10332) + // Measured: `435` + // Estimated: `13302` + // Minimum execution time: 115_361_000 picoseconds. + Weight::from_parts(118_830_000, 13302) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -76,87 +78,87 @@ impl farming::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Farming RewardSchedules (r:0 w:1) /// Proof: Farming RewardSchedules (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen) - fn remove_reward_schedule() -> Weight { + fn remove_reward_schedule () -> Weight { // Proof Size summary in bytes: - // Measured: `2216` - // Estimated: `7783` - // Minimum execution time: 56_024_000 picoseconds. - Weight::from_parts(57_090_000, 7783) + // Measured: `582` + // Estimated: `9763` + // Minimum execution time: 94_314_000 picoseconds. + Weight::from_parts(98_244_000, 9763) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: FarmingRewards RewardCurrencies (r:1 w:0) - /// Proof Skipped: FarmingRewards RewardCurrencies (max_values: None, max_size: None, mode: Measured) + /// Proof: FarmingRewards RewardCurrencies (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: FarmingRewards Stake (r:1 w:1) - /// Proof Skipped: FarmingRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: FarmingRewards Stake (max_values: None, max_size: Some(75), added: 2550, mode: MaxEncodedLen) /// Storage: FarmingRewards TotalStake (r:1 w:1) - /// Proof Skipped: FarmingRewards TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: FarmingRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: FarmingRewards RewardTally (r:4 w:4) - /// Proof Skipped: FarmingRewards RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: FarmingRewards RewardTally (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen) /// Storage: FarmingRewards RewardPerToken (r:4 w:0) - /// Proof Skipped: FarmingRewards RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: FarmingRewards RewardPerToken (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// The range of component `c` is `[1, 4]`. - fn deposit(c: u32, ) -> Weight { + fn deposit (c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1869 + c * (70 ±0)` - // Estimated: `19365 + c * (5300 ±0)` - // Minimum execution time: 59_325_000 picoseconds. - Weight::from_parts(61_079_816, 19365) - // Standard Error: 140_387 - .saturating_add(Weight::from_parts(6_891_668, 0).saturating_mul(c.into())) + // Measured: `683 + c * (70 ±0)` + // Estimated: `16211 + c * (5122 ±0)` + // Minimum execution time: 120_762_000 picoseconds. + Weight::from_parts(110_092_826, 16211) + // Standard Error: 2_684_014 + .saturating_add(Weight::from_parts(23_429_881, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 5300).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 5122).saturating_mul(c.into())) } /// Storage: FarmingRewards RewardCurrencies (r:1 w:0) - /// Proof Skipped: FarmingRewards RewardCurrencies (max_values: None, max_size: None, mode: Measured) + /// Proof: FarmingRewards RewardCurrencies (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: FarmingRewards Stake (r:1 w:1) - /// Proof Skipped: FarmingRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: FarmingRewards Stake (max_values: None, max_size: Some(75), added: 2550, mode: MaxEncodedLen) /// Storage: FarmingRewards TotalStake (r:1 w:1) - /// Proof Skipped: FarmingRewards TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: FarmingRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: FarmingRewards RewardTally (r:4 w:4) - /// Proof Skipped: FarmingRewards RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: FarmingRewards RewardTally (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen) /// Storage: FarmingRewards RewardPerToken (r:4 w:0) - /// Proof Skipped: FarmingRewards RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: FarmingRewards RewardPerToken (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// The range of component `c` is `[1, 4]`. - fn withdraw(c: u32, ) -> Weight { + fn withdraw (c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1869 + c * (70 ±0)` - // Estimated: `19365 + c * (5300 ±0)` - // Minimum execution time: 56_872_000 picoseconds. - Weight::from_parts(56_901_524, 19365) - // Standard Error: 401_664 - .saturating_add(Weight::from_parts(8_567_280, 0).saturating_mul(c.into())) + // Measured: `683 + c * (70 ±0)` + // Estimated: `16211 + c * (5122 ±0)` + // Minimum execution time: 113_604_000 picoseconds. + Weight::from_parts(106_539_861, 16211) + // Standard Error: 2_371_161 + .saturating_add(Weight::from_parts(18_280_305, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 5300).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 5122).saturating_mul(c.into())) } /// Storage: FarmingRewards Stake (r:1 w:0) - /// Proof Skipped: FarmingRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: FarmingRewards Stake (max_values: None, max_size: Some(75), added: 2550, mode: MaxEncodedLen) /// Storage: FarmingRewards RewardPerToken (r:1 w:0) - /// Proof Skipped: FarmingRewards RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: FarmingRewards RewardPerToken (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: FarmingRewards RewardTally (r:1 w:1) - /// Proof Skipped: FarmingRewards RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: FarmingRewards RewardTally (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen) /// Storage: FarmingRewards TotalRewards (r:1 w:1) - /// Proof Skipped: FarmingRewards TotalRewards (max_values: None, max_size: None, mode: Measured) + /// Proof: FarmingRewards TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:2 w:2) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn claim() -> Weight { + fn claim () -> Weight { // Proof Size summary in bytes: - // Measured: `2768` - // Estimated: `28755` - // Minimum execution time: 79_215_000 picoseconds. - Weight::from_parts(85_055_000, 28755) + // Measured: `956` + // Estimated: `23913` + // Minimum execution time: 165_765_000 picoseconds. + Weight::from_parts(189_299_000, 23913) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } diff --git a/parachain/runtime/testnet-kintsugi/src/weights/fee.rs b/parachain/runtime/testnet-kintsugi/src/weights/fee.rs index 8d9ffc7ffa..456736679c 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/fee.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/fee.rs @@ -2,10 +2,10 @@ //! Autogenerated weights for fee //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-13, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: // target/release/interbtc-parachain @@ -16,15 +16,15 @@ // --extrinsic // * // --chain -// kintsugi-testnet-latest +// kintsugi-dev // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// parachain/runtime/testnet-kintsugi/src/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,128 +37,130 @@ use sp_std::marker::PhantomData; /// Weights for fee using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl fee::WeightInfo for WeightInfo { + /// Storage: VaultCapacity Stake (r:1 w:0) - /// Proof Skipped: VaultCapacity Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity Stake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardPerToken (r:2 w:0) - /// Proof Skipped: VaultCapacity RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity RewardPerToken (max_values: None, max_size: Some(59), added: 2534, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardTally (r:2 w:2) - /// Proof Skipped: VaultCapacity RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity RewardTally (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultCapacity TotalRewards (r:2 w:2) - /// Proof Skipped: VaultCapacity TotalRewards (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards TotalStake (r:1 w:0) - /// Proof Skipped: VaultRewards TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards RewardCurrencies (r:1 w:1) - /// Proof Skipped: VaultRewards RewardCurrencies (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) /// Storage: VaultRewards RewardPerToken (r:2 w:2) - /// Proof Skipped: VaultRewards RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards RewardPerToken (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultRewards TotalRewards (r:2 w:2) - /// Proof Skipped: VaultRewards TotalRewards (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards Stake (r:1 w:0) - /// Proof Skipped: VaultRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards Stake (max_values: None, max_size: Some(97), added: 2572, mode: MaxEncodedLen) /// Storage: VaultRewards RewardTally (r:2 w:2) - /// Proof Skipped: VaultRewards RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards RewardTally (max_values: None, max_size: Some(124), added: 2599, mode: MaxEncodedLen) /// Storage: Fee Commission (r:1 w:0) - /// Proof Skipped: Fee Commission (max_values: None, max_size: None, mode: Measured) + /// Proof: Fee Commission (max_values: None, max_size: Some(86), added: 2561, mode: MaxEncodedLen) /// Storage: VaultStaking Nonce (r:1 w:0) - /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking Nonce (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen) /// Storage: VaultStaking TotalCurrentStake (r:1 w:0) - /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking TotalCurrentStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking RewardPerToken (r:2 w:2) - /// Proof Skipped: VaultStaking RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking RewardPerToken (max_values: None, max_size: Some(117), added: 2592, mode: MaxEncodedLen) /// Storage: VaultStaking TotalRewards (r:2 w:2) - /// Proof Skipped: VaultStaking TotalRewards (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking TotalRewards (max_values: None, max_size: Some(117), added: 2592, mode: MaxEncodedLen) /// Storage: VaultStaking Stake (r:1 w:1) - /// Proof Skipped: VaultStaking Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking Stake (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) /// Storage: VaultStaking SlashPerToken (r:1 w:0) - /// Proof Skipped: VaultStaking SlashPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking SlashPerToken (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking SlashTally (r:1 w:1) - /// Proof Skipped: VaultStaking SlashTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking SlashTally (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) /// Storage: VaultStaking TotalStake (r:1 w:1) - /// Proof Skipped: VaultStaking TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking TotalStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking RewardTally (r:2 w:2) - /// Proof Skipped: VaultStaking RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking RewardTally (max_values: None, max_size: Some(149), added: 2624, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:4 w:4) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: System Account (r:2 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn withdraw_rewards() -> Weight { + fn withdraw_rewards () -> Weight { // Proof Size summary in bytes: - // Measured: `4133` - // Estimated: `170001` - // Minimum execution time: 324_463_000 picoseconds. - Weight::from_parts(347_826_000, 170001) + // Measured: `2602` + // Estimated: `111780` + // Minimum execution time: 746_903_000 picoseconds. + Weight::from_parts(805_534_000, 111780) .saturating_add(T::DbWeight::get().reads(35_u64)) .saturating_add(T::DbWeight::get().writes(25_u64)) } /// Storage: Fee IssueFee (r:0 w:1) - /// Proof Skipped: Fee IssueFee (max_values: Some(1), max_size: None, mode: Measured) - fn set_issue_fee() -> Weight { + /// Proof: Fee IssueFee (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + fn set_issue_fee () -> Weight { // Proof Size summary in bytes: - // Measured: `711` - // Estimated: `711` - // Minimum execution time: 6_993_000 picoseconds. - Weight::from_parts(7_227_000, 711) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_833_000 picoseconds. + Weight::from_parts(12_793_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Fee IssueGriefingCollateral (r:0 w:1) - /// Proof Skipped: Fee IssueGriefingCollateral (max_values: Some(1), max_size: None, mode: Measured) - fn set_issue_griefing_collateral() -> Weight { + /// Proof: Fee IssueGriefingCollateral (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + fn set_issue_griefing_collateral () -> Weight { // Proof Size summary in bytes: - // Measured: `711` - // Estimated: `711` - // Minimum execution time: 7_123_000 picoseconds. - Weight::from_parts(7_403_000, 711) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 12_120_000 picoseconds. + Weight::from_parts(12_383_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Fee RedeemFee (r:0 w:1) - /// Proof Skipped: Fee RedeemFee (max_values: Some(1), max_size: None, mode: Measured) - fn set_redeem_fee() -> Weight { + /// Proof: Fee RedeemFee (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + fn set_redeem_fee () -> Weight { // Proof Size summary in bytes: - // Measured: `711` - // Estimated: `711` - // Minimum execution time: 13_347_000 picoseconds. - Weight::from_parts(14_340_000, 711) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_787_000 picoseconds. + Weight::from_parts(15_437_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Fee PremiumRedeemFee (r:0 w:1) - /// Proof Skipped: Fee PremiumRedeemFee (max_values: Some(1), max_size: None, mode: Measured) - fn set_premium_redeem_fee() -> Weight { + /// Proof: Fee PremiumRedeemFee (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + fn set_premium_redeem_fee () -> Weight { // Proof Size summary in bytes: - // Measured: `711` - // Estimated: `711` - // Minimum execution time: 13_343_000 picoseconds. - Weight::from_parts(14_965_000, 711) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 12_261_000 picoseconds. + Weight::from_parts(17_587_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Fee PunishmentFee (r:0 w:1) - /// Proof Skipped: Fee PunishmentFee (max_values: Some(1), max_size: None, mode: Measured) - fn set_punishment_fee() -> Weight { + /// Proof: Fee PunishmentFee (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + fn set_punishment_fee () -> Weight { // Proof Size summary in bytes: - // Measured: `711` - // Estimated: `711` - // Minimum execution time: 13_176_000 picoseconds. - Weight::from_parts(13_541_000, 711) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_825_000 picoseconds. + Weight::from_parts(12_058_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Fee ReplaceGriefingCollateral (r:0 w:1) - /// Proof Skipped: Fee ReplaceGriefingCollateral (max_values: Some(1), max_size: None, mode: Measured) - fn set_replace_griefing_collateral() -> Weight { + /// Proof: Fee ReplaceGriefingCollateral (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + fn set_replace_griefing_collateral () -> Weight { // Proof Size summary in bytes: - // Measured: `711` - // Estimated: `711` - // Minimum execution time: 6_966_000 picoseconds. - Weight::from_parts(7_336_000, 711) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_977_000 picoseconds. + Weight::from_parts(13_090_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Fee Commission (r:0 w:1) - /// Proof Skipped: Fee Commission (max_values: None, max_size: None, mode: Measured) - fn set_commission() -> Weight { + /// Proof: Fee Commission (max_values: None, max_size: Some(86), added: 2561, mode: MaxEncodedLen) + fn set_commission () -> Weight { // Proof Size summary in bytes: - // Measured: `711` - // Estimated: `711` - // Minimum execution time: 8_675_000 picoseconds. - Weight::from_parts(8_906_000, 711) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 16_780_000 picoseconds. + Weight::from_parts(24_608_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/testnet-kintsugi/src/weights/frame_system.rs b/parachain/runtime/testnet-kintsugi/src/weights/frame_system.rs index 72ddd78519..c726b4e758 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/frame_system.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/frame_system.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for frame_system //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-20, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -12,7 +12,7 @@ // benchmark // pallet // --pallet -// frame_system +// * // --extrinsic // * // --chain @@ -20,11 +20,11 @@ // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// /tmp/weights/q.rs +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,77 +37,80 @@ use sp_std::marker::PhantomData; /// Weights for frame_system using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl frame_system::WeightInfo for WeightInfo { + /// The range of component `b` is `[0, 3932160]`. - fn remark(b: u32, ) -> Weight { + fn remark (b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_335_000 picoseconds. - Weight::from_parts(55_491_287, 0) - // Standard Error: 4 - .saturating_add(Weight::from_parts(417, 0).saturating_mul(b.into())) + // Minimum execution time: 7_081_000 picoseconds. + Weight::from_parts(7_083_000, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(744, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. - fn remark_with_event(b: u32, ) -> Weight { + fn remark_with_event (b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_176_000 picoseconds. - Weight::from_parts(71_223_390, 0) - // Standard Error: 12 - .saturating_add(Weight::from_parts(2_091, 0).saturating_mul(b.into())) + // Minimum execution time: 20_736_000 picoseconds. + Weight::from_parts(21_171_000, 0) + // Standard Error: 7 + .saturating_add(Weight::from_parts(2_826, 0).saturating_mul(b.into())) } /// Storage: System Digest (r:1 w:1) /// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured) /// Storage: unknown `0x3a686561707061676573` (r:0 w:1) /// Proof Skipped: unknown `0x3a686561707061676573` (r:0 w:1) - fn set_heap_pages() -> Weight { + fn set_heap_pages () -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `495` - // Minimum execution time: 5_873_000 picoseconds. - Weight::from_parts(6_290_000, 495) + // Estimated: `1485` + // Minimum execution time: 12_688_000 picoseconds. + Weight::from_parts(16_061_000, 1485) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: Skipped Metadata (r:0 w:0) /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `i` is `[0, 1000]`. - fn set_storage(i: u32, ) -> Weight { + fn set_storage (i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_065_000 picoseconds. - Weight::from_parts(3_079_000, 0) - // Standard Error: 9_808 - .saturating_add(Weight::from_parts(1_020_779, 0).saturating_mul(i.into())) + // Minimum execution time: 7_556_000 picoseconds. + Weight::from_parts(8_564_000, 0) + // Standard Error: 46_440 + .saturating_add(Weight::from_parts(2_033_888, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `i` is `[0, 1000]`. - fn kill_storage(i: u32, ) -> Weight { + fn kill_storage (i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_802_000 picoseconds. - Weight::from_parts(2_818_000, 0) - // Standard Error: 5_467 - .saturating_add(Weight::from_parts(726_002, 0).saturating_mul(i.into())) + // Minimum execution time: 10_053_000 picoseconds. + Weight::from_parts(90_019_123, 0) + // Standard Error: 57_151 + .saturating_add(Weight::from_parts(1_191_841, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `p` is `[0, 1000]`. - fn kill_prefix(p: u32, ) -> Weight { + fn kill_prefix (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `105 + p * (69 ±0)` - // Estimated: `105 + p * (70 ±0)` - // Minimum execution time: 5_417_000 picoseconds. - Weight::from_parts(5_528_000, 105) - // Standard Error: 8_058 - .saturating_add(Weight::from_parts(1_383_254, 0).saturating_mul(p.into())) + // Measured: `121 + p * (69 ±0)` + // Estimated: `122 + p * (70 ±0)` + // Minimum execution time: 11_770_000 picoseconds. + Weight::from_parts(132_742_038, 122) + // Standard Error: 151_163 + .saturating_add(Weight::from_parts(2_569_233, 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())) } diff --git a/parachain/runtime/testnet-kintsugi/src/weights/issue.rs b/parachain/runtime/testnet-kintsugi/src/weights/issue.rs index 8f2086b55b..2fa5690570 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/issue.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/issue.rs @@ -2,17 +2,17 @@ //! Autogenerated weights for issue //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-05-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `enterprise`, CPU: `Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz` +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/interbtc-parachain +// target/release/interbtc-parachain // benchmark // pallet // --pallet -// issue +// * // --extrinsic // * // --chain @@ -20,11 +20,11 @@ // --execution=wasm // --wasm-execution=compiled // --steps -// 50 +// 10 // --repeat -// 20 +// 5 // --output -// parachain/runtime/kintsugi/src/weights +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,7 +37,9 @@ use sp_std::marker::PhantomData; /// Weights for issue using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl issue::WeightInfo for WeightInfo { + /// Storage: BTCRelay StartBlockHeight (r:1 w:0) /// Proof: BTCRelay StartBlockHeight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: BTCRelay StableBitcoinConfirmations (r:1 w:0) @@ -76,12 +78,12 @@ impl issue::WeightInfo for WeightInfo { /// Proof: Issue IssuePeriod (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Issue IssueRequests (r:0 w:1) /// Proof: Issue IssueRequests (max_values: None, max_size: Some(261), added: 2736, mode: MaxEncodedLen) - fn request_issue() -> Weight { + fn request_issue () -> Weight { // Proof Size summary in bytes: - // Measured: `3572` - // Estimated: `26156` - // Minimum execution time: 460_989_000 picoseconds. - Weight::from_parts(468_230_000, 26156) + // Measured: `2485` + // Estimated: `43976` + // Minimum execution time: 801_410_000 picoseconds. + Weight::from_parts(833_135_000, 43976) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -112,19 +114,17 @@ impl issue::WeightInfo for WeightInfo { /// The range of component `h` is `[2, 10]`. /// The range of component `i` is `[1, 10]`. /// The range of component `o` is `[1, 10]`. - /// The range of component `b` is `[1, 2048]`. - fn execute_issue_exact(h: u32, i: u32, _o: u32, b: u32, ) -> Weight { + /// The range of component `b` is `[770, 2048]`. + fn execute_issue_exact (h: u32, i: u32, _o: u32, _b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3435` - // Estimated: `20840` - // Minimum execution time: 149_255_000 picoseconds. - Weight::from_parts(152_953_936, 20840) - // Standard Error: 89_955 - .saturating_add(Weight::from_parts(1_708_172, 0).saturating_mul(h.into())) - // Standard Error: 81_018 - .saturating_add(Weight::from_parts(63_534, 0).saturating_mul(i.into())) - // Standard Error: 380 - .saturating_add(Weight::from_parts(3_250, 0).saturating_mul(b.into())) + // Measured: `2194` + // Estimated: `32720` + // Minimum execution time: 271_555_000 picoseconds. + Weight::from_parts(325_500_622, 32720) + // Standard Error: 1_188_492 + .saturating_add(Weight::from_parts(757_629, 0).saturating_mul(h.into())) + // Standard Error: 1_148_700 + .saturating_add(Weight::from_parts(1_901_640, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -167,21 +167,19 @@ impl issue::WeightInfo for WeightInfo { /// The range of component `h` is `[2, 10]`. /// The range of component `i` is `[1, 10]`. /// The range of component `o` is `[1, 10]`. - /// The range of component `b` is `[1, 2048]`. - fn execute_issue_overpayment(h: u32, i: u32, o: u32, b: u32, ) -> Weight { + /// The range of component `b` is `[770, 2048]`. + fn execute_issue_overpayment (h: u32, i: u32, _o: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4257` - // Estimated: `32025` - // Minimum execution time: 217_296_000 picoseconds. - Weight::from_parts(195_953_975, 32025) - // Standard Error: 28_130 - .saturating_add(Weight::from_parts(1_122_551, 0).saturating_mul(h.into())) - // Standard Error: 25_335 - .saturating_add(Weight::from_parts(1_184_132, 0).saturating_mul(i.into())) - // Standard Error: 25_335 - .saturating_add(Weight::from_parts(417_466, 0).saturating_mul(o.into())) - // Standard Error: 118 - .saturating_add(Weight::from_parts(4_320, 0).saturating_mul(b.into())) + // Measured: `3016` + // Estimated: `49845` + // Minimum execution time: 441_961_000 picoseconds. + Weight::from_parts(488_393_851, 49845) + // Standard Error: 1_662_380 + .saturating_add(Weight::from_parts(1_404_640, 0).saturating_mul(h.into())) + // Standard Error: 1_606_723 + .saturating_add(Weight::from_parts(1_509_066, 0).saturating_mul(i.into())) + // Standard Error: 11_314 + .saturating_add(Weight::from_parts(8_056, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -214,21 +212,19 @@ impl issue::WeightInfo for WeightInfo { /// The range of component `h` is `[2, 10]`. /// The range of component `i` is `[1, 10]`. /// The range of component `o` is `[1, 10]`. - /// The range of component `b` is `[1, 2048]`. - fn execute_issue_underpayment(h: u32, i: u32, o: u32, b: u32, ) -> Weight { + /// The range of component `b` is `[770, 2048]`. + fn execute_issue_underpayment (h: u32, i: u32, _o: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3688` - // Estimated: `21351` - // Minimum execution time: 168_568_000 picoseconds. - Weight::from_parts(147_065_905, 21351) - // Standard Error: 26_392 - .saturating_add(Weight::from_parts(1_161_649, 0).saturating_mul(h.into())) - // Standard Error: 23_770 - .saturating_add(Weight::from_parts(1_181_112, 0).saturating_mul(i.into())) - // Standard Error: 23_770 - .saturating_add(Weight::from_parts(303_289, 0).saturating_mul(o.into())) - // Standard Error: 111 - .saturating_add(Weight::from_parts(4_244, 0).saturating_mul(b.into())) + // Measured: `2447` + // Estimated: `34221` + // Minimum execution time: 313_777_000 picoseconds. + Weight::from_parts(327_644_712, 34221) + // Standard Error: 852_074 + .saturating_add(Weight::from_parts(4_159_215, 0).saturating_mul(h.into())) + // Standard Error: 823_546 + .saturating_add(Weight::from_parts(698_076, 0).saturating_mul(i.into())) + // Standard Error: 5_799 + .saturating_add(Weight::from_parts(4_265, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -259,21 +255,21 @@ impl issue::WeightInfo for WeightInfo { /// The range of component `h` is `[2, 10]`. /// The range of component `i` is `[1, 10]`. /// The range of component `o` is `[1, 10]`. - /// The range of component `b` is `[1, 2048]`. - fn execute_expired_issue_exact(h: u32, i: u32, o: u32, b: u32, ) -> Weight { + /// The range of component `b` is `[770, 2048]`. + fn execute_expired_issue_exact (h: u32, i: u32, o: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4376 + i * (13 ±0)` - // Estimated: `20840` - // Minimum execution time: 154_962_000 picoseconds. - Weight::from_parts(135_369_605, 20840) - // Standard Error: 22_015 - .saturating_add(Weight::from_parts(1_344_925, 0).saturating_mul(h.into())) - // Standard Error: 19_828 - .saturating_add(Weight::from_parts(1_006_106, 0).saturating_mul(i.into())) - // Standard Error: 19_828 - .saturating_add(Weight::from_parts(252_928, 0).saturating_mul(o.into())) - // Standard Error: 93 - .saturating_add(Weight::from_parts(4_375, 0).saturating_mul(b.into())) + // Measured: `3148 + o * (4 ±0)` + // Estimated: `32720` + // Minimum execution time: 337_586_000 picoseconds. + Weight::from_parts(315_054_783, 32720) + // Standard Error: 590_526 + .saturating_add(Weight::from_parts(2_458_290, 0).saturating_mul(h.into())) + // Standard Error: 570_755 + .saturating_add(Weight::from_parts(1_611_854, 0).saturating_mul(i.into())) + // Standard Error: 570_755 + .saturating_add(Weight::from_parts(31_017, 0).saturating_mul(o.into())) + // Standard Error: 4_019 + .saturating_add(Weight::from_parts(10_043, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -316,21 +312,21 @@ impl issue::WeightInfo for WeightInfo { /// The range of component `h` is `[2, 10]`. /// The range of component `i` is `[1, 10]`. /// The range of component `o` is `[1, 10]`. - /// The range of component `b` is `[1, 2048]`. - fn execute_expired_issue_overpayment(h: u32, i: u32, o: u32, b: u32, ) -> Weight { + /// The range of component `b` is `[770, 2048]`. + fn execute_expired_issue_overpayment (h: u32, i: u32, o: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `5366` - // Estimated: `32025` - // Minimum execution time: 228_385_000 picoseconds. - Weight::from_parts(205_649_397, 32025) - // Standard Error: 24_527 - .saturating_add(Weight::from_parts(1_353_949, 0).saturating_mul(h.into())) - // Standard Error: 22_090 - .saturating_add(Weight::from_parts(1_151_803, 0).saturating_mul(i.into())) - // Standard Error: 22_090 - .saturating_add(Weight::from_parts(384_410, 0).saturating_mul(o.into())) - // Standard Error: 103 - .saturating_add(Weight::from_parts(4_916, 0).saturating_mul(b.into())) + // Measured: `3710 + h * (4 ±0) + i * (9 ±0) + o * (1 ±0)` + // Estimated: `49845` + // Minimum execution time: 510_111_000 picoseconds. + Weight::from_parts(460_223_598, 49845) + // Standard Error: 925_466 + .saturating_add(Weight::from_parts(4_318_890, 0).saturating_mul(h.into())) + // Standard Error: 894_481 + .saturating_add(Weight::from_parts(1_927_795, 0).saturating_mul(i.into())) + // Standard Error: 894_481 + .saturating_add(Weight::from_parts(1_343_765, 0).saturating_mul(o.into())) + // Standard Error: 6_299 + .saturating_add(Weight::from_parts(13_355, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -363,21 +359,21 @@ impl issue::WeightInfo for WeightInfo { /// The range of component `h` is `[2, 10]`. /// The range of component `i` is `[1, 10]`. /// The range of component `o` is `[1, 10]`. - /// The range of component `b` is `[1, 2048]`. - fn execute_expired_issue_underpayment(h: u32, i: u32, o: u32, b: u32, ) -> Weight { + /// The range of component `b` is `[770, 2048]`. + fn execute_expired_issue_underpayment (h: u32, i: u32, o: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4441 + h * (7 ±0) + i * (9 ±0)` - // Estimated: `21351` - // Minimum execution time: 179_095_000 picoseconds. - Weight::from_parts(157_653_295, 21351) - // Standard Error: 24_085 - .saturating_add(Weight::from_parts(1_438_842, 0).saturating_mul(h.into())) - // Standard Error: 21_692 - .saturating_add(Weight::from_parts(1_150_412, 0).saturating_mul(i.into())) - // Standard Error: 21_692 - .saturating_add(Weight::from_parts(286_053, 0).saturating_mul(o.into())) - // Standard Error: 101 - .saturating_add(Weight::from_parts(4_434, 0).saturating_mul(b.into())) + // Measured: `3221 + h * (4 ±0) + i * (11 ±0)` + // Estimated: `34221` + // Minimum execution time: 392_782_000 picoseconds. + Weight::from_parts(356_107_664, 34221) + // Standard Error: 604_398 + .saturating_add(Weight::from_parts(2_430_185, 0).saturating_mul(h.into())) + // Standard Error: 584_162 + .saturating_add(Weight::from_parts(1_953_983, 0).saturating_mul(i.into())) + // Standard Error: 584_162 + .saturating_add(Weight::from_parts(430_358, 0).saturating_mul(o.into())) + // Standard Error: 4_113 + .saturating_add(Weight::from_parts(14_287, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -391,23 +387,23 @@ impl issue::WeightInfo for WeightInfo { /// Proof: BTCRelay BestBlockHeight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: VaultRegistry Vaults (r:1 w:1) /// Proof: VaultRegistry Vaults (max_values: None, max_size: Some(260), added: 2735, mode: MaxEncodedLen) - fn cancel_issue() -> Weight { + fn cancel_issue () -> Weight { // Proof Size summary in bytes: - // Measured: `2583` - // Estimated: `6968` - // Minimum execution time: 77_932_000 picoseconds. - Weight::from_parts(80_682_000, 6968) + // Measured: `1494` + // Estimated: `11918` + // Minimum execution time: 172_106_000 picoseconds. + Weight::from_parts(179_799_000, 11918) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: Issue IssuePeriod (r:0 w:1) /// Proof: Issue IssuePeriod (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - fn set_issue_period() -> Weight { + fn set_issue_period () -> Weight { // Proof Size summary in bytes: - // Measured: `1027` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 21_773_000 picoseconds. - Weight::from_parts(22_420_000, 0) + // Minimum execution time: 24_384_000 picoseconds. + Weight::from_parts(25_925_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/testnet-kintsugi/src/weights/loans.rs b/parachain/runtime/testnet-kintsugi/src/weights/loans.rs index 55691f4dc2..8f01696cf6 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/loans.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/loans.rs @@ -2,10 +2,10 @@ //! Autogenerated weights for loans //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-13, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: // target/release/interbtc-parachain @@ -16,15 +16,15 @@ // --extrinsic // * // --chain -// kintsugi-testnet-latest +// kintsugi-dev // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// parachain/runtime/testnet-kintsugi/src/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,69 +37,71 @@ use sp_std::marker::PhantomData; /// Weights for loans using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl loans::WeightInfo for WeightInfo { + /// Storage: Loans Markets (r:2 w:1) - /// Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) /// Storage: Loans UnderlyingAssetId (r:1 w:1) - /// Proof Skipped: Loans UnderlyingAssetId (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) /// Storage: Loans MinExchangeRate (r:1 w:0) - /// Proof Skipped: Loans MinExchangeRate (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Loans MinExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Loans ExchangeRate (r:0 w:1) - /// Proof Skipped: Loans ExchangeRate (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans ExchangeRate (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans BorrowIndex (r:0 w:1) - /// Proof Skipped: Loans BorrowIndex (max_values: None, max_size: None, mode: Measured) - fn add_market() -> Weight { + /// Proof: Loans BorrowIndex (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + fn add_market () -> Weight { // Proof Size summary in bytes: - // Measured: `1207` - // Estimated: `13955` - // Minimum execution time: 41_570_000 picoseconds. - Weight::from_parts(42_767_000, 13955) + // Measured: `78` + // Estimated: `11264` + // Minimum execution time: 70_539_000 picoseconds. + Weight::from_parts(77_300_000, 11264) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: Loans Markets (r:1 w:1) - /// Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) - fn activate_market() -> Weight { + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + fn activate_market () -> Weight { // Proof Size summary in bytes: - // Measured: `1504` - // Estimated: `3979` - // Minimum execution time: 26_185_000 picoseconds. - Weight::from_parts(26_946_000, 3979) + // Measured: `343` + // Estimated: `3625` + // Minimum execution time: 36_816_000 picoseconds. + Weight::from_parts(37_690_000, 3625) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Loans Markets (r:1 w:1) - /// Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) - fn update_rate_model() -> Weight { + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + fn update_rate_model () -> Weight { // Proof Size summary in bytes: - // Measured: `1504` - // Estimated: `3979` - // Minimum execution time: 26_638_000 picoseconds. - Weight::from_parts(27_327_000, 3979) + // Measured: `343` + // Estimated: `3625` + // Minimum execution time: 38_329_000 picoseconds. + Weight::from_parts(38_846_000, 3625) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Loans Markets (r:1 w:1) - /// Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) - fn update_market() -> Weight { + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + fn update_market () -> Weight { // Proof Size summary in bytes: - // Measured: `1504` - // Estimated: `3979` - // Minimum execution time: 28_448_000 picoseconds. - Weight::from_parts(29_270_000, 3979) + // Measured: `343` + // Estimated: `3625` + // Minimum execution time: 43_870_000 picoseconds. + Weight::from_parts(46_984_000, 3625) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Loans UnderlyingAssetId (r:1 w:1) - /// Proof Skipped: Loans UnderlyingAssetId (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) /// Storage: Loans Markets (r:1 w:1) - /// Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) - fn force_update_market() -> Weight { + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + fn force_update_market () -> Weight { // Proof Size summary in bytes: - // Measured: `1515` - // Estimated: `7980` - // Minimum execution time: 33_082_000 picoseconds. - Weight::from_parts(33_529_000, 7980) + // Measured: `354` + // Estimated: `7128` + // Minimum execution time: 51_707_000 picoseconds. + Weight::from_parts(55_885_000, 7128) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -107,200 +109,200 @@ impl loans::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn add_reward() -> Weight { + fn add_reward () -> Weight { // Proof Size summary in bytes: - // Measured: `2308` - // Estimated: `7783` - // Minimum execution time: 59_413_000 picoseconds. - Weight::from_parts(61_213_000, 7783) + // Measured: `490` + // Estimated: `9763` + // Minimum execution time: 101_568_000 picoseconds. + Weight::from_parts(105_671_000, 9763) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: Loans Markets (r:2 w:0) - /// Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) /// Storage: Loans RewardSupplySpeed (r:1 w:1) - /// Proof Skipped: Loans RewardSupplySpeed (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplySpeed (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans RewardBorrowSpeed (r:1 w:1) - /// Proof Skipped: Loans RewardBorrowSpeed (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardBorrowSpeed (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans RewardSupplyState (r:1 w:1) - /// Proof Skipped: Loans RewardSupplyState (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplyState (max_values: None, max_size: Some(47), added: 2522, mode: MaxEncodedLen) /// Storage: Loans RewardBorrowState (r:1 w:1) - /// Proof Skipped: Loans RewardBorrowState (max_values: None, max_size: None, mode: Measured) - fn update_market_reward_speed() -> Weight { + /// Proof: Loans RewardBorrowState (max_values: None, max_size: Some(47), added: 2522, mode: MaxEncodedLen) + fn update_market_reward_speed () -> Weight { // Proof Size summary in bytes: - // Measured: `1518` - // Estimated: `22440` - // Minimum execution time: 47_825_000 picoseconds. - Weight::from_parts(49_261_000, 22440) + // Measured: `357` + // Estimated: `20300` + // Minimum execution time: 82_229_000 picoseconds. + Weight::from_parts(84_334_000, 20300) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: Loans Markets (r:2 w:0) - /// Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) /// Storage: Loans RewardSupplyState (r:1 w:1) - /// Proof Skipped: Loans RewardSupplyState (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplyState (max_values: None, max_size: Some(47), added: 2522, mode: MaxEncodedLen) /// Storage: Loans RewardSupplySpeed (r:1 w:0) - /// Proof Skipped: Loans RewardSupplySpeed (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplySpeed (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Tokens TotalIssuance (r:1 w:0) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: Loans RewardSupplierIndex (r:1 w:1) - /// Proof Skipped: Loans RewardSupplierIndex (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplierIndex (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Loans RewardAccrued (r:1 w:1) - /// Proof Skipped: Loans RewardAccrued (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardAccrued (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:3 w:2) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: Loans RewardBorrowState (r:1 w:1) - /// Proof Skipped: Loans RewardBorrowState (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardBorrowState (max_values: None, max_size: Some(47), added: 2522, mode: MaxEncodedLen) /// Storage: Loans RewardBorrowSpeed (r:1 w:0) - /// Proof Skipped: Loans RewardBorrowSpeed (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardBorrowSpeed (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans TotalBorrows (r:1 w:0) - /// Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans BorrowIndex (r:1 w:0) - /// Proof Skipped: Loans BorrowIndex (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans BorrowIndex (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans RewardBorrowerIndex (r:1 w:1) - /// Proof Skipped: Loans RewardBorrowerIndex (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardBorrowerIndex (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Loans AccountBorrows (r:1 w:0) - /// Proof Skipped: Loans AccountBorrows (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans AccountBorrows (max_values: None, max_size: Some(107), added: 2582, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn claim_reward() -> Weight { + fn claim_reward () -> Weight { // Proof Size summary in bytes: - // Measured: `3492` - // Estimated: `80995` - // Minimum execution time: 136_377_000 picoseconds. - Weight::from_parts(141_361_000, 80995) + // Measured: `1808` + // Estimated: `57382` + // Minimum execution time: 275_800_000 picoseconds. + Weight::from_parts(307_782_000, 57382) .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } /// Storage: Loans RewardSupplyState (r:1 w:1) - /// Proof Skipped: Loans RewardSupplyState (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplyState (max_values: None, max_size: Some(47), added: 2522, mode: MaxEncodedLen) /// Storage: Loans RewardSupplySpeed (r:1 w:0) - /// Proof Skipped: Loans RewardSupplySpeed (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplySpeed (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans Markets (r:1 w:0) - /// Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) /// Storage: Tokens TotalIssuance (r:1 w:0) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: Loans RewardSupplierIndex (r:1 w:1) - /// Proof Skipped: Loans RewardSupplierIndex (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplierIndex (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Loans RewardAccrued (r:1 w:1) - /// Proof Skipped: Loans RewardAccrued (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardAccrued (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:3 w:2) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: Loans RewardBorrowState (r:1 w:1) - /// Proof Skipped: Loans RewardBorrowState (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardBorrowState (max_values: None, max_size: Some(47), added: 2522, mode: MaxEncodedLen) /// Storage: Loans RewardBorrowSpeed (r:1 w:0) - /// Proof Skipped: Loans RewardBorrowSpeed (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardBorrowSpeed (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans TotalBorrows (r:1 w:0) - /// Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans BorrowIndex (r:1 w:0) - /// Proof Skipped: Loans BorrowIndex (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans BorrowIndex (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans RewardBorrowerIndex (r:1 w:1) - /// Proof Skipped: Loans RewardBorrowerIndex (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardBorrowerIndex (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Loans AccountBorrows (r:1 w:0) - /// Proof Skipped: Loans AccountBorrows (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans AccountBorrows (max_values: None, max_size: Some(107), added: 2582, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn claim_reward_for_market() -> Weight { + fn claim_reward_for_market () -> Weight { // Proof Size summary in bytes: - // Measured: `3492` - // Estimated: `78520` - // Minimum execution time: 122_502_000 picoseconds. - Weight::from_parts(127_738_000, 78520) + // Measured: `1808` + // Estimated: `54747` + // Minimum execution time: 252_019_000 picoseconds. + Weight::from_parts(259_698_000, 54747) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } /// Storage: Loans Markets (r:2 w:0) - /// Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:3 w:3) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans LastAccruedInterestTime (r:1 w:1) - /// Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans LastAccruedInterestTime (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: Loans RewardSupplyState (r:1 w:1) - /// Proof Skipped: Loans RewardSupplyState (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplyState (max_values: None, max_size: Some(47), added: 2522, mode: MaxEncodedLen) /// Storage: Loans RewardSupplySpeed (r:1 w:0) - /// Proof Skipped: Loans RewardSupplySpeed (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplySpeed (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans RewardSupplierIndex (r:1 w:1) - /// Proof Skipped: Loans RewardSupplierIndex (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplierIndex (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Loans RewardAccrued (r:1 w:1) - /// Proof Skipped: Loans RewardAccrued (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardAccrued (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: Loans UnderlyingAssetId (r:1 w:0) - /// Proof Skipped: Loans UnderlyingAssetId (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) /// Storage: Tokens TotalIssuance (r:1 w:1) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Loans TotalBorrows (r:1 w:0) - /// Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans TotalReserves (r:1 w:0) - /// Proof Skipped: Loans TotalReserves (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans MinExchangeRate (r:1 w:0) - /// Proof Skipped: Loans MinExchangeRate (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Loans MinExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Loans AccountDeposits (r:1 w:0) - /// Proof Skipped: Loans AccountDeposits (max_values: None, max_size: None, mode: Measured) - fn mint() -> Weight { + /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + fn mint () -> Weight { // Proof Size summary in bytes: - // Measured: `2944` - // Estimated: `73490` - // Minimum execution time: 173_373_000 picoseconds. - Weight::from_parts(180_009_000, 73490) + // Measured: `1188` + // Estimated: `56787` + // Minimum execution time: 357_998_000 picoseconds. + Weight::from_parts(365_563_000, 56787) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } /// Storage: Loans Markets (r:2 w:0) - /// Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans LastAccruedInterestTime (r:1 w:1) - /// Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans LastAccruedInterestTime (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: Loans TotalBorrows (r:1 w:1) - /// Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:2 w:2) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Loans TotalReserves (r:1 w:0) - /// Proof Skipped: Loans TotalReserves (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans AccountDeposits (r:1 w:0) - /// Proof Skipped: Loans AccountDeposits (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Loans UnderlyingAssetId (r:1 w:0) - /// Proof Skipped: Loans UnderlyingAssetId (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) /// Storage: Tokens TotalIssuance (r:1 w:0) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: Loans MinExchangeRate (r:1 w:0) - /// Proof Skipped: Loans MinExchangeRate (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Loans MinExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Loans MaxExchangeRate (r:1 w:0) - /// Proof Skipped: Loans MaxExchangeRate (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Loans MaxExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Loans AccountBorrows (r:1 w:1) - /// Proof Skipped: Loans AccountBorrows (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans AccountBorrows (max_values: None, max_size: Some(107), added: 2582, mode: MaxEncodedLen) /// Storage: Loans RewardBorrowState (r:1 w:1) - /// Proof Skipped: Loans RewardBorrowState (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardBorrowState (max_values: None, max_size: Some(47), added: 2522, mode: MaxEncodedLen) /// Storage: Loans RewardBorrowSpeed (r:1 w:0) - /// Proof Skipped: Loans RewardBorrowSpeed (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardBorrowSpeed (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans RewardBorrowerIndex (r:1 w:1) - /// Proof Skipped: Loans RewardBorrowerIndex (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardBorrowerIndex (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Loans RewardAccrued (r:1 w:1) - /// Proof Skipped: Loans RewardAccrued (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardAccrued (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: Loans BorrowIndex (r:1 w:0) - /// Proof Skipped: Loans BorrowIndex (max_values: None, max_size: None, mode: Measured) - fn borrow() -> Weight { + /// Proof: Loans BorrowIndex (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + fn borrow () -> Weight { // Proof Size summary in bytes: - // Measured: `3312` - // Estimated: `90329` - // Minimum execution time: 165_367_000 picoseconds. - Weight::from_parts(174_974_000, 90329) + // Measured: `1698` + // Estimated: `62778` + // Minimum execution time: 342_597_000 picoseconds. + Weight::from_parts(390_705_000, 62778) .saturating_add(T::DbWeight::get().reads(20_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } /// Storage: Loans Markets (r:2 w:0) - /// Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) /// Storage: Loans UnderlyingAssetId (r:1 w:0) - /// Proof Skipped: Loans UnderlyingAssetId (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans LastAccruedInterestTime (r:1 w:1) - /// Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans LastAccruedInterestTime (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: Tokens TotalIssuance (r:1 w:1) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:3 w:3) @@ -308,162 +310,162 @@ impl loans::WeightInfo for WeightInfo { /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Loans TotalBorrows (r:1 w:0) - /// Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans TotalReserves (r:1 w:0) - /// Proof Skipped: Loans TotalReserves (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans MinExchangeRate (r:1 w:0) - /// Proof Skipped: Loans MinExchangeRate (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Loans MinExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Loans MaxExchangeRate (r:1 w:0) - /// Proof Skipped: Loans MaxExchangeRate (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Loans MaxExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Loans AccountDeposits (r:1 w:0) - /// Proof Skipped: Loans AccountDeposits (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Loans RewardSupplyState (r:1 w:1) - /// Proof Skipped: Loans RewardSupplyState (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplyState (max_values: None, max_size: Some(47), added: 2522, mode: MaxEncodedLen) /// Storage: Loans RewardSupplySpeed (r:1 w:0) - /// Proof Skipped: Loans RewardSupplySpeed (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplySpeed (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans RewardSupplierIndex (r:1 w:1) - /// Proof Skipped: Loans RewardSupplierIndex (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplierIndex (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Loans RewardAccrued (r:1 w:1) - /// Proof Skipped: Loans RewardAccrued (max_values: None, max_size: None, mode: Measured) - fn redeem() -> Weight { + /// Proof: Loans RewardAccrued (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) + fn redeem () -> Weight { // Proof Size summary in bytes: - // Measured: `3368` - // Estimated: `82017` - // Minimum execution time: 196_696_000 picoseconds. - Weight::from_parts(215_776_000, 82017) + // Measured: `1723` + // Estimated: `58288` + // Minimum execution time: 427_825_000 picoseconds. + Weight::from_parts(431_920_000, 58288) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } /// Storage: Loans Markets (r:2 w:0) - /// Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:3 w:3) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: Loans UnderlyingAssetId (r:1 w:0) - /// Proof Skipped: Loans UnderlyingAssetId (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans LastAccruedInterestTime (r:1 w:1) - /// Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans LastAccruedInterestTime (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: Tokens TotalIssuance (r:1 w:1) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Loans TotalBorrows (r:1 w:0) - /// Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans TotalReserves (r:1 w:0) - /// Proof Skipped: Loans TotalReserves (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans MinExchangeRate (r:1 w:0) - /// Proof Skipped: Loans MinExchangeRate (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Loans MinExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Loans MaxExchangeRate (r:1 w:0) - /// Proof Skipped: Loans MaxExchangeRate (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Loans MaxExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Loans AccountDeposits (r:1 w:0) - /// Proof Skipped: Loans AccountDeposits (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Loans RewardSupplyState (r:1 w:1) - /// Proof Skipped: Loans RewardSupplyState (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplyState (max_values: None, max_size: Some(47), added: 2522, mode: MaxEncodedLen) /// Storage: Loans RewardSupplySpeed (r:1 w:0) - /// Proof Skipped: Loans RewardSupplySpeed (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplySpeed (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans RewardSupplierIndex (r:1 w:1) - /// Proof Skipped: Loans RewardSupplierIndex (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplierIndex (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Loans RewardAccrued (r:1 w:1) - /// Proof Skipped: Loans RewardAccrued (max_values: None, max_size: None, mode: Measured) - fn redeem_all() -> Weight { + /// Proof: Loans RewardAccrued (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) + fn redeem_all () -> Weight { // Proof Size summary in bytes: - // Measured: `3368` - // Estimated: `82017` - // Minimum execution time: 198_239_000 picoseconds. - Weight::from_parts(208_062_000, 82017) + // Measured: `1723` + // Estimated: `58288` + // Minimum execution time: 432_724_000 picoseconds. + Weight::from_parts(436_302_000, 58288) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } /// Storage: Loans Markets (r:2 w:0) - /// Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans LastAccruedInterestTime (r:1 w:1) - /// Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans LastAccruedInterestTime (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: Loans AccountBorrows (r:1 w:1) - /// Proof Skipped: Loans AccountBorrows (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans AccountBorrows (max_values: None, max_size: Some(107), added: 2582, mode: MaxEncodedLen) /// Storage: Loans BorrowIndex (r:1 w:0) - /// Proof Skipped: Loans BorrowIndex (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans BorrowIndex (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans RewardBorrowState (r:1 w:1) - /// Proof Skipped: Loans RewardBorrowState (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardBorrowState (max_values: None, max_size: Some(47), added: 2522, mode: MaxEncodedLen) /// Storage: Loans RewardBorrowSpeed (r:1 w:0) - /// Proof Skipped: Loans RewardBorrowSpeed (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardBorrowSpeed (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans RewardBorrowerIndex (r:1 w:1) - /// Proof Skipped: Loans RewardBorrowerIndex (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardBorrowerIndex (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Loans RewardAccrued (r:1 w:1) - /// Proof Skipped: Loans RewardAccrued (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardAccrued (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:2 w:2) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: Loans TotalBorrows (r:1 w:1) - /// Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured) - fn repay_borrow() -> Weight { + /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + fn repay_borrow () -> Weight { // Proof Size summary in bytes: - // Measured: `3407` - // Estimated: `61096` - // Minimum execution time: 113_730_000 picoseconds. - Weight::from_parts(119_126_000, 61096) + // Measured: `1620` + // Estimated: `42116` + // Minimum execution time: 234_073_000 picoseconds. + Weight::from_parts(255_981_000, 42116) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } /// Storage: Loans Markets (r:2 w:0) - /// Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans LastAccruedInterestTime (r:1 w:1) - /// Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans LastAccruedInterestTime (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: Loans AccountBorrows (r:1 w:1) - /// Proof Skipped: Loans AccountBorrows (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans AccountBorrows (max_values: None, max_size: Some(107), added: 2582, mode: MaxEncodedLen) /// Storage: Loans BorrowIndex (r:1 w:0) - /// Proof Skipped: Loans BorrowIndex (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans BorrowIndex (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans RewardBorrowState (r:1 w:1) - /// Proof Skipped: Loans RewardBorrowState (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardBorrowState (max_values: None, max_size: Some(47), added: 2522, mode: MaxEncodedLen) /// Storage: Loans RewardBorrowSpeed (r:1 w:0) - /// Proof Skipped: Loans RewardBorrowSpeed (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardBorrowSpeed (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans RewardBorrowerIndex (r:1 w:1) - /// Proof Skipped: Loans RewardBorrowerIndex (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardBorrowerIndex (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Loans RewardAccrued (r:1 w:1) - /// Proof Skipped: Loans RewardAccrued (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardAccrued (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:2 w:2) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: Loans TotalBorrows (r:1 w:1) - /// Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured) - fn repay_borrow_all() -> Weight { + /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + fn repay_borrow_all () -> Weight { // Proof Size summary in bytes: - // Measured: `3407` - // Estimated: `61096` - // Minimum execution time: 125_769_000 picoseconds. - Weight::from_parts(130_191_000, 61096) + // Measured: `1620` + // Estimated: `42116` + // Minimum execution time: 250_393_000 picoseconds. + Weight::from_parts(260_898_000, 42116) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } /// Storage: Loans Markets (r:2 w:0) - /// Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: Loans UnderlyingAssetId (r:1 w:0) - /// Proof Skipped: Loans UnderlyingAssetId (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) /// Storage: Loans AccountDeposits (r:1 w:1) - /// Proof Skipped: Loans AccountDeposits (max_values: None, max_size: None, mode: Measured) - fn deposit_all_collateral() -> Weight { + /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + fn deposit_all_collateral () -> Weight { // Proof Size summary in bytes: - // Measured: `2295` - // Estimated: `19375` - // Minimum execution time: 64_058_000 picoseconds. - Weight::from_parts(66_335_000, 19375) + // Measured: `967` + // Estimated: `16899` + // Minimum execution time: 124_483_000 picoseconds. + Weight::from_parts(131_690_000, 16899) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: Loans Markets (r:2 w:0) - /// Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) /// Storage: Loans AccountDeposits (r:1 w:1) - /// Proof Skipped: Loans AccountDeposits (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Loans UnderlyingAssetId (r:1 w:0) - /// Proof Skipped: Loans UnderlyingAssetId (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans LastAccruedInterestTime (r:1 w:1) - /// Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans LastAccruedInterestTime (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: Tokens TotalIssuance (r:1 w:0) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:2 w:1) @@ -471,34 +473,34 @@ impl loans::WeightInfo for WeightInfo { /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Loans TotalBorrows (r:1 w:0) - /// Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans TotalReserves (r:1 w:0) - /// Proof Skipped: Loans TotalReserves (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans MinExchangeRate (r:1 w:0) - /// Proof Skipped: Loans MinExchangeRate (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Loans MinExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Loans MaxExchangeRate (r:1 w:0) - /// Proof Skipped: Loans MaxExchangeRate (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Loans MaxExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Loans AccountBorrows (r:1 w:0) - /// Proof Skipped: Loans AccountBorrows (max_values: None, max_size: None, mode: Measured) - fn withdraw_all_collateral() -> Weight { + /// Proof: Loans AccountBorrows (max_values: None, max_size: Some(107), added: 2582, mode: MaxEncodedLen) + fn withdraw_all_collateral () -> Weight { // Proof Size summary in bytes: - // Measured: `3242` - // Estimated: `60764` - // Minimum execution time: 141_400_000 picoseconds. - Weight::from_parts(151_825_000, 60764) + // Measured: `1628` + // Estimated: `45165` + // Minimum execution time: 289_658_000 picoseconds. + Weight::from_parts(295_352_000, 45165) .saturating_add(T::DbWeight::get().reads(15_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans LastAccruedInterestTime (r:2 w:2) - /// Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans LastAccruedInterestTime (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: Loans Markets (r:3 w:0) - /// Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) /// Storage: Loans AccountDeposits (r:4 w:1) - /// Proof Skipped: Loans AccountDeposits (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Loans UnderlyingAssetId (r:1 w:0) - /// Proof Skipped: Loans UnderlyingAssetId (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) /// Storage: Tokens TotalIssuance (r:1 w:0) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:6 w:5) @@ -506,52 +508,52 @@ impl loans::WeightInfo for WeightInfo { /// Storage: System Account (r:4 w:2) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Loans TotalBorrows (r:2 w:1) - /// Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans TotalReserves (r:1 w:0) - /// Proof Skipped: Loans TotalReserves (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans MinExchangeRate (r:1 w:0) - /// Proof Skipped: Loans MinExchangeRate (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Loans MinExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Loans MaxExchangeRate (r:1 w:0) - /// Proof Skipped: Loans MaxExchangeRate (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Loans MaxExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) - /// Proof Skipped: Oracle Aggregate (max_values: None, max_size: None, mode: Measured) + /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: Loans AccountBorrows (r:3 w:1) - /// Proof Skipped: Loans AccountBorrows (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans AccountBorrows (max_values: None, max_size: Some(107), added: 2582, mode: MaxEncodedLen) /// Storage: Loans BorrowIndex (r:1 w:0) - /// Proof Skipped: Loans BorrowIndex (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans BorrowIndex (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans RewardBorrowState (r:1 w:1) - /// Proof Skipped: Loans RewardBorrowState (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardBorrowState (max_values: None, max_size: Some(47), added: 2522, mode: MaxEncodedLen) /// Storage: Loans RewardBorrowSpeed (r:1 w:0) - /// Proof Skipped: Loans RewardBorrowSpeed (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardBorrowSpeed (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans RewardBorrowerIndex (r:1 w:1) - /// Proof Skipped: Loans RewardBorrowerIndex (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardBorrowerIndex (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Loans RewardAccrued (r:3 w:3) - /// Proof Skipped: Loans RewardAccrued (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardAccrued (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: Loans RewardSupplyState (r:1 w:1) - /// Proof Skipped: Loans RewardSupplyState (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplyState (max_values: None, max_size: Some(47), added: 2522, mode: MaxEncodedLen) /// Storage: Loans RewardSupplySpeed (r:1 w:0) - /// Proof Skipped: Loans RewardSupplySpeed (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplySpeed (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans RewardSupplierIndex (r:3 w:3) - /// Proof Skipped: Loans RewardSupplierIndex (max_values: None, max_size: None, mode: Measured) - fn liquidate_borrow() -> Weight { + /// Proof: Loans RewardSupplierIndex (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + fn liquidate_borrow () -> Weight { // Proof Size summary in bytes: - // Measured: `5262` - // Estimated: `202203` - // Minimum execution time: 469_747_000 picoseconds. - Weight::from_parts(485_938_000, 202203) + // Measured: `3348` + // Estimated: `127253` + // Minimum execution time: 1_237_041_000 picoseconds. + Weight::from_parts(1_266_964_000, 127253) .saturating_add(T::DbWeight::get().reads(44_u64)) .saturating_add(T::DbWeight::get().writes(21_u64)) } /// Storage: Loans Markets (r:2 w:0) - /// Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans LastAccruedInterestTime (r:1 w:1) - /// Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans LastAccruedInterestTime (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: Loans UnderlyingAssetId (r:1 w:0) - /// Proof Skipped: Loans UnderlyingAssetId (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) /// Storage: Tokens TotalIssuance (r:1 w:1) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:4 w:4) @@ -559,71 +561,71 @@ impl loans::WeightInfo for WeightInfo { /// Storage: System Account (r:2 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Loans TotalBorrows (r:1 w:0) - /// Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans TotalReserves (r:1 w:0) - /// Proof Skipped: Loans TotalReserves (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans MinExchangeRate (r:1 w:0) - /// Proof Skipped: Loans MinExchangeRate (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Loans MinExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Loans MaxExchangeRate (r:1 w:0) - /// Proof Skipped: Loans MaxExchangeRate (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Loans MaxExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Loans AccountDeposits (r:1 w:0) - /// Proof Skipped: Loans AccountDeposits (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Loans RewardSupplyState (r:1 w:1) - /// Proof Skipped: Loans RewardSupplyState (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplyState (max_values: None, max_size: Some(47), added: 2522, mode: MaxEncodedLen) /// Storage: Loans RewardSupplySpeed (r:1 w:0) - /// Proof Skipped: Loans RewardSupplySpeed (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplySpeed (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Loans RewardSupplierIndex (r:1 w:1) - /// Proof Skipped: Loans RewardSupplierIndex (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans RewardSupplierIndex (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Loans RewardAccrued (r:1 w:1) - /// Proof Skipped: Loans RewardAccrued (max_values: None, max_size: None, mode: Measured) - fn reduce_incentive_reserves() -> Weight { + /// Proof: Loans RewardAccrued (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) + fn reduce_incentive_reserves () -> Weight { // Proof Size summary in bytes: - // Measured: `4362` - // Estimated: `99138` - // Minimum execution time: 252_564_000 picoseconds. - Weight::from_parts(264_648_000, 99138) + // Measured: `2653` + // Estimated: `63481` + // Minimum execution time: 576_937_000 picoseconds. + Weight::from_parts(605_250_000, 63481) .saturating_add(T::DbWeight::get().reads(21_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } /// Storage: Loans Markets (r:2 w:0) - /// Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans LastAccruedInterestTime (r:1 w:1) - /// Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans LastAccruedInterestTime (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:2 w:2) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:1) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Loans TotalReserves (r:1 w:1) - /// Proof Skipped: Loans TotalReserves (max_values: None, max_size: None, mode: Measured) - fn add_reserves() -> Weight { + /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + fn add_reserves () -> Weight { // Proof Size summary in bytes: - // Measured: `2768` - // Estimated: `26490` - // Minimum execution time: 83_672_000 picoseconds. - Weight::from_parts(91_097_000, 26490) + // Measured: `1012` + // Estimated: `24524` + // Minimum execution time: 162_782_000 picoseconds. + Weight::from_parts(175_367_000, 24524) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: Loans Markets (r:2 w:0) - /// Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Loans LastAccruedInterestTime (r:1 w:1) - /// Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans LastAccruedInterestTime (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: Loans TotalReserves (r:1 w:1) - /// Proof Skipped: Loans TotalReserves (max_values: None, max_size: None, mode: Measured) + /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:2 w:2) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn reduce_reserves() -> Weight { + fn reduce_reserves () -> Weight { // Proof Size summary in bytes: - // Measured: `2857` - // Estimated: `26757` - // Minimum execution time: 74_469_000 picoseconds. - Weight::from_parts(77_439_000, 26757) + // Measured: `1243` + // Estimated: `24524` + // Minimum execution time: 140_986_000 picoseconds. + Weight::from_parts(146_049_000, 24524) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } diff --git a/parachain/runtime/testnet-kintsugi/src/weights/nomination.rs b/parachain/runtime/testnet-kintsugi/src/weights/nomination.rs index 050b1884a1..ea68318941 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/nomination.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/nomination.rs @@ -2,10 +2,10 @@ //! Autogenerated weights for nomination //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-13, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: // target/release/interbtc-parachain @@ -16,15 +16,15 @@ // --extrinsic // * // --chain -// kintsugi-testnet-latest +// kintsugi-dev // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// parachain/runtime/testnet-kintsugi/src/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,193 +37,267 @@ use sp_std::marker::PhantomData; /// Weights for nomination using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl nomination::WeightInfo for WeightInfo { + /// Storage: Nomination NominationEnabled (r:0 w:1) /// Proof: Nomination NominationEnabled (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - fn set_nomination_enabled() -> Weight { + fn set_nomination_enabled () -> Weight { // Proof Size summary in bytes: - // Measured: `711` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_162_000 picoseconds. - Weight::from_parts(7_369_000, 0) + // Minimum execution time: 11_693_000 picoseconds. + Weight::from_parts(12_930_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Nomination NominationLimit (r:0 w:1) /// Proof: Nomination NominationLimit (max_values: None, max_size: Some(86), added: 2561, mode: MaxEncodedLen) - fn set_nomination_limit() -> Weight { + fn set_nomination_limit () -> Weight { // Proof Size summary in bytes: - // Measured: `837` - // Estimated: `1332` - // Minimum execution time: 13_120_000 picoseconds. - Weight::from_parts(13_615_000, 1332) + // Measured: `126` + // Estimated: `1486` + // Minimum execution time: 32_023_000 picoseconds. + Weight::from_parts(41_403_000, 1486) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Nomination NominationEnabled (r:1 w:0) /// Proof: Nomination NominationEnabled (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: VaultRegistry Vaults (r:1 w:0) /// Proof: VaultRegistry Vaults (max_values: None, max_size: Some(260), added: 2735, mode: MaxEncodedLen) /// Storage: Nomination Vaults (r:1 w:1) /// Proof: Nomination Vaults (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen) - fn opt_in_to_nomination() -> Weight { + fn opt_in_to_nomination () -> Weight { // Proof Size summary in bytes: - // Measured: `1816` - // Estimated: `8088` - // Minimum execution time: 41_350_000 picoseconds. - Weight::from_parts(43_935_000, 8088) + // Measured: `767` + // Estimated: `10233` + // Minimum execution time: 72_892_000 picoseconds. + Weight::from_parts(74_551_000, 10233) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Nomination Vaults (r:1 w:1) /// Proof: Nomination Vaults (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen) /// Storage: VaultStaking Nonce (r:1 w:1) - /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking Nonce (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen) /// Storage: VaultStaking TotalCurrentStake (r:2 w:2) - /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking TotalCurrentStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking Stake (r:2 w:2) - /// Proof Skipped: VaultStaking Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking Stake (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) /// Storage: VaultStaking SlashPerToken (r:2 w:0) - /// Proof Skipped: VaultStaking SlashPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking SlashPerToken (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking SlashTally (r:2 w:2) - /// Proof Skipped: VaultStaking SlashTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking SlashTally (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) /// Storage: VaultRegistry Vaults (r:1 w:0) /// Proof: VaultRegistry Vaults (max_values: None, max_size: Some(260), added: 2735, mode: MaxEncodedLen) /// Storage: VaultRegistry MinimumCollateralVault (r:1 w:0) /// Proof: VaultRegistry MinimumCollateralVault (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) /// Proof: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) + /// Storage: Loans UnderlyingAssetId (r:1 w:0) + /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) + /// Storage: Loans Markets (r:2 w:0) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Loans LastAccruedInterestTime (r:1 w:1) + /// Proof: Loans LastAccruedInterestTime (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:0) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:1 w:0) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Loans TotalBorrows (r:1 w:0) + /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans TotalReserves (r:1 w:0) + /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans MinExchangeRate (r:1 w:0) + /// Proof: Loans MinExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Loans MaxExchangeRate (r:1 w:0) + /// Proof: Loans MaxExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) - /// Proof Skipped: Oracle Aggregate (max_values: None, max_size: None, mode: Measured) + /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: VaultCapacity Stake (r:1 w:0) - /// Proof Skipped: VaultCapacity Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity Stake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardPerToken (r:2 w:0) - /// Proof Skipped: VaultCapacity RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity RewardPerToken (max_values: None, max_size: Some(59), added: 2534, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardTally (r:2 w:2) - /// Proof Skipped: VaultCapacity RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity RewardTally (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultCapacity TotalRewards (r:2 w:2) - /// Proof Skipped: VaultCapacity TotalRewards (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards Stake (r:1 w:0) - /// Proof Skipped: VaultRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards Stake (max_values: None, max_size: Some(97), added: 2572, mode: MaxEncodedLen) /// Storage: VaultRewards RewardPerToken (r:2 w:0) - /// Proof Skipped: VaultRewards RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards RewardPerToken (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultRewards RewardTally (r:2 w:2) - /// Proof Skipped: VaultRewards RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards RewardTally (max_values: None, max_size: Some(124), added: 2599, mode: MaxEncodedLen) /// Storage: VaultRewards TotalRewards (r:2 w:2) - /// Proof Skipped: VaultRewards TotalRewards (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Fee Commission (r:1 w:0) - /// Proof Skipped: Fee Commission (max_values: None, max_size: None, mode: Measured) + /// Proof: Fee Commission (max_values: None, max_size: Some(86), added: 2561, mode: MaxEncodedLen) /// Storage: VaultStaking RewardPerToken (r:4 w:2) - /// Proof Skipped: VaultStaking RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking RewardPerToken (max_values: None, max_size: Some(117), added: 2592, mode: MaxEncodedLen) /// Storage: VaultStaking TotalStake (r:2 w:2) - /// Proof Skipped: VaultStaking TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking TotalStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking RewardTally (r:4 w:4) - /// Proof Skipped: VaultStaking RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking RewardTally (max_values: None, max_size: Some(149), added: 2624, mode: MaxEncodedLen) /// Storage: VaultRewards TotalStake (r:1 w:0) - /// Proof Skipped: VaultRewards TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) /// Proof: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) - fn opt_out_of_nomination() -> Weight { + fn opt_out_of_nomination () -> Weight { // Proof Size summary in bytes: - // Measured: `4213` - // Estimated: `186712` - // Minimum execution time: 322_459_000 picoseconds. - Weight::from_parts(328_958_000, 186712) - .saturating_add(T::DbWeight::get().reads(42_u64)) - .saturating_add(T::DbWeight::get().writes(25_u64)) + // Measured: `4345` + // Estimated: `166107` + // Minimum execution time: 904_409_000 picoseconds. + Weight::from_parts(914_963_000, 166107) + .saturating_add(T::DbWeight::get().reads(54_u64)) + .saturating_add(T::DbWeight::get().writes(26_u64)) } /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: VaultStaking Nonce (r:1 w:0) - /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking Nonce (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen) /// Storage: VaultStaking TotalCurrentStake (r:1 w:1) - /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking TotalCurrentStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking Stake (r:2 w:1) - /// Proof Skipped: VaultStaking Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking Stake (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) /// Storage: VaultStaking SlashPerToken (r:1 w:0) - /// Proof Skipped: VaultStaking SlashPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking SlashPerToken (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking SlashTally (r:2 w:1) - /// Proof Skipped: VaultStaking SlashTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking SlashTally (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) /// Storage: Nomination NominationLimit (r:1 w:0) /// Proof: Nomination NominationLimit (max_values: None, max_size: Some(86), added: 2561, mode: MaxEncodedLen) /// Storage: Nomination NominationEnabled (r:1 w:0) /// Proof: Nomination NominationEnabled (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Nomination Vaults (r:1 w:0) /// Proof: Nomination Vaults (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen) - /// Storage: Tokens Accounts (r:2 w:2) + /// Storage: Loans UnderlyingAssetId (r:1 w:0) + /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) + /// Storage: Loans RewardSupplyState (r:1 w:1) + /// Proof: Loans RewardSupplyState (max_values: None, max_size: Some(47), added: 2522, mode: MaxEncodedLen) + /// Storage: Loans RewardSupplySpeed (r:1 w:0) + /// Proof: Loans RewardSupplySpeed (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans RewardSupplierIndex (r:2 w:2) + /// Proof: Loans RewardSupplierIndex (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: Loans Markets (r:2 w:0) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: Loans RewardAccrued (r:2 w:2) + /// Proof: Loans RewardAccrued (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:3 w:2) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) + /// Storage: System Account (r:2 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Loans AccountDeposits (r:1 w:0) + /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: VaultCapacity Stake (r:1 w:1) - /// Proof Skipped: VaultCapacity Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity Stake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardPerToken (r:2 w:0) - /// Proof Skipped: VaultCapacity RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity RewardPerToken (max_values: None, max_size: Some(59), added: 2534, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardTally (r:2 w:2) - /// Proof Skipped: VaultCapacity RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity RewardTally (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultCapacity TotalRewards (r:2 w:2) - /// Proof Skipped: VaultCapacity TotalRewards (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards Stake (r:1 w:1) - /// Proof Skipped: VaultRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards Stake (max_values: None, max_size: Some(97), added: 2572, mode: MaxEncodedLen) /// Storage: VaultRewards RewardPerToken (r:2 w:0) - /// Proof Skipped: VaultRewards RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards RewardPerToken (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultRewards RewardTally (r:2 w:2) - /// Proof Skipped: VaultRewards RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards RewardTally (max_values: None, max_size: Some(124), added: 2599, mode: MaxEncodedLen) /// Storage: VaultRewards TotalRewards (r:2 w:2) - /// Proof Skipped: VaultRewards TotalRewards (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Fee Commission (r:1 w:0) - /// Proof Skipped: Fee Commission (max_values: None, max_size: None, mode: Measured) + /// Proof: Fee Commission (max_values: None, max_size: Some(86), added: 2561, mode: MaxEncodedLen) /// Storage: VaultStaking RewardPerToken (r:2 w:2) - /// Proof Skipped: VaultStaking RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking RewardPerToken (max_values: None, max_size: Some(117), added: 2592, mode: MaxEncodedLen) /// Storage: VaultStaking TotalStake (r:1 w:1) - /// Proof Skipped: VaultStaking TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking TotalStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking RewardTally (r:2 w:2) - /// Proof Skipped: VaultStaking RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking RewardTally (max_values: None, max_size: Some(149), added: 2624, mode: MaxEncodedLen) /// Storage: VaultRegistry Vaults (r:1 w:0) /// Proof: VaultRegistry Vaults (max_values: None, max_size: Some(260), added: 2735, mode: MaxEncodedLen) /// Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) /// Proof: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) /// Storage: VaultRewards TotalStake (r:1 w:1) - /// Proof Skipped: VaultRewards TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards RewardCurrencies (r:1 w:0) - /// Proof Skipped: VaultRewards RewardCurrencies (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Loans LastAccruedInterestTime (r:1 w:1) + /// Proof: Loans LastAccruedInterestTime (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:0) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) + /// Storage: Loans TotalBorrows (r:1 w:0) + /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans TotalReserves (r:1 w:0) + /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans MinExchangeRate (r:1 w:0) + /// Proof: Loans MinExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Loans MaxExchangeRate (r:1 w:0) + /// Proof: Loans MaxExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) - /// Proof Skipped: Oracle Aggregate (max_values: None, max_size: None, mode: Measured) + /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: VaultCapacity TotalStake (r:1 w:1) - /// Proof Skipped: VaultCapacity TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity TotalStake (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardCurrencies (r:1 w:0) - /// Proof Skipped: VaultCapacity RewardCurrencies (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity RewardCurrencies (max_values: None, max_size: Some(127), added: 2602, mode: MaxEncodedLen) /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) /// Proof: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) /// Storage: VaultRegistry SystemCollateralCeiling (r:1 w:0) /// Proof: VaultRegistry SystemCollateralCeiling (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) - fn deposit_collateral() -> Weight { + fn deposit_collateral () -> Weight { // Proof Size summary in bytes: - // Measured: `5449` - // Estimated: `228730` - // Minimum execution time: 320_054_000 picoseconds. - Weight::from_parts(329_014_000, 228730) - .saturating_add(T::DbWeight::get().reads(43_u64)) - .saturating_add(T::DbWeight::get().writes(23_u64)) + // Measured: `5203` + // Estimated: `194221` + // Minimum execution time: 927_155_000 picoseconds. + Weight::from_parts(1_003_930_000, 194221) + .saturating_add(T::DbWeight::get().reads(62_u64)) + .saturating_add(T::DbWeight::get().writes(29_u64)) } /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: VaultStaking Nonce (r:1 w:0) - /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking Nonce (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen) /// Storage: VaultRegistry Vaults (r:1 w:0) /// Proof: VaultRegistry Vaults (max_values: None, max_size: Some(260), added: 2735, mode: MaxEncodedLen) /// Storage: VaultStaking TotalCurrentStake (r:1 w:1) - /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking TotalCurrentStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultRegistry MinimumCollateralVault (r:1 w:0) /// Proof: VaultRegistry MinimumCollateralVault (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) /// Proof: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) + /// Storage: Loans UnderlyingAssetId (r:1 w:0) + /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) + /// Storage: Loans Markets (r:2 w:0) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Loans LastAccruedInterestTime (r:1 w:1) + /// Proof: Loans LastAccruedInterestTime (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:0) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:3 w:2) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:0) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Loans TotalBorrows (r:1 w:0) + /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans TotalReserves (r:1 w:0) + /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans MinExchangeRate (r:1 w:0) + /// Proof: Loans MinExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Loans MaxExchangeRate (r:1 w:0) + /// Proof: Loans MaxExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) - /// Proof Skipped: Oracle Aggregate (max_values: None, max_size: None, mode: Measured) + /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: Nomination NominationEnabled (r:1 w:0) /// Proof: Nomination NominationEnabled (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Nomination Vaults (r:1 w:0) @@ -231,54 +305,60 @@ impl nomination::WeightInfo for WeightInfo { /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) /// Proof: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) /// Storage: VaultCapacity Stake (r:1 w:1) - /// Proof Skipped: VaultCapacity Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity Stake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardPerToken (r:2 w:0) - /// Proof Skipped: VaultCapacity RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity RewardPerToken (max_values: None, max_size: Some(59), added: 2534, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardTally (r:2 w:2) - /// Proof Skipped: VaultCapacity RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity RewardTally (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultCapacity TotalRewards (r:2 w:2) - /// Proof Skipped: VaultCapacity TotalRewards (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards Stake (r:1 w:1) - /// Proof Skipped: VaultRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards Stake (max_values: None, max_size: Some(97), added: 2572, mode: MaxEncodedLen) /// Storage: VaultRewards RewardPerToken (r:2 w:0) - /// Proof Skipped: VaultRewards RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards RewardPerToken (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultRewards RewardTally (r:2 w:2) - /// Proof Skipped: VaultRewards RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards RewardTally (max_values: None, max_size: Some(124), added: 2599, mode: MaxEncodedLen) /// Storage: VaultRewards TotalRewards (r:2 w:2) - /// Proof Skipped: VaultRewards TotalRewards (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Fee Commission (r:1 w:0) - /// Proof Skipped: Fee Commission (max_values: None, max_size: None, mode: Measured) + /// Proof: Fee Commission (max_values: None, max_size: Some(86), added: 2561, mode: MaxEncodedLen) /// Storage: VaultStaking RewardPerToken (r:2 w:2) - /// Proof Skipped: VaultStaking RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking RewardPerToken (max_values: None, max_size: Some(117), added: 2592, mode: MaxEncodedLen) /// Storage: VaultStaking Stake (r:1 w:1) - /// Proof Skipped: VaultStaking Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking Stake (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) /// Storage: VaultStaking SlashPerToken (r:1 w:0) - /// Proof Skipped: VaultStaking SlashPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking SlashPerToken (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking SlashTally (r:1 w:1) - /// Proof Skipped: VaultStaking SlashTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking SlashTally (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) /// Storage: VaultStaking TotalStake (r:1 w:1) - /// Proof Skipped: VaultStaking TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking TotalStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking RewardTally (r:2 w:2) - /// Proof Skipped: VaultStaking RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking RewardTally (max_values: None, max_size: Some(149), added: 2624, mode: MaxEncodedLen) /// Storage: VaultRewards TotalStake (r:1 w:1) - /// Proof Skipped: VaultRewards TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards RewardCurrencies (r:1 w:0) - /// Proof Skipped: VaultRewards RewardCurrencies (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) /// Storage: VaultCapacity TotalStake (r:1 w:1) - /// Proof Skipped: VaultCapacity TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity TotalStake (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardCurrencies (r:1 w:0) - /// Proof Skipped: VaultCapacity RewardCurrencies (max_values: None, max_size: None, mode: Measured) - /// Storage: Tokens Accounts (r:2 w:2) - /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn withdraw_collateral() -> Weight { + /// Proof: VaultCapacity RewardCurrencies (max_values: None, max_size: Some(127), added: 2602, mode: MaxEncodedLen) + /// Storage: Loans RewardSupplyState (r:1 w:1) + /// Proof: Loans RewardSupplyState (max_values: None, max_size: Some(47), added: 2522, mode: MaxEncodedLen) + /// Storage: Loans RewardSupplySpeed (r:1 w:0) + /// Proof: Loans RewardSupplySpeed (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans RewardSupplierIndex (r:2 w:2) + /// Proof: Loans RewardSupplierIndex (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: Loans RewardAccrued (r:2 w:2) + /// Proof: Loans RewardAccrued (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) + /// Storage: Loans AccountDeposits (r:1 w:0) + /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + fn withdraw_collateral () -> Weight { // Proof Size summary in bytes: - // Measured: `5698` - // Estimated: `226935` - // Minimum execution time: 326_415_000 picoseconds. - Weight::from_parts(327_863_000, 226935) - .saturating_add(T::DbWeight::get().reads(40_u64)) - .saturating_add(T::DbWeight::get().writes(23_u64)) + // Measured: `5540` + // Estimated: `185433` + // Minimum execution time: 1_013_865_000 picoseconds. + Weight::from_parts(1_070_118_000, 185433) + .saturating_add(T::DbWeight::get().reads(59_u64)) + .saturating_add(T::DbWeight::get().writes(29_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/testnet-kintsugi/src/weights/oracle.rs b/parachain/runtime/testnet-kintsugi/src/weights/oracle.rs index 79df4ea238..8123c770ed 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/oracle.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/oracle.rs @@ -2,10 +2,10 @@ //! Autogenerated weights for oracle //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-13, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: // target/release/interbtc-parachain @@ -16,15 +16,15 @@ // --extrinsic // * // --chain -// kintsugi-testnet-latest +// kintsugi-dev // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// parachain/runtime/testnet-kintsugi/src/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,80 +37,80 @@ use sp_std::marker::PhantomData; /// Weights for oracle using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl oracle::WeightInfo for WeightInfo { + /// Storage: Oracle RawValuesUpdated (r:1001 w:1000) - /// Proof Skipped: Oracle RawValuesUpdated (max_values: None, max_size: None, mode: Measured) + /// Proof: Oracle RawValuesUpdated (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Oracle RawValues (r:2000 w:0) - /// Proof Skipped: Oracle RawValues (max_values: None, max_size: None, mode: Measured) + /// Proof: Oracle RawValues (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) /// Storage: Oracle MaxDelay (r:1 w:0) - /// Proof Skipped: Oracle MaxDelay (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Oracle MaxDelay (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: VaultRewards TotalStake (r:1000 w:0) - /// Proof Skipped: VaultRewards TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Security ParachainStatus (r:1 w:1) - /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Loans Markets (r:1000 w:0) - /// Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) + /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Security Errors (r:1 w:1) - /// Proof Skipped: Security Errors (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Security Errors (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:0 w:1000) - /// Proof Skipped: Oracle Aggregate (max_values: None, max_size: None, mode: Measured) + /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: Oracle ValidUntil (r:0 w:1000) - /// Proof Skipped: Oracle ValidUntil (max_values: None, max_size: None, mode: Measured) + /// Proof: Oracle ValidUntil (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) /// The range of component `u` is `[1, 1000]`. - fn on_initialize(u: u32, ) -> Weight { + fn on_initialize (u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1719 + u * (127 ±0)` - // Estimated: `19799 + u * (13518 ±0)` - // Minimum execution time: 70_959_000 picoseconds. - Weight::from_parts(73_191_000, 19799) - // Standard Error: 60_982 - .saturating_add(Weight::from_parts(29_960_582, 0).saturating_mul(u.into())) + // Measured: `701 + u * (127 ±0)` + // Estimated: `11433 + u * (10172 ±0)` + // Minimum execution time: 133_738_000 picoseconds. + Weight::from_parts(134_454_000, 11433) + // Standard Error: 242_453 + .saturating_add(Weight::from_parts(52_484_106, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(u.into()))) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(u.into()))) - .saturating_add(Weight::from_parts(0, 13518).saturating_mul(u.into())) + .saturating_add(Weight::from_parts(0, 10172).saturating_mul(u.into())) } /// Storage: Oracle AuthorizedOracles (r:1 w:0) - /// Proof Skipped: Oracle AuthorizedOracles (max_values: None, max_size: None, mode: Measured) + /// Proof: Oracle AuthorizedOracles (max_values: None, max_size: Some(305), added: 2780, mode: MaxEncodedLen) /// Storage: Timestamp Now (r:1 w:0) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Oracle RawValuesUpdated (r:0 w:1000) - /// Proof Skipped: Oracle RawValuesUpdated (max_values: None, max_size: None, mode: Measured) + /// Proof: Oracle RawValuesUpdated (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen) /// Storage: Oracle RawValues (r:0 w:1000) - /// Proof Skipped: Oracle RawValues (max_values: None, max_size: None, mode: Measured) + /// Proof: Oracle RawValues (max_values: None, max_size: Some(100), added: 2575, mode: MaxEncodedLen) /// The range of component `u` is `[1, 1000]`. - fn feed_values(u: u32, ) -> Weight { + fn feed_values (u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1283` - // Estimated: `6827` - // Minimum execution time: 46_485_000 picoseconds. - Weight::from_parts(330_434, 6827) - // Standard Error: 21_002 - .saturating_add(Weight::from_parts(4_276_223, 0).saturating_mul(u.into())) + // Measured: `295` + // Estimated: `5263` + // Minimum execution time: 51_227_000 picoseconds. + Weight::from_parts(25_307_010, 5263) + // Standard Error: 122_636 + .saturating_add(Weight::from_parts(9_965_704, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(u.into()))) } /// Storage: Oracle AuthorizedOracles (r:0 w:1) - /// Proof Skipped: Oracle AuthorizedOracles (max_values: None, max_size: None, mode: Measured) - fn insert_authorized_oracle() -> Weight { + /// Proof: Oracle AuthorizedOracles (max_values: None, max_size: Some(305), added: 2780, mode: MaxEncodedLen) + fn insert_authorized_oracle () -> Weight { // Proof Size summary in bytes: - // Measured: `1019` - // Estimated: `1019` - // Minimum execution time: 21_849_000 picoseconds. - Weight::from_parts(22_955_000, 1019) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 32_141_000 picoseconds. + Weight::from_parts(34_262_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Oracle AuthorizedOracles (r:0 w:1) - /// Proof Skipped: Oracle AuthorizedOracles (max_values: None, max_size: None, mode: Measured) - fn remove_authorized_oracle() -> Weight { + /// Proof: Oracle AuthorizedOracles (max_values: None, max_size: Some(305), added: 2780, mode: MaxEncodedLen) + fn remove_authorized_oracle () -> Weight { // Proof Size summary in bytes: - // Measured: `1019` - // Estimated: `1019` - // Minimum execution time: 21_720_000 picoseconds. - Weight::from_parts(31_299_000, 1019) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 29_382_000 picoseconds. + Weight::from_parts(32_299_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/testnet-kintsugi/src/weights/orml_asset_registry.rs b/parachain/runtime/testnet-kintsugi/src/weights/orml_asset_registry.rs index d24a3cde56..c6caa66fed 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/orml_asset_registry.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/orml_asset_registry.rs @@ -2,29 +2,29 @@ //! Autogenerated weights for orml_asset_registry //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-05-03, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: // target/release/interbtc-parachain // benchmark // pallet // --pallet -// orml_asset_registry +// * // --extrinsic // * // --chain -// kintsugi-testnet-latest +// kintsugi-dev // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// parachain/runtime/testnet-kintsugi/src/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,19 +37,21 @@ use sp_std::marker::PhantomData; /// Weights for orml_asset_registry using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl orml_asset_registry::WeightInfo for WeightInfo { + /// Storage: AssetRegistry LastAssetId (r:1 w:1) /// Proof Skipped: AssetRegistry LastAssetId (max_values: Some(1), max_size: None, mode: Measured) /// Storage: AssetRegistry Metadata (r:1 w:1) /// Proof Skipped: AssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// Storage: AssetRegistry LocationToAssetId (r:1 w:1) /// Proof Skipped: AssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured) - fn register_asset() -> Weight { + fn register_asset () -> Weight { // Proof Size summary in bytes: - // Measured: `1132` - // Estimated: `8841` - // Minimum execution time: 99_572_000 picoseconds. - Weight::from_parts(153_803_000, 8841) + // Measured: `107` + // Estimated: `8736` + // Minimum execution time: 61_353_000 picoseconds. + Weight::from_parts(70_581_000, 8736) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -57,20 +59,20 @@ impl orml_asset_registry::WeightInfo for WeightInfo /// Proof Skipped: AssetRegistry Metadata (max_values: None, max_size: None, mode: Measured) /// Storage: AssetRegistry LocationToAssetId (r:1 w:2) /// Proof Skipped: AssetRegistry LocationToAssetId (max_values: None, max_size: None, mode: Measured) - fn update_asset() -> Weight { + fn update_asset () -> Weight { // Proof Size summary in bytes: - // Measured: `1831` - // Estimated: `8612` - // Minimum execution time: 130_499_000 picoseconds. - Weight::from_parts(145_935_000, 8612) + // Measured: `774` + // Estimated: `8478` + // Minimum execution time: 71_917_000 picoseconds. + Weight::from_parts(75_264_000, 8478) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - fn set_asset_location() -> Weight { + fn set_asset_location () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 594_000 picoseconds. - Weight::from_parts(788_000, 0) + // Minimum execution time: 557_000 picoseconds. + Weight::from_parts(619_000, 0) } } \ No newline at end of file diff --git a/parachain/runtime/testnet-kintsugi/src/weights/orml_tokens.rs b/parachain/runtime/testnet-kintsugi/src/weights/orml_tokens.rs index fdf755502c..4881cc0abc 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/orml_tokens.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/orml_tokens.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for orml_tokens //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-21, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -12,7 +12,7 @@ // benchmark // pallet // --pallet -// orml_tokens +// * // --extrinsic // * // --chain @@ -20,11 +20,11 @@ // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// /tmp/weights/q.rs +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,7 +37,9 @@ use sp_std::marker::PhantomData; /// Weights for orml_tokens using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl orml_tokens::WeightInfo for WeightInfo { + /// Storage: Loans UnderlyingAssetId (r:1 w:0) /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) /// Storage: Loans RewardSupplyState (r:1 w:1) @@ -56,12 +58,12 @@ impl orml_tokens::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: Loans AccountDeposits (r:1 w:1) /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - fn transfer() -> Weight { + fn transfer () -> Weight { // Proof Size summary in bytes: - // Measured: `3031` - // Estimated: `33289` - // Minimum execution time: 262_212_000 picoseconds. - Weight::from_parts(281_457_000, 33289) + // Measured: `1517` + // Estimated: `42199` + // Minimum execution time: 266_128_000 picoseconds. + Weight::from_parts(278_132_000, 42199) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -83,12 +85,12 @@ impl orml_tokens::WeightInfo for WeightInfo { /// Proof: Loans RewardAccrued (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: Loans AccountDeposits (r:1 w:1) /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - fn transfer_all() -> Weight { + fn transfer_all () -> Weight { // Proof Size summary in bytes: - // Measured: `3031` - // Estimated: `33289` - // Minimum execution time: 267_744_000 picoseconds. - Weight::from_parts(284_689_000, 33289) + // Measured: `1517` + // Estimated: `42199` + // Minimum execution time: 285_944_000 picoseconds. + Weight::from_parts(312_534_000, 42199) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -110,12 +112,12 @@ impl orml_tokens::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: Loans AccountDeposits (r:1 w:1) /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - fn transfer_keep_alive() -> Weight { + fn transfer_keep_alive () -> Weight { // Proof Size summary in bytes: - // Measured: `2709` - // Estimated: `33289` - // Minimum execution time: 241_077_000 picoseconds. - Weight::from_parts(252_606_000, 33289) + // Measured: `1517` + // Estimated: `42199` + // Minimum execution time: 266_955_000 picoseconds. + Weight::from_parts(294_501_000, 42199) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -137,12 +139,12 @@ impl orml_tokens::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: Loans AccountDeposits (r:1 w:1) /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - fn force_transfer() -> Weight { + fn force_transfer () -> Weight { // Proof Size summary in bytes: - // Measured: `3031` - // Estimated: `33289` - // Minimum execution time: 264_857_000 picoseconds. - Weight::from_parts(289_050_000, 33289) + // Measured: `1517` + // Estimated: `42199` + // Minimum execution time: 264_101_000 picoseconds. + Weight::from_parts(279_325_000, 42199) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -150,12 +152,12 @@ impl orml_tokens::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: Tokens TotalIssuance (r:1 w:1) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) - fn set_balance() -> Weight { + fn set_balance () -> Weight { // Proof Size summary in bytes: - // Measured: `1317` - // Estimated: `5100` - // Minimum execution time: 108_557_000 picoseconds. - Weight::from_parts(131_891_000, 5100) + // Measured: `218` + // Estimated: `7080` + // Minimum execution time: 69_208_000 picoseconds. + Weight::from_parts(72_139_000, 7080) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } diff --git a/parachain/runtime/testnet-kintsugi/src/weights/orml_vesting.rs b/parachain/runtime/testnet-kintsugi/src/weights/orml_vesting.rs index 73f3356dba..8187c6e457 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/orml_vesting.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/orml_vesting.rs @@ -2,29 +2,29 @@ //! Autogenerated weights for orml_vesting //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-05-03, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `interlay-hetzner-01`, CPU: `AMD EPYC 7502P 32-Core Processor` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: // target/release/interbtc-parachain // benchmark // pallet -// --chain -// kintsugi-testnet-latest -// --execution=wasm -// --wasm-execution=compiled // --pallet -// orml_vesting +// * // --extrinsic // * +// --chain +// kintsugi-dev +// --execution=wasm +// --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// orml_vesting_weights.rs +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -51,10 +51,10 @@ impl orml_vesting::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 1]`. fn claim (_n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1711 + n * (66 ±0)` - // Estimated: `11488` - // Minimum execution time: 71_704_000 picoseconds. - Weight::from_parts(87_352_830, 11488) + // Measured: `315 + n * (306 ±0)` + // Estimated: `15448` + // Minimum execution time: 85_979_000 picoseconds. + Weight::from_parts(111_109_521, 15448) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -68,10 +68,10 @@ impl orml_vesting::WeightInfo for WeightInfo { /// Proof: Tokens Locks (max_values: None, max_size: Some(1268), added: 3743, mode: MaxEncodedLen) fn vested_transfer () -> Weight { // Proof Size summary in bytes: - // Measured: `2149` - // Estimated: `14078` - // Minimum execution time: 132_846_000 picoseconds. - Weight::from_parts(133_958_000, 14078) + // Measured: `395` + // Estimated: `18038` + // Minimum execution time: 157_673_000 picoseconds. + Weight::from_parts(167_432_000, 18038) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -84,12 +84,14 @@ impl orml_vesting::WeightInfo for WeightInfo { /// 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 `n` is `[0, 1]`. - fn update_vesting_schedules (_n: u32, ) -> Weight { + fn update_vesting_schedules (n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2006` - // Estimated: `8936` - // Minimum execution time: 74_298_000 picoseconds. - Weight::from_parts(80_576_431, 8936) + // Measured: `560` + // Estimated: `11906` + // Minimum execution time: 87_594_000 picoseconds. + Weight::from_parts(94_841_478, 11906) + // Standard Error: 2_921_497 + .saturating_add(Weight::from_parts(3_419_855, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } diff --git a/parachain/runtime/testnet-kintsugi/src/weights/pallet_collective.rs b/parachain/runtime/testnet-kintsugi/src/weights/pallet_collective.rs index 51bd9e364d..80cd7c9fa0 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/pallet_collective.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/pallet_collective.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for pallet_collective //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-14, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -20,11 +20,11 @@ // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// /tmp/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,49 +37,51 @@ use sp_std::marker::PhantomData; /// Weights for pallet_collective using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl pallet_collective::WeightInfo for WeightInfo { + /// Storage: TechnicalCommittee Members (r:1 w:1) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) /// Storage: TechnicalCommittee Proposals (r:1 w:0) /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TechnicalCommittee Voting (r:99 w:99) + /// Storage: TechnicalCommittee Voting (r:100 w:100) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) /// Storage: TechnicalCommittee Prime (r:0 w:1) /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. - fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { + fn set_members (m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + m * (3232 ±0) + p * (3223 ±0)` - // Estimated: `10486 + m * (7834 ±21) + p * (10266 ±21)` - // Minimum execution time: 16_706_000 picoseconds. - Weight::from_parts(17_711_000, 10486) - // Standard Error: 59_907 - .saturating_add(Weight::from_parts(4_630_586, 0).saturating_mul(m.into())) - // Standard Error: 59_907 - .saturating_add(Weight::from_parts(7_258_785, 0).saturating_mul(p.into())) + // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` + // Estimated: `70029 + m * (7554 ±104) + p * (9866 ±104)` + // Minimum execution time: 38_019_000 picoseconds. + Weight::from_parts(38_022_000, 70029) + // Standard Error: 735_190 + .saturating_add(Weight::from_parts(11_429_703, 0).saturating_mul(m.into())) + // Standard Error: 735_190 + .saturating_add(Weight::from_parts(17_021_122, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 7834).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 10266).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 7554).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 9866).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. - fn execute(b: u32, m: u32, ) -> Weight { + fn execute (b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `137 + m * (32 ±0)` - // Estimated: `631 + m * (32 ±0)` - // Minimum execution time: 16_219_000 picoseconds. - Weight::from_parts(17_796_206, 631) - // Standard Error: 294 - .saturating_add(Weight::from_parts(2_370, 0).saturating_mul(b.into())) - // Standard Error: 3_044 - .saturating_add(Weight::from_parts(1_442, 0).saturating_mul(m.into())) + // Measured: `103 + m * (32 ±0)` + // Estimated: `1588 + m * (32 ±0)` + // Minimum execution time: 41_770_000 picoseconds. + Weight::from_parts(47_109_177, 1588) + // Standard Error: 4_848 + .saturating_add(Weight::from_parts(1_184, 0).saturating_mul(b.into())) + // Standard Error: 50_068 + .saturating_add(Weight::from_parts(51_255, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -89,14 +91,16 @@ impl pallet_collective::WeightInfo for WeightInfo { /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. - fn propose_execute(b: u32, m: u32, ) -> Weight { + fn propose_execute (b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `137 + m * (32 ±0)` - // Estimated: `3242 + m * (64 ±0)` - // Minimum execution time: 20_347_000 picoseconds. - Weight::from_parts(23_713_642, 3242) - // Standard Error: 444 - .saturating_add(Weight::from_parts(1_295, 0).saturating_mul(b.into())) + // Measured: `103 + m * (32 ±0)` + // Estimated: `5156 + m * (64 ±0)` + // Minimum execution time: 48_076_000 picoseconds. + Weight::from_parts(38_454_109, 5156) + // Standard Error: 6_282 + .saturating_add(Weight::from_parts(13_808, 0).saturating_mul(b.into())) + // Standard Error: 64_875 + .saturating_add(Weight::from_parts(148_299, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } @@ -113,34 +117,36 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. - fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { + fn propose_proposed (b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `460 + m * (32 ±0) + p * (36 ±0)` - // Estimated: `5870 + m * (165 ±0) + p * (180 ±0)` - // Minimum execution time: 26_483_000 picoseconds. - Weight::from_parts(23_397_334, 5870) - // Standard Error: 663 - .saturating_add(Weight::from_parts(4_744, 0).saturating_mul(b.into())) - // Standard Error: 6_882 - .saturating_add(Weight::from_parts(30_443, 0).saturating_mul(m.into())) - // Standard Error: 6_851 - .saturating_add(Weight::from_parts(200_267, 0).saturating_mul(p.into())) + // Measured: `501 + m * (32 ±0) + p * (35 ±0)` + // Estimated: `9070 + m * (165 ±0) + p * (185 ±0)` + // Minimum execution time: 61_541_000 picoseconds. + Weight::from_parts(51_944_121, 9070) + // Standard Error: 6_056 + .saturating_add(Weight::from_parts(13_247, 0).saturating_mul(b.into())) + // Standard Error: 62_750 + .saturating_add(Weight::from_parts(63_684, 0).saturating_mul(m.into())) + // Standard Error: 62_547 + .saturating_add(Weight::from_parts(798_112, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 165).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 185).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) /// The range of component `m` is `[5, 100]`. - fn vote(m: u32, ) -> Weight { + fn vote (m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `907 + m * (64 ±0)` - // Estimated: `4782 + m * (128 ±0)` - // Minimum execution time: 25_083_000 picoseconds. - Weight::from_parts(32_295_030, 4782) + // Measured: `841 + m * (64 ±0)` + // Estimated: `6632 + m * (128 ±0)` + // Minimum execution time: 76_351_000 picoseconds. + Weight::from_parts(90_517_494, 6632) + // Standard Error: 55_820 + .saturating_add(Weight::from_parts(55_048, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 128).saturating_mul(m.into())) @@ -155,16 +161,16 @@ impl pallet_collective::WeightInfo for WeightInfo { /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_early_disapproved(m: u32, p: u32, ) -> Weight { + fn close_early_disapproved (m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `526 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `5489 + m * (260 ±0) + p * (144 ±0)` - // Minimum execution time: 27_033_000 picoseconds. - Weight::from_parts(28_372_211, 5489) - // Standard Error: 6_133 - .saturating_add(Weight::from_parts(46_771, 0).saturating_mul(m.into())) - // Standard Error: 5_965 - .saturating_add(Weight::from_parts(157_627, 0).saturating_mul(p.into())) + // Measured: `562 + m * (64 ±0) + p * (35 ±0)` + // Estimated: `8015 + m * (260 ±0) + p * (144 ±0)` + // Minimum execution time: 69_427_000 picoseconds. + Weight::from_parts(64_426_560, 8015) + // Standard Error: 54_554 + .saturating_add(Weight::from_parts(187_196, 0).saturating_mul(m.into())) + // Standard Error: 53_097 + .saturating_add(Weight::from_parts(680_049, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 260).saturating_mul(m.into())) @@ -181,22 +187,22 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { + fn close_early_approved (b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `793 + b * (1 ±0) + m * (64 ±0) + p * (41 ±0)` - // Estimated: `8744 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)` - // Minimum execution time: 40_787_000 picoseconds. - Weight::from_parts(38_794_081, 8744) - // Standard Error: 782 - .saturating_add(Weight::from_parts(4_852, 0).saturating_mul(b.into())) - // Standard Error: 8_312 - .saturating_add(Weight::from_parts(27_702, 0).saturating_mul(m.into())) - // Standard Error: 8_080 - .saturating_add(Weight::from_parts(211_431, 0).saturating_mul(p.into())) + // Measured: `1004 + m * (64 ±0) + p * (38 ±0)` + // Estimated: `12540 + b * (4 ±0) + m * (260 ±0) + p * (160 ±0)` + // Minimum execution time: 106_291_000 picoseconds. + Weight::from_parts(129_460_678, 12540) + // Standard Error: 7_533 + .saturating_add(Weight::from_parts(350, 0).saturating_mul(b.into())) + // Standard Error: 79_920 + .saturating_add(Weight::from_parts(43_289, 0).saturating_mul(m.into())) + // Standard Error: 77_800 + .saturating_add(Weight::from_parts(670_376, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 4).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 264).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 260).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 160).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) @@ -211,16 +217,16 @@ impl pallet_collective::WeightInfo for WeightInfo { /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_disapproved(m: u32, p: u32, ) -> Weight { + fn close_disapproved (m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `545 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `6590 + m * (325 ±0) + p * (180 ±0)` - // Minimum execution time: 31_757_000 picoseconds. - Weight::from_parts(34_367_204, 6590) - // Standard Error: 6_615 - .saturating_add(Weight::from_parts(23_945, 0).saturating_mul(m.into())) - // Standard Error: 6_433 - .saturating_add(Weight::from_parts(152_344, 0).saturating_mul(p.into())) + // Measured: `582 + m * (64 ±0) + p * (35 ±0)` + // Estimated: `9995 + m * (325 ±0) + p * (180 ±0)` + // Minimum execution time: 85_138_000 picoseconds. + Weight::from_parts(87_157_777, 9995) + // Standard Error: 67_957 + .saturating_add(Weight::from_parts(90_026, 0).saturating_mul(m.into())) + // Standard Error: 66_143 + .saturating_add(Weight::from_parts(616_836, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 325).saturating_mul(m.into())) @@ -239,22 +245,20 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. - fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { + fn close_approved (b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `813 + b * (1 ±0) + m * (64 ±0) + p * (41 ±0)` - // Estimated: `10040 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)` - // Minimum execution time: 43_320_000 picoseconds. - Weight::from_parts(34_039_932, 10040) - // Standard Error: 1_284 - .saturating_add(Weight::from_parts(12_761, 0).saturating_mul(b.into())) - // Standard Error: 13_650 - .saturating_add(Weight::from_parts(71_510, 0).saturating_mul(m.into())) - // Standard Error: 13_269 - .saturating_add(Weight::from_parts(229_149, 0).saturating_mul(p.into())) + // Measured: `1024 + m * (64 ±0) + p * (38 ±0)` + // Estimated: `14785 + b * (5 ±0) + m * (325 ±0) + p * (200 ±0)` + // Minimum execution time: 109_727_000 picoseconds. + Weight::from_parts(135_887_198, 14785) + // Standard Error: 5_321 + .saturating_add(Weight::from_parts(5_321, 0).saturating_mul(b.into())) + // Standard Error: 54_958 + .saturating_add(Weight::from_parts(707_239, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 5).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 330).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 325).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 200).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Proposals (r:1 w:1) @@ -264,14 +268,14 @@ impl pallet_collective::WeightInfo for WeightInfo { /// Storage: TechnicalCommittee ProposalOf (r:0 w:1) /// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured) /// The range of component `p` is `[1, 100]`. - fn disapprove_proposal(p: u32, ) -> Weight { + fn disapprove_proposal (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `292 + p * (32 ±0)` - // Estimated: `1371 + p * (96 ±0)` - // Minimum execution time: 16_500_000 picoseconds. - Weight::from_parts(18_922_246, 1371) - // Standard Error: 5_697 - .saturating_add(Weight::from_parts(149_722, 0).saturating_mul(p.into())) + // Measured: `259 + p * (32 ±0)` + // Estimated: `2262 + p * (96 ±0)` + // Minimum execution time: 41_573_000 picoseconds. + Weight::from_parts(50_417_299, 2262) + // Standard Error: 50_726 + .saturating_add(Weight::from_parts(642_778, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 96).saturating_mul(p.into())) diff --git a/parachain/runtime/testnet-kintsugi/src/weights/pallet_identity.rs b/parachain/runtime/testnet-kintsugi/src/weights/pallet_identity.rs index 65e3cc2dfe..ad16f070a6 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/pallet_identity.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/pallet_identity.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for pallet_identity //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-14, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -20,11 +20,11 @@ // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// /tmp/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,18 +37,20 @@ use sp_std::marker::PhantomData; /// Weights for pallet_identity using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl pallet_identity::WeightInfo for WeightInfo { + /// Storage: Identity Registrars (r:1 w:1) /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) /// The range of component `r` is `[1, 19]`. - fn add_registrar(r: u32, ) -> Weight { + fn add_registrar (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `63 + r * (57 ±0)` - // Estimated: `1636` - // Minimum execution time: 12_992_000 picoseconds. - Weight::from_parts(13_857_732, 1636) - // Standard Error: 7_211 - .saturating_add(Weight::from_parts(135_198, 0).saturating_mul(r.into())) + // Measured: `31 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 31_468_000 picoseconds. + Weight::from_parts(30_412_505, 2626) + // Standard Error: 156_998 + .saturating_add(Weight::from_parts(1_041_682, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -58,16 +60,16 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[0, 100]`. - fn set_identity(r: u32, x: u32, ) -> Weight { + fn set_identity (r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `838 + r * (19 ±0)` - // Estimated: `12603` - // Minimum execution time: 23_288_000 picoseconds. - Weight::from_parts(37_979_191, 12603) - // Standard Error: 33_249 - .saturating_add(Weight::from_parts(114_096, 0).saturating_mul(r.into())) - // Standard Error: 6_305 - .saturating_add(Weight::from_parts(446_727, 0).saturating_mul(x.into())) + // Measured: `793 + r * (17 ±0)` + // Estimated: `14583` + // Minimum execution time: 100_643_000 picoseconds. + Weight::from_parts(120_594_142, 14583) + // Standard Error: 412_857 + .saturating_add(Weight::from_parts(145_074, 0).saturating_mul(r.into())) + // Standard Error: 79_224 + .saturating_add(Weight::from_parts(1_243_342, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -75,19 +77,19 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) /// Storage: Identity SubsOf (r:1 w:1) /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:99 w:99) + /// Storage: Identity SuperOf (r:100 w:100) /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// The range of component `s` is `[0, 100]`. - fn set_subs_new(s: u32, ) -> Weight { + fn set_subs_new (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `417` - // Estimated: `18336 + s * (2589 ±0)` - // Minimum execution time: 9_746_000 picoseconds. - Weight::from_parts(24_943_419, 18336) - // Standard Error: 50_959 - .saturating_add(Weight::from_parts(3_426_527, 0).saturating_mul(s.into())) + // Measured: `419` + // Estimated: `22296 + s * (2589 ±0)` + // Minimum execution time: 22_877_000 picoseconds. + Weight::from_parts(58_870_803, 22296) + // Standard Error: 116_330 + .saturating_add(Weight::from_parts(7_592_177, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -100,17 +102,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) - /// Storage: Identity SuperOf (r:0 w:99) + /// Storage: Identity SuperOf (r:0 w:100) /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// The range of component `p` is `[0, 100]`. - fn set_subs_old(p: u32, ) -> Weight { + fn set_subs_old (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `542 + p * (32 ±0)` - // Estimated: `18336` - // Minimum execution time: 9_049_000 picoseconds. - Weight::from_parts(28_925_911, 18336) - // Standard Error: 10_051 - .saturating_add(Weight::from_parts(1_202_643, 0).saturating_mul(p.into())) + // Measured: `511 + p * (32 ±0)` + // Estimated: `21306` + // Minimum execution time: 24_306_000 picoseconds. + Weight::from_parts(52_803_790, 21306) + // Standard Error: 102_716 + .saturating_add(Weight::from_parts(3_358_159, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -126,18 +128,18 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. - fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { + fn clear_identity (r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `899 + r * (19 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `18336` - // Minimum execution time: 51_873_000 picoseconds. - Weight::from_parts(55_529_076, 18336) - // Standard Error: 104_116 - .saturating_add(Weight::from_parts(201_667, 0).saturating_mul(r.into())) - // Standard Error: 19_598 - .saturating_add(Weight::from_parts(1_192_628, 0).saturating_mul(s.into())) - // Standard Error: 19_598 - .saturating_add(Weight::from_parts(43_809, 0).saturating_mul(x.into())) + // Measured: `823 + r * (16 ±0) + s * (32 ±0) + x * (66 ±0)` + // Estimated: `21306` + // Minimum execution time: 158_745_000 picoseconds. + Weight::from_parts(34_503_551, 21306) + // Standard Error: 668_392 + .saturating_add(Weight::from_parts(2_740_933, 0).saturating_mul(r.into())) + // Standard Error: 128_458 + .saturating_add(Weight::from_parts(3_386_211, 0).saturating_mul(s.into())) + // Standard Error: 128_458 + .saturating_add(Weight::from_parts(845_535, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -150,16 +152,16 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[0, 100]`. - fn request_judgement(r: u32, x: u32, ) -> Weight { + fn request_judgement (r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `795 + r * (71 ±0) + x * (66 ±0)` - // Estimated: `14239` - // Minimum execution time: 38_967_000 picoseconds. - Weight::from_parts(37_012_415, 14239) - // Standard Error: 70_365 - .saturating_add(Weight::from_parts(337_981, 0).saturating_mul(r.into())) - // Standard Error: 13_344 - .saturating_add(Weight::from_parts(492_430, 0).saturating_mul(x.into())) + // Measured: `717 + r * (69 ±0) + x * (66 ±0)` + // Estimated: `17209` + // Minimum execution time: 102_334_000 picoseconds. + Weight::from_parts(107_610_393, 17209) + // Standard Error: 450_364 + .saturating_add(Weight::from_parts(542_131, 0).saturating_mul(r.into())) + // Standard Error: 86_422 + .saturating_add(Weight::from_parts(1_295_768, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -169,58 +171,58 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[0, 100]`. - fn cancel_request(r: u32, x: u32, ) -> Weight { + fn cancel_request (r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `794 + r * (14 ±0) + x * (66 ±0)` - // Estimated: `12603` - // Minimum execution time: 31_852_000 picoseconds. - Weight::from_parts(26_586_033, 12603) - // Standard Error: 51_481 - .saturating_add(Weight::from_parts(345_182, 0).saturating_mul(r.into())) - // Standard Error: 9_763 - .saturating_add(Weight::from_parts(508_506, 0).saturating_mul(x.into())) + // Measured: `748 + r * (12 ±0) + x * (66 ±0)` + // Estimated: `14583` + // Minimum execution time: 87_349_000 picoseconds. + Weight::from_parts(74_575_883, 14583) + // Standard Error: 626_381 + .saturating_add(Weight::from_parts(1_463_102, 0).saturating_mul(r.into())) + // Standard Error: 120_198 + .saturating_add(Weight::from_parts(1_307_866, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: Identity Registrars (r:1 w:1) /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) /// The range of component `r` is `[1, 19]`. - fn set_fee(r: u32, ) -> Weight { + fn set_fee (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `120 + r * (57 ±0)` - // Estimated: `1636` - // Minimum execution time: 7_968_000 picoseconds. - Weight::from_parts(8_734_117, 1636) - // Standard Error: 4_560 - .saturating_add(Weight::from_parts(76_053, 0).saturating_mul(r.into())) + // Measured: `88 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 18_931_000 picoseconds. + Weight::from_parts(18_802_120, 2626) + // Standard Error: 95_869 + .saturating_add(Weight::from_parts(750_431, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Identity Registrars (r:1 w:1) /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) /// The range of component `r` is `[1, 19]`. - fn set_account_id(r: u32, ) -> Weight { + fn set_account_id (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `120 + r * (57 ±0)` - // Estimated: `1636` - // Minimum execution time: 8_815_000 picoseconds. - Weight::from_parts(9_466_487, 1636) - // Standard Error: 2_595 - .saturating_add(Weight::from_parts(84_067, 0).saturating_mul(r.into())) + // Measured: `88 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 20_397_000 picoseconds. + Weight::from_parts(23_867_821, 2626) + // Standard Error: 91_488 + .saturating_add(Weight::from_parts(284_621, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Identity Registrars (r:1 w:1) /// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) /// The range of component `r` is `[1, 19]`. - fn set_fields(r: u32, ) -> Weight { + fn set_fields (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `120 + r * (57 ±0)` - // Estimated: `1636` - // Minimum execution time: 8_735_000 picoseconds. - Weight::from_parts(9_411_277, 1636) - // Standard Error: 4_965 - .saturating_add(Weight::from_parts(72_777, 0).saturating_mul(r.into())) + // Measured: `88 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 19_076_000 picoseconds. + Weight::from_parts(21_112_424, 2626) + // Standard Error: 122_333 + .saturating_add(Weight::from_parts(482_290, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -230,14 +232,16 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) /// The range of component `r` is `[1, 19]`. /// The range of component `x` is `[0, 100]`. - fn provide_judgement(_r: u32, x: u32, ) -> Weight { + fn provide_judgement (r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `508 + r * (57 ±0) + x * (66 ±0)` - // Estimated: `11649` - // Minimum execution time: 23_789_000 picoseconds. - Weight::from_parts(30_582_765, 11649) - // Standard Error: 9_598 - .saturating_add(Weight::from_parts(716_003, 0).saturating_mul(x.into())) + // Measured: `442 + r * (57 ±0) + x * (66 ±0)` + // Estimated: `13629` + // Minimum execution time: 62_441_000 picoseconds. + Weight::from_parts(73_886_831, 13629) + // Standard Error: 533_404 + .saturating_add(Weight::from_parts(161_014, 0).saturating_mul(r.into())) + // Standard Error: 95_805 + .saturating_add(Weight::from_parts(1_979_867, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -254,18 +258,18 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. - fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { + fn kill_identity (r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `968 + r * (13 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `20846` - // Minimum execution time: 70_037_000 picoseconds. - Weight::from_parts(80_219_659, 20846) - // Standard Error: 148_389 - .saturating_add(Weight::from_parts(649_604, 0).saturating_mul(r.into())) - // Standard Error: 27_932 - .saturating_add(Weight::from_parts(1_112_318, 0).saturating_mul(s.into())) - // Standard Error: 27_932 - .saturating_add(Weight::from_parts(115_472, 0).saturating_mul(x.into())) + // Measured: `881 + r * (12 ±0) + s * (32 ±0) + x * (66 ±0)` + // Estimated: `24806` + // Minimum execution time: 281_238_000 picoseconds. + Weight::from_parts(246_266_999, 24806) + // Standard Error: 1_106_823 + .saturating_add(Weight::from_parts(697_702, 0).saturating_mul(r.into())) + // Standard Error: 212_721 + .saturating_add(Weight::from_parts(3_629_666, 0).saturating_mul(s.into())) + // Standard Error: 212_721 + .saturating_add(Weight::from_parts(1_130_070, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -279,14 +283,14 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// The range of component `s` is `[0, 99]`. - fn add_sub(s: u32, ) -> Weight { + fn add_sub (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `831 + s * (36 ±0)` - // Estimated: `20925` - // Minimum execution time: 34_261_000 picoseconds. - Weight::from_parts(39_093_326, 20925) - // Standard Error: 7_238 - .saturating_add(Weight::from_parts(118_128, 0).saturating_mul(s.into())) + // Measured: `746 + s * (36 ±0)` + // Estimated: `24885` + // Minimum execution time: 79_504_000 picoseconds. + Weight::from_parts(96_618_690, 24885) + // Standard Error: 68_793 + .saturating_add(Weight::from_parts(355_990, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -295,14 +299,14 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Storage: Identity SuperOf (r:1 w:1) /// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) /// The range of component `s` is `[1, 100]`. - fn rename_sub(s: u32, ) -> Weight { + fn rename_sub (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `633 + s * (3 ±0)` - // Estimated: `12602` - // Minimum execution time: 14_019_000 picoseconds. - Weight::from_parts(15_909_274, 12602) - // Standard Error: 2_594 - .saturating_add(Weight::from_parts(27_453, 0).saturating_mul(s.into())) + // Measured: `562 + s * (3 ±0)` + // Estimated: `14582` + // Minimum execution time: 31_220_000 picoseconds. + Weight::from_parts(38_174_507, 14582) + // Standard Error: 33_282 + .saturating_add(Weight::from_parts(115_419, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -315,14 +319,14 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// The range of component `s` is `[1, 100]`. - fn remove_sub(s: u32, ) -> Weight { + fn remove_sub (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1029 + s * (35 ±0)` - // Estimated: `20925` - // Minimum execution time: 33_836_000 picoseconds. - Weight::from_parts(39_027_798, 20925) - // Standard Error: 4_331 - .saturating_add(Weight::from_parts(60_390, 0).saturating_mul(s.into())) + // Measured: `929 + s * (35 ±0)` + // Estimated: `24885` + // Minimum execution time: 82_749_000 picoseconds. + Weight::from_parts(91_067_242, 24885) + // Standard Error: 74_022 + .saturating_add(Weight::from_parts(468_617, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -333,14 +337,14 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Storage: Tokens Accounts (r:2 w:2) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// The range of component `s` is `[0, 99]`. - fn quit_sub(s: u32, ) -> Weight { + fn quit_sub (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `956 + s * (37 ±0)` - // Estimated: `13502` - // Minimum execution time: 54_531_000 picoseconds. - Weight::from_parts(61_088_290, 13502) - // Standard Error: 8_512 - .saturating_add(Weight::from_parts(96_135, 0).saturating_mul(s.into())) + // Measured: `816 + s * (38 ±0)` + // Estimated: `16472` + // Minimum execution time: 134_520_000 picoseconds. + Weight::from_parts(146_428_515, 16472) + // Standard Error: 86_845 + .saturating_add(Weight::from_parts(337_444, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } diff --git a/parachain/runtime/testnet-kintsugi/src/weights/pallet_membership.rs b/parachain/runtime/testnet-kintsugi/src/weights/pallet_membership.rs index f814ae8789..34c4c62f6e 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/pallet_membership.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/pallet_membership.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for pallet_membership //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-14, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -20,11 +20,11 @@ // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// /tmp/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,7 +37,9 @@ use sp_std::marker::PhantomData; /// Weights for pallet_membership using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl pallet_membership::WeightInfo for WeightInfo { + /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) /// Storage: TechnicalCommittee Proposals (r:1 w:0) @@ -47,14 +49,14 @@ impl pallet_membership::WeightInfo for WeightInfo { /// Storage: TechnicalCommittee Prime (r:0 w:1) /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 99]`. - fn add_member(m: u32, ) -> Weight { + fn add_member (m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `199 + m * (64 ±0)` - // Estimated: `4786 + m * (192 ±0)` - // Minimum execution time: 16_675_000 picoseconds. - Weight::from_parts(18_222_766, 4786) - // Standard Error: 2_034 - .saturating_add(Weight::from_parts(34_393, 0).saturating_mul(m.into())) + // Measured: `133 + m * (64 ±0)` + // Estimated: `6574 + m * (192 ±0)` + // Minimum execution time: 39_581_000 picoseconds. + Weight::from_parts(39_891_844, 6574) + // Standard Error: 41_754 + .saturating_add(Weight::from_parts(159_587, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) @@ -70,14 +72,14 @@ impl pallet_membership::WeightInfo for WeightInfo { /// Storage: TechnicalCommittee Prime (r:0 w:1) /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[2, 100]`. - fn remove_member(m: u32, ) -> Weight { + fn remove_member (m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `303 + m * (64 ±0)` - // Estimated: `5625 + m * (192 ±0)` - // Minimum execution time: 21_196_000 picoseconds. - Weight::from_parts(22_542_537, 5625) - // Standard Error: 2_817 - .saturating_add(Weight::from_parts(25_571, 0).saturating_mul(m.into())) + // Measured: `238 + m * (64 ±0)` + // Estimated: `8403 + m * (192 ±0)` + // Minimum execution time: 44_504_000 picoseconds. + Weight::from_parts(51_226_421, 8403) + // Standard Error: 38_238 + .saturating_add(Weight::from_parts(60_869, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) @@ -93,14 +95,14 @@ impl pallet_membership::WeightInfo for WeightInfo { /// Storage: TechnicalCommittee Prime (r:0 w:1) /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[2, 100]`. - fn swap_member(m: u32, ) -> Weight { + fn swap_member (m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `303 + m * (64 ±0)` - // Estimated: `5625 + m * (192 ±0)` - // Minimum execution time: 21_292_000 picoseconds. - Weight::from_parts(22_229_081, 5625) - // Standard Error: 700 - .saturating_add(Weight::from_parts(37_077, 0).saturating_mul(m.into())) + // Measured: `238 + m * (64 ±0)` + // Estimated: `8403 + m * (192 ±0)` + // Minimum execution time: 44_640_000 picoseconds. + Weight::from_parts(47_187_756, 8403) + // Standard Error: 28_104 + .saturating_add(Weight::from_parts(164_176, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) @@ -116,14 +118,14 @@ impl pallet_membership::WeightInfo for WeightInfo { /// Storage: TechnicalCommittee Prime (r:0 w:1) /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 100]`. - fn reset_member(m: u32, ) -> Weight { + fn reset_member (m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `303 + m * (64 ±0)` - // Estimated: `5625 + m * (192 ±0)` - // Minimum execution time: 20_408_000 picoseconds. - Weight::from_parts(23_142_598, 5625) - // Standard Error: 9_379 - .saturating_add(Weight::from_parts(157_451, 0).saturating_mul(m.into())) + // Measured: `237 + m * (64 ±0)` + // Estimated: `8403 + m * (192 ±0)` + // Minimum execution time: 44_356_000 picoseconds. + Weight::from_parts(50_542_307, 8403) + // Standard Error: 39_339 + .saturating_add(Weight::from_parts(331_668, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) @@ -139,14 +141,14 @@ impl pallet_membership::WeightInfo for WeightInfo { /// Storage: TechnicalCommittee Prime (r:0 w:1) /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 100]`. - fn change_key(m: u32, ) -> Weight { + fn change_key (m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `303 + m * (64 ±0)` - // Estimated: `5625 + m * (192 ±0)` - // Minimum execution time: 21_806_000 picoseconds. - Weight::from_parts(23_556_999, 5625) - // Standard Error: 6_958 - .saturating_add(Weight::from_parts(62_289, 0).saturating_mul(m.into())) + // Measured: `237 + m * (64 ±0)` + // Estimated: `8403 + m * (192 ±0)` + // Minimum execution time: 45_675_000 picoseconds. + Weight::from_parts(58_080_195, 8403) + // Standard Error: 73_186 + .saturating_add(Weight::from_parts(35_895, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 192).saturating_mul(m.into())) @@ -158,14 +160,14 @@ impl pallet_membership::WeightInfo for WeightInfo { /// Storage: TechnicalCommittee Prime (r:0 w:1) /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 100]`. - fn set_prime(m: u32, ) -> Weight { + fn set_prime (m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `63 + m * (32 ±0)` - // Estimated: `3760 + m * (32 ±0)` - // Minimum execution time: 7_959_000 picoseconds. - Weight::from_parts(8_771_037, 3760) - // Standard Error: 1_657 - .saturating_add(Weight::from_parts(5_049, 0).saturating_mul(m.into())) + // Measured: `30 + m * (32 ±0)` + // Estimated: `4717 + m * (32 ±0)` + // Minimum execution time: 17_327_000 picoseconds. + Weight::from_parts(20_451_278, 4717) + // Standard Error: 18_635 + .saturating_add(Weight::from_parts(4_254, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) @@ -175,12 +177,12 @@ impl pallet_membership::WeightInfo for WeightInfo { /// Storage: TechnicalCommittee Prime (r:0 w:1) /// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured) /// The range of component `m` is `[1, 100]`. - fn clear_prime(_m: u32, ) -> Weight { + fn clear_prime (_m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_769_000 picoseconds. - Weight::from_parts(4_819_260, 0) + // Minimum execution time: 8_648_000 picoseconds. + Weight::from_parts(10_808_167, 0) .saturating_add(T::DbWeight::get().writes(2_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/testnet-kintsugi/src/weights/pallet_multisig.rs b/parachain/runtime/testnet-kintsugi/src/weights/pallet_multisig.rs index 9482abaf7e..d562689ed9 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/pallet_multisig.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/pallet_multisig.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for pallet_multisig //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-14, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -20,11 +20,11 @@ // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// /tmp/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,16 +37,18 @@ use sp_std::marker::PhantomData; /// Weights for pallet_multisig using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl pallet_multisig::WeightInfo for WeightInfo { + /// The range of component `z` is `[0, 10000]`. - fn as_multi_threshold_1(z: u32, ) -> Weight { + fn as_multi_threshold_1 (z: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_441_000 picoseconds. - Weight::from_parts(15_161_645, 0) - // Standard Error: 34 - .saturating_add(Weight::from_parts(469, 0).saturating_mul(z.into())) + // Minimum execution time: 41_038_000 picoseconds. + Weight::from_parts(49_493_859, 0) + // Standard Error: 274 + .saturating_add(Weight::from_parts(1_804, 0).saturating_mul(z.into())) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) @@ -54,16 +56,16 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. - fn as_multi_create(s: u32, z: u32, ) -> Weight { + fn as_multi_create (s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `836 + s * (3 ±0)` - // Estimated: `8411` - // Minimum execution time: 45_708_000 picoseconds. - Weight::from_parts(41_363_262, 8411) - // Standard Error: 6_772 - .saturating_add(Weight::from_parts(75_420, 0).saturating_mul(s.into())) - // Standard Error: 66 - .saturating_add(Weight::from_parts(1_492, 0).saturating_mul(z.into())) + // Measured: `635 + s * (3 ±0)` + // Estimated: `10391` + // Minimum execution time: 106_059_000 picoseconds. + Weight::from_parts(91_412_382, 10391) + // Standard Error: 62_164 + .saturating_add(Weight::from_parts(515_995, 0).saturating_mul(s.into())) + // Standard Error: 613 + .saturating_add(Weight::from_parts(2_845, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -71,16 +73,16 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) /// The range of component `s` is `[3, 100]`. /// The range of component `z` is `[0, 10000]`. - fn as_multi_approve(s: u32, z: u32, ) -> Weight { + fn as_multi_approve (s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `379` - // Estimated: `5821` - // Minimum execution time: 31_957_000 picoseconds. - Weight::from_parts(23_605_601, 5821) - // Standard Error: 7_547 - .saturating_add(Weight::from_parts(129_415, 0).saturating_mul(s.into())) - // Standard Error: 73 - .saturating_add(Weight::from_parts(1_243, 0).saturating_mul(z.into())) + // Measured: `210` + // Estimated: `6811` + // Minimum execution time: 73_366_000 picoseconds. + Weight::from_parts(61_629_009, 6811) + // Standard Error: 45_506 + .saturating_add(Weight::from_parts(349_487, 0).saturating_mul(s.into())) + // Standard Error: 443 + .saturating_add(Weight::from_parts(2_440, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -90,16 +92,16 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. - fn as_multi_complete(s: u32, z: u32, ) -> Weight { + fn as_multi_complete (s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1009 + s * (35 ±0)` - // Estimated: `8411` - // Minimum execution time: 47_117_000 picoseconds. - Weight::from_parts(37_900_825, 8411) - // Standard Error: 7_291 - .saturating_add(Weight::from_parts(143_811, 0).saturating_mul(s.into())) - // Standard Error: 71 - .saturating_add(Weight::from_parts(1_452, 0).saturating_mul(z.into())) + // Measured: `776 + s * (35 ±0)` + // Estimated: `10391` + // Minimum execution time: 104_933_000 picoseconds. + Weight::from_parts(100_194_645, 10391) + // Standard Error: 75_724 + .saturating_add(Weight::from_parts(643_606, 0).saturating_mul(s.into())) + // Standard Error: 747 + .saturating_add(Weight::from_parts(2_190, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -108,28 +110,28 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// The range of component `s` is `[2, 100]`. - fn approve_as_multi_create(s: u32, ) -> Weight { + fn approve_as_multi_create (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `838 + s * (3 ±0)` - // Estimated: `8411` - // Minimum execution time: 35_161_000 picoseconds. - Weight::from_parts(36_959_503, 8411) - // Standard Error: 4_636 - .saturating_add(Weight::from_parts(123_945, 0).saturating_mul(s.into())) + // Measured: `627 + s * (4 ±0)` + // Estimated: `10391` + // Minimum execution time: 77_941_000 picoseconds. + Weight::from_parts(91_398_547, 10391) + // Standard Error: 89_374 + .saturating_add(Weight::from_parts(519_939, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: Multisig Multisigs (r:1 w:1) /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) /// The range of component `s` is `[2, 100]`. - fn approve_as_multi_approve(s: u32, ) -> Weight { + fn approve_as_multi_approve (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `379` - // Estimated: `5821` - // Minimum execution time: 18_527_000 picoseconds. - Weight::from_parts(21_806_002, 5821) - // Standard Error: 4_486 - .saturating_add(Weight::from_parts(99_180, 0).saturating_mul(s.into())) + // Measured: `210` + // Estimated: `6811` + // Minimum execution time: 46_122_000 picoseconds. + Weight::from_parts(47_900_235, 6811) + // Standard Error: 42_634 + .saturating_add(Weight::from_parts(522_730, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -138,14 +140,14 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// The range of component `s` is `[2, 100]`. - fn cancel_as_multi(s: u32, ) -> Weight { + fn cancel_as_multi (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1075 + s * (3 ±0)` - // Estimated: `8411` - // Minimum execution time: 30_188_000 picoseconds. - Weight::from_parts(38_536_690, 8411) - // Standard Error: 9_009 - .saturating_add(Weight::from_parts(54_587, 0).saturating_mul(s.into())) + // Measured: `833 + s * (4 ±0)` + // Estimated: `10391` + // Minimum execution time: 75_107_000 picoseconds. + Weight::from_parts(79_447_897, 10391) + // Standard Error: 42_875 + .saturating_add(Weight::from_parts(599_702, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } diff --git a/parachain/runtime/testnet-kintsugi/src/weights/pallet_preimage.rs b/parachain/runtime/testnet-kintsugi/src/weights/pallet_preimage.rs index 4cc5006dc0..5a0f1393ac 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/pallet_preimage.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/pallet_preimage.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for pallet_preimage //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-14, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -20,11 +20,11 @@ // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// /tmp/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,7 +37,9 @@ use sp_std::marker::PhantomData; /// Weights for pallet_preimage using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl pallet_preimage::WeightInfo for WeightInfo { + /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:1 w:1) @@ -45,14 +47,14 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// 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 { + fn note_preimage (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `359` - // Estimated: `5156` - // Minimum execution time: 32_684_000 picoseconds. - Weight::from_parts(33_109_000, 5156) - // Standard Error: 4 - .saturating_add(Weight::from_parts(2_070, 0).saturating_mul(s.into())) + // Measured: `361` + // Estimated: `7136` + // Minimum execution time: 73_807_000 picoseconds. + Weight::from_parts(74_473_000, 7136) + // Standard Error: 13 + .saturating_add(Weight::from_parts(4_332, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -61,14 +63,14 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// 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_requested_preimage(s: u32, ) -> Weight { + fn note_requested_preimage (s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `106` - // Estimated: `2566` - // Minimum execution time: 16_807_000 picoseconds. - Weight::from_parts(17_035_000, 2566) - // Standard Error: 5 - .saturating_add(Weight::from_parts(2_085, 0).saturating_mul(s.into())) + // Estimated: `3556` + // Minimum execution time: 40_736_000 picoseconds. + Weight::from_parts(41_677_000, 3556) + // Standard Error: 36 + .saturating_add(Weight::from_parts(4_430, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -77,14 +79,14 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// 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_no_deposit_preimage(s: u32, ) -> Weight { + fn note_no_deposit_preimage (s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `106` - // Estimated: `2566` - // Minimum execution time: 15_582_000 picoseconds. - Weight::from_parts(15_785_000, 2566) - // Standard Error: 6 - .saturating_add(Weight::from_parts(2_098, 0).saturating_mul(s.into())) + // Estimated: `3556` + // Minimum execution time: 40_876_000 picoseconds. + Weight::from_parts(40_993_000, 3556) + // Standard Error: 12 + .saturating_add(Weight::from_parts(4_294, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -94,12 +96,12 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, 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 { + fn unnote_preimage () -> Weight { // Proof Size summary in bytes: - // Measured: `537` - // Estimated: `5156` - // Minimum execution time: 37_708_000 picoseconds. - Weight::from_parts(41_748_000, 5156) + // Measured: `507` + // Estimated: `7136` + // Minimum execution time: 122_349_000 picoseconds. + Weight::from_parts(123_879_000, 7136) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -107,56 +109,56 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, 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_no_deposit_preimage() -> Weight { + fn unnote_no_deposit_preimage () -> Weight { // Proof Size summary in bytes: // Measured: `144` - // Estimated: `2566` - // Minimum execution time: 27_144_000 picoseconds. - Weight::from_parts(33_068_000, 2566) + // Estimated: `3556` + // Minimum execution time: 87_162_000 picoseconds. + Weight::from_parts(88_607_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - fn request_preimage() -> Weight { + fn request_preimage () -> Weight { // Proof Size summary in bytes: - // Measured: `220` - // Estimated: `2566` - // Minimum execution time: 21_892_000 picoseconds. - Weight::from_parts(28_243_000, 2566) + // Measured: `188` + // Estimated: `3556` + // Minimum execution time: 74_897_000 picoseconds. + Weight::from_parts(79_759_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - fn request_no_deposit_preimage() -> Weight { + fn request_no_deposit_preimage () -> Weight { // Proof Size summary in bytes: // Measured: `144` - // Estimated: `2566` - // Minimum execution time: 14_262_000 picoseconds. - Weight::from_parts(15_328_000, 2566) + // Estimated: `3556` + // Minimum execution time: 49_620_000 picoseconds. + Weight::from_parts(52_374_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - fn request_unnoted_preimage() -> Weight { + fn request_unnoted_preimage () -> Weight { // Proof Size summary in bytes: // Measured: `42` - // Estimated: `2566` - // Minimum execution time: 15_909_000 picoseconds. - Weight::from_parts(18_500_000, 2566) + // Estimated: `3556` + // Minimum execution time: 58_007_000 picoseconds. + Weight::from_parts(60_906_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - fn request_requested_preimage() -> Weight { + fn request_requested_preimage () -> Weight { // Proof Size summary in bytes: // Measured: `106` - // Estimated: `2566` - // Minimum execution time: 8_330_000 picoseconds. - Weight::from_parts(8_955_000, 2566) + // Estimated: `3556` + // Minimum execution time: 28_823_000 picoseconds. + Weight::from_parts(29_697_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -164,34 +166,34 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: Preimage PreimageFor (r:0 w:1) /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) - fn unrequest_preimage() -> Weight { + fn unrequest_preimage () -> Weight { // Proof Size summary in bytes: // Measured: `144` - // Estimated: `2566` - // Minimum execution time: 22_995_000 picoseconds. - Weight::from_parts(26_002_000, 2566) + // Estimated: `3556` + // Minimum execution time: 82_230_000 picoseconds. + Weight::from_parts(83_672_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - fn unrequest_unnoted_preimage() -> Weight { + fn unrequest_unnoted_preimage () -> Weight { // Proof Size summary in bytes: // Measured: `106` - // Estimated: `2566` - // Minimum execution time: 8_438_000 picoseconds. - Weight::from_parts(8_860_000, 2566) + // Estimated: `3556` + // Minimum execution time: 27_632_000 picoseconds. + Weight::from_parts(28_731_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - fn unrequest_multi_referenced_preimage() -> Weight { + fn unrequest_multi_referenced_preimage () -> Weight { // Proof Size summary in bytes: // Measured: `106` - // Estimated: `2566` - // Minimum execution time: 8_878_000 picoseconds. - Weight::from_parts(9_480_000, 2566) + // Estimated: `3556` + // Minimum execution time: 26_473_000 picoseconds. + Weight::from_parts(28_304_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/parachain/runtime/testnet-kintsugi/src/weights/pallet_proxy.rs b/parachain/runtime/testnet-kintsugi/src/weights/pallet_proxy.rs index d3cb546762..08692c34ae 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/pallet_proxy.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/pallet_proxy.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for pallet_proxy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-14, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -20,11 +20,11 @@ // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// /tmp/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,18 +37,20 @@ use sp_std::marker::PhantomData; /// Weights for pallet_proxy using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl pallet_proxy::WeightInfo for WeightInfo { + /// Storage: Proxy Proxies (r:1 w:0) /// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. - fn proxy(p: u32, ) -> Weight { + fn proxy (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `231 + p * (37 ±0)` - // Estimated: `3716` - // Minimum execution time: 17_236_000 picoseconds. - Weight::from_parts(19_070_354, 3716) - // Standard Error: 7_938 - .saturating_add(Weight::from_parts(40_181, 0).saturating_mul(p.into())) + // Measured: `199 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 43_285_000 picoseconds. + Weight::from_parts(51_749_345, 4706) + // Standard Error: 139_209 + .saturating_add(Weight::from_parts(59_060, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -59,16 +61,16 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn proxy_announced(a: u32, p: u32, ) -> Weight { + fn proxy_announced (a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `834 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `11014` - // Minimum execution time: 35_907_000 picoseconds. - Weight::from_parts(35_425_222, 11014) - // Standard Error: 11_345 - .saturating_add(Weight::from_parts(210_460, 0).saturating_mul(a.into())) - // Standard Error: 11_733 - .saturating_add(Weight::from_parts(103_673, 0).saturating_mul(p.into())) + // Measured: `771 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `13984` + // Minimum execution time: 96_664_000 picoseconds. + Weight::from_parts(96_518_146, 13984) + // Standard Error: 296_292 + .saturating_add(Weight::from_parts(613_771, 0).saturating_mul(a.into())) + // Standard Error: 308_027 + .saturating_add(Weight::from_parts(615_093, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -78,14 +80,16 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn remove_announcement(a: u32, _p: u32, ) -> Weight { + fn remove_announcement (a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `717 + a * (68 ±0)` - // Estimated: `7298` - // Minimum execution time: 23_835_000 picoseconds. - Weight::from_parts(29_849_221, 7298) - // Standard Error: 14_162 - .saturating_add(Weight::from_parts(24_872, 0).saturating_mul(a.into())) + // Measured: `686 + a * (68 ±0)` + // Estimated: `9278` + // Minimum execution time: 60_530_000 picoseconds. + Weight::from_parts(75_356_810, 9278) + // Standard Error: 131_990 + .saturating_add(Weight::from_parts(313_573, 0).saturating_mul(a.into())) + // Standard Error: 137_218 + .saturating_add(Weight::from_parts(117_104, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -95,16 +99,16 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn reject_announcement(a: u32, p: u32, ) -> Weight { + fn reject_announcement (a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `717 + a * (68 ±0)` - // Estimated: `7298` - // Minimum execution time: 22_647_000 picoseconds. - Weight::from_parts(22_200_202, 7298) - // Standard Error: 12_839 - .saturating_add(Weight::from_parts(264_287, 0).saturating_mul(a.into())) - // Standard Error: 13_277 - .saturating_add(Weight::from_parts(67_036, 0).saturating_mul(p.into())) + // Measured: `686 + a * (68 ±0)` + // Estimated: `9278` + // Minimum execution time: 62_012_000 picoseconds. + Weight::from_parts(60_977_056, 9278) + // Standard Error: 103_655 + .saturating_add(Weight::from_parts(779_786, 0).saturating_mul(a.into())) + // Standard Error: 107_760 + .saturating_add(Weight::from_parts(112_620, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -116,14 +120,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn announce(a: u32, _p: u32, ) -> Weight { + fn announce (a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `766 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `11014` - // Minimum execution time: 35_124_000 picoseconds. - Weight::from_parts(38_800_299, 11014) - // Standard Error: 23_749 - .saturating_add(Weight::from_parts(238_701, 0).saturating_mul(a.into())) + // Measured: `703 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `13984` + // Minimum execution time: 92_849_000 picoseconds. + Weight::from_parts(106_533_000, 13984) + // Standard Error: 193_593 + .saturating_add(Weight::from_parts(591_256, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -132,12 +136,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. - fn add_proxy(_p: u32, ) -> Weight { + fn add_proxy (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `548 + p * (37 ±0)` - // Estimated: `6306` - // Minimum execution time: 30_929_000 picoseconds. - Weight::from_parts(35_589_594, 6306) + // Measured: `518 + p * (37 ±0)` + // Estimated: `8286` + // Minimum execution time: 77_406_000 picoseconds. + Weight::from_parts(88_311_642, 8286) + // Standard Error: 193_967 + .saturating_add(Weight::from_parts(214_939, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -146,14 +152,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. - fn remove_proxy(p: u32, ) -> Weight { + fn remove_proxy (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `548 + p * (37 ±0)` - // Estimated: `6306` - // Minimum execution time: 27_482_000 picoseconds. - Weight::from_parts(29_303_058, 6306) - // Standard Error: 3_507 - .saturating_add(Weight::from_parts(43_111, 0).saturating_mul(p.into())) + // Measured: `518 + p * (37 ±0)` + // Estimated: `8286` + // Minimum execution time: 66_541_000 picoseconds. + Weight::from_parts(85_388_503, 8286) + // Standard Error: 342_627 + .saturating_add(Weight::from_parts(163_390, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -162,12 +168,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. - fn remove_proxies(_p: u32, ) -> Weight { + fn remove_proxies (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `548 + p * (37 ±0)` - // Estimated: `6306` - // Minimum execution time: 21_592_000 picoseconds. - Weight::from_parts(23_958_854, 6306) + // Measured: `518 + p * (37 ±0)` + // Estimated: `8286` + // Minimum execution time: 55_372_000 picoseconds. + Weight::from_parts(58_621_689, 8286) + // Standard Error: 92_955 + .saturating_add(Weight::from_parts(225_660, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -176,14 +184,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// The range of component `p` is `[1, 31]`. - fn create_pure(p: u32, ) -> Weight { + fn create_pure (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `528` - // Estimated: `6306` - // Minimum execution time: 32_049_000 picoseconds. - Weight::from_parts(34_661_593, 6306) - // Standard Error: 5_483 - .saturating_add(Weight::from_parts(40_050, 0).saturating_mul(p.into())) + // Measured: `530` + // Estimated: `8286` + // Minimum execution time: 82_722_000 picoseconds. + Weight::from_parts(93_914_270, 8286) + // Standard Error: 213_707 + .saturating_add(Weight::from_parts(58_768, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -192,14 +200,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// The range of component `p` is `[0, 30]`. - fn kill_pure(p: u32, ) -> Weight { + fn kill_pure (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `619 + p * (37 ±0)` - // Estimated: `6306` - // Minimum execution time: 22_887_000 picoseconds. - Weight::from_parts(23_779_375, 6306) - // Standard Error: 15_534 - .saturating_add(Weight::from_parts(154_543, 0).saturating_mul(p.into())) + // Measured: `588 + p * (37 ±0)` + // Estimated: `8286` + // Minimum execution time: 60_016_000 picoseconds. + Weight::from_parts(69_480_664, 8286) + // Standard Error: 162_392 + .saturating_add(Weight::from_parts(169_759, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } diff --git a/parachain/runtime/testnet-kintsugi/src/weights/pallet_scheduler.rs b/parachain/runtime/testnet-kintsugi/src/weights/pallet_scheduler.rs index 9bf4467dde..1204eaf38b 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/pallet_scheduler.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/pallet_scheduler.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for pallet_scheduler //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-14, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -20,11 +20,11 @@ // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// /tmp/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,98 +37,100 @@ use sp_std::marker::PhantomData; /// Weights for pallet_scheduler using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl pallet_scheduler::WeightInfo for WeightInfo { + /// Storage: Scheduler IncompleteSince (r:1 w:1) /// Proof: Scheduler IncompleteSince (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - fn service_agendas_base() -> Weight { + fn service_agendas_base () -> Weight { // Proof Size summary in bytes: // Measured: `31` - // Estimated: `499` - // Minimum execution time: 3_445_000 picoseconds. - Weight::from_parts(3_483_000, 499) + // Estimated: `1489` + // Minimum execution time: 9_079_000 picoseconds. + Weight::from_parts(9_853_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Scheduler Agenda (r:1 w:1) /// Proof: Scheduler Agenda (max_values: None, max_size: Some(23383), added: 25858, mode: MaxEncodedLen) /// The range of component `s` is `[0, 30]`. - fn service_agenda_base(s: u32, ) -> Weight { + fn service_agenda_base (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `110 + s * (177 ±0)` - // Estimated: `25858` - // Minimum execution time: 3_252_000 picoseconds. - Weight::from_parts(6_010_639, 25858) - // Standard Error: 12_108 - .saturating_add(Weight::from_parts(892_110, 0).saturating_mul(s.into())) + // Measured: `78 + s * (177 ±0)` + // Estimated: `26848` + // Minimum execution time: 9_363_000 picoseconds. + Weight::from_parts(17_964_290, 26848) + // Standard Error: 150_162 + .saturating_add(Weight::from_parts(2_314_417, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - fn service_task_base() -> Weight { + fn service_task_base () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_579_000 picoseconds. - Weight::from_parts(6_788_000, 0) + // Minimum execution time: 16_025_000 picoseconds. + Weight::from_parts(17_601_000, 0) } /// Storage: Preimage PreimageFor (r:1 w:1) /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured) /// Storage: Preimage StatusFor (r:1 w:1) /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// The range of component `s` is `[128, 4194304]`. - fn service_task_fetched(s: u32, ) -> Weight { + fn service_task_fetched (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `211 + s * (1 ±0)` - // Estimated: `5252 + s * (1 ±0)` - // Minimum execution time: 21_654_000 picoseconds. - Weight::from_parts(21_756_000, 5252) - // Standard Error: 9 - .saturating_add(Weight::from_parts(1_160, 0).saturating_mul(s.into())) + // Measured: `179 + s * (1 ±0)` + // Estimated: `7198 + s * (1 ±0)` + // Minimum execution time: 49_800_000 picoseconds. + Weight::from_parts(51_455_000, 7198) + // Standard Error: 30 + .saturating_add(Weight::from_parts(2_559, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) } /// Storage: Scheduler Lookup (r:0 w:1) /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - fn service_task_named() -> Weight { + fn service_task_named () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_047_000 picoseconds. - Weight::from_parts(14_864_000, 0) + // Minimum execution time: 20_273_000 picoseconds. + Weight::from_parts(21_929_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - fn service_task_periodic() -> Weight { + fn service_task_periodic () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_710_000 picoseconds. - Weight::from_parts(7_021_000, 0) + // Minimum execution time: 16_270_000 picoseconds. + Weight::from_parts(18_779_000, 0) } - fn execute_dispatch_signed() -> Weight { + fn execute_dispatch_signed () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_175_000 picoseconds. - Weight::from_parts(3_345_000, 0) + // Minimum execution time: 9_016_000 picoseconds. + Weight::from_parts(9_187_000, 0) } - fn execute_dispatch_unsigned() -> Weight { + fn execute_dispatch_unsigned () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_267_000 picoseconds. - Weight::from_parts(3_425_000, 0) + // Minimum execution time: 10_601_000 picoseconds. + Weight::from_parts(12_113_000, 0) } /// Storage: Scheduler Agenda (r:1 w:1) /// Proof: Scheduler Agenda (max_values: None, max_size: Some(23383), added: 25858, mode: MaxEncodedLen) /// The range of component `s` is `[0, 29]`. - fn schedule(s: u32, ) -> Weight { + fn schedule (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `110 + s * (177 ±0)` - // Estimated: `25858` - // Minimum execution time: 14_164_000 picoseconds. - Weight::from_parts(17_350_056, 25858) - // Standard Error: 7_258 - .saturating_add(Weight::from_parts(836_998, 0).saturating_mul(s.into())) + // Measured: `78 + s * (177 ±0)` + // Estimated: `26848` + // Minimum execution time: 34_921_000 picoseconds. + Weight::from_parts(45_676_875, 26848) + // Standard Error: 215_902 + .saturating_add(Weight::from_parts(2_356_822, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -137,14 +139,14 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// 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, 30]`. - fn cancel(s: u32, ) -> Weight { + fn cancel (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `110 + s * (177 ±0)` - // Estimated: `25858` - // Minimum execution time: 18_400_000 picoseconds. - Weight::from_parts(19_013_308, 25858) - // Standard Error: 28_533 - .saturating_add(Weight::from_parts(1_524_593, 0).saturating_mul(s.into())) + // Measured: `78 + s * (177 ±0)` + // Estimated: `26848` + // Minimum execution time: 45_427_000 picoseconds. + Weight::from_parts(44_849_617, 26848) + // Standard Error: 125_039 + .saturating_add(Weight::from_parts(4_290_338, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -153,14 +155,14 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// Storage: Scheduler Agenda (r:1 w:1) /// Proof: Scheduler Agenda (max_values: None, max_size: Some(23383), added: 25858, mode: MaxEncodedLen) /// The range of component `s` is `[0, 29]`. - fn schedule_named(s: u32, ) -> Weight { + fn schedule_named (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `218 + s * (189 ±0)` - // Estimated: `28381` - // Minimum execution time: 17_792_000 picoseconds. - Weight::from_parts(21_546_315, 28381) - // Standard Error: 7_136 - .saturating_add(Weight::from_parts(859_625, 0).saturating_mul(s.into())) + // Measured: `184 + s * (189 ±0)` + // Estimated: `30361` + // Minimum execution time: 42_595_000 picoseconds. + Weight::from_parts(54_622_934, 30361) + // Standard Error: 214_422 + .saturating_add(Weight::from_parts(2_542_754, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -169,14 +171,14 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// Storage: Scheduler Agenda (r:1 w:1) /// Proof: Scheduler Agenda (max_values: None, max_size: Some(23383), added: 25858, mode: MaxEncodedLen) /// The range of component `s` is `[1, 30]`. - fn cancel_named(s: u32, ) -> Weight { + fn cancel_named (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `251 + s * (188 ±0)` - // Estimated: `28381` - // Minimum execution time: 19_851_000 picoseconds. - Weight::from_parts(19_876_295, 28381) - // Standard Error: 11_216 - .saturating_add(Weight::from_parts(1_576_229, 0).saturating_mul(s.into())) + // Measured: `209 + s * (189 ±0)` + // Estimated: `30361` + // Minimum execution time: 48_100_000 picoseconds. + Weight::from_parts(45_820_202, 30361) + // Standard Error: 101_207 + .saturating_add(Weight::from_parts(4_499_699, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } diff --git a/parachain/runtime/testnet-kintsugi/src/weights/pallet_timestamp.rs b/parachain/runtime/testnet-kintsugi/src/weights/pallet_timestamp.rs index f05cf5c559..d8d417e3ff 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/pallet_timestamp.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/pallet_timestamp.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for pallet_timestamp //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-14, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -20,11 +20,11 @@ // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// /tmp/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,25 +37,27 @@ use sp_std::marker::PhantomData; /// Weights for pallet_timestamp using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl pallet_timestamp::WeightInfo for WeightInfo { + /// Storage: Timestamp Now (r:1 w:1) /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: Aura CurrentSlot (r:1 w:0) /// Proof: Aura CurrentSlot (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - fn set() -> Weight { + fn set () -> Weight { // Proof Size summary in bytes: // Measured: `194` - // Estimated: `1006` - // Minimum execution time: 10_200_000 picoseconds. - Weight::from_parts(10_643_000, 1006) + // Estimated: `2986` + // Minimum execution time: 23_706_000 picoseconds. + Weight::from_parts(24_560_000, 2986) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - fn on_finalize() -> Weight { + fn on_finalize () -> Weight { // Proof Size summary in bytes: // Measured: `94` // Estimated: `0` - // Minimum execution time: 4_154_000 picoseconds. - Weight::from_parts(4_340_000, 0) + // Minimum execution time: 9_582_000 picoseconds. + Weight::from_parts(10_059_000, 0) } } \ No newline at end of file diff --git a/parachain/runtime/testnet-kintsugi/src/weights/pallet_utility.rs b/parachain/runtime/testnet-kintsugi/src/weights/pallet_utility.rs index 1d59ed1fdf..f9dbe801b8 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/pallet_utility.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/pallet_utility.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for pallet_utility //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-14, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -20,11 +20,11 @@ // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// /tmp/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,49 +37,51 @@ use sp_std::marker::PhantomData; /// Weights for pallet_utility using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl pallet_utility::WeightInfo for WeightInfo { + /// The range of component `c` is `[0, 1000]`. - fn batch(c: u32, ) -> Weight { + fn batch (c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_160_000 picoseconds. - Weight::from_parts(30_070_123, 0) - // Standard Error: 42_430 - .saturating_add(Weight::from_parts(6_103_780, 0).saturating_mul(c.into())) + // Minimum execution time: 19_865_000 picoseconds. + Weight::from_parts(8_164_823, 0) + // Standard Error: 126_500 + .saturating_add(Weight::from_parts(15_599_621, 0).saturating_mul(c.into())) } - fn as_derivative() -> Weight { + fn as_derivative () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_409_000 picoseconds. - Weight::from_parts(6_541_000, 0) + // Minimum execution time: 16_195_000 picoseconds. + Weight::from_parts(17_792_000, 0) } /// The range of component `c` is `[0, 1000]`. - fn batch_all(c: u32, ) -> Weight { + fn batch_all (c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_900_000 picoseconds. - Weight::from_parts(28_860_569, 0) - // Standard Error: 28_537 - .saturating_add(Weight::from_parts(6_312_181, 0).saturating_mul(c.into())) + // Minimum execution time: 19_832_000 picoseconds. + Weight::from_parts(23_398_638, 0) + // Standard Error: 94_218 + .saturating_add(Weight::from_parts(16_409_125, 0).saturating_mul(c.into())) } - fn dispatch_as() -> Weight { + fn dispatch_as () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_936_000 picoseconds. - Weight::from_parts(11_235_000, 0) + // Minimum execution time: 27_194_000 picoseconds. + Weight::from_parts(27_860_000, 0) } /// The range of component `c` is `[0, 1000]`. - fn force_batch(c: u32, ) -> Weight { + fn force_batch (c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_099_000 picoseconds. - Weight::from_parts(8_281_000, 0) - // Standard Error: 9_541 - .saturating_add(Weight::from_parts(6_063_828, 0).saturating_mul(c.into())) + // Minimum execution time: 20_303_000 picoseconds. + Weight::from_parts(43_905_959, 0) + // Standard Error: 126_999 + .saturating_add(Weight::from_parts(15_685_845, 0).saturating_mul(c.into())) } } \ No newline at end of file diff --git a/parachain/runtime/testnet-kintsugi/src/weights/pallet_xcm.rs b/parachain/runtime/testnet-kintsugi/src/weights/pallet_xcm.rs index a7214c03ea..11a9a4cac5 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/pallet_xcm.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/pallet_xcm.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for pallet_xcm //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-14, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -20,11 +20,11 @@ // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// /tmp/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,7 +37,9 @@ use sp_std::marker::PhantomData; /// Weights for pallet_xcm using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl pallet_xcm::WeightInfo for WeightInfo { + /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) @@ -48,12 +50,12 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - fn send() -> Weight { + fn send () -> Weight { // Proof Size summary in bytes: - // Measured: `179` - // Estimated: `5350` - // Minimum execution time: 31_993_000 picoseconds. - Weight::from_parts(32_902_000, 5350) + // Measured: `106` + // Estimated: `9935` + // Minimum execution time: 68_720_000 picoseconds. + Weight::from_parts(70_520_000, 9935) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -61,27 +63,27 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: UnknownTokens ConcreteFungibleBalances (r:1 w:0) /// Proof Skipped: UnknownTokens ConcreteFungibleBalances (max_values: None, max_size: None, mode: Measured) - fn teleport_assets() -> Weight { + fn teleport_assets () -> Weight { // Proof Size summary in bytes: - // Measured: `278` - // Estimated: `3252` - // Minimum execution time: 33_168_000 picoseconds. - Weight::from_parts(34_040_000, 3252) + // Measured: `245` + // Estimated: `5199` + // Minimum execution time: 77_230_000 picoseconds. + Weight::from_parts(79_651_000, 5199) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: ParachainInfo ParachainId (r:1 w:0) /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - fn reserve_transfer_assets() -> Weight { + fn reserve_transfer_assets () -> Weight { // Proof Size summary in bytes: // Measured: `32` - // Estimated: `499` - // Minimum execution time: 24_525_000 picoseconds. - Weight::from_parts(24_999_000, 499) + // Estimated: `1489` + // Minimum execution time: 58_044_000 picoseconds. + Weight::from_parts(59_240_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: Benchmark Override (r:0 w:0) /// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) - fn execute() -> Weight { + fn execute () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` @@ -90,22 +92,22 @@ impl pallet_xcm::WeightInfo for WeightInfo { } /// Storage: PolkadotXcm SupportedVersion (r:0 w:1) /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - fn force_xcm_version() -> Weight { + fn force_xcm_version () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_116_000 picoseconds. - Weight::from_parts(11_376_000, 0) + // Minimum execution time: 26_856_000 picoseconds. + Weight::from_parts(32_183_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1) /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - fn force_default_xcm_version() -> Weight { + fn force_default_xcm_version () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_304_000 picoseconds. - Weight::from_parts(3_366_000, 0) + // Minimum execution time: 9_161_000 picoseconds. + Weight::from_parts(10_344_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1) @@ -124,12 +126,12 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) /// Storage: PolkadotXcm Queries (r:0 w:1) /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) - fn force_subscribe_version_notify() -> Weight { + fn force_subscribe_version_notify () -> Weight { // Proof Size summary in bytes: - // Measured: `179` - // Estimated: `8857` - // Minimum execution time: 36_326_000 picoseconds. - Weight::from_parts(36_934_000, 8857) + // Measured: `106` + // Estimated: `15203` + // Minimum execution time: 80_693_000 picoseconds. + Weight::from_parts(92_932_000, 15203) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -147,45 +149,45 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) /// Storage: PolkadotXcm Queries (r:0 w:1) /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) - fn force_unsubscribe_version_notify() -> Weight { + fn force_unsubscribe_version_notify () -> Weight { // Proof Size summary in bytes: - // Measured: `361` - // Estimated: `9457` - // Minimum execution time: 38_616_000 picoseconds. - Weight::from_parts(40_892_000, 9457) + // Measured: `289` + // Estimated: `14893` + // Minimum execution time: 81_695_000 picoseconds. + Weight::from_parts(84_477_000, 14893) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: PolkadotXcm SupportedVersion (r:4 w:2) /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - fn migrate_supported_version() -> Weight { + fn migrate_supported_version () -> Weight { // Proof Size summary in bytes: // Measured: `162` - // Estimated: `10062` - // Minimum execution time: 17_616_000 picoseconds. - Weight::from_parts(17_915_000, 10062) + // Estimated: `11052` + // Minimum execution time: 40_872_000 picoseconds. + Weight::from_parts(46_171_000, 11052) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: PolkadotXcm VersionNotifiers (r:4 w:2) /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) - fn migrate_version_notifiers() -> Weight { + fn migrate_version_notifiers () -> Weight { // Proof Size summary in bytes: // Measured: `166` - // Estimated: `10066` - // Minimum execution time: 17_503_000 picoseconds. - Weight::from_parts(17_918_000, 10066) + // Estimated: `11056` + // Minimum execution time: 41_667_000 picoseconds. + Weight::from_parts(42_550_000, 11056) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: PolkadotXcm VersionNotifyTargets (r:5 w:0) /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - fn already_notified_target() -> Weight { + fn already_notified_target () -> Weight { // Proof Size summary in bytes: // Measured: `173` - // Estimated: `12548` - // Minimum execution time: 19_641_000 picoseconds. - Weight::from_parts(20_239_000, 12548) + // Estimated: `13538` + // Minimum execution time: 40_660_000 picoseconds. + Weight::from_parts(42_808_000, 13538) .saturating_add(T::DbWeight::get().reads(5_u64)) } /// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1) @@ -200,33 +202,33 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - fn notify_current_targets() -> Weight { + fn notify_current_targets () -> Weight { // Proof Size summary in bytes: - // Measured: `246` - // Estimated: `10881` - // Minimum execution time: 34_438_000 picoseconds. - Weight::from_parts(36_479_000, 10881) + // Measured: `173` + // Estimated: `16383` + // Minimum execution time: 73_472_000 picoseconds. + Weight::from_parts(81_954_000, 16383) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: PolkadotXcm VersionNotifyTargets (r:3 w:0) /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - fn notify_target_migration_fail() -> Weight { + fn notify_target_migration_fail () -> Weight { // Proof Size summary in bytes: // Measured: `206` - // Estimated: `7631` - // Minimum execution time: 9_820_000 picoseconds. - Weight::from_parts(10_134_000, 7631) + // Estimated: `8621` + // Minimum execution time: 23_130_000 picoseconds. + Weight::from_parts(23_378_000, 8621) .saturating_add(T::DbWeight::get().reads(3_u64)) } /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - fn migrate_version_notify_targets() -> Weight { + fn migrate_version_notify_targets () -> Weight { // Proof Size summary in bytes: // Measured: `173` - // Estimated: `10073` - // Minimum execution time: 17_749_000 picoseconds. - Weight::from_parts(18_024_000, 10073) + // Estimated: `11063` + // Minimum execution time: 41_841_000 picoseconds. + Weight::from_parts(46_970_000, 11063) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -242,12 +244,12 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - fn migrate_and_notify_old_targets() -> Weight { + fn migrate_and_notify_old_targets () -> Weight { // Proof Size summary in bytes: - // Measured: `249` - // Estimated: `15849` - // Minimum execution time: 41_393_000 picoseconds. - Weight::from_parts(42_233_000, 15849) + // Measured: `176` + // Estimated: `21351` + // Minimum execution time: 90_940_000 picoseconds. + Weight::from_parts(106_243_000, 21351) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } diff --git a/parachain/runtime/testnet-kintsugi/src/weights/redeem.rs b/parachain/runtime/testnet-kintsugi/src/weights/redeem.rs index 9702e296ba..0a457e81c5 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/redeem.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/redeem.rs @@ -2,29 +2,29 @@ //! Autogenerated weights for redeem //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-27, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `enterprise`, CPU: `Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/interbtc-parachain +// target/release/interbtc-parachain // benchmark // pallet // --pallet -// redeem +// * // --extrinsic // * // --chain -// kintsugi-testnet-latest +// kintsugi-dev // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// parachain/runtime/testnet-kintsugi/src/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,10 +37,12 @@ use sp_std::marker::PhantomData; /// Weights for redeem using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl redeem::WeightInfo for WeightInfo { + /// Storage: Security ParachainStatus (r:1 w:0) /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: Tokens Accounts (r:1 w:1) + /// Storage: Tokens Accounts (r:2 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: Fee RedeemFee (r:1 w:0) /// Proof: Fee RedeemFee (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) @@ -62,6 +64,26 @@ impl redeem::WeightInfo for WeightInfo { /// Proof: VaultStaking Nonce (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen) /// Storage: VaultStaking TotalCurrentStake (r:1 w:0) /// Proof: VaultStaking TotalCurrentStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) + /// Storage: Loans UnderlyingAssetId (r:1 w:0) + /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) + /// Storage: Loans Markets (r:2 w:0) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Loans LastAccruedInterestTime (r:1 w:1) + /// Proof: Loans LastAccruedInterestTime (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:0) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Loans TotalBorrows (r:1 w:0) + /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans TotalReserves (r:1 w:0) + /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans MinExchangeRate (r:1 w:0) + /// Proof: Loans MinExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Loans MaxExchangeRate (r:1 w:0) + /// Proof: Loans MaxExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Fee PremiumRedeemFee (r:1 w:0) /// Proof: Fee PremiumRedeemFee (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Security ActiveBlockCount (r:1 w:0) @@ -72,14 +94,14 @@ impl redeem::WeightInfo for WeightInfo { /// Proof: BTCRelay BestBlockHeight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Redeem RedeemRequests (r:0 w:1) /// Proof: Redeem RedeemRequests (max_values: None, max_size: Some(245), added: 2720, mode: MaxEncodedLen) - fn request_redeem() -> Weight { + fn request_redeem () -> Weight { // Proof Size summary in bytes: - // Measured: `3163` - // Estimated: `23101` - // Minimum execution time: 150_867_000 picoseconds. - Weight::from_parts(152_082_000, 23101) - .saturating_add(T::DbWeight::get().reads(17_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `2962` + // Estimated: `73398` + // Minimum execution time: 429_180_000 picoseconds. + Weight::from_parts(475_676_000, 73398) + .saturating_add(T::DbWeight::get().reads(29_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: Tokens Accounts (r:3 w:3) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) @@ -89,16 +111,30 @@ impl redeem::WeightInfo for WeightInfo { /// Proof: VaultRegistry LiquidationVault (max_values: None, max_size: Some(124), added: 2599, mode: MaxEncodedLen) /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) /// Proof: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) + /// Storage: Loans UnderlyingAssetId (r:1 w:0) + /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) + /// Storage: Loans RewardSupplyState (r:1 w:1) + /// Proof: Loans RewardSupplyState (max_values: None, max_size: Some(47), added: 2522, mode: MaxEncodedLen) + /// Storage: Loans RewardSupplySpeed (r:1 w:0) + /// Proof: Loans RewardSupplySpeed (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans RewardSupplierIndex (r:2 w:2) + /// Proof: Loans RewardSupplierIndex (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: Loans Markets (r:1 w:0) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: Loans RewardAccrued (r:2 w:2) + /// Proof: Loans RewardAccrued (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - fn liquidation_redeem() -> Weight { + /// Storage: Loans AccountDeposits (r:1 w:0) + /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + fn liquidation_redeem () -> Weight { // Proof Size summary in bytes: - // Measured: `2984` - // Estimated: `18011` - // Minimum execution time: 147_752_000 picoseconds. - Weight::from_parts(148_811_000, 18011) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) + // Measured: `1918` + // Estimated: `52855` + // Minimum execution time: 391_700_000 picoseconds. + Weight::from_parts(412_788_000, 52855) + .saturating_add(T::DbWeight::get().reads(16_u64)) + .saturating_add(T::DbWeight::get().writes(11_u64)) } /// Storage: Redeem RedeemRequests (r:1 w:1) /// Proof: Redeem RedeemRequests (max_values: None, max_size: Some(245), added: 2720, mode: MaxEncodedLen) @@ -125,19 +161,21 @@ impl redeem::WeightInfo for WeightInfo { /// The range of component `h` is `[2, 10]`. /// The range of component `i` is `[1, 10]`. /// The range of component `o` is `[2, 3]`. - /// The range of component `b` is `[1, 1024]`. - fn execute_redeem(h: u32, i: u32, _o: u32, b: u32, ) -> Weight { + /// The range of component `b` is `[541, 2048]`. + fn execute_redeem (h: u32, i: u32, o: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3422` - // Estimated: `18221` - // Minimum execution time: 140_794_000 picoseconds. - Weight::from_parts(149_764_372, 18221) - // Standard Error: 171_829 - .saturating_add(Weight::from_parts(4_241_391, 0).saturating_mul(h.into())) - // Standard Error: 154_552 - .saturating_add(Weight::from_parts(8_212_877, 0).saturating_mul(i.into())) - // Standard Error: 1_388 - .saturating_add(Weight::from_parts(15_579, 0).saturating_mul(b.into())) + // Measured: `2122` + // Estimated: `29111` + // Minimum execution time: 245_869_000 picoseconds. + Weight::from_parts(188_960_087, 29111) + // Standard Error: 570_743 + .saturating_add(Weight::from_parts(8_828_214, 0).saturating_mul(h.into())) + // Standard Error: 551_420 + .saturating_add(Weight::from_parts(1_490_771, 0).saturating_mul(i.into())) + // Standard Error: 3_420_497 + .saturating_add(Weight::from_parts(6_810_399, 0).saturating_mul(o.into())) + // Standard Error: 3_292 + .saturating_add(Weight::from_parts(7_761, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -153,16 +191,36 @@ impl redeem::WeightInfo for WeightInfo { /// Proof: BTCRelay BestBlockHeight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: VaultRegistry Vaults (r:1 w:1) /// Proof: VaultRegistry Vaults (max_values: None, max_size: Some(260), added: 2735, mode: MaxEncodedLen) + /// Storage: Loans UnderlyingAssetId (r:1 w:0) + /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) + /// Storage: Loans Markets (r:2 w:0) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Loans LastAccruedInterestTime (r:1 w:1) + /// Proof: Loans LastAccruedInterestTime (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:2 w:1) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:4 w:3) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:0) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Loans TotalBorrows (r:1 w:0) + /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans TotalReserves (r:1 w:0) + /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans MinExchangeRate (r:1 w:0) + /// Proof: Loans MinExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Loans MaxExchangeRate (r:1 w:0) + /// Proof: Loans MaxExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Fee PunishmentFee (r:1 w:0) /// Proof: Fee PunishmentFee (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: VaultStaking Nonce (r:1 w:0) /// Proof: VaultStaking Nonce (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen) /// Storage: VaultStaking TotalCurrentStake (r:1 w:1) /// Proof: VaultStaking TotalCurrentStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) - /// Storage: Tokens Accounts (r:3 w:3) - /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) /// Proof: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) /// Storage: VaultCapacity Stake (r:1 w:1) @@ -199,20 +257,26 @@ impl redeem::WeightInfo for WeightInfo { /// Proof: VaultCapacity TotalStake (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardCurrencies (r:1 w:0) /// Proof: VaultCapacity RewardCurrencies (max_values: None, max_size: Some(127), added: 2602, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Loans RewardSupplyState (r:1 w:1) + /// Proof: Loans RewardSupplyState (max_values: None, max_size: Some(47), added: 2522, mode: MaxEncodedLen) + /// Storage: Loans RewardSupplySpeed (r:1 w:0) + /// Proof: Loans RewardSupplySpeed (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans RewardSupplierIndex (r:2 w:2) + /// Proof: Loans RewardSupplierIndex (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: Loans RewardAccrued (r:2 w:2) + /// Proof: Loans RewardAccrued (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) + /// Storage: Loans AccountDeposits (r:1 w:0) + /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: VaultRegistry PunishmentDelay (r:1 w:0) /// Proof: VaultRegistry PunishmentDelay (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Tokens TotalIssuance (r:1 w:1) - /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) - fn cancel_redeem_reimburse() -> Weight { + fn cancel_redeem_reimburse () -> Weight { // Proof Size summary in bytes: - // Measured: `5838` - // Estimated: `92803` - // Minimum execution time: 511_520_000 picoseconds. - Weight::from_parts(534_421_000, 92803) - .saturating_add(T::DbWeight::get().reads(41_u64)) - .saturating_add(T::DbWeight::get().writes(23_u64)) + // Measured: `5125` + // Estimated: `179726` + // Minimum execution time: 1_259_383_000 picoseconds. + Weight::from_parts(1_269_298_000, 179726) + .saturating_add(T::DbWeight::get().reads(60_u64)) + .saturating_add(T::DbWeight::get().writes(29_u64)) } /// Storage: Security ParachainStatus (r:1 w:0) /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) @@ -226,16 +290,36 @@ impl redeem::WeightInfo for WeightInfo { /// Proof: BTCRelay BestBlockHeight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: VaultRegistry Vaults (r:1 w:1) /// Proof: VaultRegistry Vaults (max_values: None, max_size: Some(260), added: 2735, mode: MaxEncodedLen) + /// Storage: Loans UnderlyingAssetId (r:1 w:0) + /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) + /// Storage: Loans Markets (r:2 w:0) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Loans LastAccruedInterestTime (r:1 w:1) + /// Proof: Loans LastAccruedInterestTime (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:0) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:4 w:3) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:0) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Loans TotalBorrows (r:1 w:0) + /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans TotalReserves (r:1 w:0) + /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans MinExchangeRate (r:1 w:0) + /// Proof: Loans MinExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Loans MaxExchangeRate (r:1 w:0) + /// Proof: Loans MaxExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Fee PunishmentFee (r:1 w:0) /// Proof: Fee PunishmentFee (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: VaultStaking Nonce (r:1 w:0) /// Proof: VaultStaking Nonce (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen) /// Storage: VaultStaking TotalCurrentStake (r:1 w:1) /// Proof: VaultStaking TotalCurrentStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) - /// Storage: Tokens Accounts (r:3 w:3) - /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) /// Proof: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) /// Storage: VaultCapacity Stake (r:1 w:1) @@ -272,27 +356,35 @@ impl redeem::WeightInfo for WeightInfo { /// Proof: VaultCapacity TotalStake (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardCurrencies (r:1 w:0) /// Proof: VaultCapacity RewardCurrencies (max_values: None, max_size: Some(127), added: 2602, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Loans RewardSupplyState (r:1 w:1) + /// Proof: Loans RewardSupplyState (max_values: None, max_size: Some(47), added: 2522, mode: MaxEncodedLen) + /// Storage: Loans RewardSupplySpeed (r:1 w:0) + /// Proof: Loans RewardSupplySpeed (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans RewardSupplierIndex (r:2 w:2) + /// Proof: Loans RewardSupplierIndex (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: Loans RewardAccrued (r:2 w:2) + /// Proof: Loans RewardAccrued (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) + /// Storage: Loans AccountDeposits (r:1 w:0) + /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: VaultRegistry PunishmentDelay (r:1 w:0) /// Proof: VaultRegistry PunishmentDelay (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - fn cancel_redeem_retry() -> Weight { + fn cancel_redeem_retry () -> Weight { // Proof Size summary in bytes: - // Measured: `5705` - // Estimated: `90293` - // Minimum execution time: 500_982_000 picoseconds. - Weight::from_parts(656_480_000, 90293) - .saturating_add(T::DbWeight::get().reads(40_u64)) - .saturating_add(T::DbWeight::get().writes(22_u64)) + // Measured: `5125` + // Estimated: `177216` + // Minimum execution time: 1_156_547_000 picoseconds. + Weight::from_parts(1_193_225_000, 177216) + .saturating_add(T::DbWeight::get().reads(59_u64)) + .saturating_add(T::DbWeight::get().writes(28_u64)) } /// Storage: Redeem RedeemPeriod (r:0 w:1) /// Proof: Redeem RedeemPeriod (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - fn set_redeem_period() -> Weight { + fn set_redeem_period () -> Weight { // Proof Size summary in bytes: - // Measured: `1025` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 24_224_000 picoseconds. - Weight::from_parts(25_019_000, 0) + // Minimum execution time: 24_683_000 picoseconds. + Weight::from_parts(26_286_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: VaultRegistry Vaults (r:1 w:1) @@ -301,12 +393,12 @@ impl redeem::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: Tokens TotalIssuance (r:1 w:1) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) - fn self_redeem() -> Weight { + fn self_redeem () -> Weight { // Proof Size summary in bytes: - // Measured: `2411` - // Estimated: `7835` - // Minimum execution time: 116_902_000 picoseconds. - Weight::from_parts(125_301_000, 7835) + // Measured: `1171` + // Estimated: `10805` + // Minimum execution time: 220_107_000 picoseconds. + Weight::from_parts(223_113_000, 10805) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } diff --git a/parachain/runtime/testnet-kintsugi/src/weights/replace.rs b/parachain/runtime/testnet-kintsugi/src/weights/replace.rs index 68dba88e0a..4433f1e1db 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/replace.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/replace.rs @@ -2,17 +2,17 @@ //! Autogenerated weights for replace //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-05-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `enterprise`, CPU: `Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz` +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/interbtc-parachain +// target/release/interbtc-parachain // benchmark // pallet // --pallet -// replace +// * // --extrinsic // * // --chain @@ -20,11 +20,11 @@ // --execution=wasm // --wasm-execution=compiled // --steps -// 50 +// 10 // --repeat -// 20 +// 5 // --output -// parachain/runtime/kintsugi/src/weights +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,7 +37,9 @@ use sp_std::marker::PhantomData; /// Weights for replace using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl replace::WeightInfo for WeightInfo { + /// Storage: VaultRegistry Vaults (r:1 w:1) /// Proof: VaultRegistry Vaults (max_values: None, max_size: Some(260), added: 2735, mode: MaxEncodedLen) /// Storage: Nomination Vaults (r:1 w:0) @@ -52,23 +54,23 @@ impl replace::WeightInfo for WeightInfo { /// Proof: Fee ReplaceGriefingCollateral (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) - fn request_replace() -> Weight { + fn request_replace () -> Weight { // Proof Size summary in bytes: - // Measured: `2972` - // Estimated: `11908` - // Minimum execution time: 102_505_000 picoseconds. - Weight::from_parts(103_586_000, 11908) + // Measured: `1777` + // Estimated: `18838` + // Minimum execution time: 189_759_000 picoseconds. + Weight::from_parts(205_651_000, 18838) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: VaultRegistry Vaults (r:1 w:1) /// Proof: VaultRegistry Vaults (max_values: None, max_size: Some(260), added: 2735, mode: MaxEncodedLen) - fn withdraw_replace() -> Weight { + fn withdraw_replace () -> Weight { // Proof Size summary in bytes: - // Measured: `1760` - // Estimated: `2735` - // Minimum execution time: 54_649_000 picoseconds. - Weight::from_parts(58_129_000, 2735) + // Measured: `701` + // Estimated: `3725` + // Minimum execution time: 84_646_000 picoseconds. + Weight::from_parts(90_353_000, 3725) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -142,12 +144,12 @@ impl replace::WeightInfo for WeightInfo { /// Proof: BTCRelay BestBlockHeight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Replace ReplaceRequests (r:0 w:1) /// Proof: Replace ReplaceRequests (max_values: None, max_size: Some(250), added: 2725, mode: MaxEncodedLen) - fn accept_replace() -> Weight { + fn accept_replace () -> Weight { // Proof Size summary in bytes: - // Measured: `5415` - // Estimated: `96083` - // Minimum execution time: 423_618_000 picoseconds. - Weight::from_parts(426_693_000, 96083) + // Measured: `4188` + // Estimated: `129743` + // Minimum execution time: 827_595_000 picoseconds. + Weight::from_parts(853_211_000, 129743) .saturating_add(T::DbWeight::get().reads(43_u64)) .saturating_add(T::DbWeight::get().writes(26_u64)) } @@ -174,17 +176,21 @@ impl replace::WeightInfo for WeightInfo { /// The range of component `h` is `[2, 10]`. /// The range of component `i` is `[1, 10]`. /// The range of component `o` is `[2, 3]`. - /// The range of component `b` is `[1, 2048]`. - fn execute_pending_replace(h: u32, _i: u32, _o: u32, b: u32, ) -> Weight { + /// The range of component `b` is `[541, 2048]`. + fn execute_pending_replace (h: u32, i: u32, o: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4698` - // Estimated: `18451` - // Minimum execution time: 150_404_000 picoseconds. - Weight::from_parts(148_976_902, 18451) - // Standard Error: 156_642 - .saturating_add(Weight::from_parts(6_929_820, 0).saturating_mul(h.into())) - // Standard Error: 660 - .saturating_add(Weight::from_parts(48, 0).saturating_mul(b.into())) + // Measured: `3661` + // Estimated: `28351` + // Minimum execution time: 330_566_000 picoseconds. + Weight::from_parts(283_229_203, 28351) + // Standard Error: 583_765 + .saturating_add(Weight::from_parts(3_215_130, 0).saturating_mul(h.into())) + // Standard Error: 564_000 + .saturating_add(Weight::from_parts(1_899_937, 0).saturating_mul(i.into())) + // Standard Error: 3_498_533 + .saturating_add(Weight::from_parts(5_087_945, 0).saturating_mul(o.into())) + // Standard Error: 3_367 + .saturating_add(Weight::from_parts(11_001, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -219,19 +225,17 @@ impl replace::WeightInfo for WeightInfo { /// The range of component `h` is `[2, 10]`. /// The range of component `i` is `[1, 10]`. /// The range of component `o` is `[2, 3]`. - /// The range of component `b` is `[1, 2048]`. - fn execute_cancelled_replace(h: u32, _i: u32, o: u32, b: u32, ) -> Weight { + /// The range of component `b` is `[541, 2048]`. + fn execute_cancelled_replace (h: u32, i: u32, _o: u32, _b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `5043` - // Estimated: `26535` - // Minimum execution time: 185_989_000 picoseconds. - Weight::from_parts(148_490_211, 26535) - // Standard Error: 226_983 - .saturating_add(Weight::from_parts(116_149, 0).saturating_mul(h.into())) - // Standard Error: 1_239_352 - .saturating_add(Weight::from_parts(22_013_933, 0).saturating_mul(o.into())) - // Standard Error: 957 - .saturating_add(Weight::from_parts(26_044, 0).saturating_mul(b.into())) + // Measured: `4004` + // Estimated: `40395` + // Minimum execution time: 404_380_000 picoseconds. + Weight::from_parts(446_069_187, 40395) + // Standard Error: 611_394 + .saturating_add(Weight::from_parts(1_998_462, 0).saturating_mul(h.into())) + // Standard Error: 590_694 + .saturating_add(Weight::from_parts(9_759, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(15_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -293,23 +297,23 @@ impl replace::WeightInfo for WeightInfo { /// Proof: VaultStaking TotalStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultRewards TotalStake (r:1 w:0) /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) - fn cancel_replace() -> Weight { + fn cancel_replace () -> Weight { // Proof Size summary in bytes: - // Measured: `5955` - // Estimated: `89455` - // Minimum execution time: 337_148_000 picoseconds. - Weight::from_parts(340_584_000, 89455) + // Measured: `4480` + // Estimated: `118165` + // Minimum execution time: 732_126_000 picoseconds. + Weight::from_parts(768_233_000, 118165) .saturating_add(T::DbWeight::get().reads(38_u64)) .saturating_add(T::DbWeight::get().writes(19_u64)) } /// Storage: Replace ReplacePeriod (r:0 w:1) /// Proof: Replace ReplacePeriod (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - fn set_replace_period() -> Weight { + fn set_replace_period () -> Weight { // Proof Size summary in bytes: - // Measured: `1027` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 22_583_000 picoseconds. - Weight::from_parts(23_070_000, 0) + // Minimum execution time: 24_216_000 picoseconds. + Weight::from_parts(25_412_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/testnet-kintsugi/src/weights/security.rs b/parachain/runtime/testnet-kintsugi/src/weights/security.rs index 9cec4add8c..a42084f9f6 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/security.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/security.rs @@ -2,10 +2,10 @@ //! Autogenerated weights for security //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-13, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: // target/release/interbtc-parachain @@ -16,15 +16,15 @@ // --extrinsic // * // --chain -// kintsugi-testnet-latest +// kintsugi-dev // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// parachain/runtime/testnet-kintsugi/src/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,49 +37,51 @@ use sp_std::marker::PhantomData; /// Weights for security using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl security::WeightInfo for WeightInfo { + /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Security ActiveBlockCount (r:1 w:1) - /// Proof Skipped: Security ActiveBlockCount (max_values: Some(1), max_size: None, mode: Measured) - fn on_initialize() -> Weight { + /// Proof: Security ActiveBlockCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + fn on_initialize () -> Weight { // Proof Size summary in bytes: - // Measured: `935` - // Estimated: `2860` - // Minimum execution time: 18_463_000 picoseconds. - Weight::from_parts(19_121_000, 2860) + // Measured: `126` + // Estimated: `2975` + // Minimum execution time: 24_804_000 picoseconds. + Weight::from_parts(26_169_000, 2975) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Security ParachainStatus (r:0 w:1) - /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) - fn set_parachain_status() -> Weight { + /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) + fn set_parachain_status () -> Weight { // Proof Size summary in bytes: - // Measured: `711` - // Estimated: `711` - // Minimum execution time: 7_254_000 picoseconds. - Weight::from_parts(7_549_000, 711) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_712_000 picoseconds. + Weight::from_parts(11_985_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Security Errors (r:1 w:1) - /// Proof Skipped: Security Errors (max_values: Some(1), max_size: None, mode: Measured) - fn insert_parachain_error() -> Weight { + /// Proof: Security Errors (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) + fn insert_parachain_error () -> Weight { // Proof Size summary in bytes: - // Measured: `837` - // Estimated: `1332` - // Minimum execution time: 11_941_000 picoseconds. - Weight::from_parts(12_560_000, 1332) + // Measured: `126` + // Estimated: `1487` + // Minimum execution time: 21_356_000 picoseconds. + Weight::from_parts(22_376_000, 1487) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Security Errors (r:1 w:1) - /// Proof Skipped: Security Errors (max_values: Some(1), max_size: None, mode: Measured) - fn remove_parachain_error() -> Weight { + /// Proof: Security Errors (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) + fn remove_parachain_error () -> Weight { // Proof Size summary in bytes: - // Measured: `837` - // Estimated: `1332` - // Minimum execution time: 12_122_000 picoseconds. - Weight::from_parts(12_554_000, 1332) + // Measured: `126` + // Estimated: `1487` + // Minimum execution time: 20_397_000 picoseconds. + Weight::from_parts(22_423_000, 1487) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/parachain/runtime/testnet-kintsugi/src/weights/supply.rs b/parachain/runtime/testnet-kintsugi/src/weights/supply.rs index 9170f7a08b..04fa9b58c8 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/supply.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/supply.rs @@ -2,29 +2,29 @@ //! Autogenerated weights for supply //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-26, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `enterprise`, CPU: `Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/interbtc-parachain +// target/release/interbtc-parachain // benchmark // pallet // --pallet -// supply +// * // --extrinsic // * // --chain -// kintsugi-testnet-latest +// kintsugi-dev // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// parachain/runtime/testnet-kintsugi/src/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,9 +37,9 @@ use sp_std::marker::PhantomData; /// Weights for supply using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl supply::WeightInfo for WeightInfo { - /// Storage: Supply StartHeight (r:1 w:1) - /// Proof: Supply StartHeight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:1) /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) /// Storage: Supply Inflation (r:1 w:0) @@ -48,31 +48,25 @@ impl supply::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: System Account (r:2 w:2) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: VaultAnnuity RewardPerBlock (r:0 w:1) - /// Proof: VaultAnnuity RewardPerBlock (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Supply LastEmission (r:0 w:1) /// Proof: Supply LastEmission (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: EscrowAnnuity RewardPerBlock (r:0 w:1) - /// Proof: EscrowAnnuity RewardPerBlock (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - fn on_initialize() -> Weight { + fn on_initialize () -> Weight { // Proof Size summary in bytes: - // Measured: `2009` - // Estimated: `19086` - // Minimum execution time: 130_319_000 picoseconds. - Weight::from_parts(131_774_000, 19086) - .saturating_add(T::DbWeight::get().reads(9_u64)) - .saturating_add(T::DbWeight::get().writes(11_u64)) + // Measured: `299` + // Estimated: `22547` + // Minimum execution time: 242_893_000 picoseconds. + Weight::from_parts(253_439_000, 22547) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } - /// Storage: Supply StartHeight (r:0 w:1) - /// Proof: Supply StartHeight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) /// Storage: Supply Inflation (r:0 w:1) /// Proof: Supply Inflation (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - fn set_start_height_and_inflation() -> Weight { + fn set_start_height_and_inflation () -> Weight { // Proof Size summary in bytes: - // Measured: `711` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_274_000 picoseconds. - Weight::from_parts(9_581_000, 0) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Minimum execution time: 12_062_000 picoseconds. + Weight::from_parts(13_008_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/testnet-kintsugi/src/weights/tx_pause.rs b/parachain/runtime/testnet-kintsugi/src/weights/tx_pause.rs index b3160f60a8..5ee3a0e5cc 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/tx_pause.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/tx_pause.rs @@ -2,10 +2,10 @@ //! Autogenerated weights for tx_pause //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-13, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: // target/release/interbtc-parachain @@ -16,15 +16,15 @@ // --extrinsic // * // --chain -// kintsugi-testnet-latest +// kintsugi-dev // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// parachain/runtime/testnet-kintsugi/src/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,26 +37,28 @@ use sp_std::marker::PhantomData; /// Weights for tx_pause using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl tx_pause::WeightInfo for WeightInfo { + /// Storage: TxPause PausedCalls (r:2 w:1) /// Proof: TxPause PausedCalls (max_values: None, max_size: Some(277), added: 2752, mode: MaxEncodedLen) - fn pause() -> Weight { + fn pause () -> Weight { // Proof Size summary in bytes: - // Measured: `1023` - // Estimated: `5504` - // Minimum execution time: 27_278_000 picoseconds. - Weight::from_parts(28_045_000, 5504) + // Measured: `3` + // Estimated: `6494` + // Minimum execution time: 42_129_000 picoseconds. + Weight::from_parts(43_235_000, 6494) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: TxPause PausedCalls (r:2 w:1) /// Proof: TxPause PausedCalls (max_values: None, max_size: Some(277), added: 2752, mode: MaxEncodedLen) - fn unpause() -> Weight { + fn unpause () -> Weight { // Proof Size summary in bytes: - // Measured: `1328` - // Estimated: `5504` - // Minimum execution time: 30_430_000 picoseconds. - Weight::from_parts(30_984_000, 5504) + // Measured: `308` + // Estimated: `6494` + // Minimum execution time: 48_153_000 picoseconds. + Weight::from_parts(49_274_000, 6494) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/parachain/runtime/testnet-kintsugi/src/weights/vault_registry.rs b/parachain/runtime/testnet-kintsugi/src/weights/vault_registry.rs index 0946d60564..ee9ebf9ea6 100644 --- a/parachain/runtime/testnet-kintsugi/src/weights/vault_registry.rs +++ b/parachain/runtime/testnet-kintsugi/src/weights/vault_registry.rs @@ -2,10 +2,10 @@ //! Autogenerated weights for vault_registry //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-04-13, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-06-01, STEPS: `10`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `sander-dell`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-testnet-latest"), DB CACHE: 1024 +//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: // target/release/interbtc-parachain @@ -16,15 +16,15 @@ // --extrinsic // * // --chain -// kintsugi-testnet-latest +// kintsugi-dev // --execution=wasm // --wasm-execution=compiled // --steps -// 100 -// --repeat // 10 +// --repeat +// 5 // --output -// parachain/runtime/testnet-kintsugi/src/weights/ +// ../tmp-weight/ // --template // .deploy/runtime-weight-template.hbs @@ -37,7 +37,9 @@ use sp_std::marker::PhantomData; /// Weights for vault_registry using the Substrate node and recommended hardware. pub struct WeightInfo(PhantomData); + impl vault_registry::WeightInfo for WeightInfo { + /// Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) /// Proof: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) /// Storage: VaultRegistry PremiumRedeemThreshold (r:1 w:0) @@ -52,216 +54,268 @@ impl vault_registry::WeightInfo for WeightInfo { /// Proof: VaultRegistry VaultBitcoinPublicKey (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) /// Storage: VaultRegistry Vaults (r:1 w:1) /// Proof: VaultRegistry Vaults (max_values: None, max_size: Some(260), added: 2735, mode: MaxEncodedLen) - /// Storage: VaultCapacity Stake (r:1 w:1) - /// Proof Skipped: VaultCapacity Stake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultCapacity Stake (r:1 w:0) + /// Proof: VaultCapacity Stake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardPerToken (r:2 w:0) - /// Proof Skipped: VaultCapacity RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity RewardPerToken (max_values: None, max_size: Some(59), added: 2534, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardTally (r:2 w:2) - /// Proof Skipped: VaultCapacity RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity RewardTally (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultCapacity TotalRewards (r:2 w:2) - /// Proof Skipped: VaultCapacity TotalRewards (max_values: None, max_size: None, mode: Measured) - /// Storage: VaultRewards Stake (r:1 w:1) - /// Proof Skipped: VaultRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: VaultRewards Stake (r:1 w:0) + /// Proof: VaultRewards Stake (max_values: None, max_size: Some(97), added: 2572, mode: MaxEncodedLen) /// Storage: VaultRewards RewardPerToken (r:2 w:0) - /// Proof Skipped: VaultRewards RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards RewardPerToken (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultRewards RewardTally (r:2 w:2) - /// Proof Skipped: VaultRewards RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards RewardTally (max_values: None, max_size: Some(124), added: 2599, mode: MaxEncodedLen) /// Storage: VaultRewards TotalRewards (r:2 w:2) - /// Proof Skipped: VaultRewards TotalRewards (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Fee Commission (r:1 w:0) - /// Proof Skipped: Fee Commission (max_values: None, max_size: None, mode: Measured) + /// Proof: Fee Commission (max_values: None, max_size: Some(86), added: 2561, mode: MaxEncodedLen) /// Storage: VaultStaking Nonce (r:1 w:0) - /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking Nonce (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen) /// Storage: VaultStaking TotalCurrentStake (r:1 w:1) - /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking TotalCurrentStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking Stake (r:1 w:1) - /// Proof Skipped: VaultStaking Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking Stake (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) /// Storage: VaultStaking SlashPerToken (r:1 w:0) - /// Proof Skipped: VaultStaking SlashPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking SlashPerToken (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking SlashTally (r:1 w:1) - /// Proof Skipped: VaultStaking SlashTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking SlashTally (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) /// Storage: VaultStaking TotalStake (r:1 w:1) - /// Proof Skipped: VaultStaking TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking TotalStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking RewardTally (r:2 w:2) - /// Proof Skipped: VaultStaking RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking RewardTally (max_values: None, max_size: Some(149), added: 2624, mode: MaxEncodedLen) /// Storage: VaultStaking RewardPerToken (r:2 w:0) - /// Proof Skipped: VaultStaking RewardPerToken (max_values: None, max_size: None, mode: Measured) - /// Storage: VaultRewards TotalStake (r:1 w:1) - /// Proof Skipped: VaultRewards TotalStake (max_values: None, max_size: None, mode: Measured) - /// Storage: VaultRewards RewardCurrencies (r:1 w:0) - /// Proof Skipped: VaultRewards RewardCurrencies (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking RewardPerToken (max_values: None, max_size: Some(117), added: 2592, mode: MaxEncodedLen) + /// Storage: VaultRewards TotalStake (r:1 w:0) + /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans UnderlyingAssetId (r:1 w:0) + /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) + /// Storage: Loans Markets (r:2 w:0) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Loans LastAccruedInterestTime (r:1 w:1) + /// Proof: Loans LastAccruedInterestTime (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:0) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:1 w:0) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Loans TotalBorrows (r:1 w:0) + /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans TotalReserves (r:1 w:0) + /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans MinExchangeRate (r:1 w:0) + /// Proof: Loans MinExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Loans MaxExchangeRate (r:1 w:0) + /// Proof: Loans MaxExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) - /// Proof Skipped: Oracle Aggregate (max_values: None, max_size: None, mode: Measured) - /// Storage: VaultCapacity TotalStake (r:1 w:1) - /// Proof Skipped: VaultCapacity TotalStake (max_values: None, max_size: None, mode: Measured) - /// Storage: VaultCapacity RewardCurrencies (r:1 w:0) - /// Proof Skipped: VaultCapacity RewardCurrencies (max_values: None, max_size: None, mode: Measured) - /// Storage: Tokens Accounts (r:1 w:1) - /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) + /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) /// Proof: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) - fn register_vault() -> Weight { + fn register_vault () -> Weight { // Proof Size summary in bytes: - // Measured: `2936` - // Estimated: `165317` - // Minimum execution time: 271_455_000 picoseconds. - Weight::from_parts(278_743_000, 165317) - .saturating_add(T::DbWeight::get().reads(40_u64)) - .saturating_add(T::DbWeight::get().writes(21_u64)) + // Measured: `2670` + // Estimated: `153273` + // Minimum execution time: 616_556_000 picoseconds. + Weight::from_parts(661_054_000, 153273) + .saturating_add(T::DbWeight::get().reads(48_u64)) + .saturating_add(T::DbWeight::get().writes(17_u64)) } /// Storage: VaultRegistry VaultBitcoinPublicKey (r:1 w:1) /// Proof: VaultRegistry VaultBitcoinPublicKey (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen) - fn register_public_key() -> Weight { + fn register_public_key () -> Weight { // Proof Size summary in bytes: - // Measured: `1417` - // Estimated: `2556` - // Minimum execution time: 26_006_000 picoseconds. - Weight::from_parts(27_984_000, 2556) + // Measured: `365` + // Estimated: `3546` + // Minimum execution time: 43_220_000 picoseconds. + Weight::from_parts(45_116_000, 3546) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: VaultRegistry Vaults (r:1 w:1) /// Proof: VaultRegistry Vaults (max_values: None, max_size: Some(260), added: 2735, mode: MaxEncodedLen) /// Storage: VaultCapacity Stake (r:1 w:0) - /// Proof Skipped: VaultCapacity Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity Stake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardPerToken (r:2 w:0) - /// Proof Skipped: VaultCapacity RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity RewardPerToken (max_values: None, max_size: Some(59), added: 2534, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardTally (r:2 w:2) - /// Proof Skipped: VaultCapacity RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity RewardTally (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultCapacity TotalRewards (r:2 w:2) - /// Proof Skipped: VaultCapacity TotalRewards (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards Stake (r:1 w:0) - /// Proof Skipped: VaultRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards Stake (max_values: None, max_size: Some(97), added: 2572, mode: MaxEncodedLen) /// Storage: VaultRewards RewardPerToken (r:2 w:0) - /// Proof Skipped: VaultRewards RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards RewardPerToken (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultRewards RewardTally (r:2 w:2) - /// Proof Skipped: VaultRewards RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards RewardTally (max_values: None, max_size: Some(124), added: 2599, mode: MaxEncodedLen) /// Storage: VaultRewards TotalRewards (r:2 w:2) - /// Proof Skipped: VaultRewards TotalRewards (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Fee Commission (r:1 w:0) - /// Proof Skipped: Fee Commission (max_values: None, max_size: None, mode: Measured) + /// Proof: Fee Commission (max_values: None, max_size: Some(86), added: 2561, mode: MaxEncodedLen) /// Storage: VaultStaking Nonce (r:1 w:0) - /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking Nonce (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen) /// Storage: VaultStaking TotalCurrentStake (r:1 w:0) - /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking TotalCurrentStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking RewardPerToken (r:2 w:2) - /// Proof Skipped: VaultStaking RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking RewardPerToken (max_values: None, max_size: Some(117), added: 2592, mode: MaxEncodedLen) /// Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) /// Proof: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) /// Storage: VaultRewards TotalStake (r:1 w:0) - /// Proof Skipped: VaultRewards TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans UnderlyingAssetId (r:1 w:0) + /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) + /// Storage: Loans Markets (r:2 w:0) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Loans LastAccruedInterestTime (r:1 w:1) + /// Proof: Loans LastAccruedInterestTime (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:0) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:1 w:0) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Loans TotalBorrows (r:1 w:0) + /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans TotalReserves (r:1 w:0) + /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans MinExchangeRate (r:1 w:0) + /// Proof: Loans MinExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Loans MaxExchangeRate (r:1 w:0) + /// Proof: Loans MaxExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) - /// Proof Skipped: Oracle Aggregate (max_values: None, max_size: None, mode: Measured) - fn accept_new_issues() -> Weight { + /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) + fn accept_new_issues () -> Weight { // Proof Size summary in bytes: - // Measured: `3402` - // Estimated: `108764` - // Minimum execution time: 178_178_000 picoseconds. - Weight::from_parts(180_836_000, 108764) - .saturating_add(T::DbWeight::get().reads(24_u64)) - .saturating_add(T::DbWeight::get().writes(11_u64)) + // Measured: `3476` + // Estimated: `111557` + // Minimum execution time: 494_725_000 picoseconds. + Weight::from_parts(503_950_000, 111557) + .saturating_add(T::DbWeight::get().reads(36_u64)) + .saturating_add(T::DbWeight::get().writes(12_u64)) } /// Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) /// Proof: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) /// Storage: VaultRegistry Vaults (r:1 w:1) /// Proof: VaultRegistry Vaults (max_values: None, max_size: Some(260), added: 2735, mode: MaxEncodedLen) - /// Storage: VaultCapacity Stake (r:1 w:1) - /// Proof Skipped: VaultCapacity Stake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultCapacity Stake (r:1 w:0) + /// Proof: VaultCapacity Stake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardPerToken (r:2 w:0) - /// Proof Skipped: VaultCapacity RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity RewardPerToken (max_values: None, max_size: Some(59), added: 2534, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardTally (r:2 w:2) - /// Proof Skipped: VaultCapacity RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity RewardTally (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultCapacity TotalRewards (r:2 w:2) - /// Proof Skipped: VaultCapacity TotalRewards (max_values: None, max_size: None, mode: Measured) - /// Storage: VaultRewards Stake (r:1 w:1) - /// Proof Skipped: VaultRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: VaultRewards Stake (r:1 w:0) + /// Proof: VaultRewards Stake (max_values: None, max_size: Some(97), added: 2572, mode: MaxEncodedLen) /// Storage: VaultRewards RewardPerToken (r:2 w:0) - /// Proof Skipped: VaultRewards RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards RewardPerToken (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultRewards RewardTally (r:2 w:2) - /// Proof Skipped: VaultRewards RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards RewardTally (max_values: None, max_size: Some(124), added: 2599, mode: MaxEncodedLen) /// Storage: VaultRewards TotalRewards (r:2 w:2) - /// Proof Skipped: VaultRewards TotalRewards (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Fee Commission (r:1 w:0) - /// Proof Skipped: Fee Commission (max_values: None, max_size: None, mode: Measured) + /// Proof: Fee Commission (max_values: None, max_size: Some(86), added: 2561, mode: MaxEncodedLen) /// Storage: VaultStaking Nonce (r:1 w:0) - /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking Nonce (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen) /// Storage: VaultStaking TotalCurrentStake (r:1 w:0) - /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking TotalCurrentStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking RewardPerToken (r:2 w:2) - /// Proof Skipped: VaultStaking RewardPerToken (max_values: None, max_size: None, mode: Measured) - /// Storage: VaultRewards TotalStake (r:1 w:1) - /// Proof Skipped: VaultRewards TotalStake (max_values: None, max_size: None, mode: Measured) - /// Storage: VaultRewards RewardCurrencies (r:1 w:0) - /// Proof Skipped: VaultRewards RewardCurrencies (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking RewardPerToken (max_values: None, max_size: Some(117), added: 2592, mode: MaxEncodedLen) + /// Storage: VaultRewards TotalStake (r:1 w:0) + /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans UnderlyingAssetId (r:1 w:0) + /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) + /// Storage: Loans Markets (r:2 w:0) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Loans LastAccruedInterestTime (r:1 w:1) + /// Proof: Loans LastAccruedInterestTime (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:0) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:1 w:0) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Loans TotalBorrows (r:1 w:0) + /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans TotalReserves (r:1 w:0) + /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans MinExchangeRate (r:1 w:0) + /// Proof: Loans MinExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Loans MaxExchangeRate (r:1 w:0) + /// Proof: Loans MaxExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) - /// Proof Skipped: Oracle Aggregate (max_values: None, max_size: None, mode: Measured) - /// Storage: VaultCapacity TotalStake (r:1 w:1) - /// Proof Skipped: VaultCapacity TotalStake (max_values: None, max_size: None, mode: Measured) - /// Storage: VaultCapacity RewardCurrencies (r:1 w:0) - /// Proof Skipped: VaultCapacity RewardCurrencies (max_values: None, max_size: None, mode: Measured) - fn set_custom_secure_threshold() -> Weight { + /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) + fn set_custom_secure_threshold () -> Weight { // Proof Size summary in bytes: - // Measured: `3445` - // Estimated: `127169` - // Minimum execution time: 195_740_000 picoseconds. - Weight::from_parts(206_734_000, 127169) - .saturating_add(T::DbWeight::get().reads(27_u64)) - .saturating_add(T::DbWeight::get().writes(15_u64)) + // Measured: `3476` + // Estimated: `111557` + // Minimum execution time: 510_200_000 picoseconds. + Weight::from_parts(535_932_000, 111557) + .saturating_add(T::DbWeight::get().reads(36_u64)) + .saturating_add(T::DbWeight::get().writes(12_u64)) } /// Storage: VaultRegistry MinimumCollateralVault (r:0 w:1) /// Proof: VaultRegistry MinimumCollateralVault (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) - fn set_minimum_collateral() -> Weight { + fn set_minimum_collateral () -> Weight { // Proof Size summary in bytes: - // Measured: `711` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_159_000 picoseconds. - Weight::from_parts(8_542_000, 0) + // Minimum execution time: 13_684_000 picoseconds. + Weight::from_parts(14_055_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: VaultRegistry SystemCollateralCeiling (r:0 w:1) /// Proof: VaultRegistry SystemCollateralCeiling (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) - fn set_system_collateral_ceiling() -> Weight { + fn set_system_collateral_ceiling () -> Weight { // Proof Size summary in bytes: - // Measured: `711` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_606_000 picoseconds. - Weight::from_parts(8_845_000, 0) + // Minimum execution time: 14_480_000 picoseconds. + Weight::from_parts(15_520_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: VaultRegistry SecureCollateralThreshold (r:0 w:1) /// Proof: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) - fn set_secure_collateral_threshold() -> Weight { + fn set_secure_collateral_threshold () -> Weight { // Proof Size summary in bytes: - // Measured: `711` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_436_000 picoseconds. - Weight::from_parts(8_768_000, 0) + // Minimum execution time: 29_261_000 picoseconds. + Weight::from_parts(32_027_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: VaultRegistry PremiumRedeemThreshold (r:0 w:1) /// Proof: VaultRegistry PremiumRedeemThreshold (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) - fn set_premium_redeem_threshold() -> Weight { + fn set_premium_redeem_threshold () -> Weight { // Proof Size summary in bytes: - // Measured: `711` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_633_000 picoseconds. - Weight::from_parts(8_933_000, 0) + // Minimum execution time: 29_392_000 picoseconds. + Weight::from_parts(35_066_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: VaultRegistry LiquidationCollateralThreshold (r:0 w:1) /// Proof: VaultRegistry LiquidationCollateralThreshold (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) - fn set_liquidation_collateral_threshold() -> Weight { + fn set_liquidation_collateral_threshold () -> Weight { // Proof Size summary in bytes: - // Measured: `711` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_339_000 picoseconds. - Weight::from_parts(8_691_000, 0) + // Minimum execution time: 28_989_000 picoseconds. + Weight::from_parts(30_422_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: VaultRegistry Vaults (r:1 w:1) @@ -269,76 +323,108 @@ impl vault_registry::WeightInfo for WeightInfo { /// Storage: VaultRegistry LiquidationCollateralThreshold (r:1 w:0) /// Proof: VaultRegistry LiquidationCollateralThreshold (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) /// Storage: VaultStaking Nonce (r:1 w:0) - /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking Nonce (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen) /// Storage: VaultStaking TotalCurrentStake (r:1 w:1) - /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking TotalCurrentStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) + /// Storage: Loans UnderlyingAssetId (r:1 w:0) + /// Proof: Loans UnderlyingAssetId (max_values: None, max_size: Some(38), added: 2513, mode: MaxEncodedLen) + /// Storage: Loans Markets (r:2 w:0) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Loans LastAccruedInterestTime (r:1 w:1) + /// Proof: Loans LastAccruedInterestTime (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:0) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) + /// Storage: Tokens Accounts (r:3 w:2) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) + /// Storage: System Account (r:3 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Loans TotalBorrows (r:1 w:0) + /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans TotalReserves (r:1 w:0) + /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans MinExchangeRate (r:1 w:0) + /// Proof: Loans MinExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Loans MaxExchangeRate (r:1 w:0) + /// Proof: Loans MaxExchangeRate (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) - /// Proof Skipped: Oracle Aggregate (max_values: None, max_size: None, mode: Measured) + /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: VaultStaking Stake (r:1 w:1) - /// Proof Skipped: VaultStaking Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking Stake (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) /// Storage: VaultStaking SlashPerToken (r:1 w:0) - /// Proof Skipped: VaultStaking SlashPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking SlashPerToken (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking SlashTally (r:1 w:1) - /// Proof Skipped: VaultStaking SlashTally (max_values: None, max_size: None, mode: Measured) - /// Storage: VaultCapacity Stake (r:1 w:0) - /// Proof Skipped: VaultCapacity Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking SlashTally (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) + /// Storage: VaultCapacity Stake (r:1 w:1) + /// Proof: VaultCapacity Stake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardPerToken (r:2 w:0) - /// Proof Skipped: VaultCapacity RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity RewardPerToken (max_values: None, max_size: Some(59), added: 2534, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardTally (r:2 w:2) - /// Proof Skipped: VaultCapacity RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity RewardTally (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultCapacity TotalRewards (r:2 w:2) - /// Proof Skipped: VaultCapacity TotalRewards (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultCapacity TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards Stake (r:1 w:1) - /// Proof Skipped: VaultRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards Stake (max_values: None, max_size: Some(97), added: 2572, mode: MaxEncodedLen) /// Storage: VaultRewards RewardPerToken (r:2 w:0) - /// Proof Skipped: VaultRewards RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards RewardPerToken (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultRewards RewardTally (r:2 w:2) - /// Proof Skipped: VaultRewards RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards RewardTally (max_values: None, max_size: Some(124), added: 2599, mode: MaxEncodedLen) /// Storage: VaultRewards TotalRewards (r:2 w:2) - /// Proof Skipped: VaultRewards TotalRewards (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Fee Commission (r:1 w:0) - /// Proof Skipped: Fee Commission (max_values: None, max_size: None, mode: Measured) + /// Proof: Fee Commission (max_values: None, max_size: Some(86), added: 2561, mode: MaxEncodedLen) /// Storage: VaultStaking RewardPerToken (r:2 w:2) - /// Proof Skipped: VaultStaking RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking RewardPerToken (max_values: None, max_size: Some(117), added: 2592, mode: MaxEncodedLen) /// Storage: VaultStaking TotalStake (r:1 w:1) - /// Proof Skipped: VaultStaking TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking TotalStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) /// Proof: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) /// Storage: VaultRewards TotalStake (r:1 w:1) - /// Proof Skipped: VaultRewards TotalStake (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: VaultCapacity TotalStake (r:1 w:1) + /// Proof: VaultCapacity TotalStake (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) + /// Storage: VaultCapacity RewardCurrencies (r:1 w:0) + /// Proof: VaultCapacity RewardCurrencies (max_values: None, max_size: Some(127), added: 2602, mode: MaxEncodedLen) /// Storage: VaultStaking RewardTally (r:2 w:2) - /// Proof Skipped: VaultStaking RewardTally (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultStaking RewardTally (max_values: None, max_size: Some(149), added: 2624, mode: MaxEncodedLen) /// Storage: VaultRewards RewardCurrencies (r:1 w:0) - /// Proof Skipped: VaultRewards RewardCurrencies (max_values: None, max_size: None, mode: Measured) + /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) /// Proof: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) - /// Storage: Tokens Accounts (r:2 w:2) - /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) - /// Storage: System Account (r:2 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Loans RewardSupplyState (r:1 w:1) + /// Proof: Loans RewardSupplyState (max_values: None, max_size: Some(47), added: 2522, mode: MaxEncodedLen) + /// Storage: Loans RewardSupplySpeed (r:1 w:0) + /// Proof: Loans RewardSupplySpeed (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans RewardSupplierIndex (r:2 w:2) + /// Proof: Loans RewardSupplierIndex (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: Loans RewardAccrued (r:2 w:2) + /// Proof: Loans RewardAccrued (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) + /// Storage: Loans AccountDeposits (r:1 w:0) + /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) /// Storage: VaultRegistry SystemCollateralCeiling (r:1 w:0) /// Proof: VaultRegistry SystemCollateralCeiling (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) /// Storage: VaultRegistry LiquidationVault (r:1 w:1) /// Proof: VaultRegistry LiquidationVault (max_values: None, max_size: Some(124), added: 2599, mode: MaxEncodedLen) - fn report_undercollateralized_vault() -> Weight { + fn report_undercollateralized_vault () -> Weight { // Proof Size summary in bytes: - // Measured: `5171` - // Estimated: `204222` - // Minimum execution time: 585_357_000 picoseconds. - Weight::from_parts(609_933_000, 204222) - .saturating_add(T::DbWeight::get().reads(39_u64)) - .saturating_add(T::DbWeight::get().writes(24_u64)) + // Measured: `4772` + // Estimated: `190133` + // Minimum execution time: 1_850_896_000 picoseconds. + Weight::from_parts(1_878_476_000, 190133) + .saturating_add(T::DbWeight::get().reads(60_u64)) + .saturating_add(T::DbWeight::get().writes(32_u64)) } /// Storage: VaultRegistry Vaults (r:1 w:1) /// Proof: VaultRegistry Vaults (max_values: None, max_size: Some(260), added: 2735, mode: MaxEncodedLen) - fn recover_vault_id() -> Weight { + fn recover_vault_id () -> Weight { // Proof Size summary in bytes: - // Measured: `1438` - // Estimated: `2735` - // Minimum execution time: 20_871_000 picoseconds. - Weight::from_parts(22_098_000, 2735) + // Measured: `669` + // Estimated: `3725` + // Minimum execution time: 49_612_000 picoseconds. + Weight::from_parts(53_583_000, 3725) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) }