From 49c2ac9861952524f1fc5841499d5b51d7e9cced Mon Sep 17 00:00:00 2001 From: brenzi Date: Mon, 12 Aug 2024 08:46:58 +0200 Subject: [PATCH] integrate teerdays (#299) * bump version * add teerdays pallet * benchmark all pallets again * taploi fmt --- Cargo.lock | 77 +++++-- Cargo.toml | 3 + polkadot-parachains/Cargo.toml | 2 +- polkadot-parachains/common/src/lib.rs | 6 + .../integritee-runtime/Cargo.toml | 6 +- .../integritee-runtime/src/lib.rs | 19 +- .../cumulus_pallet_parachain_system.rs | 12 +- .../src/weights/cumulus_pallet_xcmp_queue.rs | 82 +++---- .../src/weights/frame_system.rs | 64 +++--- .../integritee-runtime/src/weights/mod.rs | 1 + .../src/weights/pallet_asset_conversion.rs | 73 +++--- .../src/weights/pallet_asset_registry.rs | 12 +- .../src/weights/pallet_assets.rs | 154 +++++++------ .../src/weights/pallet_balances.rs | 70 +++--- .../src/weights/pallet_bounties.rs | 56 ++--- .../src/weights/pallet_child_bounties.rs | 40 ++-- .../src/weights/pallet_claims.rs | 24 +- .../src/weights/pallet_collator_selection.rs | 142 ++++++------ .../src/weights/pallet_collective.rs | 120 +++++----- .../src/weights/pallet_democracy.rs | 148 ++++++------ .../src/weights/pallet_enclave_bridge.rs | 213 +++++++++--------- .../src/weights/pallet_message_queue.rs | 44 ++-- .../src/weights/pallet_multisig.rs | 84 ++++--- .../src/weights/pallet_preimage.rs | 72 +++--- .../src/weights/pallet_proxy.rs | 116 +++++----- .../src/weights/pallet_scheduler.rs | 100 ++++---- .../src/weights/pallet_session.rs | 50 ++-- .../src/weights/pallet_sidechain.rs | 8 +- .../src/weights/pallet_teeracle.rs | 20 +- .../src/weights/pallet_teerdays.rs | 103 +++++++++ .../src/weights/pallet_teerex.rs | 28 +-- .../src/weights/pallet_timestamp.rs | 12 +- .../src/weights/pallet_utility.rs | 36 +-- .../src/weights/pallet_vesting.rs | 110 +++++---- scripts/benchmark_all_pallets.sh | 2 - 35 files changed, 1138 insertions(+), 971 deletions(-) create mode 100644 polkadot-parachains/integritee-runtime/src/weights/pallet_teerdays.rs diff --git a/Cargo.lock b/Cargo.lock index a56d19f4..17844791 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1193,7 +1193,7 @@ dependencies = [ [[package]] name = "claims-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#98389472ef524fa9cacb57f9e9095e1fb67b9216" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#d9223be14a86bb35ed4fb5d47de293f79bce5575" dependencies = [ "parity-scale-codec", "rustc-hex", @@ -1335,7 +1335,7 @@ checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" [[package]] name = "common-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#98389472ef524fa9cacb57f9e9095e1fb67b9216" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#d9223be14a86bb35ed4fb5d47de293f79bce5575" dependencies = [ "derive_more", "parity-scale-codec", @@ -2841,7 +2841,7 @@ dependencies = [ [[package]] name = "enclave-bridge-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#98389472ef524fa9cacb57f9e9095e1fb67b9216" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#d9223be14a86bb35ed4fb5d47de293f79bce5575" dependencies = [ "common-primitives", "log", @@ -4288,7 +4288,7 @@ dependencies = [ [[package]] name = "integritee-collator" -version = "1.13.0" +version = "1.13.1" dependencies = [ "assert_cmd", "async-trait", @@ -4395,7 +4395,7 @@ dependencies = [ [[package]] name = "integritee-runtime" -version = "1.13.530" +version = "1.13.540" dependencies = [ "assets-common", "cumulus-pallet-aura-ext", @@ -4446,6 +4446,7 @@ dependencies = [ "pallet-session", "pallet-sidechain", "pallet-teeracle", + "pallet-teerdays", "pallet-teerex", "pallet-timestamp", "pallet-transaction-payment", @@ -6551,7 +6552,7 @@ dependencies = [ [[package]] name = "pallet-asset-registry" version = "0.0.1" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#98389472ef524fa9cacb57f9e9095e1fb67b9216" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#d9223be14a86bb35ed4fb5d47de293f79bce5575" dependencies = [ "frame-benchmarking", "frame-support", @@ -6826,7 +6827,7 @@ dependencies = [ [[package]] name = "pallet-claims" version = "0.9.12" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#98389472ef524fa9cacb57f9e9095e1fb67b9216" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#d9223be14a86bb35ed4fb5d47de293f79bce5575" dependencies = [ "claims-primitives", "frame-benchmarking", @@ -6996,7 +6997,7 @@ dependencies = [ [[package]] name = "pallet-enclave-bridge" version = "0.12.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#98389472ef524fa9cacb57f9e9095e1fb67b9216" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#d9223be14a86bb35ed4fb5d47de293f79bce5575" dependencies = [ "enclave-bridge-primitives", "frame-benchmarking", @@ -7496,7 +7497,7 @@ dependencies = [ [[package]] name = "pallet-sidechain" version = "0.11.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#98389472ef524fa9cacb57f9e9095e1fb67b9216" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#d9223be14a86bb35ed4fb5d47de293f79bce5575" dependencies = [ "enclave-bridge-primitives", "frame-benchmarking", @@ -7634,17 +7635,19 @@ dependencies = [ [[package]] name = "pallet-teeracle" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#98389472ef524fa9cacb57f9e9095e1fb67b9216" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#d9223be14a86bb35ed4fb5d47de293f79bce5575" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "hex-literal", "log", + "pallet-aura", "pallet-teerex", "pallet-timestamp", "parity-scale-codec", "scale-info", + "sp-consensus-aura", "sp-core", "sp-io", "sp-runtime", @@ -7655,10 +7658,32 @@ dependencies = [ "test-utils", ] +[[package]] +name = "pallet-teerdays" +version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#d9223be14a86bb35ed4fb5d47de293f79bce5575" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "log", + "pallet-balances", + "pallet-timestamp", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "teerdays-primitives", +] + [[package]] name = "pallet-teerex" version = "0.10.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#98389472ef524fa9cacb57f9e9095e1fb67b9216" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#d9223be14a86bb35ed4fb5d47de293f79bce5575" dependencies = [ "frame-benchmarking", "frame-support", @@ -7666,6 +7691,7 @@ dependencies = [ "hex", "hex-literal", "log", + "pallet-aura", "pallet-balances", "pallet-timestamp", "parity-scale-codec", @@ -7673,6 +7699,7 @@ dependencies = [ "scale-info", "serde", "sgx-verify", + "sp-consensus-aura", "sp-core", "sp-io", "sp-runtime", @@ -7886,7 +7913,7 @@ dependencies = [ [[package]] name = "pallet-xcm-transactor" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#98389472ef524fa9cacb57f9e9095e1fb67b9216" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#d9223be14a86bb35ed4fb5d47de293f79bce5575" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -12283,7 +12310,7 @@ dependencies = [ [[package]] name = "sgx-verify" version = "0.1.4" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#98389472ef524fa9cacb57f9e9095e1fb67b9216" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#d9223be14a86bb35ed4fb5d47de293f79bce5575" dependencies = [ "base64 0.13.1", "chrono", @@ -12462,7 +12489,7 @@ checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" [[package]] name = "sidechain-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#98389472ef524fa9cacb57f9e9095e1fb67b9216" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#d9223be14a86bb35ed4fb5d47de293f79bce5575" dependencies = [ "parity-scale-codec", "scale-info", @@ -14004,17 +14031,29 @@ checksum = "1d2faeef5759ab89935255b1a4cd98e0baf99d1085e37d36599c625dac49ae8e" [[package]] name = "teeracle-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#98389472ef524fa9cacb57f9e9095e1fb67b9216" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#d9223be14a86bb35ed4fb5d47de293f79bce5575" dependencies = [ "common-primitives", "sp-std", "substrate-fixed", ] +[[package]] +name = "teerdays-primitives" +version = "0.1.0" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#d9223be14a86bb35ed4fb5d47de293f79bce5575" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-runtime", +] + [[package]] name = "teerex-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#98389472ef524fa9cacb57f9e9095e1fb67b9216" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#d9223be14a86bb35ed4fb5d47de293f79bce5575" dependencies = [ "common-primitives", "derive_more", @@ -14068,7 +14107,7 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "test-utils" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#98389472ef524fa9cacb57f9e9095e1fb67b9216" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#d9223be14a86bb35ed4fb5d47de293f79bce5575" dependencies = [ "log", "sgx-verify", @@ -15913,7 +15952,7 @@ dependencies = [ [[package]] name = "xcm-primitives" version = "0.0.1" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#98389472ef524fa9cacb57f9e9095e1fb67b9216" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#d9223be14a86bb35ed4fb5d47de293f79bce5575" dependencies = [ "frame-support", "sp-runtime", @@ -15937,7 +15976,7 @@ dependencies = [ [[package]] name = "xcm-transactor-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#98389472ef524fa9cacb57f9e9095e1fb67b9216" +source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.13.0#d9223be14a86bb35ed4fb5d47de293f79bce5575" dependencies = [ "common-primitives", "cumulus-primitives-core", diff --git a/Cargo.toml b/Cargo.toml index 079693fc..af89e293 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,6 +31,7 @@ pallet-claims = { default-features = false, git = "https://github.com/integritee pallet-enclave-bridge = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.13.0" } pallet-sidechain = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.13.0" } pallet-teeracle = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.13.0" } +pallet-teerdays = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.13.0" } pallet-teerex = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.13.0" } pallet-xcm-transactor = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.13.0" } xcm-primitives = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.13.0" } @@ -178,10 +179,12 @@ substrate-wasm-builder = "23.0.0" #pallet-enclave-bridge = { path = '../pallets/enclave-bridge' } #pallet-sidechain = { path = '../pallets/sidechain' } #pallet-teeracle = { path = '../pallets/teeracle' } +#pallet-teerdays = { path = '../pallets/teerdays' } #pallet-teerex = { path = '../pallets/teerex' } #pallet-xcm-transactor = { path = '../pallets/xcm-transactor' } #sgx-verify = { path = '../pallets/teerex/sgx-verify' } #teeracle-primitives = { path = '../pallets/primitives/teeracle' } +#teerdays-primitives = { path = '../pallets/primitives/teerdays' } #teerex-primitives = { path = '../pallets/primitives/teerex' } #test-utils = { path = '../pallets/test-utils' } #xcm-primitives = { path = '../pallets/primitives/xcm' } diff --git a/polkadot-parachains/Cargo.toml b/polkadot-parachains/Cargo.toml index 5e8040f8..83d67223 100644 --- a/polkadot-parachains/Cargo.toml +++ b/polkadot-parachains/Cargo.toml @@ -2,7 +2,7 @@ name = "integritee-collator" description = "The Integritee parachain collator binary" # align major.minor revision with polkadot SDK. bump patch revision ad lib. make this the github release tag -version = "1.13.0" +version = "1.13.1" authors = ["Integritee AG "] homepage = "https://integritee.network/" repository = "https://github.com/integritee-network/parachain" diff --git a/polkadot-parachains/common/src/lib.rs b/polkadot-parachains/common/src/lib.rs index 085497d3..23cd3ba2 100644 --- a/polkadot-parachains/common/src/lib.rs +++ b/polkadot-parachains/common/src/lib.rs @@ -76,6 +76,7 @@ mod types { mod constants { use super::types::BlockNumber; use frame_support::weights::{constants::WEIGHT_REF_TIME_PER_SECOND, Weight}; + use polkadot_core_primitives::Moment; use sp_runtime::Perbill; /// This determines the average expected block time that we are targeting. Blocks will be /// produced at a minimum duration defined by `SLOT_DURATION`. `SLOT_DURATION` is picked up by @@ -91,6 +92,11 @@ mod constants { pub const HOURS: BlockNumber = MINUTES * 60; pub const DAYS: BlockNumber = HOURS * 24; + // Time helpers in milliseconds. + pub const MS_PER_MINUTE: Moment = 60_000; + pub const MS_PER_HOUR: Moment = crate::MS_PER_MINUTE * 60; + pub const MS_PER_DAY: Moment = crate::MS_PER_HOUR * 24; + /// We assume that ~5% of the block weight is consumed by `on_initialize` handlers. This is /// used to limit the maximal weight of a single extrinsic. pub const AVERAGE_ON_INITIALIZE_RATIO: Perbill = Perbill::from_percent(5); diff --git a/polkadot-parachains/integritee-runtime/Cargo.toml b/polkadot-parachains/integritee-runtime/Cargo.toml index 035b79ec..0b1f5eb5 100644 --- a/polkadot-parachains/integritee-runtime/Cargo.toml +++ b/polkadot-parachains/integritee-runtime/Cargo.toml @@ -2,7 +2,7 @@ name = "integritee-runtime" description = "The Integritee parachain runtime" # align major.minor revision with polkadot SDK. patch revision must match runtime spec_version -version = "1.13.530" +version = "1.13.540" authors = ["Integritee AG "] homepage = "https://integritee.network/" repository = "https://github.com/integritee-network/parachain" @@ -61,6 +61,7 @@ pallet-scheduler = { workspace = true } pallet-session = { workspace = true } pallet-sidechain = { workspace = true } pallet-teeracle = { workspace = true } +pallet-teerdays = { workspace = true } pallet-teerex = { workspace = true } pallet-timestamp = { workspace = true } pallet-transaction-payment = { workspace = true } @@ -157,6 +158,7 @@ std = [ "pallet-session/std", "pallet-sidechain/std", "pallet-teeracle/std", + "pallet-teerdays/std", "pallet-teerex/std", "pallet-timestamp/std", "pallet-transaction-payment-rpc-runtime-api/std", @@ -222,6 +224,7 @@ runtime-benchmarks = [ "pallet-scheduler/runtime-benchmarks", "pallet-sidechain/runtime-benchmarks", "pallet-teeracle/runtime-benchmarks", + "pallet-teerdays/runtime-benchmarks", "pallet-teerex/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-treasury/runtime-benchmarks", @@ -269,6 +272,7 @@ try-runtime = [ "pallet-session/try-runtime", "pallet-sidechain/try-runtime", "pallet-teeracle/try-runtime", + "pallet-teerdays/try-runtime", "pallet-teerex/try-runtime", "pallet-timestamp/try-runtime", "pallet-transaction-payment/try-runtime", diff --git a/polkadot-parachains/integritee-runtime/src/lib.rs b/polkadot-parachains/integritee-runtime/src/lib.rs index 4a43c81c..990ff0fa 100644 --- a/polkadot-parachains/integritee-runtime/src/lib.rs +++ b/polkadot-parachains/integritee-runtime/src/lib.rs @@ -58,8 +58,8 @@ use frame_system::{ use integritee_parachains_common::{ fee::{SlowAdjustingFeeUpdate, WeightToFee}, AuraId, AVERAGE_ON_INITIALIZE_RATIO, BLOCK_PROCESSING_VELOCITY, DAYS, HOURS, - MAXIMUM_BLOCK_WEIGHT, MINUTES, NORMAL_DISPATCH_RATIO, RELAY_CHAIN_SLOT_DURATION_MILLIS, - SLOT_DURATION, UNINCLUDED_SEGMENT_CAPACITY, + MAXIMUM_BLOCK_WEIGHT, MINUTES, MS_PER_DAY, NORMAL_DISPATCH_RATIO, + RELAY_CHAIN_SLOT_DURATION_MILLIS, SLOT_DURATION, UNINCLUDED_SEGMENT_CAPACITY, }; pub use integritee_parachains_common::{ AccountId, Address, Balance, BlockNumber, Hash, Header, Nonce, Signature, MILLISECS_PER_BLOCK, @@ -119,7 +119,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("integritee-parachain"), impl_name: create_runtime_str!("integritee-full"), authoring_version: 2, - spec_version: 530, + spec_version: 540, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 8, @@ -551,6 +551,17 @@ impl pallet_sidechain::Config for Runtime { type RuntimeEvent = RuntimeEvent; type WeightInfo = weights::pallet_sidechain::WeightInfo; } +// added by Integritee +parameter_types! { + pub const UnlockPeriod: Moment = 7 * MS_PER_DAY; +} +impl pallet_teerdays::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type WeightInfo = weights::pallet_teerdays::WeightInfo; + type Currency = Balances; + type CurrencyBalance = Balance; + type UnlockPeriod = UnlockPeriod; +} parameter_types! { pub Prefix: &'static [u8] = b"Pay TEERs to the integriTEE account:"; @@ -1058,6 +1069,7 @@ construct_runtime!( Teeracle: pallet_teeracle = 52, Sidechain: pallet_sidechain= 53, EnclaveBridge: pallet_enclave_bridge = 54, + TeerDays: pallet_teerdays = 55, } ); @@ -1129,6 +1141,7 @@ mod benches { [pallet_session, SessionBench::] [pallet_sidechain, Sidechain] [pallet_teeracle, Teeracle] + [pallet_teerdays, TeerDays] [pallet_teerex, Teerex] [pallet_enclave_bridge, EnclaveBridge] [pallet_timestamp, Timestamp] diff --git a/polkadot-parachains/integritee-runtime/src/weights/cumulus_pallet_parachain_system.rs b/polkadot-parachains/integritee-runtime/src/weights/cumulus_pallet_parachain_system.rs index 65d989a9..722162b0 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/cumulus_pallet_parachain_system.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/cumulus_pallet_parachain_system.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `cumulus_pallet_parachain_system` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -47,11 +47,11 @@ impl cumulus_pallet_parachain_system::WeightInfo for We // Proof Size summary in bytes: // Measured: `84` // Estimated: `3517` - // Minimum execution time: 1_478_000 picoseconds. - Weight::from_parts(1_538_000, 0) + // Minimum execution time: 1_564_000 picoseconds. + Weight::from_parts(1_684_000, 0) .saturating_add(Weight::from_parts(0, 3517)) - // Standard Error: 124_634 - .saturating_add(Weight::from_parts(141_720_686, 0).saturating_mul(n.into())) + // Standard Error: 375_232 + .saturating_add(Weight::from_parts(146_504_836, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) diff --git a/polkadot-parachains/integritee-runtime/src/weights/cumulus_pallet_xcmp_queue.rs b/polkadot-parachains/integritee-runtime/src/weights/cumulus_pallet_xcmp_queue.rs index 4ec3aec7..f9743522 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/cumulus_pallet_xcmp_queue.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -33,58 +33,58 @@ use core::marker::PhantomData; pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo { /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) - /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: - // Measured: `76` - // Estimated: `1561` - // Minimum execution time: 4_043_000 picoseconds. - Weight::from_parts(4_293_000, 0) - .saturating_add(Weight::from_parts(0, 1561)) + // Measured: `109` + // Estimated: `1497` + // Minimum execution time: 6_287_000 picoseconds. + Weight::from_parts(6_669_000, 0) + .saturating_add(Weight::from_parts(0, 1497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) - /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) - /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn enqueue_xcmp_message() -> Weight { // Proof Size summary in bytes: - // Measured: `118` - // Estimated: `3517` - // Minimum execution time: 11_882_000 picoseconds. - Weight::from_parts(12_293_000, 0) - .saturating_add(Weight::from_parts(0, 3517)) + // Measured: `151` + // Estimated: `5487` + // Minimum execution time: 20_141_000 picoseconds. + Weight::from_parts(21_320_000, 0) + .saturating_add(Weight::from_parts(0, 5487)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) fn suspend_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `76` - // Estimated: `1561` - // Minimum execution time: 2_507_000 picoseconds. - Weight::from_parts(2_644_000, 0) - .saturating_add(Weight::from_parts(0, 1561)) + // Measured: `109` + // Estimated: `2767` + // Minimum execution time: 4_098_000 picoseconds. + Weight::from_parts(4_465_000, 0) + .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) - /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) fn resume_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `111` - // Estimated: `1596` - // Minimum execution time: 3_447_000 picoseconds. - Weight::from_parts(3_615_000, 0) - .saturating_add(Weight::from_parts(0, 1596)) + // Measured: `144` + // Estimated: `2767` + // Minimum execution time: 5_044_000 picoseconds. + Weight::from_parts(5_510_000, 0) + .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -92,8 +92,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_569_000 picoseconds. - Weight::from_parts(7_757_000, 0) + // Minimum execution time: 12_666_000 picoseconds. + Weight::from_parts(12_801_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -105,18 +105,18 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) - /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) - /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Storage: `MessageQueue::Pages` (r:0 w:1) /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn on_idle_good_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `65747` - // Estimated: `69212` - // Minimum execution time: 98_707_000 picoseconds. - Weight::from_parts(99_726_000, 0) - .saturating_add(Weight::from_parts(0, 69212)) + // Measured: `65780` + // Estimated: `69245` + // Minimum execution time: 140_131_000 picoseconds. + Weight::from_parts(146_147_000, 0) + .saturating_add(Weight::from_parts(0, 69245)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -126,11 +126,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) fn on_idle_large_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `65710` - // Estimated: `69175` - // Minimum execution time: 42_141_000 picoseconds. - Weight::from_parts(43_029_000, 0) - .saturating_add(Weight::from_parts(0, 69175)) + // Measured: `65743` + // Estimated: `69208` + // Minimum execution time: 59_608_000 picoseconds. + Weight::from_parts(60_675_000, 0) + .saturating_add(Weight::from_parts(0, 69208)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/polkadot-parachains/integritee-runtime/src/weights/frame_system.rs b/polkadot-parachains/integritee-runtime/src/weights/frame_system.rs index 89d3c151..983ab4df 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/frame_system.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/frame_system.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `frame_system` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -37,22 +37,22 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_378_000 picoseconds. - Weight::from_parts(43_630_449, 0) + // Minimum execution time: 2_129_000 picoseconds. + Weight::from_parts(19_854_453, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 0 - .saturating_add(Weight::from_parts(249, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(264, 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: 3_703_000 picoseconds. - Weight::from_parts(3_940_000, 0) + // Minimum execution time: 3_916_000 picoseconds. + Weight::from_parts(3_994_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_281, 0).saturating_mul(b.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_401, 0).saturating_mul(b.into())) } /// Storage: `System::Digest` (r:1 w:1) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -62,8 +62,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 2_352_000 picoseconds. - Weight::from_parts(2_532_000, 0) + // Minimum execution time: 2_659_000 picoseconds. + Weight::from_parts(2_921_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -84,8 +84,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `164` // Estimated: `1649` - // Minimum execution time: 107_507_192_000 picoseconds. - Weight::from_parts(113_806_538_000, 0) + // Minimum execution time: 97_427_757_000 picoseconds. + Weight::from_parts(100_968_425_000, 0) .saturating_add(Weight::from_parts(0, 1649)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -97,11 +97,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_749_000 picoseconds. - Weight::from_parts(1_775_000, 0) + // Minimum execution time: 1_513_000 picoseconds. + Weight::from_parts(1_544_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_589 - .saturating_add(Weight::from_parts(713_121, 0).saturating_mul(i.into())) + // Standard Error: 3_247 + .saturating_add(Weight::from_parts(680_182, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -111,11 +111,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_821_000 picoseconds. - Weight::from_parts(4_151_450, 0) + // Minimum execution time: 1_461_000 picoseconds. + Weight::from_parts(1_601_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 4_202 - .saturating_add(Weight::from_parts(503_578, 0).saturating_mul(i.into())) + // Standard Error: 2_234 + .saturating_add(Weight::from_parts(514_914, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -123,13 +123,13 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `87 + p * (69 ±0)` - // Estimated: `93 + p * (70 ±0)` - // Minimum execution time: 2_625_000 picoseconds. - Weight::from_parts(2_660_000, 0) - .saturating_add(Weight::from_parts(0, 93)) - // Standard Error: 1_826 - .saturating_add(Weight::from_parts(1_020_065, 0).saturating_mul(p.into())) + // Measured: `107 + p * (69 ±0)` + // Estimated: `110 + p * (70 ±0)` + // Minimum execution time: 3_501_000 picoseconds. + Weight::from_parts(3_576_000, 0) + .saturating_add(Weight::from_parts(0, 110)) + // Standard Error: 1_877 + .saturating_add(Weight::from_parts(946_660, 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())) @@ -140,8 +140,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_091_000 picoseconds. - Weight::from_parts(9_297_000, 0) + // Minimum execution time: 6_273_000 picoseconds. + Weight::from_parts(7_015_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -163,8 +163,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `186` // Estimated: `1671` - // Minimum execution time: 111_952_640_000 picoseconds. - Weight::from_parts(118_457_913_000, 0) + // Minimum execution time: 98_362_234_000 picoseconds. + Weight::from_parts(104_019_699_000, 0) .saturating_add(Weight::from_parts(0, 1671)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/mod.rs b/polkadot-parachains/integritee-runtime/src/weights/mod.rs index 5d7db66a..553e33ad 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/mod.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/mod.rs @@ -24,6 +24,7 @@ pub mod pallet_scheduler; pub mod pallet_session; pub mod pallet_sidechain; pub mod pallet_teeracle; +pub mod pallet_teerdays; pub mod pallet_teerex; pub mod pallet_timestamp; pub mod pallet_treasury; diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_asset_conversion.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_asset_conversion.rs index 3f08012d..4ba82b01 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_asset_conversion.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_asset_conversion.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_asset_conversion` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -40,16 +40,18 @@ impl pallet_asset_conversion::WeightInfo for WeightInfo /// Proof: `AssetConversion::NextPoolAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `PoolAssets::Asset` (r:1 w:1) /// Proof: `PoolAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `PoolAssets::Account` (r:1 w:1) /// Proof: `PoolAssets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) fn create_pool() -> Weight { // Proof Size summary in bytes: - // Measured: `657` + // Measured: `709` // Estimated: `6360` - // Minimum execution time: 69_536_000 picoseconds. - Weight::from_parts(71_262_000, 0) + // Minimum execution time: 67_248_000 picoseconds. + Weight::from_parts(68_932_000, 0) .saturating_add(Weight::from_parts(0, 6360)) - .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `AssetConversion::Pools` (r:1 w:0) @@ -66,10 +68,10 @@ impl pallet_asset_conversion::WeightInfo for WeightInfo /// Proof: `PoolAssets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `1306` + // Measured: `1358` // Estimated: `11426` - // Minimum execution time: 175_114_000 picoseconds. - Weight::from_parts(184_549_000, 0) + // Minimum execution time: 159_690_000 picoseconds. + Weight::from_parts(161_969_000, 0) .saturating_add(Weight::from_parts(0, 11426)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(10)) @@ -88,8 +90,8 @@ impl pallet_asset_conversion::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `1449` // Estimated: `11426` - // Minimum execution time: 148_042_000 picoseconds. - Weight::from_parts(153_632_000, 0) + // Minimum execution time: 135_765_000 picoseconds. + Weight::from_parts(139_869_000, 0) .saturating_add(Weight::from_parts(0, 11426)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) @@ -103,11 +105,11 @@ impl pallet_asset_conversion::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `22 + n * (419 ±0)` // Estimated: `990 + n * (5218 ±0)` - // Minimum execution time: 64_222_000 picoseconds. - Weight::from_parts(66_956_000, 0) + // Minimum execution time: 77_463_000 picoseconds. + Weight::from_parts(80_999_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 118_427 - .saturating_add(Weight::from_parts(2_274_379, 0).saturating_mul(n.into())) + // Standard Error: 151_381 + .saturating_add(Weight::from_parts(2_658_373, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 5218).saturating_mul(n.into())) @@ -121,23 +123,38 @@ impl pallet_asset_conversion::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `22 + n * (419 ±0)` // Estimated: `990 + n * (5218 ±0)` - // Minimum execution time: 64_370_000 picoseconds. - Weight::from_parts(66_012_000, 0) + // Minimum execution time: 75_350_000 picoseconds. + Weight::from_parts(77_453_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 119_947 - .saturating_add(Weight::from_parts(943_346, 0).saturating_mul(n.into())) + // Standard Error: 122_663 + .saturating_add(Weight::from_parts(1_227_074, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 5218).saturating_mul(n.into())) } - - fn touch(n: u32) -> Weight { - Weight::from_parts(66_012_000, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 119_947 - .saturating_add(Weight::from_parts(943_346, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 5218).saturating_mul(n.into())) + /// Storage: `AssetConversion::Pools` (r:1 w:0) + /// Proof: `AssetConversion::Pools` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:2 w:2) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `PoolAssets::Asset` (r:1 w:1) + /// Proof: `PoolAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `PoolAssets::Account` (r:1 w:1) + /// Proof: `PoolAssets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 3]`. + fn touch(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1422` + // Estimated: `6360` + // Minimum execution time: 39_451_000 picoseconds. + Weight::from_parts(41_932_889, 0) + .saturating_add(Weight::from_parts(0, 6360)) + // Standard Error: 91_671 + .saturating_add(Weight::from_parts(19_678_187, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_asset_registry.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_asset_registry.rs index 6a69a92a..d0f49c74 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_asset_registry.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_asset_registry.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_asset_registry` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -42,8 +42,8 @@ impl pallet_asset_registry::WeightInfo for WeightInfo pallet_asset_registry::WeightInfo for WeightInfo pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3675` - // Minimum execution time: 11_188_000 picoseconds. - Weight::from_parts(11_828_000, 0) + // Minimum execution time: 11_692_000 picoseconds. + Weight::from_parts(12_152_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -58,8 +58,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 13_776_000 picoseconds. - Weight::from_parts(14_584_000, 0) + // Minimum execution time: 14_875_000 picoseconds. + Weight::from_parts(15_746_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,11 +75,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + c * (208 ±0)` // Estimated: `3675 + c * (2609 ±0)` - // Minimum execution time: 16_755_000 picoseconds. - Weight::from_parts(17_160_000, 0) + // Minimum execution time: 18_699_000 picoseconds. + Weight::from_parts(18_959_000, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 10_861 - .saturating_add(Weight::from_parts(10_969_481, 0).saturating_mul(c.into())) + // Standard Error: 62_085 + .saturating_add(Weight::from_parts(12_328_520, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -95,11 +95,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `451 + a * (86 ±0)` // Estimated: `3675 + a * (2623 ±0)` - // Minimum execution time: 12_362_000 picoseconds. - Weight::from_parts(193_062_106, 0) + // Minimum execution time: 13_091_000 picoseconds. + Weight::from_parts(13_378_000, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 98_771 - .saturating_add(Weight::from_parts(13_392_232, 0).saturating_mul(a.into())) + // Standard Error: 55_270 + .saturating_add(Weight::from_parts(14_780_341, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -114,8 +114,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 10_016_000 picoseconds. - Weight::from_parts(10_467_000, 0) + // Minimum execution time: 12_313_000 picoseconds. + Weight::from_parts(13_058_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -128,8 +128,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 19_718_000 picoseconds. - Weight::from_parts(20_368_000, 0) + // Minimum execution time: 22_932_000 picoseconds. + Weight::from_parts(23_478_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -142,8 +142,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `388` // Estimated: `3675` - // Minimum execution time: 27_931_000 picoseconds. - Weight::from_parts(28_657_000, 0) + // Minimum execution time: 31_245_000 picoseconds. + Weight::from_parts(32_290_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -158,8 +158,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `388` // Estimated: `6208` - // Minimum execution time: 38_479_000 picoseconds. - Weight::from_parts(39_443_000, 0) + // Minimum execution time: 42_970_000 picoseconds. + Weight::from_parts(44_547_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -174,8 +174,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `388` // Estimated: `6208` - // Minimum execution time: 33_765_000 picoseconds. - Weight::from_parts(34_678_000, 0) + // Minimum execution time: 38_817_000 picoseconds. + Weight::from_parts(39_996_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -190,8 +190,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `388` // Estimated: `6208` - // Minimum execution time: 38_433_000 picoseconds. - Weight::from_parts(39_278_000, 0) + // Minimum execution time: 43_092_000 picoseconds. + Weight::from_parts(44_589_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -204,8 +204,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `388` // Estimated: `3675` - // Minimum execution time: 13_686_000 picoseconds. - Weight::from_parts(14_393_000, 0) + // Minimum execution time: 16_353_000 picoseconds. + Weight::from_parts(16_937_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -218,8 +218,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `388` // Estimated: `3675` - // Minimum execution time: 13_534_000 picoseconds. - Weight::from_parts(14_333_000, 0) + // Minimum execution time: 16_084_000 picoseconds. + Weight::from_parts(16_646_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -230,8 +230,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 10_233_000 picoseconds. - Weight::from_parts(10_793_000, 0) + // Minimum execution time: 11_643_000 picoseconds. + Weight::from_parts(12_202_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -242,8 +242,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 10_495_000 picoseconds. - Weight::from_parts(11_305_000, 0) + // Minimum execution time: 11_592_000 picoseconds. + Weight::from_parts(12_234_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -256,8 +256,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 10_711_000 picoseconds. - Weight::from_parts(11_439_000, 0) + // Minimum execution time: 12_744_000 picoseconds. + Weight::from_parts(13_291_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -268,8 +268,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 9_166_000 picoseconds. - Weight::from_parts(10_564_000, 0) + // Minimum execution time: 11_258_000 picoseconds. + Weight::from_parts(11_553_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -280,15 +280,15 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(n: u32, _s: u32, ) -> Weight { + fn set_metadata(_n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 22_975_000 picoseconds. - Weight::from_parts(26_773_427, 0) + // Minimum execution time: 22_717_000 picoseconds. + Weight::from_parts(39_847_391, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 13_851 - .saturating_add(Weight::from_parts(333_301, 0).saturating_mul(n.into())) + // Standard Error: 16_100 + .saturating_add(Weight::from_parts(5_405, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -300,8 +300,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `444` // Estimated: `3675` - // Minimum execution time: 41_712_000 picoseconds. - Weight::from_parts(43_814_000, 0) + // Minimum execution time: 23_874_000 picoseconds. + Weight::from_parts(24_679_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -312,17 +312,15 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn force_set_metadata(n: u32, s: u32, ) -> Weight { + fn force_set_metadata(n: u32, _s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `119` // Estimated: `3675` - // Minimum execution time: 16_238_000 picoseconds. - Weight::from_parts(12_600_707, 0) + // Minimum execution time: 9_613_000 picoseconds. + Weight::from_parts(16_756_273, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 16_188 - .saturating_add(Weight::from_parts(135_458, 0).saturating_mul(n.into())) - // Standard Error: 16_188 - .saturating_add(Weight::from_parts(98_553, 0).saturating_mul(s.into())) + // Standard Error: 9_434 + .saturating_add(Weight::from_parts(32_329, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -334,8 +332,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `444` // Estimated: `3675` - // Minimum execution time: 38_686_000 picoseconds. - Weight::from_parts(40_077_000, 0) + // Minimum execution time: 26_794_000 picoseconds. + Weight::from_parts(27_914_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -346,8 +344,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 13_755_000 picoseconds. - Weight::from_parts(14_652_000, 0) + // Minimum execution time: 10_353_000 picoseconds. + Weight::from_parts(11_049_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -360,8 +358,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 44_588_000 picoseconds. - Weight::from_parts(45_829_000, 0) + // Minimum execution time: 31_529_000 picoseconds. + Weight::from_parts(32_639_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -378,8 +376,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `558` // Estimated: `6208` - // Minimum execution time: 99_178_000 picoseconds. - Weight::from_parts(101_097_000, 0) + // Minimum execution time: 61_641_000 picoseconds. + Weight::from_parts(63_663_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -392,8 +390,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `484` // Estimated: `3675` - // Minimum execution time: 48_083_000 picoseconds. - Weight::from_parts(49_895_000, 0) + // Minimum execution time: 31_931_000 picoseconds. + Weight::from_parts(32_598_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -406,8 +404,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `484` // Estimated: `3675` - // Minimum execution time: 48_154_000 picoseconds. - Weight::from_parts(49_901_000, 0) + // Minimum execution time: 32_312_000 picoseconds. + Weight::from_parts(32_877_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -418,8 +416,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 15_701_000 picoseconds. - Weight::from_parts(16_249_000, 0) + // Minimum execution time: 11_273_000 picoseconds. + Weight::from_parts(11_757_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -432,10 +430,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: - // Measured: `419` + // Measured: `420` // Estimated: `3675` - // Minimum execution time: 46_883_000 picoseconds. - Weight::from_parts(48_694_000, 0) + // Minimum execution time: 30_994_000 picoseconds. + Weight::from_parts(31_625_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -448,8 +446,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 44_243_000 picoseconds. - Weight::from_parts(46_588_000, 0) + // Minimum execution time: 28_892_000 picoseconds. + Weight::from_parts(29_777_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -462,10 +460,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: - // Measured: `545` + // Measured: `546` // Estimated: `3675` - // Minimum execution time: 47_825_000 picoseconds. - Weight::from_parts(48_843_000, 0) + // Minimum execution time: 29_370_000 picoseconds. + Weight::from_parts(30_226_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -478,8 +476,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `439` // Estimated: `3675` - // Minimum execution time: 45_313_000 picoseconds. - Weight::from_parts(46_706_000, 0) + // Minimum execution time: 27_453_000 picoseconds. + Weight::from_parts(28_456_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -492,8 +490,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `388` // Estimated: `3675` - // Minimum execution time: 24_534_000 picoseconds. - Weight::from_parts(32_402_000, 0) + // Minimum execution time: 14_535_000 picoseconds. + Weight::from_parts(15_067_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_balances.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_balances.rs index 01f4b0e4..a47667e8 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_balances.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_balances.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_balances` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 63_120_000 picoseconds. - Weight::from_parts(64_610_000, 0) + // Minimum execution time: 58_129_000 picoseconds. + Weight::from_parts(59_480_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -50,8 +50,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 49_209_000 picoseconds. - Weight::from_parts(50_615_000, 0) + // Minimum execution time: 45_851_000 picoseconds. + Weight::from_parts(46_788_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -60,10 +60,10 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `103` + // Measured: `174` // Estimated: `3593` - // Minimum execution time: 15_817_000 picoseconds. - Weight::from_parts(16_187_000, 0) + // Minimum execution time: 15_826_000 picoseconds. + Weight::from_parts(16_541_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -72,10 +72,10 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: - // Measured: `103` + // Measured: `174` // Estimated: `3593` - // Minimum execution time: 22_449_000 picoseconds. - Weight::from_parts(23_576_000, 0) + // Minimum execution time: 21_602_000 picoseconds. + Weight::from_parts(22_714_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -86,8 +86,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103` // Estimated: `6196` - // Minimum execution time: 60_634_000 picoseconds. - Weight::from_parts(62_369_000, 0) + // Minimum execution time: 57_929_000 picoseconds. + Weight::from_parts(58_746_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -98,8 +98,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 57_712_000 picoseconds. - Weight::from_parts(59_024_000, 0) + // Minimum execution time: 55_270_000 picoseconds. + Weight::from_parts(56_271_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -108,10 +108,10 @@ impl pallet_balances::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_unreserve() -> Weight { // Proof Size summary in bytes: - // Measured: `103` + // Measured: `174` // Estimated: `3593` - // Minimum execution time: 19_718_000 picoseconds. - Weight::from_parts(20_424_000, 0) + // Minimum execution time: 18_886_000 picoseconds. + Weight::from_parts(19_577_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -123,11 +123,11 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + u * (136 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 18_576_000 picoseconds. - Weight::from_parts(18_928_000, 0) + // Minimum execution time: 17_710_000 picoseconds. + Weight::from_parts(126_198_327, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 35_746 - .saturating_add(Weight::from_parts(13_157_981, 0).saturating_mul(u.into())) + // Standard Error: 127_941 + .saturating_add(Weight::from_parts(13_846_969, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) @@ -138,21 +138,25 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1501` - // Minimum execution time: 4_948_000 picoseconds. - Weight::from_parts(5_138_000, 0) + // Minimum execution time: 4_581_000 picoseconds. + Weight::from_parts(4_854_000, 0) .saturating_add(Weight::from_parts(0, 1501)) .saturating_add(T::DbWeight::get().reads(1)) } - fn burn_allow_death() -> Weight { - Weight::from_parts(5_138_000, 0) - .saturating_add(Weight::from_parts(0, 1501)) - .saturating_add(T::DbWeight::get().reads(1)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 25_746_000 picoseconds. + Weight::from_parts(26_476_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - fn burn_keep_alive() -> Weight { - Weight::from_parts(5_138_000, 0) - .saturating_add(Weight::from_parts(0, 1501)) - .saturating_add(T::DbWeight::get().reads(1)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 17_465_000 picoseconds. + Weight::from_parts(18_043_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_bounties.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_bounties.rs index 1d05983a..fc82785d 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_bounties.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_bounties.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_bounties` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -45,8 +45,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `143` // Estimated: `3593` - // Minimum execution time: 29_410_000 picoseconds. - Weight::from_parts(32_770_915, 0) + // Minimum execution time: 29_226_000 picoseconds. + Weight::from_parts(31_988_668, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -59,8 +59,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `235` // Estimated: `3642` - // Minimum execution time: 10_138_000 picoseconds. - Weight::from_parts(11_241_000, 0) + // Minimum execution time: 11_126_000 picoseconds. + Weight::from_parts(11_585_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -71,8 +71,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `255` // Estimated: `3642` - // Minimum execution time: 9_806_000 picoseconds. - Weight::from_parts(10_353_000, 0) + // Minimum execution time: 10_635_000 picoseconds. + Weight::from_parts(11_086_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -85,8 +85,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `394` // Estimated: `3642` - // Minimum execution time: 25_309_000 picoseconds. - Weight::from_parts(26_337_000, 0) + // Minimum execution time: 25_016_000 picoseconds. + Weight::from_parts(25_730_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -99,8 +99,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `390` // Estimated: `3642` - // Minimum execution time: 24_097_000 picoseconds. - Weight::from_parts(25_117_000, 0) + // Minimum execution time: 24_902_000 picoseconds. + Weight::from_parts(25_928_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -113,8 +113,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `371` // Estimated: `3642` - // Minimum execution time: 14_751_000 picoseconds. - Weight::from_parts(15_596_000, 0) + // Minimum execution time: 14_758_000 picoseconds. + Weight::from_parts(15_347_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -129,10 +129,10 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// Proof: `Bounties::BountyDescriptions` (`max_values`: None, `max_size`: Some(16400), added: 18875, mode: `MaxEncodedLen`) fn claim_bounty() -> Weight { // Proof Size summary in bytes: - // Measured: `645` + // Measured: `646` // Estimated: `8799` - // Minimum execution time: 103_708_000 picoseconds. - Weight::from_parts(105_755_000, 0) + // Minimum execution time: 99_809_000 picoseconds. + Weight::from_parts(102_962_000, 0) .saturating_add(Weight::from_parts(0, 8799)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) @@ -149,8 +149,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `415` // Estimated: `3642` - // Minimum execution time: 29_379_000 picoseconds. - Weight::from_parts(32_252_000, 0) + // Minimum execution time: 28_216_000 picoseconds. + Weight::from_parts(28_736_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -167,8 +167,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `716` // Estimated: `8799` - // Minimum execution time: 72_803_000 picoseconds. - Weight::from_parts(73_915_000, 0) + // Minimum execution time: 69_341_000 picoseconds. + Weight::from_parts(71_361_000, 0) .saturating_add(Weight::from_parts(0, 8799)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -179,8 +179,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `291` // Estimated: `3642` - // Minimum execution time: 10_960_000 picoseconds. - Weight::from_parts(11_188_000, 0) + // Minimum execution time: 11_571_000 picoseconds. + Weight::from_parts(12_179_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -194,13 +194,13 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// The range of component `b` is `[0, 100]`. fn spend_funds(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + b * (295 ±0)` + // Measured: `0 + b * (296 ±0)` // Estimated: `1887 + b * (5206 ±0)` - // Minimum execution time: 2_699_000 picoseconds. - Weight::from_parts(18_820_261, 0) + // Minimum execution time: 2_270_000 picoseconds. + Weight::from_parts(2_335_000, 0) .saturating_add(Weight::from_parts(0, 1887)) - // Standard Error: 249_351 - .saturating_add(Weight::from_parts(32_300_046, 0).saturating_mul(b.into())) + // Standard Error: 208_104 + .saturating_add(Weight::from_parts(33_071_165, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_child_bounties.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_child_bounties.rs index 1d515b64..fecbd090 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_child_bounties.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_child_bounties.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_child_bounties` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -45,15 +45,13 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { + fn add_child_bounty(_d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `511` // Estimated: `6196` - // Minimum execution time: 59_879_000 picoseconds. - Weight::from_parts(66_235_450, 0) + // Minimum execution time: 62_013_000 picoseconds. + Weight::from_parts(82_560_769, 0) .saturating_add(Weight::from_parts(0, 6196)) - // Standard Error: 31 - .saturating_add(Weight::from_parts(25, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -67,8 +65,8 @@ impl pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_claims::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `363` // Estimated: `4764` - // Minimum execution time: 150_558_000 picoseconds. - Weight::from_parts(165_132_000, 0) + // Minimum execution time: 154_825_000 picoseconds. + Weight::from_parts(160_132_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) @@ -70,8 +70,8 @@ impl pallet_claims::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `145` // Estimated: `1630` - // Minimum execution time: 10_173_000 picoseconds. - Weight::from_parts(13_198_000, 0) + // Minimum execution time: 10_317_000 picoseconds. + Weight::from_parts(13_119_000, 0) .saturating_add(Weight::from_parts(0, 1630)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(4)) @@ -96,8 +96,8 @@ impl pallet_claims::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `363` // Estimated: `4764` - // Minimum execution time: 159_308_000 picoseconds. - Weight::from_parts(170_977_000, 0) + // Minimum execution time: 157_326_000 picoseconds. + Weight::from_parts(168_515_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) @@ -124,8 +124,8 @@ impl pallet_claims::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `437` // Estimated: `4764` - // Minimum execution time: 75_011_000 picoseconds. - Weight::from_parts(81_929_000, 0) + // Minimum execution time: 79_030_000 picoseconds. + Weight::from_parts(83_892_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) @@ -142,8 +142,8 @@ impl pallet_claims::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `369` // Estimated: `3834` - // Minimum execution time: 26_561_000 picoseconds. - Weight::from_parts(30_090_000, 0) + // Minimum execution time: 26_184_000 picoseconds. + Weight::from_parts(29_168_000, 0) .saturating_add(Weight::from_parts(0, 3834)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(7)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_collator_selection.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_collator_selection.rs index bae142fd..c726d73f 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_collator_selection.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_collator_selection.rs @@ -1,39 +1,25 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md -// for a list of specific contributors. -// SPDX-License-Identifier: Apache-2.0 -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. //! Autogenerated weights for `pallet_collator_selection` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./asset-hub-kusama-chain-spec.json")`, DB CACHE: 1024 +//! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: -// ./target/production/polkadot +// ./target/release/integritee-collator // benchmark // pallet -// --chain=./asset-hub-kusama-chain-spec.json +// --chain=integritee-rococo-local-dev // --steps=50 // --repeat=20 // --pallet=pallet_collator_selection // --extrinsic=* +// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=./asset-hub-kusama-weights/ -// --header=./file_header.txt +// --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_collator_selection.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -53,16 +39,16 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `b` is `[1, 20]`. fn set_invulnerables(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `196 + b * (79 ±0)` - // Estimated: `1187 + b * (2555 ±0)` - // Minimum execution time: 11_226_000 picoseconds. - Weight::from_parts(8_468_753, 0) - .saturating_add(Weight::from_parts(0, 1187)) - // Standard Error: 5_521 - .saturating_add(Weight::from_parts(3_196_761, 0).saturating_mul(b.into())) + // Measured: `198 + b * (79 ±0)` + // Estimated: `1189 + b * (2554 ±0)` + // Minimum execution time: 12_790_000 picoseconds. + Weight::from_parts(12_369_010, 0) + .saturating_add(Weight::from_parts(0, 1189)) + // Standard Error: 11_599 + .saturating_add(Weight::from_parts(2_851_372, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 2555).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 2554).saturating_mul(b.into())) } /// Storage: `Session::NextKeys` (r:1 w:0) /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -76,15 +62,13 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `c` is `[1, 99]`. fn add_invulnerable(b: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `794 + b * (32 ±0) + c * (53 ±0)` + // Measured: `865 + b * (32 ±0) + c * (53 ±0)` // Estimated: `6287 + b * (37 ±0) + c * (53 ±0)` - // Minimum execution time: 38_853_000 picoseconds. - Weight::from_parts(38_821_751, 0) + // Minimum execution time: 36_812_000 picoseconds. + Weight::from_parts(39_602_312, 0) .saturating_add(Weight::from_parts(0, 6287)) - // Standard Error: 10_642 - .saturating_add(Weight::from_parts(102_671, 0).saturating_mul(b.into())) - // Standard Error: 2_017 - .saturating_add(Weight::from_parts(158_479, 0).saturating_mul(c.into())) + // Standard Error: 6_208 + .saturating_add(Weight::from_parts(129_158, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 37).saturating_mul(b.into())) @@ -97,13 +81,13 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `b` is `[5, 20]`. fn remove_invulnerable(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `119 + b * (32 ±0)` + // Measured: `186 + b * (32 ±0)` // Estimated: `6287` - // Minimum execution time: 11_265_000 picoseconds. - Weight::from_parts(11_014_480, 0) + // Minimum execution time: 10_029_000 picoseconds. + Weight::from_parts(8_240_097, 0) .saturating_add(Weight::from_parts(0, 6287)) - // Standard Error: 2_214 - .saturating_add(Weight::from_parts(161_950, 0).saturating_mul(b.into())) + // Standard Error: 9_026 + .saturating_add(Weight::from_parts(370_393, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -113,8 +97,8 @@ impl pallet_collator_selection::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_093_000 picoseconds. - Weight::from_parts(4_325_000, 0) + // Minimum execution time: 4_623_000 picoseconds. + Weight::from_parts(5_139_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -130,15 +114,15 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `k` is `[0, 100]`. fn set_candidacy_bond(c: u32, k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + c * (182 ±0) + k * (115 ±0)` + // Measured: `0 + c * (181 ±0) + k * (114 ±0)` // Estimated: `6287 + c * (901 ±29) + k * (901 ±29)` - // Minimum execution time: 9_449_000 picoseconds. - Weight::from_parts(9_513_000, 0) + // Minimum execution time: 10_577_000 picoseconds. + Weight::from_parts(10_839_000, 0) .saturating_add(Weight::from_parts(0, 6287)) - // Standard Error: 155_542 - .saturating_add(Weight::from_parts(5_194_785, 0).saturating_mul(c.into())) - // Standard Error: 155_542 - .saturating_add(Weight::from_parts(4_961_103, 0).saturating_mul(k.into())) + // Standard Error: 153_879 + .saturating_add(Weight::from_parts(5_106_068, 0).saturating_mul(c.into())) + // Standard Error: 153_879 + .saturating_add(Weight::from_parts(5_434_878, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) @@ -153,13 +137,13 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `c` is `[3, 100]`. fn update_bond(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `319 + c * (49 ±0)` + // Measured: `364 + c * (49 ±0)` // Estimated: `6287` - // Minimum execution time: 23_774_000 picoseconds. - Weight::from_parts(26_546_147, 0) + // Minimum execution time: 23_608_000 picoseconds. + Weight::from_parts(27_058_138, 0) .saturating_add(Weight::from_parts(0, 6287)) - // Standard Error: 1_740 - .saturating_add(Weight::from_parts(123_165, 0).saturating_mul(c.into())) + // Standard Error: 1_307 + .saturating_add(Weight::from_parts(86_137, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -176,13 +160,13 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `c` is `[1, 99]`. fn register_as_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `764 + c * (52 ±0)` + // Measured: `853 + c * (52 ±0)` // Estimated: `6287 + c * (54 ±0)` - // Minimum execution time: 31_024_000 picoseconds. - Weight::from_parts(35_079_112, 0) + // Minimum execution time: 31_664_000 picoseconds. + Weight::from_parts(36_805_168, 0) .saturating_add(Weight::from_parts(0, 6287)) - // Standard Error: 2_113 - .saturating_add(Weight::from_parts(136_243, 0).saturating_mul(c.into())) + // Standard Error: 3_465 + .saturating_add(Weight::from_parts(119_103, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 54).saturating_mul(c.into())) @@ -202,13 +186,13 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `c` is `[3, 100]`. fn take_candidate_slot(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `904 + c * (53 ±0)` + // Measured: `992 + c * (52 ±0)` // Estimated: `6287 + c * (54 ±0)` - // Minimum execution time: 48_643_000 picoseconds. - Weight::from_parts(53_241_186, 0) + // Minimum execution time: 47_579_000 picoseconds. + Weight::from_parts(52_306_383, 0) .saturating_add(Weight::from_parts(0, 6287)) - // Standard Error: 2_631 - .saturating_add(Weight::from_parts(156_227, 0).saturating_mul(c.into())) + // Standard Error: 3_843 + .saturating_add(Weight::from_parts(158_825, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 54).saturating_mul(c.into())) @@ -222,13 +206,13 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `c` is `[3, 100]`. fn leave_intent(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `347 + c * (48 ±0)` + // Measured: `414 + c * (48 ±0)` // Estimated: `6287` - // Minimum execution time: 26_974_000 picoseconds. - Weight::from_parts(30_461_854, 0) + // Minimum execution time: 25_908_000 picoseconds. + Weight::from_parts(29_423_202, 0) .saturating_add(Weight::from_parts(0, 6287)) - // Standard Error: 2_180 - .saturating_add(Weight::from_parts(134_254, 0).saturating_mul(c.into())) + // Standard Error: 1_879 + .saturating_add(Weight::from_parts(104_247, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -240,10 +224,10 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) fn note_author() -> Weight { // Proof Size summary in bytes: - // Measured: `155` + // Measured: `140` // Estimated: `6196` - // Minimum execution time: 39_365_000 picoseconds. - Weight::from_parts(39_875_000, 0) + // Minimum execution time: 36_513_000 picoseconds. + Weight::from_parts(37_337_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) @@ -264,13 +248,13 @@ impl pallet_collator_selection::WeightInfo for WeightIn /// The range of component `c` is `[1, 100]`. fn new_session(r: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2302 + c * (97 ±0) + r * (114 ±0)` + // Measured: `2231 + c * (97 ±0) + r * (114 ±0)` // Estimated: `6287 + c * (2519 ±0) + r * (2603 ±0)` - // Minimum execution time: 18_553_000 picoseconds. - Weight::from_parts(18_854_000, 0) + // Minimum execution time: 18_109_000 picoseconds. + Weight::from_parts(18_446_000, 0) .saturating_add(Weight::from_parts(0, 6287)) - // Standard Error: 280_994 - .saturating_add(Weight::from_parts(12_419_756, 0).saturating_mul(c.into())) + // Standard Error: 340_798 + .saturating_add(Weight::from_parts(13_454_281, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_collective.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_collective.rs index d4524c57..a7bdbac1 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_collective.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_collective.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_collective` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -47,13 +47,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` // Estimated: `15728 + m * (1967 ±24) + p * (4332 ±24)` - // Minimum execution time: 16_539_000 picoseconds. - Weight::from_parts(17_079_000, 0) + // Minimum execution time: 18_216_000 picoseconds. + Weight::from_parts(18_798_000, 0) .saturating_add(Weight::from_parts(0, 15728)) - // Standard Error: 173_928 - .saturating_add(Weight::from_parts(4_412_314, 0).saturating_mul(m.into())) - // Standard Error: 173_928 - .saturating_add(Weight::from_parts(7_241_225, 0).saturating_mul(p.into())) + // Standard Error: 49_281 + .saturating_add(Weight::from_parts(3_560_558, 0).saturating_mul(m.into())) + // Standard Error: 49_281 + .saturating_add(Weight::from_parts(6_802_635, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -69,13 +69,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `69 + m * (32 ±0)` // Estimated: `1555 + m * (32 ±0)` - // Minimum execution time: 13_050_000 picoseconds. - Weight::from_parts(12_133_971, 0) + // Minimum execution time: 10_805_000 picoseconds. + Weight::from_parts(8_981_698, 0) .saturating_add(Weight::from_parts(0, 1555)) - // Standard Error: 429 - .saturating_add(Weight::from_parts(5_233, 0).saturating_mul(b.into())) - // Standard Error: 4_427 - .saturating_add(Weight::from_parts(20_820, 0).saturating_mul(m.into())) + // Standard Error: 51 + .saturating_add(Weight::from_parts(2_754, 0).saturating_mul(b.into())) + // Standard Error: 529 + .saturating_add(Weight::from_parts(22_953, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -89,13 +89,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `69 + m * (32 ±0)` // Estimated: `3535 + m * (32 ±0)` - // Minimum execution time: 21_102_000 picoseconds. - Weight::from_parts(22_906_868, 0) + // Minimum execution time: 12_839_000 picoseconds. + Weight::from_parts(12_803_254, 0) .saturating_add(Weight::from_parts(0, 3535)) - // Standard Error: 395 - .saturating_add(Weight::from_parts(161, 0).saturating_mul(b.into())) - // Standard Error: 4_077 - .saturating_add(Weight::from_parts(26_064, 0).saturating_mul(m.into())) + // Standard Error: 32 + .saturating_add(Weight::from_parts(1_142, 0).saturating_mul(b.into())) + // Standard Error: 333 + .saturating_add(Weight::from_parts(13_951, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -112,17 +112,19 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. - fn propose_proposed(_b: u32, m: u32, p: u32, ) -> Weight { + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `359 + m * (32 ±0) + p * (36 ±0)` // Estimated: `3751 + m * (33 ±0) + p * (36 ±0)` - // Minimum execution time: 20_581_000 picoseconds. - Weight::from_parts(23_315_961, 0) + // Minimum execution time: 17_637_000 picoseconds. + Weight::from_parts(18_678_046, 0) .saturating_add(Weight::from_parts(0, 3751)) - // Standard Error: 43_792 - .saturating_add(Weight::from_parts(273_049, 0).saturating_mul(m.into())) - // Standard Error: 43_237 - .saturating_add(Weight::from_parts(598_681, 0).saturating_mul(p.into())) + // Standard Error: 192 + .saturating_add(Weight::from_parts(2_597, 0).saturating_mul(b.into())) + // Standard Error: 2_012 + .saturating_add(Weight::from_parts(20_909, 0).saturating_mul(m.into())) + // Standard Error: 1_987 + .saturating_add(Weight::from_parts(169_349, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) @@ -137,11 +139,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `808 + m * (64 ±0)` // Estimated: `4272 + m * (64 ±0)` - // Minimum execution time: 20_733_000 picoseconds. - Weight::from_parts(22_236_007, 0) + // Minimum execution time: 18_624_000 picoseconds. + Weight::from_parts(20_848_255, 0) .saturating_add(Weight::from_parts(0, 4272)) - // Standard Error: 2_061 - .saturating_add(Weight::from_parts(30_696, 0).saturating_mul(m.into())) + // Standard Error: 634 + .saturating_add(Weight::from_parts(25_595, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) @@ -160,11 +162,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `397 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3842 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 21_793_000 picoseconds. - Weight::from_parts(26_905_698, 0) + // Minimum execution time: 20_538_000 picoseconds. + Weight::from_parts(21_344_840, 0) .saturating_add(Weight::from_parts(0, 3842)) - // Standard Error: 3_923 - .saturating_add(Weight::from_parts(176_149, 0).saturating_mul(p.into())) + // Standard Error: 2_003 + .saturating_add(Weight::from_parts(26_242, 0).saturating_mul(m.into())) + // Standard Error: 1_953 + .saturating_add(Weight::from_parts(170_843, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) @@ -185,13 +189,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `699 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `4016 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 29_194_000 picoseconds. - Weight::from_parts(24_786_480, 0) + // Minimum execution time: 28_917_000 picoseconds. + Weight::from_parts(31_136_065, 0) .saturating_add(Weight::from_parts(0, 4016)) - // Standard Error: 769 - .saturating_add(Weight::from_parts(5_967, 0).saturating_mul(b.into())) - // Standard Error: 7_929 - .saturating_add(Weight::from_parts(281_412, 0).saturating_mul(p.into())) + // Standard Error: 188 + .saturating_add(Weight::from_parts(1_533, 0).saturating_mul(b.into())) + // Standard Error: 1_990 + .saturating_add(Weight::from_parts(6_637, 0).saturating_mul(m.into())) + // Standard Error: 1_940 + .saturating_add(Weight::from_parts(190_926, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) @@ -214,13 +220,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `417 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3862 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 22_570_000 picoseconds. - Weight::from_parts(16_403_347, 0) + // Minimum execution time: 22_203_000 picoseconds. + Weight::from_parts(22_281_152, 0) .saturating_add(Weight::from_parts(0, 3862)) - // Standard Error: 3_586 - .saturating_add(Weight::from_parts(76_029, 0).saturating_mul(m.into())) - // Standard Error: 3_497 - .saturating_add(Weight::from_parts(232_896, 0).saturating_mul(p.into())) + // Standard Error: 2_732 + .saturating_add(Weight::from_parts(47_246, 0).saturating_mul(m.into())) + // Standard Error: 2_664 + .saturating_add(Weight::from_parts(164_906, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) @@ -243,11 +249,15 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `719 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `4036 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 34_170_000 picoseconds. - Weight::from_parts(57_636_081, 0) + // Minimum execution time: 31_189_000 picoseconds. + Weight::from_parts(30_956_765, 0) .saturating_add(Weight::from_parts(0, 4036)) - // Standard Error: 7_512 - .saturating_add(Weight::from_parts(164_343, 0).saturating_mul(p.into())) + // Standard Error: 516 + .saturating_add(Weight::from_parts(2_378, 0).saturating_mul(b.into())) + // Standard Error: 5_453 + .saturating_add(Weight::from_parts(39_998, 0).saturating_mul(m.into())) + // Standard Error: 5_315 + .saturating_add(Weight::from_parts(192_314, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) @@ -265,11 +275,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `226 + p * (32 ±0)` // Estimated: `1711 + p * (32 ±0)` - // Minimum execution time: 10_402_000 picoseconds. - Weight::from_parts(10_728_000, 0) + // Minimum execution time: 11_393_000 picoseconds. + Weight::from_parts(12_989_743, 0) .saturating_add(Weight::from_parts(0, 1711)) - // Standard Error: 17_489 - .saturating_add(Weight::from_parts(615_068, 0).saturating_mul(p.into())) + // Standard Error: 765 + .saturating_add(Weight::from_parts(153_401, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_democracy.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_democracy.rs index 8d74dc53..045f420a 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_democracy.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_democracy.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_democracy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -44,8 +44,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4734` // Estimated: `18187` - // Minimum execution time: 49_086_000 picoseconds. - Weight::from_parts(52_414_000, 0) + // Minimum execution time: 43_064_000 picoseconds. + Weight::from_parts(45_177_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -56,8 +56,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3489` // Estimated: `6695` - // Minimum execution time: 41_968_000 picoseconds. - Weight::from_parts(44_190_000, 0) + // Minimum execution time: 34_121_000 picoseconds. + Weight::from_parts(36_600_000, 0) .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +74,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3365` // Estimated: `7260` - // Minimum execution time: 59_646_000 picoseconds. - Weight::from_parts(63_034_000, 0) + // Minimum execution time: 49_594_000 picoseconds. + Weight::from_parts(51_995_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -92,8 +92,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3387` // Estimated: `7260` - // Minimum execution time: 63_310_000 picoseconds. - Weight::from_parts(65_985_000, 0) + // Minimum execution time: 53_459_000 picoseconds. + Weight::from_parts(55_411_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -108,8 +108,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `299` // Estimated: `3666` - // Minimum execution time: 24_922_000 picoseconds. - Weight::from_parts(26_173_000, 0) + // Minimum execution time: 20_522_000 picoseconds. + Weight::from_parts(21_342_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -132,8 +132,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6182` // Estimated: `18187` - // Minimum execution time: 118_438_000 picoseconds. - Weight::from_parts(122_592_000, 0) + // Minimum execution time: 95_112_000 picoseconds. + Weight::from_parts(98_864_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(8)) @@ -146,8 +146,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3349` // Estimated: `6703` - // Minimum execution time: 12_676_000 picoseconds. - Weight::from_parts(13_531_000, 0) + // Minimum execution time: 10_318_000 picoseconds. + Weight::from_parts(10_889_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -158,8 +158,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_620_000 picoseconds. - Weight::from_parts(9_220_000, 0) + // Minimum execution time: 2_067_000 picoseconds. + Weight::from_parts(2_185_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -169,8 +169,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_671_000 picoseconds. - Weight::from_parts(3_011_000, 0) + // Minimum execution time: 2_012_000 picoseconds. + Weight::from_parts(2_097_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -186,8 +186,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 23_666_000 picoseconds. - Weight::from_parts(25_930_000, 0) + // Minimum execution time: 19_555_000 picoseconds. + Weight::from_parts(20_574_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) @@ -202,8 +202,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3452` // Estimated: `6703` - // Minimum execution time: 29_860_000 picoseconds. - Weight::from_parts(33_570_000, 0) + // Minimum execution time: 23_238_000 picoseconds. + Weight::from_parts(23_664_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -220,8 +220,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6093` // Estimated: `18187` - // Minimum execution time: 97_344_000 picoseconds. - Weight::from_parts(99_302_000, 0) + // Minimum execution time: 78_749_000 picoseconds. + Weight::from_parts(81_951_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -234,8 +234,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `204` // Estimated: `3518` - // Minimum execution time: 17_284_000 picoseconds. - Weight::from_parts(18_035_000, 0) + // Minimum execution time: 14_131_000 picoseconds. + Weight::from_parts(14_734_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -251,11 +251,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `177 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 6_155_000 picoseconds. - Weight::from_parts(44_619_774, 0) + // Minimum execution time: 4_650_000 picoseconds. + Weight::from_parts(4_807_000, 0) .saturating_add(Weight::from_parts(0, 1489)) - // Standard Error: 43_628 - .saturating_add(Weight::from_parts(3_204_379, 0).saturating_mul(r.into())) + // Standard Error: 11_647 + .saturating_add(Weight::from_parts(3_191_733, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -278,11 +278,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `177 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 8_033_000 picoseconds. - Weight::from_parts(8_371_000, 0) + // Minimum execution time: 6_585_000 picoseconds. + Weight::from_parts(8_833_259, 0) .saturating_add(Weight::from_parts(0, 18187)) - // Standard Error: 43_707 - .saturating_add(Weight::from_parts(4_004_065, 0).saturating_mul(r.into())) + // Standard Error: 6_610 + .saturating_add(Weight::from_parts(3_057_238, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -301,11 +301,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `729 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 41_741_000 picoseconds. - Weight::from_parts(54_080_981, 0) + // Minimum execution time: 35_585_000 picoseconds. + Weight::from_parts(45_509_364, 0) .saturating_add(Weight::from_parts(0, 19800)) - // Standard Error: 73_954 - .saturating_add(Weight::from_parts(4_687_124, 0).saturating_mul(r.into())) + // Standard Error: 10_791 + .saturating_add(Weight::from_parts(3_840_027, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -321,11 +321,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `426 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 19_507_000 picoseconds. - Weight::from_parts(3_382_253, 0) + // Minimum execution time: 16_050_000 picoseconds. + Weight::from_parts(20_871_656, 0) .saturating_add(Weight::from_parts(0, 13530)) - // Standard Error: 263_596 - .saturating_add(Weight::from_parts(6_303_424, 0).saturating_mul(r.into())) + // Standard Error: 7_255 + .saturating_add(Weight::from_parts(3_811_021, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -338,8 +338,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_181_000 picoseconds. - Weight::from_parts(3_420_000, 0) + // Minimum execution time: 2_152_000 picoseconds. + Weight::from_parts(2_282_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -352,13 +352,15 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn unlock_remove(_r: u32, ) -> Weight { + fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `421` // Estimated: `7260` - // Minimum execution time: 27_463_000 picoseconds. - Weight::from_parts(45_488_454, 0) + // Minimum execution time: 19_178_000 picoseconds. + Weight::from_parts(30_899_088, 0) .saturating_add(Weight::from_parts(0, 7260)) + // Standard Error: 3_214 + .saturating_add(Weight::from_parts(79_220, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -375,11 +377,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `422 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 25_642_000 picoseconds. - Weight::from_parts(28_227_219, 0) + // Minimum execution time: 27_288_000 picoseconds. + Weight::from_parts(31_738_067, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 2_487 - .saturating_add(Weight::from_parts(132_843, 0).saturating_mul(r.into())) + // Standard Error: 2_355 + .saturating_add(Weight::from_parts(99_952, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -392,11 +394,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `661 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 12_670_000 picoseconds. - Weight::from_parts(15_841_545, 0) + // Minimum execution time: 13_545_000 picoseconds. + Weight::from_parts(17_149_338, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_663 - .saturating_add(Weight::from_parts(106_201, 0).saturating_mul(r.into())) + // Standard Error: 1_769 + .saturating_add(Weight::from_parts(107_398, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -409,11 +411,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `661 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 12_806_000 picoseconds. - Weight::from_parts(15_975_715, 0) + // Minimum execution time: 13_866_000 picoseconds. + Weight::from_parts(17_075_745, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 1_710 - .saturating_add(Weight::from_parts(96_860, 0).saturating_mul(r.into())) + // Standard Error: 1_486 + .saturating_add(Weight::from_parts(111_768, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -429,8 +431,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `323` // Estimated: `3556` - // Minimum execution time: 14_040_000 picoseconds. - Weight::from_parts(14_513_000, 0) + // Minimum execution time: 15_114_000 picoseconds. + Weight::from_parts(15_973_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -443,8 +445,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 10_760_000 picoseconds. - Weight::from_parts(11_157_000, 0) + // Minimum execution time: 12_323_000 picoseconds. + Weight::from_parts(12_833_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -461,8 +463,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4855` // Estimated: `18187` - // Minimum execution time: 34_448_000 picoseconds. - Weight::from_parts(35_939_000, 0) + // Minimum execution time: 36_785_000 picoseconds. + Weight::from_parts(37_524_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -475,8 +477,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4755` // Estimated: `18187` - // Minimum execution time: 30_208_000 picoseconds. - Weight::from_parts(31_343_000, 0) + // Minimum execution time: 32_644_000 picoseconds. + Weight::from_parts(33_843_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -491,8 +493,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 10_685_000 picoseconds. - Weight::from_parts(10_995_000, 0) + // Minimum execution time: 11_636_000 picoseconds. + Weight::from_parts(12_382_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -505,8 +507,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `235` // Estimated: `3666` - // Minimum execution time: 13_131_000 picoseconds. - Weight::from_parts(13_742_000, 0) + // Minimum execution time: 14_619_000 picoseconds. + Weight::from_parts(15_154_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_enclave_bridge.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_enclave_bridge.rs index 07dc1838..742e7418 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_enclave_bridge.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_enclave_bridge.rs @@ -1,7 +1,8 @@ + //! Autogenerated weights for `pallet_enclave_bridge` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -30,106 +31,112 @@ use core::marker::PhantomData; /// Weight functions for `pallet_enclave_bridge`. pub struct WeightInfo(PhantomData); - impl pallet_enclave_bridge::WeightInfo for WeightInfo { - fn invoke() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 10_022_000 picoseconds. - Weight::from_parts(10_354_000, 0) - .saturating_add(Weight::from_parts(0, 0)) - } - /// Storage: `Teerex::SovereignEnclaves` (r:1 w:0) - /// Proof: `Teerex::SovereignEnclaves` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `EnclaveBridge::ShardConfigRegistry` (r:1 w:0) - /// Proof: `EnclaveBridge::ShardConfigRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `EnclaveBridge::ShardStatus` (r:1 w:1) - /// Proof: `EnclaveBridge::ShardStatus` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn confirm_processed_parentchain_block() -> Weight { - // Proof Size summary in bytes: - // Measured: `408` - // Estimated: `3873` - // Minimum execution time: 26_698_000 picoseconds. - Weight::from_parts(27_627_000, 0) - .saturating_add(Weight::from_parts(0, 3873)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - fn shield_funds() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `3593` - // Minimum execution time: 61_757_000 picoseconds. - Weight::from_parts(63_057_000, 0) - .saturating_add(Weight::from_parts(0, 3593)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: `Teerex::SovereignEnclaves` (r:1 w:0) - /// Proof: `Teerex::SovereignEnclaves` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `EnclaveBridge::ShardConfigRegistry` (r:1 w:0) - /// Proof: `EnclaveBridge::ShardConfigRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `EnclaveBridge::ShardStatus` (r:1 w:1) - /// Proof: `EnclaveBridge::ShardStatus` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `EnclaveBridge::ExecutedUnshieldCalls` (r:1 w:1) - /// Proof: `EnclaveBridge::ExecutedUnshieldCalls` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - fn unshield_funds() -> Weight { - // Proof Size summary in bytes: - // Measured: `511` - // Estimated: `6196` - // Minimum execution time: 91_728_000 picoseconds. - Weight::from_parts(95_248_000, 0) - .saturating_add(Weight::from_parts(0, 6196)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(4)) - } - /// Storage: `Teerex::SovereignEnclaves` (r:1 w:0) - /// Proof: `Teerex::SovereignEnclaves` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `EnclaveBridge::ShardStatus` (r:1 w:1) - /// Proof: `EnclaveBridge::ShardStatus` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `System::EventTopics` (r:6 w:6) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `l` is `[0, 100]`. - /// The range of component `t` is `[1, 5]`. - fn publish_hash(_l: u32, t: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `408` - // Estimated: `3873 + t * (2475 ±0)` - // Minimum execution time: 19_485_000 picoseconds. - Weight::from_parts(31_471_928, 0) - .saturating_add(Weight::from_parts(0, 3873)) - // Standard Error: 29_083 - .saturating_add(Weight::from_parts(1_537_033, 0).saturating_mul(t.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) - .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) - } - /// Storage: `EnclaveBridge::ShardConfigRegistry` (r:1 w:1) - /// Proof: `EnclaveBridge::ShardConfigRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Teerex::SovereignEnclaves` (r:1 w:0) - /// Proof: `Teerex::SovereignEnclaves` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `EnclaveBridge::ShardStatus` (r:1 w:1) - /// Proof: `EnclaveBridge::ShardStatus` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn update_shard_config() -> Weight { - // Proof Size summary in bytes: - // Measured: `521` - // Estimated: `3986` - // Minimum execution time: 23_946_000 picoseconds. - Weight::from_parts(24_851_000, 0) - .saturating_add(Weight::from_parts(0, 3986)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) - } - fn purge_enclave_from_shard_status() -> Weight { - Weight::from_parts(10_000_000, 0) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } + fn invoke() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_144_000 picoseconds. + Weight::from_parts(9_653_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + /// Storage: `Teerex::SovereignEnclaves` (r:1 w:0) + /// Proof: `Teerex::SovereignEnclaves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EnclaveBridge::ShardConfigRegistry` (r:1 w:0) + /// Proof: `EnclaveBridge::ShardConfigRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EnclaveBridge::ShardStatus` (r:1 w:1) + /// Proof: `EnclaveBridge::ShardStatus` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn confirm_processed_parentchain_block() -> Weight { + // Proof Size summary in bytes: + // Measured: `408` + // Estimated: `3873` + // Minimum execution time: 26_539_000 picoseconds. + Weight::from_parts(27_695_000, 0) + .saturating_add(Weight::from_parts(0, 3873)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn shield_funds() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `3593` + // Minimum execution time: 58_771_000 picoseconds. + Weight::from_parts(59_714_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Teerex::SovereignEnclaves` (r:1 w:0) + /// Proof: `Teerex::SovereignEnclaves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EnclaveBridge::ShardConfigRegistry` (r:1 w:0) + /// Proof: `EnclaveBridge::ShardConfigRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EnclaveBridge::ShardStatus` (r:1 w:1) + /// Proof: `EnclaveBridge::ShardStatus` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EnclaveBridge::ExecutedUnshieldCalls` (r:1 w:1) + /// Proof: `EnclaveBridge::ExecutedUnshieldCalls` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn unshield_funds() -> Weight { + // Proof Size summary in bytes: + // Measured: `511` + // Estimated: `6196` + // Minimum execution time: 88_550_000 picoseconds. + Weight::from_parts(93_525_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: `Teerex::SovereignEnclaves` (r:1 w:0) + /// Proof: `Teerex::SovereignEnclaves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EnclaveBridge::ShardStatus` (r:1 w:1) + /// Proof: `EnclaveBridge::ShardStatus` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::EventTopics` (r:6 w:6) + /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `l` is `[0, 100]`. + /// The range of component `t` is `[1, 5]`. + fn publish_hash(_l: u32, t: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `408` + // Estimated: `3873 + t * (2475 ±0)` + // Minimum execution time: 21_086_000 picoseconds. + Weight::from_parts(22_931_684, 0) + .saturating_add(Weight::from_parts(0, 3873)) + // Standard Error: 138_219 + .saturating_add(Weight::from_parts(2_812_119, 0).saturating_mul(t.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) + .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) + } + /// Storage: `EnclaveBridge::ShardConfigRegistry` (r:1 w:1) + /// Proof: `EnclaveBridge::ShardConfigRegistry` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Teerex::SovereignEnclaves` (r:1 w:0) + /// Proof: `Teerex::SovereignEnclaves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EnclaveBridge::ShardStatus` (r:1 w:1) + /// Proof: `EnclaveBridge::ShardStatus` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn update_shard_config() -> Weight { + // Proof Size summary in bytes: + // Measured: `521` + // Estimated: `3986` + // Minimum execution time: 24_839_000 picoseconds. + Weight::from_parts(25_544_000, 0) + .saturating_add(Weight::from_parts(0, 3986)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `EnclaveBridge::ShardStatus` (r:1 w:1) + /// Proof: `EnclaveBridge::ShardStatus` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn purge_enclave_from_shard_status() -> Weight { + // Proof Size summary in bytes: + // Measured: `260` + // Estimated: `3725` + // Minimum execution time: 19_246_000 picoseconds. + Weight::from_parts(20_215_000, 0) + .saturating_add(Weight::from_parts(0, 3725)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_message_queue.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_message_queue.rs index 3e83a9dd..77b93c9d 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_message_queue.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_message_queue.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_message_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -40,8 +40,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `260` // Estimated: `6044` - // Minimum execution time: 17_559_000 picoseconds. - Weight::from_parts(18_086_000, 0) + // Minimum execution time: 16_001_000 picoseconds. + Weight::from_parts(16_761_000, 0) .saturating_add(Weight::from_parts(0, 6044)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -54,8 +54,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `255` // Estimated: `6044` - // Minimum execution time: 14_820_000 picoseconds. - Weight::from_parts(15_650_000, 0) + // Minimum execution time: 14_361_000 picoseconds. + Weight::from_parts(14_785_000, 0) .saturating_add(Weight::from_parts(0, 6044)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -66,8 +66,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `42` // Estimated: `3517` - // Minimum execution time: 5_636_000 picoseconds. - Weight::from_parts(5_825_000, 0) + // Minimum execution time: 5_375_000 picoseconds. + Weight::from_parts(5_635_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -78,8 +78,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `109` // Estimated: `69050` - // Minimum execution time: 7_836_000 picoseconds. - Weight::from_parts(8_015_000, 0) + // Minimum execution time: 7_339_000 picoseconds. + Weight::from_parts(7_804_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -90,8 +90,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `109` // Estimated: `69050` - // Minimum execution time: 7_770_000 picoseconds. - Weight::from_parts(8_193_000, 0) + // Minimum execution time: 7_575_000 picoseconds. + Weight::from_parts(7_932_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -104,8 +104,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 185_341_000 picoseconds. - Weight::from_parts(186_155_000, 0) + // Minimum execution time: 172_035_000 picoseconds. + Weight::from_parts(173_703_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -117,8 +117,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `208` // Estimated: `3517` - // Minimum execution time: 8_616_000 picoseconds. - Weight::from_parts(9_119_000, 0) + // Minimum execution time: 8_481_000 picoseconds. + Weight::from_parts(9_102_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -131,8 +131,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65704` // Estimated: `69050` - // Minimum execution time: 56_386_000 picoseconds. - Weight::from_parts(57_464_000, 0) + // Minimum execution time: 52_734_000 picoseconds. + Weight::from_parts(53_730_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -145,8 +145,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65704` // Estimated: `69050` - // Minimum execution time: 70_198_000 picoseconds. - Weight::from_parts(71_295_000, 0) + // Minimum execution time: 65_078_000 picoseconds. + Weight::from_parts(66_535_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -159,8 +159,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65704` // Estimated: `69050` - // Minimum execution time: 95_332_000 picoseconds. - Weight::from_parts(98_965_000, 0) + // Minimum execution time: 91_678_000 picoseconds. + Weight::from_parts(94_942_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_multisig.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_multisig.rs index 869b8a3b..4c8396a1 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_multisig.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_multisig.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_multisig` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -37,11 +37,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_462_000 picoseconds. - Weight::from_parts(8_083_670, 0) + // Minimum execution time: 7_116_000 picoseconds. + Weight::from_parts(8_394_280, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 8 - .saturating_add(Weight::from_parts(71, 0).saturating_mul(z.into())) + // Standard Error: 9 + .saturating_add(Weight::from_parts(155, 0).saturating_mul(z.into())) } /// Storage: `Multisig::Multisigs` (r:1 w:1) /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(465), added: 2940, mode: `MaxEncodedLen`) @@ -49,15 +49,15 @@ 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: `159 + s * (11 ±0)` + // Measured: `192 + s * (11 ±0)` // Estimated: `3930` - // Minimum execution time: 26_810_000 picoseconds. - Weight::from_parts(24_185_896, 0) + // Minimum execution time: 27_572_000 picoseconds. + Weight::from_parts(26_404_542, 0) .saturating_add(Weight::from_parts(0, 3930)) - // Standard Error: 9_927 - .saturating_add(Weight::from_parts(436_678, 0).saturating_mul(s.into())) - // Standard Error: 8 - .saturating_add(Weight::from_parts(1_321, 0).saturating_mul(z.into())) + // Standard Error: 8_290 + .saturating_add(Weight::from_parts(271_539, 0).saturating_mul(s.into())) + // Standard Error: 7 + .saturating_add(Weight::from_parts(1_211, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -65,17 +65,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(465), added: 2940, mode: `MaxEncodedLen`) /// The range of component `s` is `[3, 10]`. /// The range of component `z` is `[0, 10000]`. - fn as_multi_approve(s: u32, z: u32, ) -> Weight { + fn as_multi_approve(_s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `282` + // Measured: `315` // Estimated: `3930` - // Minimum execution time: 13_432_000 picoseconds. - Weight::from_parts(13_486_148, 0) + // Minimum execution time: 15_133_000 picoseconds. + Weight::from_parts(18_847_329, 0) .saturating_add(Weight::from_parts(0, 3930)) - // Standard Error: 11_053 - .saturating_add(Weight::from_parts(150_758, 0).saturating_mul(s.into())) - // Standard Error: 8 - .saturating_add(Weight::from_parts(1_305, 0).saturating_mul(z.into())) + // Standard Error: 27 + .saturating_add(Weight::from_parts(1_079, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -87,15 +85,15 @@ 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: `301 + s * (43 ±0)` + // Measured: `334 + s * (43 ±0)` // Estimated: `3930` - // Minimum execution time: 27_667_000 picoseconds. - Weight::from_parts(28_803_935, 0) + // Minimum execution time: 31_138_000 picoseconds. + Weight::from_parts(29_208_132, 0) .saturating_add(Weight::from_parts(0, 3930)) - // Standard Error: 34_707 - .saturating_add(Weight::from_parts(17_329, 0).saturating_mul(s.into())) - // Standard Error: 29 - .saturating_add(Weight::from_parts(1_218, 0).saturating_mul(z.into())) + // Standard Error: 11_434 + .saturating_add(Weight::from_parts(310_928, 0).saturating_mul(s.into())) + // Standard Error: 9 + .saturating_add(Weight::from_parts(1_165, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -104,13 +102,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 10]`. fn approve_as_multi_create(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `159 + s * (11 ±0)` + // Measured: `192 + s * (11 ±0)` // Estimated: `3930` - // Minimum execution time: 19_788_000 picoseconds. - Weight::from_parts(24_720_333, 0) + // Minimum execution time: 25_247_000 picoseconds. + Weight::from_parts(25_552_993, 0) .saturating_add(Weight::from_parts(0, 3930)) - // Standard Error: 15_090 - .saturating_add(Weight::from_parts(18_838, 0).saturating_mul(s.into())) + // Standard Error: 9_834 + .saturating_add(Weight::from_parts(343_089, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -119,13 +117,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 10]`. fn approve_as_multi_approve(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `282` + // Measured: `315` // Estimated: `3930` - // Minimum execution time: 12_090_000 picoseconds. - Weight::from_parts(12_248_944, 0) + // Minimum execution time: 13_495_000 picoseconds. + Weight::from_parts(14_403_483, 0) .saturating_add(Weight::from_parts(0, 3930)) - // Standard Error: 12_358 - .saturating_add(Weight::from_parts(312_946, 0).saturating_mul(s.into())) + // Standard Error: 11_700 + .saturating_add(Weight::from_parts(116_301, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -134,13 +132,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 10]`. fn cancel_as_multi(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `365 + s * (11 ±0)` + // Measured: `398 + s * (11 ±0)` // Estimated: `3930` - // Minimum execution time: 21_578_000 picoseconds. - Weight::from_parts(23_432_827, 0) + // Minimum execution time: 25_840_000 picoseconds. + Weight::from_parts(27_659_734, 0) .saturating_add(Weight::from_parts(0, 3930)) - // Standard Error: 8_169 - .saturating_add(Weight::from_parts(330_245, 0).saturating_mul(s.into())) + // Standard Error: 9_802 + .saturating_add(Weight::from_parts(82_717, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_preimage.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_preimage.rs index 2b3f855c..14ff5ab1 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_preimage.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_preimage.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_preimage` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -45,11 +45,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3556` - // Minimum execution time: 64_018_000 picoseconds. - Weight::from_parts(64_742_000, 0) + // Minimum execution time: 51_164_000 picoseconds. + Weight::from_parts(52_171_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 13 - .saturating_add(Weight::from_parts(2_079, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_836, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -64,11 +64,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 13_391_000 picoseconds. - Weight::from_parts(13_844_000, 0) + // Minimum execution time: 12_280_000 picoseconds. + Weight::from_parts(12_553_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 7 - .saturating_add(Weight::from_parts(2_176, 0).saturating_mul(s.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_844, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -83,11 +83,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 13_312_000 picoseconds. - Weight::from_parts(386_550_663, 0) + // Minimum execution time: 10_985_000 picoseconds. + Weight::from_parts(11_193_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_803, 0).saturating_mul(s.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_852, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -103,8 +103,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `277` // Estimated: `3556` - // Minimum execution time: 48_310_000 picoseconds. - Weight::from_parts(58_772_000, 0) + // Minimum execution time: 47_739_000 picoseconds. + Weight::from_parts(52_577_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -119,8 +119,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 16_952_000 picoseconds. - Weight::from_parts(18_277_000, 0) + // Minimum execution time: 21_514_000 picoseconds. + Weight::from_parts(23_583_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -133,8 +133,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `222` // Estimated: `3556` - // Minimum execution time: 15_797_000 picoseconds. - Weight::from_parts(22_185_000, 0) + // Minimum execution time: 18_566_000 picoseconds. + Weight::from_parts(21_882_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -147,8 +147,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 10_349_000 picoseconds. - Weight::from_parts(11_629_000, 0) + // Minimum execution time: 11_916_000 picoseconds. + Weight::from_parts(13_941_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -161,8 +161,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3556` - // Minimum execution time: 9_159_000 picoseconds. - Weight::from_parts(9_688_000, 0) + // Minimum execution time: 9_496_000 picoseconds. + Weight::from_parts(10_121_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -175,8 +175,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 7_601_000 picoseconds. - Weight::from_parts(7_933_000, 0) + // Minimum execution time: 7_213_000 picoseconds. + Weight::from_parts(8_064_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -191,8 +191,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 15_466_000 picoseconds. - Weight::from_parts(18_832_000, 0) + // Minimum execution time: 18_260_000 picoseconds. + Weight::from_parts(21_828_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -205,8 +205,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 7_599_000 picoseconds. - Weight::from_parts(7_924_000, 0) + // Minimum execution time: 9_216_000 picoseconds. + Weight::from_parts(10_043_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -219,8 +219,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 7_146_000 picoseconds. - Weight::from_parts(7_737_000, 0) + // Minimum execution time: 8_059_000 picoseconds. + Weight::from_parts(8_773_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -238,11 +238,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + n * (227 ±0)` // Estimated: `990 + n * (2603 ±0)` - // Minimum execution time: 42_713_000 picoseconds. - Weight::from_parts(43_344_000, 0) + // Minimum execution time: 45_262_000 picoseconds. + Weight::from_parts(45_775_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 78_572 - .saturating_add(Weight::from_parts(47_242_344, 0).saturating_mul(n.into())) + // Standard Error: 48_947 + .saturating_add(Weight::from_parts(49_667_294, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(n.into())) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_proxy.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_proxy.rs index 5bfcba62..a1974a2b 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_proxy.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_proxy.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_proxy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -37,10 +37,10 @@ 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: `127 + p * (37 ±0)` + // Measured: `194 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 11_724_000 picoseconds. - Weight::from_parts(17_771_513, 0) + // Minimum execution time: 13_653_000 picoseconds. + Weight::from_parts(18_051_752, 0) .saturating_add(Weight::from_parts(0, 4706)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -52,15 +52,17 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn proxy_announced(a: u32, _p: u32, ) -> Weight { + fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `417 + a * (68 ±0) + p * (37 ±0)` + // Measured: `484 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 28_048_000 picoseconds. - Weight::from_parts(29_571_549, 0) + // Minimum execution time: 32_138_000 picoseconds. + Weight::from_parts(31_801_227, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 8_837 - .saturating_add(Weight::from_parts(279_438, 0).saturating_mul(a.into())) + // Standard Error: 7_264 + .saturating_add(Weight::from_parts(199_002, 0).saturating_mul(a.into())) + // Standard Error: 7_505 + .saturating_add(Weight::from_parts(77_583, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -70,17 +72,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn remove_announcement(a: u32, p: u32, ) -> Weight { + fn remove_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `332 + a * (68 ±0)` + // Measured: `399 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 20_920_000 picoseconds. - Weight::from_parts(22_945_577, 0) + // Minimum execution time: 22_193_000 picoseconds. + Weight::from_parts(23_463_254, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 4_280 - .saturating_add(Weight::from_parts(106_467, 0).saturating_mul(a.into())) - // Standard Error: 4_422 - .saturating_add(Weight::from_parts(1_107, 0).saturating_mul(p.into())) + // Standard Error: 1_987 + .saturating_add(Weight::from_parts(155_351, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -92,15 +92,15 @@ 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: `332 + a * (68 ±0)` + // Measured: `399 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 19_158_000 picoseconds. - Weight::from_parts(21_120_269, 0) + // Minimum execution time: 21_747_000 picoseconds. + Weight::from_parts(22_450_504, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_265 - .saturating_add(Weight::from_parts(128_093, 0).saturating_mul(a.into())) - // Standard Error: 2_340 - .saturating_add(Weight::from_parts(4_297, 0).saturating_mul(p.into())) + // Standard Error: 1_633 + .saturating_add(Weight::from_parts(186_914, 0).saturating_mul(a.into())) + // Standard Error: 1_687 + .saturating_add(Weight::from_parts(15_051, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -114,15 +114,15 @@ 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: `349 + a * (68 ±0) + p * (37 ±0)` + // Measured: `416 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 24_991_000 picoseconds. - Weight::from_parts(26_190_200, 0) + // Minimum execution time: 29_127_000 picoseconds. + Weight::from_parts(29_311_495, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_600 - .saturating_add(Weight::from_parts(143_195, 0).saturating_mul(a.into())) - // Standard Error: 2_686 - .saturating_add(Weight::from_parts(25_638, 0).saturating_mul(p.into())) + // Standard Error: 2_413 + .saturating_add(Weight::from_parts(160_677, 0).saturating_mul(a.into())) + // Standard Error: 2_493 + .saturating_add(Weight::from_parts(42_419, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -131,28 +131,26 @@ 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: `127 + p * (37 ±0)` + // Measured: `194 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 17_382_000 picoseconds. - Weight::from_parts(18_448_361, 0) + // Minimum execution time: 17_518_000 picoseconds. + Weight::from_parts(21_843_119, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 2_535 - .saturating_add(Weight::from_parts(61_955, 0).saturating_mul(p.into())) + // Standard Error: 15_714 + .saturating_add(Weight::from_parts(49_582, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. - fn remove_proxy(p: u32, ) -> Weight { + fn remove_proxy(_p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `127 + p * (37 ±0)` + // Measured: `194 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 17_725_000 picoseconds. - Weight::from_parts(19_213_646, 0) + // Minimum execution time: 21_089_000 picoseconds. + Weight::from_parts(31_012_313, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 2_563 - .saturating_add(Weight::from_parts(56_713, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -161,13 +159,13 @@ 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: `127 + p * (37 ±0)` + // Measured: `194 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 17_676_000 picoseconds. - Weight::from_parts(18_983_145, 0) + // Minimum execution time: 19_154_000 picoseconds. + Weight::from_parts(19_990_686, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 6_104 - .saturating_add(Weight::from_parts(49_025, 0).saturating_mul(p.into())) + // Standard Error: 1_354 + .saturating_add(Weight::from_parts(48_251, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -176,26 +174,28 @@ 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: `139` + // Measured: `206` // Estimated: `4706` - // Minimum execution time: 20_149_000 picoseconds. - Weight::from_parts(21_315_369, 0) + // Minimum execution time: 21_825_000 picoseconds. + Weight::from_parts(22_792_534, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_494 - .saturating_add(Weight::from_parts(12_406, 0).saturating_mul(p.into())) + // Standard Error: 2_533 + .saturating_add(Weight::from_parts(62_926, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 30]`. - fn kill_pure(_p: u32, ) -> Weight { + fn kill_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `164 + p * (37 ±0)` + // Measured: `231 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 18_504_000 picoseconds. - Weight::from_parts(21_280_704, 0) + // Minimum execution time: 19_918_000 picoseconds. + Weight::from_parts(21_022_926, 0) .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 3_569 + .saturating_add(Weight::from_parts(90_320, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_scheduler.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_scheduler.rs index 376f46a4..b369b1de 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_scheduler.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_scheduler.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_scheduler` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 3_163_000 picoseconds. - Weight::from_parts(3_338_000, 0) + // Minimum execution time: 3_314_000 picoseconds. + Weight::from_parts(3_562_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -51,11 +51,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 3_831_000 picoseconds. - Weight::from_parts(5_373_775, 0) + // Minimum execution time: 4_050_000 picoseconds. + Weight::from_parts(7_497_137, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 4_592 - .saturating_add(Weight::from_parts(489_247, 0).saturating_mul(s.into())) + // Standard Error: 3_050 + .saturating_add(Weight::from_parts(340_582, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,8 +63,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_301_000 picoseconds. - Weight::from_parts(3_442_000, 0) + // Minimum execution time: 2_620_000 picoseconds. + Weight::from_parts(2_751_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Preimage::PreimageFor` (r:1 w:1) @@ -78,11 +78,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `213 + s * (1 ±0)` // Estimated: `3678 + s * (1 ±0)` - // Minimum execution time: 18_938_000 picoseconds. - Weight::from_parts(19_382_000, 0) + // Minimum execution time: 15_497_000 picoseconds. + Weight::from_parts(15_738_000, 0) .saturating_add(Weight::from_parts(0, 3678)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(937, 0).saturating_mul(s.into())) + // Standard Error: 11 + .saturating_add(Weight::from_parts(1_045, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -93,8 +93,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_890_000 picoseconds. - Weight::from_parts(4_008_000, 0) + // Minimum execution time: 3_521_000 picoseconds. + Weight::from_parts(3_730_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -102,24 +102,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_810_000 picoseconds. - Weight::from_parts(2_879_000, 0) + // Minimum execution time: 2_448_000 picoseconds. + Weight::from_parts(2_608_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_897_000 picoseconds. - Weight::from_parts(2_011_000, 0) + // Minimum execution time: 1_695_000 picoseconds. + Weight::from_parts(1_761_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_876_000 picoseconds. - Weight::from_parts(1_986_000, 0) + // Minimum execution time: 1_673_000 picoseconds. + Weight::from_parts(1_770_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Scheduler::Agenda` (r:1 w:1) @@ -129,11 +129,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 8_373_000 picoseconds. - Weight::from_parts(11_181_685, 0) + // Minimum execution time: 7_879_000 picoseconds. + Weight::from_parts(10_736_600, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_366 - .saturating_add(Weight::from_parts(327_833, 0).saturating_mul(s.into())) + // Standard Error: 1_657 + .saturating_add(Weight::from_parts(412_494, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -148,11 +148,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 12_403_000 picoseconds. - Weight::from_parts(12_767_894, 0) + // Minimum execution time: 13_247_000 picoseconds. + Weight::from_parts(13_323_296, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_658 - .saturating_add(Weight::from_parts(549_590, 0).saturating_mul(s.into())) + // Standard Error: 2_494 + .saturating_add(Weight::from_parts(636_417, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -165,11 +165,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 10_043_000 picoseconds. - Weight::from_parts(14_732_637, 0) + // Minimum execution time: 11_150_000 picoseconds. + Weight::from_parts(15_242_180, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 12_041 - .saturating_add(Weight::from_parts(438_836, 0).saturating_mul(s.into())) + // Standard Error: 3_312 + .saturating_add(Weight::from_parts(449_340, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -184,11 +184,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 14_985_000 picoseconds. - Weight::from_parts(16_391_814, 0) + // Minimum execution time: 16_563_000 picoseconds. + Weight::from_parts(16_323_718, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_483 - .saturating_add(Weight::from_parts(611_972, 0).saturating_mul(s.into())) + // Standard Error: 2_245 + .saturating_add(Weight::from_parts(661_626, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -201,11 +201,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `118` // Estimated: `42428` - // Minimum execution time: 7_813_000 picoseconds. - Weight::from_parts(8_424_186, 0) + // Minimum execution time: 7_822_000 picoseconds. + Weight::from_parts(8_233_939, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_135 - .saturating_add(Weight::from_parts(31_229, 0).saturating_mul(s.into())) + // Standard Error: 525 + .saturating_add(Weight::from_parts(34_176, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -217,8 +217,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `8928` // Estimated: `42428` - // Minimum execution time: 21_233_000 picoseconds. - Weight::from_parts(22_180_000, 0) + // Minimum execution time: 24_357_000 picoseconds. + Weight::from_parts(25_053_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -233,8 +233,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `9606` // Estimated: `42428` - // Minimum execution time: 26_777_000 picoseconds. - Weight::from_parts(27_500_000, 0) + // Minimum execution time: 29_865_000 picoseconds. + Weight::from_parts(31_725_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -247,8 +247,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `8940` // Estimated: `42428` - // Minimum execution time: 20_871_000 picoseconds. - Weight::from_parts(22_258_000, 0) + // Minimum execution time: 23_968_000 picoseconds. + Weight::from_parts(24_854_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -263,8 +263,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `9618` // Estimated: `42428` - // Minimum execution time: 27_305_000 picoseconds. - Weight::from_parts(28_724_000, 0) + // Minimum execution time: 29_640_000 picoseconds. + Weight::from_parts(30_834_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_session.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_session.rs index e3579d5a..55954c09 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_session.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_session.rs @@ -1,39 +1,25 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md -// for a list of specific contributors. -// SPDX-License-Identifier: Apache-2.0 -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. //! Autogenerated weights for `pallet_session` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./asset-hub-kusama-chain-spec.json")`, DB CACHE: 1024 +//! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 // Executed Command: -// ./target/production/polkadot +// ./target/release/integritee-collator // benchmark // pallet -// --chain=./asset-hub-kusama-chain-spec.json +// --chain=integritee-rococo-local-dev // --steps=50 // --repeat=20 // --pallet=pallet_session // --extrinsic=* +// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=./asset-hub-kusama-weights/ -// --header=./file_header.txt +// --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_session.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -52,11 +38,11 @@ impl pallet_session::WeightInfo for WeightInfo { /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `297` - // Estimated: `3762` - // Minimum execution time: 15_064_000 picoseconds. - Weight::from_parts(15_441_000, 0) - .saturating_add(Weight::from_parts(0, 3762)) + // Measured: `254` + // Estimated: `3719` + // Minimum execution time: 21_156_000 picoseconds. + Weight::from_parts(22_378_000, 0) + .saturating_add(Weight::from_parts(0, 3719)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -66,11 +52,11 @@ impl pallet_session::WeightInfo for WeightInfo { /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn purge_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `279` - // Estimated: `3744` - // Minimum execution time: 10_865_000 picoseconds. - Weight::from_parts(11_276_000, 0) - .saturating_add(Weight::from_parts(0, 3744)) + // Measured: `277` + // Estimated: `3742` + // Minimum execution time: 15_492_000 picoseconds. + Weight::from_parts(16_178_000, 0) + .saturating_add(Weight::from_parts(0, 3742)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_sidechain.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_sidechain.rs index 2cb676c1..58e07f00 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_sidechain.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_sidechain.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_sidechain` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -44,8 +44,8 @@ impl pallet_sidechain::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3877` - // Minimum execution time: 29_918_000 picoseconds. - Weight::from_parts(31_691_000, 0) + // Minimum execution time: 28_270_000 picoseconds. + Weight::from_parts(29_711_000, 0) .saturating_add(Weight::from_parts(0, 3877)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_teeracle.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_teeracle.rs index ccf809c3..b2b99195 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_teeracle.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_teeracle.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_teeracle` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -42,8 +42,8 @@ impl pallet_teeracle::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `529` // Estimated: `3994` - // Minimum execution time: 23_473_000 picoseconds. - Weight::from_parts(25_397_000, 0) + // Minimum execution time: 24_383_000 picoseconds. + Weight::from_parts(25_910_000, 0) .saturating_add(Weight::from_parts(0, 3994)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -58,8 +58,8 @@ impl pallet_teeracle::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `520` // Estimated: `3985` - // Minimum execution time: 18_881_000 picoseconds. - Weight::from_parts(20_741_000, 0) + // Minimum execution time: 19_831_000 picoseconds. + Weight::from_parts(21_082_000, 0) .saturating_add(Weight::from_parts(0, 3985)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -70,8 +70,8 @@ impl pallet_teeracle::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `80` // Estimated: `3545` - // Minimum execution time: 9_478_000 picoseconds. - Weight::from_parts(9_971_000, 0) + // Minimum execution time: 10_146_000 picoseconds. + Weight::from_parts(10_739_000, 0) .saturating_add(Weight::from_parts(0, 3545)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -82,8 +82,8 @@ impl pallet_teeracle::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `182` // Estimated: `3647` - // Minimum execution time: 12_076_000 picoseconds. - Weight::from_parts(13_741_000, 0) + // Minimum execution time: 13_021_000 picoseconds. + Weight::from_parts(13_675_000, 0) .saturating_add(Weight::from_parts(0, 3647)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_teerdays.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_teerdays.rs new file mode 100644 index 00000000..9895d1be --- /dev/null +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_teerdays.rs @@ -0,0 +1,103 @@ + +//! Autogenerated weights for `pallet_teerdays` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 + +// Executed Command: +// ./target/release/integritee-collator +// benchmark +// pallet +// --chain=integritee-rococo-local-dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_teerdays +// --extrinsic=* +// --heap-pages=4096 +// --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_teerdays.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_teerdays`. +pub struct WeightInfo(PhantomData); +impl pallet_teerdays::WeightInfo for WeightInfo { + /// Storage: `TeerDays::TeerDayBonds` (r:1 w:1) + /// Proof: `TeerDays::TeerDayBonds` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + fn bond() -> Weight { + // Proof Size summary in bytes: + // Measured: `344` + // Estimated: `4764` + // Minimum execution time: 25_534_000 picoseconds. + Weight::from_parts(26_907_000, 0) + .saturating_add(Weight::from_parts(0, 4764)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `TeerDays::PendingUnlock` (r:1 w:1) + /// Proof: `TeerDays::PendingUnlock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TeerDays::TeerDayBonds` (r:1 w:1) + /// Proof: `TeerDays::TeerDayBonds` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + fn unbond() -> Weight { + // Proof Size summary in bytes: + // Measured: `357` + // Estimated: `3822` + // Minimum execution time: 18_153_000 picoseconds. + Weight::from_parts(18_960_000, 0) + .saturating_add(Weight::from_parts(0, 3822)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `TeerDays::TeerDayBonds` (r:1 w:1) + /// Proof: `TeerDays::TeerDayBonds` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + fn update_other() -> Weight { + // Proof Size summary in bytes: + // Measured: `357` + // Estimated: `3822` + // Minimum execution time: 12_938_000 picoseconds. + Weight::from_parts(14_024_000, 0) + .saturating_add(Weight::from_parts(0, 3822)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `TeerDays::PendingUnlock` (r:1 w:1) + /// Proof: `TeerDays::PendingUnlock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn withdraw_unbonded() -> Weight { + // Proof Size summary in bytes: + // Measured: `504` + // Estimated: `4764` + // Minimum execution time: 27_893_000 picoseconds. + Weight::from_parts(29_110_000, 0) + .saturating_add(Weight::from_parts(0, 4764)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) + } +} diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_teerex.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_teerex.rs index 54219f3e..9d618c67 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_teerex.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_teerex.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_teerex` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -46,8 +46,8 @@ impl pallet_teerex::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `784` // Estimated: `4249` - // Minimum execution time: 3_061_046_000 picoseconds. - Weight::from_parts(3_177_797_000, 0) + // Minimum execution time: 2_941_139_000 picoseconds. + Weight::from_parts(3_178_510_000, 0) .saturating_add(Weight::from_parts(0, 4249)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) @@ -60,8 +60,8 @@ impl pallet_teerex::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `132` // Estimated: `1493` - // Minimum execution time: 1_473_531_000 picoseconds. - Weight::from_parts(1_515_059_000, 0) + // Minimum execution time: 1_323_657_000 picoseconds. + Weight::from_parts(1_372_612_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,8 +74,8 @@ impl pallet_teerex::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `132` // Estimated: `1493` - // Minimum execution time: 1_572_232_000 picoseconds. - Weight::from_parts(1_634_420_000, 0) + // Minimum execution time: 1_296_871_000 picoseconds. + Weight::from_parts(1_343_481_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -88,8 +88,8 @@ impl pallet_teerex::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `531` // Estimated: `3996` - // Minimum execution time: 18_590_000 picoseconds. - Weight::from_parts(19_305_000, 0) + // Minimum execution time: 16_257_000 picoseconds. + Weight::from_parts(17_162_000, 0) .saturating_add(Weight::from_parts(0, 3996)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -102,8 +102,8 @@ impl pallet_teerex::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `633` // Estimated: `4098` - // Minimum execution time: 24_490_000 picoseconds. - Weight::from_parts(25_758_000, 0) + // Minimum execution time: 21_207_000 picoseconds. + Weight::from_parts(21_752_000, 0) .saturating_add(Weight::from_parts(0, 4098)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -116,8 +116,8 @@ impl pallet_teerex::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_763_000 picoseconds. - Weight::from_parts(7_147_000, 0) + // Minimum execution time: 5_905_000 picoseconds. + Weight::from_parts(6_200_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_timestamp.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_timestamp.rs index 06e7bd37..e69941c8 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_timestamp.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_timestamp.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_timestamp` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -38,8 +38,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `80` // Estimated: `1493` - // Minimum execution time: 7_108_000 picoseconds. - Weight::from_parts(7_402_000, 0) + // Minimum execution time: 5_823_000 picoseconds. + Weight::from_parts(6_036_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -48,8 +48,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `132` // Estimated: `0` - // Minimum execution time: 5_416_000 picoseconds. - Weight::from_parts(5_663_000, 0) + // Minimum execution time: 4_365_000 picoseconds. + Weight::from_parts(4_512_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_utility.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_utility.rs index 453f8b96..d6c17fdc 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_utility.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_utility.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_utility` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -37,18 +37,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_763_000 picoseconds. - Weight::from_parts(60_405_918, 0) + // Minimum execution time: 4_908_000 picoseconds. + Weight::from_parts(23_849_325, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 10_465 - .saturating_add(Weight::from_parts(2_548_031, 0).saturating_mul(c.into())) + // Standard Error: 4_939 + .saturating_add(Weight::from_parts(2_830_799, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_605_000 picoseconds. - Weight::from_parts(3_732_000, 0) + // Minimum execution time: 3_758_000 picoseconds. + Weight::from_parts(3_916_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -56,18 +56,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_859_000 picoseconds. - Weight::from_parts(3_950_000, 0) + // Minimum execution time: 3_758_000 picoseconds. + Weight::from_parts(12_025_622, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 26_522 - .saturating_add(Weight::from_parts(3_023_744, 0).saturating_mul(c.into())) + // Standard Error: 5_599 + .saturating_add(Weight::from_parts(3_114_569, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_720_000 picoseconds. - Weight::from_parts(9_386_000, 0) + // Minimum execution time: 4_972_000 picoseconds. + Weight::from_parts(5_285_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -75,10 +75,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_307_000 picoseconds. - Weight::from_parts(263_839_765, 0) + // Minimum execution time: 3_540_000 picoseconds. + Weight::from_parts(3_677_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 19_205 - .saturating_add(Weight::from_parts(2_313_199, 0).saturating_mul(c.into())) + // Standard Error: 2_352 + .saturating_add(Weight::from_parts(2_793_705, 0).saturating_mul(c.into())) } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_vesting.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_vesting.rs index 0e30d278..2f86a791 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_vesting.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_vesting.rs @@ -1,8 +1,8 @@ //! Autogenerated weights for `pallet_vesting` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 36.0.0 -//! DATE: 2024-05-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 @@ -44,13 +44,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `205 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 25_584_000 picoseconds. - Weight::from_parts(26_191_808, 0) + // Minimum execution time: 26_272_000 picoseconds. + Weight::from_parts(29_023_947, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 4_587 - .saturating_add(Weight::from_parts(31_993, 0).saturating_mul(l.into())) - // Standard Error: 8_161 - .saturating_add(Weight::from_parts(89_176, 0).saturating_mul(s.into())) + // Standard Error: 3_011 + .saturating_add(Weight::from_parts(26_178, 0).saturating_mul(l.into())) + // Standard Error: 5_357 + .saturating_add(Weight::from_parts(98_830, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -66,13 +66,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `205 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 23_559_000 picoseconds. - Weight::from_parts(27_389_403, 0) + // Minimum execution time: 27_507_000 picoseconds. + Weight::from_parts(31_309_847, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 2_983 - .saturating_add(Weight::from_parts(42_301, 0).saturating_mul(l.into())) - // Standard Error: 5_307 - .saturating_add(Weight::from_parts(161_528, 0).saturating_mul(s.into())) + // Standard Error: 2_413 + .saturating_add(Weight::from_parts(28_270, 0).saturating_mul(l.into())) + // Standard Error: 4_294 + .saturating_add(Weight::from_parts(73_373, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -90,13 +90,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `308 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 23_518_000 picoseconds. - Weight::from_parts(27_918_598, 0) + // Minimum execution time: 26_786_000 picoseconds. + Weight::from_parts(30_026_982, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 6_566 - .saturating_add(Weight::from_parts(71_244, 0).saturating_mul(l.into())) - // Standard Error: 11_682 - .saturating_add(Weight::from_parts(72_710, 0).saturating_mul(s.into())) + // Standard Error: 7_412 + .saturating_add(Weight::from_parts(32_656, 0).saturating_mul(l.into())) + // Standard Error: 13_187 + .saturating_add(Weight::from_parts(109_770, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -114,13 +114,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `308 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 27_573_000 picoseconds. - Weight::from_parts(24_469_466, 0) + // Minimum execution time: 29_148_000 picoseconds. + Weight::from_parts(32_278_696, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 8_859 - .saturating_add(Weight::from_parts(146_414, 0).saturating_mul(l.into())) - // Standard Error: 15_761 - .saturating_add(Weight::from_parts(194_266, 0).saturating_mul(s.into())) + // Standard Error: 3_044 + .saturating_add(Weight::from_parts(28_854, 0).saturating_mul(l.into())) + // Standard Error: 5_417 + .saturating_add(Weight::from_parts(94_420, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -134,15 +134,17 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. - fn vested_transfer(_l: u32, s: u32, ) -> Weight { + fn vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `308 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 61_638_000 picoseconds. - Weight::from_parts(75_422_594, 0) + // Minimum execution time: 62_978_000 picoseconds. + Weight::from_parts(64_469_242, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 28_372 - .saturating_add(Weight::from_parts(172_417, 0).saturating_mul(s.into())) + // Standard Error: 4_371 + .saturating_add(Weight::from_parts(58_787, 0).saturating_mul(l.into())) + // Standard Error: 7_777 + .saturating_add(Weight::from_parts(138_475, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -160,13 +162,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `411 + l * (25 ±0) + s * (36 ±0)` // Estimated: `6196` - // Minimum execution time: 55_043_000 picoseconds. - Weight::from_parts(64_489_820, 0) + // Minimum execution time: 56_963_000 picoseconds. + Weight::from_parts(64_843_478, 0) .saturating_add(Weight::from_parts(0, 6196)) - // Standard Error: 5_541 - .saturating_add(Weight::from_parts(73_314, 0).saturating_mul(l.into())) - // Standard Error: 9_859 - .saturating_add(Weight::from_parts(136_188, 0).saturating_mul(s.into())) + // Standard Error: 3_974 + .saturating_add(Weight::from_parts(48_440, 0).saturating_mul(l.into())) + // Standard Error: 7_071 + .saturating_add(Weight::from_parts(143_641, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -184,13 +186,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `306 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 27_667_000 picoseconds. - Weight::from_parts(30_343_216, 0) + // Minimum execution time: 27_142_000 picoseconds. + Weight::from_parts(29_835_566, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 3_818 - .saturating_add(Weight::from_parts(22_662, 0).saturating_mul(l.into())) - // Standard Error: 7_051 - .saturating_add(Weight::from_parts(102_686, 0).saturating_mul(s.into())) + // Standard Error: 1_895 + .saturating_add(Weight::from_parts(43_043, 0).saturating_mul(l.into())) + // Standard Error: 3_499 + .saturating_add(Weight::from_parts(125_132, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -204,17 +206,13 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. - fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { + fn unlocking_merge_schedules(_l: u32, _s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `306 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 27_260_000 picoseconds. - Weight::from_parts(32_039_096, 0) + // Minimum execution time: 30_739_000 picoseconds. + Weight::from_parts(37_570_842, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 3_380 - .saturating_add(Weight::from_parts(20_928, 0).saturating_mul(l.into())) - // Standard Error: 6_243 - .saturating_add(Weight::from_parts(48_861, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -228,17 +226,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. - fn force_remove_vesting_schedule(l: u32, s: u32, ) -> Weight { + fn force_remove_vesting_schedule(_l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `308 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 30_225_000 picoseconds. - Weight::from_parts(30_102_695, 0) + // Minimum execution time: 31_697_000 picoseconds. + Weight::from_parts(34_587_414, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 3_070 - .saturating_add(Weight::from_parts(51_365, 0).saturating_mul(l.into())) - // Standard Error: 5_670 - .saturating_add(Weight::from_parts(68_276, 0).saturating_mul(s.into())) + // Standard Error: 3_276 + .saturating_add(Weight::from_parts(80_552, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/scripts/benchmark_all_pallets.sh b/scripts/benchmark_all_pallets.sh index f135b6c1..f215199f 100755 --- a/scripts/benchmark_all_pallets.sh +++ b/scripts/benchmark_all_pallets.sh @@ -26,8 +26,6 @@ while read -r line; do --repeat=20 \ --pallet="$pallet" \ --extrinsic="*" \ - --execution=wasm \ - --wasm-execution=compiled \ --heap-pages=4096 \ --output=./$INTEGRITEE_RUNTIME_WEIGHT_DIR/"$pallet".rs done < "integritee_runtime_pallets"