From b12da5ec177d5aaf4764a2f521a4324be392d7b5 Mon Sep 17 00:00:00 2001 From: ns212 Date: Tue, 1 Aug 2023 15:37:56 +0000 Subject: [PATCH 01/20] chore: update benchmark command parsing --- .github/workflows/benchmark.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index eac8af5e78..0415840165 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -38,7 +38,7 @@ jobs: with: result-encoding: string script: | - const [, , cmd, ...args] = context.payload.comment.body.split(/\W+/) + const [cmd, ...args] = context.payload.comment.body.split(" ") # /run_benchmarks CHAIN_NAME [PALLET_NAME] const [runtime, pallet] = args return `bash ./scripts/benchmark.sh -r ${runtime ?? "*"} -p ${pallet ?? "*"}` - uses: actions/github-script@v6 From 2e5b251a48418266dce3fdbad56dfa8168a35405 Mon Sep 17 00:00:00 2001 From: ns212 Date: Wed, 2 Aug 2023 10:47:58 +0000 Subject: [PATCH 02/20] chore: update discord notifications --- .github/workflows/notify-breaking.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/notify-breaking.yml b/.github/workflows/notify-breaking.yml index 5c124b7487..aedff146f4 100644 --- a/.github/workflows/notify-breaking.yml +++ b/.github/workflows/notify-breaking.yml @@ -10,7 +10,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 @@ -23,8 +23,8 @@ jobs: fi - name: Send Discord Notification - uses: Ilshidur/action-discord@master - with: - args: "Breaking change detected in PR: ${{ github.event.pull_request.html_url }}" - webhook: ${{ secrets.DISCORD_RELEASE_WEBHOOK_URL }} + run: | + curl -X POST -H "Content-Type: application/json" \ + --data '{"content": "Breaking change detected in PR: ${{ github.event.pull_request.html_url }}"}' \ + "${{ secrets.DISCORD_RELEASE_WEBHOOK_URL }}" if: env.BREAKING_CHANGE_DETECTED == 'true' From f779f2366a4bd1308109bdc0560d9d5e5d04371d Mon Sep 17 00:00:00 2001 From: Gregory Hill Date: Thu, 3 Aug 2023 10:56:58 +0100 Subject: [PATCH 03/20] fix: github script benchmark workflow comment Signed-off-by: Gregory Hill --- .github/workflows/benchmark.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 0415840165..9110a38e98 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -37,8 +37,9 @@ jobs: id: command with: result-encoding: string + # /run_benchmarks CHAIN_NAME [PALLET_NAME] script: | - const [cmd, ...args] = context.payload.comment.body.split(" ") # /run_benchmarks CHAIN_NAME [PALLET_NAME] + const [cmd, ...args] = context.payload.comment.body.split(" ") const [runtime, pallet] = args return `bash ./scripts/benchmark.sh -r ${runtime ?? "*"} -p ${pallet ?? "*"}` - uses: actions/github-script@v6 From 3d2bd9033ef4f7331c84e47b9b26876df8d20e5e Mon Sep 17 00:00:00 2001 From: Gregory Hill Date: Thu, 3 Aug 2023 11:43:52 +0100 Subject: [PATCH 04/20] fix: escape benchmark syntax Signed-off-by: Gregory Hill --- .github/workflows/benchmark.yml | 2 +- scripts/benchmark.sh | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 9110a38e98..d8c856732d 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -41,7 +41,7 @@ jobs: script: | const [cmd, ...args] = context.payload.comment.body.split(" ") const [runtime, pallet] = args - return `bash ./scripts/benchmark.sh -r ${runtime ?? "*"} -p ${pallet ?? "*"}` + return `bash ./scripts/benchmark.sh -r ${runtime ?? \''*'\'} -p ${pallet ?? \''*'\'}` - uses: actions/github-script@v6 name: Post comment id: comment diff --git a/scripts/benchmark.sh b/scripts/benchmark.sh index 536b50b074..63add5c146 100644 --- a/scripts/benchmark.sh +++ b/scripts/benchmark.sh @@ -21,10 +21,6 @@ while getopts ":r:p:" opt; do esac done -if [ -z "${pallet}" ]; then - pallet="*" -fi - cargo run \ --bin interbtc-parachain \ --features runtime-benchmarks \ From 8160a9435fe6e304955fb84f5cc81d287a0db9d8 Mon Sep 17 00:00:00 2001 From: Gregory Hill Date: Thu, 3 Aug 2023 11:48:48 +0100 Subject: [PATCH 05/20] fix: escape ts benchmark syntax Signed-off-by: Gregory Hill --- .github/workflows/benchmark.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index d8c856732d..52a62fbc9b 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -41,7 +41,7 @@ jobs: script: | const [cmd, ...args] = context.payload.comment.body.split(" ") const [runtime, pallet] = args - return `bash ./scripts/benchmark.sh -r ${runtime ?? \''*'\'} -p ${pallet ?? \''*'\'}` + return `bash ./scripts/benchmark.sh -r ${runtime ?? "\\''*'\\'"} -p ${pallet ?? "\\''*'\\'"}` - uses: actions/github-script@v6 name: Post comment id: comment From a34e6254d2fca373bbb20a55971f169b39ee4938 Mon Sep 17 00:00:00 2001 From: Gregory Hill Date: Thu, 3 Aug 2023 12:06:38 +0100 Subject: [PATCH 06/20] fix: leave bench args unset Signed-off-by: Gregory Hill --- .github/workflows/benchmark.yml | 2 +- scripts/benchmark.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 52a62fbc9b..061db25443 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -41,7 +41,7 @@ jobs: script: | const [cmd, ...args] = context.payload.comment.body.split(" ") const [runtime, pallet] = args - return `bash ./scripts/benchmark.sh -r ${runtime ?? "\\''*'\\'"} -p ${pallet ?? "\\''*'\\'"}` + return `bash ./scripts/benchmark.sh -r ${runtime ?? ""} -p ${pallet ?? ""}` - uses: actions/github-script@v6 name: Post comment id: comment diff --git a/scripts/benchmark.sh b/scripts/benchmark.sh index 63add5c146..8a98a63349 100644 --- a/scripts/benchmark.sh +++ b/scripts/benchmark.sh @@ -21,6 +21,10 @@ while getopts ":r:p:" opt; do esac done +if [ -z "${pallet}" ]; then + pallet='*' +fi + cargo run \ --bin interbtc-parachain \ --features runtime-benchmarks \ From 7b119992c9c54099b77843465625430931dbb8be Mon Sep 17 00:00:00 2001 From: Gregory Hill Date: Thu, 3 Aug 2023 13:55:13 +0100 Subject: [PATCH 07/20] fix: benchmark runtime path Signed-off-by: Gregory Hill --- scripts/benchmark.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/benchmark.sh b/scripts/benchmark.sh index 8a98a63349..397089c959 100644 --- a/scripts/benchmark.sh +++ b/scripts/benchmark.sh @@ -25,6 +25,8 @@ if [ -z "${pallet}" ]; then pallet='*' fi +path=${runtime%-*} + cargo run \ --bin interbtc-parachain \ --features runtime-benchmarks \ @@ -38,5 +40,5 @@ cargo run \ --wasm-execution=compiled \ --steps 50 \ --repeat 10 \ - --output "parachain/runtime/${runtime}/src/weights/" \ + --output "parachain/runtime/${path}/src/weights/" \ --template .deploy/runtime-weight-template.hbs From f4d0857f5165985d3ab8d199e05c0ac89c2ac774 Mon Sep 17 00:00:00 2001 From: Dominik Harz Date: Thu, 3 Aug 2023 22:22:45 +0900 Subject: [PATCH 08/20] docs: add how to run a local node --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index b242970f30..b02d5cddd0 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,16 @@ cargo run --release --bin interbtc-parachain -- --dev To connect with a local relay-chain follow [these instructions](docs/rococo.md). +### Development node + +Running a development can be achieved without compiling the node with docker and `instant-seal`. Replace the release version with one of the available tags: + +```shell +docker run --network=host interlayhq/interbtc:RELEASE_TAG --dev --instant-seal +# Example +docker run --network=host interlayhq/interbtc:1.25.0-rc5 --dev --instant-seal +``` + #### Test Coverage Test coverage reports available under [docs/testcoverage.html](https://github.com/interlay/interbtc/blob/master/docs/testcoverage.html) From 0895c52791a7486d09861da1ef5bafd3ab2b9fef Mon Sep 17 00:00:00 2001 From: Gregory Hill Date: Thu, 3 Aug 2023 15:40:49 +0100 Subject: [PATCH 09/20] chore: debug benchmark Signed-off-by: Gregory Hill --- scripts/benchmark.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/benchmark.sh b/scripts/benchmark.sh index 397089c959..47ad01caf0 100644 --- a/scripts/benchmark.sh +++ b/scripts/benchmark.sh @@ -26,6 +26,8 @@ if [ -z "${pallet}" ]; then fi path=${runtime%-*} +set -o xtrace +ls ./ cargo run \ --bin interbtc-parachain \ @@ -38,7 +40,7 @@ cargo run \ --chain "${runtime}" \ --execution=wasm \ --wasm-execution=compiled \ - --steps 50 \ - --repeat 10 \ + --steps 2 \ + --repeat 1 \ --output "parachain/runtime/${path}/src/weights/" \ --template .deploy/runtime-weight-template.hbs From 2713afbe8b9ba8e01da3f59101e032759d42c0f6 Mon Sep 17 00:00:00 2001 From: Gregory Hill Date: Thu, 3 Aug 2023 17:47:04 +0100 Subject: [PATCH 10/20] Revert "chore: debug benchmark" This reverts commit 0895c52791a7486d09861da1ef5bafd3ab2b9fef. --- scripts/benchmark.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/benchmark.sh b/scripts/benchmark.sh index 47ad01caf0..397089c959 100644 --- a/scripts/benchmark.sh +++ b/scripts/benchmark.sh @@ -26,8 +26,6 @@ if [ -z "${pallet}" ]; then fi path=${runtime%-*} -set -o xtrace -ls ./ cargo run \ --bin interbtc-parachain \ @@ -40,7 +38,7 @@ cargo run \ --chain "${runtime}" \ --execution=wasm \ --wasm-execution=compiled \ - --steps 2 \ - --repeat 1 \ + --steps 50 \ + --repeat 10 \ --output "parachain/runtime/${path}/src/weights/" \ --template .deploy/runtime-weight-template.hbs From 740306423b68515f63aa4fb5f3b13af2e3e063f3 Mon Sep 17 00:00:00 2001 From: Gregory Hill Date: Mon, 31 Jul 2023 14:31:43 +0100 Subject: [PATCH 11/20] chore: cleanup unused and deprecated code Signed-off-by: Gregory Hill --- parachain/runtime/kintsugi/src/contracts.rs | 5 ++--- parachain/src/service.rs | 21 +++++++++++++++------ 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/parachain/runtime/kintsugi/src/contracts.rs b/parachain/runtime/kintsugi/src/contracts.rs index 9347f866aa..b9d1a05fd7 100644 --- a/parachain/runtime/kintsugi/src/contracts.rs +++ b/parachain/runtime/kintsugi/src/contracts.rs @@ -1,5 +1,4 @@ -use crate::{BaseCallFilter, NativeCurrency, Runtime, RuntimeCall, RuntimeEvent, Timestamp, Weight}; -use bitcoin::types::{MerkleProof, Transaction}; +use crate::{NativeCurrency, Runtime, RuntimeCall, RuntimeEvent, Timestamp, Weight}; use btc_relay::FullTransactionProof; use codec::{Decode, Encode}; use frame_support::{ @@ -36,7 +35,7 @@ impl Convert for DummyWeightPrice { // contracts parameter_types! { pub const DeletionQueueDepth: u32 = 10; - pub const DeletionWeightLimit: Weight = Weight::from_ref_time(100000000 as u64); + pub const DeletionWeightLimit: Weight = Weight::from_parts(100000000, 0); pub const DepositPerByte: Balance = 1; pub const DepositPerItem: Balance = 1; pub const MaxCodeLen: u32 = 123 * 1024; diff --git a/parachain/src/service.rs b/parachain/src/service.rs index 76719ed7de..2d38956b75 100644 --- a/parachain/src/service.rs +++ b/parachain/src/service.rs @@ -15,7 +15,7 @@ use polkadot_service::CollatorPair; use primitives::*; use sc_client_api::{HeaderBackend, StateBackendFor}; use sc_consensus::{ImportQueue, LongestChain}; -use sc_executor::NativeElseWasmExecutor; +use sc_executor::{HeapAllocStrategy, NativeElseWasmExecutor, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY}; use sc_network::NetworkBlock; use sc_network_sync::SyncingService; use sc_service::{Configuration, PartialComponents, RpcHandlers, TFullBackend, TFullClient, TaskManager}; @@ -254,11 +254,20 @@ where }) .transpose()?; - let executor = NativeElseWasmExecutor::::new( - config.wasm_method, - config.default_heap_pages, - config.max_runtime_instances, - config.runtime_cache_size, + let heap_pages = config + .default_heap_pages + .map_or(DEFAULT_HEAP_ALLOC_STRATEGY, |h| HeapAllocStrategy::Static { + extra_pages: h as _, + }); + + let executor = NativeElseWasmExecutor::::new_with_wasm_executor( + WasmExecutor::builder() + .with_execution_method(config.wasm_method) + .with_onchain_heap_alloc_strategy(heap_pages) + .with_offchain_heap_alloc_strategy(heap_pages) + .with_max_runtime_instances(config.max_runtime_instances) + .with_runtime_cache_size(config.runtime_cache_size) + .build(), ); let (client, backend, keystore_container, task_manager) = sc_service::new_full_parts::( From b797a306902a9b96d9495cbc801570de5d402b2d Mon Sep 17 00:00:00 2001 From: Gregory Hill Date: Fri, 4 Aug 2023 14:04:55 +0100 Subject: [PATCH 12/20] chore: commit new weights manually Signed-off-by: Gregory Hill --- .github/workflows/benchmark.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 061db25443..02ef88c48e 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -10,7 +10,7 @@ permissions: jobs: benchmark: name: Benchmark - if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '/run_benchmarks') }} + if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '/benchmark') }} runs-on: [self-hosted, linux] steps: - uses: actions/github-script@v6 @@ -37,7 +37,7 @@ jobs: id: command with: result-encoding: string - # /run_benchmarks CHAIN_NAME [PALLET_NAME] + # /benchmark CHAIN_NAME [PALLET_NAME] script: | const [cmd, ...args] = context.payload.comment.body.split(" ") const [runtime, pallet] = args @@ -71,10 +71,12 @@ jobs: - name: Run benchmarks run: ${{steps.command.outputs.result}} > ${{runner.temp}}/out.txt - name: Commit new weights - uses: stefanzweifel/git-auto-commit-action@v4 - with: - commit_message: Automated weights - + run: | + git config user.email "contact@interlay.io" + git config user.name "Interlay Bot" + git add . + git commit -m '${{github.event.comment.body}}' --allow-empty + git push origin HEAD:${{ fromJson(steps.issue.outputs.result).ref }} - uses: actions/github-script@v6 name: Update comment with: From 74470e4bf6369a4ebaf544f99bdf7f318d7d9d27 Mon Sep 17 00:00:00 2001 From: Gregory Hill Date: Mon, 7 Aug 2023 10:23:47 +0100 Subject: [PATCH 13/20] chore: remove executed migrations Signed-off-by: Gregory Hill --- parachain/runtime/interlay/src/lib.rs | 8 +------- parachain/runtime/kintsugi/src/lib.rs | 7 +------ 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/parachain/runtime/interlay/src/lib.rs b/parachain/runtime/interlay/src/lib.rs index 4267d35739..07f1bd6358 100644 --- a/parachain/runtime/interlay/src/lib.rs +++ b/parachain/runtime/interlay/src/lib.rs @@ -1324,13 +1324,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - ( - orml_asset_registry::Migration, - orml_unknown_tokens::Migration, - dex::SetLoansExchangeRates, - issue::migration::v1::Migration, - evm::SetEvmChainId, - ), + (evm::SetEvmChainId,), >; impl fp_self_contained::SelfContainedCall for RuntimeCall { diff --git a/parachain/runtime/kintsugi/src/lib.rs b/parachain/runtime/kintsugi/src/lib.rs index c38af2bb91..597fdb3bc7 100644 --- a/parachain/runtime/kintsugi/src/lib.rs +++ b/parachain/runtime/kintsugi/src/lib.rs @@ -1326,12 +1326,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - ( - orml_asset_registry::Migration, - orml_unknown_tokens::Migration, - issue::migration::v1::Migration, - evm::SetEvmChainId, - ), + (evm::SetEvmChainId,), >; impl fp_self_contained::SelfContainedCall for RuntimeCall { From 674093df63b76ae392d24cfc9f78d63c54c7ad78 Mon Sep 17 00:00:00 2001 From: Interlay Bot Date: Mon, 7 Aug 2023 10:02:49 +0000 Subject: [PATCH 14/20] /benchmark interlay-dev --- .../src/weights/annuity_escrow_annuity.rs | 28 +-- .../src/weights/annuity_vault_annuity.rs | 20 +- .../runtime/interlay/src/weights/btc_relay.rs | 62 ++--- .../interlay/src/weights/clients_info.rs | 28 +-- .../src/weights/collator_selection.rs | 92 ++++---- .../src/weights/cumulus_pallet_xcmp_queue.rs | 14 +- .../runtime/interlay/src/weights/democracy.rs | 126 +++++----- .../interlay/src/weights/dex_general.rs | 148 ++++++------ .../interlay/src/weights/dex_stable.rs | 162 +++++++------ .../interlay/src/weights/dex_swap_router.rs | 14 +- .../runtime/interlay/src/weights/escrow.rs | 142 ++++++----- .../runtime/interlay/src/weights/farming.rs | 72 +++--- parachain/runtime/interlay/src/weights/fee.rs | 51 ++-- .../interlay/src/weights/frame_system.rs | 54 ++--- .../runtime/interlay/src/weights/issue.rs | 168 +++++++------ .../runtime/interlay/src/weights/loans.rs | 168 +++++++------ .../interlay/src/weights/nomination.rs | 117 +++++---- .../runtime/interlay/src/weights/oracle.rs | 51 ++-- .../src/weights/orml_asset_registry.rs | 22 +- .../interlay/src/weights/orml_tokens.rs | 46 ++-- .../interlay/src/weights/orml_vesting.rs | 30 +-- .../interlay/src/weights/pallet_collective.rs | 180 +++++++------- .../interlay/src/weights/pallet_identity.rs | 222 +++++++++--------- .../interlay/src/weights/pallet_membership.rs | 84 ++++--- .../interlay/src/weights/pallet_multisig.rs | 90 +++---- .../interlay/src/weights/pallet_preimage.rs | 74 +++--- .../interlay/src/weights/pallet_proxy.rs | 140 ++++++----- .../interlay/src/weights/pallet_scheduler.rs | 84 +++---- .../interlay/src/weights/pallet_timestamp.rs | 22 +- .../interlay/src/weights/pallet_utility.rs | 38 +-- .../interlay/src/weights/pallet_xcm.rs | 95 ++++---- .../weights/pallet_xcm_benchmarks_fungible.rs | 54 ++--- .../weights/pallet_xcm_benchmarks_generic.rs | 146 ++++++------ .../runtime/interlay/src/weights/redeem.rs | 94 ++++---- .../runtime/interlay/src/weights/replace.rs | 106 ++++----- .../runtime/interlay/src/weights/security.rs | 27 +-- .../runtime/interlay/src/weights/supply.rs | 18 +- .../runtime/interlay/src/weights/tx_pause.rs | 14 +- .../interlay/src/weights/vault_registry.rs | 92 ++++---- 39 files changed, 1577 insertions(+), 1618 deletions(-) diff --git a/parachain/runtime/interlay/src/weights/annuity_escrow_annuity.rs b/parachain/runtime/interlay/src/weights/annuity_escrow_annuity.rs index 0c462ec7e4..984ac5a0a5 100644 --- a/parachain/runtime/interlay/src/weights/annuity_escrow_annuity.rs +++ b/parachain/runtime/interlay/src/weights/annuity_escrow_annuity.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for annuity //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -44,8 +44,8 @@ impl annuity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_962_000 picoseconds. - Weight::from_parts(16_652_000, 0) + // Minimum execution time: 13_878_000 picoseconds. + Weight::from_parts(14_369_000, 0) } /// Storage: EscrowRewards Stake (r:1 w:0) /// Proof: EscrowRewards Stake (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) @@ -61,10 +61,10 @@ impl annuity::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn withdraw_rewards () -> Weight { // Proof Size summary in bytes: - // Measured: `747` - // Estimated: `23880` - // Minimum execution time: 144_859_000 picoseconds. - Weight::from_parts(150_600_000, 23880) + // Measured: `1014` + // Estimated: `6170` + // Minimum execution time: 125_391_000 picoseconds. + Weight::from_parts(130_662_000, 6170) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -72,17 +72,17 @@ impl annuity::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) fn update_rewards () -> Weight { // Proof Size summary in bytes: - // Measured: `319` + // Measured: `536` // Estimated: `3580` - // Minimum execution time: 26_200_000 picoseconds. - Weight::from_parts(27_770_000, 3580) + // Minimum execution time: 23_708_000 picoseconds. + Weight::from_parts(25_200_000, 3580) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn set_reward_per_wrapped () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_013_000 picoseconds. - Weight::from_parts(10_547_000, 0) + // Minimum execution time: 9_058_000 picoseconds. + Weight::from_parts(9_459_000, 0) } } \ No newline at end of file diff --git a/parachain/runtime/interlay/src/weights/annuity_vault_annuity.rs b/parachain/runtime/interlay/src/weights/annuity_vault_annuity.rs index cd70a7a700..42ba284b23 100644 --- a/parachain/runtime/interlay/src/weights/annuity_vault_annuity.rs +++ b/parachain/runtime/interlay/src/weights/annuity_vault_annuity.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for annuity //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -44,8 +44,8 @@ impl annuity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_456_000 picoseconds. - Weight::from_parts(16_919_000, 0) + // Minimum execution time: 14_750_000 picoseconds. + Weight::from_parts(15_390_000, 0) } fn withdraw_rewards () -> Weight { // Proof Size summary in bytes: @@ -58,17 +58,17 @@ impl annuity::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) fn update_rewards () -> Weight { // Proof Size summary in bytes: - // Measured: `319` + // Measured: `536` // Estimated: `3580` - // Minimum execution time: 25_859_000 picoseconds. - Weight::from_parts(27_884_000, 3580) + // Minimum execution time: 23_998_000 picoseconds. + Weight::from_parts(25_060_000, 3580) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn set_reward_per_wrapped () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_298_000 picoseconds. - Weight::from_parts(10_736_000, 0) + // Minimum execution time: 9_028_000 picoseconds. + Weight::from_parts(9_399_000, 0) } } \ No newline at end of file diff --git a/parachain/runtime/interlay/src/weights/btc_relay.rs b/parachain/runtime/interlay/src/weights/btc_relay.rs index 49ed445af2..0958e8c733 100644 --- a/parachain/runtime/interlay/src/weights/btc_relay.rs +++ b/parachain/runtime/interlay/src/weights/btc_relay.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for btc_relay //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -62,10 +62,10 @@ impl btc_relay::WeightInfo for WeightInfo { /// Proof: BTCRelay BlockHeaders (max_values: None, max_size: Some(200), added: 2675, mode: MaxEncodedLen) fn initialize () -> Weight { // Proof Size summary in bytes: - // Measured: `430` - // Estimated: `9470` - // Minimum execution time: 84_891_000 picoseconds. - Weight::from_parts(89_997_000, 9470) + // Measured: `403` + // Estimated: `3489` + // Minimum execution time: 71_783_000 picoseconds. + Weight::from_parts(74_009_000, 3489) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -87,10 +87,10 @@ impl btc_relay::WeightInfo for WeightInfo { /// Proof: BTCRelay BestBlockHeight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn store_block_header () -> Weight { // Proof Size summary in bytes: - // Measured: `901` - // Estimated: `17838` - // Minimum execution time: 96_734_000 picoseconds. - Weight::from_parts(104_906_000, 17838) + // Measured: `874` + // Estimated: `6340` + // Minimum execution time: 88_808_000 picoseconds. + Weight::from_parts(90_482_000, 6340) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -113,16 +113,16 @@ impl btc_relay::WeightInfo for WeightInfo { /// The range of component `f` is `[1, 6]`. fn store_block_header_new_fork_sorted (f: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `841 + f * (92 ±0)` - // Estimated: `16800 + f * (5006 ±0)` - // Minimum execution time: 122_921_000 picoseconds. - Weight::from_parts(115_873_657, 16800) - // Standard Error: 233_264 - .saturating_add(Weight::from_parts(13_772_544, 0).saturating_mul(f.into())) + // Measured: `806 + f * (101 ±0)` + // Estimated: `6340 + f * (2507 ±0)` + // Minimum execution time: 101_073_000 picoseconds. + Weight::from_parts(95_176_412, 6340) + // Standard Error: 452_083 + .saturating_add(Weight::from_parts(11_888_980, 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)) - .saturating_add(Weight::from_parts(0, 5006).saturating_mul(f.into())) + .saturating_add(Weight::from_parts(0, 2507).saturating_mul(f.into())) } /// Storage: BTCRelay ChainCounter (r:1 w:1) /// Proof: BTCRelay ChainCounter (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -143,17 +143,17 @@ impl btc_relay::WeightInfo for WeightInfo { /// The range of component `f` is `[1, 6]`. fn store_block_header_new_fork_unsorted (f: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `920 + f * (98 ±0)` - // Estimated: `19871 + f * (2975 ±31)` - // Minimum execution time: 124_552_000 picoseconds. - Weight::from_parts(119_807_286, 19871) - // Standard Error: 219_739 - .saturating_add(Weight::from_parts(16_025_685, 0).saturating_mul(f.into())) + // Measured: `842 + f * (99 ±0)` + // Estimated: `6340 + f * (2499 ±0)` + // Minimum execution time: 97_675_000 picoseconds. + Weight::from_parts(89_104_041, 6340) + // Standard Error: 196_333 + .saturating_add(Weight::from_parts(14_328_939, 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, 2975).saturating_mul(f.into())) + .saturating_add(Weight::from_parts(0, 2499).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) @@ -178,12 +178,12 @@ impl btc_relay::WeightInfo for WeightInfo { /// The range of component `f` is `[3, 6]`. fn store_block_header_reorganize_chains (f: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4937 + f * (199 ±0)` - // Estimated: `109561 + f * (1340 ±45)` - // Minimum execution time: 650_977_000 picoseconds. - Weight::from_parts(615_353_151, 109561) - // Standard Error: 994_819 - .saturating_add(Weight::from_parts(22_332_173, 0).saturating_mul(f.into())) + // Measured: `4741 + f * (240 ±0)` + // Estimated: `54490 + f * (1340 ±45)` + // Minimum execution time: 506_604_000 picoseconds. + Weight::from_parts(465_095_071, 54490) + // Standard Error: 430_820 + .saturating_add(Weight::from_parts(18_597_675, 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)) diff --git a/parachain/runtime/interlay/src/weights/clients_info.rs b/parachain/runtime/interlay/src/weights/clients_info.rs index a9522240b7..c40bdf0157 100644 --- a/parachain/runtime/interlay/src/weights/clients_info.rs +++ b/parachain/runtime/interlay/src/weights/clients_info.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for clients_info //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -44,16 +44,12 @@ impl clients_info::WeightInfo for WeightInfo { /// 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: `0` // Estimated: `0` - // Minimum execution time: 28_286_000 picoseconds. - Weight::from_parts(29_757_758, 0) - // Standard Error: 1_555 - .saturating_add(Weight::from_parts(7_981, 0).saturating_mul(n.into())) - // Standard Error: 1_555 - .saturating_add(Weight::from_parts(5_543, 0).saturating_mul(u.into())) + // Minimum execution time: 23_357_000 picoseconds. + Weight::from_parts(26_197_179, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: ClientsInfo PendingClientReleases (r:0 w:1) @@ -64,12 +60,12 @@ impl clients_info::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 28_745_000 picoseconds. - Weight::from_parts(28_862_679, 0) - // Standard Error: 1_669 - .saturating_add(Weight::from_parts(9_826, 0).saturating_mul(n.into())) - // Standard Error: 1_669 - .saturating_add(Weight::from_parts(9_079, 0).saturating_mul(u.into())) + // Minimum execution time: 22_976_000 picoseconds. + Weight::from_parts(24_221_268, 0) + // Standard Error: 615 + .saturating_add(Weight::from_parts(3_577, 0).saturating_mul(n.into())) + // Standard Error: 615 + .saturating_add(Weight::from_parts(1_267, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/interlay/src/weights/collator_selection.rs b/parachain/runtime/interlay/src/weights/collator_selection.rs index f06d0b06c1..d9532fcc8f 100644 --- a/parachain/runtime/interlay/src/weights/collator_selection.rs +++ b/parachain/runtime/interlay/src/weights/collator_selection.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for collator_selection //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -47,12 +47,12 @@ impl collator_selection::WeightInfo for WeightInfo { /// The range of component `b` is `[1, 100]`. fn set_invulnerables (b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `217 + b * (78 ±0)` - // Estimated: `1207 + b * (2554 ±0)` - // Minimum execution time: 33_665_000 picoseconds. - Weight::from_parts(36_494_050, 1207) - // Standard Error: 24_862 - .saturating_add(Weight::from_parts(6_432_343, 0).saturating_mul(b.into())) + // Measured: `252 + b * (78 ±0)` + // Estimated: `1241 + b * (2554 ±0)` + // Minimum execution time: 28_387_000 picoseconds. + Weight::from_parts(19_586_047, 1241) + // Standard Error: 104_765 + .saturating_add(Weight::from_parts(5_569_637, 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())) @@ -63,8 +63,8 @@ impl collator_selection::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 17_101_000 picoseconds. - Weight::from_parts(18_058_000, 0) + // Minimum execution time: 17_825_000 picoseconds. + Weight::from_parts(24_970_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: CollatorSelection CandidacyBond (r:0 w:1) @@ -73,8 +73,8 @@ impl collator_selection::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 18_328_000 picoseconds. - Weight::from_parts(18_909_000, 0) + // Minimum execution time: 26_052_000 picoseconds. + Weight::from_parts(27_986_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: CollatorSelection Candidates (r:1 w:1) @@ -95,18 +95,18 @@ impl collator_selection::WeightInfo for WeightInfo { /// Proof: Escrow Reserved (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// The range of component `c` is `[1, 999]`. + /// The range of component `c` is `[1, 19]`. fn register_as_candidate (c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2801 + c * (49 ±0)` - // Estimated: `73766 + c * (50 ±0)` - // Minimum execution time: 96_633_000 picoseconds. - Weight::from_parts(128_853_656, 73766) - // Standard Error: 3_768 - .saturating_add(Weight::from_parts(280_459, 0).saturating_mul(c.into())) + // Measured: `902 + c * (96 ±0)` + // Estimated: `49487 + c * (97 ±0)` + // Minimum execution time: 78_588_000 picoseconds. + Weight::from_parts(82_310_845, 49487) + // Standard Error: 88_497 + .saturating_add(Weight::from_parts(487_436, 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())) + .saturating_add(Weight::from_parts(0, 97).saturating_mul(c.into())) } /// Storage: CollatorSelection Candidates (r:1 w:1) /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(48002), added: 48497, mode: MaxEncodedLen) @@ -114,15 +114,15 @@ impl collator_selection::WeightInfo for WeightInfo { /// Proof: Escrow Reserved (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// The range of component `c` is `[6, 1000]`. + /// The range of component `c` is `[6, 20]`. fn leave_intent (c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `983 + c * (48 ±0)` - // Estimated: `53016` - // Minimum execution time: 54_720_000 picoseconds. - Weight::from_parts(71_237_061, 53016) - // Standard Error: 3_387 - .saturating_add(Weight::from_parts(270_577, 0).saturating_mul(c.into())) + // Measured: `402 + c * (64 ±0)` + // Estimated: `49487` + // Minimum execution time: 41_573_000 picoseconds. + Weight::from_parts(42_921_116, 49487) + // Standard Error: 17_308 + .saturating_add(Weight::from_parts(209_885, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -134,10 +134,10 @@ impl collator_selection::WeightInfo for WeightInfo { /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) fn note_author () -> Weight { // Proof Size summary in bytes: - // Measured: `319` - // Estimated: `9763` - // Minimum execution time: 80_950_000 picoseconds. - Weight::from_parts(84_539_000, 9763) + // Measured: `650` + // Estimated: `6170` + // Minimum execution time: 72_686_000 picoseconds. + Weight::from_parts(73_928_000, 6170) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -145,30 +145,30 @@ impl collator_selection::WeightInfo for WeightInfo { /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(48002), added: 48497, mode: MaxEncodedLen) /// Storage: CollatorSelection CandidacyBond (r:1 w:0) /// Proof: CollatorSelection CandidacyBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: CollatorSelection LastAuthoredBlock (r:999 w:0) + /// Storage: CollatorSelection LastAuthoredBlock (r:20 w:0) /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: Escrow UserPointEpoch (r:999 w:0) + /// Storage: Escrow UserPointEpoch (r:20 w:0) /// Proof: Escrow UserPointEpoch (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - /// Storage: Escrow UserPointHistory (r:999 w:0) + /// Storage: Escrow UserPointHistory (r:20 w:0) /// 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:995 w:995) + /// Storage: Escrow Reserved (r:15 w:15) /// 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]`. + /// The range of component `r` is `[1, 20]`. + /// The range of component `c` is `[1, 20]`. fn new_session (r: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `23641 + r * (50 ±0) + c * (193 ±0)` - // Estimated: `58645 + c * (7610 ±0) + r * (2538 ±0)` - // Minimum execution time: 66_169_000 picoseconds. - Weight::from_parts(66_765_000, 58645) - // Standard Error: 1_569_335 - .saturating_add(Weight::from_parts(87_957_359, 0).saturating_mul(c.into())) + // Measured: `793 + c * (194 ±0) + r * (47 ±0)` + // Estimated: `49487 + c * (2563 ±0) + r * (2207 ±23)` + // Minimum execution time: 51_603_000 picoseconds. + Weight::from_parts(53_327_000, 49487) + // Standard Error: 385_035 + .saturating_add(Weight::from_parts(25_609_068, 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, 7610).saturating_mul(c.into())) - .saturating_add(Weight::from_parts(0, 2538).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2563).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2207).saturating_mul(r.into())) } } \ No newline at end of file diff --git a/parachain/runtime/interlay/src/weights/cumulus_pallet_xcmp_queue.rs b/parachain/runtime/interlay/src/weights/cumulus_pallet_xcmp_queue.rs index 996be1bfca..834dd5a395 100644 --- a/parachain/runtime/interlay/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/parachain/runtime/interlay/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -46,8 +46,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `4` // Estimated: `1489` - // Minimum execution time: 13_471_000 picoseconds. - Weight::from_parts(13_943_000, 1489) + // Minimum execution time: 10_290_000 picoseconds. + Weight::from_parts(10_882_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -57,8 +57,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `4` // Estimated: `1489` - // Minimum execution time: 13_530_000 picoseconds. - Weight::from_parts(14_547_000, 1489) + // Minimum execution time: 10_611_000 picoseconds. + Weight::from_parts(11_673_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/parachain/runtime/interlay/src/weights/democracy.rs b/parachain/runtime/interlay/src/weights/democracy.rs index 33f0b5cf48..08bad28c7f 100644 --- a/parachain/runtime/interlay/src/weights/democracy.rs +++ b/parachain/runtime/interlay/src/weights/democracy.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for democracy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -54,10 +54,10 @@ impl democracy::WeightInfo for WeightInfo { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn propose () -> Weight { // Proof Size summary in bytes: - // Measured: `6110` - // Estimated: `30275` - // Minimum execution time: 114_600_000 picoseconds. - Weight::from_parts(120_562_000, 30275) + // Measured: `6137` + // Estimated: `18187` + // Minimum execution time: 93_467_000 picoseconds. + Weight::from_parts(129_309_000, 18187) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -71,10 +71,10 @@ impl democracy::WeightInfo for WeightInfo { /// Proof: Escrow Reserved (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) fn second () -> Weight { // Proof Size summary in bytes: - // Measured: `4802` - // Estimated: `17294` - // Minimum execution time: 88_005_000 picoseconds. - Weight::from_parts(100_713_000, 17294) + // Measured: `4829` + // Estimated: `6695` + // Minimum execution time: 62_655_000 picoseconds. + Weight::from_parts(64_308_000, 6695) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -90,10 +90,10 @@ impl democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(2142), added: 4617, mode: MaxEncodedLen) fn vote_new () -> Weight { // Proof Size summary in bytes: - // Measured: `3160` - // Estimated: `19872` - // Minimum execution time: 98_079_000 picoseconds. - Weight::from_parts(115_463_000, 19872) + // Measured: `3187` + // Estimated: `5607` + // Minimum execution time: 66_814_000 picoseconds. + Weight::from_parts(70_581_000, 5607) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -109,10 +109,10 @@ impl democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(2142), added: 4617, mode: MaxEncodedLen) fn vote_existing () -> Weight { // Proof Size summary in bytes: - // Measured: `3181` - // Estimated: `19872` - // Minimum execution time: 89_689_000 picoseconds. - Weight::from_parts(99_828_000, 19872) + // Measured: `3208` + // Estimated: `5607` + // Minimum execution time: 75_491_000 picoseconds. + Weight::from_parts(89_820_000, 5607) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -128,10 +128,10 @@ impl democracy::WeightInfo for WeightInfo { /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) fn fast_track () -> Weight { // Proof Size summary in bytes: - // Measured: `398` - // Estimated: `29900` - // Minimum execution time: 70_470_000 picoseconds. - Weight::from_parts(71_922_000, 29900) + // Measured: `425` + // Estimated: `18187` + // Minimum execution time: 61_484_000 picoseconds. + Weight::from_parts(63_477_000, 18187) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -139,10 +139,10 @@ impl democracy::WeightInfo for WeightInfo { /// 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: `221` + // Measured: `248` // Estimated: `3666` - // Minimum execution time: 38_562_000 picoseconds. - Weight::from_parts(39_311_000, 3666) + // Minimum execution time: 34_058_000 picoseconds. + Weight::from_parts(35_220_000, 3666) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -154,10 +154,10 @@ impl democracy::WeightInfo for WeightInfo { /// Proof: Escrow Reserved (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) fn cancel_proposal () -> Weight { // Proof Size summary in bytes: - // Measured: `6169` - // Estimated: `28411` - // Minimum execution time: 161_254_000 picoseconds. - Weight::from_parts(171_109_000, 28411) + // Measured: `6196` + // Estimated: `18187` + // Minimum execution time: 105_050_000 picoseconds. + Weight::from_parts(123_808_000, 18187) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -165,10 +165,10 @@ impl democracy::WeightInfo for WeightInfo { /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) fn cancel_referendum () -> Weight { // Proof Size summary in bytes: - // Measured: `221` + // Measured: `248` // Estimated: `3666` - // Minimum execution time: 33_858_000 picoseconds. - Weight::from_parts(37_949_000, 3666) + // Minimum execution time: 29_239_000 picoseconds. + Weight::from_parts(29_700_000, 3666) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -195,12 +195,12 @@ impl democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_public (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `426 + r * (86 ±0)` - // Estimated: `40282 + r * (2677 ±0)` - // Minimum execution time: 80_172_000 picoseconds. - Weight::from_parts(95_107_339, 40282) - // Standard Error: 60_742 - .saturating_add(Weight::from_parts(22_858_429, 0).saturating_mul(r.into())) + // Measured: `453 + r * (86 ±0)` + // Estimated: `18187 + r * (2677 ±0)` + // Minimum execution time: 74_709_000 picoseconds. + Weight::from_parts(144_257_239, 18187) + // Standard Error: 307_991 + .saturating_add(Weight::from_parts(18_937_404, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(6_u64)) @@ -222,12 +222,12 @@ impl democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `144 + r * (86 ±0)` - // Estimated: `25141 + r * (2676 ±0)` - // Minimum execution time: 20_896_000 picoseconds. - Weight::from_parts(16_533_498, 25141) - // Standard Error: 32_240 - .saturating_add(Weight::from_parts(6_780_742, 0).saturating_mul(r.into())) + // Measured: `171 + r * (86 ±0)` + // Estimated: `18187 + r * (2676 ±0)` + // Minimum execution time: 19_750_000 picoseconds. + Weight::from_parts(23_636_151, 18187) + // Standard Error: 11_079 + .saturating_add(Weight::from_parts(4_983_882, 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)) @@ -248,12 +248,12 @@ impl democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `144 + r * (86 ±0)` - // Estimated: `25141 + r * (2676 ±0)` - // Minimum execution time: 20_738_000 picoseconds. - Weight::from_parts(15_781_900, 25141) - // Standard Error: 35_897 - .saturating_add(Weight::from_parts(6_785_581, 0).saturating_mul(r.into())) + // Measured: `171 + r * (86 ±0)` + // Estimated: `18187 + r * (2676 ±0)` + // Minimum execution time: 19_560_000 picoseconds. + Weight::from_parts(19_961_000, 18187) + // Standard Error: 10_127 + .saturating_add(Weight::from_parts(5_053_754, 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)) @@ -265,8 +265,8 @@ impl democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_406_000 picoseconds. - Weight::from_parts(10_445_000, 0) + // Minimum execution time: 6_784_000 picoseconds. + Weight::from_parts(6_964_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -276,12 +276,12 @@ impl democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_vote (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `598 + r * (25 ±0)` - // Estimated: `9273` - // Minimum execution time: 34_563_000 picoseconds. - Weight::from_parts(43_648_351, 9273) - // Standard Error: 11_539 - .saturating_add(Weight::from_parts(322_493, 0).saturating_mul(r.into())) + // Measured: `625 + r * (25 ±0)` + // Estimated: `5607` + // Minimum execution time: 28_156_000 picoseconds. + Weight::from_parts(32_747_776, 5607) + // Standard Error: 5_899 + .saturating_add(Weight::from_parts(121_274, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -291,10 +291,10 @@ impl democracy::WeightInfo for WeightInfo { /// 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: 81_377_000 picoseconds. - Weight::from_parts(83_931_000, 9763) + // Measured: `536` + // Estimated: `6170` + // Minimum execution time: 66_633_000 picoseconds. + Weight::from_parts(67_405_000, 6170) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } diff --git a/parachain/runtime/interlay/src/weights/dex_general.rs b/parachain/runtime/interlay/src/weights/dex_general.rs index b58e14869c..031edce72c 100644 --- a/parachain/runtime/interlay/src/weights/dex_general.rs +++ b/parachain/runtime/interlay/src/weights/dex_general.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for dex_general //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -44,10 +44,10 @@ impl dex_general::WeightInfo for WeightInfo { /// 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: `3` + // Measured: `4` // Estimated: `1519` - // Minimum execution time: 15_919_000 picoseconds. - Weight::from_parts(16_728_000, 1519) + // Minimum execution time: 13_066_000 picoseconds. + Weight::from_parts(13_848_000, 1519) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -55,10 +55,10 @@ impl dex_general::WeightInfo for WeightInfo { /// 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: `3` + // Measured: `4` // Estimated: `1519` - // Minimum execution time: 26_414_000 picoseconds. - Weight::from_parts(26_871_000, 1519) + // Minimum execution time: 21_603_000 picoseconds. + Weight::from_parts(22_054_000, 1519) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -68,10 +68,10 @@ impl dex_general::WeightInfo for WeightInfo { /// Proof: DexGeneral LiquidityPairs (max_values: None, max_size: Some(50), added: 2525, mode: MaxEncodedLen) fn create_pair () -> Weight { // Proof Size summary in bytes: - // Measured: `3` + // Measured: `4` // Estimated: `3628` - // Minimum execution time: 39_508_000 picoseconds. - Weight::from_parts(41_610_000, 3628) + // Minimum execution time: 31_944_000 picoseconds. + Weight::from_parts(32_956_000, 3628) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -85,14 +85,14 @@ impl dex_general::WeightInfo for WeightInfo { /// The range of component `l` is `[1, 10]`. fn bootstrap_create (r: u32, l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3` + // Measured: `4` // Estimated: `3628` - // Minimum execution time: 46_807_000 picoseconds. - Weight::from_parts(49_800_031, 3628) - // Standard Error: 55_147 - .saturating_add(Weight::from_parts(120_739, 0).saturating_mul(r.into())) - // Standard Error: 55_147 - .saturating_add(Weight::from_parts(229_186, 0).saturating_mul(l.into())) + // Minimum execution time: 37_816_000 picoseconds. + Weight::from_parts(29_977_579, 3628) + // Standard Error: 119_682 + .saturating_add(Weight::from_parts(499_256, 0).saturating_mul(r.into())) + // Standard Error: 119_682 + .saturating_add(Weight::from_parts(1_107_001, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -108,10 +108,10 @@ impl dex_general::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn bootstrap_contribute () -> Weight { // Proof Size summary in bytes: - // Measured: `671` - // Estimated: `52635` - // Minimum execution time: 185_711_000 picoseconds. - Weight::from_parts(199_156_000, 52635) + // Measured: `941` + // Estimated: `30497` + // Minimum execution time: 153_948_000 picoseconds. + Weight::from_parts(156_744_000, 30497) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -131,10 +131,10 @@ impl dex_general::WeightInfo for WeightInfo { /// Proof: DexGeneral BootstrapRewards (max_values: None, max_size: Some(27032), added: 29507, mode: MaxEncodedLen) fn bootstrap_claim () -> Weight { // Proof Size summary in bytes: - // Measured: `1231` - // Estimated: `54598` - // Minimum execution time: 169_864_000 picoseconds. - Weight::from_parts(181_561_000, 54598) + // Measured: `1486` + // Estimated: `30497` + // Minimum execution time: 131_704_000 picoseconds. + Weight::from_parts(132_755_000, 30497) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -152,10 +152,10 @@ impl dex_general::WeightInfo for WeightInfo { /// Proof: DexGeneral BootstrapEndStatus (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) fn bootstrap_end () -> Weight { // Proof Size summary in bytes: - // Measured: `893` - // Estimated: `27264` - // Minimum execution time: 240_023_000 picoseconds. - Weight::from_parts(253_923_000, 27264) + // Measured: `1200` + // Estimated: `13940` + // Minimum execution time: 192_676_000 picoseconds. + Weight::from_parts(193_828_000, 13940) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -169,14 +169,14 @@ impl dex_general::WeightInfo for WeightInfo { /// The range of component `l` is `[1, 10]`. fn bootstrap_update (r: u32, l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `259 + r * (21 ±0)` - // Estimated: `34125` - // Minimum execution time: 57_936_000 picoseconds. - Weight::from_parts(57_288_965, 34125) - // Standard Error: 53_814 - .saturating_add(Weight::from_parts(572_652, 0).saturating_mul(r.into())) - // Standard Error: 53_814 - .saturating_add(Weight::from_parts(371_921, 0).saturating_mul(l.into())) + // Measured: `260 + r * (21 ±0)` + // Estimated: `30497` + // Minimum execution time: 46_433_000 picoseconds. + Weight::from_parts(45_194_974, 30497) + // Standard Error: 144_589 + .saturating_add(Weight::from_parts(153_960, 0).saturating_mul(r.into())) + // Standard Error: 144_589 + .saturating_add(Weight::from_parts(754_676, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -190,10 +190,10 @@ impl dex_general::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn bootstrap_refund () -> Weight { // Proof Size summary in bytes: - // Measured: `1046` - // Estimated: `22138` - // Minimum execution time: 152_230_000 picoseconds. - Weight::from_parts(168_048_000, 22138) + // Measured: `1301` + // Estimated: `11350` + // Minimum execution time: 122_856_000 picoseconds. + Weight::from_parts(127_425_000, 11350) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -213,10 +213,10 @@ impl dex_general::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn add_liquidity () -> Weight { // Proof Size summary in bytes: - // Measured: `704` - // Estimated: `33222` - // Minimum execution time: 265_466_000 picoseconds. - Weight::from_parts(294_876_000, 33222) + // Measured: `974` + // Estimated: `13940` + // Minimum execution time: 213_548_000 picoseconds. + Weight::from_parts(214_830_000, 13940) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -236,10 +236,10 @@ impl dex_general::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn remove_liquidity () -> Weight { // Proof Size summary in bytes: - // Measured: `1188` - // Estimated: `33222` - // Minimum execution time: 224_704_000 picoseconds. - Weight::from_parts(228_516_000, 33222) + // Measured: `1443` + // Estimated: `13940` + // Minimum execution time: 182_185_000 picoseconds. + Weight::from_parts(183_037_000, 13940) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -252,16 +252,16 @@ impl dex_general::WeightInfo for WeightInfo { /// The range of component `a` is `[2, 10]`. fn swap_exact_assets_for_assets (a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + a * (435 ±0)` - // Estimated: `8211 + a * (8825 ±21)` - // Minimum execution time: 161_917_000 picoseconds. - Weight::from_parts(12_273_386, 8211) - // Standard Error: 283_655 - .saturating_add(Weight::from_parts(78_807_907, 0).saturating_mul(a.into())) + // Measured: `224 + a * (459 ±0)` + // Estimated: `3628 + a * (5180 ±21)` + // Minimum execution time: 134_600_000 picoseconds. + Weight::from_parts(11_419_585, 3628) + // Standard Error: 109_224 + .saturating_add(Weight::from_parts(63_887_910, 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, 8825).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 5180).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) @@ -272,16 +272,16 @@ impl dex_general::WeightInfo for WeightInfo { /// The range of component `a` is `[2, 10]`. fn swap_assets_for_exact_assets (a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + a * (435 ±0)` - // Estimated: `8211 + a * (8825 ±0)` - // Minimum execution time: 163_640_000 picoseconds. - Weight::from_parts(14_064_501, 8211) - // Standard Error: 299_174 - .saturating_add(Weight::from_parts(79_120_950, 0).saturating_mul(a.into())) + // Measured: `224 + a * (459 ±0)` + // Estimated: `3628 + a * (5180 ±22)` + // Minimum execution time: 134_940_000 picoseconds. + Weight::from_parts(10_824_127, 3628) + // Standard Error: 93_262 + .saturating_add(Weight::from_parts(63_943_649, 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, 8825).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 5180).saturating_mul(a.into())) } /// Storage: DexGeneral BootstrapRewards (r:1 w:1) /// Proof: DexGeneral BootstrapRewards (max_values: None, max_size: Some(27032), added: 29507, mode: MaxEncodedLen) @@ -292,12 +292,12 @@ impl dex_general::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 10]`. fn bootstrap_charge_reward (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `376 + r * (88 ±0)` - // Estimated: `35080 + r * (5180 ±0)` - // Minimum execution time: 108_140_000 picoseconds. - Weight::from_parts(68_067_108, 35080) - // Standard Error: 227_743 - .saturating_add(Weight::from_parts(53_817_168, 0).saturating_mul(r.into())) + // Measured: `646 + r * (88 ±0)` + // Estimated: `30497 + r * (5180 ±0)` + // Minimum execution time: 92_285_000 picoseconds. + Weight::from_parts(51_599_752, 30497) + // Standard Error: 35_906 + .saturating_add(Weight::from_parts(43_455_215, 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)) @@ -308,10 +308,10 @@ impl dex_general::WeightInfo for WeightInfo { /// 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: `135` + // Measured: `136` // Estimated: `30497` - // Minimum execution time: 37_512_000 picoseconds. - Weight::from_parts(44_039_000, 30497) + // Minimum execution time: 29_279_000 picoseconds. + Weight::from_parts(29_900_000, 30497) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/parachain/runtime/interlay/src/weights/dex_stable.rs b/parachain/runtime/interlay/src/weights/dex_stable.rs index fd2d52d05e..633ebcfff8 100644 --- a/parachain/runtime/interlay/src/weights/dex_stable.rs +++ b/parachain/runtime/interlay/src/weights/dex_stable.rs @@ -2,17 +2,17 @@ //! Autogenerated weights for dex_stable //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-10, STEPS: `10`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: ``, CPU: `Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: -// ./target/debug/interbtc-parachain +// target/release/interbtc-parachain // benchmark // pallet // --pallet -// dex-stable +// * // --extrinsic // * // --chain @@ -20,11 +20,11 @@ // --execution=wasm // --wasm-execution=compiled // --steps -// 10 +// 50 // --repeat -// 1 +// 10 // --output -// parachain/runtime/interlay/src/weights +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -52,14 +52,14 @@ impl dex_stable::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn create_base_pool (b: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `175` + // Measured: `227` // Estimated: `4281` - // Minimum execution time: 926_937_000 picoseconds. - Weight::from_parts(892_440_860, 4281) - // Standard Error: 2_385_481 - .saturating_add(Weight::from_parts(4_499_300, 0).saturating_mul(b.into())) - // Standard Error: 411_324 - .saturating_add(Weight::from_parts(458_537, 0).saturating_mul(s.into())) + // Minimum execution time: 54_269_000 picoseconds. + Weight::from_parts(54_997_240, 4281) + // Standard Error: 17_665 + .saturating_add(Weight::from_parts(183_582, 0).saturating_mul(b.into())) + // Standard Error: 2_939 + .saturating_add(Weight::from_parts(825, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -77,16 +77,14 @@ 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: `1327` + // Measured: `1398` // Estimated: `7572` - // Minimum execution time: 1_499_976_000 picoseconds. - Weight::from_parts(1_481_261_840, 7572) - // Standard Error: 1_427_994 - .saturating_add(Weight::from_parts(2_331_903, 0).saturating_mul(m.into())) - // Standard Error: 246_226 - .saturating_add(Weight::from_parts(413_815, 0).saturating_mul(s.into())) + // Minimum execution time: 103_989_000 picoseconds. + Weight::from_parts(106_056_384, 7572) + // Standard Error: 27_983 + .saturating_add(Weight::from_parts(148_173, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -103,12 +101,12 @@ impl dex_stable::WeightInfo for WeightInfo { /// The range of component `b` is `[2, 10]`. fn add_liquidity (b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `955 + b * (121 ±0)` + // Measured: `1272 + b * (121 ±0)` // Estimated: `4281 + b * (5180 ±0)` - // Minimum execution time: 3_243_974_000 picoseconds. - Weight::from_parts(1_456_375_387, 4281) - // Standard Error: 1_551_618 - .saturating_add(Weight::from_parts(895_259_645, 0).saturating_mul(b.into())) + // Minimum execution time: 196_183_000 picoseconds. + Weight::from_parts(93_408_237, 4281) + // Standard Error: 1_465_469 + .saturating_add(Weight::from_parts(53_655_462, 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)) @@ -125,10 +123,10 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn swap () -> Weight { // Proof Size summary in bytes: - // Measured: `2108` + // Measured: `2366` // Estimated: `11350` - // Minimum execution time: 2_268_129_000 picoseconds. - Weight::from_parts(2_268_129_000, 11350) + // Minimum execution time: 155_952_000 picoseconds. + Weight::from_parts(157_205_000, 11350) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -143,12 +141,12 @@ impl dex_stable::WeightInfo for WeightInfo { /// The range of component `b` is `[2, 10]`. fn remove_liquidity (b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1064 + b * (189 ±0)` + // Measured: `1326 + b * (189 ±0)` // Estimated: `4281 + b * (5180 ±0)` - // Minimum execution time: 2_524_661_000 picoseconds. - Weight::from_parts(1_324_272_155, 4281) - // Standard Error: 2_684_950 - .saturating_add(Weight::from_parts(601_291_454, 0).saturating_mul(b.into())) + // Minimum execution time: 152_916_000 picoseconds. + Weight::from_parts(78_803_054, 4281) + // Standard Error: 652_838 + .saturating_add(Weight::from_parts(35_960_644, 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)) @@ -167,10 +165,10 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn remove_liquidity_one_currency () -> Weight { // Proof Size summary in bytes: - // Measured: `2179` + // Measured: `2437` // Estimated: `8760` - // Minimum execution time: 2_160_817_000 picoseconds. - Weight::from_parts(2_160_817_000, 8760) + // Minimum execution time: 178_146_000 picoseconds. + Weight::from_parts(179_620_000, 8760) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -187,12 +185,12 @@ impl dex_stable::WeightInfo for WeightInfo { /// The range of component `b` is `[2, 10]`. fn remove_liquidity_imbalance (b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1106 + b * (189 ±0)` + // Measured: `1368 + b * (189 ±0)` // Estimated: `4281 + b * (5180 ±0)` - // Minimum execution time: 2_605_230_000 picoseconds. - Weight::from_parts(1_378_223_306, 4281) - // Standard Error: 3_145_876 - .saturating_add(Weight::from_parts(610_722_427, 0).saturating_mul(b.into())) + // Minimum execution time: 177_185_000 picoseconds. + Weight::from_parts(108_143_142, 4281) + // Standard Error: 537_782 + .saturating_add(Weight::from_parts(39_454_173, 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)) @@ -213,14 +211,14 @@ impl dex_stable::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 10]`. fn add_pool_and_base_pool_liquidity (b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1410 + b * (187 ±0) + m * (121 ±0)` + // Measured: `1708 + b * (187 ±0) + m * (117 ±0)` // Estimated: `7572 + b * (5180 ±0) + m * (5180 ±0)` - // Minimum execution time: 11_645_469_000 picoseconds. - Weight::from_parts(2_289_802_814, 7572) - // Standard Error: 4_386_612 - .saturating_add(Weight::from_parts(750_338_420, 0).saturating_mul(b.into())) - // Standard Error: 4_386_612 - .saturating_add(Weight::from_parts(918_351_372, 0).saturating_mul(m.into())) + // Minimum execution time: 699_882_000 picoseconds. + Weight::from_parts(148_335_738, 7572) + // Standard Error: 161_576 + .saturating_add(Weight::from_parts(45_050_514, 0).saturating_mul(b.into())) + // Standard Error: 161_576 + .saturating_add(Weight::from_parts(55_322_501, 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()))) @@ -242,14 +240,14 @@ impl dex_stable::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 10]`. fn remove_pool_and_base_pool_liquidity (b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1630 + b * (187 ±0) + m * (187 ±0)` + // Measured: `1951 + b * (187 ±0) + m * (184 ±0)` // Estimated: `7572 + b * (5180 ±0) + m * (5180 ±0)` - // Minimum execution time: 9_647_145_000 picoseconds. - Weight::from_parts(2_035_313_491, 7572) - // Standard Error: 17_444_707 - .saturating_add(Weight::from_parts(636_796_544, 0).saturating_mul(b.into())) - // Standard Error: 17_444_707 - .saturating_add(Weight::from_parts(628_853_533, 0).saturating_mul(m.into())) + // Minimum execution time: 556_133_000 picoseconds. + Weight::from_parts(182_776_140, 7572) + // Standard Error: 257_496 + .saturating_add(Weight::from_parts(32_276_393, 0).saturating_mul(b.into())) + // Standard Error: 257_496 + .saturating_add(Weight::from_parts(31_958_805, 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()))) @@ -271,10 +269,10 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn remove_pool_and_base_pool_liquidity_one_currency () -> Weight { // Proof Size summary in bytes: - // Measured: `3983` + // Measured: `4278` // Estimated: `13940` - // Minimum execution time: 4_155_522_000 picoseconds. - Weight::from_parts(4_155_522_000, 13940) + // Minimum execution time: 350_151_000 picoseconds. + Weight::from_parts(353_107_000, 13940) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -290,10 +288,10 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn swap_pool_from_base () -> Weight { // Proof Size summary in bytes: - // Measured: `4250` + // Measured: `4508` // Estimated: `39840` - // Minimum execution time: 5_762_939_000 picoseconds. - Weight::from_parts(5_762_939_000, 39840) + // Minimum execution time: 422_676_000 picoseconds. + Weight::from_parts(427_075_000, 39840) .saturating_add(T::DbWeight::get().reads(20_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -309,10 +307,10 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) fn swap_pool_to_base () -> Weight { // Proof Size summary in bytes: - // Measured: `4013` + // Measured: `4308` // Estimated: `16530` - // Minimum execution time: 4_159_755_000 picoseconds. - Weight::from_parts(4_159_755_000, 16530) + // Minimum execution time: 331_324_000 picoseconds. + Weight::from_parts(337_195_000, 16530) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -326,10 +324,10 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn swap_meta_pool_underlying () -> Weight { // Proof Size summary in bytes: - // Measured: `2459` + // Measured: `2680` // Estimated: `11350` - // Minimum execution time: 2_205_825_000 picoseconds. - Weight::from_parts(2_205_825_000, 11350) + // Minimum execution time: 163_748_000 picoseconds. + Weight::from_parts(164_570_000, 11350) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -339,8 +337,8 @@ impl dex_stable::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `874` // Estimated: `4281` - // Minimum execution time: 509_216_000 picoseconds. - Weight::from_parts(509_216_000, 4281) + // Minimum execution time: 32_756_000 picoseconds. + Weight::from_parts(33_778_000, 4281) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -350,8 +348,8 @@ impl dex_stable::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `874` // Estimated: `4281` - // Minimum execution time: 519_106_000 picoseconds. - Weight::from_parts(519_106_000, 4281) + // Minimum execution time: 32_465_000 picoseconds. + Weight::from_parts(33_146_000, 4281) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -361,8 +359,8 @@ impl dex_stable::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `874` // Estimated: `4281` - // Minimum execution time: 511_217_000 picoseconds. - Weight::from_parts(511_217_000, 4281) + // Minimum execution time: 32_365_000 picoseconds. + Weight::from_parts(33_006_000, 4281) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -374,8 +372,8 @@ impl dex_stable::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `968` // Estimated: `4281` - // Minimum execution time: 644_410_000 picoseconds. - Weight::from_parts(644_410_000, 4281) + // Minimum execution time: 40_401_000 picoseconds. + Weight::from_parts(41_092_000, 4281) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -387,8 +385,8 @@ impl dex_stable::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `968` // Estimated: `4281` - // Minimum execution time: 643_830_000 picoseconds. - Weight::from_parts(643_830_000, 4281) + // Minimum execution time: 40_571_000 picoseconds. + Weight::from_parts(40_812_000, 4281) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -398,10 +396,10 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) fn withdraw_admin_fee () -> Weight { // Proof Size summary in bytes: - // Measured: `1843` + // Measured: `2064` // Estimated: `26890` - // Minimum execution time: 2_884_467_000 picoseconds. - Weight::from_parts(2_884_467_000, 26890) + // Minimum execution time: 167_655_000 picoseconds. + Weight::from_parts(168_567_000, 26890) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/parachain/runtime/interlay/src/weights/dex_swap_router.rs b/parachain/runtime/interlay/src/weights/dex_swap_router.rs index 4e9780d3ce..bd292ea62d 100644 --- a/parachain/runtime/interlay/src/weights/dex_swap_router.rs +++ b/parachain/runtime/interlay/src/weights/dex_swap_router.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for dex_swap_router //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -45,9 +45,9 @@ impl dex_swap_router::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 750_000 picoseconds. - Weight::from_parts(642_654, 0) - // Standard Error: 1_383 - .saturating_add(Weight::from_parts(123_062, 0).saturating_mul(a.into())) + // Minimum execution time: 631_000 picoseconds. + Weight::from_parts(545_230, 0) + // Standard Error: 725 + .saturating_add(Weight::from_parts(102_563, 0).saturating_mul(a.into())) } } \ No newline at end of file diff --git a/parachain/runtime/interlay/src/weights/escrow.rs b/parachain/runtime/interlay/src/weights/escrow.rs index 04598944d3..80ba563917 100644 --- a/parachain/runtime/interlay/src/weights/escrow.rs +++ b/parachain/runtime/interlay/src/weights/escrow.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for escrow //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -65,17 +65,21 @@ impl escrow::WeightInfo for WeightInfo { /// Storage: EscrowRewards TotalStake (r:1 w:1) /// Proof: EscrowRewards TotalStake (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: EscrowRewards RewardCurrencies (r:1 w:0) - /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(127), added: 2602, mode: MaxEncodedLen) + /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: EscrowRewards RewardTally (r:1 w:1) + /// Proof: EscrowRewards RewardTally (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: EscrowRewards RewardPerToken (r:1 w:0) + /// Proof: EscrowRewards RewardPerToken (max_values: None, max_size: Some(59), added: 2534, mode: MaxEncodedLen) /// Storage: Escrow UserPointHistory (r:0 w:1) /// Proof: Escrow UserPointHistory (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) fn create_lock () -> Weight { // Proof Size summary in bytes: - // Measured: `540` - // Estimated: `178187` - // Minimum execution time: 517_938_000 picoseconds. - Weight::from_parts(542_454_000, 178187) - .saturating_add(T::DbWeight::get().reads(66_u64)) - .saturating_add(T::DbWeight::get().writes(62_u64)) + // Measured: `1094` + // Estimated: `136584` + // Minimum execution time: 460_452_000 picoseconds. + Weight::from_parts(464_921_000, 136584) + .saturating_add(T::DbWeight::get().reads(68_u64)) + .saturating_add(T::DbWeight::get().writes(63_u64)) } /// Storage: Escrow Locked (r:1 w:1) /// Proof: Escrow Locked (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) @@ -100,17 +104,21 @@ impl escrow::WeightInfo for WeightInfo { /// Storage: EscrowRewards TotalStake (r:1 w:1) /// Proof: EscrowRewards TotalStake (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: EscrowRewards RewardCurrencies (r:1 w:0) - /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(127), added: 2602, mode: MaxEncodedLen) + /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: EscrowRewards RewardTally (r:1 w:1) + /// Proof: EscrowRewards RewardTally (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: EscrowRewards RewardPerToken (r:1 w:0) + /// Proof: EscrowRewards RewardPerToken (max_values: None, max_size: Some(59), added: 2534, mode: MaxEncodedLen) /// Storage: Escrow UserPointHistory (r:0 w:1) /// Proof: Escrow UserPointHistory (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) fn increase_amount () -> Weight { // Proof Size summary in bytes: - // Measured: `1273` - // Estimated: `41511` - // Minimum execution time: 227_462_000 picoseconds. - Weight::from_parts(242_306_000, 41511) - .saturating_add(T::DbWeight::get().reads(12_u64)) - .saturating_add(T::DbWeight::get().writes(10_u64)) + // Measured: `1683` + // Estimated: `4733` + // Minimum execution time: 205_251_000 picoseconds. + Weight::from_parts(206_143_000, 4733) + .saturating_add(T::DbWeight::get().reads(14_u64)) + .saturating_add(T::DbWeight::get().writes(11_u64)) } /// Storage: Escrow Locked (r:1 w:1) /// Proof: Escrow Locked (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) @@ -135,17 +143,21 @@ impl escrow::WeightInfo for WeightInfo { /// Storage: EscrowRewards TotalStake (r:1 w:1) /// Proof: EscrowRewards TotalStake (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: EscrowRewards RewardCurrencies (r:1 w:0) - /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(127), added: 2602, mode: MaxEncodedLen) + /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: EscrowRewards RewardTally (r:1 w:1) + /// Proof: EscrowRewards RewardTally (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: EscrowRewards RewardPerToken (r:1 w:0) + /// Proof: EscrowRewards RewardPerToken (max_values: None, max_size: Some(59), added: 2534, mode: MaxEncodedLen) /// Storage: Escrow UserPointHistory (r:0 w:1) /// 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: `1273` - // Estimated: `523623` - // Minimum execution time: 1_447_368_000 picoseconds. - Weight::from_parts(1_499_422_000, 523623) - .saturating_add(T::DbWeight::get().reads(204_u64)) - .saturating_add(T::DbWeight::get().writes(201_u64)) + // Measured: `1683` + // Estimated: `485613` + // Minimum execution time: 1_203_991_000 picoseconds. + Weight::from_parts(1_215_614_000, 485613) + .saturating_add(T::DbWeight::get().reads(206_u64)) + .saturating_add(T::DbWeight::get().writes(202_u64)) } /// Storage: Escrow Locked (r:1 w:1) /// Proof: Escrow Locked (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) @@ -154,7 +166,11 @@ impl escrow::WeightInfo for WeightInfo { /// Storage: EscrowRewards TotalStake (r:1 w:1) /// Proof: EscrowRewards TotalStake (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: EscrowRewards RewardCurrencies (r:1 w:0) - /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(127), added: 2602, mode: MaxEncodedLen) + /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: EscrowRewards RewardTally (r:1 w:1) + /// Proof: EscrowRewards RewardTally (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: EscrowRewards RewardPerToken (r:1 w:0) + /// Proof: EscrowRewards RewardPerToken (max_values: None, max_size: Some(59), added: 2534, mode: MaxEncodedLen) /// Storage: Escrow SlopeChanges (r:193 w:0) /// Proof: Escrow SlopeChanges (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) /// Storage: Escrow Epoch (r:1 w:1) @@ -173,15 +189,33 @@ impl escrow::WeightInfo for WeightInfo { /// Proof: Escrow UserPointHistory (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) fn withdraw () -> Weight { // Proof Size summary in bytes: - // Measured: `1455` - // Estimated: `523734` - // Minimum execution time: 1_474_654_000 picoseconds. - Weight::from_parts(1_503_680_000, 523734) - .saturating_add(T::DbWeight::get().reads(204_u64)) - .saturating_add(T::DbWeight::get().writes(203_u64)) + // Measured: `1902` + // Estimated: `485613` + // Minimum execution time: 1_187_508_000 picoseconds. + Weight::from_parts(1_208_961_000, 485613) + .saturating_add(T::DbWeight::get().reads(206_u64)) + .saturating_add(T::DbWeight::get().writes(204_u64)) + } + /// Storage: Escrow Limits (r:0 w:1) + /// Proof: Escrow Limits (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + fn set_account_limit () -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_060_000 picoseconds. + Weight::from_parts(10_421_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: Escrow Blocks (r:0 w:1) + /// Proof: Escrow Blocks (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + fn set_account_block () -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_020_000 picoseconds. + Weight::from_parts(10_881_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: EscrowRewards Stake (r:1 w:1) - /// Proof: EscrowRewards Stake (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: Escrow Locked (r:1 w:1) /// Proof: Escrow Locked (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:1 w:1) @@ -192,49 +226,29 @@ impl escrow::WeightInfo for WeightInfo { /// 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:96 w:1) + /// Storage: Escrow SlopeChanges (r:192 w:1) /// Proof: Escrow SlopeChanges (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) /// Storage: Escrow Epoch (r:1 w:1) /// Proof: Escrow Epoch (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Escrow PointHistory (r:1 w:95) + /// Storage: Escrow PointHistory (r:1 w:191) /// Proof: Escrow PointHistory (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) /// Storage: Escrow UserPointEpoch (r:1 w:1) /// Proof: Escrow UserPointEpoch (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: EscrowRewards Stake (r:1 w:1) + /// Proof: EscrowRewards Stake (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: EscrowRewards TotalStake (r:1 w:1) /// Proof: EscrowRewards TotalStake (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: EscrowRewards RewardCurrencies (r:1 w:0) - /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(127), added: 2602, mode: MaxEncodedLen) - /// Storage: Escrow ThresholdPercentage (r:1 w:0) - /// Proof: Escrow ThresholdPercentage (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) + /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) /// Storage: Escrow UserPointHistory (r:0 w:1) /// Proof: Escrow UserPointHistory (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) fn update_user_stake () -> Weight { // Proof Size summary in bytes: - // Measured: `1273` - // Estimated: `281542` - // Minimum execution time: 359_000_000 picoseconds. - Weight::from_parts(363_000_000, 281542) - .saturating_add(T::DbWeight::get().reads(108_u64)) - .saturating_add(T::DbWeight::get().writes(104_u64)) - } - - fn set_account_limit () -> Weight { - // Proof Size summary in bytes: - // Measured: `1273` - // Estimated: `281542` - // Minimum execution time: 359_000_000 picoseconds. - Weight::from_parts(363_000_000, 281542) - .saturating_add(T::DbWeight::get().reads(108_u64)) - .saturating_add(T::DbWeight::get().writes(104_u64)) - } - - fn set_account_block () -> Weight { - // Proof Size summary in bytes: - // Measured: `1273` - // Estimated: `281542` - // Minimum execution time: 359_000_000 picoseconds. - Weight::from_parts(363_000_000, 281542) - .saturating_add(T::DbWeight::get().reads(108_u64)) - .saturating_add(T::DbWeight::get().writes(104_u64)) + // Measured: `1490` + // Estimated: `483102` + // Minimum execution time: 1_173_299_000 picoseconds. + Weight::from_parts(1_186_816_000, 483102) + .saturating_add(T::DbWeight::get().reads(203_u64)) + .saturating_add(T::DbWeight::get().writes(200_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/interlay/src/weights/farming.rs b/parachain/runtime/interlay/src/weights/farming.rs index a9cc2be95b..9a4cebd139 100644 --- a/parachain/runtime/interlay/src/weights/farming.rs +++ b/parachain/runtime/interlay/src/weights/farming.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for farming //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -47,15 +47,15 @@ impl farming::WeightInfo for WeightInfo { /// The range of component `c` is `[1, 4]`. fn on_initialize (c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `189 + c * (41 ±0)` - // Estimated: `6342 + c * (3717 ±0)` - // Minimum execution time: 36_335_000 picoseconds. - Weight::from_parts(26_116_063, 6342) - // Standard Error: 179_842 - .saturating_add(Weight::from_parts(13_707_478, 0).saturating_mul(c.into())) + // Measured: `208 + c * (41 ±0)` + // Estimated: `3539 + c * (2549 ±45)` + // Minimum execution time: 29_038_000 picoseconds. + Weight::from_parts(25_341_704, 3539) + // Standard Error: 136_097 + .saturating_add(Weight::from_parts(9_901_018, 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, 3717).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2549).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) @@ -65,10 +65,10 @@ impl farming::WeightInfo for WeightInfo { /// Proof: Farming RewardSchedules (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen) fn update_reward_schedule () -> Weight { // Proof Size summary in bytes: - // Measured: `435` - // Estimated: `13302` - // Minimum execution time: 110_632_000 picoseconds. - Weight::from_parts(119_448_000, 13302) + // Measured: `847` + // Estimated: `6170` + // Minimum execution time: 96_002_000 picoseconds. + Weight::from_parts(98_848_000, 6170) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -80,10 +80,10 @@ impl farming::WeightInfo for WeightInfo { /// Proof: Farming RewardSchedules (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen) fn remove_reward_schedule () -> Weight { // Proof Size summary in bytes: - // Measured: `582` - // Estimated: `9763` - // Minimum execution time: 93_051_000 picoseconds. - Weight::from_parts(98_659_000, 9763) + // Measured: `945` + // Estimated: `6170` + // Minimum execution time: 76_924_000 picoseconds. + Weight::from_parts(78_778_000, 6170) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -102,17 +102,17 @@ impl farming::WeightInfo for WeightInfo { /// The range of component `c` is `[1, 4]`. fn deposit (c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `683 + c * (70 ±0)` - // Estimated: `16211 + c * (5122 ±0)` - // Minimum execution time: 115_386_000 picoseconds. - Weight::from_parts(106_834_770, 16211) - // Standard Error: 328_359 - .saturating_add(Weight::from_parts(16_898_888, 0).saturating_mul(c.into())) + // Measured: `900 + c * (70 ±0)` + // Estimated: `3603 + c * (2577 ±0)` + // Minimum execution time: 92_525_000 picoseconds. + Weight::from_parts(83_566_332, 3603) + // Standard Error: 141_739 + .saturating_add(Weight::from_parts(12_357_123, 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, 5122).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2577).saturating_mul(c.into())) } /// Storage: FarmingRewards RewardCurrencies (r:1 w:0) /// Proof: FarmingRewards RewardCurrencies (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) @@ -129,17 +129,17 @@ impl farming::WeightInfo for WeightInfo { /// The range of component `c` is `[1, 4]`. fn withdraw (c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `683 + c * (70 ±0)` - // Estimated: `16211 + c * (5122 ±0)` - // Minimum execution time: 105_950_000 picoseconds. - Weight::from_parts(94_600_423, 16211) - // Standard Error: 308_218 - .saturating_add(Weight::from_parts(18_457_333, 0).saturating_mul(c.into())) + // Measured: `900 + c * (70 ±0)` + // Estimated: `3603 + c * (2577 ±0)` + // Minimum execution time: 85_000_000 picoseconds. + Weight::from_parts(74_727_024, 3603) + // Standard Error: 76_360 + .saturating_add(Weight::from_parts(12_445_425, 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, 5122).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2577).saturating_mul(c.into())) } /// Storage: FarmingRewards Stake (r:1 w:0) /// Proof: FarmingRewards Stake (max_values: None, max_size: Some(75), added: 2550, mode: MaxEncodedLen) @@ -155,10 +155,10 @@ impl farming::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn claim () -> Weight { // Proof Size summary in bytes: - // Measured: `956` - // Estimated: `23913` - // Minimum execution time: 153_216_000 picoseconds. - Weight::from_parts(177_650_000, 23913) + // Measured: `1318` + // Estimated: `6170` + // Minimum execution time: 126_974_000 picoseconds. + Weight::from_parts(128_337_000, 6170) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } diff --git a/parachain/runtime/interlay/src/weights/fee.rs b/parachain/runtime/interlay/src/weights/fee.rs index 61c21fbb75..2ecdd22440 100644 --- a/parachain/runtime/interlay/src/weights/fee.rs +++ b/parachain/runtime/interlay/src/weights/fee.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for fee //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -51,7 +51,7 @@ impl fee::WeightInfo for WeightInfo { /// Storage: VaultRewards TotalStake (r:1 w:0) /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards RewardCurrencies (r:1 w:1) - /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) + /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(50), added: 2525, mode: MaxEncodedLen) /// Storage: VaultRewards RewardPerToken (r:2 w:2) /// Proof: VaultRewards RewardPerToken (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultRewards TotalRewards (r:2 w:2) @@ -86,10 +86,10 @@ impl fee::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn withdraw_rewards () -> Weight { // Proof Size summary in bytes: - // Measured: `2602` - // Estimated: `111780` - // Minimum execution time: 725_934_000 picoseconds. - Weight::from_parts(754_520_000, 111780) + // Measured: `2962` + // Estimated: `11350` + // Minimum execution time: 584_140_000 picoseconds. + Weight::from_parts(593_319_000, 11350) .saturating_add(T::DbWeight::get().reads(35_u64)) .saturating_add(T::DbWeight::get().writes(25_u64)) } @@ -99,8 +99,8 @@ impl fee::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_847_000 picoseconds. - Weight::from_parts(11_946_000, 0) + // Minimum execution time: 8_197_000 picoseconds. + Weight::from_parts(8_557_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Fee IssueGriefingCollateral (r:0 w:1) @@ -109,8 +109,8 @@ impl fee::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_919_000 picoseconds. - Weight::from_parts(12_024_000, 0) + // Minimum execution time: 8_416_000 picoseconds. + Weight::from_parts(8_627_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Fee RedeemFee (r:0 w:1) @@ -119,8 +119,8 @@ impl fee::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_758_000 picoseconds. - Weight::from_parts(11_619_000, 0) + // Minimum execution time: 8_397_000 picoseconds. + Weight::from_parts(8_597_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Fee PremiumRedeemFee (r:0 w:1) @@ -129,8 +129,8 @@ impl fee::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_103_000 picoseconds. - Weight::from_parts(11_590_000, 0) + // Minimum execution time: 8_166_000 picoseconds. + Weight::from_parts(8_507_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Fee PunishmentFee (r:0 w:1) @@ -139,8 +139,8 @@ impl fee::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_727_000 picoseconds. - Weight::from_parts(11_291_000, 0) + // Minimum execution time: 8_317_000 picoseconds. + Weight::from_parts(8_537_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Fee ReplaceGriefingCollateral (r:0 w:1) @@ -149,18 +149,21 @@ impl fee::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_007_000 picoseconds. - Weight::from_parts(11_284_000, 0) + // Minimum execution time: 8_227_000 picoseconds. + Weight::from_parts(8_527_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } + /// Storage: Nomination Vaults (r:1 w:0) + /// Proof: Nomination Vaults (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen) /// Storage: Fee Commission (r:0 w:1) /// Proof: Fee Commission (max_values: None, max_size: Some(86), added: 2561, mode: MaxEncodedLen) fn set_commission () -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 13_816_000 picoseconds. - Weight::from_parts(14_511_000, 0) + // Measured: `167` + // Estimated: `3536` + // Minimum execution time: 18_618_000 picoseconds. + Weight::from_parts(18_778_000, 3536) + .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/interlay/src/weights/frame_system.rs b/parachain/runtime/interlay/src/weights/frame_system.rs index 60100f3150..adcc70b9c8 100644 --- a/parachain/runtime/interlay/src/weights/frame_system.rs +++ b/parachain/runtime/interlay/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -45,20 +45,20 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_319_000 picoseconds. - Weight::from_parts(6_568_000, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(664, 0).saturating_mul(b.into())) + // Minimum execution time: 4_790_000 picoseconds. + Weight::from_parts(4_890_000, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(373, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event (b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 19_331_000 picoseconds. - Weight::from_parts(19_762_000, 0) - // Standard Error: 4 - .saturating_add(Weight::from_parts(2_733, 0).saturating_mul(b.into())) + // Minimum execution time: 14_970_000 picoseconds. + Weight::from_parts(15_040_000, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_626, 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) @@ -68,8 +68,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 11_267_000 picoseconds. - Weight::from_parts(12_100_000, 1485) + // Minimum execution time: 8_798_000 picoseconds. + Weight::from_parts(8_948_000, 1485) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -80,10 +80,10 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_884_000 picoseconds. - Weight::from_parts(6_165_000, 0) - // Standard Error: 4_263 - .saturating_add(Weight::from_parts(1_634_009, 0).saturating_mul(i.into())) + // Minimum execution time: 4_579_000 picoseconds. + Weight::from_parts(4_600_000, 0) + // Standard Error: 10_040 + .saturating_add(Weight::from_parts(1_289_257, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -93,10 +93,10 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_302_000 picoseconds. - Weight::from_parts(6_515_000, 0) - // Standard Error: 2_428 - .saturating_add(Weight::from_parts(1_156_128, 0).saturating_mul(i.into())) + // Minimum execution time: 4_680_000 picoseconds. + Weight::from_parts(4_790_000, 0) + // Standard Error: 1_261 + .saturating_add(Weight::from_parts(863_163, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -104,12 +104,12 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 1000]`. fn kill_prefix (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `98 + p * (69 ±0)` - // Estimated: `94 + p * (70 ±0)` - // Minimum execution time: 11_057_000 picoseconds. - Weight::from_parts(11_323_000, 94) - // Standard Error: 6_736 - .saturating_add(Weight::from_parts(2_206_268, 0).saturating_mul(p.into())) + // Measured: `124 + p * (69 ±0)` + // Estimated: `111 + p * (70 ±0)` + // Minimum execution time: 8_637_000 picoseconds. + Weight::from_parts(8_697_000, 111) + // Standard Error: 14_450 + .saturating_add(Weight::from_parts(1_539_477, 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/interlay/src/weights/issue.rs b/parachain/runtime/interlay/src/weights/issue.rs index 87c20c94e2..fa72cf8d1c 100644 --- a/parachain/runtime/interlay/src/weights/issue.rs +++ b/parachain/runtime/interlay/src/weights/issue.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for issue //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -48,8 +48,6 @@ 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) - /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:2 w:0) /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: Fee IssueGriefingCollateral (r:1 w:0) @@ -80,11 +78,11 @@ impl issue::WeightInfo for WeightInfo { /// Proof: Issue IssueRequests (max_values: None, max_size: Some(272), added: 2747, mode: MaxEncodedLen) fn request_issue () -> Weight { // Proof Size summary in bytes: - // Measured: `2448` - // Estimated: `43976` - // Minimum execution time: 793_321_000 picoseconds. - Weight::from_parts(830_560_000, 43976) - .saturating_add(T::DbWeight::get().reads(19_u64)) + // Measured: `2681` + // Estimated: `6028` + // Minimum execution time: 556_004_000 picoseconds. + Weight::from_parts(558_989_000, 6028) + .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: Issue IssueRequests (r:1 w:1) @@ -117,16 +115,16 @@ impl issue::WeightInfo for WeightInfo { /// 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: `2196` - // Estimated: `32731` - // Minimum execution time: 253_839_000 picoseconds. - Weight::from_parts(238_170_932, 32731) - // Standard Error: 162_987 - .saturating_add(Weight::from_parts(6_743_495, 0).saturating_mul(h.into())) - // Standard Error: 146_867 - .saturating_add(Weight::from_parts(713_195, 0).saturating_mul(i.into())) - // Standard Error: 1_053 - .saturating_add(Weight::from_parts(4_907, 0).saturating_mul(b.into())) + // Measured: `2434` + // Estimated: `3737` + // Minimum execution time: 195_191_000 picoseconds. + Weight::from_parts(33_956_966, 3737) + // Standard Error: 810_295 + .saturating_add(Weight::from_parts(10_187_551, 0).saturating_mul(h.into())) + // Standard Error: 730_159 + .saturating_add(Weight::from_parts(7_188_076, 0).saturating_mul(i.into())) + // Standard Error: 5_239 + .saturating_add(Weight::from_parts(34_842, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -150,8 +148,6 @@ impl issue::WeightInfo for WeightInfo { /// 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: Security ParachainStatus (r:1 w:0) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: VaultStaking Nonce (r:1 w:0) @@ -170,19 +166,15 @@ impl issue::WeightInfo for WeightInfo { /// The range of component `i` is `[1, 10]`. /// The range of component `o` is `[1, 10]`. /// The range of component `b` is `[770, 2048]`. - fn execute_issue_overpayment (h: u32, i: u32, _o: u32, b: u32, ) -> Weight { + fn execute_issue_overpayment (h: u32, _i: u32, _o: u32, _b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2981` - // Estimated: `49856` - // Minimum execution time: 394_807_000 picoseconds. - Weight::from_parts(386_179_800, 49856) - // Standard Error: 202_009 - .saturating_add(Weight::from_parts(7_026_149, 0).saturating_mul(h.into())) - // Standard Error: 182_030 - .saturating_add(Weight::from_parts(953_910, 0).saturating_mul(i.into())) - // Standard Error: 1_306 - .saturating_add(Weight::from_parts(6_647, 0).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(18_u64)) + // Measured: `3248` + // Estimated: `3737` + // Minimum execution time: 313_197_000 picoseconds. + Weight::from_parts(676_783_389, 3737) + // Standard Error: 967_719 + .saturating_add(Weight::from_parts(1_294_288, 0).saturating_mul(h.into())) + .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: Issue IssueRequests (r:1 w:1) @@ -215,16 +207,18 @@ impl issue::WeightInfo for WeightInfo { /// The range of component `i` is `[1, 10]`. /// The range of component `o` is `[1, 10]`. /// The range of component `b` is `[770, 2048]`. - fn execute_issue_underpayment (h: u32, _i: u32, _o: u32, b: u32, ) -> Weight { + fn execute_issue_underpayment (h: u32, _i: u32, o: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2449` - // Estimated: `34232` - // Minimum execution time: 304_453_000 picoseconds. - Weight::from_parts(303_918_897, 34232) - // Standard Error: 203_963 - .saturating_add(Weight::from_parts(6_645_260, 0).saturating_mul(h.into())) - // Standard Error: 1_318 - .saturating_add(Weight::from_parts(11_871, 0).saturating_mul(b.into())) + // Measured: `2739` + // Estimated: `3737` + // Minimum execution time: 231_854_000 picoseconds. + Weight::from_parts(253_010_791, 3737) + // Standard Error: 189_488 + .saturating_add(Weight::from_parts(3_800_800, 0).saturating_mul(h.into())) + // Standard Error: 170_748 + .saturating_add(Weight::from_parts(167_716, 0).saturating_mul(o.into())) + // Standard Error: 1_225 + .saturating_add(Weight::from_parts(6_220, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -258,18 +252,18 @@ impl issue::WeightInfo for WeightInfo { /// 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: `3049 + h * (5 ±0)` - // Estimated: `32731` - // Minimum execution time: 313_054_000 picoseconds. - Weight::from_parts(295_805_854, 32731) - // Standard Error: 129_240 - .saturating_add(Weight::from_parts(2_881_946, 0).saturating_mul(h.into())) - // Standard Error: 116_458 - .saturating_add(Weight::from_parts(1_843_101, 0).saturating_mul(i.into())) - // Standard Error: 116_458 - .saturating_add(Weight::from_parts(387_074, 0).saturating_mul(o.into())) - // Standard Error: 835 - .saturating_add(Weight::from_parts(6_697, 0).saturating_mul(b.into())) + // Measured: `3363` + // Estimated: `3737` + // Minimum execution time: 201_924_000 picoseconds. + Weight::from_parts(139_929_561, 3737) + // Standard Error: 194_156 + .saturating_add(Weight::from_parts(3_652_125, 0).saturating_mul(h.into())) + // Standard Error: 174_955 + .saturating_add(Weight::from_parts(1_547_829, 0).saturating_mul(i.into())) + // Standard Error: 174_955 + .saturating_add(Weight::from_parts(1_815_584, 0).saturating_mul(o.into())) + // Standard Error: 1_255 + .saturating_add(Weight::from_parts(16_572, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -293,8 +287,6 @@ impl issue::WeightInfo for WeightInfo { /// 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: Security ParachainStatus (r:1 w:0) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: VaultStaking Nonce (r:1 w:0) @@ -315,19 +307,19 @@ impl issue::WeightInfo for WeightInfo { /// 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: `3880 + i * (9 ±0)` - // Estimated: `49856` - // Minimum execution time: 481_400_000 picoseconds. - Weight::from_parts(476_689_233, 49856) - // Standard Error: 146_120 - .saturating_add(Weight::from_parts(2_172_716, 0).saturating_mul(h.into())) - // Standard Error: 131_669 - .saturating_add(Weight::from_parts(1_635_167, 0).saturating_mul(i.into())) - // Standard Error: 131_669 - .saturating_add(Weight::from_parts(127_055, 0).saturating_mul(o.into())) - // Standard Error: 944 - .saturating_add(Weight::from_parts(8_816, 0).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(18_u64)) + // Measured: `3947 + h * (1 ±0) + i * (1 ±0)` + // Estimated: `3737` + // Minimum execution time: 319_510_000 picoseconds. + Weight::from_parts(297_484_836, 3737) + // Standard Error: 93_915 + .saturating_add(Weight::from_parts(3_775_028, 0).saturating_mul(h.into())) + // Standard Error: 84_627 + .saturating_add(Weight::from_parts(1_330_041, 0).saturating_mul(i.into())) + // Standard Error: 84_627 + .saturating_add(Weight::from_parts(179_165, 0).saturating_mul(o.into())) + // Standard Error: 607 + .saturating_add(Weight::from_parts(2_628, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: Issue IssueRequests (r:1 w:1) @@ -360,20 +352,18 @@ impl issue::WeightInfo for WeightInfo { /// The range of component `i` is `[1, 10]`. /// The range of component `o` is `[1, 10]`. /// The range of component `b` is `[770, 2048]`. - fn execute_expired_issue_underpayment (h: u32, i: u32, o: u32, b: u32, ) -> Weight { + fn execute_expired_issue_underpayment (h: u32, i: u32, _o: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3081 + h * (9 ±0) + i * (9 ±0)` - // Estimated: `34232` - // Minimum execution time: 368_871_000 picoseconds. - Weight::from_parts(356_306_647, 34232) - // Standard Error: 129_172 - .saturating_add(Weight::from_parts(3_241_308, 0).saturating_mul(h.into())) - // Standard Error: 116_397 - .saturating_add(Weight::from_parts(1_683_073, 0).saturating_mul(i.into())) - // Standard Error: 116_397 - .saturating_add(Weight::from_parts(494_875, 0).saturating_mul(o.into())) - // Standard Error: 835 - .saturating_add(Weight::from_parts(1_689, 0).saturating_mul(b.into())) + // Measured: `3653` + // Estimated: `3737` + // Minimum execution time: 241_423_000 picoseconds. + Weight::from_parts(228_353_888, 3737) + // Standard Error: 69_658 + .saturating_add(Weight::from_parts(3_202_457, 0).saturating_mul(h.into())) + // Standard Error: 62_769 + .saturating_add(Weight::from_parts(689_283, 0).saturating_mul(i.into())) + // Standard Error: 450 + .saturating_add(Weight::from_parts(3_239, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -389,10 +379,10 @@ impl issue::WeightInfo for WeightInfo { /// Proof: VaultRegistry Vaults (max_values: None, max_size: Some(260), added: 2735, mode: MaxEncodedLen) fn cancel_issue () -> Weight { // Proof Size summary in bytes: - // Measured: `1496` - // Estimated: `11929` - // Minimum execution time: 163_665_000 picoseconds. - Weight::from_parts(168_254_000, 11929) + // Measured: `1495` + // Estimated: `3737` + // Minimum execution time: 89_729_000 picoseconds. + Weight::from_parts(90_551_000, 3737) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -402,8 +392,8 @@ impl issue::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 22_381_000 picoseconds. - Weight::from_parts(23_208_000, 0) + // Minimum execution time: 17_425_000 picoseconds. + Weight::from_parts(17_906_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/interlay/src/weights/loans.rs b/parachain/runtime/interlay/src/weights/loans.rs index c771e197ee..3ba00f5f52 100644 --- a/parachain/runtime/interlay/src/weights/loans.rs +++ b/parachain/runtime/interlay/src/weights/loans.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for loans //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -53,9 +53,9 @@ impl loans::WeightInfo for WeightInfo { fn add_market () -> Weight { // Proof Size summary in bytes: // Measured: `78` - // Estimated: `11264` - // Minimum execution time: 66_757_000 picoseconds. - Weight::from_parts(68_266_000, 11264) + // Estimated: `6260` + // Minimum execution time: 54_068_000 picoseconds. + Weight::from_parts(54_850_000, 6260) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -65,8 +65,8 @@ impl loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `343` // Estimated: `3625` - // Minimum execution time: 34_647_000 picoseconds. - Weight::from_parts(35_575_000, 3625) + // Minimum execution time: 26_934_000 picoseconds. + Weight::from_parts(27_294_000, 3625) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -76,8 +76,8 @@ impl loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `343` // Estimated: `3625` - // Minimum execution time: 36_279_000 picoseconds. - Weight::from_parts(37_274_000, 3625) + // Minimum execution time: 28_397_000 picoseconds. + Weight::from_parts(28_928_000, 3625) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -87,8 +87,8 @@ impl loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `343` // Estimated: `3625` - // Minimum execution time: 41_125_000 picoseconds. - Weight::from_parts(42_050_000, 3625) + // Minimum execution time: 32_044_000 picoseconds. + Weight::from_parts(32_375_000, 3625) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -99,9 +99,9 @@ impl loans::WeightInfo for WeightInfo { fn force_update_market () -> Weight { // Proof Size summary in bytes: // Measured: `354` - // Estimated: `7128` - // Minimum execution time: 49_595_000 picoseconds. - Weight::from_parts(50_686_000, 7128) + // Estimated: `3625` + // Minimum execution time: 39_699_000 picoseconds. + Weight::from_parts(40_140_000, 3625) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -111,10 +111,10 @@ impl loans::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn add_reward () -> Weight { // Proof Size summary in bytes: - // Measured: `490` - // Estimated: `9763` - // Minimum execution time: 96_884_000 picoseconds. - Weight::from_parts(100_894_000, 9763) + // Measured: `821` + // Estimated: `6170` + // Minimum execution time: 84_590_000 picoseconds. + Weight::from_parts(85_742_000, 6170) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -131,9 +131,9 @@ impl loans::WeightInfo for WeightInfo { fn update_market_reward_speed () -> Weight { // Proof Size summary in bytes: // Measured: `357` - // Estimated: `20300` - // Minimum execution time: 80_096_000 picoseconds. - Weight::from_parts(81_809_000, 20300) + // Estimated: `6260` + // Minimum execution time: 63_608_000 picoseconds. + Weight::from_parts(64_559_000, 6260) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -167,10 +167,10 @@ impl loans::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn claim_reward () -> Weight { // Proof Size summary in bytes: - // Measured: `1808` - // Estimated: `57382` - // Minimum execution time: 258_950_000 picoseconds. - Weight::from_parts(273_492_000, 57382) + // Measured: `2066` + // Estimated: `8760` + // Minimum execution time: 205_252_000 picoseconds. + Weight::from_parts(210_712_000, 8760) .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -204,10 +204,10 @@ impl loans::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn claim_reward_for_market () -> Weight { // Proof Size summary in bytes: - // Measured: `1808` - // Estimated: `54747` - // Minimum execution time: 247_768_000 picoseconds. - Weight::from_parts(258_615_000, 54747) + // Measured: `2066` + // Estimated: `8760` + // Minimum execution time: 195_301_000 picoseconds. + Weight::from_parts(198_498_000, 8760) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -243,10 +243,10 @@ impl loans::WeightInfo for WeightInfo { /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn mint () -> Weight { // Proof Size summary in bytes: - // Measured: `1188` - // Estimated: `56787` - // Minimum execution time: 347_068_000 picoseconds. - Weight::from_parts(381_814_000, 56787) + // Measured: `1481` + // Estimated: `8760` + // Minimum execution time: 281_373_000 picoseconds. + Weight::from_parts(283_498_000, 8760) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -264,8 +264,6 @@ impl loans::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) /// Storage: Loans TotalReserves (r:1 w:0) /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) - /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, 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 AccountDeposits (r:1 w:0) @@ -292,11 +290,11 @@ impl loans::WeightInfo for WeightInfo { /// Proof: Loans BorrowIndex (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) fn borrow () -> Weight { // Proof Size summary in bytes: - // Measured: `1950` - // Estimated: `67773` - // Minimum execution time: 354_021_000 picoseconds. - Weight::from_parts(367_373_000, 67773) - .saturating_add(T::DbWeight::get().reads(22_u64)) + // Measured: `2171` + // Estimated: `6260` + // Minimum execution time: 276_714_000 picoseconds. + Weight::from_parts(278_708_000, 6260) + .saturating_add(T::DbWeight::get().reads(21_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } /// Storage: Loans Markets (r:2 w:0) @@ -333,10 +331,10 @@ impl loans::WeightInfo for WeightInfo { /// Proof: Loans RewardAccrued (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) fn redeem () -> Weight { // Proof Size summary in bytes: - // Measured: `1723` - // Estimated: `58288` - // Minimum execution time: 420_726_000 picoseconds. - Weight::from_parts(434_795_000, 58288) + // Measured: `2016` + // Estimated: `8760` + // Minimum execution time: 343_288_000 picoseconds. + Weight::from_parts(346_344_000, 8760) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -374,10 +372,10 @@ impl loans::WeightInfo for WeightInfo { /// Proof: Loans RewardAccrued (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) fn redeem_all () -> Weight { // Proof Size summary in bytes: - // Measured: `1723` - // Estimated: `58288` - // Minimum execution time: 431_168_000 picoseconds. - Weight::from_parts(466_340_000, 58288) + // Measured: `2016` + // Estimated: `8760` + // Minimum execution time: 344_951_000 picoseconds. + Weight::from_parts(348_397_000, 8760) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -405,10 +403,10 @@ impl loans::WeightInfo for WeightInfo { /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) fn repay_borrow () -> Weight { // Proof Size summary in bytes: - // Measured: `1620` - // Estimated: `42116` - // Minimum execution time: 221_063_000 picoseconds. - Weight::from_parts(229_097_000, 42116) + // Measured: `1875` + // Estimated: `6260` + // Minimum execution time: 172_034_000 picoseconds. + Weight::from_parts(173_187_000, 6260) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -436,10 +434,10 @@ impl loans::WeightInfo for WeightInfo { /// 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: `1620` - // Estimated: `42116` - // Minimum execution time: 244_411_000 picoseconds. - Weight::from_parts(257_837_000, 42116) + // Measured: `1875` + // Estimated: `6260` + // Minimum execution time: 192_575_000 picoseconds. + Weight::from_parts(194_841_000, 6260) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -453,10 +451,10 @@ impl loans::WeightInfo for WeightInfo { /// 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: `967` - // Estimated: `16899` - // Minimum execution time: 123_309_000 picoseconds. - Weight::from_parts(131_712_000, 16899) + // Measured: `1184` + // Estimated: `6260` + // Minimum execution time: 96_493_000 picoseconds. + Weight::from_parts(96_834_000, 6260) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -484,19 +482,17 @@ impl loans::WeightInfo for WeightInfo { /// 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: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, 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 AccountBorrows (r:1 w:0) /// 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: `1880` - // Estimated: `50160` - // Minimum execution time: 311_263_000 picoseconds. - Weight::from_parts(318_834_000, 50160) - .saturating_add(T::DbWeight::get().reads(17_u64)) + // Measured: `2101` + // Estimated: `6260` + // Minimum execution time: 238_287_000 picoseconds. + Weight::from_parts(239_900_000, 6260) + .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: Timestamp Now (r:1 w:0) @@ -523,8 +519,6 @@ impl loans::WeightInfo for WeightInfo { /// 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: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:2 w:0) /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: Loans AccountBorrows (r:3 w:1) @@ -547,11 +541,11 @@ impl loans::WeightInfo for WeightInfo { /// Proof: Loans RewardSupplierIndex (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn liquidate_borrow () -> Weight { // Proof Size summary in bytes: - // Measured: `3353` - // Estimated: `129772` - // Minimum execution time: 1_267_658_000 picoseconds. - Weight::from_parts(1_330_004_000, 129772) - .saturating_add(T::DbWeight::get().reads(45_u64)) + // Measured: `3615` + // Estimated: `16530` + // Minimum execution time: 821_475_000 picoseconds. + Weight::from_parts(827_197_000, 16530) + .saturating_add(T::DbWeight::get().reads(44_u64)) .saturating_add(T::DbWeight::get().writes(21_u64)) } /// Storage: Loans Markets (r:2 w:0) @@ -588,10 +582,10 @@ impl loans::WeightInfo for WeightInfo { /// 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: `2653` - // Estimated: `63481` - // Minimum execution time: 582_859_000 picoseconds. - Weight::from_parts(615_249_000, 63481) + // Measured: `2949` + // Estimated: `11350` + // Minimum execution time: 439_370_000 picoseconds. + Weight::from_parts(443_348_000, 11350) .saturating_add(T::DbWeight::get().reads(21_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -609,10 +603,10 @@ impl loans::WeightInfo for WeightInfo { /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) fn add_reserves () -> Weight { // Proof Size summary in bytes: - // Measured: `1012` - // Estimated: `24524` - // Minimum execution time: 161_331_000 picoseconds. - Weight::from_parts(167_585_000, 24524) + // Measured: `1305` + // Estimated: `6260` + // Minimum execution time: 123_618_000 picoseconds. + Weight::from_parts(124_138_000, 6260) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -630,10 +624,10 @@ impl loans::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn reduce_reserves () -> Weight { // Proof Size summary in bytes: - // Measured: `1243` - // Estimated: `24524` - // Minimum execution time: 140_149_000 picoseconds. - Weight::from_parts(153_718_000, 24524) + // Measured: `1536` + // Estimated: `6260` + // Minimum execution time: 107_896_000 picoseconds. + Weight::from_parts(109_179_000, 6260) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } diff --git a/parachain/runtime/interlay/src/weights/nomination.rs b/parachain/runtime/interlay/src/weights/nomination.rs index 3064a03294..243cd4d2d4 100644 --- a/parachain/runtime/interlay/src/weights/nomination.rs +++ b/parachain/runtime/interlay/src/weights/nomination.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for nomination //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -46,25 +46,20 @@ impl nomination::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_384_000 picoseconds. - Weight::from_parts(11_473_000, 0) + // Minimum execution time: 8_456_000 picoseconds. + Weight::from_parts(8_577_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Security ParachainStatus (r:1 w:0) - /// 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 { // Proof Size summary in bytes: - // Measured: `126` - // Estimated: `1486` - // Minimum execution time: 28_221_000 picoseconds. - Weight::from_parts(30_402_000, 1486) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 12_274_000 picoseconds. + Weight::from_parts(12_395_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Security ParachainStatus (r:1 w:0) - /// 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) @@ -73,15 +68,13 @@ impl nomination::WeightInfo for WeightInfo { /// Proof: Nomination Vaults (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen) fn opt_in_to_nomination () -> Weight { // Proof Size summary in bytes: - // Measured: `767` - // Estimated: `10233` - // Minimum execution time: 74_126_000 picoseconds. - Weight::from_parts(81_868_000, 10233) - .saturating_add(T::DbWeight::get().reads(4_u64)) + // Measured: `642` + // Estimated: `3725` + // Minimum execution time: 43_357_000 picoseconds. + Weight::from_parts(44_048_000, 3725) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Security ParachainStatus (r:1 w:0) - /// 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) @@ -154,15 +147,13 @@ impl nomination::WeightInfo for WeightInfo { /// Proof: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) fn opt_out_of_nomination () -> Weight { // Proof Size summary in bytes: - // Measured: `4277` - // Estimated: `166107` - // Minimum execution time: 898_769_000 picoseconds. - Weight::from_parts(950_797_000, 166107) - .saturating_add(T::DbWeight::get().reads(54_u64)) + // Measured: `4500` + // Estimated: `11486` + // Minimum execution time: 707_246_000 picoseconds. + Weight::from_parts(712_346_000, 11486) + .saturating_add(T::DbWeight::get().reads(53_u64)) .saturating_add(T::DbWeight::get().writes(26_u64)) } - /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, 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) @@ -205,18 +196,24 @@ impl nomination::WeightInfo for WeightInfo { /// Proof: VaultCapacity RewardTally (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultCapacity TotalRewards (r:2 w:2) /// Proof: VaultCapacity TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: VaultRewards TotalStake (r:1 w:1) + /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: VaultRewards RewardCurrencies (r:1 w:1) + /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(50), added: 2525, mode: MaxEncodedLen) + /// Storage: VaultRewards RewardPerToken (r:2 w:2) + /// Proof: VaultRewards RewardPerToken (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) + /// Storage: VaultRewards TotalRewards (r:2 w:2) + /// Proof: VaultRewards TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards Stake (r:1 w:1) /// Proof: VaultRewards Stake (max_values: None, max_size: Some(97), added: 2572, mode: MaxEncodedLen) - /// Storage: VaultRewards RewardPerToken (r:2 w:0) - /// Proof: VaultRewards RewardPerToken (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultRewards RewardTally (r:2 w:2) /// Proof: VaultRewards RewardTally (max_values: None, max_size: Some(124), added: 2599, mode: MaxEncodedLen) - /// Storage: VaultRewards TotalRewards (r:2 w:2) - /// Proof: VaultRewards TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Fee Commission (r:1 w:0) /// Proof: Fee Commission (max_values: None, max_size: Some(86), added: 2561, mode: MaxEncodedLen) /// Storage: VaultStaking RewardPerToken (r:2 w:2) /// Proof: VaultStaking RewardPerToken (max_values: None, max_size: Some(117), added: 2592, mode: MaxEncodedLen) + /// Storage: VaultStaking TotalRewards (r:2 w:2) + /// Proof: VaultStaking TotalRewards (max_values: None, max_size: Some(117), added: 2592, mode: MaxEncodedLen) /// Storage: VaultStaking TotalStake (r:1 w:1) /// Proof: VaultStaking TotalStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking RewardTally (r:2 w:2) @@ -225,10 +222,6 @@ impl nomination::WeightInfo for WeightInfo { /// 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: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) - /// Storage: VaultRewards RewardCurrencies (r:1 w:0) - /// 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) @@ -248,22 +241,20 @@ impl nomination::WeightInfo for WeightInfo { /// 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) + /// Proof: VaultCapacity RewardCurrencies (max_values: None, max_size: Some(39), added: 2514, 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 { // Proof Size summary in bytes: - // Measured: `5135` - // Estimated: `194221` - // Minimum execution time: 909_947_000 picoseconds. - Weight::from_parts(951_635_000, 194221) - .saturating_add(T::DbWeight::get().reads(62_u64)) - .saturating_add(T::DbWeight::get().writes(29_u64)) + // Measured: `5681` + // Estimated: `8760` + // Minimum execution time: 846_906_000 picoseconds. + Weight::from_parts(868_049_000, 8760) + .saturating_add(T::DbWeight::get().reads(63_u64)) + .saturating_add(T::DbWeight::get().writes(34_u64)) } - /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: VaultStaking Nonce (r:1 w:0) /// Proof: VaultStaking Nonce (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen) /// Storage: VaultRegistry Vaults (r:1 w:0) @@ -302,8 +293,6 @@ impl nomination::WeightInfo for WeightInfo { /// 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: 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: VaultCapacity Stake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardPerToken (r:2 w:0) @@ -312,18 +301,24 @@ impl nomination::WeightInfo for WeightInfo { /// Proof: VaultCapacity RewardTally (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultCapacity TotalRewards (r:2 w:2) /// Proof: VaultCapacity TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: VaultRewards TotalStake (r:1 w:1) + /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: VaultRewards RewardCurrencies (r:1 w:1) + /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(50), added: 2525, mode: MaxEncodedLen) + /// Storage: VaultRewards RewardPerToken (r:2 w:2) + /// Proof: VaultRewards RewardPerToken (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) + /// Storage: VaultRewards TotalRewards (r:2 w:2) + /// Proof: VaultRewards TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards Stake (r:1 w:1) /// Proof: VaultRewards Stake (max_values: None, max_size: Some(97), added: 2572, mode: MaxEncodedLen) - /// Storage: VaultRewards RewardPerToken (r:2 w:0) - /// Proof: VaultRewards RewardPerToken (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultRewards RewardTally (r:2 w:2) /// Proof: VaultRewards RewardTally (max_values: None, max_size: Some(124), added: 2599, mode: MaxEncodedLen) - /// Storage: VaultRewards TotalRewards (r:2 w:2) - /// Proof: VaultRewards TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Fee Commission (r:1 w:0) /// Proof: Fee Commission (max_values: None, max_size: Some(86), added: 2561, mode: MaxEncodedLen) /// Storage: VaultStaking RewardPerToken (r:2 w:2) /// Proof: VaultStaking RewardPerToken (max_values: None, max_size: Some(117), added: 2592, mode: MaxEncodedLen) + /// Storage: VaultStaking TotalRewards (r:2 w:2) + /// Proof: VaultStaking TotalRewards (max_values: None, max_size: Some(117), added: 2592, mode: MaxEncodedLen) /// Storage: VaultStaking Stake (r:1 w:1) /// Proof: VaultStaking Stake (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) /// Storage: VaultStaking SlashPerToken (r:1 w:0) @@ -334,14 +329,10 @@ impl nomination::WeightInfo for WeightInfo { /// Proof: VaultStaking TotalStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking RewardTally (r:2 w:2) /// Proof: VaultStaking RewardTally (max_values: None, max_size: Some(149), added: 2624, mode: MaxEncodedLen) - /// Storage: VaultRewards TotalStake (r:1 w:1) - /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) - /// Storage: VaultRewards RewardCurrencies (r:1 w:0) - /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(138), added: 2613, 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) + /// Proof: VaultCapacity RewardCurrencies (max_values: None, max_size: Some(39), added: 2514, 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) @@ -352,13 +343,15 @@ impl nomination::WeightInfo for WeightInfo { /// 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 TotalUserVaultCollateral (r:1 w:1) + /// Proof: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) fn withdraw_collateral () -> Weight { // Proof Size summary in bytes: - // Measured: `5472` - // Estimated: `185433` - // Minimum execution time: 990_914_000 picoseconds. - Weight::from_parts(1_034_102_000, 185433) - .saturating_add(T::DbWeight::get().reads(59_u64)) - .saturating_add(T::DbWeight::get().writes(29_u64)) + // Measured: `6006` + // Estimated: `8760` + // Minimum execution time: 892_548_000 picoseconds. + Weight::from_parts(901_395_000, 8760) + .saturating_add(T::DbWeight::get().reads(60_u64)) + .saturating_add(T::DbWeight::get().writes(34_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/interlay/src/weights/oracle.rs b/parachain/runtime/interlay/src/weights/oracle.rs index 8c0cdafa65..ad7c77eaaf 100644 --- a/parachain/runtime/interlay/src/weights/oracle.rs +++ b/parachain/runtime/interlay/src/weights/oracle.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for oracle //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -50,10 +50,10 @@ impl oracle::WeightInfo for WeightInfo { /// Proof: Oracle MaxDelay (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: VaultRewards TotalStake (r:999 w:0) /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) - /// Storage: Security ParachainStatus (r:1 w:1) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: Security Errors (r:1 w:1) - /// Proof: Security Errors (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) + /// Storage: VaultCapacity Stake (r:999 w:0) + /// Proof: VaultCapacity Stake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans Markets (r:999 w:0) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:0 w:999) /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: Oracle ValidUntil (r:0 w:999) @@ -61,17 +61,16 @@ impl oracle::WeightInfo for WeightInfo { /// The range of component `u` is `[1, 1000]`. fn on_initialize (u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `687 + u * (127 ±0)` - // Estimated: `11433 + u * (10172 ±0)` - // Minimum execution time: 124_620_000 picoseconds. - Weight::from_parts(126_432_000, 11433) - // Standard Error: 52_310 - .saturating_add(Weight::from_parts(50_637_249, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(u.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `678 + u * (127 ±0)` + // Estimated: `3494 + u * (5150 ±0)` + // Minimum execution time: 82_555_000 picoseconds. + Weight::from_parts(82_936_000, 3494) + // Standard Error: 44_981 + .saturating_add(Weight::from_parts(45_674_981, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(u.into()))) - .saturating_add(Weight::from_parts(0, 10172).saturating_mul(u.into())) + .saturating_add(Weight::from_parts(0, 5150).saturating_mul(u.into())) } /// Storage: Oracle AuthorizedOracles (r:1 w:0) /// Proof: Oracle AuthorizedOracles (max_values: None, max_size: Some(305), added: 2780, mode: MaxEncodedLen) @@ -85,11 +84,11 @@ impl oracle::WeightInfo for WeightInfo { fn feed_values (u: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `295` - // Estimated: `5263` - // Minimum execution time: 49_622_000 picoseconds. - Weight::from_parts(50_155_000, 5263) - // Standard Error: 18_635 - .saturating_add(Weight::from_parts(9_962_469, 0).saturating_mul(u.into())) + // Estimated: `3770` + // Minimum execution time: 37_184_000 picoseconds. + Weight::from_parts(37_425_000, 3770) + // Standard Error: 35_377 + .saturating_add(Weight::from_parts(8_220_553, 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()))) } @@ -99,8 +98,8 @@ impl oracle::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 29_623_000 picoseconds. - Weight::from_parts(30_869_000, 0) + // Minimum execution time: 22_265_000 picoseconds. + Weight::from_parts(22_555_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Oracle AuthorizedOracles (r:0 w:1) @@ -109,8 +108,8 @@ impl oracle::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 26_992_000 picoseconds. - Weight::from_parts(28_076_000, 0) + // Minimum execution time: 20_180_000 picoseconds. + Weight::from_parts(20_461_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/interlay/src/weights/orml_asset_registry.rs b/parachain/runtime/interlay/src/weights/orml_asset_registry.rs index 705e433064..a6e1b47a4a 100644 --- a/parachain/runtime/interlay/src/weights/orml_asset_registry.rs +++ b/parachain/runtime/interlay/src/weights/orml_asset_registry.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for orml_asset_registry //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -49,9 +49,9 @@ impl orml_asset_registry::WeightInfo for WeightInfo fn register_asset () -> Weight { // Proof Size summary in bytes: // Measured: `107` - // Estimated: `8736` - // Minimum execution time: 55_685_000 picoseconds. - Weight::from_parts(63_994_000, 8736) + // Estimated: `3572` + // Minimum execution time: 41_974_000 picoseconds. + Weight::from_parts(43_196_000, 3572) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -62,9 +62,9 @@ impl orml_asset_registry::WeightInfo for WeightInfo fn update_asset () -> Weight { // Proof Size summary in bytes: // Measured: `774` - // Estimated: `8478` - // Minimum execution time: 67_201_000 picoseconds. - Weight::from_parts(75_234_000, 8478) + // Estimated: `4239` + // Minimum execution time: 51_463_000 picoseconds. + Weight::from_parts(52_084_000, 4239) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -72,7 +72,7 @@ impl orml_asset_registry::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 524_000 picoseconds. - Weight::from_parts(579_000, 0) + // Minimum execution time: 421_000 picoseconds. + Weight::from_parts(471_000, 0) } } \ No newline at end of file diff --git a/parachain/runtime/interlay/src/weights/orml_tokens.rs b/parachain/runtime/interlay/src/weights/orml_tokens.rs index 3149b215ad..ec757ac9ac 100644 --- a/parachain/runtime/interlay/src/weights/orml_tokens.rs +++ b/parachain/runtime/interlay/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -60,10 +60,10 @@ impl orml_tokens::WeightInfo for WeightInfo { /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn transfer () -> Weight { // Proof Size summary in bytes: - // Measured: `1517` - // Estimated: `42199` - // Minimum execution time: 260_329_000 picoseconds. - Weight::from_parts(271_947_000, 42199) + // Measured: `1743` + // Estimated: `6260` + // Minimum execution time: 209_179_000 picoseconds. + Weight::from_parts(211_704_000, 6260) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -87,10 +87,10 @@ impl orml_tokens::WeightInfo for WeightInfo { /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn transfer_all () -> Weight { // Proof Size summary in bytes: - // Measured: `1517` - // Estimated: `42199` - // Minimum execution time: 269_158_000 picoseconds. - Weight::from_parts(281_645_000, 42199) + // Measured: `1743` + // Estimated: `6260` + // Minimum execution time: 215_902_000 picoseconds. + Weight::from_parts(219_470_000, 6260) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -114,10 +114,10 @@ impl orml_tokens::WeightInfo for WeightInfo { /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn transfer_keep_alive () -> Weight { // Proof Size summary in bytes: - // Measured: `1517` - // Estimated: `42199` - // Minimum execution time: 260_565_000 picoseconds. - Weight::from_parts(266_397_000, 42199) + // Measured: `1743` + // Estimated: `6260` + // Minimum execution time: 205_602_000 picoseconds. + Weight::from_parts(207_255_000, 6260) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -141,10 +141,10 @@ impl orml_tokens::WeightInfo for WeightInfo { /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn force_transfer () -> Weight { // Proof Size summary in bytes: - // Measured: `1517` - // Estimated: `42199` - // Minimum execution time: 259_001_000 picoseconds. - Weight::from_parts(271_563_000, 42199) + // Measured: `1743` + // Estimated: `6260` + // Minimum execution time: 209_379_000 picoseconds. + Weight::from_parts(211_293_000, 6260) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -154,10 +154,10 @@ impl orml_tokens::WeightInfo for WeightInfo { /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) fn set_balance () -> Weight { // Proof Size summary in bytes: - // Measured: `218` - // Estimated: `7080` - // Minimum execution time: 64_408_000 picoseconds. - Weight::from_parts(66_426_000, 7080) + // Measured: `435` + // Estimated: `3580` + // Minimum execution time: 52_415_000 picoseconds. + Weight::from_parts(53_918_000, 3580) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } diff --git a/parachain/runtime/interlay/src/weights/orml_vesting.rs b/parachain/runtime/interlay/src/weights/orml_vesting.rs index dfcac10454..1b87121998 100644 --- a/parachain/runtime/interlay/src/weights/orml_vesting.rs +++ b/parachain/runtime/interlay/src/weights/orml_vesting.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for orml_vesting //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --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: `315 + n * (306 ±0)` - // Estimated: `15448` - // Minimum execution time: 84_833_000 picoseconds. - Weight::from_parts(97_565_028, 15448) + // Measured: `771 + n * (109 ±0)` + // Estimated: `4733` + // Minimum execution time: 68_828_000 picoseconds. + Weight::from_parts(86_162_085, 4733) .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: `395` - // Estimated: `18038` - // Minimum execution time: 153_089_000 picoseconds. - Weight::from_parts(156_347_000, 18038) + // Measured: `851` + // Estimated: `6170` + // Minimum execution time: 132_135_000 picoseconds. + Weight::from_parts(134_780_000, 6170) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -86,10 +86,10 @@ impl orml_vesting::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 1]`. fn update_vesting_schedules (_n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `560` - // Estimated: `11906` - // Minimum execution time: 85_329_000 picoseconds. - Weight::from_parts(91_242_552, 11906) + // Measured: `894` + // Estimated: `4733` + // Minimum execution time: 71_683_000 picoseconds. + Weight::from_parts(76_991_012, 4733) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } diff --git a/parachain/runtime/interlay/src/weights/pallet_collective.rs b/parachain/runtime/interlay/src/weights/pallet_collective.rs index 84624bfe20..160694ec8b 100644 --- a/parachain/runtime/interlay/src/weights/pallet_collective.rs +++ b/parachain/runtime/interlay/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -54,34 +54,32 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members (m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` - // Estimated: `19032 + m * (7796 ±30) + p * (10110 ±30)` - // Minimum execution time: 36_859_000 picoseconds. - Weight::from_parts(36_989_000, 19032) - // Standard Error: 168_481 - .saturating_add(Weight::from_parts(9_907_408, 0).saturating_mul(m.into())) - // Standard Error: 168_481 - .saturating_add(Weight::from_parts(17_366_102, 0).saturating_mul(p.into())) + // Estimated: `15762 + m * (1966 ±32) + p * (4332 ±32)` + // Minimum execution time: 27_395_000 picoseconds. + Weight::from_parts(27_776_000, 15762) + // Standard Error: 105_500 + .saturating_add(Weight::from_parts(6_123_319, 0).saturating_mul(m.into())) + // Standard Error: 105_500 + .saturating_add(Weight::from_parts(11_424_791, 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, 7796).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 10110).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1966).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 4332).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: `103 + m * (32 ±0)` // Estimated: `1589 + m * (32 ±0)` - // Minimum execution time: 38_525_000 picoseconds. - Weight::from_parts(41_645_958, 1589) - // Standard Error: 537 - .saturating_add(Weight::from_parts(438, 0).saturating_mul(b.into())) - // Standard Error: 5_540 - .saturating_add(Weight::from_parts(22_385, 0).saturating_mul(m.into())) + // Minimum execution time: 29_499_000 picoseconds. + Weight::from_parts(31_124_039, 1589) + // Standard Error: 7_234 + .saturating_add(Weight::from_parts(32_755, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -94,15 +92,15 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_execute (b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `103 + m * (32 ±0)` - // Estimated: `5158 + m * (64 ±0)` - // Minimum execution time: 44_202_000 picoseconds. - Weight::from_parts(47_233_769, 5158) - // Standard Error: 620 - .saturating_add(Weight::from_parts(1_996, 0).saturating_mul(b.into())) - // Standard Error: 6_397 - .saturating_add(Weight::from_parts(30_056, 0).saturating_mul(m.into())) + // Estimated: `3569 + m * (32 ±0)` + // Minimum execution time: 34_780_000 picoseconds. + Weight::from_parts(35_374_452, 3569) + // Standard Error: 371 + .saturating_add(Weight::from_parts(1_346, 0).saturating_mul(b.into())) + // Standard Error: 3_829 + .saturating_add(Weight::from_parts(16_196, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -120,19 +118,19 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_proposed (b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `393 + m * (32 ±0) + p * (36 ±0)` - // Estimated: `9510 + m * (165 ±0) + p * (180 ±0)` - // Minimum execution time: 59_352_000 picoseconds. - Weight::from_parts(49_658_095, 9510) - // Standard Error: 1_215 - .saturating_add(Weight::from_parts(15_112, 0).saturating_mul(b.into())) - // Standard Error: 12_680 - .saturating_add(Weight::from_parts(74_712, 0).saturating_mul(m.into())) - // Standard Error: 12_520 - .saturating_add(Weight::from_parts(670_544, 0).saturating_mul(p.into())) + // Estimated: `3783 + m * (33 ±0) + p * (36 ±0)` + // Minimum execution time: 46_323_000 picoseconds. + Weight::from_parts(46_756_551, 3783) + // Standard Error: 751 + .saturating_add(Weight::from_parts(4_944, 0).saturating_mul(b.into())) + // Standard Error: 7_841 + .saturating_add(Weight::from_parts(33_290, 0).saturating_mul(m.into())) + // Standard Error: 7_741 + .saturating_add(Weight::from_parts(272_416, 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, 33).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -142,14 +140,14 @@ impl pallet_collective::WeightInfo for WeightInfo { fn vote (m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `842 + m * (64 ±0)` - // Estimated: `6632 + m * (128 ±0)` - // Minimum execution time: 68_104_000 picoseconds. - Weight::from_parts(79_068_930, 6632) - // Standard Error: 13_671 - .saturating_add(Weight::from_parts(130_890, 0).saturating_mul(m.into())) + // Estimated: `4306 + m * (64 ±0)` + // Minimum execution time: 38_868_000 picoseconds. + Weight::from_parts(40_129_312, 4306) + // Standard Error: 6_629 + .saturating_add(Weight::from_parts(57_672, 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())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -164,17 +162,17 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_disapproved (m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `431 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `8075 + m * (260 ±0) + p * (144 ±0)` - // Minimum execution time: 67_651_000 picoseconds. - Weight::from_parts(71_894_266, 8075) - // Standard Error: 13_167 - .saturating_add(Weight::from_parts(114_193, 0).saturating_mul(m.into())) - // Standard Error: 12_840 - .saturating_add(Weight::from_parts(535_191, 0).saturating_mul(p.into())) + // Estimated: `3875 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 48_788_000 picoseconds. + Weight::from_parts(54_221_664, 3875) + // Standard Error: 10_679 + .saturating_add(Weight::from_parts(1_275, 0).saturating_mul(m.into())) + // Standard Error: 10_413 + .saturating_add(Weight::from_parts(293_929, 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())) - .saturating_add(Weight::from_parts(0, 144).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -190,20 +188,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_approved (b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `733 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `12228 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)` - // Minimum execution time: 96_526_000 picoseconds. - Weight::from_parts(113_889_832, 12228) - // Standard Error: 1_535 - .saturating_add(Weight::from_parts(2_870, 0).saturating_mul(b.into())) - // Standard Error: 16_227 - .saturating_add(Weight::from_parts(67_319, 0).saturating_mul(m.into())) - // Standard Error: 15_817 - .saturating_add(Weight::from_parts(702_142, 0).saturating_mul(p.into())) + // Estimated: `4047 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 75_401_000 picoseconds. + Weight::from_parts(81_011_199, 4047) + // Standard Error: 923 + .saturating_add(Weight::from_parts(1_644, 0).saturating_mul(b.into())) + // Standard Error: 9_759 + .saturating_add(Weight::from_parts(14_124, 0).saturating_mul(m.into())) + // Standard Error: 9_513 + .saturating_add(Weight::from_parts(254_678, 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, 160).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -220,17 +218,17 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_disapproved (m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `451 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `10070 + m * (325 ±0) + p * (180 ±0)` - // Minimum execution time: 72_430_000 picoseconds. - Weight::from_parts(79_406_354, 10070) - // Standard Error: 14_749 - .saturating_add(Weight::from_parts(91_178, 0).saturating_mul(m.into())) - // Standard Error: 14_381 - .saturating_add(Weight::from_parts(616_228, 0).saturating_mul(p.into())) + // Estimated: `3895 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 53_828_000 picoseconds. + Weight::from_parts(56_074_022, 3895) + // Standard Error: 9_851 + .saturating_add(Weight::from_parts(55_652, 0).saturating_mul(m.into())) + // Standard Error: 9_606 + .saturating_add(Weight::from_parts(276_244, 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())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -248,20 +246,18 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_approved (b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `753 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `14395 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)` - // Minimum execution time: 107_317_000 picoseconds. - Weight::from_parts(136_262_210, 14395) - // Standard Error: 1_997 - .saturating_add(Weight::from_parts(6_154, 0).saturating_mul(b.into())) - // Standard Error: 21_113 - .saturating_add(Weight::from_parts(36_533, 0).saturating_mul(m.into())) - // Standard Error: 20_580 - .saturating_add(Weight::from_parts(533_990, 0).saturating_mul(p.into())) + // Estimated: `4067 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 78_407_000 picoseconds. + Weight::from_parts(83_047_577, 4067) + // Standard Error: 976 + .saturating_add(Weight::from_parts(3_047, 0).saturating_mul(b.into())) + // Standard Error: 10_058 + .saturating_add(Weight::from_parts(299_268, 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, 200).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Proposals (r:1 w:1) /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) @@ -273,13 +269,13 @@ impl pallet_collective::WeightInfo for WeightInfo { fn disapprove_proposal (p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `260 + p * (32 ±0)` - // Estimated: `2265 + p * (96 ±0)` - // Minimum execution time: 37_249_000 picoseconds. - Weight::from_parts(45_749_178, 2265) - // Standard Error: 11_887 - .saturating_add(Weight::from_parts(562_550, 0).saturating_mul(p.into())) + // Estimated: `1745 + p * (32 ±0)` + // Minimum execution time: 28_797_000 picoseconds. + Weight::from_parts(34_789_821, 1745) + // Standard Error: 8_315 + .saturating_add(Weight::from_parts(211_487, 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())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } \ No newline at end of file diff --git a/parachain/runtime/interlay/src/weights/pallet_identity.rs b/parachain/runtime/interlay/src/weights/pallet_identity.rs index f179921e03..c7c5c51713 100644 --- a/parachain/runtime/interlay/src/weights/pallet_identity.rs +++ b/parachain/runtime/interlay/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -45,12 +45,12 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn add_registrar (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `31 + r * (57 ±0)` + // Measured: `32 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 28_285_000 picoseconds. - Weight::from_parts(31_134_871, 2626) - // Standard Error: 41_361 - .saturating_add(Weight::from_parts(640_975, 0).saturating_mul(r.into())) + // Minimum execution time: 22_445_000 picoseconds. + Weight::from_parts(23_756_709, 2626) + // Standard Error: 5_721 + .saturating_add(Weight::from_parts(167_489, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -62,14 +62,14 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn set_identity (r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `797 + r * (17 ±0)` - // Estimated: `14583` - // Minimum execution time: 92_086_000 picoseconds. - Weight::from_parts(91_339_533, 14583) - // Standard Error: 68_507 - .saturating_add(Weight::from_parts(1_011_797, 0).saturating_mul(r.into())) - // Standard Error: 13_030 - .saturating_add(Weight::from_parts(1_255_225, 0).saturating_mul(x.into())) + // Measured: `1017 + r * (12 ±0)` + // Estimated: `11003` + // Minimum execution time: 63_999_000 picoseconds. + Weight::from_parts(65_678_164, 11003) + // Standard Error: 61_681 + .saturating_add(Weight::from_parts(349_590, 0).saturating_mul(r.into())) + // Standard Error: 11_731 + .saturating_add(Weight::from_parts(1_083_072, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -84,12 +84,12 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn set_subs_new (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `419` - // Estimated: `22296 + s * (2589 ±0)` - // Minimum execution time: 22_836_000 picoseconds. - Weight::from_parts(64_900_054, 22296) - // Standard Error: 38_498 - .saturating_add(Weight::from_parts(7_425_143, 0).saturating_mul(s.into())) + // Measured: `637` + // Estimated: `11003 + s * (2589 ±0)` + // Minimum execution time: 17_796_000 picoseconds. + Weight::from_parts(47_903_223, 11003) + // Standard Error: 120_498 + .saturating_add(Weight::from_parts(6_559_882, 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)) @@ -107,12 +107,12 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_subs_old (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `512 + p * (32 ±0)` - // Estimated: `21306` - // Minimum execution time: 23_183_000 picoseconds. - Weight::from_parts(62_590_870, 21306) - // Standard Error: 21_122 - .saturating_add(Weight::from_parts(2_998_615, 0).saturating_mul(p.into())) + // Measured: `730 + p * (32 ±0)` + // Estimated: `11003` + // Minimum execution time: 17_565_000 picoseconds. + Weight::from_parts(50_889_102, 11003) + // Standard Error: 41_676 + .saturating_add(Weight::from_parts(2_418_743, 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()))) @@ -130,16 +130,16 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn clear_identity (r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `825 + r * (17 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `21306` - // Minimum execution time: 156_806_000 picoseconds. - Weight::from_parts(59_701_362, 21306) - // Standard Error: 107_650 - .saturating_add(Weight::from_parts(1_832_632, 0).saturating_mul(r.into())) - // Standard Error: 20_341 - .saturating_add(Weight::from_parts(2_968_437, 0).saturating_mul(s.into())) - // Standard Error: 20_341 - .saturating_add(Weight::from_parts(800_329, 0).saturating_mul(x.into())) + // Measured: `1049 + r * (12 ±0) + s * (32 ±0) + x * (66 ±0)` + // Estimated: `11003` + // Minimum execution time: 109_400_000 picoseconds. + Weight::from_parts(86_902_105, 11003) + // Standard Error: 176_683 + .saturating_add(Weight::from_parts(42_180, 0).saturating_mul(r.into())) + // Standard Error: 33_386 + .saturating_add(Weight::from_parts(2_389_801, 0).saturating_mul(s.into())) + // Standard Error: 33_386 + .saturating_add(Weight::from_parts(281_531, 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()))) @@ -154,14 +154,14 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn request_judgement (r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `721 + r * (69 ±0) + x * (66 ±0)` - // Estimated: `17209` - // Minimum execution time: 97_943_000 picoseconds. - Weight::from_parts(97_563_444, 17209) - // Standard Error: 68_848 - .saturating_add(Weight::from_parts(692_460, 0).saturating_mul(r.into())) - // Standard Error: 13_095 - .saturating_add(Weight::from_parts(1_241_864, 0).saturating_mul(x.into())) + // Measured: `942 + r * (64 ±0) + x * (66 ±0)` + // Estimated: `11003` + // Minimum execution time: 72_045_000 picoseconds. + Weight::from_parts(61_074_609, 11003) + // Standard Error: 116_663 + .saturating_add(Weight::from_parts(571_285, 0).saturating_mul(r.into())) + // Standard Error: 22_189 + .saturating_add(Weight::from_parts(1_140_967, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -173,14 +173,14 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn cancel_request (r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `753 + r * (12 ±0) + x * (66 ±0)` - // Estimated: `14583` - // Minimum execution time: 83_591_000 picoseconds. - Weight::from_parts(75_600_315, 14583) - // Standard Error: 61_196 - .saturating_add(Weight::from_parts(762_700, 0).saturating_mul(r.into())) - // Standard Error: 11_639 - .saturating_add(Weight::from_parts(1_301_192, 0).saturating_mul(x.into())) + // Measured: `973 + r * (7 ±0) + x * (66 ±0)` + // Estimated: `11003` + // Minimum execution time: 62_395_000 picoseconds. + Weight::from_parts(61_639_151, 11003) + // Standard Error: 88_015 + .saturating_add(Weight::from_parts(245_592, 0).saturating_mul(r.into())) + // Standard Error: 16_740 + .saturating_add(Weight::from_parts(1_037_672, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -189,12 +189,12 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_fee (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `88 + r * (57 ±0)` + // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 18_308_000 picoseconds. - Weight::from_parts(20_184_358, 2626) - // Standard Error: 23_250 - .saturating_add(Weight::from_parts(431_841, 0).saturating_mul(r.into())) + // Minimum execution time: 14_269_000 picoseconds. + Weight::from_parts(14_871_637, 2626) + // Standard Error: 2_602 + .saturating_add(Weight::from_parts(150_392, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -203,12 +203,12 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_account_id (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `88 + r * (57 ±0)` + // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 19_040_000 picoseconds. - Weight::from_parts(20_345_843, 2626) - // Standard Error: 17_467 - .saturating_add(Weight::from_parts(415_678, 0).saturating_mul(r.into())) + // Minimum execution time: 14_018_000 picoseconds. + Weight::from_parts(14_900_258, 2626) + // Standard Error: 4_272 + .saturating_add(Weight::from_parts(148_637, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -217,12 +217,12 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_fields (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `88 + r * (57 ±0)` + // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 18_404_000 picoseconds. - Weight::from_parts(19_550_443, 2626) - // Standard Error: 18_770 - .saturating_add(Weight::from_parts(400_503, 0).saturating_mul(r.into())) + // Minimum execution time: 14_008_000 picoseconds. + Weight::from_parts(15_066_270, 2626) + // Standard Error: 5_721 + .saturating_add(Weight::from_parts(137_567, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -234,14 +234,14 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn provide_judgement (r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `444 + r * (57 ±0) + x * (66 ±0)` - // Estimated: `13629` - // Minimum execution time: 62_083_000 picoseconds. - Weight::from_parts(55_493_478, 13629) - // Standard Error: 67_748 - .saturating_add(Weight::from_parts(785_801, 0).saturating_mul(r.into())) - // Standard Error: 12_235 - .saturating_add(Weight::from_parts(1_957_097, 0).saturating_mul(x.into())) + // Measured: `445 + r * (57 ±0) + x * (66 ±0)` + // Estimated: `11003` + // Minimum execution time: 42_455_000 picoseconds. + Weight::from_parts(43_058_178, 11003) + // Standard Error: 17_677 + .saturating_add(Weight::from_parts(86_899, 0).saturating_mul(r.into())) + // Standard Error: 3_192 + .saturating_add(Weight::from_parts(1_696_419, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -260,16 +260,16 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn kill_identity (r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `879 + r * (13 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `24806` - // Minimum execution time: 274_589_000 picoseconds. - Weight::from_parts(311_292_941, 24806) - // Standard Error: 408_105 - .saturating_add(Weight::from_parts(171_681, 0).saturating_mul(r.into())) - // Standard Error: 77_115 - .saturating_add(Weight::from_parts(2_838_867, 0).saturating_mul(s.into())) - // Standard Error: 77_115 - .saturating_add(Weight::from_parts(644_382, 0).saturating_mul(x.into())) + // Measured: `1133 + r * (8 ±0) + s * (32 ±0) + x * (66 ±0)` + // Estimated: `11003` + // Minimum execution time: 137_084_000 picoseconds. + Weight::from_parts(81_494_923, 11003) + // Standard Error: 130_256 + .saturating_add(Weight::from_parts(202_721, 0).saturating_mul(r.into())) + // Standard Error: 24_613 + .saturating_add(Weight::from_parts(2_433_856, 0).saturating_mul(s.into())) + // Standard Error: 24_613 + .saturating_add(Weight::from_parts(573_483, 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()))) @@ -285,12 +285,12 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn add_sub (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `793 + s * (36 ±0)` - // Estimated: `24885` - // Minimum execution time: 77_951_000 picoseconds. - Weight::from_parts(93_359_690, 24885) - // Standard Error: 12_406 - .saturating_add(Weight::from_parts(308_142, 0).saturating_mul(s.into())) + // Measured: `1011 + s * (36 ±0)` + // Estimated: `11003` + // Minimum execution time: 65_772_000 picoseconds. + Weight::from_parts(73_485_025, 11003) + // Standard Error: 3_768 + .saturating_add(Weight::from_parts(84_025, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -301,12 +301,12 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn rename_sub (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `590 + s * (3 ±0)` - // Estimated: `14582` - // Minimum execution time: 30_781_000 picoseconds. - Weight::from_parts(36_339_461, 14582) - // Standard Error: 5_712 - .saturating_add(Weight::from_parts(106_410, 0).saturating_mul(s.into())) + // Measured: `591 + s * (3 ±0)` + // Estimated: `11003` + // Minimum execution time: 23_597_000 picoseconds. + Weight::from_parts(26_704_574, 11003) + // Standard Error: 1_776 + .saturating_add(Weight::from_parts(19_797, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -321,12 +321,12 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn remove_sub (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `956 + s * (35 ±0)` - // Estimated: `24885` - // Minimum execution time: 79_122_000 picoseconds. - Weight::from_parts(86_539_531, 24885) - // Standard Error: 12_333 - .saturating_add(Weight::from_parts(330_446, 0).saturating_mul(s.into())) + // Measured: `1174 + s * (35 ±0)` + // Estimated: `11003` + // Minimum execution time: 63_447_000 picoseconds. + Weight::from_parts(69_904_554, 11003) + // Standard Error: 4_285 + .saturating_add(Weight::from_parts(54_384, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -339,12 +339,12 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn quit_sub (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `882 + s * (37 ±0)` - // Estimated: `16472` - // Minimum execution time: 128_616_000 picoseconds. - Weight::from_parts(143_077_089, 16472) - // Standard Error: 21_048 - .saturating_add(Weight::from_parts(217_420, 0).saturating_mul(s.into())) + // Measured: `1100 + s * (37 ±0)` + // Estimated: `6723` + // Minimum execution time: 103_998_000 picoseconds. + Weight::from_parts(108_496_768, 6723) + // Standard Error: 4_429 + .saturating_add(Weight::from_parts(86_220, 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/interlay/src/weights/pallet_membership.rs b/parachain/runtime/interlay/src/weights/pallet_membership.rs index 8852e70d89..fcdb95b9d9 100644 --- a/parachain/runtime/interlay/src/weights/pallet_membership.rs +++ b/parachain/runtime/interlay/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -52,14 +52,14 @@ impl pallet_membership::WeightInfo for WeightInfo { fn add_member (m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `135 + m * (64 ±0)` - // Estimated: `6574 + m * (192 ±0)` - // Minimum execution time: 36_135_000 picoseconds. - Weight::from_parts(40_099_506, 6574) - // Standard Error: 5_392 - .saturating_add(Weight::from_parts(69_878, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 29_359_000 picoseconds. + Weight::from_parts(30_811_808, 4687) + // Standard Error: 1_728 + .saturating_add(Weight::from_parts(49_864, 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())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -75,14 +75,14 @@ impl pallet_membership::WeightInfo for WeightInfo { fn remove_member (m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `239 + m * (64 ±0)` - // Estimated: `8403 + m * (192 ±0)` - // Minimum execution time: 42_745_000 picoseconds. - Weight::from_parts(46_076_131, 8403) - // Standard Error: 7_343 - .saturating_add(Weight::from_parts(65_455, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 33_688_000 picoseconds. + Weight::from_parts(35_819_967, 4687) + // Standard Error: 1_925 + .saturating_add(Weight::from_parts(40_006, 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())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -98,14 +98,14 @@ impl pallet_membership::WeightInfo for WeightInfo { fn swap_member (m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `239 + m * (64 ±0)` - // Estimated: `8403 + m * (192 ±0)` - // Minimum execution time: 42_750_000 picoseconds. - Weight::from_parts(46_324_805, 8403) - // Standard Error: 4_636 - .saturating_add(Weight::from_parts(81_716, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 33_707_000 picoseconds. + Weight::from_parts(35_899_102, 4687) + // Standard Error: 2_114 + .saturating_add(Weight::from_parts(58_918, 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())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -121,14 +121,14 @@ impl pallet_membership::WeightInfo for WeightInfo { fn reset_member (m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `239 + m * (64 ±0)` - // Estimated: `8403 + m * (192 ±0)` - // Minimum execution time: 40_881_000 picoseconds. - Weight::from_parts(46_277_495, 8403) - // Standard Error: 7_454 - .saturating_add(Weight::from_parts(306_640, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 33_427_000 picoseconds. + Weight::from_parts(36_483_001, 4687) + // Standard Error: 3_091 + .saturating_add(Weight::from_parts(209_236, 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())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -144,14 +144,14 @@ impl pallet_membership::WeightInfo for WeightInfo { fn change_key (m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `239 + m * (64 ±0)` - // Estimated: `8403 + m * (192 ±0)` - // Minimum execution time: 43_327_000 picoseconds. - Weight::from_parts(48_319_947, 8403) - // Standard Error: 7_030 - .saturating_add(Weight::from_parts(81_382, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 34_429_000 picoseconds. + Weight::from_parts(36_744_041, 4687) + // Standard Error: 2_154 + .saturating_add(Weight::from_parts(60_320, 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())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:0) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -163,11 +163,11 @@ impl pallet_membership::WeightInfo for WeightInfo { fn set_prime (m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `31 + m * (32 ±0)` - // Estimated: `4718 + m * (32 ±0)` - // Minimum execution time: 16_867_000 picoseconds. - Weight::from_parts(17_803_828, 4718) - // Standard Error: 2_856 - .saturating_add(Weight::from_parts(25_226, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (32 ±0)` + // Minimum execution time: 13_366_000 picoseconds. + Weight::from_parts(14_277_554, 4687) + // Standard Error: 635 + .saturating_add(Weight::from_parts(9_514, 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())) @@ -177,14 +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: 7_977_000 picoseconds. - Weight::from_parts(8_590_771, 0) - // Standard Error: 2_369 - .saturating_add(Weight::from_parts(6_119, 0).saturating_mul(m.into())) + // Minimum execution time: 6_574_000 picoseconds. + Weight::from_parts(7_091_990, 0) .saturating_add(T::DbWeight::get().writes(2_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/interlay/src/weights/pallet_multisig.rs b/parachain/runtime/interlay/src/weights/pallet_multisig.rs index 7e5fc6c256..7fa7ac2cb6 100644 --- a/parachain/runtime/interlay/src/weights/pallet_multisig.rs +++ b/parachain/runtime/interlay/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -45,10 +45,10 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 40_254_000 picoseconds. - Weight::from_parts(45_954_521, 0) - // Standard Error: 78 - .saturating_add(Weight::from_parts(1_088, 0).saturating_mul(z.into())) + // Minimum execution time: 20_220_000 picoseconds. + Weight::from_parts(21_500_794, 0) + // Standard Error: 51 + .saturating_add(Weight::from_parts(527, 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) @@ -58,14 +58,14 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_create (s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `679 + s * (3 ±0)` - // Estimated: `10391` - // Minimum execution time: 100_166_000 picoseconds. - Weight::from_parts(78_077_241, 10391) - // Standard Error: 12_891 - .saturating_add(Weight::from_parts(500_683, 0).saturating_mul(s.into())) - // Standard Error: 126 - .saturating_add(Weight::from_parts(2_720, 0).saturating_mul(z.into())) + // Measured: `785 + s * (2 ±0)` + // Estimated: `6811` + // Minimum execution time: 76_122_000 picoseconds. + Weight::from_parts(68_806_273, 6811) + // Standard Error: 4_377 + .saturating_add(Weight::from_parts(109_000, 0).saturating_mul(s.into())) + // Standard Error: 42 + .saturating_add(Weight::from_parts(1_352, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -77,12 +77,12 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `210` // Estimated: `6811` - // Minimum execution time: 67_053_000 picoseconds. - Weight::from_parts(49_470_953, 6811) - // Standard Error: 10_765 - .saturating_add(Weight::from_parts(372_231, 0).saturating_mul(s.into())) - // Standard Error: 105 - .saturating_add(Weight::from_parts(2_250, 0).saturating_mul(z.into())) + // Minimum execution time: 43_367_000 picoseconds. + Weight::from_parts(38_850_566, 6811) + // Standard Error: 5_924 + .saturating_add(Weight::from_parts(84_915, 0).saturating_mul(s.into())) + // Standard Error: 58 + .saturating_add(Weight::from_parts(1_226, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -94,14 +94,14 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_complete (s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `820 + s * (35 ±0)` - // Estimated: `10391` - // Minimum execution time: 98_109_000 picoseconds. - Weight::from_parts(88_799_005, 10391) - // Standard Error: 15_677 - .saturating_add(Weight::from_parts(531_558, 0).saturating_mul(s.into())) - // Standard Error: 153 - .saturating_add(Weight::from_parts(2_801, 0).saturating_mul(z.into())) + // Measured: `927 + s * (34 ±0)` + // Estimated: `6811` + // Minimum execution time: 74_970_000 picoseconds. + Weight::from_parts(64_293_492, 6811) + // Standard Error: 8_085 + .saturating_add(Weight::from_parts(138_889, 0).saturating_mul(s.into())) + // Standard Error: 79 + .saturating_add(Weight::from_parts(1_554, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -112,12 +112,12 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `681 + s * (3 ±0)` - // Estimated: `10391` - // Minimum execution time: 74_815_000 picoseconds. - Weight::from_parts(82_028_501, 10391) - // Standard Error: 14_163 - .saturating_add(Weight::from_parts(476_567, 0).saturating_mul(s.into())) + // Measured: `785 + s * (2 ±0)` + // Estimated: `6811` + // Minimum execution time: 61_033_000 picoseconds. + Weight::from_parts(63_605_389, 6811) + // Standard Error: 3_464 + .saturating_add(Weight::from_parts(117_310, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -128,10 +128,10 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `210` // Estimated: `6811` - // Minimum execution time: 44_360_000 picoseconds. - Weight::from_parts(48_304_264, 6811) - // Standard Error: 11_358 - .saturating_add(Weight::from_parts(370_201, 0).saturating_mul(s.into())) + // Minimum execution time: 32_866_000 picoseconds. + Weight::from_parts(34_746_154, 6811) + // Standard Error: 2_804 + .saturating_add(Weight::from_parts(78_497, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -142,12 +142,12 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn cancel_as_multi (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `887 + s * (3 ±0)` - // Estimated: `10391` - // Minimum execution time: 70_033_000 picoseconds. - Weight::from_parts(78_599_449, 10391) - // Standard Error: 16_395 - .saturating_add(Weight::from_parts(444_403, 0).saturating_mul(s.into())) + // Measured: `991 + s * (2 ±0)` + // Estimated: `6811` + // Minimum execution time: 56_042_000 picoseconds. + Weight::from_parts(57_944_956, 6811) + // Standard Error: 3_359 + .saturating_add(Weight::from_parts(93_599, 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/interlay/src/weights/pallet_preimage.rs b/parachain/runtime/interlay/src/weights/pallet_preimage.rs index aca53cfd92..21a67dbd0b 100644 --- a/parachain/runtime/interlay/src/weights/pallet_preimage.rs +++ b/parachain/runtime/interlay/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -49,12 +49,12 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_preimage (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `361` - // Estimated: `7136` - // Minimum execution time: 70_471_000 picoseconds. - Weight::from_parts(70_690_000, 7136) - // Standard Error: 18 - .saturating_add(Weight::from_parts(4_530, 0).saturating_mul(s.into())) + // Measured: `578` + // Estimated: `3580` + // Minimum execution time: 56_674_000 picoseconds. + Weight::from_parts(56_744_000, 3580) + // Standard Error: 9 + .saturating_add(Weight::from_parts(2_253, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -67,10 +67,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 38_328_000 picoseconds. - Weight::from_parts(38_931_000, 3556) - // Standard Error: 19 - .saturating_add(Weight::from_parts(4_408, 0).saturating_mul(s.into())) + // Minimum execution time: 30_431_000 picoseconds. + Weight::from_parts(30_621_000, 3556) + // Standard Error: 7 + .saturating_add(Weight::from_parts(2_235, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -83,10 +83,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 36_339_000 picoseconds. - Weight::from_parts(36_680_000, 3556) - // Standard Error: 18 - .saturating_add(Weight::from_parts(4_436, 0).saturating_mul(s.into())) + // Minimum execution time: 28_828_000 picoseconds. + Weight::from_parts(28_978_000, 3556) + // Standard Error: 6 + .saturating_add(Weight::from_parts(2_180, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -98,10 +98,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) fn unnote_preimage () -> Weight { // Proof Size summary in bytes: - // Measured: `507` - // Estimated: `7136` - // Minimum execution time: 113_035_000 picoseconds. - Weight::from_parts(119_506_000, 7136) + // Measured: `724` + // Estimated: `3580` + // Minimum execution time: 77_946_000 picoseconds. + Weight::from_parts(82_034_000, 3580) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -113,8 +113,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 80_343_000 picoseconds. - Weight::from_parts(84_433_000, 3556) + // Minimum execution time: 48_898_000 picoseconds. + Weight::from_parts(51_533_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -124,8 +124,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `188` // Estimated: `3556` - // Minimum execution time: 73_268_000 picoseconds. - Weight::from_parts(75_724_000, 3556) + // Minimum execution time: 44_018_000 picoseconds. + Weight::from_parts(46_012_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -135,8 +135,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 48_665_000 picoseconds. - Weight::from_parts(50_252_000, 3556) + // Minimum execution time: 27_455_000 picoseconds. + Weight::from_parts(28_757_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -146,8 +146,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3556` - // Minimum execution time: 55_790_000 picoseconds. - Weight::from_parts(59_109_000, 3556) + // Minimum execution time: 24_489_000 picoseconds. + Weight::from_parts(25_091_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -157,8 +157,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 25_495_000 picoseconds. - Weight::from_parts(25_914_000, 3556) + // Minimum execution time: 15_050_000 picoseconds. + Weight::from_parts(15_451_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -170,8 +170,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 75_413_000 picoseconds. - Weight::from_parts(82_295_000, 3556) + // Minimum execution time: 46_563_000 picoseconds. + Weight::from_parts(48_607_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -181,8 +181,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 25_370_000 picoseconds. - Weight::from_parts(27_662_000, 3556) + // Minimum execution time: 14_940_000 picoseconds. + Weight::from_parts(15_401_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -192,8 +192,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 24_775_000 picoseconds. - Weight::from_parts(26_112_000, 3556) + // Minimum execution time: 14_850_000 picoseconds. + Weight::from_parts(15_461_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/parachain/runtime/interlay/src/weights/pallet_proxy.rs b/parachain/runtime/interlay/src/weights/pallet_proxy.rs index 7807d81405..3750697150 100644 --- a/parachain/runtime/interlay/src/weights/pallet_proxy.rs +++ b/parachain/runtime/interlay/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -45,12 +45,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `199 + p * (37 ±0)` + // Measured: `251 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 39_254_000 picoseconds. - Weight::from_parts(41_395_129, 4706) - // Standard Error: 16_886 - .saturating_add(Weight::from_parts(174_688, 0).saturating_mul(p.into())) + // Minimum execution time: 30_912_000 picoseconds. + Weight::from_parts(30_623_419, 4706) + // Standard Error: 28_458 + .saturating_add(Weight::from_parts(166_114, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -63,14 +63,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy_announced (a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `771 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `13984` - // Minimum execution time: 86_714_000 picoseconds. - Weight::from_parts(86_967_835, 13984) - // Standard Error: 35_642 - .saturating_add(Weight::from_parts(634_473, 0).saturating_mul(a.into())) - // Standard Error: 36_875 - .saturating_add(Weight::from_parts(287_102, 0).saturating_mul(p.into())) + // Measured: `1011 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `5698` + // Minimum execution time: 67_565_000 picoseconds. + Weight::from_parts(69_851_107, 5698) + // Standard Error: 9_707 + .saturating_add(Weight::from_parts(307_439, 0).saturating_mul(a.into())) + // Standard Error: 10_043 + .saturating_add(Weight::from_parts(66_763, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -80,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: `686 + a * (68 ±0)` - // Estimated: `9278` - // Minimum execution time: 57_027_000 picoseconds. - Weight::from_parts(63_497_142, 9278) - // Standard Error: 21_946 - .saturating_add(Weight::from_parts(472_425, 0).saturating_mul(a.into())) + // Measured: `926 + a * (68 ±0)` + // Estimated: `5698` + // Minimum execution time: 44_419_000 picoseconds. + Weight::from_parts(46_056_280, 5698) + // Standard Error: 7_299 + .saturating_add(Weight::from_parts(336_362, 0).saturating_mul(a.into())) + // Standard Error: 7_552 + .saturating_add(Weight::from_parts(36_898, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -97,16 +99,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 reject_announcement (a: u32, p: u32, ) -> Weight { + fn reject_announcement (a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `686 + a * (68 ±0)` - // Estimated: `9278` - // Minimum execution time: 57_322_000 picoseconds. - Weight::from_parts(62_529_167, 9278) - // Standard Error: 22_606 - .saturating_add(Weight::from_parts(487_003, 0).saturating_mul(a.into())) - // Standard Error: 23_389 - .saturating_add(Weight::from_parts(34_848, 0).saturating_mul(p.into())) + // Measured: `926 + a * (68 ±0)` + // Estimated: `5698` + // Minimum execution time: 44_600_000 picoseconds. + Weight::from_parts(49_852_297, 5698) + // Standard Error: 29_970 + .saturating_add(Weight::from_parts(329_933, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -120,14 +120,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn announce (a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `703 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `13984` - // Minimum execution time: 82_431_000 picoseconds. - Weight::from_parts(91_399_563, 13984) - // Standard Error: 26_814 - .saturating_add(Weight::from_parts(465_023, 0).saturating_mul(a.into())) - // Standard Error: 27_742 - .saturating_add(Weight::from_parts(58_518, 0).saturating_mul(p.into())) + // Measured: `943 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `5698` + // Minimum execution time: 67_575_000 picoseconds. + Weight::from_parts(75_659_905, 5698) + // Standard Error: 26_467 + .saturating_add(Weight::from_parts(129_800, 0).saturating_mul(a.into())) + // Standard Error: 27_383 + .saturating_add(Weight::from_parts(1_946, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -138,12 +138,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn add_proxy (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `518 + p * (37 ±0)` - // Estimated: `8286` - // Minimum execution time: 72_509_000 picoseconds. - Weight::from_parts(76_255_771, 8286) - // Standard Error: 24_340 - .saturating_add(Weight::from_parts(200_189, 0).saturating_mul(p.into())) + // Measured: `787 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 59_289_000 picoseconds. + Weight::from_parts(62_123_571, 4706) + // Standard Error: 9_974 + .saturating_add(Weight::from_parts(99_746, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -154,12 +154,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxy (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `518 + p * (37 ±0)` - // Estimated: `8286` - // Minimum execution time: 63_212_000 picoseconds. - Weight::from_parts(68_993_645, 8286) - // Standard Error: 23_840 - .saturating_add(Weight::from_parts(154_987, 0).saturating_mul(p.into())) + // Measured: `787 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 51_914_000 picoseconds. + Weight::from_parts(54_858_482, 4706) + // Standard Error: 9_144 + .saturating_add(Weight::from_parts(71_177, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -170,12 +170,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxies (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `518 + p * (37 ±0)` - // Estimated: `8286` - // Minimum execution time: 51_896_000 picoseconds. - Weight::from_parts(56_498_469, 8286) - // Standard Error: 23_386 - .saturating_add(Weight::from_parts(71_334, 0).saturating_mul(p.into())) + // Measured: `787 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 42_415_000 picoseconds. + Weight::from_parts(44_192_608, 4706) + // Standard Error: 9_610 + .saturating_add(Weight::from_parts(20_010, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -184,14 +184,12 @@ 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: `530` - // Estimated: `8286` - // Minimum execution time: 77_205_000 picoseconds. - Weight::from_parts(83_179_242, 8286) - // Standard Error: 24_024 - .saturating_add(Weight::from_parts(52_026, 0).saturating_mul(p.into())) + // Measured: `799` + // Estimated: `4706` + // Minimum execution time: 63_518_000 picoseconds. + Weight::from_parts(66_660_686, 4706) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -202,12 +200,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 30]`. fn kill_pure (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `588 + p * (37 ±0)` - // Estimated: `8286` - // Minimum execution time: 55_068_000 picoseconds. - Weight::from_parts(58_455_185, 8286) - // Standard Error: 21_996 - .saturating_add(Weight::from_parts(163_126, 0).saturating_mul(p.into())) + // Measured: `857 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 44_059_000 picoseconds. + Weight::from_parts(45_682_855, 4706) + // Standard Error: 5_345 + .saturating_add(Weight::from_parts(2_697, 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/interlay/src/weights/pallet_scheduler.rs b/parachain/runtime/interlay/src/weights/pallet_scheduler.rs index a1881f4ac1..71344e6c22 100644 --- a/parachain/runtime/interlay/src/weights/pallet_scheduler.rs +++ b/parachain/runtime/interlay/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -46,8 +46,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 8_044_000 picoseconds. - Weight::from_parts(8_634_000, 1489) + // Minimum execution time: 6_743_000 picoseconds. + Weight::from_parts(6_873_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -58,10 +58,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `26848` - // Minimum execution time: 8_111_000 picoseconds. - Weight::from_parts(13_422_815, 26848) - // Standard Error: 16_202 - .saturating_add(Weight::from_parts(1_883_059, 0).saturating_mul(s.into())) + // Minimum execution time: 6_623_000 picoseconds. + Weight::from_parts(11_341_429, 26848) + // Standard Error: 7_932 + .saturating_add(Weight::from_parts(1_230_127, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -69,8 +69,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_012_000 picoseconds. - Weight::from_parts(14_888_000, 0) + // Minimum execution time: 10_902_000 picoseconds. + Weight::from_parts(11_182_000, 0) } /// Storage: Preimage PreimageFor (r:1 w:1) /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured) @@ -80,11 +80,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn service_task_fetched (s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `179 + s * (1 ±0)` - // Estimated: `7200 + s * (1 ±0)` - // Minimum execution time: 45_981_000 picoseconds. - Weight::from_parts(46_173_000, 7200) - // Standard Error: 45 - .saturating_add(Weight::from_parts(2_876, 0).saturating_mul(s.into())) + // Estimated: `3644 + s * (1 ±0)` + // Minimum execution time: 36_583_000 picoseconds. + Weight::from_parts(36_934_000, 3644) + // Standard Error: 22 + .saturating_add(Weight::from_parts(1_791, 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())) @@ -95,30 +95,30 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 18_120_000 picoseconds. - Weight::from_parts(18_965_000, 0) + // Minimum execution time: 14_349_000 picoseconds. + Weight::from_parts(14_479_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } fn service_task_periodic () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_192_000 picoseconds. - Weight::from_parts(15_645_000, 0) + // Minimum execution time: 10_942_000 picoseconds. + Weight::from_parts(11_083_000, 0) } fn execute_dispatch_signed () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_022_000 picoseconds. - Weight::from_parts(8_360_000, 0) + // Minimum execution time: 5_872_000 picoseconds. + Weight::from_parts(5_992_000, 0) } fn execute_dispatch_unsigned () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_773_000 picoseconds. - Weight::from_parts(9_017_000, 0) + // Minimum execution time: 5_761_000 picoseconds. + Weight::from_parts(5_992_000, 0) } /// Storage: Scheduler Agenda (r:1 w:1) /// Proof: Scheduler Agenda (max_values: None, max_size: Some(23383), added: 25858, mode: MaxEncodedLen) @@ -127,10 +127,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `26848` - // Minimum execution time: 32_145_000 picoseconds. - Weight::from_parts(38_211_053, 26848) - // Standard Error: 28_580 - .saturating_add(Weight::from_parts(2_069_526, 0).saturating_mul(s.into())) + // Minimum execution time: 25_642_000 picoseconds. + Weight::from_parts(29_967_259, 26848) + // Standard Error: 7_822 + .saturating_add(Weight::from_parts(1_177_376, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -143,10 +143,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `26848` - // Minimum execution time: 40_871_000 picoseconds. - Weight::from_parts(40_267_666, 26848) - // Standard Error: 24_016 - .saturating_add(Weight::from_parts(3_346_053, 0).saturating_mul(s.into())) + // Minimum execution time: 31_663_000 picoseconds. + Weight::from_parts(31_062_029, 26848) + // Standard Error: 12_580 + .saturating_add(Weight::from_parts(2_090_123, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -158,11 +158,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn schedule_named (s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `186 + s * (189 ±0)` - // Estimated: `30361` - // Minimum execution time: 40_580_000 picoseconds. - Weight::from_parts(47_509_309, 30361) - // Standard Error: 20_892 - .saturating_add(Weight::from_parts(2_120_518, 0).saturating_mul(s.into())) + // Estimated: `26848` + // Minimum execution time: 31_794_000 picoseconds. + Weight::from_parts(37_514_363, 26848) + // Standard Error: 10_143 + .saturating_add(Weight::from_parts(1_211_221, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -174,11 +174,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn cancel_named (s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `217 + s * (188 ±0)` - // Estimated: `30361` - // Minimum execution time: 43_914_000 picoseconds. - Weight::from_parts(43_551_431, 30361) - // Standard Error: 24_498 - .saturating_add(Weight::from_parts(3_425_193, 0).saturating_mul(s.into())) + // Estimated: `26848` + // Minimum execution time: 33_988_000 picoseconds. + Weight::from_parts(34_054_260, 26848) + // Standard Error: 10_277 + .saturating_add(Weight::from_parts(2_146_097, 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/interlay/src/weights/pallet_timestamp.rs b/parachain/runtime/interlay/src/weights/pallet_timestamp.rs index 84aa72ba11..fd784224a3 100644 --- a/parachain/runtime/interlay/src/weights/pallet_timestamp.rs +++ b/parachain/runtime/interlay/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -42,14 +42,14 @@ 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) + /// Storage: unknown `0x13fe8e6572d0617ab8b9721f4e28cb46` (r:1 w:0) + /// Proof Skipped: unknown `0x13fe8e6572d0617ab8b9721f4e28cb46` (r:1 w:0) fn set () -> Weight { // Proof Size summary in bytes: - // Measured: `194` - // Estimated: `2986` - // Minimum execution time: 23_450_000 picoseconds. - Weight::from_parts(26_310_000, 2986) + // Measured: `166` + // Estimated: `3631` + // Minimum execution time: 15_692_000 picoseconds. + Weight::from_parts(16_192_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -57,7 +57,7 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `94` // Estimated: `0` - // Minimum execution time: 8_913_000 picoseconds. - Weight::from_parts(9_230_000, 0) + // Minimum execution time: 7_054_000 picoseconds. + Weight::from_parts(7_305_000, 0) } } \ No newline at end of file diff --git a/parachain/runtime/interlay/src/weights/pallet_utility.rs b/parachain/runtime/interlay/src/weights/pallet_utility.rs index bd5f59636b..0b65fb1f06 100644 --- a/parachain/runtime/interlay/src/weights/pallet_utility.rs +++ b/parachain/runtime/interlay/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -45,43 +45,43 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 17_738_000 picoseconds. - Weight::from_parts(18_819_000, 0) - // Standard Error: 16_599 - .saturating_add(Weight::from_parts(13_437_537, 0).saturating_mul(c.into())) + // Minimum execution time: 13_637_000 picoseconds. + Weight::from_parts(14_143_347, 0) + // Standard Error: 7_460 + .saturating_add(Weight::from_parts(10_531_820, 0).saturating_mul(c.into())) } fn as_derivative () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_894_000 picoseconds. - Weight::from_parts(14_416_000, 0) + // Minimum execution time: 10_812_000 picoseconds. + Weight::from_parts(11_162_000, 0) } /// The range of component `c` is `[0, 1000]`. fn batch_all (c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 17_668_000 picoseconds. - Weight::from_parts(17_755_000, 0) - // Standard Error: 18_220 - .saturating_add(Weight::from_parts(14_313_855, 0).saturating_mul(c.into())) + // Minimum execution time: 13_567_000 picoseconds. + Weight::from_parts(92_452_234, 0) + // Standard Error: 81_966 + .saturating_add(Weight::from_parts(11_112_221, 0).saturating_mul(c.into())) } fn dispatch_as () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 23_694_000 picoseconds. - Weight::from_parts(25_584_000, 0) + // Minimum execution time: 18_156_000 picoseconds. + Weight::from_parts(18_417_000, 0) } /// The range of component `c` is `[0, 1000]`. fn force_batch (c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 17_832_000 picoseconds. - Weight::from_parts(5_470_709, 0) - // Standard Error: 28_314 - .saturating_add(Weight::from_parts(13_509_828, 0).saturating_mul(c.into())) + // Minimum execution time: 13_497_000 picoseconds. + Weight::from_parts(13_667_000, 0) + // Standard Error: 70_076 + .saturating_add(Weight::from_parts(10_839_741, 0).saturating_mul(c.into())) } } \ No newline at end of file diff --git a/parachain/runtime/interlay/src/weights/pallet_xcm.rs b/parachain/runtime/interlay/src/weights/pallet_xcm.rs index 5ba539ee4f..8a22d00eb7 100644 --- a/parachain/runtime/interlay/src/weights/pallet_xcm.rs +++ b/parachain/runtime/interlay/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -53,9 +53,9 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn send () -> Weight { // Proof Size summary in bytes: // Measured: `107` - // Estimated: `9940` - // Minimum execution time: 65_179_000 picoseconds. - Weight::from_parts(71_351_000, 9940) + // Estimated: `3572` + // Minimum execution time: 48_888_000 picoseconds. + Weight::from_parts(49_649_000, 3572) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -65,20 +65,20 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: UnknownTokens ConcreteFungibleBalances (max_values: None, max_size: None, mode: Measured) fn teleport_assets () -> Weight { // Proof Size summary in bytes: - // Measured: `245` - // Estimated: `5199` - // Minimum execution time: 70_619_000 picoseconds. - Weight::from_parts(77_725_000, 5199) + // Measured: `282` + // Estimated: `3747` + // Minimum execution time: 53_066_000 picoseconds. + Weight::from_parts(54_038_000, 3747) .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 { // Proof Size summary in bytes: - // Measured: `32` + // Measured: `69` // Estimated: `1489` - // Minimum execution time: 50_092_000 picoseconds. - Weight::from_parts(53_236_000, 1489) + // Minimum execution time: 39_580_000 picoseconds. + Weight::from_parts(40_240_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: Benchmark Override (r:0 w:0) @@ -96,8 +96,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 24_237_000 picoseconds. - Weight::from_parts(25_925_000, 0) + // Minimum execution time: 18_748_000 picoseconds. + Weight::from_parts(18_968_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1) @@ -106,8 +106,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_916_000 picoseconds. - Weight::from_parts(8_452_000, 0) + // Minimum execution time: 6_363_000 picoseconds. + Weight::from_parts(6_453_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1) @@ -129,9 +129,9 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn force_subscribe_version_notify () -> Weight { // Proof Size summary in bytes: // Measured: `107` - // Estimated: `15211` - // Minimum execution time: 74_887_000 picoseconds. - Weight::from_parts(82_833_000, 15211) + // Estimated: `3572` + // Minimum execution time: 58_518_000 picoseconds. + Weight::from_parts(59_028_000, 3572) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -152,20 +152,30 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn force_unsubscribe_version_notify () -> Weight { // Proof Size summary in bytes: // Measured: `290` - // Estimated: `14900` - // Minimum execution time: 75_636_000 picoseconds. - Weight::from_parts(79_084_000, 14900) + // Estimated: `3755` + // Minimum execution time: 58_778_000 picoseconds. + Weight::from_parts(59_099_000, 3755) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } + /// Storage: PolkadotXcm XcmExecutionSuspended (r:0 w:1) + /// Proof Skipped: PolkadotXcm XcmExecutionSuspended (max_values: Some(1), max_size: None, mode: Measured) + fn force_suspension () -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 6_182_000 picoseconds. + Weight::from_parts(6_603_000, 0) + .saturating_add(T::DbWeight::get().writes(1_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 { // Proof Size summary in bytes: // Measured: `162` // Estimated: `11052` - // Minimum execution time: 37_859_000 picoseconds. - Weight::from_parts(39_910_000, 11052) + // Minimum execution time: 31_032_000 picoseconds. + Weight::from_parts(31_633_000, 11052) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -175,8 +185,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `166` // Estimated: `11056` - // Minimum execution time: 37_743_000 picoseconds. - Weight::from_parts(38_610_000, 11056) + // Minimum execution time: 31_082_000 picoseconds. + Weight::from_parts(31_813_000, 11056) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -186,8 +196,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `13538` - // Minimum execution time: 39_717_000 picoseconds. - Weight::from_parts(41_478_000, 13538) + // Minimum execution time: 32_806_000 picoseconds. + Weight::from_parts(33_317_000, 13538) .saturating_add(T::DbWeight::get().reads(5_u64)) } /// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1) @@ -205,9 +215,9 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn notify_current_targets () -> Weight { // Proof Size summary in bytes: // Measured: `174` - // Estimated: `16389` - // Minimum execution time: 69_610_000 picoseconds. - Weight::from_parts(77_275_000, 16389) + // Estimated: `6114` + // Minimum execution time: 54_690_000 picoseconds. + Weight::from_parts(55_060_000, 6114) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -217,8 +227,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `206` // Estimated: `8621` - // Minimum execution time: 22_273_000 picoseconds. - Weight::from_parts(22_672_000, 8621) + // Minimum execution time: 18_016_000 picoseconds. + Weight::from_parts(18_387_000, 8621) .saturating_add(T::DbWeight::get().reads(3_u64)) } /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) @@ -227,8 +237,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `11063` - // Minimum execution time: 39_760_000 picoseconds. - Weight::from_parts(40_857_000, 11063) + // Minimum execution time: 31_664_000 picoseconds. + Weight::from_parts(33_247_000, 11063) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -247,16 +257,9 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn migrate_and_notify_old_targets () -> Weight { // Proof Size summary in bytes: // Measured: `177` - // Estimated: `21357` - // Minimum execution time: 88_134_000 picoseconds. - Weight::from_parts(97_021_000, 21357) - .saturating_add(T::DbWeight::get().reads(9_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) - } - - fn force_suspension() -> Weight { - // todo: write and run benchmark - Weight::from_parts(97_021_000, 21357) + // Estimated: `11067` + // Minimum execution time: 66_794_000 picoseconds. + Weight::from_parts(67_596_000, 11067) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } diff --git a/parachain/runtime/interlay/src/weights/pallet_xcm_benchmarks_fungible.rs b/parachain/runtime/interlay/src/weights/pallet_xcm_benchmarks_fungible.rs index c44e4fd122..441c30d05c 100644 --- a/parachain/runtime/interlay/src/weights/pallet_xcm_benchmarks_fungible.rs +++ b/parachain/runtime/interlay/src/weights/pallet_xcm_benchmarks_fungible.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for pallet_xcm_benchmarks::fungible //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -48,10 +48,10 @@ impl WeightInfo { /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) pub fn withdraw_asset () -> Weight { // Proof Size summary in bytes: - // Measured: `544` - // Estimated: `11089` - // Minimum execution time: 63_422_000 picoseconds. - Weight::from_parts(75_445_000, 11089) + // Measured: `761` + // Estimated: `4226` + // Minimum execution time: 55_160_000 picoseconds. + Weight::from_parts(81_553_000, 4226) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -61,10 +61,10 @@ impl WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) pub fn transfer_asset () -> Weight { // Proof Size summary in bytes: - // Measured: `370` - // Estimated: `12366` - // Minimum execution time: 80_750_000 picoseconds. - Weight::from_parts(82_773_000, 12366) + // Measured: `715` + // Estimated: `6196` + // Minimum execution time: 71_543_000 picoseconds. + Weight::from_parts(72_395_000, 6196) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -86,10 +86,10 @@ impl WeightInfo { /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) pub fn transfer_reserve_asset () -> Weight { // Proof Size summary in bytes: - // Measured: `509` - // Estimated: `25805` - // Minimum execution time: 134_171_000 picoseconds. - Weight::from_parts(140_144_000, 25805) + // Measured: `891` + // Estimated: `6196` + // Minimum execution time: 111_123_000 picoseconds. + Weight::from_parts(112_295_000, 6196) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -101,10 +101,10 @@ impl WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) pub fn deposit_asset () -> Weight { // Proof Size summary in bytes: - // Measured: `218` - // Estimated: `10673` - // Minimum execution time: 69_690_000 picoseconds. - Weight::from_parts(73_001_000, 10673) + // Measured: `513` + // Estimated: `3593` + // Minimum execution time: 57_986_000 picoseconds. + Weight::from_parts(58_517_000, 3593) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -128,10 +128,10 @@ impl WeightInfo { /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) pub fn deposit_reserve_asset () -> Weight { // Proof Size summary in bytes: - // Measured: `357` - // Estimated: `23352` - // Minimum execution time: 126_531_000 picoseconds. - Weight::from_parts(128_286_000, 23352) + // Measured: `689` + // Estimated: `4154` + // Minimum execution time: 103_648_000 picoseconds. + Weight::from_parts(105_992_000, 4154) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -149,10 +149,10 @@ impl WeightInfo { /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) pub fn initiate_teleport () -> Weight { // Proof Size summary in bytes: - // Measured: `139` - // Estimated: `11589` - // Minimum execution time: 66_860_000 picoseconds. - Weight::from_parts(79_180_000, 11589) + // Measured: `176` + // Estimated: `3641` + // Minimum execution time: 49_880_000 picoseconds. + Weight::from_parts(50_912_000, 3641) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } diff --git a/parachain/runtime/interlay/src/weights/pallet_xcm_benchmarks_generic.rs b/parachain/runtime/interlay/src/weights/pallet_xcm_benchmarks_generic.rs index eb977d473b..534dc34255 100644 --- a/parachain/runtime/interlay/src/weights/pallet_xcm_benchmarks_generic.rs +++ b/parachain/runtime/interlay/src/weights/pallet_xcm_benchmarks_generic.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for pallet_xcm_benchmarks::generic //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -54,10 +54,10 @@ impl WeightInfo { /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) pub fn report_holding () -> Weight { // Proof Size summary in bytes: - // Measured: `139` - // Estimated: `11589` - // Minimum execution time: 161_504_000 picoseconds. - Weight::from_parts(179_386_000, 11589) + // Measured: `176` + // Estimated: `3641` + // Minimum execution time: 108_617_000 picoseconds. + Weight::from_parts(109_519_000, 3641) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -65,8 +65,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_605_000 picoseconds. - Weight::from_parts(5_302_000, 0) + // Minimum execution time: 3_006_000 picoseconds. + Weight::from_parts(3_066_000, 0) } /// Storage: PolkadotXcm Queries (r:1 w:0) /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) @@ -74,61 +74,61 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `103` // Estimated: `3568` - // Minimum execution time: 24_352_000 picoseconds. - Weight::from_parts(26_768_000, 3568) + // Minimum execution time: 18_467_000 picoseconds. + Weight::from_parts(18_678_000, 3568) .saturating_add(T::DbWeight::get().reads(1_u64)) } pub fn transact () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_067_000 picoseconds. - Weight::from_parts(15_999_000, 0) + // Minimum execution time: 10_612_000 picoseconds. + Weight::from_parts(11_012_000, 0) } /// Storage: ParachainInfo ParachainId (r:1 w:0) /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) pub fn refund_surplus () -> Weight { // Proof Size summary in bytes: - // Measured: `32` + // Measured: `69` // Estimated: `1489` - // Minimum execution time: 14_037_000 picoseconds. - Weight::from_parts(15_172_000, 1489) + // Minimum execution time: 11_703_000 picoseconds. + Weight::from_parts(11_994_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) } pub fn set_error_handler () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_281_000 picoseconds. - Weight::from_parts(4_458_000, 0) + // Minimum execution time: 2_695_000 picoseconds. + Weight::from_parts(2_806_000, 0) } pub fn set_appendix () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_256_000 picoseconds. - Weight::from_parts(6_556_000, 0) + // Minimum execution time: 2_736_000 picoseconds. + Weight::from_parts(2_815_000, 0) } pub fn clear_error () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_217_000 picoseconds. - Weight::from_parts(6_289_000, 0) + // Minimum execution time: 2_605_000 picoseconds. + Weight::from_parts(2_695_000, 0) } pub fn descend_origin () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_375_000 picoseconds. - Weight::from_parts(5_847_000, 0) + // Minimum execution time: 3_407_000 picoseconds. + Weight::from_parts(3_507_000, 0) } pub fn clear_origin () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_119_000 picoseconds. - Weight::from_parts(4_250_000, 0) + // Minimum execution time: 2_575_000 picoseconds. + Weight::from_parts(2_725_000, 0) } /// Storage: ParachainInfo ParachainId (r:1 w:0) /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -144,10 +144,10 @@ impl WeightInfo { /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) pub fn report_error () -> Weight { // Proof Size summary in bytes: - // Measured: `139` - // Estimated: `11589` - // Minimum execution time: 55_788_000 picoseconds. - Weight::from_parts(61_921_000, 11589) + // Measured: `176` + // Estimated: `3641` + // Minimum execution time: 43_447_000 picoseconds. + Weight::from_parts(43_928_000, 3641) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -157,8 +157,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `160` // Estimated: `3625` - // Minimum execution time: 33_340_000 picoseconds. - Weight::from_parts(36_931_000, 3625) + // Minimum execution time: 25_631_000 picoseconds. + Weight::from_parts(26_152_000, 3625) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -166,8 +166,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_200_000 picoseconds. - Weight::from_parts(4_454_000, 0) + // Minimum execution time: 2_615_000 picoseconds. + Weight::from_parts(2_715_000, 0) } /// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1) /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) @@ -184,9 +184,9 @@ impl WeightInfo { pub fn subscribe_version () -> Weight { // Proof Size summary in bytes: // Measured: `107` - // Estimated: `13512` - // Minimum execution time: 61_838_000 picoseconds. - Weight::from_parts(64_080_000, 13512) + // Estimated: `3572` + // Minimum execution time: 49_099_000 picoseconds. + Weight::from_parts(49_399_000, 3572) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -196,8 +196,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_565_000 picoseconds. - Weight::from_parts(10_474_000, 0) + // Minimum execution time: 6_774_000 picoseconds. + Weight::from_parts(6_934_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: ParachainInfo ParachainId (r:1 w:0) @@ -214,10 +214,10 @@ impl WeightInfo { /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) pub fn initiate_reserve_withdraw () -> Weight { // Proof Size summary in bytes: - // Measured: `139` - // Estimated: `11589` - // Minimum execution time: 154_343_000 picoseconds. - Weight::from_parts(165_251_000, 11589) + // Measured: `176` + // Estimated: `3641` + // Minimum execution time: 102_094_000 picoseconds. + Weight::from_parts(103_127_000, 3641) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -225,36 +225,36 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 30_106_000 picoseconds. - Weight::from_parts(31_191_000, 0) + // Minimum execution time: 17_415_000 picoseconds. + Weight::from_parts(17_505_000, 0) } pub fn expect_asset () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_040_000 picoseconds. - Weight::from_parts(6_502_000, 0) + // Minimum execution time: 3_868_000 picoseconds. + Weight::from_parts(3_998_000, 0) } pub fn expect_origin () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_319_000 picoseconds. - Weight::from_parts(4_916_000, 0) + // Minimum execution time: 2_746_000 picoseconds. + Weight::from_parts(2_856_000, 0) } pub fn expect_error () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_163_000 picoseconds. - Weight::from_parts(4_830_000, 0) + // Minimum execution time: 2_615_000 picoseconds. + Weight::from_parts(2_755_000, 0) } pub fn expect_transact_status () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_635_000 picoseconds. - Weight::from_parts(4_687_000, 0) + // Minimum execution time: 2_996_000 picoseconds. + Weight::from_parts(3_046_000, 0) } /// Storage: ParachainInfo ParachainId (r:1 w:0) /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -270,10 +270,10 @@ impl WeightInfo { /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) pub fn query_pallet () -> Weight { // Proof Size summary in bytes: - // Measured: `139` - // Estimated: `11589` - // Minimum execution time: 84_125_000 picoseconds. - Weight::from_parts(86_998_000, 11589) + // Measured: `176` + // Estimated: `3641` + // Minimum execution time: 67_074_000 picoseconds. + Weight::from_parts(67_846_000, 3641) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -281,8 +281,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 25_588_000 picoseconds. - Weight::from_parts(26_555_000, 0) + // Minimum execution time: 22_164_000 picoseconds. + Weight::from_parts(22_566_000, 0) } /// Storage: ParachainInfo ParachainId (r:1 w:0) /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -298,10 +298,10 @@ impl WeightInfo { /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) pub fn report_transact_status () -> Weight { // Proof Size summary in bytes: - // Measured: `139` - // Estimated: `11589` - // Minimum execution time: 56_117_000 picoseconds. - Weight::from_parts(67_543_000, 11589) + // Measured: `176` + // Estimated: `3641` + // Minimum execution time: 43_667_000 picoseconds. + Weight::from_parts(44_108_000, 3641) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -309,35 +309,35 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_335_000 picoseconds. - Weight::from_parts(6_706_000, 0) + // Minimum execution time: 2_786_000 picoseconds. + Weight::from_parts(2_875_000, 0) } pub fn set_topic () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_137_000 picoseconds. - Weight::from_parts(4_484_000, 0) + // Minimum execution time: 2_705_000 picoseconds. + Weight::from_parts(2_795_000, 0) } pub fn clear_topic () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_133_000 picoseconds. - Weight::from_parts(4_338_000, 0) + // Minimum execution time: 2_585_000 picoseconds. + Weight::from_parts(2_635_000, 0) } pub fn set_fees_mode () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_068_000 picoseconds. - Weight::from_parts(4_240_000, 0) + // Minimum execution time: 2_605_000 picoseconds. + Weight::from_parts(2_725_000, 0) } pub fn unpaid_execution () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_389_000 picoseconds. - Weight::from_parts(9_599_000, 0) + // Minimum execution time: 2_835_000 picoseconds. + Weight::from_parts(2_915_000, 0) } } \ No newline at end of file diff --git a/parachain/runtime/interlay/src/weights/redeem.rs b/parachain/runtime/interlay/src/weights/redeem.rs index 208a07378d..07f30bc059 100644 --- a/parachain/runtime/interlay/src/weights/redeem.rs +++ b/parachain/runtime/interlay/src/weights/redeem.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for redeem //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -40,8 +40,6 @@ 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:2 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: Fee RedeemFee (r:1 w:0) @@ -96,11 +94,11 @@ impl redeem::WeightInfo for WeightInfo { /// Proof: Redeem RedeemRequests (max_values: None, max_size: Some(245), added: 2720, mode: MaxEncodedLen) fn request_redeem () -> Weight { // Proof Size summary in bytes: - // Measured: `2928` - // Estimated: `73398` - // Minimum execution time: 414_761_000 picoseconds. - Weight::from_parts(438_116_000, 73398) - .saturating_add(T::DbWeight::get().reads(29_u64)) + // Measured: `3155` + // Estimated: `6260` + // Minimum execution time: 310_652_000 picoseconds. + Weight::from_parts(313_168_000, 6260) + .saturating_add(T::DbWeight::get().reads(28_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: Tokens Accounts (r:3 w:3) @@ -129,10 +127,10 @@ impl redeem::WeightInfo for WeightInfo { /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn liquidation_redeem () -> Weight { // Proof Size summary in bytes: - // Measured: `1918` - // Estimated: `52855` - // Minimum execution time: 379_381_000 picoseconds. - Weight::from_parts(394_071_000, 52855) + // Measured: `2173` + // Estimated: `8760` + // Minimum execution time: 283_197_000 picoseconds. + Weight::from_parts(284_509_000, 8760) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(11_u64)) } @@ -162,23 +160,23 @@ impl redeem::WeightInfo for WeightInfo { /// The range of component `i` is `[1, 10]`. /// The range of component `o` is `[2, 3]`. /// The range of component `b` is `[541, 2048]`. - fn execute_redeem (h: u32, i: u32, _o: u32, b: u32, ) -> Weight { + fn execute_redeem (h: u32, i: u32, o: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2122` - // Estimated: `29111` - // Minimum execution time: 242_719_000 picoseconds. - Weight::from_parts(223_820_863, 29111) - // Standard Error: 136_817 - .saturating_add(Weight::from_parts(8_379_355, 0).saturating_mul(h.into())) - // Standard Error: 123_343 - .saturating_add(Weight::from_parts(836_211, 0).saturating_mul(i.into())) - // Standard Error: 753 - .saturating_add(Weight::from_parts(4_951, 0).saturating_mul(b.into())) + // Measured: `2295 + o * (1 ±0)` + // Estimated: `3725` + // Minimum execution time: 183_618_000 picoseconds. + Weight::from_parts(155_534_743, 3725) + // Standard Error: 117_935 + .saturating_add(Weight::from_parts(3_687_939, 0).saturating_mul(h.into())) + // Standard Error: 106_320 + .saturating_add(Weight::from_parts(952_959, 0).saturating_mul(i.into())) + // Standard Error: 644_527 + .saturating_add(Weight::from_parts(862_990, 0).saturating_mul(o.into())) + // Standard Error: 649 + .saturating_add(Weight::from_parts(4_928, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Redeem RedeemRequests (r:1 w:1) /// Proof: Redeem RedeemRequests (max_values: None, max_size: Some(245), added: 2720, mode: MaxEncodedLen) /// Storage: Redeem RedeemPeriod (r:1 w:0) @@ -250,11 +248,11 @@ impl redeem::WeightInfo for WeightInfo { /// Storage: VaultRewards TotalStake (r:1 w:1) /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards RewardCurrencies (r:1 w:0) - /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) + /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(50), added: 2525, 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) + /// Proof: VaultCapacity RewardCurrencies (max_values: None, max_size: Some(39), added: 2514, 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) @@ -269,15 +267,13 @@ impl redeem::WeightInfo for WeightInfo { /// Proof: VaultRegistry PunishmentDelay (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn cancel_redeem_reimburse () -> Weight { // Proof Size summary in bytes: - // Measured: `5091` - // Estimated: `179726` - // Minimum execution time: 1_189_309_000 picoseconds. - Weight::from_parts(1_214_681_000, 179726) - .saturating_add(T::DbWeight::get().reads(60_u64)) + // Measured: `5396` + // Estimated: `11350` + // Minimum execution time: 847_787_000 picoseconds. + Weight::from_parts(851_295_000, 11350) + .saturating_add(T::DbWeight::get().reads(59_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) /// Storage: Redeem RedeemRequests (r:1 w:1) /// Proof: Redeem RedeemRequests (max_values: None, max_size: Some(245), added: 2720, mode: MaxEncodedLen) /// Storage: Redeem RedeemPeriod (r:1 w:0) @@ -349,11 +345,11 @@ impl redeem::WeightInfo for WeightInfo { /// Storage: VaultRewards TotalStake (r:1 w:1) /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards RewardCurrencies (r:1 w:0) - /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) + /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(50), added: 2525, 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) + /// Proof: VaultCapacity RewardCurrencies (max_values: None, max_size: Some(39), added: 2514, 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) @@ -368,11 +364,11 @@ impl redeem::WeightInfo for WeightInfo { /// Proof: VaultRegistry PunishmentDelay (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn cancel_redeem_retry () -> Weight { // Proof Size summary in bytes: - // Measured: `5091` - // Estimated: `177216` - // Minimum execution time: 1_087_583_000 picoseconds. - Weight::from_parts(1_120_115_000, 177216) - .saturating_add(T::DbWeight::get().reads(59_u64)) + // Measured: `5396` + // Estimated: `11350` + // Minimum execution time: 775_122_000 picoseconds. + Weight::from_parts(783_890_000, 11350) + .saturating_add(T::DbWeight::get().reads(58_u64)) .saturating_add(T::DbWeight::get().writes(28_u64)) } /// Storage: Redeem RedeemPeriod (r:0 w:1) @@ -381,8 +377,8 @@ impl redeem::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 22_297_000 picoseconds. - Weight::from_parts(22_756_000, 0) + // Minimum execution time: 18_136_000 picoseconds. + Weight::from_parts(18_727_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: VaultRegistry Vaults (r:1 w:1) @@ -393,10 +389,10 @@ impl redeem::WeightInfo for WeightInfo { /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) fn self_redeem () -> Weight { // Proof Size summary in bytes: - // Measured: `1171` - // Estimated: `10805` - // Minimum execution time: 194_312_000 picoseconds. - Weight::from_parts(202_058_000, 10805) + // Measured: `1427` + // Estimated: `3725` + // Minimum execution time: 149_329_000 picoseconds. + Weight::from_parts(152_415_000, 3725) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } diff --git a/parachain/runtime/interlay/src/weights/replace.rs b/parachain/runtime/interlay/src/weights/replace.rs index 5c58c34c88..4e9c7c0970 100644 --- a/parachain/runtime/interlay/src/weights/replace.rs +++ b/parachain/runtime/interlay/src/weights/replace.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for replace //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -46,8 +46,6 @@ impl replace::WeightInfo for WeightInfo { /// Proof: Nomination Vaults (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen) /// Storage: Replace ReplaceBtcDustValue (r:1 w:0) /// Proof: Replace ReplaceBtcDustValue (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: Fee ReplaceGriefingCollateral (r:1 w:0) @@ -56,11 +54,11 @@ impl replace::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) fn request_replace () -> Weight { // Proof Size summary in bytes: - // Measured: `1777` - // Estimated: `18838` - // Minimum execution time: 174_897_000 picoseconds. - Weight::from_parts(181_413_000, 18838) - .saturating_add(T::DbWeight::get().reads(7_u64)) + // Measured: `2035` + // Estimated: `3725` + // Minimum execution time: 131_042_000 picoseconds. + Weight::from_parts(135_822_000, 3725) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: VaultRegistry Vaults (r:1 w:1) @@ -69,8 +67,8 @@ impl replace::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `701` // Estimated: `3725` - // Minimum execution time: 78_794_000 picoseconds. - Weight::from_parts(86_238_000, 3725) + // Minimum execution time: 55_932_000 picoseconds. + Weight::from_parts(58_086_000, 3725) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -117,15 +115,13 @@ impl replace::WeightInfo for WeightInfo { /// Storage: VaultRewards TotalStake (r:1 w:1) /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards RewardCurrencies (r:1 w:0) - /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) + /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(50), added: 2525, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, 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) + /// Proof: VaultCapacity RewardCurrencies (max_values: None, max_size: Some(39), added: 2514, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) @@ -146,11 +142,11 @@ impl replace::WeightInfo for WeightInfo { /// Proof: Replace ReplaceRequests (max_values: None, max_size: Some(250), added: 2725, mode: MaxEncodedLen) fn accept_replace () -> Weight { // Proof Size summary in bytes: - // Measured: `4114` - // Estimated: `129743` - // Minimum execution time: 792_846_000 picoseconds. - Weight::from_parts(804_374_000, 129743) - .saturating_add(T::DbWeight::get().reads(43_u64)) + // Measured: `4306` + // Estimated: `6460` + // Minimum execution time: 623_749_000 picoseconds. + Weight::from_parts(628_388_000, 6460) + .saturating_add(T::DbWeight::get().reads(42_u64)) .saturating_add(T::DbWeight::get().writes(26_u64)) } /// Storage: Replace ReplaceRequests (r:1 w:1) @@ -179,18 +175,18 @@ impl replace::WeightInfo for WeightInfo { /// 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: `3700` - // Estimated: `28351` - // Minimum execution time: 321_693_000 picoseconds. - Weight::from_parts(299_069_738, 28351) - // Standard Error: 116_546 - .saturating_add(Weight::from_parts(2_709_504, 0).saturating_mul(h.into())) - // Standard Error: 105_067 - .saturating_add(Weight::from_parts(1_555_605, 0).saturating_mul(i.into())) - // Standard Error: 636_932 - .saturating_add(Weight::from_parts(1_431_533, 0).saturating_mul(o.into())) - // Standard Error: 641 - .saturating_add(Weight::from_parts(8_464, 0).saturating_mul(b.into())) + // Measured: `3962` + // Estimated: `6460` + // Minimum execution time: 201_203_000 picoseconds. + Weight::from_parts(166_625_346, 6460) + // Standard Error: 77_399 + .saturating_add(Weight::from_parts(3_797_260, 0).saturating_mul(h.into())) + // Standard Error: 69_776 + .saturating_add(Weight::from_parts(1_249_996, 0).saturating_mul(i.into())) + // Standard Error: 422_991 + .saturating_add(Weight::from_parts(3_113_568, 0).saturating_mul(o.into())) + // Standard Error: 426 + .saturating_add(Weight::from_parts(3_662, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -214,8 +210,6 @@ impl replace::WeightInfo for WeightInfo { /// 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: Security ParachainStatus (r:1 w:0) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: VaultStaking Nonce (r:1 w:0) @@ -226,19 +220,21 @@ impl replace::WeightInfo for WeightInfo { /// The range of component `i` is `[1, 10]`. /// The range of component `o` is `[2, 3]`. /// The range of component `b` is `[541, 2048]`. - fn execute_cancelled_replace (h: u32, i: u32, _o: u32, b: u32, ) -> Weight { + fn execute_cancelled_replace (h: u32, i: u32, o: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4006` - // Estimated: `40395` - // Minimum execution time: 387_665_000 picoseconds. - Weight::from_parts(383_077_649, 40395) - // Standard Error: 175_118 - .saturating_add(Weight::from_parts(2_479_693, 0).saturating_mul(h.into())) - // Standard Error: 157_871 - .saturating_add(Weight::from_parts(1_580_414, 0).saturating_mul(i.into())) - // Standard Error: 964 - .saturating_add(Weight::from_parts(4_640, 0).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(15_u64)) + // Measured: `4084` + // Estimated: `6460` + // Minimum execution time: 244_751_000 picoseconds. + Weight::from_parts(221_003_188, 6460) + // Standard Error: 69_845 + .saturating_add(Weight::from_parts(3_504_737, 0).saturating_mul(h.into())) + // Standard Error: 62_966 + .saturating_add(Weight::from_parts(526_198, 0).saturating_mul(i.into())) + // Standard Error: 381_710 + .saturating_add(Weight::from_parts(2_470_971, 0).saturating_mul(o.into())) + // Standard Error: 384 + .saturating_add(Weight::from_parts(4_539, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: Replace ReplaceRequests (r:1 w:1) @@ -263,8 +259,6 @@ impl replace::WeightInfo for WeightInfo { /// 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: Security ParachainStatus (r:1 w:0) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) @@ -301,11 +295,11 @@ impl replace::WeightInfo for WeightInfo { /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) fn cancel_replace () -> Weight { // Proof Size summary in bytes: - // Measured: `4406` - // Estimated: `118165` - // Minimum execution time: 723_347_000 picoseconds. - Weight::from_parts(746_025_000, 118165) - .saturating_add(T::DbWeight::get().reads(38_u64)) + // Measured: `4744` + // Estimated: `6460` + // Minimum execution time: 499_671_000 picoseconds. + Weight::from_parts(507_496_000, 6460) + .saturating_add(T::DbWeight::get().reads(37_u64)) .saturating_add(T::DbWeight::get().writes(19_u64)) } /// Storage: Replace ReplacePeriod (r:0 w:1) @@ -314,8 +308,8 @@ impl replace::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 22_574_000 picoseconds. - Weight::from_parts(23_334_000, 0) + // Minimum execution time: 17_806_000 picoseconds. + Weight::from_parts(18_467_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/interlay/src/weights/security.rs b/parachain/runtime/interlay/src/weights/security.rs index dab8110d45..a34d043d73 100644 --- a/parachain/runtime/interlay/src/weights/security.rs +++ b/parachain/runtime/interlay/src/weights/security.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for security //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -34,34 +34,33 @@ use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use sp_std::marker::PhantomData; -use frame_system::RawOrigin; /// 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: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) + /// Storage: Security IsDeactivated (r:1 w:0) + /// Proof: Security IsDeactivated (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Security ActiveBlockCount (r:1 w:1) /// 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: `126` - // Estimated: `2975` - // Minimum execution time: 22_966_000 picoseconds. - Weight::from_parts(23_794_000, 2975) + // Measured: `99` + // Estimated: `1489` + // Minimum execution time: 17_345_000 picoseconds. + Weight::from_parts(18_226_000, 1489) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Security ParachainStatus (r:0 w:1) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) + /// Storage: Security IsDeactivated (r:0 w:1) + /// Proof: Security IsDeactivated (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) fn activate_counter () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_665_000 picoseconds. - Weight::from_parts(10_979_000, 0) + // Minimum execution time: 14_158_000 picoseconds. + Weight::from_parts(15_060_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/interlay/src/weights/supply.rs b/parachain/runtime/interlay/src/weights/supply.rs index 346d903e3f..6e3f345469 100644 --- a/parachain/runtime/interlay/src/weights/supply.rs +++ b/parachain/runtime/interlay/src/weights/supply.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for supply //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -52,10 +52,10 @@ impl supply::WeightInfo for WeightInfo { /// Proof: Supply LastEmission (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn on_initialize () -> Weight { // Proof Size summary in bytes: - // Measured: `299` - // Estimated: `22547` - // Minimum execution time: 231_169_000 picoseconds. - Weight::from_parts(235_848_000, 22547) + // Measured: `606` + // Estimated: `11350` + // Minimum execution time: 197_536_000 picoseconds. + Weight::from_parts(199_199_000, 11350) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -65,8 +65,8 @@ impl supply::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_652_000 picoseconds. - Weight::from_parts(12_229_000, 0) + // Minimum execution time: 9_499_000 picoseconds. + Weight::from_parts(9_769_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/interlay/src/weights/tx_pause.rs b/parachain/runtime/interlay/src/weights/tx_pause.rs index 89ec621090..d22e2ed604 100644 --- a/parachain/runtime/interlay/src/weights/tx_pause.rs +++ b/parachain/runtime/interlay/src/weights/tx_pause.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for tx_pause //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -46,8 +46,8 @@ impl tx_pause::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3` // Estimated: `6494` - // Minimum execution time: 39_692_000 picoseconds. - Weight::from_parts(41_248_000, 6494) + // Minimum execution time: 32_074_000 picoseconds. + Weight::from_parts(32_575_000, 6494) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -57,8 +57,8 @@ impl tx_pause::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `308` // Estimated: `6494` - // Minimum execution time: 45_488_000 picoseconds. - Weight::from_parts(46_533_000, 6494) + // Minimum execution time: 36_412_000 picoseconds. + Weight::from_parts(37_174_000, 6494) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/parachain/runtime/interlay/src/weights/vault_registry.rs b/parachain/runtime/interlay/src/weights/vault_registry.rs index d210cd78e3..5cb215bb7e 100644 --- a/parachain/runtime/interlay/src/weights/vault_registry.rs +++ b/parachain/runtime/interlay/src/weights/vault_registry.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for vault_registry //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-jrrg4`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("interlay-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/interlay/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -112,19 +112,17 @@ impl vault_registry::WeightInfo for WeightInfo { /// 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: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// 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 { // Proof Size summary in bytes: - // Measured: `2500` - // Estimated: `153273` - // Minimum execution time: 599_603_000 picoseconds. - Weight::from_parts(620_154_000, 153273) - .saturating_add(T::DbWeight::get().reads(48_u64)) + // Measured: `2723` + // Estimated: `6260` + // Minimum execution time: 470_102_000 picoseconds. + Weight::from_parts(474_480_000, 6260) + .saturating_add(T::DbWeight::get().reads(47_u64)) .saturating_add(T::DbWeight::get().writes(17_u64)) } /// Storage: VaultRegistry VaultBitcoinPublicKey (r:1 w:1) @@ -133,8 +131,8 @@ impl vault_registry::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `365` // Estimated: `3546` - // Minimum execution time: 41_173_000 picoseconds. - Weight::from_parts(41_816_000, 3546) + // Minimum execution time: 30_792_000 picoseconds. + Weight::from_parts(31_042_000, 3546) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -190,17 +188,15 @@ impl vault_registry::WeightInfo for WeightInfo { /// 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: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// 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: `3442` - // Estimated: `111557` - // Minimum execution time: 484_070_000 picoseconds. - Weight::from_parts(505_433_000, 111557) - .saturating_add(T::DbWeight::get().reads(36_u64)) + // Measured: `3665` + // Estimated: `6260` + // Minimum execution time: 372_286_000 picoseconds. + Weight::from_parts(375_271_000, 6260) + .saturating_add(T::DbWeight::get().reads(35_u64)) .saturating_add(T::DbWeight::get().writes(12_u64)) } /// Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) @@ -255,17 +251,15 @@ impl vault_registry::WeightInfo for WeightInfo { /// 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: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// 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: `3442` - // Estimated: `111557` - // Minimum execution time: 491_781_000 picoseconds. - Weight::from_parts(504_920_000, 111557) - .saturating_add(T::DbWeight::get().reads(36_u64)) + // Measured: `3665` + // Estimated: `6260` + // Minimum execution time: 370_863_000 picoseconds. + Weight::from_parts(377_126_000, 6260) + .saturating_add(T::DbWeight::get().reads(35_u64)) .saturating_add(T::DbWeight::get().writes(12_u64)) } /// Storage: VaultRegistry MinimumCollateralVault (r:0 w:1) @@ -274,8 +268,8 @@ impl vault_registry::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_864_000 picoseconds. - Weight::from_parts(13_979_000, 0) + // Minimum execution time: 10_281_000 picoseconds. + Weight::from_parts(10_431_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: VaultRegistry SystemCollateralCeiling (r:0 w:1) @@ -284,8 +278,8 @@ impl vault_registry::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_539_000 picoseconds. - Weight::from_parts(14_105_000, 0) + // Minimum execution time: 10_441_000 picoseconds. + Weight::from_parts(10_581_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: VaultRegistry SecureCollateralThreshold (r:0 w:1) @@ -294,8 +288,8 @@ impl vault_registry::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 25_949_000 picoseconds. - Weight::from_parts(26_888_000, 0) + // Minimum execution time: 20_171_000 picoseconds. + Weight::from_parts(20_662_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: VaultRegistry PremiumRedeemThreshold (r:0 w:1) @@ -304,8 +298,8 @@ impl vault_registry::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 26_027_000 picoseconds. - Weight::from_parts(27_337_000, 0) + // Minimum execution time: 20_311_000 picoseconds. + Weight::from_parts(20_812_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: VaultRegistry LiquidationCollateralThreshold (r:0 w:1) @@ -314,8 +308,8 @@ impl vault_registry::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 42_707_000 picoseconds. - Weight::from_parts(50_021_000, 0) + // Minimum execution time: 20_170_000 picoseconds. + Weight::from_parts(20_982_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: VaultRegistry Vaults (r:1 w:1) @@ -348,8 +342,6 @@ impl vault_registry::WeightInfo for WeightInfo { /// 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: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: VaultStaking Stake (r:1 w:1) @@ -358,7 +350,7 @@ impl vault_registry::WeightInfo for WeightInfo { /// Proof: VaultStaking SlashPerToken (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking SlashTally (r:1 w:1) /// Proof: VaultStaking SlashTally (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: VaultCapacity Stake (r:1 w:1) + /// 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: VaultCapacity RewardPerToken (max_values: None, max_size: Some(59), added: 2534, mode: MaxEncodedLen) @@ -384,14 +376,10 @@ impl vault_registry::WeightInfo for WeightInfo { /// Proof: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) /// Storage: VaultRewards TotalStake (r:1 w:1) /// 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: VaultStaking RewardTally (max_values: None, max_size: Some(149), added: 2624, mode: MaxEncodedLen) /// Storage: VaultRewards RewardCurrencies (r:1 w:0) - /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) + /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(50), added: 2525, 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 RewardSupplyState (r:1 w:1) @@ -410,12 +398,12 @@ impl vault_registry::WeightInfo for WeightInfo { /// Proof: VaultRegistry LiquidationVault (max_values: None, max_size: Some(124), added: 2599, mode: MaxEncodedLen) fn report_undercollateralized_vault () -> Weight { // Proof Size summary in bytes: - // Measured: `4670` - // Estimated: `190133` - // Minimum execution time: 1_770_343_000 picoseconds. - Weight::from_parts(1_812_136_000, 190133) - .saturating_add(T::DbWeight::get().reads(60_u64)) - .saturating_add(T::DbWeight::get().writes(32_u64)) + // Measured: `4926` + // Estimated: `8799` + // Minimum execution time: 1_391_186_000 picoseconds. + Weight::from_parts(1_425_946_000, 8799) + .saturating_add(T::DbWeight::get().reads(57_u64)) + .saturating_add(T::DbWeight::get().writes(30_u64)) } /// Storage: VaultRegistry Vaults (r:1 w:1) /// Proof: VaultRegistry Vaults (max_values: None, max_size: Some(260), added: 2735, mode: MaxEncodedLen) @@ -423,8 +411,8 @@ impl vault_registry::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `669` // Estimated: `3725` - // Minimum execution time: 43_053_000 picoseconds. - Weight::from_parts(46_600_000, 3725) + // Minimum execution time: 30_451_000 picoseconds. + Weight::from_parts(31_273_000, 3725) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } From 9e4b39f608b52b245c8df8a5ac0b61f9b37eeab5 Mon Sep 17 00:00:00 2001 From: Interlay Bot Date: Mon, 7 Aug 2023 11:36:38 +0000 Subject: [PATCH 15/20] /benchmark kintsugi-dev --- .../src/weights/annuity_escrow_annuity.rs | 28 +-- .../src/weights/annuity_vault_annuity.rs | 20 +- .../runtime/kintsugi/src/weights/btc_relay.rs | 62 ++--- .../kintsugi/src/weights/clients_info.rs | 30 +-- .../src/weights/collator_selection.rs | 92 ++++---- .../src/weights/cumulus_pallet_xcmp_queue.rs | 14 +- .../runtime/kintsugi/src/weights/democracy.rs | 126 +++++----- .../kintsugi/src/weights/dex_general.rs | 148 ++++++------ .../kintsugi/src/weights/dex_stable.rs | 158 ++++++------- .../kintsugi/src/weights/dex_swap_router.rs | 14 +- .../runtime/kintsugi/src/weights/escrow.rs | 136 ++++++----- .../runtime/kintsugi/src/weights/farming.rs | 72 +++--- parachain/runtime/kintsugi/src/weights/fee.rs | 51 ++-- .../kintsugi/src/weights/frame_system.rs | 54 ++--- .../runtime/kintsugi/src/weights/issue.rs | 180 +++++++------- .../runtime/kintsugi/src/weights/loans.rs | 160 +++++++------ .../kintsugi/src/weights/nomination.rs | 117 +++++---- .../runtime/kintsugi/src/weights/oracle.rs | 51 ++-- .../src/weights/orml_asset_registry.rs | 22 +- .../kintsugi/src/weights/orml_tokens.rs | 46 ++-- .../kintsugi/src/weights/orml_vesting.rs | 30 +-- .../kintsugi/src/weights/pallet_collective.rs | 182 +++++++------- .../kintsugi/src/weights/pallet_identity.rs | 222 +++++++++--------- .../kintsugi/src/weights/pallet_membership.rs | 84 +++---- .../kintsugi/src/weights/pallet_multisig.rs | 90 +++---- .../kintsugi/src/weights/pallet_preimage.rs | 74 +++--- .../kintsugi/src/weights/pallet_proxy.rs | 136 ++++++----- .../kintsugi/src/weights/pallet_scheduler.rs | 84 +++---- .../kintsugi/src/weights/pallet_timestamp.rs | 22 +- .../kintsugi/src/weights/pallet_utility.rs | 38 +-- .../kintsugi/src/weights/pallet_xcm.rs | 95 ++++---- .../weights/pallet_xcm_benchmarks_fungible.rs | 54 ++--- .../weights/pallet_xcm_benchmarks_generic.rs | 146 ++++++------ .../runtime/kintsugi/src/weights/redeem.rs | 94 ++++---- .../runtime/kintsugi/src/weights/replace.rs | 106 ++++----- .../runtime/kintsugi/src/weights/security.rs | 26 +- .../runtime/kintsugi/src/weights/supply.rs | 18 +- .../runtime/kintsugi/src/weights/tx_pause.rs | 14 +- .../kintsugi/src/weights/vault_registry.rs | 92 ++++---- 39 files changed, 1583 insertions(+), 1605 deletions(-) diff --git a/parachain/runtime/kintsugi/src/weights/annuity_escrow_annuity.rs b/parachain/runtime/kintsugi/src/weights/annuity_escrow_annuity.rs index 66ab9ad633..e2eff42995 100644 --- a/parachain/runtime/kintsugi/src/weights/annuity_escrow_annuity.rs +++ b/parachain/runtime/kintsugi/src/weights/annuity_escrow_annuity.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for annuity //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -44,8 +44,8 @@ impl annuity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 17_085_000 picoseconds. - Weight::from_parts(18_252_000, 0) + // Minimum execution time: 13_728_000 picoseconds. + Weight::from_parts(14_158_000, 0) } /// Storage: EscrowRewards Stake (r:1 w:0) /// Proof: EscrowRewards Stake (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) @@ -61,10 +61,10 @@ impl annuity::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn withdraw_rewards () -> Weight { // Proof Size summary in bytes: - // Measured: `747` - // Estimated: `23880` - // Minimum execution time: 153_976_000 picoseconds. - Weight::from_parts(164_810_000, 23880) + // Measured: `1014` + // Estimated: `6170` + // Minimum execution time: 121_143_000 picoseconds. + Weight::from_parts(123_798_000, 6170) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -72,17 +72,17 @@ impl annuity::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) fn update_rewards () -> Weight { // Proof Size summary in bytes: - // Measured: `319` + // Measured: `536` // Estimated: `3580` - // Minimum execution time: 27_481_000 picoseconds. - Weight::from_parts(29_748_000, 3580) + // Minimum execution time: 22_445_000 picoseconds. + Weight::from_parts(23_297_000, 3580) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn set_reward_per_wrapped () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_313_000 picoseconds. - Weight::from_parts(10_906_000, 0) + // Minimum execution time: 8_597_000 picoseconds. + Weight::from_parts(9_098_000, 0) } } \ No newline at end of file diff --git a/parachain/runtime/kintsugi/src/weights/annuity_vault_annuity.rs b/parachain/runtime/kintsugi/src/weights/annuity_vault_annuity.rs index 6d3689fa5e..5b5d2c3996 100644 --- a/parachain/runtime/kintsugi/src/weights/annuity_vault_annuity.rs +++ b/parachain/runtime/kintsugi/src/weights/annuity_vault_annuity.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for annuity //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -44,8 +44,8 @@ impl annuity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 17_766_000 picoseconds. - Weight::from_parts(19_482_000, 0) + // Minimum execution time: 14_188_000 picoseconds. + Weight::from_parts(14_780_000, 0) } fn withdraw_rewards () -> Weight { // Proof Size summary in bytes: @@ -58,17 +58,17 @@ impl annuity::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) fn update_rewards () -> Weight { // Proof Size summary in bytes: - // Measured: `319` + // Measured: `536` // Estimated: `3580` - // Minimum execution time: 27_247_000 picoseconds. - Weight::from_parts(28_914_000, 3580) + // Minimum execution time: 22_295_000 picoseconds. + Weight::from_parts(23_336_000, 3580) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn set_reward_per_wrapped () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_352_000 picoseconds. - Weight::from_parts(11_276_000, 0) + // Minimum execution time: 8_397_000 picoseconds. + Weight::from_parts(8_838_000, 0) } } \ No newline at end of file diff --git a/parachain/runtime/kintsugi/src/weights/btc_relay.rs b/parachain/runtime/kintsugi/src/weights/btc_relay.rs index 6b304bca0f..4a89ccbe56 100644 --- a/parachain/runtime/kintsugi/src/weights/btc_relay.rs +++ b/parachain/runtime/kintsugi/src/weights/btc_relay.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for btc_relay //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -62,10 +62,10 @@ impl btc_relay::WeightInfo for WeightInfo { /// Proof: BTCRelay BlockHeaders (max_values: None, max_size: Some(200), added: 2675, mode: MaxEncodedLen) fn initialize () -> Weight { // Proof Size summary in bytes: - // Measured: `430` - // Estimated: `9470` - // Minimum execution time: 88_622_000 picoseconds. - Weight::from_parts(92_834_000, 9470) + // Measured: `403` + // Estimated: `3489` + // Minimum execution time: 66_834_000 picoseconds. + Weight::from_parts(67_535_000, 3489) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -87,10 +87,10 @@ impl btc_relay::WeightInfo for WeightInfo { /// Proof: BTCRelay BestBlockHeight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn store_block_header () -> Weight { // Proof Size summary in bytes: - // Measured: `901` - // Estimated: `17838` - // Minimum execution time: 107_478_000 picoseconds. - Weight::from_parts(124_199_000, 17838) + // Measured: `874` + // Estimated: `6340` + // Minimum execution time: 82_235_000 picoseconds. + Weight::from_parts(83_036_000, 6340) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -113,16 +113,16 @@ impl btc_relay::WeightInfo for WeightInfo { /// The range of component `f` is `[1, 6]`. fn store_block_header_new_fork_sorted (f: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `841 + f * (92 ±0)` - // Estimated: `16800 + f * (5006 ±0)` - // Minimum execution time: 127_171_000 picoseconds. - Weight::from_parts(119_162_694, 16800) - // Standard Error: 289_559 - .saturating_add(Weight::from_parts(15_384_438, 0).saturating_mul(f.into())) + // Measured: `806 + f * (101 ±0)` + // Estimated: `6340 + f * (2507 ±0)` + // Minimum execution time: 93_938_000 picoseconds. + Weight::from_parts(85_636_123, 6340) + // Standard Error: 86_395 + .saturating_add(Weight::from_parts(10_763_758, 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)) - .saturating_add(Weight::from_parts(0, 5006).saturating_mul(f.into())) + .saturating_add(Weight::from_parts(0, 2507).saturating_mul(f.into())) } /// Storage: BTCRelay ChainCounter (r:1 w:1) /// Proof: BTCRelay ChainCounter (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -143,17 +143,17 @@ impl btc_relay::WeightInfo for WeightInfo { /// The range of component `f` is `[1, 6]`. fn store_block_header_new_fork_unsorted (f: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `920 + f * (98 ±0)` - // Estimated: `19871 + f * (2975 ±0)` - // Minimum execution time: 129_690_000 picoseconds. - Weight::from_parts(125_641_286, 19871) - // Standard Error: 277_759 - .saturating_add(Weight::from_parts(17_567_366, 0).saturating_mul(f.into())) + // Measured: `842 + f * (99 ±0)` + // Estimated: `6340 + f * (2499 ±31)` + // Minimum execution time: 95_491_000 picoseconds. + Weight::from_parts(87_545_230, 6340) + // Standard Error: 88_777 + .saturating_add(Weight::from_parts(13_033_203, 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, 2975).saturating_mul(f.into())) + .saturating_add(Weight::from_parts(0, 2499).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) @@ -178,12 +178,12 @@ impl btc_relay::WeightInfo for WeightInfo { /// The range of component `f` is `[3, 6]`. fn store_block_header_reorganize_chains (f: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4937 + f * (199 ±0)` - // Estimated: `109561 + f * (1340 ±45)` - // Minimum execution time: 663_509_000 picoseconds. - Weight::from_parts(656_899_818, 109561) - // Standard Error: 923_781 - .saturating_add(Weight::from_parts(16_944_084, 0).saturating_mul(f.into())) + // Measured: `4741 + f * (240 ±0)` + // Estimated: `54490 + f * (1340 ±45)` + // Minimum execution time: 513_248_000 picoseconds. + Weight::from_parts(504_054_659, 54490) + // Standard Error: 322_620 + .saturating_add(Weight::from_parts(7_203_738, 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)) diff --git a/parachain/runtime/kintsugi/src/weights/clients_info.rs b/parachain/runtime/kintsugi/src/weights/clients_info.rs index 6a28c005e4..8002badb38 100644 --- a/parachain/runtime/kintsugi/src/weights/clients_info.rs +++ b/parachain/runtime/kintsugi/src/weights/clients_info.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for clients_info //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -44,30 +44,30 @@ impl clients_info::WeightInfo for WeightInfo { /// 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: `0` // Estimated: `0` - // Minimum execution time: 29_991_000 picoseconds. - Weight::from_parts(33_156_363, 0) - // Standard Error: 2_280 - .saturating_add(Weight::from_parts(5_748, 0).saturating_mul(n.into())) + // Minimum execution time: 23_156_000 picoseconds. + Weight::from_parts(15_199_745, 0) + // Standard Error: 2_357 + .saturating_add(Weight::from_parts(33_907, 0).saturating_mul(n.into())) + // Standard Error: 2_357 + .saturating_add(Weight::from_parts(25_678, 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: `0` // Estimated: `0` - // Minimum execution time: 30_050_000 picoseconds. - Weight::from_parts(30_251_578, 0) - // Standard Error: 1_658 - .saturating_add(Weight::from_parts(12_923, 0).saturating_mul(n.into())) - // Standard Error: 1_658 - .saturating_add(Weight::from_parts(6_099, 0).saturating_mul(u.into())) + // Minimum execution time: 23_888_000 picoseconds. + Weight::from_parts(25_894_200, 0) + // Standard Error: 752 + .saturating_add(Weight::from_parts(712, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/kintsugi/src/weights/collator_selection.rs b/parachain/runtime/kintsugi/src/weights/collator_selection.rs index ef73b545f7..6c9695a663 100644 --- a/parachain/runtime/kintsugi/src/weights/collator_selection.rs +++ b/parachain/runtime/kintsugi/src/weights/collator_selection.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for collator_selection //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -47,12 +47,12 @@ impl collator_selection::WeightInfo for WeightInfo { /// The range of component `b` is `[1, 100]`. fn set_invulnerables (b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `217 + b * (78 ±0)` - // Estimated: `1207 + b * (2554 ±0)` - // Minimum execution time: 35_613_000 picoseconds. - Weight::from_parts(31_790_848, 1207) - // Standard Error: 36_475 - .saturating_add(Weight::from_parts(6_820_740, 0).saturating_mul(b.into())) + // Measured: `252 + b * (78 ±0)` + // Estimated: `1241 + b * (2554 ±0)` + // Minimum execution time: 28_928_000 picoseconds. + Weight::from_parts(30_022_286, 1241) + // Standard Error: 9_605 + .saturating_add(Weight::from_parts(4_927_606, 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())) @@ -63,8 +63,8 @@ impl collator_selection::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 18_488_000 picoseconds. - Weight::from_parts(19_167_000, 0) + // Minimum execution time: 15_451_000 picoseconds. + Weight::from_parts(15_882_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: CollatorSelection CandidacyBond (r:0 w:1) @@ -73,8 +73,8 @@ impl collator_selection::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 18_984_000 picoseconds. - Weight::from_parts(19_609_000, 0) + // Minimum execution time: 16_102_000 picoseconds. + Weight::from_parts(16_673_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: CollatorSelection Candidates (r:1 w:1) @@ -95,18 +95,18 @@ impl collator_selection::WeightInfo for WeightInfo { /// Proof: Escrow Reserved (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// The range of component `c` is `[1, 999]`. + /// The range of component `c` is `[1, 19]`. fn register_as_candidate (c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2801 + c * (49 ±0)` - // Estimated: `73766 + c * (50 ±0)` - // Minimum execution time: 98_960_000 picoseconds. - Weight::from_parts(132_006_984, 73766) - // Standard Error: 4_063 - .saturating_add(Weight::from_parts(281_283, 0).saturating_mul(c.into())) + // Measured: `902 + c * (96 ±0)` + // Estimated: `49487 + c * (97 ±0)` + // Minimum execution time: 77_295_000 picoseconds. + Weight::from_parts(80_119_617, 49487) + // Standard Error: 10_631 + .saturating_add(Weight::from_parts(333_051, 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())) + .saturating_add(Weight::from_parts(0, 97).saturating_mul(c.into())) } /// Storage: CollatorSelection Candidates (r:1 w:1) /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(48002), added: 48497, mode: MaxEncodedLen) @@ -114,15 +114,15 @@ impl collator_selection::WeightInfo for WeightInfo { /// Proof: Escrow Reserved (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// The range of component `c` is `[6, 1000]`. + /// The range of component `c` is `[6, 20]`. fn leave_intent (c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `983 + c * (48 ±0)` - // Estimated: `53016` - // Minimum execution time: 58_156_000 picoseconds. - Weight::from_parts(94_971_545, 53016) - // Standard Error: 13_379 - .saturating_add(Weight::from_parts(252_123, 0).saturating_mul(c.into())) + // Measured: `402 + c * (64 ±0)` + // Estimated: `49487` + // Minimum execution time: 41_543_000 picoseconds. + Weight::from_parts(41_188_765, 49487) + // Standard Error: 10_873 + .saturating_add(Weight::from_parts(201_069, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -134,10 +134,10 @@ impl collator_selection::WeightInfo for WeightInfo { /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) fn note_author () -> Weight { // Proof Size summary in bytes: - // Measured: `319` - // Estimated: `9763` - // Minimum execution time: 84_973_000 picoseconds. - Weight::from_parts(87_916_000, 9763) + // Measured: `650` + // Estimated: `6170` + // Minimum execution time: 71_283_000 picoseconds. + Weight::from_parts(72_435_000, 6170) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -145,30 +145,30 @@ impl collator_selection::WeightInfo for WeightInfo { /// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(48002), added: 48497, mode: MaxEncodedLen) /// Storage: CollatorSelection CandidacyBond (r:1 w:0) /// Proof: CollatorSelection CandidacyBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: CollatorSelection LastAuthoredBlock (r:999 w:0) + /// Storage: CollatorSelection LastAuthoredBlock (r:20 w:0) /// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: Escrow UserPointEpoch (r:999 w:0) + /// Storage: Escrow UserPointEpoch (r:20 w:0) /// Proof: Escrow UserPointEpoch (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) - /// Storage: Escrow UserPointHistory (r:999 w:0) + /// Storage: Escrow UserPointHistory (r:20 w:0) /// 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:995 w:995) + /// Storage: Escrow Reserved (r:15 w:15) /// 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]`. + /// The range of component `r` is `[1, 20]`. + /// The range of component `c` is `[1, 20]`. fn new_session (r: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `23641 + r * (50 ±0) + c * (193 ±0)` - // Estimated: `58645 + c * (7610 ±0) + r * (2538 ±0)` - // Minimum execution time: 69_800_000 picoseconds. - Weight::from_parts(71_300_000, 58645) - // Standard Error: 1_581_374 - .saturating_add(Weight::from_parts(89_845_173, 0).saturating_mul(c.into())) + // Measured: `793 + c * (194 ±0) + r * (47 ±0)` + // Estimated: `49487 + c * (2563 ±0) + r * (2207 ±23)` + // Minimum execution time: 52_586_000 picoseconds. + Weight::from_parts(53_397_000, 49487) + // Standard Error: 441_635 + .saturating_add(Weight::from_parts(25_597_481, 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, 7610).saturating_mul(c.into())) - .saturating_add(Weight::from_parts(0, 2538).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2563).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2207).saturating_mul(r.into())) } } \ No newline at end of file diff --git a/parachain/runtime/kintsugi/src/weights/cumulus_pallet_xcmp_queue.rs b/parachain/runtime/kintsugi/src/weights/cumulus_pallet_xcmp_queue.rs index 4ddfa187d4..1325f37aa3 100644 --- a/parachain/runtime/kintsugi/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/parachain/runtime/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -46,8 +46,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `4` // Estimated: `1489` - // Minimum execution time: 13_474_000 picoseconds. - Weight::from_parts(14_433_000, 1489) + // Minimum execution time: 10_922_000 picoseconds. + Weight::from_parts(11_643_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -57,8 +57,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `4` // Estimated: `1489` - // Minimum execution time: 13_779_000 picoseconds. - Weight::from_parts(14_656_000, 1489) + // Minimum execution time: 10_761_000 picoseconds. + Weight::from_parts(11_012_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/parachain/runtime/kintsugi/src/weights/democracy.rs b/parachain/runtime/kintsugi/src/weights/democracy.rs index 1e7682031b..586b9d429f 100644 --- a/parachain/runtime/kintsugi/src/weights/democracy.rs +++ b/parachain/runtime/kintsugi/src/weights/democracy.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for democracy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -54,10 +54,10 @@ impl democracy::WeightInfo for WeightInfo { /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) fn propose () -> Weight { // Proof Size summary in bytes: - // Measured: `6110` - // Estimated: `30275` - // Minimum execution time: 117_322_000 picoseconds. - Weight::from_parts(131_587_000, 30275) + // Measured: `6137` + // Estimated: `18187` + // Minimum execution time: 71_353_000 picoseconds. + Weight::from_parts(72_285_000, 18187) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -71,10 +71,10 @@ impl democracy::WeightInfo for WeightInfo { /// Proof: Escrow Reserved (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) fn second () -> Weight { // Proof Size summary in bytes: - // Measured: `4802` - // Estimated: `17294` - // Minimum execution time: 89_592_000 picoseconds. - Weight::from_parts(97_799_000, 17294) + // Measured: `4829` + // Estimated: `6695` + // Minimum execution time: 57_224_000 picoseconds. + Weight::from_parts(58_467_000, 6695) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -90,10 +90,10 @@ impl democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(2142), added: 4617, mode: MaxEncodedLen) fn vote_new () -> Weight { // Proof Size summary in bytes: - // Measured: `3160` - // Estimated: `19872` - // Minimum execution time: 93_699_000 picoseconds. - Weight::from_parts(101_855_000, 19872) + // Measured: `3187` + // Estimated: `5607` + // Minimum execution time: 57_756_000 picoseconds. + Weight::from_parts(59_539_000, 5607) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -109,10 +109,10 @@ impl democracy::WeightInfo for WeightInfo { /// Proof: Democracy VotingOf (max_values: None, max_size: Some(2142), added: 4617, mode: MaxEncodedLen) fn vote_existing () -> Weight { // Proof Size summary in bytes: - // Measured: `3181` - // Estimated: `19872` - // Minimum execution time: 97_734_000 picoseconds. - Weight::from_parts(106_301_000, 19872) + // Measured: `3208` + // Estimated: `5607` + // Minimum execution time: 57_966_000 picoseconds. + Weight::from_parts(58_347_000, 5607) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -128,10 +128,10 @@ impl democracy::WeightInfo for WeightInfo { /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) fn fast_track () -> Weight { // Proof Size summary in bytes: - // Measured: `398` - // Estimated: `29900` - // Minimum execution time: 74_046_000 picoseconds. - Weight::from_parts(75_221_000, 29900) + // Measured: `425` + // Estimated: `18187` + // Minimum execution time: 57_796_000 picoseconds. + Weight::from_parts(59_529_000, 18187) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -139,10 +139,10 @@ impl democracy::WeightInfo for WeightInfo { /// 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: `221` + // Measured: `248` // Estimated: `3666` - // Minimum execution time: 40_319_000 picoseconds. - Weight::from_parts(42_100_000, 3666) + // Minimum execution time: 32_916_000 picoseconds. + Weight::from_parts(33_847_000, 3666) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -154,10 +154,10 @@ impl democracy::WeightInfo for WeightInfo { /// Proof: Escrow Reserved (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) fn cancel_proposal () -> Weight { // Proof Size summary in bytes: - // Measured: `6169` - // Estimated: `28411` - // Minimum execution time: 151_246_000 picoseconds. - Weight::from_parts(159_233_000, 28411) + // Measured: `6196` + // Estimated: `18187` + // Minimum execution time: 93_818_000 picoseconds. + Weight::from_parts(96_243_000, 18187) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -165,10 +165,10 @@ impl democracy::WeightInfo for WeightInfo { /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) fn cancel_referendum () -> Weight { // Proof Size summary in bytes: - // Measured: `221` + // Measured: `248` // Estimated: `3666` - // Minimum execution time: 35_511_000 picoseconds. - Weight::from_parts(36_860_000, 3666) + // Minimum execution time: 27_725_000 picoseconds. + Weight::from_parts(28_487_000, 3666) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -195,12 +195,12 @@ impl democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_public (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `426 + r * (86 ±0)` - // Estimated: `40282 + r * (2677 ±0)` - // Minimum execution time: 83_314_000 picoseconds. - Weight::from_parts(95_868_472, 40282) - // Standard Error: 58_322 - .saturating_add(Weight::from_parts(24_100_198, 0).saturating_mul(r.into())) + // Measured: `453 + r * (86 ±0)` + // Estimated: `18187 + r * (2677 ±0)` + // Minimum execution time: 69_790_000 picoseconds. + Weight::from_parts(74_778_560, 18187) + // Standard Error: 33_978 + .saturating_add(Weight::from_parts(19_026_642, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(6_u64)) @@ -222,12 +222,12 @@ impl democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `144 + r * (86 ±0)` - // Estimated: `25141 + r * (2676 ±0)` - // Minimum execution time: 21_865_000 picoseconds. - Weight::from_parts(22_116_633, 25141) - // Standard Error: 26_988 - .saturating_add(Weight::from_parts(6_739_860, 0).saturating_mul(r.into())) + // Measured: `171 + r * (86 ±0)` + // Estimated: `18187 + r * (2676 ±0)` + // Minimum execution time: 19_809_000 picoseconds. + Weight::from_parts(20_605_829, 18187) + // Standard Error: 11_119 + .saturating_add(Weight::from_parts(5_000_060, 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)) @@ -248,12 +248,12 @@ impl democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `144 + r * (86 ±0)` - // Estimated: `25141 + r * (2676 ±0)` - // Minimum execution time: 21_960_000 picoseconds. - Weight::from_parts(22_159_000, 25141) - // Standard Error: 160_991 - .saturating_add(Weight::from_parts(7_413_232, 0).saturating_mul(r.into())) + // Measured: `171 + r * (86 ±0)` + // Estimated: `18187 + r * (2676 ±0)` + // Minimum execution time: 19_840_000 picoseconds. + Weight::from_parts(13_604_611, 18187) + // Standard Error: 72_687 + .saturating_add(Weight::from_parts(5_272_806, 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)) @@ -265,8 +265,8 @@ impl democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 17_879_000 picoseconds. - Weight::from_parts(26_076_000, 0) + // Minimum execution time: 6_814_000 picoseconds. + Weight::from_parts(7_104_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Democracy ReferendumInfoOf (r:1 w:1) @@ -276,12 +276,12 @@ impl democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_vote (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `598 + r * (25 ±0)` - // Estimated: `9273` - // Minimum execution time: 41_711_000 picoseconds. - Weight::from_parts(100_426_550, 9273) - // Standard Error: 108_886 - .saturating_add(Weight::from_parts(797_476, 0).saturating_mul(r.into())) + // Measured: `625 + r * (25 ±0)` + // Estimated: `5607` + // Minimum execution time: 28_086_000 picoseconds. + Weight::from_parts(33_138_291, 5607) + // Standard Error: 3_852 + .saturating_add(Weight::from_parts(113_162, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -291,10 +291,10 @@ impl democracy::WeightInfo for WeightInfo { /// 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: 151_809_000 picoseconds. - Weight::from_parts(255_556_000, 9763) + // Measured: `536` + // Estimated: `6170` + // Minimum execution time: 67_766_000 picoseconds. + Weight::from_parts(69_309_000, 6170) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } diff --git a/parachain/runtime/kintsugi/src/weights/dex_general.rs b/parachain/runtime/kintsugi/src/weights/dex_general.rs index fa2c68af89..7d520b8937 100644 --- a/parachain/runtime/kintsugi/src/weights/dex_general.rs +++ b/parachain/runtime/kintsugi/src/weights/dex_general.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for dex_general //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -44,10 +44,10 @@ impl dex_general::WeightInfo for WeightInfo { /// 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: `3` + // Measured: `4` // Estimated: `1519` - // Minimum execution time: 30_872_000 picoseconds. - Weight::from_parts(33_884_000, 1519) + // Minimum execution time: 13_237_000 picoseconds. + Weight::from_parts(13_527_000, 1519) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -55,10 +55,10 @@ impl dex_general::WeightInfo for WeightInfo { /// 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: `3` + // Measured: `4` // Estimated: `1519` - // Minimum execution time: 48_165_000 picoseconds. - Weight::from_parts(56_968_000, 1519) + // Minimum execution time: 22_024_000 picoseconds. + Weight::from_parts(22_796_000, 1519) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -68,10 +68,10 @@ impl dex_general::WeightInfo for WeightInfo { /// Proof: DexGeneral LiquidityPairs (max_values: None, max_size: Some(50), added: 2525, mode: MaxEncodedLen) fn create_pair () -> Weight { // Proof Size summary in bytes: - // Measured: `3` + // Measured: `4` // Estimated: `3628` - // Minimum execution time: 63_937_000 picoseconds. - Weight::from_parts(86_321_000, 3628) + // Minimum execution time: 32_094_000 picoseconds. + Weight::from_parts(32_836_000, 3628) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -85,14 +85,14 @@ impl dex_general::WeightInfo for WeightInfo { /// The range of component `l` is `[1, 10]`. fn bootstrap_create (r: u32, l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3` + // Measured: `4` // Estimated: `3628` - // Minimum execution time: 51_733_000 picoseconds. - Weight::from_parts(110_419_525, 3628) - // Standard Error: 803_059 - .saturating_add(Weight::from_parts(1_188_210, 0).saturating_mul(r.into())) - // Standard Error: 803_059 - .saturating_add(Weight::from_parts(1_519_748, 0).saturating_mul(l.into())) + // Minimum execution time: 38_747_000 picoseconds. + Weight::from_parts(38_599_014, 3628) + // Standard Error: 6_559 + .saturating_add(Weight::from_parts(69_180, 0).saturating_mul(r.into())) + // Standard Error: 6_559 + .saturating_add(Weight::from_parts(152_288, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -108,10 +108,10 @@ impl dex_general::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn bootstrap_contribute () -> Weight { // Proof Size summary in bytes: - // Measured: `671` - // Estimated: `52635` - // Minimum execution time: 216_308_000 picoseconds. - Weight::from_parts(740_397_000, 52635) + // Measured: `941` + // Estimated: `30497` + // Minimum execution time: 156_172_000 picoseconds. + Weight::from_parts(158_808_000, 30497) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -131,10 +131,10 @@ impl dex_general::WeightInfo for WeightInfo { /// Proof: DexGeneral BootstrapRewards (max_values: None, max_size: Some(27032), added: 29507, mode: MaxEncodedLen) fn bootstrap_claim () -> Weight { // Proof Size summary in bytes: - // Measured: `1231` - // Estimated: `54598` - // Minimum execution time: 295_123_000 picoseconds. - Weight::from_parts(514_541_000, 54598) + // Measured: `1486` + // Estimated: `30497` + // Minimum execution time: 131_593_000 picoseconds. + Weight::from_parts(133_668_000, 30497) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -152,10 +152,10 @@ impl dex_general::WeightInfo for WeightInfo { /// Proof: DexGeneral BootstrapEndStatus (max_values: None, max_size: Some(163), added: 2638, mode: MaxEncodedLen) fn bootstrap_end () -> Weight { // Proof Size summary in bytes: - // Measured: `893` - // Estimated: `27264` - // Minimum execution time: 489_279_000 picoseconds. - Weight::from_parts(1_033_867_000, 27264) + // Measured: `1200` + // Estimated: `13940` + // Minimum execution time: 193_808_000 picoseconds. + Weight::from_parts(195_532_000, 13940) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -169,14 +169,14 @@ impl dex_general::WeightInfo for WeightInfo { /// The range of component `l` is `[1, 10]`. fn bootstrap_update (r: u32, l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `259 + r * (21 ±0)` - // Estimated: `34125` - // Minimum execution time: 63_115_000 picoseconds. - Weight::from_parts(128_977_323, 34125) - // Standard Error: 845_796 - .saturating_add(Weight::from_parts(1_311_388, 0).saturating_mul(r.into())) - // Standard Error: 845_796 - .saturating_add(Weight::from_parts(1_817_881, 0).saturating_mul(l.into())) + // Measured: `260 + r * (21 ±0)` + // Estimated: `30497` + // Minimum execution time: 47_184_000 picoseconds. + Weight::from_parts(46_969_960, 30497) + // Standard Error: 17_557 + .saturating_add(Weight::from_parts(280_693, 0).saturating_mul(r.into())) + // Standard Error: 17_557 + .saturating_add(Weight::from_parts(82_621, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -190,10 +190,10 @@ impl dex_general::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn bootstrap_refund () -> Weight { // Proof Size summary in bytes: - // Measured: `1046` - // Estimated: `22138` - // Minimum execution time: 263_656_000 picoseconds. - Weight::from_parts(354_866_000, 22138) + // Measured: `1301` + // Estimated: `11350` + // Minimum execution time: 121_774_000 picoseconds. + Weight::from_parts(123_046_000, 11350) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -213,10 +213,10 @@ impl dex_general::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn add_liquidity () -> Weight { // Proof Size summary in bytes: - // Measured: `704` - // Estimated: `33222` - // Minimum execution time: 496_537_000 picoseconds. - Weight::from_parts(659_502_000, 33222) + // Measured: `974` + // Estimated: `13940` + // Minimum execution time: 215_782_000 picoseconds. + Weight::from_parts(216_514_000, 13940) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -236,10 +236,10 @@ impl dex_general::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn remove_liquidity () -> Weight { // Proof Size summary in bytes: - // Measured: `1188` - // Estimated: `33222` - // Minimum execution time: 422_836_000 picoseconds. - Weight::from_parts(483_090_000, 33222) + // Measured: `1443` + // Estimated: `13940` + // Minimum execution time: 182_105_000 picoseconds. + Weight::from_parts(183_497_000, 13940) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -252,16 +252,16 @@ impl dex_general::WeightInfo for WeightInfo { /// The range of component `a` is `[2, 10]`. fn swap_exact_assets_for_assets (a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + a * (435 ±0)` - // Estimated: `8211 + a * (8825 ±0)` - // Minimum execution time: 172_610_000 picoseconds. - Weight::from_parts(29_758_854, 8211) - // Standard Error: 5_812_451 - .saturating_add(Weight::from_parts(186_798_476, 0).saturating_mul(a.into())) + // Measured: `224 + a * (459 ±0)` + // Estimated: `3628 + a * (5180 ±0)` + // Minimum execution time: 134_419_000 picoseconds. + Weight::from_parts(8_495_929, 3628) + // Standard Error: 92_959 + .saturating_add(Weight::from_parts(64_344_913, 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, 8825).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 5180).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) @@ -272,16 +272,16 @@ impl dex_general::WeightInfo for WeightInfo { /// The range of component `a` is `[2, 10]`. fn swap_assets_for_exact_assets (a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + a * (435 ±0)` - // Estimated: `8211 + a * (8825 ±22)` - // Minimum execution time: 182_279_000 picoseconds. - Weight::from_parts(470_682_585, 8211) - // Standard Error: 3_226_168 - .saturating_add(Weight::from_parts(29_735_625, 0).saturating_mul(a.into())) + // Measured: `224 + a * (459 ±0)` + // Estimated: `3628 + a * (5180 ±22)` + // Minimum execution time: 134_610_000 picoseconds. + Weight::from_parts(9_747_661, 3628) + // Standard Error: 97_108 + .saturating_add(Weight::from_parts(63_951_511, 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, 8825).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 5180).saturating_mul(a.into())) } /// Storage: DexGeneral BootstrapRewards (r:1 w:1) /// Proof: DexGeneral BootstrapRewards (max_values: None, max_size: Some(27032), added: 29507, mode: MaxEncodedLen) @@ -292,12 +292,12 @@ impl dex_general::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 10]`. fn bootstrap_charge_reward (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `376 + r * (88 ±0)` - // Estimated: `35080 + r * (5180 ±0)` - // Minimum execution time: 110_830_000 picoseconds. - Weight::from_parts(66_891_238, 35080) - // Standard Error: 239_313 - .saturating_add(Weight::from_parts(56_380_379, 0).saturating_mul(r.into())) + // Measured: `646 + r * (88 ±0)` + // Estimated: `30497 + r * (5180 ±0)` + // Minimum execution time: 93_807_000 picoseconds. + Weight::from_parts(52_406_460, 30497) + // Standard Error: 40_599 + .saturating_add(Weight::from_parts(43_799_179, 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)) @@ -308,10 +308,10 @@ impl dex_general::WeightInfo for WeightInfo { /// 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: `135` + // Measured: `136` // Estimated: `30497` - // Minimum execution time: 39_192_000 picoseconds. - Weight::from_parts(42_401_000, 30497) + // Minimum execution time: 29_780_000 picoseconds. + Weight::from_parts(30_321_000, 30497) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/parachain/runtime/kintsugi/src/weights/dex_stable.rs b/parachain/runtime/kintsugi/src/weights/dex_stable.rs index fb3ff28b75..93ac2b6b24 100644 --- a/parachain/runtime/kintsugi/src/weights/dex_stable.rs +++ b/parachain/runtime/kintsugi/src/weights/dex_stable.rs @@ -2,17 +2,17 @@ //! Autogenerated weights for dex_stable //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-10, STEPS: `10`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: ``, CPU: `Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: -// ./target/debug/interbtc-parachain +// target/release/interbtc-parachain // benchmark // pallet // --pallet -// dex-stable +// * // --extrinsic // * // --chain @@ -20,11 +20,11 @@ // --execution=wasm // --wasm-execution=compiled // --steps -// 10 +// 50 // --repeat -// 1 +// 10 // --output -// parachain/runtime/kintsugi/src/weights +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -52,12 +52,12 @@ impl dex_stable::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn create_base_pool (b: u32, _s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `175` + // Measured: `227` // Estimated: `4281` - // Minimum execution time: 923_222_000 picoseconds. - Weight::from_parts(930_939_034, 4281) - // Standard Error: 317_902 - .saturating_add(Weight::from_parts(154_311, 0).saturating_mul(b.into())) + // Minimum execution time: 55_992_000 picoseconds. + Weight::from_parts(56_658_626, 4281) + // Standard Error: 8_375 + .saturating_add(Weight::from_parts(154_956, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -77,14 +77,14 @@ impl dex_stable::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn create_meta_pool (m: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1355` + // Measured: `1426` // Estimated: `7572` - // Minimum execution time: 1_510_682_000 picoseconds. - Weight::from_parts(1_509_960_386, 7572) - // Standard Error: 602_158 - .saturating_add(Weight::from_parts(914_689, 0).saturating_mul(m.into())) - // Standard Error: 103_829 - .saturating_add(Weight::from_parts(96_679, 0).saturating_mul(s.into())) + // Minimum execution time: 104_991_000 picoseconds. + Weight::from_parts(106_170_089, 7572) + // Standard Error: 150_554 + .saturating_add(Weight::from_parts(92_297, 0).saturating_mul(m.into())) + // Standard Error: 25_055 + .saturating_add(Weight::from_parts(69_010, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -101,12 +101,12 @@ impl dex_stable::WeightInfo for WeightInfo { /// The range of component `b` is `[2, 10]`. fn add_liquidity (b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `948 + b * (125 ±0)` + // Measured: `1264 + b * (125 ±0)` // Estimated: `4281 + b * (5180 ±0)` - // Minimum execution time: 3_222_842_000 picoseconds. - Weight::from_parts(1_446_309_446, 4281) - // Standard Error: 885_938 - .saturating_add(Weight::from_parts(889_673_438, 0).saturating_mul(b.into())) + // Minimum execution time: 196_874_000 picoseconds. + Weight::from_parts(98_585_099, 4281) + // Standard Error: 77_387 + .saturating_add(Weight::from_parts(50_481_828, 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)) @@ -123,10 +123,10 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn swap () -> Weight { // Proof Size summary in bytes: - // Measured: `2108` + // Measured: `2366` // Estimated: `11350` - // Minimum execution time: 2_137_339_000 picoseconds. - Weight::from_parts(2_137_339_000, 11350) + // Minimum execution time: 155_441_000 picoseconds. + Weight::from_parts(157_406_000, 11350) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -141,12 +141,12 @@ impl dex_stable::WeightInfo for WeightInfo { /// The range of component `b` is `[2, 10]`. fn remove_liquidity (b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1057 + b * (192 ±0)` + // Measured: `1315 + b * (192 ±0)` // Estimated: `4281 + b * (5180 ±0)` - // Minimum execution time: 2_515_350_000 picoseconds. - Weight::from_parts(1_306_368_241, 4281) - // Standard Error: 2_505_739 - .saturating_add(Weight::from_parts(599_062_653, 0).saturating_mul(b.into())) + // Minimum execution time: 152_626_000 picoseconds. + Weight::from_parts(84_999_040, 4281) + // Standard Error: 67_946 + .saturating_add(Weight::from_parts(34_274_766, 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)) @@ -165,10 +165,10 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn remove_liquidity_one_currency () -> Weight { // Proof Size summary in bytes: - // Measured: `2207` + // Measured: `2465` // Estimated: `8760` - // Minimum execution time: 2_167_491_000 picoseconds. - Weight::from_parts(2_167_491_000, 8760) + // Minimum execution time: 178_487_000 picoseconds. + Weight::from_parts(180_611_000, 8760) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -185,12 +185,12 @@ impl dex_stable::WeightInfo for WeightInfo { /// The range of component `b` is `[2, 10]`. fn remove_liquidity_imbalance (b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1099 + b * (192 ±0)` + // Measured: `1357 + b * (192 ±0)` // Estimated: `4281 + b * (5180 ±0)` - // Minimum execution time: 2_586_449_000 picoseconds. - Weight::from_parts(1_361_082_704, 4281) - // Standard Error: 2_175_713 - .saturating_add(Weight::from_parts(608_779_034, 0).saturating_mul(b.into())) + // Minimum execution time: 177_556_000 picoseconds. + Weight::from_parts(99_852_974, 4281) + // Standard Error: 65_802 + .saturating_add(Weight::from_parts(39_938_485, 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)) @@ -211,14 +211,14 @@ impl dex_stable::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 10]`. fn add_pool_and_base_pool_liquidity (b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1437 + b * (187 ±0) + m * (121 ±0)` + // Measured: `1733 + b * (187 ±0) + m * (117 ±0)` // Estimated: `7572 + b * (5180 ±0) + m * (5180 ±0)` - // Minimum execution time: 11_589_457_000 picoseconds. - Weight::from_parts(2_489_097_862, 7572) - // Standard Error: 1_840_926 - .saturating_add(Weight::from_parts(730_145_710, 0).saturating_mul(b.into())) - // Standard Error: 1_840_926 - .saturating_add(Weight::from_parts(896_050_781, 0).saturating_mul(m.into())) + // Minimum execution time: 703_438_000 picoseconds. + Weight::from_parts(153_195_964, 7572) + // Standard Error: 149_131 + .saturating_add(Weight::from_parts(44_949_828, 0).saturating_mul(b.into())) + // Standard Error: 149_131 + .saturating_add(Weight::from_parts(55_200_238, 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()))) @@ -240,14 +240,14 @@ impl dex_stable::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 10]`. fn remove_pool_and_base_pool_liquidity (b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1658 + b * (187 ±0) + m * (187 ±0)` + // Measured: `1978 + b * (187 ±0) + m * (185 ±0)` // Estimated: `7572 + b * (5180 ±0) + m * (5180 ±0)` - // Minimum execution time: 9_593_347_000 picoseconds. - Weight::from_parts(2_422_602_274, 7572) - // Standard Error: 3_066_114 - .saturating_add(Weight::from_parts(599_022_504, 0).saturating_mul(b.into())) - // Standard Error: 3_066_114 - .saturating_add(Weight::from_parts(598_545_261, 0).saturating_mul(m.into())) + // Minimum execution time: 556_584_000 picoseconds. + Weight::from_parts(166_130_458, 7572) + // Standard Error: 92_741 + .saturating_add(Weight::from_parts(33_437_802, 0).saturating_mul(b.into())) + // Standard Error: 92_741 + .saturating_add(Weight::from_parts(33_260_031, 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()))) @@ -269,10 +269,10 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn remove_pool_and_base_pool_liquidity_one_currency () -> Weight { // Proof Size summary in bytes: - // Measured: `4012` + // Measured: `4307` // Estimated: `13940` - // Minimum execution time: 4_107_621_000 picoseconds. - Weight::from_parts(4_107_621_000, 13940) + // Minimum execution time: 346_995_000 picoseconds. + Weight::from_parts(349_299_000, 13940) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -288,10 +288,10 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn swap_pool_from_base () -> Weight { // Proof Size summary in bytes: - // Measured: `4279` + // Measured: `4537` // Estimated: `39840` - // Minimum execution time: 5_638_902_000 picoseconds. - Weight::from_parts(5_638_902_000, 39840) + // Minimum execution time: 418_448_000 picoseconds. + Weight::from_parts(420_742_000, 39840) .saturating_add(T::DbWeight::get().reads(20_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -307,10 +307,10 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) fn swap_pool_to_base () -> Weight { // Proof Size summary in bytes: - // Measured: `4042` + // Measured: `4337` // Estimated: `16530` - // Minimum execution time: 4_095_901_000 picoseconds. - Weight::from_parts(4_095_901_000, 16530) + // Minimum execution time: 325_201_000 picoseconds. + Weight::from_parts(328_067_000, 16530) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -324,10 +324,10 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn swap_meta_pool_underlying () -> Weight { // Proof Size summary in bytes: - // Measured: `2459` + // Measured: `2680` // Estimated: `11350` - // Minimum execution time: 2_196_520_000 picoseconds. - Weight::from_parts(2_196_520_000, 11350) + // Minimum execution time: 161_353_000 picoseconds. + Weight::from_parts(162_265_000, 11350) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -337,8 +337,8 @@ impl dex_stable::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `874` // Estimated: `4281` - // Minimum execution time: 505_835_000 picoseconds. - Weight::from_parts(505_835_000, 4281) + // Minimum execution time: 33_076_000 picoseconds. + Weight::from_parts(33_587_000, 4281) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -348,8 +348,8 @@ impl dex_stable::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `874` // Estimated: `4281` - // Minimum execution time: 516_813_000 picoseconds. - Weight::from_parts(516_813_000, 4281) + // Minimum execution time: 33_607_000 picoseconds. + Weight::from_parts(34_058_000, 4281) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -359,8 +359,8 @@ impl dex_stable::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `874` // Estimated: `4281` - // Minimum execution time: 506_259_000 picoseconds. - Weight::from_parts(506_259_000, 4281) + // Minimum execution time: 33_196_000 picoseconds. + Weight::from_parts(33_427_000, 4281) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -372,8 +372,8 @@ impl dex_stable::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `968` // Estimated: `4281` - // Minimum execution time: 651_728_000 picoseconds. - Weight::from_parts(651_728_000, 4281) + // Minimum execution time: 41_062_000 picoseconds. + Weight::from_parts(41_213_000, 4281) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -385,8 +385,8 @@ impl dex_stable::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `968` // Estimated: `4281` - // Minimum execution time: 643_370_000 picoseconds. - Weight::from_parts(643_370_000, 4281) + // Minimum execution time: 40_882_000 picoseconds. + Weight::from_parts(41_273_000, 4281) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -396,10 +396,10 @@ impl dex_stable::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) fn withdraw_admin_fee () -> Weight { // Proof Size summary in bytes: - // Measured: `1843` + // Measured: `2064` // Estimated: `26890` - // Minimum execution time: 2_877_773_000 picoseconds. - Weight::from_parts(2_877_773_000, 26890) + // Minimum execution time: 170_291_000 picoseconds. + Weight::from_parts(171_493_000, 26890) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/parachain/runtime/kintsugi/src/weights/dex_swap_router.rs b/parachain/runtime/kintsugi/src/weights/dex_swap_router.rs index fb79e2af29..16e8120fc8 100644 --- a/parachain/runtime/kintsugi/src/weights/dex_swap_router.rs +++ b/parachain/runtime/kintsugi/src/weights/dex_swap_router.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for dex_swap_router //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -45,9 +45,9 @@ impl dex_swap_router::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 787_000 picoseconds. - Weight::from_parts(687_931, 0) - // Standard Error: 1_758 - .saturating_add(Weight::from_parts(122_125, 0).saturating_mul(a.into())) + // Minimum execution time: 602_000 picoseconds. + Weight::from_parts(481_496, 0) + // Standard Error: 648 + .saturating_add(Weight::from_parts(104_815, 0).saturating_mul(a.into())) } } \ No newline at end of file diff --git a/parachain/runtime/kintsugi/src/weights/escrow.rs b/parachain/runtime/kintsugi/src/weights/escrow.rs index e5f68849f8..4ae4fb65d8 100644 --- a/parachain/runtime/kintsugi/src/weights/escrow.rs +++ b/parachain/runtime/kintsugi/src/weights/escrow.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for escrow //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -65,17 +65,21 @@ impl escrow::WeightInfo for WeightInfo { /// Storage: EscrowRewards TotalStake (r:1 w:1) /// Proof: EscrowRewards TotalStake (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: EscrowRewards RewardCurrencies (r:1 w:0) - /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(127), added: 2602, mode: MaxEncodedLen) + /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: EscrowRewards RewardTally (r:1 w:1) + /// Proof: EscrowRewards RewardTally (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: EscrowRewards RewardPerToken (r:1 w:0) + /// Proof: EscrowRewards RewardPerToken (max_values: None, max_size: Some(59), added: 2534, mode: MaxEncodedLen) /// Storage: Escrow UserPointHistory (r:0 w:1) /// Proof: Escrow UserPointHistory (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) fn create_lock () -> Weight { // Proof Size summary in bytes: - // Measured: `540` - // Estimated: `178187` - // Minimum execution time: 545_084_000 picoseconds. - Weight::from_parts(554_318_000, 178187) - .saturating_add(T::DbWeight::get().reads(66_u64)) - .saturating_add(T::DbWeight::get().writes(62_u64)) + // Measured: `1094` + // Estimated: `136584` + // Minimum execution time: 463_989_000 picoseconds. + Weight::from_parts(466_794_000, 136584) + .saturating_add(T::DbWeight::get().reads(68_u64)) + .saturating_add(T::DbWeight::get().writes(63_u64)) } /// Storage: Escrow Locked (r:1 w:1) /// Proof: Escrow Locked (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) @@ -100,17 +104,21 @@ impl escrow::WeightInfo for WeightInfo { /// Storage: EscrowRewards TotalStake (r:1 w:1) /// Proof: EscrowRewards TotalStake (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: EscrowRewards RewardCurrencies (r:1 w:0) - /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(127), added: 2602, mode: MaxEncodedLen) + /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: EscrowRewards RewardTally (r:1 w:1) + /// Proof: EscrowRewards RewardTally (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: EscrowRewards RewardPerToken (r:1 w:0) + /// Proof: EscrowRewards RewardPerToken (max_values: None, max_size: Some(59), added: 2534, mode: MaxEncodedLen) /// Storage: Escrow UserPointHistory (r:0 w:1) /// Proof: Escrow UserPointHistory (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) fn increase_amount () -> Weight { // Proof Size summary in bytes: - // Measured: `1273` - // Estimated: `41511` - // Minimum execution time: 239_088_000 picoseconds. - Weight::from_parts(246_953_000, 41511) - .saturating_add(T::DbWeight::get().reads(12_u64)) - .saturating_add(T::DbWeight::get().writes(10_u64)) + // Measured: `1683` + // Estimated: `4733` + // Minimum execution time: 207_245_000 picoseconds. + Weight::from_parts(208_998_000, 4733) + .saturating_add(T::DbWeight::get().reads(14_u64)) + .saturating_add(T::DbWeight::get().writes(11_u64)) } /// Storage: Escrow Locked (r:1 w:1) /// Proof: Escrow Locked (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) @@ -135,17 +143,21 @@ impl escrow::WeightInfo for WeightInfo { /// Storage: EscrowRewards TotalStake (r:1 w:1) /// Proof: EscrowRewards TotalStake (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: EscrowRewards RewardCurrencies (r:1 w:0) - /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(127), added: 2602, mode: MaxEncodedLen) + /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: EscrowRewards RewardTally (r:1 w:1) + /// Proof: EscrowRewards RewardTally (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: EscrowRewards RewardPerToken (r:1 w:0) + /// Proof: EscrowRewards RewardPerToken (max_values: None, max_size: Some(59), added: 2534, mode: MaxEncodedLen) /// Storage: Escrow UserPointHistory (r:0 w:1) /// 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: `1273` - // Estimated: `282567` - // Minimum execution time: 854_940_000 picoseconds. - Weight::from_parts(889_374_000, 282567) - .saturating_add(T::DbWeight::get().reads(108_u64)) - .saturating_add(T::DbWeight::get().writes(105_u64)) + // Measured: `1683` + // Estimated: `244557` + // Minimum execution time: 699_982_000 picoseconds. + Weight::from_parts(706_124_000, 244557) + .saturating_add(T::DbWeight::get().reads(110_u64)) + .saturating_add(T::DbWeight::get().writes(106_u64)) } /// Storage: Escrow Locked (r:1 w:1) /// Proof: Escrow Locked (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) @@ -154,7 +166,11 @@ impl escrow::WeightInfo for WeightInfo { /// Storage: EscrowRewards TotalStake (r:1 w:1) /// Proof: EscrowRewards TotalStake (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: EscrowRewards RewardCurrencies (r:1 w:0) - /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(127), added: 2602, mode: MaxEncodedLen) + /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) + /// Storage: EscrowRewards RewardTally (r:1 w:1) + /// Proof: EscrowRewards RewardTally (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: EscrowRewards RewardPerToken (r:1 w:0) + /// Proof: EscrowRewards RewardPerToken (max_values: None, max_size: Some(59), added: 2534, mode: MaxEncodedLen) /// Storage: Escrow SlopeChanges (r:97 w:0) /// Proof: Escrow SlopeChanges (max_values: None, max_size: Some(36), added: 2511, mode: MaxEncodedLen) /// Storage: Escrow Epoch (r:1 w:1) @@ -173,15 +189,33 @@ impl escrow::WeightInfo for WeightInfo { /// Proof: Escrow UserPointHistory (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) fn withdraw () -> Weight { // Proof Size summary in bytes: - // Measured: `1455` - // Estimated: `282678` - // Minimum execution time: 847_706_000 picoseconds. - Weight::from_parts(869_922_000, 282678) - .saturating_add(T::DbWeight::get().reads(108_u64)) - .saturating_add(T::DbWeight::get().writes(107_u64)) + // Measured: `1902` + // Estimated: `244557` + // Minimum execution time: 681_896_000 picoseconds. + Weight::from_parts(684_381_000, 244557) + .saturating_add(T::DbWeight::get().reads(110_u64)) + .saturating_add(T::DbWeight::get().writes(108_u64)) + } + /// Storage: Escrow Limits (r:0 w:1) + /// Proof: Escrow Limits (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) + fn set_account_limit () -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_631_000 picoseconds. + Weight::from_parts(10_732_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: Escrow Blocks (r:0 w:1) + /// Proof: Escrow Blocks (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + fn set_account_block () -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_291_000 picoseconds. + Weight::from_parts(10_481_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: EscrowRewards Stake (r:1 w:1) - /// Proof: EscrowRewards Stake (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: Escrow Locked (r:1 w:1) /// Proof: Escrow Locked (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:1 w:1) @@ -200,41 +234,21 @@ impl escrow::WeightInfo for WeightInfo { /// Proof: Escrow PointHistory (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) /// Storage: Escrow UserPointEpoch (r:1 w:1) /// Proof: Escrow UserPointEpoch (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: EscrowRewards Stake (r:1 w:1) + /// Proof: EscrowRewards Stake (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) /// Storage: EscrowRewards TotalStake (r:1 w:1) /// Proof: EscrowRewards TotalStake (max_values: None, max_size: Some(32), added: 2507, mode: MaxEncodedLen) /// Storage: EscrowRewards RewardCurrencies (r:1 w:0) - /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(127), added: 2602, mode: MaxEncodedLen) - /// Storage: Escrow ThresholdPercentage (r:1 w:0) - /// Proof: Escrow ThresholdPercentage (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) + /// Proof: EscrowRewards RewardCurrencies (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) /// Storage: Escrow UserPointHistory (r:0 w:1) /// Proof: Escrow UserPointHistory (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) fn update_user_stake () -> Weight { // Proof Size summary in bytes: - // Measured: `1273` - // Estimated: `281542` - // Minimum execution time: 359_000_000 picoseconds. - Weight::from_parts(363_000_000, 281542) - .saturating_add(T::DbWeight::get().reads(108_u64)) - .saturating_add(T::DbWeight::get().writes(104_u64)) - } - - fn set_account_limit () -> Weight { - // Proof Size summary in bytes: - // Measured: `1273` - // Estimated: `281542` - // Minimum execution time: 359_000_000 picoseconds. - Weight::from_parts(363_000_000, 281542) - .saturating_add(T::DbWeight::get().reads(108_u64)) - .saturating_add(T::DbWeight::get().writes(104_u64)) - } - - fn set_account_block () -> Weight { - // Proof Size summary in bytes: - // Measured: `1273` - // Estimated: `281542` - // Minimum execution time: 359_000_000 picoseconds. - Weight::from_parts(363_000_000, 281542) - .saturating_add(T::DbWeight::get().reads(108_u64)) + // Measured: `1490` + // Estimated: `242046` + // Minimum execution time: 661_555_000 picoseconds. + Weight::from_parts(667_447_000, 242046) + .saturating_add(T::DbWeight::get().reads(107_u64)) .saturating_add(T::DbWeight::get().writes(104_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/kintsugi/src/weights/farming.rs b/parachain/runtime/kintsugi/src/weights/farming.rs index 0e183f8620..1722a01b33 100644 --- a/parachain/runtime/kintsugi/src/weights/farming.rs +++ b/parachain/runtime/kintsugi/src/weights/farming.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for farming //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -47,15 +47,15 @@ impl farming::WeightInfo for WeightInfo { /// The range of component `c` is `[1, 4]`. fn on_initialize (c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `189 + c * (41 ±0)` - // Estimated: `6342 + c * (3717 ±45)` - // Minimum execution time: 36_730_000 picoseconds. - Weight::from_parts(24_682_700, 6342) - // Standard Error: 165_655 - .saturating_add(Weight::from_parts(14_905_914, 0).saturating_mul(c.into())) + // Measured: `208 + c * (41 ±0)` + // Estimated: `3539 + c * (2549 ±0)` + // Minimum execution time: 28_858_000 picoseconds. + Weight::from_parts(18_114_846, 3539) + // Standard Error: 91_877 + .saturating_add(Weight::from_parts(12_423_979, 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, 3717).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2549).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) @@ -65,10 +65,10 @@ impl farming::WeightInfo for WeightInfo { /// Proof: Farming RewardSchedules (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen) fn update_reward_schedule () -> Weight { // Proof Size summary in bytes: - // Measured: `435` - // Estimated: `13302` - // Minimum execution time: 118_144_000 picoseconds. - Weight::from_parts(133_960_000, 13302) + // Measured: `847` + // Estimated: `6170` + // Minimum execution time: 97_555_000 picoseconds. + Weight::from_parts(97_986_000, 6170) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -80,10 +80,10 @@ impl farming::WeightInfo for WeightInfo { /// Proof: Farming RewardSchedules (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen) fn remove_reward_schedule () -> Weight { // Proof Size summary in bytes: - // Measured: `582` - // Estimated: `9763` - // Minimum execution time: 94_335_000 picoseconds. - Weight::from_parts(101_456_000, 9763) + // Measured: `945` + // Estimated: `6170` + // Minimum execution time: 76_313_000 picoseconds. + Weight::from_parts(76_793_000, 6170) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -102,17 +102,17 @@ impl farming::WeightInfo for WeightInfo { /// The range of component `c` is `[1, 4]`. fn deposit (c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `683 + c * (70 ±0)` - // Estimated: `16211 + c * (5122 ±0)` - // Minimum execution time: 118_990_000 picoseconds. - Weight::from_parts(108_592_878, 16211) - // Standard Error: 360_926 - .saturating_add(Weight::from_parts(18_648_671, 0).saturating_mul(c.into())) + // Measured: `900 + c * (70 ±0)` + // Estimated: `3603 + c * (2577 ±0)` + // Minimum execution time: 92_445_000 picoseconds. + Weight::from_parts(81_740_057, 3603) + // Standard Error: 37_348 + .saturating_add(Weight::from_parts(12_635_191, 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, 5122).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2577).saturating_mul(c.into())) } /// Storage: FarmingRewards RewardCurrencies (r:1 w:0) /// Proof: FarmingRewards RewardCurrencies (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) @@ -129,17 +129,17 @@ impl farming::WeightInfo for WeightInfo { /// The range of component `c` is `[1, 4]`. fn withdraw (c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `683 + c * (70 ±0)` - // Estimated: `16211 + c * (5122 ±0)` - // Minimum execution time: 110_617_000 picoseconds. - Weight::from_parts(98_027_403, 16211) - // Standard Error: 283_984 - .saturating_add(Weight::from_parts(18_696_973, 0).saturating_mul(c.into())) + // Measured: `900 + c * (70 ±0)` + // Estimated: `3603 + c * (2577 ±0)` + // Minimum execution time: 85_862_000 picoseconds. + Weight::from_parts(74_571_773, 3603) + // Standard Error: 47_353 + .saturating_add(Weight::from_parts(12_753_635, 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, 5122).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2577).saturating_mul(c.into())) } /// Storage: FarmingRewards Stake (r:1 w:0) /// Proof: FarmingRewards Stake (max_values: None, max_size: Some(75), added: 2550, mode: MaxEncodedLen) @@ -155,10 +155,10 @@ impl farming::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn claim () -> Weight { // Proof Size summary in bytes: - // Measured: `956` - // Estimated: `23913` - // Minimum execution time: 160_561_000 picoseconds. - Weight::from_parts(171_999_000, 23913) + // Measured: `1318` + // Estimated: `6170` + // Minimum execution time: 127_536_000 picoseconds. + Weight::from_parts(130_081_000, 6170) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } diff --git a/parachain/runtime/kintsugi/src/weights/fee.rs b/parachain/runtime/kintsugi/src/weights/fee.rs index b56e56275f..0829a577f0 100644 --- a/parachain/runtime/kintsugi/src/weights/fee.rs +++ b/parachain/runtime/kintsugi/src/weights/fee.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for fee //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -51,7 +51,7 @@ impl fee::WeightInfo for WeightInfo { /// Storage: VaultRewards TotalStake (r:1 w:0) /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards RewardCurrencies (r:1 w:1) - /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) + /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(50), added: 2525, mode: MaxEncodedLen) /// Storage: VaultRewards RewardPerToken (r:2 w:2) /// Proof: VaultRewards RewardPerToken (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultRewards TotalRewards (r:2 w:2) @@ -86,10 +86,10 @@ impl fee::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn withdraw_rewards () -> Weight { // Proof Size summary in bytes: - // Measured: `2602` - // Estimated: `111780` - // Minimum execution time: 754_264_000 picoseconds. - Weight::from_parts(767_173_000, 111780) + // Measured: `2962` + // Estimated: `11350` + // Minimum execution time: 590_372_000 picoseconds. + Weight::from_parts(594_450_000, 11350) .saturating_add(T::DbWeight::get().reads(35_u64)) .saturating_add(T::DbWeight::get().writes(25_u64)) } @@ -99,8 +99,8 @@ impl fee::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_847_000 picoseconds. - Weight::from_parts(11_537_000, 0) + // Minimum execution time: 8_747_000 picoseconds. + Weight::from_parts(9_008_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Fee IssueGriefingCollateral (r:0 w:1) @@ -109,8 +109,8 @@ impl fee::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_990_000 picoseconds. - Weight::from_parts(11_634_000, 0) + // Minimum execution time: 8_737_000 picoseconds. + Weight::from_parts(8_998_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Fee RedeemFee (r:0 w:1) @@ -119,8 +119,8 @@ impl fee::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_158_000 picoseconds. - Weight::from_parts(11_732_000, 0) + // Minimum execution time: 8_868_000 picoseconds. + Weight::from_parts(9_038_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Fee PremiumRedeemFee (r:0 w:1) @@ -129,8 +129,8 @@ impl fee::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_054_000 picoseconds. - Weight::from_parts(11_731_000, 0) + // Minimum execution time: 8_757_000 picoseconds. + Weight::from_parts(8_957_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Fee PunishmentFee (r:0 w:1) @@ -139,8 +139,8 @@ impl fee::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_047_000 picoseconds. - Weight::from_parts(12_013_000, 0) + // Minimum execution time: 8_948_000 picoseconds. + Weight::from_parts(9_099_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Fee ReplaceGriefingCollateral (r:0 w:1) @@ -149,18 +149,21 @@ impl fee::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_872_000 picoseconds. - Weight::from_parts(11_479_000, 0) + // Minimum execution time: 8_858_000 picoseconds. + Weight::from_parts(9_028_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } + /// Storage: Nomination Vaults (r:1 w:0) + /// Proof: Nomination Vaults (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen) /// Storage: Fee Commission (r:0 w:1) /// Proof: Fee Commission (max_values: None, max_size: Some(86), added: 2561, mode: MaxEncodedLen) fn set_commission () -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 14_132_000 picoseconds. - Weight::from_parts(14_831_000, 0) + // Measured: `167` + // Estimated: `3536` + // Minimum execution time: 19_309_000 picoseconds. + Weight::from_parts(19_509_000, 3536) + .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/kintsugi/src/weights/frame_system.rs b/parachain/runtime/kintsugi/src/weights/frame_system.rs index ef4cd08092..8c038c2c74 100644 --- a/parachain/runtime/kintsugi/src/weights/frame_system.rs +++ b/parachain/runtime/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -45,20 +45,20 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_185_000 picoseconds. - Weight::from_parts(6_457_000, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(676, 0).saturating_mul(b.into())) + // Minimum execution time: 4_750_000 picoseconds. + Weight::from_parts(15_710_877, 0) + // Standard Error: 14 + .saturating_add(Weight::from_parts(576, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event (b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 20_064_000 picoseconds. - Weight::from_parts(20_580_000, 0) - // Standard Error: 2 - .saturating_add(Weight::from_parts(2_705, 0).saturating_mul(b.into())) + // Minimum execution time: 15_521_000 picoseconds. + Weight::from_parts(15_681_000, 0) + // Standard Error: 7 + .saturating_add(Weight::from_parts(1_829, 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) @@ -68,8 +68,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 11_596_000 picoseconds. - Weight::from_parts(12_481_000, 1485) + // Minimum execution time: 9_218_000 picoseconds. + Weight::from_parts(9_369_000, 1485) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -80,10 +80,10 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_243_000 picoseconds. - Weight::from_parts(6_294_000, 0) - // Standard Error: 3_877 - .saturating_add(Weight::from_parts(1_691_833, 0).saturating_mul(i.into())) + // Minimum execution time: 4_710_000 picoseconds. + Weight::from_parts(4_800_000, 0) + // Standard Error: 7_041 + .saturating_add(Weight::from_parts(1_289_318, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -93,10 +93,10 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_147_000 picoseconds. - Weight::from_parts(6_203_000, 0) - // Standard Error: 2_228 - .saturating_add(Weight::from_parts(1_139_334, 0).saturating_mul(i.into())) + // Minimum execution time: 4_789_000 picoseconds. + Weight::from_parts(4_920_000, 0) + // Standard Error: 2_480 + .saturating_add(Weight::from_parts(867_765, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: Skipped Metadata (r:0 w:0) @@ -104,12 +104,12 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 1000]`. fn kill_prefix (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `98 + p * (69 ±0)` - // Estimated: `94 + p * (70 ±0)` - // Minimum execution time: 10_838_000 picoseconds. - Weight::from_parts(11_004_000, 94) - // Standard Error: 5_042 - .saturating_add(Weight::from_parts(2_160_326, 0).saturating_mul(p.into())) + // Measured: `124 + p * (69 ±0)` + // Estimated: `111 + p * (70 ±0)` + // Minimum execution time: 8_587_000 picoseconds. + Weight::from_parts(8_767_000, 111) + // Standard Error: 1_790 + .saturating_add(Weight::from_parts(1_508_078, 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/kintsugi/src/weights/issue.rs b/parachain/runtime/kintsugi/src/weights/issue.rs index ac2222ea27..10f28c57a2 100644 --- a/parachain/runtime/kintsugi/src/weights/issue.rs +++ b/parachain/runtime/kintsugi/src/weights/issue.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for issue //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -48,8 +48,6 @@ 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) - /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:2 w:0) /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: Fee IssueGriefingCollateral (r:1 w:0) @@ -80,11 +78,11 @@ impl issue::WeightInfo for WeightInfo { /// Proof: Issue IssueRequests (max_values: None, max_size: Some(272), added: 2747, mode: MaxEncodedLen) fn request_issue () -> Weight { // Proof Size summary in bytes: - // Measured: `2485` - // Estimated: `43976` - // Minimum execution time: 814_670_000 picoseconds. - Weight::from_parts(855_324_000, 43976) - .saturating_add(T::DbWeight::get().reads(19_u64)) + // Measured: `2718` + // Estimated: `6028` + // Minimum execution time: 558_298_000 picoseconds. + Weight::from_parts(565_393_000, 6028) + .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: Issue IssueRequests (r:1 w:1) @@ -117,18 +115,18 @@ impl issue::WeightInfo for WeightInfo { /// 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: `2196` - // Estimated: `32731` - // Minimum execution time: 258_357_000 picoseconds. - Weight::from_parts(229_089_248, 32731) - // Standard Error: 163_921 - .saturating_add(Weight::from_parts(6_691_991, 0).saturating_mul(h.into())) - // Standard Error: 147_709 - .saturating_add(Weight::from_parts(1_729_821, 0).saturating_mul(i.into())) - // Standard Error: 147_709 - .saturating_add(Weight::from_parts(601_182, 0).saturating_mul(o.into())) - // Standard Error: 1_059 - .saturating_add(Weight::from_parts(6_098, 0).saturating_mul(b.into())) + // Measured: `2434` + // Estimated: `3737` + // Minimum execution time: 198_538_000 picoseconds. + Weight::from_parts(171_478_384, 3737) + // Standard Error: 67_279 + .saturating_add(Weight::from_parts(3_496_696, 0).saturating_mul(h.into())) + // Standard Error: 60_626 + .saturating_add(Weight::from_parts(794_967, 0).saturating_mul(i.into())) + // Standard Error: 60_626 + .saturating_add(Weight::from_parts(420_219, 0).saturating_mul(o.into())) + // Standard Error: 435 + .saturating_add(Weight::from_parts(5_157, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -152,8 +150,6 @@ impl issue::WeightInfo for WeightInfo { /// 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: Security ParachainStatus (r:1 w:0) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: VaultStaking Nonce (r:1 w:0) @@ -174,19 +170,19 @@ impl issue::WeightInfo for WeightInfo { /// 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: `3018` - // Estimated: `49856` - // Minimum execution time: 417_315_000 picoseconds. - Weight::from_parts(426_906_569, 49856) - // Standard Error: 220_929 - .saturating_add(Weight::from_parts(7_225_197, 0).saturating_mul(h.into())) - // Standard Error: 199_079 - .saturating_add(Weight::from_parts(393_016, 0).saturating_mul(i.into())) - // Standard Error: 199_079 - .saturating_add(Weight::from_parts(13_273, 0).saturating_mul(o.into())) - // Standard Error: 1_428 - .saturating_add(Weight::from_parts(257, 0).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(18_u64)) + // Measured: `3285` + // Estimated: `3737` + // Minimum execution time: 316_013_000 picoseconds. + Weight::from_parts(296_206_373, 3737) + // Standard Error: 170_956 + .saturating_add(Weight::from_parts(3_648_998, 0).saturating_mul(h.into())) + // Standard Error: 154_049 + .saturating_add(Weight::from_parts(965_687, 0).saturating_mul(i.into())) + // Standard Error: 154_049 + .saturating_add(Weight::from_parts(440_368, 0).saturating_mul(o.into())) + // Standard Error: 1_105 + .saturating_add(Weight::from_parts(1_242, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: Issue IssueRequests (r:1 w:1) @@ -219,20 +215,18 @@ impl issue::WeightInfo for WeightInfo { /// The range of component `i` is `[1, 10]`. /// The range of component `o` is `[1, 10]`. /// The range of component `b` is `[770, 2048]`. - fn execute_issue_underpayment (h: u32, i: u32, o: u32, b: u32, ) -> Weight { + fn execute_issue_underpayment (h: u32, i: u32, o: u32, _b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2449` - // Estimated: `34232` - // Minimum execution time: 307_256_000 picoseconds. - Weight::from_parts(293_418_122, 34232) - // Standard Error: 194_866 - .saturating_add(Weight::from_parts(6_661_934, 0).saturating_mul(h.into())) - // Standard Error: 175_594 - .saturating_add(Weight::from_parts(781_581, 0).saturating_mul(i.into())) - // Standard Error: 175_594 - .saturating_add(Weight::from_parts(408_936, 0).saturating_mul(o.into())) - // Standard Error: 1_260 - .saturating_add(Weight::from_parts(5_842, 0).saturating_mul(b.into())) + // Measured: `2739` + // Estimated: `3737` + // Minimum execution time: 236_814_000 picoseconds. + Weight::from_parts(218_087_002, 3737) + // Standard Error: 143_849 + .saturating_add(Weight::from_parts(3_739_468, 0).saturating_mul(h.into())) + // Standard Error: 129_622 + .saturating_add(Weight::from_parts(1_289_008, 0).saturating_mul(i.into())) + // Standard Error: 129_622 + .saturating_add(Weight::from_parts(452_541, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -266,18 +260,18 @@ impl issue::WeightInfo for WeightInfo { /// 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: `3119 + o * (8 ±0)` - // Estimated: `32731` - // Minimum execution time: 321_847_000 picoseconds. - Weight::from_parts(307_881_120, 32731) - // Standard Error: 116_140 - .saturating_add(Weight::from_parts(2_633_088, 0).saturating_mul(h.into())) - // Standard Error: 104_654 - .saturating_add(Weight::from_parts(1_883_088, 0).saturating_mul(i.into())) - // Standard Error: 104_654 - .saturating_add(Weight::from_parts(516_606, 0).saturating_mul(o.into())) - // Standard Error: 751 - .saturating_add(Weight::from_parts(7_190, 0).saturating_mul(b.into())) + // Measured: `3567` + // Estimated: `3737` + // Minimum execution time: 206_463_000 picoseconds. + Weight::from_parts(179_023_981, 3737) + // Standard Error: 118_695 + .saturating_add(Weight::from_parts(3_632_454, 0).saturating_mul(h.into())) + // Standard Error: 106_956 + .saturating_add(Weight::from_parts(825_036, 0).saturating_mul(i.into())) + // Standard Error: 106_956 + .saturating_add(Weight::from_parts(185_589, 0).saturating_mul(o.into())) + // Standard Error: 767 + .saturating_add(Weight::from_parts(6_936, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -301,8 +295,6 @@ impl issue::WeightInfo for WeightInfo { /// 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: Security ParachainStatus (r:1 w:0) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: VaultStaking Nonce (r:1 w:0) @@ -321,17 +313,21 @@ impl issue::WeightInfo for WeightInfo { /// The range of component `i` is `[1, 10]`. /// The range of component `o` is `[1, 10]`. /// The range of component `b` is `[770, 2048]`. - fn execute_expired_issue_overpayment (h: u32, i: u32, _o: u32, _b: u32, ) -> Weight { + fn execute_expired_issue_overpayment (h: u32, i: u32, o: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3787 + i * (9 ±0)` - // Estimated: `49856` - // Minimum execution time: 509_824_000 picoseconds. - Weight::from_parts(524_007_287, 49856) - // Standard Error: 167_179 - .saturating_add(Weight::from_parts(2_125_670, 0).saturating_mul(h.into())) - // Standard Error: 150_645 - .saturating_add(Weight::from_parts(1_433_567, 0).saturating_mul(i.into())) - .saturating_add(T::DbWeight::get().reads(18_u64)) + // Measured: `4039 + h * (17 ±0) + i * (2 ±0)` + // Estimated: `3737` + // Minimum execution time: 326_534_000 picoseconds. + Weight::from_parts(312_629_634, 3737) + // Standard Error: 118_522 + .saturating_add(Weight::from_parts(3_380_960, 0).saturating_mul(h.into())) + // Standard Error: 106_800 + .saturating_add(Weight::from_parts(561_891, 0).saturating_mul(i.into())) + // Standard Error: 106_800 + .saturating_add(Weight::from_parts(164_257, 0).saturating_mul(o.into())) + // Standard Error: 766 + .saturating_add(Weight::from_parts(3_419, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: Issue IssueRequests (r:1 w:1) @@ -366,18 +362,18 @@ impl issue::WeightInfo for WeightInfo { /// 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: `3256 + h * (9 ±0) + i * (13 ±0)` - // Estimated: `34232` - // Minimum execution time: 389_642_000 picoseconds. - Weight::from_parts(379_986_977, 34232) - // Standard Error: 121_056 - .saturating_add(Weight::from_parts(2_111_609, 0).saturating_mul(h.into())) - // Standard Error: 109_084 - .saturating_add(Weight::from_parts(1_421_025, 0).saturating_mul(i.into())) - // Standard Error: 109_084 - .saturating_add(Weight::from_parts(541_226, 0).saturating_mul(o.into())) - // Standard Error: 782 - .saturating_add(Weight::from_parts(3_847, 0).saturating_mul(b.into())) + // Measured: `3633 + o * (11 ±0)` + // Estimated: `3737` + // Minimum execution time: 245_292_000 picoseconds. + Weight::from_parts(218_248_263, 3737) + // Standard Error: 75_656 + .saturating_add(Weight::from_parts(3_638_323, 0).saturating_mul(h.into())) + // Standard Error: 68_174 + .saturating_add(Weight::from_parts(1_189_484, 0).saturating_mul(i.into())) + // Standard Error: 68_174 + .saturating_add(Weight::from_parts(378_537, 0).saturating_mul(o.into())) + // Standard Error: 489 + .saturating_add(Weight::from_parts(4_279, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -393,10 +389,10 @@ impl issue::WeightInfo for WeightInfo { /// Proof: VaultRegistry Vaults (max_values: None, max_size: Some(260), added: 2735, mode: MaxEncodedLen) fn cancel_issue () -> Weight { // Proof Size summary in bytes: - // Measured: `1496` - // Estimated: `11929` - // Minimum execution time: 173_735_000 picoseconds. - Weight::from_parts(181_182_000, 11929) + // Measured: `1495` + // Estimated: `3737` + // Minimum execution time: 91_653_000 picoseconds. + Weight::from_parts(93_397_000, 3737) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -406,8 +402,8 @@ impl issue::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 23_418_000 picoseconds. - Weight::from_parts(24_350_000, 0) + // Minimum execution time: 18_417_000 picoseconds. + Weight::from_parts(18_597_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/kintsugi/src/weights/loans.rs b/parachain/runtime/kintsugi/src/weights/loans.rs index d0a1374a8d..3b4ad2cf10 100644 --- a/parachain/runtime/kintsugi/src/weights/loans.rs +++ b/parachain/runtime/kintsugi/src/weights/loans.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for loans //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -53,9 +53,9 @@ impl loans::WeightInfo for WeightInfo { fn add_market () -> Weight { // Proof Size summary in bytes: // Measured: `78` - // Estimated: `11264` - // Minimum execution time: 70_297_000 picoseconds. - Weight::from_parts(77_026_000, 11264) + // Estimated: `6260` + // Minimum execution time: 55_221_000 picoseconds. + Weight::from_parts(55_742_000, 6260) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -65,8 +65,8 @@ impl loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `343` // Estimated: `3625` - // Minimum execution time: 35_711_000 picoseconds. - Weight::from_parts(38_488_000, 3625) + // Minimum execution time: 27_365_000 picoseconds. + Weight::from_parts(27_936_000, 3625) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -76,8 +76,8 @@ impl loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `343` // Estimated: `3625` - // Minimum execution time: 37_390_000 picoseconds. - Weight::from_parts(40_074_000, 3625) + // Minimum execution time: 28_928_000 picoseconds. + Weight::from_parts(29_940_000, 3625) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -87,8 +87,8 @@ impl loans::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `343` // Estimated: `3625` - // Minimum execution time: 41_759_000 picoseconds. - Weight::from_parts(43_543_000, 3625) + // Minimum execution time: 32_194_000 picoseconds. + Weight::from_parts(32_676_000, 3625) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -99,9 +99,9 @@ impl loans::WeightInfo for WeightInfo { fn force_update_market () -> Weight { // Proof Size summary in bytes: // Measured: `354` - // Estimated: `7128` - // Minimum execution time: 50_832_000 picoseconds. - Weight::from_parts(53_132_000, 7128) + // Estimated: `3625` + // Minimum execution time: 39_650_000 picoseconds. + Weight::from_parts(40_211_000, 3625) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -111,10 +111,10 @@ impl loans::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn add_reward () -> Weight { // Proof Size summary in bytes: - // Measured: `490` - // Estimated: `9763` - // Minimum execution time: 101_577_000 picoseconds. - Weight::from_parts(104_741_000, 9763) + // Measured: `821` + // Estimated: `6170` + // Minimum execution time: 85_942_000 picoseconds. + Weight::from_parts(86_864_000, 6170) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -131,9 +131,9 @@ impl loans::WeightInfo for WeightInfo { fn update_market_reward_speed () -> Weight { // Proof Size summary in bytes: // Measured: `357` - // Estimated: `20300` - // Minimum execution time: 83_498_000 picoseconds. - Weight::from_parts(84_524_000, 20300) + // Estimated: `6260` + // Minimum execution time: 64_088_000 picoseconds. + Weight::from_parts(64_479_000, 6260) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -167,10 +167,10 @@ impl loans::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn claim_reward () -> Weight { // Proof Size summary in bytes: - // Measured: `1808` - // Estimated: `57382` - // Minimum execution time: 268_339_000 picoseconds. - Weight::from_parts(289_641_000, 57382) + // Measured: `2066` + // Estimated: `8760` + // Minimum execution time: 207_856_000 picoseconds. + Weight::from_parts(209_128_000, 8760) .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -204,10 +204,10 @@ impl loans::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn claim_reward_for_market () -> Weight { // Proof Size summary in bytes: - // Measured: `1808` - // Estimated: `54747` - // Minimum execution time: 251_481_000 picoseconds. - Weight::from_parts(262_703_000, 54747) + // Measured: `2066` + // Estimated: `8760` + // Minimum execution time: 196_654_000 picoseconds. + Weight::from_parts(199_430_000, 8760) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -243,10 +243,10 @@ impl loans::WeightInfo for WeightInfo { /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn mint () -> Weight { // Proof Size summary in bytes: - // Measured: `1188` - // Estimated: `56787` - // Minimum execution time: 366_030_000 picoseconds. - Weight::from_parts(379_785_000, 56787) + // Measured: `1481` + // Estimated: `8760` + // Minimum execution time: 284_911_000 picoseconds. + Weight::from_parts(286_594_000, 8760) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -288,10 +288,10 @@ impl loans::WeightInfo for WeightInfo { /// Proof: Loans BorrowIndex (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) fn borrow () -> Weight { // Proof Size summary in bytes: - // Measured: `1698` - // Estimated: `62778` - // Minimum execution time: 349_521_000 picoseconds. - Weight::from_parts(356_928_000, 62778) + // Measured: `1991` + // Estimated: `6260` + // Minimum execution time: 265_201_000 picoseconds. + Weight::from_parts(267_325_000, 6260) .saturating_add(T::DbWeight::get().reads(20_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -329,10 +329,10 @@ impl loans::WeightInfo for WeightInfo { /// Proof: Loans RewardAccrued (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) fn redeem () -> Weight { // Proof Size summary in bytes: - // Measured: `1723` - // Estimated: `58288` - // Minimum execution time: 438_880_000 picoseconds. - Weight::from_parts(444_590_000, 58288) + // Measured: `2016` + // Estimated: `8760` + // Minimum execution time: 345_392_000 picoseconds. + Weight::from_parts(346_684_000, 8760) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -370,10 +370,10 @@ impl loans::WeightInfo for WeightInfo { /// Proof: Loans RewardAccrued (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen) fn redeem_all () -> Weight { // Proof Size summary in bytes: - // Measured: `1723` - // Estimated: `58288` - // Minimum execution time: 445_559_000 picoseconds. - Weight::from_parts(457_766_000, 58288) + // Measured: `2016` + // Estimated: `8760` + // Minimum execution time: 347_676_000 picoseconds. + Weight::from_parts(351_133_000, 8760) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -401,10 +401,10 @@ impl loans::WeightInfo for WeightInfo { /// Proof: Loans TotalBorrows (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) fn repay_borrow () -> Weight { // Proof Size summary in bytes: - // Measured: `1620` - // Estimated: `42116` - // Minimum execution time: 230_178_000 picoseconds. - Weight::from_parts(233_446_000, 42116) + // Measured: `1875` + // Estimated: `6260` + // Minimum execution time: 173_257_000 picoseconds. + Weight::from_parts(179_420_000, 6260) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -432,10 +432,10 @@ impl loans::WeightInfo for WeightInfo { /// 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: `1620` - // Estimated: `42116` - // Minimum execution time: 252_936_000 picoseconds. - Weight::from_parts(268_865_000, 42116) + // Measured: `1875` + // Estimated: `6260` + // Minimum execution time: 195_352_000 picoseconds. + Weight::from_parts(198_989_000, 6260) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -449,10 +449,10 @@ impl loans::WeightInfo for WeightInfo { /// 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: `967` - // Estimated: `16899` - // Minimum execution time: 125_959_000 picoseconds. - Weight::from_parts(131_088_000, 16899) + // Measured: `1184` + // Estimated: `6260` + // Minimum execution time: 96_693_000 picoseconds. + Weight::from_parts(98_488_000, 6260) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -484,10 +484,10 @@ impl loans::WeightInfo for WeightInfo { /// 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: `1628` - // Estimated: `45165` - // Minimum execution time: 290_826_000 picoseconds. - Weight::from_parts(307_097_000, 45165) + // Measured: `1921` + // Estimated: `6260` + // Minimum execution time: 226_734_000 picoseconds. + Weight::from_parts(229_600_000, 6260) .saturating_add(T::DbWeight::get().reads(15_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -515,8 +515,6 @@ impl loans::WeightInfo for WeightInfo { /// 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: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, 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 AccountBorrows (r:3 w:1) @@ -539,11 +537,11 @@ impl loans::WeightInfo for WeightInfo { /// Proof: Loans RewardSupplierIndex (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn liquidate_borrow () -> Weight { // Proof Size summary in bytes: - // Measured: `3348` - // Estimated: `127253` - // Minimum execution time: 1_282_053_000 picoseconds. - Weight::from_parts(1_327_267_000, 127253) - .saturating_add(T::DbWeight::get().reads(44_u64)) + // Measured: `3610` + // Estimated: `16530` + // Minimum execution time: 803_780_000 picoseconds. + Weight::from_parts(830_373_000, 16530) + .saturating_add(T::DbWeight::get().reads(43_u64)) .saturating_add(T::DbWeight::get().writes(21_u64)) } /// Storage: Loans Markets (r:2 w:0) @@ -580,10 +578,10 @@ impl loans::WeightInfo for WeightInfo { /// 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: `2653` - // Estimated: `63481` - // Minimum execution time: 577_697_000 picoseconds. - Weight::from_parts(618_245_000, 63481) + // Measured: `2949` + // Estimated: `11350` + // Minimum execution time: 441_074_000 picoseconds. + Weight::from_parts(442_466_000, 11350) .saturating_add(T::DbWeight::get().reads(21_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -601,10 +599,10 @@ impl loans::WeightInfo for WeightInfo { /// Proof: Loans TotalReserves (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) fn add_reserves () -> Weight { // Proof Size summary in bytes: - // Measured: `1012` - // Estimated: `24524` - // Minimum execution time: 159_083_000 picoseconds. - Weight::from_parts(167_413_000, 24524) + // Measured: `1305` + // Estimated: `6260` + // Minimum execution time: 123_878_000 picoseconds. + Weight::from_parts(124_660_000, 6260) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -622,10 +620,10 @@ impl loans::WeightInfo for WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn reduce_reserves () -> Weight { // Proof Size summary in bytes: - // Measured: `1243` - // Estimated: `24524` - // Minimum execution time: 142_174_000 picoseconds. - Weight::from_parts(151_776_000, 24524) + // Measured: `1536` + // Estimated: `6260` + // Minimum execution time: 107_725_000 picoseconds. + Weight::from_parts(108_537_000, 6260) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } diff --git a/parachain/runtime/kintsugi/src/weights/nomination.rs b/parachain/runtime/kintsugi/src/weights/nomination.rs index 81514a23ce..5c9825279e 100644 --- a/parachain/runtime/kintsugi/src/weights/nomination.rs +++ b/parachain/runtime/kintsugi/src/weights/nomination.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for nomination //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -46,25 +46,20 @@ impl nomination::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_494_000 picoseconds. - Weight::from_parts(11_404_000, 0) + // Minimum execution time: 8_698_000 picoseconds. + Weight::from_parts(8_858_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Security ParachainStatus (r:1 w:0) - /// 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 { // Proof Size summary in bytes: - // Measured: `126` - // Estimated: `1486` - // Minimum execution time: 26_907_000 picoseconds. - Weight::from_parts(28_499_000, 1486) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 12_535_000 picoseconds. + Weight::from_parts(12_716_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Security ParachainStatus (r:1 w:0) - /// 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) @@ -73,15 +68,13 @@ impl nomination::WeightInfo for WeightInfo { /// Proof: Nomination Vaults (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen) fn opt_in_to_nomination () -> Weight { // Proof Size summary in bytes: - // Measured: `767` - // Estimated: `10233` - // Minimum execution time: 70_702_000 picoseconds. - Weight::from_parts(72_928_000, 10233) - .saturating_add(T::DbWeight::get().reads(4_u64)) + // Measured: `642` + // Estimated: `3725` + // Minimum execution time: 44_139_000 picoseconds. + Weight::from_parts(44_489_000, 3725) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Security ParachainStatus (r:1 w:0) - /// 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) @@ -154,15 +147,13 @@ impl nomination::WeightInfo for WeightInfo { /// Proof: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) fn opt_out_of_nomination () -> Weight { // Proof Size summary in bytes: - // Measured: `4345` - // Estimated: `166107` - // Minimum execution time: 923_485_000 picoseconds. - Weight::from_parts(956_978_000, 166107) - .saturating_add(T::DbWeight::get().reads(54_u64)) + // Measured: `4568` + // Estimated: `11486` + // Minimum execution time: 712_978_000 picoseconds. + Weight::from_parts(716_875_000, 11486) + .saturating_add(T::DbWeight::get().reads(53_u64)) .saturating_add(T::DbWeight::get().writes(26_u64)) } - /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, 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) @@ -205,18 +196,24 @@ impl nomination::WeightInfo for WeightInfo { /// Proof: VaultCapacity RewardTally (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultCapacity TotalRewards (r:2 w:2) /// Proof: VaultCapacity TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: VaultRewards TotalStake (r:1 w:1) + /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: VaultRewards RewardCurrencies (r:1 w:1) + /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(50), added: 2525, mode: MaxEncodedLen) + /// Storage: VaultRewards RewardPerToken (r:2 w:2) + /// Proof: VaultRewards RewardPerToken (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) + /// Storage: VaultRewards TotalRewards (r:2 w:2) + /// Proof: VaultRewards TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards Stake (r:1 w:1) /// Proof: VaultRewards Stake (max_values: None, max_size: Some(97), added: 2572, mode: MaxEncodedLen) - /// Storage: VaultRewards RewardPerToken (r:2 w:0) - /// Proof: VaultRewards RewardPerToken (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultRewards RewardTally (r:2 w:2) /// Proof: VaultRewards RewardTally (max_values: None, max_size: Some(124), added: 2599, mode: MaxEncodedLen) - /// Storage: VaultRewards TotalRewards (r:2 w:2) - /// Proof: VaultRewards TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Fee Commission (r:1 w:0) /// Proof: Fee Commission (max_values: None, max_size: Some(86), added: 2561, mode: MaxEncodedLen) /// Storage: VaultStaking RewardPerToken (r:2 w:2) /// Proof: VaultStaking RewardPerToken (max_values: None, max_size: Some(117), added: 2592, mode: MaxEncodedLen) + /// Storage: VaultStaking TotalRewards (r:2 w:2) + /// Proof: VaultStaking TotalRewards (max_values: None, max_size: Some(117), added: 2592, mode: MaxEncodedLen) /// Storage: VaultStaking TotalStake (r:1 w:1) /// Proof: VaultStaking TotalStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking RewardTally (r:2 w:2) @@ -225,10 +222,6 @@ impl nomination::WeightInfo for WeightInfo { /// 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: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) - /// Storage: VaultRewards RewardCurrencies (r:1 w:0) - /// 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) @@ -248,22 +241,20 @@ impl nomination::WeightInfo for WeightInfo { /// 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) + /// Proof: VaultCapacity RewardCurrencies (max_values: None, max_size: Some(39), added: 2514, 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 { // Proof Size summary in bytes: - // Measured: `5203` - // Estimated: `194221` - // Minimum execution time: 935_213_000 picoseconds. - Weight::from_parts(1_003_816_000, 194221) - .saturating_add(T::DbWeight::get().reads(62_u64)) - .saturating_add(T::DbWeight::get().writes(29_u64)) + // Measured: `5749` + // Estimated: `8760` + // Minimum execution time: 858_288_000 picoseconds. + Weight::from_parts(864_521_000, 8760) + .saturating_add(T::DbWeight::get().reads(63_u64)) + .saturating_add(T::DbWeight::get().writes(34_u64)) } - /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: VaultStaking Nonce (r:1 w:0) /// Proof: VaultStaking Nonce (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen) /// Storage: VaultRegistry Vaults (r:1 w:0) @@ -302,8 +293,6 @@ impl nomination::WeightInfo for WeightInfo { /// 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: 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: VaultCapacity Stake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultCapacity RewardPerToken (r:2 w:0) @@ -312,18 +301,24 @@ impl nomination::WeightInfo for WeightInfo { /// Proof: VaultCapacity RewardTally (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultCapacity TotalRewards (r:2 w:2) /// Proof: VaultCapacity TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: VaultRewards TotalStake (r:1 w:1) + /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: VaultRewards RewardCurrencies (r:1 w:1) + /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(50), added: 2525, mode: MaxEncodedLen) + /// Storage: VaultRewards RewardPerToken (r:2 w:2) + /// Proof: VaultRewards RewardPerToken (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) + /// Storage: VaultRewards TotalRewards (r:2 w:2) + /// Proof: VaultRewards TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards Stake (r:1 w:1) /// Proof: VaultRewards Stake (max_values: None, max_size: Some(97), added: 2572, mode: MaxEncodedLen) - /// Storage: VaultRewards RewardPerToken (r:2 w:0) - /// Proof: VaultRewards RewardPerToken (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) /// Storage: VaultRewards RewardTally (r:2 w:2) /// Proof: VaultRewards RewardTally (max_values: None, max_size: Some(124), added: 2599, mode: MaxEncodedLen) - /// Storage: VaultRewards TotalRewards (r:2 w:2) - /// Proof: VaultRewards TotalRewards (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: Fee Commission (r:1 w:0) /// Proof: Fee Commission (max_values: None, max_size: Some(86), added: 2561, mode: MaxEncodedLen) /// Storage: VaultStaking RewardPerToken (r:2 w:2) /// Proof: VaultStaking RewardPerToken (max_values: None, max_size: Some(117), added: 2592, mode: MaxEncodedLen) + /// Storage: VaultStaking TotalRewards (r:2 w:2) + /// Proof: VaultStaking TotalRewards (max_values: None, max_size: Some(117), added: 2592, mode: MaxEncodedLen) /// Storage: VaultStaking Stake (r:1 w:1) /// Proof: VaultStaking Stake (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) /// Storage: VaultStaking SlashPerToken (r:1 w:0) @@ -334,14 +329,10 @@ impl nomination::WeightInfo for WeightInfo { /// Proof: VaultStaking TotalStake (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking RewardTally (r:2 w:2) /// Proof: VaultStaking RewardTally (max_values: None, max_size: Some(149), added: 2624, mode: MaxEncodedLen) - /// Storage: VaultRewards TotalStake (r:1 w:1) - /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) - /// Storage: VaultRewards RewardCurrencies (r:1 w:0) - /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(138), added: 2613, 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) + /// Proof: VaultCapacity RewardCurrencies (max_values: None, max_size: Some(39), added: 2514, 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) @@ -352,13 +343,15 @@ impl nomination::WeightInfo for WeightInfo { /// 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 TotalUserVaultCollateral (r:1 w:1) + /// Proof: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) fn withdraw_collateral () -> Weight { // Proof Size summary in bytes: - // Measured: `5540` - // Estimated: `185433` - // Minimum execution time: 1_009_954_000 picoseconds. - Weight::from_parts(1_033_867_000, 185433) - .saturating_add(T::DbWeight::get().reads(59_u64)) - .saturating_add(T::DbWeight::get().writes(29_u64)) + // Measured: `6074` + // Estimated: `8760` + // Minimum execution time: 914_051_000 picoseconds. + Weight::from_parts(922_347_000, 8760) + .saturating_add(T::DbWeight::get().reads(60_u64)) + .saturating_add(T::DbWeight::get().writes(34_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/kintsugi/src/weights/oracle.rs b/parachain/runtime/kintsugi/src/weights/oracle.rs index dbf396ddfe..ac6c254bde 100644 --- a/parachain/runtime/kintsugi/src/weights/oracle.rs +++ b/parachain/runtime/kintsugi/src/weights/oracle.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for oracle //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -50,10 +50,10 @@ impl oracle::WeightInfo for WeightInfo { /// Proof: Oracle MaxDelay (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) /// Storage: VaultRewards TotalStake (r:999 w:0) /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) - /// Storage: Security ParachainStatus (r:1 w:1) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: Security Errors (r:1 w:1) - /// Proof: Security Errors (max_values: Some(1), max_size: Some(2), added: 497, mode: MaxEncodedLen) + /// Storage: VaultCapacity Stake (r:999 w:0) + /// Proof: VaultCapacity Stake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) + /// Storage: Loans Markets (r:999 w:0) + /// Proof: Loans Markets (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:0 w:999) /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: Oracle ValidUntil (r:0 w:999) @@ -61,17 +61,16 @@ impl oracle::WeightInfo for WeightInfo { /// The range of component `u` is `[1, 1000]`. fn on_initialize (u: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `687 + u * (127 ±0)` - // Estimated: `11433 + u * (10172 ±0)` - // Minimum execution time: 127_261_000 picoseconds. - Weight::from_parts(128_970_000, 11433) - // Standard Error: 50_008 - .saturating_add(Weight::from_parts(52_126_479, 0).saturating_mul(u.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(u.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `678 + u * (127 ±0)` + // Estimated: `3494 + u * (5150 ±0)` + // Minimum execution time: 84_258_000 picoseconds. + Weight::from_parts(85_090_000, 3494) + // Standard Error: 50_885 + .saturating_add(Weight::from_parts(45_702_615, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(u.into()))) - .saturating_add(Weight::from_parts(0, 10172).saturating_mul(u.into())) + .saturating_add(Weight::from_parts(0, 5150).saturating_mul(u.into())) } /// Storage: Oracle AuthorizedOracles (r:1 w:0) /// Proof: Oracle AuthorizedOracles (max_values: None, max_size: Some(305), added: 2780, mode: MaxEncodedLen) @@ -85,11 +84,11 @@ impl oracle::WeightInfo for WeightInfo { fn feed_values (u: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `295` - // Estimated: `5263` - // Minimum execution time: 49_951_000 picoseconds. - Weight::from_parts(51_093_000, 5263) - // Standard Error: 15_237 - .saturating_add(Weight::from_parts(10_441_256, 0).saturating_mul(u.into())) + // Estimated: `3770` + // Minimum execution time: 38_156_000 picoseconds. + Weight::from_parts(38_637_000, 3770) + // Standard Error: 33_449 + .saturating_add(Weight::from_parts(8_275_546, 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()))) } @@ -99,8 +98,8 @@ impl oracle::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 30_897_000 picoseconds. - Weight::from_parts(33_392_000, 0) + // Minimum execution time: 23_347_000 picoseconds. + Weight::from_parts(23_587_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: Oracle AuthorizedOracles (r:0 w:1) @@ -109,8 +108,8 @@ impl oracle::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 27_673_000 picoseconds. - Weight::from_parts(29_602_000, 0) + // Minimum execution time: 20_942_000 picoseconds. + Weight::from_parts(21_332_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/kintsugi/src/weights/orml_asset_registry.rs b/parachain/runtime/kintsugi/src/weights/orml_asset_registry.rs index 8de949beb6..e250abf53e 100644 --- a/parachain/runtime/kintsugi/src/weights/orml_asset_registry.rs +++ b/parachain/runtime/kintsugi/src/weights/orml_asset_registry.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for orml_asset_registry //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -49,9 +49,9 @@ impl orml_asset_registry::WeightInfo for WeightInfo fn register_asset () -> Weight { // Proof Size summary in bytes: // Measured: `107` - // Estimated: `8736` - // Minimum execution time: 56_246_000 picoseconds. - Weight::from_parts(58_393_000, 8736) + // Estimated: `3572` + // Minimum execution time: 43_197_000 picoseconds. + Weight::from_parts(43_718_000, 3572) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -62,9 +62,9 @@ impl orml_asset_registry::WeightInfo for WeightInfo fn update_asset () -> Weight { // Proof Size summary in bytes: // Measured: `774` - // Estimated: `8478` - // Minimum execution time: 69_020_000 picoseconds. - Weight::from_parts(71_366_000, 8478) + // Estimated: `4239` + // Minimum execution time: 51_513_000 picoseconds. + Weight::from_parts(52_796_000, 4239) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -72,7 +72,7 @@ impl orml_asset_registry::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 527_000 picoseconds. - Weight::from_parts(614_000, 0) + // Minimum execution time: 421_000 picoseconds. + Weight::from_parts(451_000, 0) } } \ No newline at end of file diff --git a/parachain/runtime/kintsugi/src/weights/orml_tokens.rs b/parachain/runtime/kintsugi/src/weights/orml_tokens.rs index dd0bbfb86d..50e442332c 100644 --- a/parachain/runtime/kintsugi/src/weights/orml_tokens.rs +++ b/parachain/runtime/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -60,10 +60,10 @@ impl orml_tokens::WeightInfo for WeightInfo { /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn transfer () -> Weight { // Proof Size summary in bytes: - // Measured: `1517` - // Estimated: `42199` - // Minimum execution time: 261_154_000 picoseconds. - Weight::from_parts(272_290_000, 42199) + // Measured: `1743` + // Estimated: `6260` + // Minimum execution time: 211_062_000 picoseconds. + Weight::from_parts(213_427_000, 6260) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -87,10 +87,10 @@ impl orml_tokens::WeightInfo for WeightInfo { /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn transfer_all () -> Weight { // Proof Size summary in bytes: - // Measured: `1517` - // Estimated: `42199` - // Minimum execution time: 275_185_000 picoseconds. - Weight::from_parts(301_987_000, 42199) + // Measured: `1743` + // Estimated: `6260` + // Minimum execution time: 217_896_000 picoseconds. + Weight::from_parts(220_561_000, 6260) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -114,10 +114,10 @@ impl orml_tokens::WeightInfo for WeightInfo { /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn transfer_keep_alive () -> Weight { // Proof Size summary in bytes: - // Measured: `1517` - // Estimated: `42199` - // Minimum execution time: 262_301_000 picoseconds. - Weight::from_parts(281_639_000, 42199) + // Measured: `1743` + // Estimated: `6260` + // Minimum execution time: 208_959_000 picoseconds. + Weight::from_parts(214_179_000, 6260) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -141,10 +141,10 @@ impl orml_tokens::WeightInfo for WeightInfo { /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn force_transfer () -> Weight { // Proof Size summary in bytes: - // Measured: `1517` - // Estimated: `42199` - // Minimum execution time: 264_521_000 picoseconds. - Weight::from_parts(282_929_000, 42199) + // Measured: `1743` + // Estimated: `6260` + // Minimum execution time: 210_782_000 picoseconds. + Weight::from_parts(211_844_000, 6260) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -154,10 +154,10 @@ impl orml_tokens::WeightInfo for WeightInfo { /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) fn set_balance () -> Weight { // Proof Size summary in bytes: - // Measured: `218` - // Estimated: `7080` - // Minimum execution time: 67_303_000 picoseconds. - Weight::from_parts(70_396_000, 7080) + // Measured: `435` + // Estimated: `3580` + // Minimum execution time: 53_407_000 picoseconds. + Weight::from_parts(54_209_000, 3580) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } diff --git a/parachain/runtime/kintsugi/src/weights/orml_vesting.rs b/parachain/runtime/kintsugi/src/weights/orml_vesting.rs index 9f4435e3bd..2e6e6d62fe 100644 --- a/parachain/runtime/kintsugi/src/weights/orml_vesting.rs +++ b/parachain/runtime/kintsugi/src/weights/orml_vesting.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for orml_vesting //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --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: `315 + n * (306 ±0)` - // Estimated: `15448` - // Minimum execution time: 87_385_000 picoseconds. - Weight::from_parts(101_058_776, 15448) + // Measured: `771 + n * (109 ±0)` + // Estimated: `4733` + // Minimum execution time: 69_630_000 picoseconds. + Weight::from_parts(85_988_378, 4733) .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: `395` - // Estimated: `18038` - // Minimum execution time: 156_905_000 picoseconds. - Weight::from_parts(162_668_000, 18038) + // Measured: `851` + // Estimated: `6170` + // Minimum execution time: 133_136_000 picoseconds. + Weight::from_parts(135_141_000, 6170) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -86,10 +86,10 @@ impl orml_vesting::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 1]`. fn update_vesting_schedules (_n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `560` - // Estimated: `11906` - // Minimum execution time: 86_877_000 picoseconds. - Weight::from_parts(93_145_134, 11906) + // Measured: `894` + // Estimated: `4733` + // Minimum execution time: 73_317_000 picoseconds. + Weight::from_parts(77_789_707, 4733) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } diff --git a/parachain/runtime/kintsugi/src/weights/pallet_collective.rs b/parachain/runtime/kintsugi/src/weights/pallet_collective.rs index c20e036b69..7b8d54f478 100644 --- a/parachain/runtime/kintsugi/src/weights/pallet_collective.rs +++ b/parachain/runtime/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -54,19 +54,19 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members (m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` - // Estimated: `19032 + m * (7796 ±30) + p * (10110 ±30)` - // Minimum execution time: 37_038_000 picoseconds. - Weight::from_parts(37_465_000, 19032) - // Standard Error: 171_101 - .saturating_add(Weight::from_parts(9_767_979, 0).saturating_mul(m.into())) - // Standard Error: 171_101 - .saturating_add(Weight::from_parts(17_255_253, 0).saturating_mul(p.into())) + // Estimated: `15762 + m * (1966 ±32) + p * (4332 ±32)` + // Minimum execution time: 27_555_000 picoseconds. + Weight::from_parts(27_886_000, 15762) + // Standard Error: 110_698 + .saturating_add(Weight::from_parts(6_544_430, 0).saturating_mul(m.into())) + // Standard Error: 110_698 + .saturating_add(Weight::from_parts(11_901_208, 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, 7796).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 10110).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1966).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 4332).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -76,12 +76,12 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103 + m * (32 ±0)` // Estimated: `1589 + m * (32 ±0)` - // Minimum execution time: 39_809_000 picoseconds. - Weight::from_parts(42_027_148, 1589) - // Standard Error: 653 - .saturating_add(Weight::from_parts(1_485, 0).saturating_mul(b.into())) - // Standard Error: 6_734 - .saturating_add(Weight::from_parts(27_554, 0).saturating_mul(m.into())) + // Minimum execution time: 30_882_000 picoseconds. + Weight::from_parts(30_466_976, 1589) + // Standard Error: 124 + .saturating_add(Weight::from_parts(2_030, 0).saturating_mul(b.into())) + // Standard Error: 1_283 + .saturating_add(Weight::from_parts(15_394, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -94,15 +94,15 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_execute (b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `103 + m * (32 ±0)` - // Estimated: `5158 + m * (64 ±0)` - // Minimum execution time: 45_239_000 picoseconds. - Weight::from_parts(48_094_466, 5158) - // Standard Error: 754 - .saturating_add(Weight::from_parts(792, 0).saturating_mul(b.into())) - // Standard Error: 7_772 - .saturating_add(Weight::from_parts(45_343, 0).saturating_mul(m.into())) + // Estimated: `3569 + m * (32 ±0)` + // Minimum execution time: 35_902_000 picoseconds. + Weight::from_parts(35_558_309, 3569) + // Standard Error: 98 + .saturating_add(Weight::from_parts(1_600, 0).saturating_mul(b.into())) + // Standard Error: 1_013 + .saturating_add(Weight::from_parts(25_869, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -120,19 +120,19 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_proposed (b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `393 + m * (32 ±0) + p * (36 ±0)` - // Estimated: `9510 + m * (165 ±0) + p * (180 ±0)` - // Minimum execution time: 60_312_000 picoseconds. - Weight::from_parts(59_919_902, 9510) - // Standard Error: 1_108 - .saturating_add(Weight::from_parts(6_692, 0).saturating_mul(b.into())) - // Standard Error: 11_569 - .saturating_add(Weight::from_parts(68_898, 0).saturating_mul(m.into())) - // Standard Error: 11_423 - .saturating_add(Weight::from_parts(653_673, 0).saturating_mul(p.into())) + // Estimated: `3783 + m * (33 ±0) + p * (36 ±0)` + // Minimum execution time: 46_312_000 picoseconds. + Weight::from_parts(46_713_011, 3783) + // Standard Error: 709 + .saturating_add(Weight::from_parts(4_788, 0).saturating_mul(b.into())) + // Standard Error: 7_405 + .saturating_add(Weight::from_parts(15_986, 0).saturating_mul(m.into())) + // Standard Error: 7_311 + .saturating_add(Weight::from_parts(298_350, 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, 33).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Members (r:1 w:0) /// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured) @@ -142,14 +142,14 @@ impl pallet_collective::WeightInfo for WeightInfo { fn vote (m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `842 + m * (64 ±0)` - // Estimated: `6632 + m * (128 ±0)` - // Minimum execution time: 69_321_000 picoseconds. - Weight::from_parts(76_588_048, 6632) - // Standard Error: 11_838 - .saturating_add(Weight::from_parts(153_256, 0).saturating_mul(m.into())) + // Estimated: `4306 + m * (64 ±0)` + // Minimum execution time: 39_509_000 picoseconds. + Weight::from_parts(41_107_426, 4306) + // Standard Error: 2_944 + .saturating_add(Weight::from_parts(44_135, 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())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -164,17 +164,17 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_disapproved (m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `431 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `8075 + m * (260 ±0) + p * (144 ±0)` - // Minimum execution time: 70_839_000 picoseconds. - Weight::from_parts(69_678_612, 8075) - // Standard Error: 11_105 - .saturating_add(Weight::from_parts(106_289, 0).saturating_mul(m.into())) - // Standard Error: 10_829 - .saturating_add(Weight::from_parts(572_328, 0).saturating_mul(p.into())) + // Estimated: `3875 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 49_359_000 picoseconds. + Weight::from_parts(49_169_939, 3875) + // Standard Error: 10_006 + .saturating_add(Weight::from_parts(62_030, 0).saturating_mul(m.into())) + // Standard Error: 9_757 + .saturating_add(Weight::from_parts(323_855, 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())) - .saturating_add(Weight::from_parts(0, 144).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -190,20 +190,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_approved (b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `733 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `12228 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)` - // Minimum execution time: 101_255_000 picoseconds. - Weight::from_parts(113_763_725, 12228) - // Standard Error: 1_293 - .saturating_add(Weight::from_parts(5_131, 0).saturating_mul(b.into())) - // Standard Error: 13_671 - .saturating_add(Weight::from_parts(40_880, 0).saturating_mul(m.into())) - // Standard Error: 13_326 - .saturating_add(Weight::from_parts(679_723, 0).saturating_mul(p.into())) + // Estimated: `4047 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 75_562_000 picoseconds. + Weight::from_parts(77_588_078, 4047) + // Standard Error: 841 + .saturating_add(Weight::from_parts(2_992, 0).saturating_mul(b.into())) + // Standard Error: 8_896 + .saturating_add(Weight::from_parts(19_739, 0).saturating_mul(m.into())) + // Standard Error: 8_672 + .saturating_add(Weight::from_parts(301_339, 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, 160).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -220,17 +220,17 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_disapproved (m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `451 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `10070 + m * (325 ±0) + p * (180 ±0)` - // Minimum execution time: 75_093_000 picoseconds. - Weight::from_parts(77_876_620, 10070) - // Standard Error: 14_725 - .saturating_add(Weight::from_parts(75_929, 0).saturating_mul(m.into())) - // Standard Error: 14_358 - .saturating_add(Weight::from_parts(632_851, 0).saturating_mul(p.into())) + // Estimated: `3895 + m * (65 ±0) + p * (36 ±0)` + // Minimum execution time: 54_519_000 picoseconds. + Weight::from_parts(59_296_119, 3895) + // Standard Error: 10_728 + .saturating_add(Weight::from_parts(29_077, 0).saturating_mul(m.into())) + // Standard Error: 10_461 + .saturating_add(Weight::from_parts(288_109, 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())) - .saturating_add(Weight::from_parts(0, 180).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Voting (r:1 w:1) /// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured) @@ -248,20 +248,20 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_approved (b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `753 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` - // Estimated: `14395 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)` - // Minimum execution time: 104_177_000 picoseconds. - Weight::from_parts(113_086_530, 14395) - // Standard Error: 1_484 - .saturating_add(Weight::from_parts(9_539, 0).saturating_mul(b.into())) - // Standard Error: 15_687 - .saturating_add(Weight::from_parts(67_273, 0).saturating_mul(m.into())) - // Standard Error: 15_291 - .saturating_add(Weight::from_parts(695_647, 0).saturating_mul(p.into())) + // Estimated: `4067 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` + // Minimum execution time: 80_241_000 picoseconds. + Weight::from_parts(86_535_840, 4067) + // Standard Error: 920 + .saturating_add(Weight::from_parts(1_512, 0).saturating_mul(b.into())) + // Standard Error: 9_730 + .saturating_add(Weight::from_parts(16_230, 0).saturating_mul(m.into())) + // Standard Error: 9_484 + .saturating_add(Weight::from_parts(269_700, 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, 200).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } /// Storage: TechnicalCommittee Proposals (r:1 w:1) /// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured) @@ -273,13 +273,13 @@ impl pallet_collective::WeightInfo for WeightInfo { fn disapprove_proposal (p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `260 + p * (32 ±0)` - // Estimated: `2265 + p * (96 ±0)` - // Minimum execution time: 38_480_000 picoseconds. - Weight::from_parts(46_358_938, 2265) - // Standard Error: 11_896 - .saturating_add(Weight::from_parts(566_906, 0).saturating_mul(p.into())) + // Estimated: `1745 + p * (32 ±0)` + // Minimum execution time: 29_068_000 picoseconds. + Weight::from_parts(32_132_833, 1745) + // Standard Error: 8_681 + .saturating_add(Weight::from_parts(271_198, 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())) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } } \ No newline at end of file diff --git a/parachain/runtime/kintsugi/src/weights/pallet_identity.rs b/parachain/runtime/kintsugi/src/weights/pallet_identity.rs index 4fe03dd626..d856d4081c 100644 --- a/parachain/runtime/kintsugi/src/weights/pallet_identity.rs +++ b/parachain/runtime/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -45,12 +45,12 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn add_registrar (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `31 + r * (57 ±0)` + // Measured: `32 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 29_658_000 picoseconds. - Weight::from_parts(32_388_262, 2626) - // Standard Error: 28_613 - .saturating_add(Weight::from_parts(560_664, 0).saturating_mul(r.into())) + // Minimum execution time: 22_986_000 picoseconds. + Weight::from_parts(24_181_833, 2626) + // Standard Error: 4_421 + .saturating_add(Weight::from_parts(159_851, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -62,14 +62,14 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn set_identity (r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `797 + r * (17 ±0)` - // Estimated: `14583` - // Minimum execution time: 94_610_000 picoseconds. - Weight::from_parts(94_849_003, 14583) - // Standard Error: 77_224 - .saturating_add(Weight::from_parts(1_014_324, 0).saturating_mul(r.into())) - // Standard Error: 14_688 - .saturating_add(Weight::from_parts(1_265_870, 0).saturating_mul(x.into())) + // Measured: `1017 + r * (12 ±0)` + // Estimated: `11003` + // Minimum execution time: 65_391_000 picoseconds. + Weight::from_parts(69_077_970, 11003) + // Standard Error: 100_599 + .saturating_add(Weight::from_parts(449_513, 0).saturating_mul(r.into())) + // Standard Error: 19_134 + .saturating_add(Weight::from_parts(1_062_920, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -84,12 +84,12 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn set_subs_new (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `419` - // Estimated: `22296 + s * (2589 ±0)` - // Minimum execution time: 23_473_000 picoseconds. - Weight::from_parts(65_673_234, 22296) - // Standard Error: 31_908 - .saturating_add(Weight::from_parts(7_788_428, 0).saturating_mul(s.into())) + // Measured: `637` + // Estimated: `11003 + s * (2589 ±0)` + // Minimum execution time: 17_816_000 picoseconds. + Weight::from_parts(55_350_473, 11003) + // Standard Error: 13_184 + .saturating_add(Weight::from_parts(6_219_407, 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)) @@ -107,12 +107,12 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_subs_old (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `512 + p * (32 ±0)` - // Estimated: `21306` - // Minimum execution time: 23_235_000 picoseconds. - Weight::from_parts(62_542_236, 21306) - // Standard Error: 18_980 - .saturating_add(Weight::from_parts(3_254_754, 0).saturating_mul(p.into())) + // Measured: `730 + p * (32 ±0)` + // Estimated: `11003` + // Minimum execution time: 18_006_000 picoseconds. + Weight::from_parts(46_076_762, 11003) + // Standard Error: 8_675 + .saturating_add(Weight::from_parts(2_452_286, 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()))) @@ -128,18 +128,16 @@ 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: `825 + r * (17 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `21306` - // Minimum execution time: 159_212_000 picoseconds. - Weight::from_parts(63_613_007, 21306) - // Standard Error: 108_422 - .saturating_add(Weight::from_parts(1_303_079, 0).saturating_mul(r.into())) - // Standard Error: 20_487 - .saturating_add(Weight::from_parts(3_343_144, 0).saturating_mul(s.into())) - // Standard Error: 20_487 - .saturating_add(Weight::from_parts(796_591, 0).saturating_mul(x.into())) + // Measured: `1049 + r * (12 ±0) + s * (32 ±0) + x * (66 ±0)` + // Estimated: `11003` + // Minimum execution time: 113_047_000 picoseconds. + Weight::from_parts(65_764_584, 11003) + // Standard Error: 31_578 + .saturating_add(Weight::from_parts(2_452_246, 0).saturating_mul(s.into())) + // Standard Error: 31_578 + .saturating_add(Weight::from_parts(545_909, 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()))) @@ -154,14 +152,14 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn request_judgement (r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `721 + r * (69 ±0) + x * (66 ±0)` - // Estimated: `17209` - // Minimum execution time: 100_013_000 picoseconds. - Weight::from_parts(92_611_653, 17209) - // Standard Error: 70_701 - .saturating_add(Weight::from_parts(735_891, 0).saturating_mul(r.into())) - // Standard Error: 13_447 - .saturating_add(Weight::from_parts(1_326_583, 0).saturating_mul(x.into())) + // Measured: `942 + r * (64 ±0) + x * (66 ±0)` + // Estimated: `11003` + // Minimum execution time: 73_097_000 picoseconds. + Weight::from_parts(76_938_006, 11003) + // Standard Error: 59_507 + .saturating_add(Weight::from_parts(143_637, 0).saturating_mul(r.into())) + // Standard Error: 11_318 + .saturating_add(Weight::from_parts(1_036_500, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -173,14 +171,14 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn cancel_request (r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `753 + r * (12 ±0) + x * (66 ±0)` - // Estimated: `14583` - // Minimum execution time: 85_034_000 picoseconds. - Weight::from_parts(85_245_033, 14583) - // Standard Error: 73_722 - .saturating_add(Weight::from_parts(553_864, 0).saturating_mul(r.into())) - // Standard Error: 14_022 - .saturating_add(Weight::from_parts(1_236_075, 0).saturating_mul(x.into())) + // Measured: `973 + r * (7 ±0) + x * (66 ±0)` + // Estimated: `11003` + // Minimum execution time: 61_433_000 picoseconds. + Weight::from_parts(56_726_772, 11003) + // Standard Error: 87_425 + .saturating_add(Weight::from_parts(392_867, 0).saturating_mul(r.into())) + // Standard Error: 16_628 + .saturating_add(Weight::from_parts(1_113_492, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -189,12 +187,12 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_fee (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `88 + r * (57 ±0)` + // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 18_469_000 picoseconds. - Weight::from_parts(20_943_735, 2626) - // Standard Error: 20_706 - .saturating_add(Weight::from_parts(336_620, 0).saturating_mul(r.into())) + // Minimum execution time: 14_549_000 picoseconds. + Weight::from_parts(15_310_600, 2626) + // Standard Error: 2_952 + .saturating_add(Weight::from_parts(142_391, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -203,12 +201,12 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_account_id (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `88 + r * (57 ±0)` + // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 19_117_000 picoseconds. - Weight::from_parts(20_689_970, 2626) - // Standard Error: 18_307 - .saturating_add(Weight::from_parts(420_655, 0).saturating_mul(r.into())) + // Minimum execution time: 14_779_000 picoseconds. + Weight::from_parts(15_555_149, 2626) + // Standard Error: 3_115 + .saturating_add(Weight::from_parts(133_559, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -217,12 +215,12 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_fields (r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `88 + r * (57 ±0)` + // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 18_914_000 picoseconds. - Weight::from_parts(20_051_136, 2626) - // Standard Error: 16_530 - .saturating_add(Weight::from_parts(400_692, 0).saturating_mul(r.into())) + // Minimum execution time: 14_950_000 picoseconds. + Weight::from_parts(15_454_648, 2626) + // Standard Error: 5_499 + .saturating_add(Weight::from_parts(143_851, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -234,14 +232,14 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn provide_judgement (r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `444 + r * (57 ±0) + x * (66 ±0)` - // Estimated: `13629` - // Minimum execution time: 61_446_000 picoseconds. - Weight::from_parts(59_775_124, 13629) - // Standard Error: 74_686 - .saturating_add(Weight::from_parts(537_571, 0).saturating_mul(r.into())) - // Standard Error: 13_488 - .saturating_add(Weight::from_parts(2_024_583, 0).saturating_mul(x.into())) + // Measured: `445 + r * (57 ±0) + x * (66 ±0)` + // Estimated: `11003` + // Minimum execution time: 43_538_000 picoseconds. + Weight::from_parts(42_981_123, 11003) + // Standard Error: 10_221 + .saturating_add(Weight::from_parts(122_856, 0).saturating_mul(r.into())) + // Standard Error: 1_846 + .saturating_add(Weight::from_parts(1_731_196, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -260,16 +258,16 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn kill_identity (r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `879 + r * (13 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `24806` - // Minimum execution time: 276_358_000 picoseconds. - Weight::from_parts(324_219_120, 24806) - // Standard Error: 363_435 - .saturating_add(Weight::from_parts(770_952, 0).saturating_mul(r.into())) - // Standard Error: 68_674 - .saturating_add(Weight::from_parts(3_084_393, 0).saturating_mul(s.into())) - // Standard Error: 68_674 - .saturating_add(Weight::from_parts(536_488, 0).saturating_mul(x.into())) + // Measured: `1133 + r * (8 ±0) + s * (32 ±0) + x * (66 ±0)` + // Estimated: `11003` + // Minimum execution time: 139_149_000 picoseconds. + Weight::from_parts(78_040_120, 11003) + // Standard Error: 90_340 + .saturating_add(Weight::from_parts(364_164, 0).saturating_mul(r.into())) + // Standard Error: 17_070 + .saturating_add(Weight::from_parts(2_466_284, 0).saturating_mul(s.into())) + // Standard Error: 17_070 + .saturating_add(Weight::from_parts(592_129, 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()))) @@ -285,12 +283,12 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn add_sub (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `793 + s * (36 ±0)` - // Estimated: `24885` - // Minimum execution time: 82_290_000 picoseconds. - Weight::from_parts(99_654_375, 24885) - // Standard Error: 16_641 - .saturating_add(Weight::from_parts(280_950, 0).saturating_mul(s.into())) + // Measured: `1011 + s * (36 ±0)` + // Estimated: `11003` + // Minimum execution time: 66_964_000 picoseconds. + Weight::from_parts(73_507_098, 11003) + // Standard Error: 2_409 + .saturating_add(Weight::from_parts(83_629, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -301,12 +299,12 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn rename_sub (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `590 + s * (3 ±0)` - // Estimated: `14582` - // Minimum execution time: 30_792_000 picoseconds. - Weight::from_parts(37_031_865, 14582) - // Standard Error: 6_382 - .saturating_add(Weight::from_parts(107_280, 0).saturating_mul(s.into())) + // Measured: `591 + s * (3 ±0)` + // Estimated: `11003` + // Minimum execution time: 23_928_000 picoseconds. + Weight::from_parts(26_136_297, 11003) + // Standard Error: 932 + .saturating_add(Weight::from_parts(17_948, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -321,12 +319,12 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn remove_sub (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `956 + s * (35 ±0)` - // Estimated: `24885` - // Minimum execution time: 83_312_000 picoseconds. - Weight::from_parts(92_869_808, 24885) - // Standard Error: 12_562 - .saturating_add(Weight::from_parts(235_070, 0).saturating_mul(s.into())) + // Measured: `1174 + s * (35 ±0)` + // Estimated: `11003` + // Minimum execution time: 64_009_000 picoseconds. + Weight::from_parts(68_461_962, 11003) + // Standard Error: 2_247 + .saturating_add(Weight::from_parts(68_630, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -339,12 +337,12 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn quit_sub (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `882 + s * (37 ±0)` - // Estimated: `16472` - // Minimum execution time: 136_997_000 picoseconds. - Weight::from_parts(148_870_524, 16472) - // Standard Error: 19_849 - .saturating_add(Weight::from_parts(185_985, 0).saturating_mul(s.into())) + // Measured: `1100 + s * (37 ±0)` + // Estimated: `6723` + // Minimum execution time: 106_002_000 picoseconds. + Weight::from_parts(110_225_941, 6723) + // Standard Error: 2_866 + .saturating_add(Weight::from_parts(73_759, 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/kintsugi/src/weights/pallet_membership.rs b/parachain/runtime/kintsugi/src/weights/pallet_membership.rs index c2a0d1daa3..26f19606c7 100644 --- a/parachain/runtime/kintsugi/src/weights/pallet_membership.rs +++ b/parachain/runtime/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -52,14 +52,14 @@ impl pallet_membership::WeightInfo for WeightInfo { fn add_member (m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `135 + m * (64 ±0)` - // Estimated: `6574 + m * (192 ±0)` - // Minimum execution time: 39_085_000 picoseconds. - Weight::from_parts(41_405_258, 6574) - // Standard Error: 4_530 - .saturating_add(Weight::from_parts(61_425, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 28_968_000 picoseconds. + Weight::from_parts(30_406_093, 4687) + // Standard Error: 1_278 + .saturating_add(Weight::from_parts(49_047, 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())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -75,14 +75,14 @@ impl pallet_membership::WeightInfo for WeightInfo { fn remove_member (m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `239 + m * (64 ±0)` - // Estimated: `8403 + m * (192 ±0)` - // Minimum execution time: 44_438_000 picoseconds. - Weight::from_parts(48_579_071, 8403) - // Standard Error: 6_870 - .saturating_add(Weight::from_parts(54_770, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 33_617_000 picoseconds. + Weight::from_parts(35_067_538, 4687) + // Standard Error: 993 + .saturating_add(Weight::from_parts(39_985, 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())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -98,14 +98,14 @@ impl pallet_membership::WeightInfo for WeightInfo { fn swap_member (m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `239 + m * (64 ±0)` - // Estimated: `8403 + m * (192 ±0)` - // Minimum execution time: 45_097_000 picoseconds. - Weight::from_parts(47_597_110, 8403) - // Standard Error: 5_780 - .saturating_add(Weight::from_parts(109_005, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 33_948_000 picoseconds. + Weight::from_parts(35_532_376, 4687) + // Standard Error: 1_402 + .saturating_add(Weight::from_parts(59_658, 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())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -121,14 +121,14 @@ impl pallet_membership::WeightInfo for WeightInfo { fn reset_member (m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `239 + m * (64 ±0)` - // Estimated: `8403 + m * (192 ±0)` - // Minimum execution time: 43_376_000 picoseconds. - Weight::from_parts(48_396_887, 8403) - // Standard Error: 7_577 - .saturating_add(Weight::from_parts(326_626, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 33_547_000 picoseconds. + Weight::from_parts(36_327_634, 4687) + // Standard Error: 2_341 + .saturating_add(Weight::from_parts(204_204, 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())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:1) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -144,14 +144,14 @@ impl pallet_membership::WeightInfo for WeightInfo { fn change_key (m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `239 + m * (64 ±0)` - // Estimated: `8403 + m * (192 ±0)` - // Minimum execution time: 46_090_000 picoseconds. - Weight::from_parts(51_337_586, 8403) - // Standard Error: 7_433 - .saturating_add(Weight::from_parts(81_678, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (64 ±0)` + // Minimum execution time: 35_011_000 picoseconds. + Weight::from_parts(29_075_546, 4687) + // Standard Error: 51_828 + .saturating_add(Weight::from_parts(376_828, 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())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: TechnicalMembership Members (r:1 w:0) /// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) @@ -163,11 +163,11 @@ impl pallet_membership::WeightInfo for WeightInfo { fn set_prime (m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `31 + m * (32 ±0)` - // Estimated: `4718 + m * (32 ±0)` - // Minimum execution time: 17_347_000 picoseconds. - Weight::from_parts(18_472_794, 4718) - // Standard Error: 1_957 - .saturating_add(Weight::from_parts(18_190, 0).saturating_mul(m.into())) + // Estimated: `4687 + m * (32 ±0)` + // Minimum execution time: 13_086_000 picoseconds. + Weight::from_parts(13_651_393, 4687) + // Standard Error: 319 + .saturating_add(Weight::from_parts(10_056, 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())) @@ -181,10 +181,10 @@ impl pallet_membership::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_361_000 picoseconds. - Weight::from_parts(9_043_690, 0) - // Standard Error: 2_026 - .saturating_add(Weight::from_parts(2_727, 0).saturating_mul(m.into())) + // Minimum execution time: 6_604_000 picoseconds. + Weight::from_parts(6_889_967, 0) + // Standard Error: 177 + .saturating_add(Weight::from_parts(140, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().writes(2_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/kintsugi/src/weights/pallet_multisig.rs b/parachain/runtime/kintsugi/src/weights/pallet_multisig.rs index 3c3c097f08..ed467fcc23 100644 --- a/parachain/runtime/kintsugi/src/weights/pallet_multisig.rs +++ b/parachain/runtime/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -45,10 +45,10 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 39_641_000 picoseconds. - Weight::from_parts(46_443_344, 0) - // Standard Error: 68 - .saturating_add(Weight::from_parts(884, 0).saturating_mul(z.into())) + // Minimum execution time: 19_699_000 picoseconds. + Weight::from_parts(20_731_704, 0) + // Standard Error: 31 + .saturating_add(Weight::from_parts(849, 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) @@ -58,14 +58,14 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_create (s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `679 + s * (3 ±0)` - // Estimated: `10391` - // Minimum execution time: 100_464_000 picoseconds. - Weight::from_parts(83_410_474, 10391) - // Standard Error: 14_982 - .saturating_add(Weight::from_parts(499_673, 0).saturating_mul(s.into())) - // Standard Error: 146 - .saturating_add(Weight::from_parts(2_211, 0).saturating_mul(z.into())) + // Measured: `785 + s * (2 ±0)` + // Estimated: `6811` + // Minimum execution time: 75_772_000 picoseconds. + Weight::from_parts(64_296_985, 6811) + // Standard Error: 4_662 + .saturating_add(Weight::from_parts(128_896, 0).saturating_mul(s.into())) + // Standard Error: 45 + .saturating_add(Weight::from_parts(1_998, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -77,12 +77,12 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `210` // Estimated: `6811` - // Minimum execution time: 67_939_000 picoseconds. - Weight::from_parts(57_002_710, 6811) - // Standard Error: 10_860 - .saturating_add(Weight::from_parts(329_023, 0).saturating_mul(s.into())) - // Standard Error: 106 - .saturating_add(Weight::from_parts(1_774, 0).saturating_mul(z.into())) + // Minimum execution time: 44_058_000 picoseconds. + Weight::from_parts(35_694_610, 6811) + // Standard Error: 8_198 + .saturating_add(Weight::from_parts(94_572, 0).saturating_mul(s.into())) + // Standard Error: 80 + .saturating_add(Weight::from_parts(2_060, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -94,14 +94,14 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_complete (s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `820 + s * (35 ±0)` - // Estimated: `10391` - // Minimum execution time: 101_575_000 picoseconds. - Weight::from_parts(81_885_681, 10391) - // Standard Error: 18_975 - .saturating_add(Weight::from_parts(601_187, 0).saturating_mul(s.into())) - // Standard Error: 185 - .saturating_add(Weight::from_parts(3_377, 0).saturating_mul(z.into())) + // Measured: `927 + s * (34 ±0)` + // Estimated: `6811` + // Minimum execution time: 76_092_000 picoseconds. + Weight::from_parts(65_547_375, 6811) + // Standard Error: 7_511 + .saturating_add(Weight::from_parts(130_275, 0).saturating_mul(s.into())) + // Standard Error: 73 + .saturating_add(Weight::from_parts(1_958, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -112,12 +112,12 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `681 + s * (3 ±0)` - // Estimated: `10391` - // Minimum execution time: 76_682_000 picoseconds. - Weight::from_parts(84_569_982, 10391) - // Standard Error: 14_936 - .saturating_add(Weight::from_parts(424_166, 0).saturating_mul(s.into())) + // Measured: `785 + s * (2 ±0)` + // Estimated: `6811` + // Minimum execution time: 60_962_000 picoseconds. + Weight::from_parts(64_772_974, 6811) + // Standard Error: 5_069 + .saturating_add(Weight::from_parts(139_789, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -128,10 +128,10 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `210` // Estimated: `6811` - // Minimum execution time: 43_869_000 picoseconds. - Weight::from_parts(47_979_585, 6811) - // Standard Error: 10_160 - .saturating_add(Weight::from_parts(366_385, 0).saturating_mul(s.into())) + // Minimum execution time: 33_758_000 picoseconds. + Weight::from_parts(35_053_040, 6811) + // Standard Error: 2_247 + .saturating_add(Weight::from_parts(84_131, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -142,12 +142,12 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn cancel_as_multi (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `887 + s * (3 ±0)` - // Estimated: `10391` - // Minimum execution time: 70_160_000 picoseconds. - Weight::from_parts(78_936_731, 10391) - // Standard Error: 14_286 - .saturating_add(Weight::from_parts(430_817, 0).saturating_mul(s.into())) + // Measured: `991 + s * (2 ±0)` + // Estimated: `6811` + // Minimum execution time: 57_826_000 picoseconds. + Weight::from_parts(59_602_564, 6811) + // Standard Error: 1_749 + .saturating_add(Weight::from_parts(85_294, 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/kintsugi/src/weights/pallet_preimage.rs b/parachain/runtime/kintsugi/src/weights/pallet_preimage.rs index 1a71bcdb11..de92679776 100644 --- a/parachain/runtime/kintsugi/src/weights/pallet_preimage.rs +++ b/parachain/runtime/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -49,12 +49,12 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_preimage (s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `361` - // Estimated: `7136` - // Minimum execution time: 72_936_000 picoseconds. - Weight::from_parts(74_008_000, 7136) - // Standard Error: 18 - .saturating_add(Weight::from_parts(4_520, 0).saturating_mul(s.into())) + // Measured: `578` + // Estimated: `3580` + // Minimum execution time: 56_944_000 picoseconds. + Weight::from_parts(57_275_000, 3580) + // Standard Error: 9 + .saturating_add(Weight::from_parts(2_434, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -67,10 +67,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 40_666_000 picoseconds. - Weight::from_parts(41_275_000, 3556) - // Standard Error: 18 - .saturating_add(Weight::from_parts(4_447, 0).saturating_mul(s.into())) + // Minimum execution time: 30_802_000 picoseconds. + Weight::from_parts(31_073_000, 3556) + // Standard Error: 9 + .saturating_add(Weight::from_parts(2_454, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -83,10 +83,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 38_449_000 picoseconds. - Weight::from_parts(39_199_000, 3556) - // Standard Error: 18 - .saturating_add(Weight::from_parts(4_438, 0).saturating_mul(s.into())) + // Minimum execution time: 29_569_000 picoseconds. + Weight::from_parts(29_820_000, 3556) + // Standard Error: 9 + .saturating_add(Weight::from_parts(2_407, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -98,10 +98,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) fn unnote_preimage () -> Weight { // Proof Size summary in bytes: - // Measured: `507` - // Estimated: `7136` - // Minimum execution time: 114_713_000 picoseconds. - Weight::from_parts(124_116_000, 7136) + // Measured: `724` + // Estimated: `3580` + // Minimum execution time: 80_381_000 picoseconds. + Weight::from_parts(82_065_000, 3580) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -113,8 +113,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 80_966_000 picoseconds. - Weight::from_parts(84_573_000, 3556) + // Minimum execution time: 50_932_000 picoseconds. + Weight::from_parts(51_904_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -124,8 +124,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `188` // Estimated: `3556` - // Minimum execution time: 74_080_000 picoseconds. - Weight::from_parts(77_561_000, 3556) + // Minimum execution time: 42_375_000 picoseconds. + Weight::from_parts(45_581_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -135,8 +135,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 50_561_000 picoseconds. - Weight::from_parts(53_043_000, 3556) + // Minimum execution time: 26_243_000 picoseconds. + Weight::from_parts(27_585_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -146,8 +146,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3556` - // Minimum execution time: 56_504_000 picoseconds. - Weight::from_parts(59_736_000, 3556) + // Minimum execution time: 24_670_000 picoseconds. + Weight::from_parts(25_682_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -157,8 +157,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 25_948_000 picoseconds. - Weight::from_parts(27_809_000, 3556) + // Minimum execution time: 15_211_000 picoseconds. + Weight::from_parts(15_431_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -170,8 +170,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 76_610_000 picoseconds. - Weight::from_parts(82_031_000, 3556) + // Minimum execution time: 46_233_000 picoseconds. + Weight::from_parts(46_873_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -181,8 +181,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 25_434_000 picoseconds. - Weight::from_parts(26_929_000, 3556) + // Minimum execution time: 15_160_000 picoseconds. + Weight::from_parts(15_912_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -192,8 +192,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 25_614_000 picoseconds. - Weight::from_parts(27_250_000, 3556) + // Minimum execution time: 15_311_000 picoseconds. + Weight::from_parts(15_792_000, 3556) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/parachain/runtime/kintsugi/src/weights/pallet_proxy.rs b/parachain/runtime/kintsugi/src/weights/pallet_proxy.rs index cbff9543b7..14afb2498c 100644 --- a/parachain/runtime/kintsugi/src/weights/pallet_proxy.rs +++ b/parachain/runtime/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -45,12 +45,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `199 + p * (37 ±0)` + // Measured: `251 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 40_072_000 picoseconds. - Weight::from_parts(42_586_510, 4706) - // Standard Error: 17_676 - .saturating_add(Weight::from_parts(148_242, 0).saturating_mul(p.into())) + // Minimum execution time: 31_042_000 picoseconds. + Weight::from_parts(31_696_042, 4706) + // Standard Error: 1_810 + .saturating_add(Weight::from_parts(29_815, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: Proxy Proxies (r:1 w:0) @@ -63,14 +63,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy_announced (a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `771 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `13984` - // Minimum execution time: 89_488_000 picoseconds. - Weight::from_parts(89_482_872, 13984) - // Standard Error: 32_345 - .saturating_add(Weight::from_parts(691_852, 0).saturating_mul(a.into())) - // Standard Error: 33_465 - .saturating_add(Weight::from_parts(223_874, 0).saturating_mul(p.into())) + // Measured: `1011 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `5698` + // Minimum execution time: 68_858_000 picoseconds. + Weight::from_parts(71_304_525, 5698) + // Standard Error: 4_860 + .saturating_add(Weight::from_parts(292_426, 0).saturating_mul(a.into())) + // Standard Error: 5_028 + .saturating_add(Weight::from_parts(20_095, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -82,12 +82,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_announcement (a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `686 + a * (68 ±0)` - // Estimated: `9278` - // Minimum execution time: 56_423_000 picoseconds. - Weight::from_parts(66_546_340, 9278) - // Standard Error: 26_492 - .saturating_add(Weight::from_parts(428_552, 0).saturating_mul(a.into())) + // Measured: `926 + a * (68 ±0)` + // Estimated: `5698` + // Minimum execution time: 45_691_000 picoseconds. + Weight::from_parts(46_976_313, 5698) + // Standard Error: 37_400 + .saturating_add(Weight::from_parts(429_525, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -99,14 +99,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn reject_announcement (a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `686 + a * (68 ±0)` - // Estimated: `9278` - // Minimum execution time: 57_532_000 picoseconds. - Weight::from_parts(56_676_168, 9278) - // Standard Error: 54_986 - .saturating_add(Weight::from_parts(554_940, 0).saturating_mul(a.into())) - // Standard Error: 56_889 - .saturating_add(Weight::from_parts(249_802, 0).saturating_mul(p.into())) + // Measured: `926 + a * (68 ±0)` + // Estimated: `5698` + // Minimum execution time: 45_441_000 picoseconds. + Weight::from_parts(47_659_912, 5698) + // Standard Error: 3_967 + .saturating_add(Weight::from_parts(304_018, 0).saturating_mul(a.into())) + // Standard Error: 4_105 + .saturating_add(Weight::from_parts(5_528, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -120,14 +120,14 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn announce (a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `703 + a * (68 ±0) + p * (37 ±0)` - // Estimated: `13984` - // Minimum execution time: 84_868_000 picoseconds. - Weight::from_parts(87_897_680, 13984) - // Standard Error: 37_442 - .saturating_add(Weight::from_parts(547_338, 0).saturating_mul(a.into())) - // Standard Error: 38_737 - .saturating_add(Weight::from_parts(209_492, 0).saturating_mul(p.into())) + // Measured: `943 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `5698` + // Minimum execution time: 69_500_000 picoseconds. + Weight::from_parts(71_450_204, 5698) + // Standard Error: 3_637 + .saturating_add(Weight::from_parts(294_087, 0).saturating_mul(a.into())) + // Standard Error: 3_763 + .saturating_add(Weight::from_parts(33_253, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -138,12 +138,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn add_proxy (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `518 + p * (37 ±0)` - // Estimated: `8286` - // Minimum execution time: 73_867_000 picoseconds. - Weight::from_parts(78_075_648, 8286) - // Standard Error: 24_031 - .saturating_add(Weight::from_parts(225_503, 0).saturating_mul(p.into())) + // Measured: `787 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 60_491_000 picoseconds. + Weight::from_parts(61_796_024, 4706) + // Standard Error: 5_264 + .saturating_add(Weight::from_parts(83_677, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -154,12 +154,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxy (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `518 + p * (37 ±0)` - // Estimated: `8286` - // Minimum execution time: 64_216_000 picoseconds. - Weight::from_parts(71_319_965, 8286) - // Standard Error: 26_952 - .saturating_add(Weight::from_parts(159_834, 0).saturating_mul(p.into())) + // Measured: `787 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 52_626_000 picoseconds. + Weight::from_parts(54_526_510, 4706) + // Standard Error: 4_342 + .saturating_add(Weight::from_parts(94_311, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -170,12 +170,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxies (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `518 + p * (37 ±0)` - // Estimated: `8286` - // Minimum execution time: 53_263_000 picoseconds. - Weight::from_parts(57_811_011, 8286) - // Standard Error: 35_717 - .saturating_add(Weight::from_parts(111_718, 0).saturating_mul(p.into())) + // Measured: `787 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 43_587_000 picoseconds. + Weight::from_parts(44_521_020, 4706) + // Standard Error: 2_924 + .saturating_add(Weight::from_parts(22_119, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -186,12 +186,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn create_pure (p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `530` - // Estimated: `8286` - // Minimum execution time: 79_640_000 picoseconds. - Weight::from_parts(85_976_909, 8286) - // Standard Error: 30_283 - .saturating_add(Weight::from_parts(43_869, 0).saturating_mul(p.into())) + // Measured: `799` + // Estimated: `4706` + // Minimum execution time: 64_509_000 picoseconds. + Weight::from_parts(65_543_540, 4706) + // Standard Error: 77_269 + .saturating_add(Weight::from_parts(318_410, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -200,14 +200,12 @@ 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: `588 + p * (37 ±0)` - // Estimated: `8286` - // Minimum execution time: 56_441_000 picoseconds. - Weight::from_parts(60_343_237, 8286) - // Standard Error: 27_938 - .saturating_add(Weight::from_parts(139_626, 0).saturating_mul(p.into())) + // Measured: `857 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 45_491_000 picoseconds. + Weight::from_parts(49_718_434, 4706) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } diff --git a/parachain/runtime/kintsugi/src/weights/pallet_scheduler.rs b/parachain/runtime/kintsugi/src/weights/pallet_scheduler.rs index ffb4901028..44b6ba58ff 100644 --- a/parachain/runtime/kintsugi/src/weights/pallet_scheduler.rs +++ b/parachain/runtime/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -46,8 +46,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 8_541_000 picoseconds. - Weight::from_parts(8_927_000, 1489) + // Minimum execution time: 6_894_000 picoseconds. + Weight::from_parts(6_984_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -58,10 +58,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `26848` - // Minimum execution time: 8_310_000 picoseconds. - Weight::from_parts(14_633_812, 26848) - // Standard Error: 16_105 - .saturating_add(Weight::from_parts(1_841_470, 0).saturating_mul(s.into())) + // Minimum execution time: 6_663_000 picoseconds. + Weight::from_parts(11_579_469, 26848) + // Standard Error: 7_998 + .saturating_add(Weight::from_parts(1_246_104, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -69,8 +69,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_924_000 picoseconds. - Weight::from_parts(15_279_000, 0) + // Minimum execution time: 11_183_000 picoseconds. + Weight::from_parts(11_724_000, 0) } /// Storage: Preimage PreimageFor (r:1 w:1) /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured) @@ -80,11 +80,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn service_task_fetched (s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `179 + s * (1 ±0)` - // Estimated: `7200 + s * (1 ±0)` - // Minimum execution time: 49_555_000 picoseconds. - Weight::from_parts(51_008_000, 7200) - // Standard Error: 46 - .saturating_add(Weight::from_parts(2_955, 0).saturating_mul(s.into())) + // Estimated: `3644 + s * (1 ±0)` + // Minimum execution time: 37_595_000 picoseconds. + Weight::from_parts(37_886_000, 3644) + // Standard Error: 22 + .saturating_add(Weight::from_parts(1_735, 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())) @@ -95,30 +95,30 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 19_039_000 picoseconds. - Weight::from_parts(20_529_000, 0) + // Minimum execution time: 14_689_000 picoseconds. + Weight::from_parts(14_970_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } fn service_task_periodic () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_412_000 picoseconds. - Weight::from_parts(15_086_000, 0) + // Minimum execution time: 11_463_000 picoseconds. + Weight::from_parts(11_683_000, 0) } fn execute_dispatch_signed () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_791_000 picoseconds. - Weight::from_parts(8_118_000, 0) + // Minimum execution time: 5_771_000 picoseconds. + Weight::from_parts(5_992_000, 0) } fn execute_dispatch_unsigned () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_642_000 picoseconds. - Weight::from_parts(7_739_000, 0) + // Minimum execution time: 5_961_000 picoseconds. + Weight::from_parts(6_042_000, 0) } /// Storage: Scheduler Agenda (r:1 w:1) /// Proof: Scheduler Agenda (max_values: None, max_size: Some(23383), added: 25858, mode: MaxEncodedLen) @@ -127,10 +127,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `26848` - // Minimum execution time: 32_937_000 picoseconds. - Weight::from_parts(40_348_469, 26848) - // Standard Error: 29_638 - .saturating_add(Weight::from_parts(2_085_210, 0).saturating_mul(s.into())) + // Minimum execution time: 26_003_000 picoseconds. + Weight::from_parts(30_478_209, 26848) + // Standard Error: 8_002 + .saturating_add(Weight::from_parts(1_211_223, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -143,10 +143,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `26848` - // Minimum execution time: 42_431_000 picoseconds. - Weight::from_parts(42_330_018, 26848) - // Standard Error: 35_409 - .saturating_add(Weight::from_parts(3_440_153, 0).saturating_mul(s.into())) + // Minimum execution time: 32_545_000 picoseconds. + Weight::from_parts(31_295_302, 26848) + // Standard Error: 8_871 + .saturating_add(Weight::from_parts(2_180_262, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -158,11 +158,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn schedule_named (s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `186 + s * (189 ±0)` - // Estimated: `30361` - // Minimum execution time: 42_127_000 picoseconds. - Weight::from_parts(48_984_466, 30361) - // Standard Error: 43_916 - .saturating_add(Weight::from_parts(2_231_913, 0).saturating_mul(s.into())) + // Estimated: `26848` + // Minimum execution time: 32_144_000 picoseconds. + Weight::from_parts(37_517_490, 26848) + // Standard Error: 13_180 + .saturating_add(Weight::from_parts(1_293_394, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -174,11 +174,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn cancel_named (s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `217 + s * (188 ±0)` - // Estimated: `30361` - // Minimum execution time: 45_262_000 picoseconds. - Weight::from_parts(44_229_671, 30361) - // Standard Error: 34_685 - .saturating_add(Weight::from_parts(3_525_498, 0).saturating_mul(s.into())) + // Estimated: `26848` + // Minimum execution time: 35_391_000 picoseconds. + Weight::from_parts(35_199_015, 26848) + // Standard Error: 9_723 + .saturating_add(Weight::from_parts(2_176_761, 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/kintsugi/src/weights/pallet_timestamp.rs b/parachain/runtime/kintsugi/src/weights/pallet_timestamp.rs index 6931ab7c27..019b5e9462 100644 --- a/parachain/runtime/kintsugi/src/weights/pallet_timestamp.rs +++ b/parachain/runtime/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -42,14 +42,14 @@ 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) + /// Storage: unknown `0x13fe8e6572d0617ab8b9721f4e28cb46` (r:1 w:0) + /// Proof Skipped: unknown `0x13fe8e6572d0617ab8b9721f4e28cb46` (r:1 w:0) fn set () -> Weight { // Proof Size summary in bytes: - // Measured: `194` - // Estimated: `2986` - // Minimum execution time: 22_496_000 picoseconds. - Weight::from_parts(24_059_000, 2986) + // Measured: `166` + // Estimated: `3631` + // Minimum execution time: 16_172_000 picoseconds. + Weight::from_parts(16_593_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -57,7 +57,7 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `94` // Estimated: `0` - // Minimum execution time: 8_958_000 picoseconds. - Weight::from_parts(9_191_000, 0) + // Minimum execution time: 6_914_000 picoseconds. + Weight::from_parts(7_194_000, 0) } } \ No newline at end of file diff --git a/parachain/runtime/kintsugi/src/weights/pallet_utility.rs b/parachain/runtime/kintsugi/src/weights/pallet_utility.rs index 01123199c0..d362bba118 100644 --- a/parachain/runtime/kintsugi/src/weights/pallet_utility.rs +++ b/parachain/runtime/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -45,43 +45,43 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 18_126_000 picoseconds. - Weight::from_parts(18_400_000, 0) - // Standard Error: 12_779 - .saturating_add(Weight::from_parts(14_066_216, 0).saturating_mul(c.into())) + // Minimum execution time: 14_058_000 picoseconds. + Weight::from_parts(14_189_000, 0) + // Standard Error: 4_520 + .saturating_add(Weight::from_parts(10_937_825, 0).saturating_mul(c.into())) } fn as_derivative () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_487_000 picoseconds. - Weight::from_parts(15_128_000, 0) + // Minimum execution time: 11_062_000 picoseconds. + Weight::from_parts(11_383_000, 0) } /// The range of component `c` is `[0, 1000]`. fn batch_all (c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 18_235_000 picoseconds. - Weight::from_parts(18_356_000, 0) - // Standard Error: 15_030 - .saturating_add(Weight::from_parts(14_801_634, 0).saturating_mul(c.into())) + // Minimum execution time: 14_068_000 picoseconds. + Weight::from_parts(20_266_041, 0) + // Standard Error: 6_485 + .saturating_add(Weight::from_parts(11_505_085, 0).saturating_mul(c.into())) } fn dispatch_as () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 24_836_000 picoseconds. - Weight::from_parts(25_824_000, 0) + // Minimum execution time: 19_228_000 picoseconds. + Weight::from_parts(20_481_000, 0) } /// The range of component `c` is `[0, 1000]`. fn force_batch (c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 18_494_000 picoseconds. - Weight::from_parts(1_478_718, 0) - // Standard Error: 28_923 - .saturating_add(Weight::from_parts(14_190_278, 0).saturating_mul(c.into())) + // Minimum execution time: 14_228_000 picoseconds. + Weight::from_parts(6_535_190, 0) + // Standard Error: 79_731 + .saturating_add(Weight::from_parts(11_047_964, 0).saturating_mul(c.into())) } } \ No newline at end of file diff --git a/parachain/runtime/kintsugi/src/weights/pallet_xcm.rs b/parachain/runtime/kintsugi/src/weights/pallet_xcm.rs index 8155de06ec..e432f895ad 100644 --- a/parachain/runtime/kintsugi/src/weights/pallet_xcm.rs +++ b/parachain/runtime/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-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -53,9 +53,9 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn send () -> Weight { // Proof Size summary in bytes: // Measured: `107` - // Estimated: `9940` - // Minimum execution time: 66_537_000 picoseconds. - Weight::from_parts(74_628_000, 9940) + // Estimated: `3572` + // Minimum execution time: 51_082_000 picoseconds. + Weight::from_parts(52_054_000, 3572) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -65,20 +65,20 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof Skipped: UnknownTokens ConcreteFungibleBalances (max_values: None, max_size: None, mode: Measured) fn teleport_assets () -> Weight { // Proof Size summary in bytes: - // Measured: `245` - // Estimated: `5199` - // Minimum execution time: 69_869_000 picoseconds. - Weight::from_parts(79_130_000, 5199) + // Measured: `282` + // Estimated: `3747` + // Minimum execution time: 56_533_000 picoseconds. + Weight::from_parts(58_086_000, 3747) .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 { // Proof Size summary in bytes: - // Measured: `32` + // Measured: `69` // Estimated: `1489` - // Minimum execution time: 50_860_000 picoseconds. - Weight::from_parts(59_327_000, 1489) + // Minimum execution time: 40_611_000 picoseconds. + Weight::from_parts(42_425_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: Benchmark Override (r:0 w:0) @@ -96,8 +96,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 25_304_000 picoseconds. - Weight::from_parts(26_576_000, 0) + // Minimum execution time: 19_199_000 picoseconds. + Weight::from_parts(19_539_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1) @@ -106,8 +106,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_211_000 picoseconds. - Weight::from_parts(8_870_000, 0) + // Minimum execution time: 6_563_000 picoseconds. + Weight::from_parts(6_774_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1) @@ -129,9 +129,9 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn force_subscribe_version_notify () -> Weight { // Proof Size summary in bytes: // Measured: `107` - // Estimated: `15211` - // Minimum execution time: 78_883_000 picoseconds. - Weight::from_parts(79_870_000, 15211) + // Estimated: `3572` + // Minimum execution time: 59_699_000 picoseconds. + Weight::from_parts(60_862_000, 3572) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -152,20 +152,30 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn force_unsubscribe_version_notify () -> Weight { // Proof Size summary in bytes: // Measured: `290` - // Estimated: `14900` - // Minimum execution time: 80_745_000 picoseconds. - Weight::from_parts(91_782_000, 14900) + // Estimated: `3755` + // Minimum execution time: 59_269_000 picoseconds. + Weight::from_parts(60_111_000, 3755) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } + /// Storage: PolkadotXcm XcmExecutionSuspended (r:0 w:1) + /// Proof Skipped: PolkadotXcm XcmExecutionSuspended (max_values: Some(1), max_size: None, mode: Measured) + fn force_suspension () -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 6_423_000 picoseconds. + Weight::from_parts(6_623_000, 0) + .saturating_add(T::DbWeight::get().writes(1_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 { // Proof Size summary in bytes: // Measured: `162` // Estimated: `11052` - // Minimum execution time: 39_508_000 picoseconds. - Weight::from_parts(40_092_000, 11052) + // Minimum execution time: 32_595_000 picoseconds. + Weight::from_parts(33_016_000, 11052) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -175,8 +185,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `166` // Estimated: `11056` - // Minimum execution time: 37_997_000 picoseconds. - Weight::from_parts(39_630_000, 11056) + // Minimum execution time: 32_074_000 picoseconds. + Weight::from_parts(32_405_000, 11056) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -186,8 +196,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `13538` - // Minimum execution time: 40_462_000 picoseconds. - Weight::from_parts(43_235_000, 13538) + // Minimum execution time: 33_587_000 picoseconds. + Weight::from_parts(34_449_000, 13538) .saturating_add(T::DbWeight::get().reads(5_u64)) } /// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1) @@ -205,9 +215,9 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn notify_current_targets () -> Weight { // Proof Size summary in bytes: // Measured: `174` - // Estimated: `16389` - // Minimum execution time: 71_805_000 picoseconds. - Weight::from_parts(76_253_000, 16389) + // Estimated: `6114` + // Minimum execution time: 55_441_000 picoseconds. + Weight::from_parts(56_223_000, 6114) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -217,8 +227,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `206` // Estimated: `8621` - // Minimum execution time: 22_383_000 picoseconds. - Weight::from_parts(23_043_000, 8621) + // Minimum execution time: 18_367_000 picoseconds. + Weight::from_parts(18_698_000, 8621) .saturating_add(T::DbWeight::get().reads(3_u64)) } /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) @@ -227,8 +237,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `11063` - // Minimum execution time: 40_122_000 picoseconds. - Weight::from_parts(41_402_000, 11063) + // Minimum execution time: 31_713_000 picoseconds. + Weight::from_parts(32_324_000, 11063) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -247,16 +257,9 @@ impl pallet_xcm::WeightInfo for WeightInfo { fn migrate_and_notify_old_targets () -> Weight { // Proof Size summary in bytes: // Measured: `177` - // Estimated: `21357` - // Minimum execution time: 88_488_000 picoseconds. - Weight::from_parts(97_923_000, 21357) - .saturating_add(T::DbWeight::get().reads(9_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) - } - - fn force_suspension() -> Weight { - // todo: write and run benchmark - Weight::from_parts(97_021_000, 21357) + // Estimated: `11067` + // Minimum execution time: 68_216_000 picoseconds. + Weight::from_parts(68_848_000, 11067) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } diff --git a/parachain/runtime/kintsugi/src/weights/pallet_xcm_benchmarks_fungible.rs b/parachain/runtime/kintsugi/src/weights/pallet_xcm_benchmarks_fungible.rs index 046d71cadd..fe7d553d49 100644 --- a/parachain/runtime/kintsugi/src/weights/pallet_xcm_benchmarks_fungible.rs +++ b/parachain/runtime/kintsugi/src/weights/pallet_xcm_benchmarks_fungible.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for pallet_xcm_benchmarks::fungible //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -48,10 +48,10 @@ impl WeightInfo { /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) pub fn withdraw_asset () -> Weight { // Proof Size summary in bytes: - // Measured: `544` - // Estimated: `11089` - // Minimum execution time: 64_173_000 picoseconds. - Weight::from_parts(66_120_000, 11089) + // Measured: `761` + // Estimated: `4226` + // Minimum execution time: 54_249_000 picoseconds. + Weight::from_parts(55_932_000, 4226) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -61,10 +61,10 @@ impl WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) pub fn transfer_asset () -> Weight { // Proof Size summary in bytes: - // Measured: `370` - // Estimated: `12366` - // Minimum execution time: 81_841_000 picoseconds. - Weight::from_parts(83_747_000, 12366) + // Measured: `715` + // Estimated: `6196` + // Minimum execution time: 72_435_000 picoseconds. + Weight::from_parts(73_036_000, 6196) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -86,10 +86,10 @@ impl WeightInfo { /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) pub fn transfer_reserve_asset () -> Weight { // Proof Size summary in bytes: - // Measured: `509` - // Estimated: `25805` - // Minimum execution time: 140_692_000 picoseconds. - Weight::from_parts(160_704_000, 25805) + // Measured: `891` + // Estimated: `6196` + // Minimum execution time: 112_976_000 picoseconds. + Weight::from_parts(114_389_000, 6196) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -101,10 +101,10 @@ impl WeightInfo { /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) pub fn deposit_asset () -> Weight { // Proof Size summary in bytes: - // Measured: `218` - // Estimated: `10673` - // Minimum execution time: 71_386_000 picoseconds. - Weight::from_parts(73_084_000, 10673) + // Measured: `513` + // Estimated: `3593` + // Minimum execution time: 58_737_000 picoseconds. + Weight::from_parts(60_220_000, 3593) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -128,10 +128,10 @@ impl WeightInfo { /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) pub fn deposit_reserve_asset () -> Weight { // Proof Size summary in bytes: - // Measured: `357` - // Estimated: `23352` - // Minimum execution time: 128_099_000 picoseconds. - Weight::from_parts(131_486_000, 23352) + // Measured: `689` + // Estimated: `4154` + // Minimum execution time: 105_722_000 picoseconds. + Weight::from_parts(107_395_000, 4154) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -149,10 +149,10 @@ impl WeightInfo { /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) pub fn initiate_teleport () -> Weight { // Proof Size summary in bytes: - // Measured: `139` - // Estimated: `11589` - // Minimum execution time: 67_096_000 picoseconds. - Weight::from_parts(72_255_000, 11589) + // Measured: `176` + // Estimated: `3641` + // Minimum execution time: 50_992_000 picoseconds. + Weight::from_parts(52_284_000, 3641) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } diff --git a/parachain/runtime/kintsugi/src/weights/pallet_xcm_benchmarks_generic.rs b/parachain/runtime/kintsugi/src/weights/pallet_xcm_benchmarks_generic.rs index 656ab94675..397efb636a 100644 --- a/parachain/runtime/kintsugi/src/weights/pallet_xcm_benchmarks_generic.rs +++ b/parachain/runtime/kintsugi/src/weights/pallet_xcm_benchmarks_generic.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for pallet_xcm_benchmarks::generic //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -54,10 +54,10 @@ impl WeightInfo { /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) pub fn report_holding () -> Weight { // Proof Size summary in bytes: - // Measured: `139` - // Estimated: `11589` - // Minimum execution time: 156_300_000 picoseconds. - Weight::from_parts(160_113_000, 11589) + // Measured: `176` + // Estimated: `3641` + // Minimum execution time: 107_866_000 picoseconds. + Weight::from_parts(109_589_000, 3641) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -65,8 +65,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_353_000 picoseconds. - Weight::from_parts(4_685_000, 0) + // Minimum execution time: 3_166_000 picoseconds. + Weight::from_parts(3_868_000, 0) } /// Storage: PolkadotXcm Queries (r:1 w:0) /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) @@ -74,61 +74,61 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `103` // Estimated: `3568` - // Minimum execution time: 25_335_000 picoseconds. - Weight::from_parts(26_810_000, 3568) + // Minimum execution time: 19_479_000 picoseconds. + Weight::from_parts(20_210_000, 3568) .saturating_add(T::DbWeight::get().reads(1_u64)) } pub fn transact () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_471_000 picoseconds. - Weight::from_parts(19_132_000, 0) + // Minimum execution time: 11_463_000 picoseconds. + Weight::from_parts(12_274_000, 0) } /// Storage: ParachainInfo ParachainId (r:1 w:0) /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) pub fn refund_surplus () -> Weight { // Proof Size summary in bytes: - // Measured: `32` + // Measured: `69` // Estimated: `1489` - // Minimum execution time: 14_485_000 picoseconds. - Weight::from_parts(15_439_000, 1489) + // Minimum execution time: 12_525_000 picoseconds. + Weight::from_parts(13_066_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) } pub fn set_error_handler () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_213_000 picoseconds. - Weight::from_parts(5_462_000, 0) + // Minimum execution time: 3_507_000 picoseconds. + Weight::from_parts(3_607_000, 0) } pub fn set_appendix () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_252_000 picoseconds. - Weight::from_parts(4_679_000, 0) + // Minimum execution time: 2_796_000 picoseconds. + Weight::from_parts(3_637_000, 0) } pub fn clear_error () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_155_000 picoseconds. - Weight::from_parts(4_524_000, 0) + // Minimum execution time: 2_755_000 picoseconds. + Weight::from_parts(3_527_000, 0) } pub fn descend_origin () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_300_000 picoseconds. - Weight::from_parts(5_600_000, 0) + // Minimum execution time: 3_587_000 picoseconds. + Weight::from_parts(4_399_000, 0) } pub fn clear_origin () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_157_000 picoseconds. - Weight::from_parts(4_453_000, 0) + // Minimum execution time: 2_716_000 picoseconds. + Weight::from_parts(3_497_000, 0) } /// Storage: ParachainInfo ParachainId (r:1 w:0) /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -144,10 +144,10 @@ impl WeightInfo { /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) pub fn report_error () -> Weight { // Proof Size summary in bytes: - // Measured: `139` - // Estimated: `11589` - // Minimum execution time: 58_588_000 picoseconds. - Weight::from_parts(63_887_000, 11589) + // Measured: `176` + // Estimated: `3641` + // Minimum execution time: 44_138_000 picoseconds. + Weight::from_parts(44_930_000, 3641) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -157,8 +157,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `160` // Estimated: `3625` - // Minimum execution time: 34_655_000 picoseconds. - Weight::from_parts(38_112_000, 3625) + // Minimum execution time: 26_774_000 picoseconds. + Weight::from_parts(27_084_000, 3625) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -166,8 +166,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_282_000 picoseconds. - Weight::from_parts(5_323_000, 0) + // Minimum execution time: 2_905_000 picoseconds. + Weight::from_parts(3_507_000, 0) } /// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1) /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) @@ -184,9 +184,9 @@ impl WeightInfo { pub fn subscribe_version () -> Weight { // Proof Size summary in bytes: // Measured: `107` - // Estimated: `13512` - // Minimum execution time: 65_611_000 picoseconds. - Weight::from_parts(69_807_000, 13512) + // Estimated: `3572` + // Minimum execution time: 50_241_000 picoseconds. + Weight::from_parts(51_043_000, 3572) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -196,8 +196,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_506_000 picoseconds. - Weight::from_parts(10_399_000, 0) + // Minimum execution time: 7_625_000 picoseconds. + Weight::from_parts(7_806_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: ParachainInfo ParachainId (r:1 w:0) @@ -214,10 +214,10 @@ impl WeightInfo { /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) pub fn initiate_reserve_withdraw () -> Weight { // Proof Size summary in bytes: - // Measured: `139` - // Estimated: `11589` - // Minimum execution time: 151_961_000 picoseconds. - Weight::from_parts(161_253_000, 11589) + // Measured: `176` + // Estimated: `3641` + // Minimum execution time: 104_399_000 picoseconds. + Weight::from_parts(106_212_000, 3641) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -225,36 +225,36 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 29_487_000 picoseconds. - Weight::from_parts(30_374_000, 0) + // Minimum execution time: 19_429_000 picoseconds. + Weight::from_parts(20_181_000, 0) } pub fn expect_asset () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_760_000 picoseconds. - Weight::from_parts(6_040_000, 0) + // Minimum execution time: 4_649_000 picoseconds. + Weight::from_parts(4_750_000, 0) } pub fn expect_origin () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_327_000 picoseconds. - Weight::from_parts(4_653_000, 0) + // Minimum execution time: 3_608_000 picoseconds. + Weight::from_parts(3_707_000, 0) } pub fn expect_error () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_229_000 picoseconds. - Weight::from_parts(4_342_000, 0) + // Minimum execution time: 2_716_000 picoseconds. + Weight::from_parts(3_477_000, 0) } pub fn expect_transact_status () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_686_000 picoseconds. - Weight::from_parts(6_677_000, 0) + // Minimum execution time: 3_798_000 picoseconds. + Weight::from_parts(3_858_000, 0) } /// Storage: ParachainInfo ParachainId (r:1 w:0) /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -270,10 +270,10 @@ impl WeightInfo { /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) pub fn query_pallet () -> Weight { // Proof Size summary in bytes: - // Measured: `139` - // Estimated: `11589` - // Minimum execution time: 85_092_000 picoseconds. - Weight::from_parts(96_210_000, 11589) + // Measured: `176` + // Estimated: `3641` + // Minimum execution time: 67_836_000 picoseconds. + Weight::from_parts(69_259_000, 3641) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -281,8 +281,8 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 25_774_000 picoseconds. - Weight::from_parts(26_317_000, 0) + // Minimum execution time: 23_076_000 picoseconds. + Weight::from_parts(23_518_000, 0) } /// Storage: ParachainInfo ParachainId (r:1 w:0) /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) @@ -298,10 +298,10 @@ impl WeightInfo { /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) pub fn report_transact_status () -> Weight { // Proof Size summary in bytes: - // Measured: `139` - // Estimated: `11589` - // Minimum execution time: 57_377_000 picoseconds. - Weight::from_parts(61_363_000, 11589) + // Measured: `176` + // Estimated: `3641` + // Minimum execution time: 44_268_000 picoseconds. + Weight::from_parts(45_131_000, 3641) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -309,35 +309,35 @@ impl WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_255_000 picoseconds. - Weight::from_parts(4_485_000, 0) + // Minimum execution time: 2_746_000 picoseconds. + Weight::from_parts(3_547_000, 0) } pub fn set_topic () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_172_000 picoseconds. - Weight::from_parts(4_614_000, 0) + // Minimum execution time: 2_665_000 picoseconds. + Weight::from_parts(3_467_000, 0) } pub fn clear_topic () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_104_000 picoseconds. - Weight::from_parts(4_561_000, 0) + // Minimum execution time: 3_266_000 picoseconds. + Weight::from_parts(3_467_000, 0) } pub fn set_fees_mode () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_145_000 picoseconds. - Weight::from_parts(4_417_000, 0) + // Minimum execution time: 2_786_000 picoseconds. + Weight::from_parts(3_447_000, 0) } pub fn unpaid_execution () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_399_000 picoseconds. - Weight::from_parts(4_617_000, 0) + // Minimum execution time: 3_537_000 picoseconds. + Weight::from_parts(3_657_000, 0) } } \ No newline at end of file diff --git a/parachain/runtime/kintsugi/src/weights/redeem.rs b/parachain/runtime/kintsugi/src/weights/redeem.rs index a5e98e185d..ca3aee803b 100644 --- a/parachain/runtime/kintsugi/src/weights/redeem.rs +++ b/parachain/runtime/kintsugi/src/weights/redeem.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for redeem //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -40,8 +40,6 @@ 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:2 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: Fee RedeemFee (r:1 w:0) @@ -96,11 +94,11 @@ impl redeem::WeightInfo for WeightInfo { /// Proof: Redeem RedeemRequests (max_values: None, max_size: Some(245), added: 2720, mode: MaxEncodedLen) fn request_redeem () -> Weight { // Proof Size summary in bytes: - // Measured: `2962` - // Estimated: `73398` - // Minimum execution time: 424_725_000 picoseconds. - Weight::from_parts(436_272_000, 73398) - .saturating_add(T::DbWeight::get().reads(29_u64)) + // Measured: `3189` + // Estimated: `6260` + // Minimum execution time: 311_614_000 picoseconds. + Weight::from_parts(319_349_000, 6260) + .saturating_add(T::DbWeight::get().reads(28_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: Tokens Accounts (r:3 w:3) @@ -129,10 +127,10 @@ impl redeem::WeightInfo for WeightInfo { /// Proof: Loans AccountDeposits (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) fn liquidation_redeem () -> Weight { // Proof Size summary in bytes: - // Measured: `1918` - // Estimated: `52855` - // Minimum execution time: 381_943_000 picoseconds. - Weight::from_parts(397_011_000, 52855) + // Measured: `2173` + // Estimated: `8760` + // Minimum execution time: 287_687_000 picoseconds. + Weight::from_parts(292_145_000, 8760) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(11_u64)) } @@ -162,23 +160,23 @@ impl redeem::WeightInfo for WeightInfo { /// The range of component `i` is `[1, 10]`. /// The range of component `o` is `[2, 3]`. /// The range of component `b` is `[541, 2048]`. - fn execute_redeem (h: u32, i: u32, _o: u32, b: u32, ) -> Weight { + fn execute_redeem (h: u32, i: u32, o: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2122` - // Estimated: `29111` - // Minimum execution time: 240_578_000 picoseconds. - Weight::from_parts(218_934_992, 29111) - // Standard Error: 139_944 - .saturating_add(Weight::from_parts(8_639_545, 0).saturating_mul(h.into())) - // Standard Error: 126_161 - .saturating_add(Weight::from_parts(856_176, 0).saturating_mul(i.into())) - // Standard Error: 770 - .saturating_add(Weight::from_parts(4_629, 0).saturating_mul(b.into())) + // Measured: `2295 + o * (1 ±0)` + // Estimated: `3725` + // Minimum execution time: 184_800_000 picoseconds. + Weight::from_parts(149_034_719, 3725) + // Standard Error: 137_585 + .saturating_add(Weight::from_parts(3_833_551, 0).saturating_mul(h.into())) + // Standard Error: 124_035 + .saturating_add(Weight::from_parts(1_176_171, 0).saturating_mul(i.into())) + // Standard Error: 751_913 + .saturating_add(Weight::from_parts(1_964_806, 0).saturating_mul(o.into())) + // Standard Error: 757 + .saturating_add(Weight::from_parts(5_490, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Redeem RedeemRequests (r:1 w:1) /// Proof: Redeem RedeemRequests (max_values: None, max_size: Some(245), added: 2720, mode: MaxEncodedLen) /// Storage: Redeem RedeemPeriod (r:1 w:0) @@ -250,11 +248,11 @@ impl redeem::WeightInfo for WeightInfo { /// Storage: VaultRewards TotalStake (r:1 w:1) /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards RewardCurrencies (r:1 w:0) - /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) + /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(50), added: 2525, 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) + /// Proof: VaultCapacity RewardCurrencies (max_values: None, max_size: Some(39), added: 2514, 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) @@ -269,15 +267,13 @@ impl redeem::WeightInfo for WeightInfo { /// Proof: VaultRegistry PunishmentDelay (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn cancel_redeem_reimburse () -> Weight { // Proof Size summary in bytes: - // Measured: `5125` - // Estimated: `179726` - // Minimum execution time: 1_201_453_000 picoseconds. - Weight::from_parts(1_239_154_000, 179726) - .saturating_add(T::DbWeight::get().reads(60_u64)) + // Measured: `5430` + // Estimated: `11350` + // Minimum execution time: 850_042_000 picoseconds. + Weight::from_parts(865_223_000, 11350) + .saturating_add(T::DbWeight::get().reads(59_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) /// Storage: Redeem RedeemRequests (r:1 w:1) /// Proof: Redeem RedeemRequests (max_values: None, max_size: Some(245), added: 2720, mode: MaxEncodedLen) /// Storage: Redeem RedeemPeriod (r:1 w:0) @@ -349,11 +345,11 @@ impl redeem::WeightInfo for WeightInfo { /// Storage: VaultRewards TotalStake (r:1 w:1) /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards RewardCurrencies (r:1 w:0) - /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) + /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(50), added: 2525, 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) + /// Proof: VaultCapacity RewardCurrencies (max_values: None, max_size: Some(39), added: 2514, 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) @@ -368,11 +364,11 @@ impl redeem::WeightInfo for WeightInfo { /// Proof: VaultRegistry PunishmentDelay (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn cancel_redeem_retry () -> Weight { // Proof Size summary in bytes: - // Measured: `5125` - // Estimated: `177216` - // Minimum execution time: 1_130_199_000 picoseconds. - Weight::from_parts(1_160_823_000, 177216) - .saturating_add(T::DbWeight::get().reads(59_u64)) + // Measured: `5430` + // Estimated: `11350` + // Minimum execution time: 773_779_000 picoseconds. + Weight::from_parts(789_120_000, 11350) + .saturating_add(T::DbWeight::get().reads(58_u64)) .saturating_add(T::DbWeight::get().writes(28_u64)) } /// Storage: Redeem RedeemPeriod (r:0 w:1) @@ -381,8 +377,8 @@ impl redeem::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 23_819_000 picoseconds. - Weight::from_parts(25_640_000, 0) + // Minimum execution time: 18_106_000 picoseconds. + Weight::from_parts(18_667_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: VaultRegistry Vaults (r:1 w:1) @@ -393,10 +389,10 @@ impl redeem::WeightInfo for WeightInfo { /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) fn self_redeem () -> Weight { // Proof Size summary in bytes: - // Measured: `1171` - // Estimated: `10805` - // Minimum execution time: 197_605_000 picoseconds. - Weight::from_parts(204_517_000, 10805) + // Measured: `1427` + // Estimated: `3725` + // Minimum execution time: 150_121_000 picoseconds. + Weight::from_parts(151_013_000, 3725) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } diff --git a/parachain/runtime/kintsugi/src/weights/replace.rs b/parachain/runtime/kintsugi/src/weights/replace.rs index 1c3a20f9fd..f7e561380e 100644 --- a/parachain/runtime/kintsugi/src/weights/replace.rs +++ b/parachain/runtime/kintsugi/src/weights/replace.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for replace //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -46,8 +46,6 @@ impl replace::WeightInfo for WeightInfo { /// Proof: Nomination Vaults (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen) /// Storage: Replace ReplaceBtcDustValue (r:1 w:0) /// Proof: Replace ReplaceBtcDustValue (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: Fee ReplaceGriefingCollateral (r:1 w:0) @@ -56,11 +54,11 @@ impl replace::WeightInfo for WeightInfo { /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) fn request_replace () -> Weight { // Proof Size summary in bytes: - // Measured: `1777` - // Estimated: `18838` - // Minimum execution time: 183_813_000 picoseconds. - Weight::from_parts(190_921_000, 18838) - .saturating_add(T::DbWeight::get().reads(7_u64)) + // Measured: `2035` + // Estimated: `3725` + // Minimum execution time: 129_860_000 picoseconds. + Weight::from_parts(130_421_000, 3725) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: VaultRegistry Vaults (r:1 w:1) @@ -69,8 +67,8 @@ impl replace::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `701` // Estimated: `3725` - // Minimum execution time: 84_337_000 picoseconds. - Weight::from_parts(88_867_000, 3725) + // Minimum execution time: 56_633_000 picoseconds. + Weight::from_parts(57_295_000, 3725) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -117,15 +115,13 @@ impl replace::WeightInfo for WeightInfo { /// Storage: VaultRewards TotalStake (r:1 w:1) /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) /// Storage: VaultRewards RewardCurrencies (r:1 w:0) - /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: Security ParachainStatus (r:1 w:0) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) + /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(50), added: 2525, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, 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) + /// Proof: VaultCapacity RewardCurrencies (max_values: None, max_size: Some(39), added: 2514, mode: MaxEncodedLen) /// Storage: Tokens Accounts (r:1 w:1) /// Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) @@ -146,11 +142,11 @@ impl replace::WeightInfo for WeightInfo { /// Proof: Replace ReplaceRequests (max_values: None, max_size: Some(250), added: 2725, mode: MaxEncodedLen) fn accept_replace () -> Weight { // Proof Size summary in bytes: - // Measured: `4188` - // Estimated: `129743` - // Minimum execution time: 829_872_000 picoseconds. - Weight::from_parts(849_278_000, 129743) - .saturating_add(T::DbWeight::get().reads(43_u64)) + // Measured: `4380` + // Estimated: `6460` + // Minimum execution time: 617_937_000 picoseconds. + Weight::from_parts(628_408_000, 6460) + .saturating_add(T::DbWeight::get().reads(42_u64)) .saturating_add(T::DbWeight::get().writes(26_u64)) } /// Storage: Replace ReplaceRequests (r:1 w:1) @@ -179,18 +175,18 @@ impl replace::WeightInfo for WeightInfo { /// 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: `3700` - // Estimated: `28351` - // Minimum execution time: 324_333_000 picoseconds. - Weight::from_parts(299_064_148, 28351) - // Standard Error: 123_808 - .saturating_add(Weight::from_parts(2_843_688, 0).saturating_mul(h.into())) - // Standard Error: 111_614 - .saturating_add(Weight::from_parts(1_702_946, 0).saturating_mul(i.into())) - // Standard Error: 676_619 - .saturating_add(Weight::from_parts(1_855_038, 0).saturating_mul(o.into())) - // Standard Error: 681 - .saturating_add(Weight::from_parts(8_534, 0).saturating_mul(b.into())) + // Measured: `3962` + // Estimated: `6460` + // Minimum execution time: 202_806_000 picoseconds. + Weight::from_parts(166_981_824, 6460) + // Standard Error: 107_822 + .saturating_add(Weight::from_parts(3_763_037, 0).saturating_mul(h.into())) + // Standard Error: 97_203 + .saturating_add(Weight::from_parts(1_018_940, 0).saturating_mul(i.into())) + // Standard Error: 589_259 + .saturating_add(Weight::from_parts(3_102_944, 0).saturating_mul(o.into())) + // Standard Error: 593 + .saturating_add(Weight::from_parts(6_156, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -214,8 +210,6 @@ impl replace::WeightInfo for WeightInfo { /// 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: Security ParachainStatus (r:1 w:0) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: VaultStaking Nonce (r:1 w:0) @@ -228,19 +222,19 @@ impl replace::WeightInfo for WeightInfo { /// 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: `4043` - // Estimated: `40395` - // Minimum execution time: 395_129_000 picoseconds. - Weight::from_parts(381_847_541, 40395) - // Standard Error: 132_878 - .saturating_add(Weight::from_parts(2_710_540, 0).saturating_mul(h.into())) - // Standard Error: 119_791 - .saturating_add(Weight::from_parts(1_346_976, 0).saturating_mul(i.into())) - // Standard Error: 726_188 - .saturating_add(Weight::from_parts(2_525_594, 0).saturating_mul(o.into())) - // Standard Error: 731 - .saturating_add(Weight::from_parts(4_989, 0).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(15_u64)) + // Measured: `4121` + // Estimated: `6460` + // Minimum execution time: 248_939_000 picoseconds. + Weight::from_parts(198_920_588, 6460) + // Standard Error: 137_449 + .saturating_add(Weight::from_parts(4_042_981, 0).saturating_mul(h.into())) + // Standard Error: 123_913 + .saturating_add(Weight::from_parts(1_585_107, 0).saturating_mul(i.into())) + // Standard Error: 751_172 + .saturating_add(Weight::from_parts(5_026_953, 0).saturating_mul(o.into())) + // Standard Error: 756 + .saturating_add(Weight::from_parts(6_827, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: Replace ReplaceRequests (r:1 w:1) @@ -265,8 +259,6 @@ impl replace::WeightInfo for WeightInfo { /// 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: Security ParachainStatus (r:1 w:0) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) @@ -303,11 +295,11 @@ impl replace::WeightInfo for WeightInfo { /// Proof: VaultRewards TotalStake (max_values: None, max_size: Some(43), added: 2518, mode: MaxEncodedLen) fn cancel_replace () -> Weight { // Proof Size summary in bytes: - // Measured: `4480` - // Estimated: `118165` - // Minimum execution time: 754_304_000 picoseconds. - Weight::from_parts(769_377_000, 118165) - .saturating_add(T::DbWeight::get().reads(38_u64)) + // Measured: `4818` + // Estimated: `6460` + // Minimum execution time: 504_550_000 picoseconds. + Weight::from_parts(506_845_000, 6460) + .saturating_add(T::DbWeight::get().reads(37_u64)) .saturating_add(T::DbWeight::get().writes(19_u64)) } /// Storage: Replace ReplacePeriod (r:0 w:1) @@ -316,8 +308,8 @@ impl replace::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 23_951_000 picoseconds. - Weight::from_parts(24_723_000, 0) + // Minimum execution time: 18_356_000 picoseconds. + Weight::from_parts(18_557_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/kintsugi/src/weights/security.rs b/parachain/runtime/kintsugi/src/weights/security.rs index 24a4504223..4731d80a1c 100644 --- a/parachain/runtime/kintsugi/src/weights/security.rs +++ b/parachain/runtime/kintsugi/src/weights/security.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for security //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -40,27 +40,27 @@ pub struct WeightInfo(PhantomData); impl security::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: Security IsDeactivated (r:1 w:0) + /// Proof: Security IsDeactivated (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Security ActiveBlockCount (r:1 w:1) /// 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: `126` - // Estimated: `2975` - // Minimum execution time: 24_245_000 picoseconds. - Weight::from_parts(25_061_000, 2975) + // Measured: `99` + // Estimated: `1489` + // Minimum execution time: 17_645_000 picoseconds. + Weight::from_parts(18_257_000, 1489) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Security ParachainStatus (r:0 w:1) - /// Proof: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) + /// Storage: Security IsDeactivated (r:0 w:1) + /// Proof: Security IsDeactivated (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) fn activate_counter () -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_345_000 picoseconds. - Weight::from_parts(11_730_000, 0) + // Minimum execution time: 14_820_000 picoseconds. + Weight::from_parts(15_040_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/kintsugi/src/weights/supply.rs b/parachain/runtime/kintsugi/src/weights/supply.rs index 577ccbca59..45fdddbfd4 100644 --- a/parachain/runtime/kintsugi/src/weights/supply.rs +++ b/parachain/runtime/kintsugi/src/weights/supply.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for supply //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -52,10 +52,10 @@ impl supply::WeightInfo for WeightInfo { /// Proof: Supply LastEmission (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn on_initialize () -> Weight { // Proof Size summary in bytes: - // Measured: `299` - // Estimated: `22547` - // Minimum execution time: 239_051_000 picoseconds. - Weight::from_parts(246_001_000, 22547) + // Measured: `606` + // Estimated: `11350` + // Minimum execution time: 199_900_000 picoseconds. + Weight::from_parts(201_875_000, 11350) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -65,8 +65,8 @@ impl supply::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_510_000 picoseconds. - Weight::from_parts(12_029_000, 0) + // Minimum execution time: 9_619_000 picoseconds. + Weight::from_parts(9_890_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/parachain/runtime/kintsugi/src/weights/tx_pause.rs b/parachain/runtime/kintsugi/src/weights/tx_pause.rs index a1e19d2982..23428dd485 100644 --- a/parachain/runtime/kintsugi/src/weights/tx_pause.rs +++ b/parachain/runtime/kintsugi/src/weights/tx_pause.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for tx_pause //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -46,8 +46,8 @@ impl tx_pause::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3` // Estimated: `6494` - // Minimum execution time: 44_087_000 picoseconds. - Weight::from_parts(67_410_000, 6494) + // Minimum execution time: 32_134_000 picoseconds. + Weight::from_parts(32_656_000, 6494) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -57,8 +57,8 @@ impl tx_pause::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `308` // Estimated: `6494` - // Minimum execution time: 49_633_000 picoseconds. - Weight::from_parts(54_657_000, 6494) + // Minimum execution time: 36_964_000 picoseconds. + Weight::from_parts(37_264_000, 6494) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/parachain/runtime/kintsugi/src/weights/vault_registry.rs b/parachain/runtime/kintsugi/src/weights/vault_registry.rs index e7312b1ac3..2a8fa6c922 100644 --- a/parachain/runtime/kintsugi/src/weights/vault_registry.rs +++ b/parachain/runtime/kintsugi/src/weights/vault_registry.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for vault_registry //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-06-05, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-08-07, STEPS: `50`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dev-benchmark`, CPU: `Intel(R) Xeon(R) CPU @ 2.20GHz` +//! HOSTNAME: `interlay-rust-runner-2mz2v-kcxvd`, CPU: `AMD EPYC 7502P 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kintsugi-dev"), DB CACHE: 1024 // Executed Command: @@ -24,7 +24,7 @@ // --repeat // 10 // --output -// ../tmp-weight/ +// parachain/runtime/kintsugi/src/weights/ // --template // .deploy/runtime-weight-template.hbs @@ -112,19 +112,17 @@ impl vault_registry::WeightInfo for WeightInfo { /// 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: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// 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 { // Proof Size summary in bytes: - // Measured: `2670` - // Estimated: `153273` - // Minimum execution time: 616_091_000 picoseconds. - Weight::from_parts(645_003_000, 153273) - .saturating_add(T::DbWeight::get().reads(48_u64)) + // Measured: `2893` + // Estimated: `6260` + // Minimum execution time: 471_203_000 picoseconds. + Weight::from_parts(474_851_000, 6260) + .saturating_add(T::DbWeight::get().reads(47_u64)) .saturating_add(T::DbWeight::get().writes(17_u64)) } /// Storage: VaultRegistry VaultBitcoinPublicKey (r:1 w:1) @@ -133,8 +131,8 @@ impl vault_registry::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `365` // Estimated: `3546` - // Minimum execution time: 43_020_000 picoseconds. - Weight::from_parts(44_952_000, 3546) + // Minimum execution time: 30_832_000 picoseconds. + Weight::from_parts(31_053_000, 3546) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -190,17 +188,15 @@ impl vault_registry::WeightInfo for WeightInfo { /// 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: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// 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: `3476` - // Estimated: `111557` - // Minimum execution time: 504_658_000 picoseconds. - Weight::from_parts(532_058_000, 111557) - .saturating_add(T::DbWeight::get().reads(36_u64)) + // Measured: `3699` + // Estimated: `6260` + // Minimum execution time: 373_849_000 picoseconds. + Weight::from_parts(377_957_000, 6260) + .saturating_add(T::DbWeight::get().reads(35_u64)) .saturating_add(T::DbWeight::get().writes(12_u64)) } /// Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) @@ -255,17 +251,15 @@ impl vault_registry::WeightInfo for WeightInfo { /// 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: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// 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: `3476` - // Estimated: `111557` - // Minimum execution time: 506_597_000 picoseconds. - Weight::from_parts(530_459_000, 111557) - .saturating_add(T::DbWeight::get().reads(36_u64)) + // Measured: `3699` + // Estimated: `6260` + // Minimum execution time: 377_576_000 picoseconds. + Weight::from_parts(378_928_000, 6260) + .saturating_add(T::DbWeight::get().reads(35_u64)) .saturating_add(T::DbWeight::get().writes(12_u64)) } /// Storage: VaultRegistry MinimumCollateralVault (r:0 w:1) @@ -274,8 +268,8 @@ impl vault_registry::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_931_000 picoseconds. - Weight::from_parts(13_682_000, 0) + // Minimum execution time: 10_461_000 picoseconds. + Weight::from_parts(10_722_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: VaultRegistry SystemCollateralCeiling (r:0 w:1) @@ -284,8 +278,8 @@ impl vault_registry::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_757_000 picoseconds. - Weight::from_parts(14_215_000, 0) + // Minimum execution time: 10_341_000 picoseconds. + Weight::from_parts(10_671_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: VaultRegistry SecureCollateralThreshold (r:0 w:1) @@ -294,8 +288,8 @@ impl vault_registry::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 27_005_000 picoseconds. - Weight::from_parts(27_844_000, 0) + // Minimum execution time: 20_762_000 picoseconds. + Weight::from_parts(21_152_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: VaultRegistry PremiumRedeemThreshold (r:0 w:1) @@ -304,8 +298,8 @@ impl vault_registry::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 27_292_000 picoseconds. - Weight::from_parts(28_795_000, 0) + // Minimum execution time: 20_591_000 picoseconds. + Weight::from_parts(20_962_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: VaultRegistry LiquidationCollateralThreshold (r:0 w:1) @@ -314,8 +308,8 @@ impl vault_registry::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 27_149_000 picoseconds. - Weight::from_parts(28_884_000, 0) + // Minimum execution time: 20_831_000 picoseconds. + Weight::from_parts(21_163_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: VaultRegistry Vaults (r:1 w:1) @@ -348,8 +342,6 @@ impl vault_registry::WeightInfo for WeightInfo { /// 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: Security ParachainStatus (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) /// Storage: Oracle Aggregate (r:1 w:0) /// Proof: Oracle Aggregate (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) /// Storage: VaultStaking Stake (r:1 w:1) @@ -358,7 +350,7 @@ impl vault_registry::WeightInfo for WeightInfo { /// Proof: VaultStaking SlashPerToken (max_values: None, max_size: Some(106), added: 2581, mode: MaxEncodedLen) /// Storage: VaultStaking SlashTally (r:1 w:1) /// Proof: VaultStaking SlashTally (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) - /// Storage: VaultCapacity Stake (r:1 w:1) + /// 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: VaultCapacity RewardPerToken (max_values: None, max_size: Some(59), added: 2534, mode: MaxEncodedLen) @@ -384,14 +376,10 @@ impl vault_registry::WeightInfo for WeightInfo { /// Proof: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) /// Storage: VaultRewards TotalStake (r:1 w:1) /// 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: VaultStaking RewardTally (max_values: None, max_size: Some(149), added: 2624, mode: MaxEncodedLen) /// Storage: VaultRewards RewardCurrencies (r:1 w:0) - /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(138), added: 2613, mode: MaxEncodedLen) + /// Proof: VaultRewards RewardCurrencies (max_values: None, max_size: Some(50), added: 2525, 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 RewardSupplyState (r:1 w:1) @@ -410,12 +398,12 @@ impl vault_registry::WeightInfo for WeightInfo { /// Proof: VaultRegistry LiquidationVault (max_values: None, max_size: Some(124), added: 2599, mode: MaxEncodedLen) fn report_undercollateralized_vault () -> Weight { // Proof Size summary in bytes: - // Measured: `4772` - // Estimated: `190133` - // Minimum execution time: 1_872_129_000 picoseconds. - Weight::from_parts(1_909_898_000, 190133) - .saturating_add(T::DbWeight::get().reads(60_u64)) - .saturating_add(T::DbWeight::get().writes(32_u64)) + // Measured: `5028` + // Estimated: `8799` + // Minimum execution time: 1_409_222_000 picoseconds. + Weight::from_parts(1_423_390_000, 8799) + .saturating_add(T::DbWeight::get().reads(57_u64)) + .saturating_add(T::DbWeight::get().writes(30_u64)) } /// Storage: VaultRegistry Vaults (r:1 w:1) /// Proof: VaultRegistry Vaults (max_values: None, max_size: Some(260), added: 2735, mode: MaxEncodedLen) @@ -423,8 +411,8 @@ impl vault_registry::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `669` // Estimated: `3725` - // Minimum execution time: 47_453_000 picoseconds. - Weight::from_parts(51_709_000, 3725) + // Minimum execution time: 30_602_000 picoseconds. + Weight::from_parts(30_982_000, 3725) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } From 78132f01a31efc7d75844a7e99ca6a3217468754 Mon Sep 17 00:00:00 2001 From: Sander Bosma Date: Tue, 8 Aug 2023 11:39:13 +0200 Subject: [PATCH 16/20] fix: contracts runtime-api and code limit --- parachain/runtime/kintsugi/src/contracts.rs | 7 +- parachain/runtime/kintsugi/src/lib.rs | 128 ++++++++++++++++++ .../runtime-tests/src/parachain/contracts.rs | 3 + parachain/src/chain_spec/kintsugi.rs | 4 + parachain/src/chain_spec/testnet_kintsugi.rs | 1 + 5 files changed, 141 insertions(+), 2 deletions(-) diff --git a/parachain/runtime/kintsugi/src/contracts.rs b/parachain/runtime/kintsugi/src/contracts.rs index b9d1a05fd7..182e941ea9 100644 --- a/parachain/runtime/kintsugi/src/contracts.rs +++ b/parachain/runtime/kintsugi/src/contracts.rs @@ -38,11 +38,14 @@ parameter_types! { pub const DeletionWeightLimit: Weight = Weight::from_parts(100000000, 0); pub const DepositPerByte: Balance = 1; pub const DepositPerItem: Balance = 1; - pub const MaxCodeLen: u32 = 123 * 1024; + // can't increase much beyond 400k unless we decrease max call stack height + pub const MaxCodeLen: u32 = 400_000; pub const MaxStorageKeyLen: u32 = 128; pub const UnsafeUnstableInterface: bool = false; pub const MaxDebugBufferLen: u32 = 2 * 1024 * 1024; pub const DefaultDepositLimit: Balance = 1_000_000_000_000; + // address 943dd009e661df00c8a21661ce6b89d4 + pub storage EnableContracts: bool = false; } pub struct NativeCurrencyWithEd; @@ -265,7 +268,7 @@ impl pallet_contracts::Config for Runtime { type WeightInfo = (); type ChainExtension = BtcRelayExtension; type Schedule = DefaultSchedule; - type CallStack = [pallet_contracts::Frame; 5]; + type CallStack = [pallet_contracts::Frame; 1]; type DepositPerByte = DepositPerByte; type DepositPerItem = DepositPerItem; type DefaultDepositLimit = DefaultDepositLimit; diff --git a/parachain/runtime/kintsugi/src/lib.rs b/parachain/runtime/kintsugi/src/lib.rs index 597fdb3bc7..8bbc49cd9a 100644 --- a/parachain/runtime/kintsugi/src/lib.rs +++ b/parachain/runtime/kintsugi/src/lib.rs @@ -28,6 +28,7 @@ use frame_system::{ use loans::{OnSlashHook, PostDeposit, PostTransfer, PreDeposit, PreTransfer}; use orml_asset_registry::SequentialId; use orml_traits::{currency::MutationHooks, parameter_type_with_key}; +use pallet_contracts_primitives::ContractResult; use pallet_transaction_payment::{Multiplier, TargetedFeeAdjustment}; use sp_api::impl_runtime_apis; use sp_core::{OpaqueMetadata, H256}; @@ -2156,6 +2157,133 @@ impl_runtime_apis! { ) } } + + impl pallet_contracts::ContractsApi for Runtime { + fn call( + origin: AccountId, + dest: AccountId, + value: Balance, + gas_limit: Option, + storage_deposit_limit: Option, + input_data: Vec, + ) -> pallet_contracts_primitives::ContractExecResult { + if !contracts::EnableContracts::get() { + return ContractResult { + gas_consumed: Default::default(), + gas_required: Default::default(), + storage_deposit: Default::default(), + debug_message: Default::default(), + result: Err(sp_runtime::DispatchError::Other("pallet_contracts is disabled")), + }; + } + + let gas_limit = gas_limit.unwrap_or(RuntimeBlockWeights::get().max_block); + Contracts::bare_call( + origin, + dest, + value, + gas_limit, + storage_deposit_limit, + input_data, + true, + pallet_contracts::Determinism::Enforced, + ) + } + + fn instantiate( + origin: AccountId, + value: Balance, + gas_limit: Option, + storage_deposit_limit: Option, + code: pallet_contracts_primitives::Code, + data: Vec, + salt: Vec, + ) -> pallet_contracts_primitives::ContractInstantiateResult { + if !contracts::EnableContracts::get() { + return ContractResult { + gas_consumed: Default::default(), + gas_required: Default::default(), + storage_deposit: Default::default(), + debug_message: Default::default(), + result: Err(sp_runtime::DispatchError::Other("pallet_contracts is disabled")), + }; + } + + let gas_limit = gas_limit.unwrap_or(RuntimeBlockWeights::get().max_block); + Contracts::bare_instantiate( + origin, + value, + gas_limit, + storage_deposit_limit, + code, + data, + salt, + true, + ) + } + + fn upload_code( + origin: AccountId, + code: Vec, + storage_deposit_limit: Option, + determinism: pallet_contracts::Determinism, + ) -> pallet_contracts_primitives::CodeUploadResult + { + if !contracts::EnableContracts::get() { + return Err(sp_runtime::DispatchError::Other("pallet_contracts is disabled")); + } + Contracts::bare_upload_code(origin, code, storage_deposit_limit, determinism) + } + + fn get_storage( + address: AccountId, + key: Vec, + ) -> pallet_contracts_primitives::GetStorageResult { + Contracts::get_storage(address, key) + } + } + + // todo: enable this once we add contracts benchmarking +// #[cfg(feature = "runtime-benchmarks")] +// impl frame_benchmarking::Benchmark for Runtime { +// fn benchmark_metadata(extra: bool) -> ( +// Vec, +// Vec, +// ) { +// use frame_benchmarking::{baseline, Benchmarking, BenchmarkList}; +// use frame_support::traits::StorageInfoTrait; +// use frame_system_benchmarking::Pallet as SystemBench; +// use baseline::Pallet as BaselineBench; +// +// let mut list = Vec::::new(); +// list_benchmarks!(list, extra); +// +// let storage_info = AllPalletsWithSystem::storage_info(); +// +// (list, storage_info) +// } +// +// fn dispatch_benchmark( +// config: frame_benchmarking::BenchmarkConfig +// ) -> Result, sp_runtime::RuntimeString> { +// use frame_benchmarking::{baseline, Benchmarking, BenchmarkBatch, TrackedStorageKey}; +// use frame_system_benchmarking::Pallet as SystemBench; +// use baseline::Pallet as BaselineBench; +// +// impl frame_system_benchmarking::Config for Runtime {} +// impl baseline::Config for Runtime {} +// +// use frame_support::traits::WhitelistedStorageKeys; +// let whitelist: Vec = AllPalletsWithSystem::whitelisted_storage_keys(); +// +// let mut batches = Vec::::new(); +// let params = (&config, &whitelist); +// add_benchmarks!(params, batches); +// +// if batches.is_empty() { return Err("Benchmark not found for this pallet.".into()) } +// Ok(batches) +// } +// } } struct CheckInherents; diff --git a/parachain/runtime/runtime-tests/src/parachain/contracts.rs b/parachain/runtime/runtime-tests/src/parachain/contracts.rs index 7c4dff3976..0e1672390e 100644 --- a/parachain/runtime/runtime-tests/src/parachain/contracts.rs +++ b/parachain/runtime/runtime-tests/src/parachain/contracts.rs @@ -30,6 +30,9 @@ mod relay { fn test_basic_contract() { // not sure this case would ever be used, best we have a test for it anyway.. ExtBuilder::build().execute_with(|| { + let key = kintsugi_runtime_parachain::contracts::EnableContracts::key(); + let hex = hex::encode(key); + println!("key = {hex}"); // note: current working directory is diffent when you run this test, vs when you debug it. // However, the `PWD` env variable is (surprisingly) set to the workspace root in both cases. // So, we use a path relative to PWD diff --git a/parachain/src/chain_spec/kintsugi.rs b/parachain/src/chain_spec/kintsugi.rs index a77c2ee6ab..822389f282 100644 --- a/parachain/src/chain_spec/kintsugi.rs +++ b/parachain/src/chain_spec/kintsugi.rs @@ -17,6 +17,8 @@ pub struct KintsugiDevGenesisExt { pub(crate) enable_instant_seal: bool, /// The flag to enable EVM contract creation. pub(crate) enable_create: bool, + /// The flag to enable wasm contracts. + pub(crate) enable_contracts: bool, } impl sp_runtime::BuildStorage for KintsugiDevGenesisExt { @@ -24,6 +26,7 @@ impl sp_runtime::BuildStorage for KintsugiDevGenesisExt { sp_state_machine::BasicExternalities::execute_with_storage(storage, || { kintsugi_runtime::EnableManualSeal::set(&self.enable_instant_seal); kintsugi_runtime::evm::EnableCreate::set(&self.enable_create); + kintsugi_runtime::contracts::EnableContracts::set(&self.enable_contracts); }); self.genesis_config.assimilate_storage(storage) } @@ -73,6 +76,7 @@ pub fn kintsugi_dev_config(enable_instant_seal: bool) -> KintsugiDevChainSpec { ), enable_instant_seal, enable_create: true, + enable_contracts: true, }, Vec::new(), None, diff --git a/parachain/src/chain_spec/testnet_kintsugi.rs b/parachain/src/chain_spec/testnet_kintsugi.rs index 7ec7628e1a..a3ef51ea94 100644 --- a/parachain/src/chain_spec/testnet_kintsugi.rs +++ b/parachain/src/chain_spec/testnet_kintsugi.rs @@ -105,6 +105,7 @@ pub fn development_config(id: ParaId, enable_instant_seal: bool) -> KintsugiDevC ), enable_instant_seal, enable_create: true, + enable_contracts: true, }, Vec::new(), None, From aed8a77e0306334b86c4e23119c9ac51db1bf70d Mon Sep 17 00:00:00 2001 From: Gregory Hill Date: Thu, 10 Aug 2023 15:43:27 +0100 Subject: [PATCH 17/20] fix: only adjust kintsugi mainnet slot duration Signed-off-by: Gregory Hill --- parachain/src/service.rs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/parachain/src/service.rs b/parachain/src/service.rs index 2d38956b75..6a2a30c2b2 100644 --- a/parachain/src/service.rs +++ b/parachain/src/service.rs @@ -189,6 +189,12 @@ type MaybeFullSelectChain = Option>; type ParachainBlockImport = TParachainBlockImport>, FullBackend>; +// 0x9af9a64e6e4da8e3073901c3ff0cc4c3aad9563786d89daf6ad820b6e14a0b8b +const KINTSUGI_GENESIS_HASH: H256 = H256([ + 154, 249, 166, 78, 110, 77, 168, 227, 7, 57, 1, 195, 255, 12, 196, 195, 170, 217, 86, 55, 134, 216, 157, 175, 106, + 216, 32, 182, 225, 74, 11, 139, +]); + fn import_slot_duration(client: &C) -> SlotDuration where C: sc_client_api::backend::AuxStore @@ -198,7 +204,11 @@ where C::Api: sp_consensus_aura::AuraApi, { match client.runtime_version_at(client.usage_info().chain.best_hash) { - Ok(x) if x.spec_name.starts_with("kintsugi") && client.usage_info().chain.best_number < 1983993 => { + Ok(x) + if x.spec_name.starts_with("kintsugi") + && client.usage_info().chain.genesis_hash == KINTSUGI_GENESIS_HASH + && client.usage_info().chain.best_number < 1983993 => + { // the kintsugi runtime was misconfigured at genesis to use a slot duration of 6s // which stalled collators when we upgraded to polkadot-v0.9.16 and subsequently // broke mainnet when we introduced the aura timestamp hook, collators should only From 65a5a5cbb3bbb23e87bea545f6599549f973c5ea Mon Sep 17 00:00:00 2001 From: Gregory Hill Date: Thu, 10 Aug 2023 15:44:52 +0100 Subject: [PATCH 18/20] chore: bump spec_version to 1.25.1 Signed-off-by: Gregory Hill --- parachain/runtime/interlay/src/lib.rs | 2 +- parachain/runtime/kintsugi/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/parachain/runtime/interlay/src/lib.rs b/parachain/runtime/interlay/src/lib.rs index 07f1bd6358..ef53390eca 100644 --- a/parachain/runtime/interlay/src/lib.rs +++ b/parachain/runtime/interlay/src/lib.rs @@ -112,7 +112,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("interlay-parachain"), impl_name: create_runtime_str!("interlay-parachain"), authoring_version: 1, - spec_version: 1025000, + spec_version: 1025001, impl_version: 1, transaction_version: 4, apis: RUNTIME_API_VERSIONS, diff --git a/parachain/runtime/kintsugi/src/lib.rs b/parachain/runtime/kintsugi/src/lib.rs index 8bbc49cd9a..e283de4d0c 100644 --- a/parachain/runtime/kintsugi/src/lib.rs +++ b/parachain/runtime/kintsugi/src/lib.rs @@ -113,7 +113,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kintsugi-parachain"), impl_name: create_runtime_str!("kintsugi-parachain"), authoring_version: 1, - spec_version: 1025000, + spec_version: 1025001, impl_version: 1, transaction_version: 4, apis: RUNTIME_API_VERSIONS, From fe6865425817f3a55640fbde6c5b55977712b8a6 Mon Sep 17 00:00:00 2001 From: Gregory Hill Date: Thu, 10 Aug 2023 15:48:21 +0100 Subject: [PATCH 19/20] refactor: simplify slot duration check Signed-off-by: Gregory Hill --- parachain/src/service.rs | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/parachain/src/service.rs b/parachain/src/service.rs index 6a2a30c2b2..8616ee5556 100644 --- a/parachain/src/service.rs +++ b/parachain/src/service.rs @@ -203,22 +203,19 @@ where + sp_api::CallApiAt, C::Api: sp_consensus_aura::AuraApi, { - match client.runtime_version_at(client.usage_info().chain.best_hash) { - Ok(x) - if x.spec_name.starts_with("kintsugi") - && client.usage_info().chain.genesis_hash == KINTSUGI_GENESIS_HASH - && client.usage_info().chain.best_number < 1983993 => - { - // the kintsugi runtime was misconfigured at genesis to use a slot duration of 6s - // which stalled collators when we upgraded to polkadot-v0.9.16 and subsequently - // broke mainnet when we introduced the aura timestamp hook, collators should only - // switch when syncing after the (failed) 1.20.0 upgrade - SlotDuration::from_millis(6000) - } + if client.usage_info().chain.genesis_hash == KINTSUGI_GENESIS_HASH + && client.usage_info().chain.best_number < 1983993 + { + // the kintsugi runtime was misconfigured at genesis to use a slot duration of 6s + // which stalled collators when we upgraded to polkadot-v0.9.16 and subsequently + // broke mainnet when we introduced the aura timestamp hook, collators should only + // switch when syncing after the (failed) 1.20.0 upgrade + SlotDuration::from_millis(6000) + } else { // this is pallet_timestamp::MinimumPeriod * 2 at the current height // on kintsugi we increased MinimumPeriod from 3_000 to 6_000 at 16_593 // but the interlay runtime has always used 6_000 - _ => sc_consensus_aura::slot_duration(&*client).unwrap(), + sc_consensus_aura::slot_duration(&*client).unwrap() } } From 20e24948f26566774f717332c102431a264b5eec Mon Sep 17 00:00:00 2001 From: Gregory Hill Date: Thu, 10 Aug 2023 16:27:58 +0100 Subject: [PATCH 20/20] fix: remove frontier block import Signed-off-by: Gregory Hill --- parachain/src/eth.rs | 48 +--------------------------------------- parachain/src/service.rs | 20 ++++++----------- 2 files changed, 8 insertions(+), 60 deletions(-) diff --git a/parachain/src/eth.rs b/parachain/src/eth.rs index 6bf4ab9d4e..e80159bd39 100644 --- a/parachain/src/eth.rs +++ b/parachain/src/eth.rs @@ -1,5 +1,4 @@ use crate::service::{FullBackend, FullClient}; -use cumulus_client_consensus_common::ParachainBlockImportMarker; pub use fc_consensus::FrontierBlockImport; use fc_rpc::{EthTask, OverrideHandle}; pub use fc_rpc_core::types::{FeeHistoryCache, FeeHistoryCacheLimit, FilterPool}; @@ -7,14 +6,11 @@ use fp_rpc::EthereumRuntimeRPCApi; use futures::{future, prelude::*}; use primitives::Block; use sc_client_api::{BlockchainEvents, StateBackendFor}; -use sc_consensus::{BlockCheckParams, BlockImport as BlockImportT, BlockImportParams, ImportResult}; use sc_executor::NativeExecutionDispatch; use sc_network_sync::SyncingService; use sc_service::{error::Error as ServiceError, BasePath, Configuration, TaskManager}; use sc_transaction_pool::{ChainApi, Pool}; use sp_api::{ConstructRuntimeApi, ProvideRuntimeApi}; -use sp_block_builder::BlockBuilder as BlockBuilderApi; -use sp_consensus::Error as ConsensusError; use sp_runtime::traits::{BlakeTwo256, Block as BlockT}; use std::{ collections::BTreeMap, @@ -200,7 +196,7 @@ pub async fn spawn_frontier_tasks( overrides.clone(), Arc::new(b), 3, - 0, + 0, // TODO: update when deployed fc_mapping_sync::SyncStrategy::Normal, sync, pubsub_notification_sinks, @@ -248,48 +244,6 @@ pub async fn spawn_frontier_tasks( ); } -#[derive(Clone)] -pub struct BlockImport, C>(FrontierBlockImport); - -impl BlockImport -where - B: BlockT, - I: BlockImportT>, - I::Error: Into, - C: ProvideRuntimeApi, - C::Api: BlockBuilderApi + EthereumRuntimeRPCApi, -{ - pub fn new(inner: I, client: Arc) -> Self { - Self(FrontierBlockImport::new(inner, client)) - } -} - -#[async_trait::async_trait] -impl BlockImportT for BlockImport -where - B: BlockT, - I: BlockImportT> + Send + Sync, - I::Error: Into, - C: ProvideRuntimeApi + Send + Sync, - C::Api: BlockBuilderApi + EthereumRuntimeRPCApi, -{ - type Error = ConsensusError; - type Transaction = sp_api::TransactionFor; - - async fn check_block(&mut self, block: BlockCheckParams) -> Result { - self.0.check_block(block).await - } - - async fn import_block( - &mut self, - block: BlockImportParams, - ) -> Result { - self.0.import_block(block).await - } -} - -impl, C> ParachainBlockImportMarker for BlockImport {} - pub fn new_eth_deps( client: Arc, transaction_pool: Arc

, diff --git a/parachain/src/service.rs b/parachain/src/service.rs index 8616ee5556..1b02e504f9 100644 --- a/parachain/src/service.rs +++ b/parachain/src/service.rs @@ -33,8 +33,8 @@ use substrate_prometheus_endpoint::Registry; // Frontier imports use crate::eth::{ - new_eth_deps, new_frontier_partial, open_frontier_backend, spawn_frontier_tasks, BlockImport as EthBlockImport, - EthCompatRuntimeApiCollection, EthConfiguration, FrontierBackend, FrontierPartialComponents, + new_eth_deps, new_frontier_partial, open_frontier_backend, spawn_frontier_tasks, EthCompatRuntimeApiCollection, + EthConfiguration, FrontierBackend, FrontierPartialComponents, }; macro_rules! new_runtime_executor { @@ -313,7 +313,7 @@ where let import_queue = if instant_seal { // instant sealing sc_consensus_manual_seal::import_queue( - Box::new(EthBlockImport::new(client.clone(), client.clone())), + Box::new(client.clone()), &task_manager.spawn_essential_handle(), registry, ) @@ -322,10 +322,7 @@ where cumulus_client_consensus_aura::import_queue::( cumulus_client_consensus_aura::ImportQueueParams { - block_import: EthBlockImport::new( - ParachainBlockImport::new(client.clone(), backend.clone()), - client.clone(), - ), + block_import: ParachainBlockImport::new(client.clone(), backend.clone()), client: client.clone(), create_inherent_data_providers: move |_parent: sp_core::H256, _| async move { let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); @@ -398,7 +395,7 @@ where CT: fp_rpc::ConvertTransaction<::Extrinsic> + Clone + Default + Send + Sync + 'static, BIC: FnOnce( Arc>, - EthBlockImport, FullClient>, + ParachainBlockImport, Option<&Registry>, Option, &TaskManager, @@ -544,10 +541,7 @@ where if validator { let parachain_consensus = build_consensus( client.clone(), - EthBlockImport::new( - ParachainBlockImport::new(client.clone(), backend.clone()), - client.clone(), - ), + ParachainBlockImport::new(client.clone(), backend.clone()), prometheus_registry.as_ref(), telemetry.as_ref().map(|t| t.handle()), &task_manager, @@ -760,7 +754,7 @@ where let client_for_cidp = client.clone(); let authorship_future = sc_consensus_manual_seal::run_manual_seal(sc_consensus_manual_seal::ManualSealParams { - block_import: EthBlockImport::new(client.clone(), client.clone()), + block_import: client.clone(), env: proposer_factory, client: client.clone(), pool: transaction_pool.clone(),