diff --git a/CHANGELOG.md b/CHANGELOG.md index 45ae350c8..782198ff8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,18 +7,20 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). At the moment this project **does not** adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [[Unreleased]](https://github.com/entropyxyz/entropy-core/compare/release/v0.0.10...master) +## [[Unreleased]](https://github.com/entropyxyz/entropy-core/compare/release/v0.0.11...master) + +## [0.0.11](https://github.com/entropyxyz/entropy-core/compare/release/v0.0.10...release/v0.0.11) - 2024-04-XX ### Breaking Changes -- In 'Public Access Mode' [#623](https://github.com/entropyxyz/entropy-core/pull/623) the +- In [#623](https://github.com/entropyxyz/entropy-core/pull/623), 'Public Access Mode', the `UserSignatureRequest` given when requesting a signature with the 'sign_tx' http endpoint must now contain an additional field, `signature_request_account: AccountId32`. In private and permissioned modes, this must be identical to the account used to sign the `SignedMessage` containing the signature request. In public access mode this may be an Entropy account owned by someone else. -- In 'Add proactive refresh keys on-chain' [#629](https://github.com/entropyxyz/entropy-core/pull/629) the - `StakingExtensionConfig::proactive_refresh_validators` field used by the chain spec is now - `StakingExtensionConfigproactive_refresh_data` and takes a tuple of `Vec`. Both should be empty at - genesis for production. +- In [#629](https://github.com/entropyxyz/entropy-core/pull/629), 'Add proactive refresh keys on-chain', + the `StakingExtensionConfig::proactive_refresh_validators` field used by the chain spec is now + `StakingExtensionConfig::proactive_refresh_data` and takes a tuple of `Vec`. Both should be empty + at genesis for production. - In [#631](https://github.com/entropyxyz/entropy-core/pull/631), the `config_interface` field of `ProgramInfo` was renamed to `interface_description` to be more semantically accurate. This field will now be used to describe program interfaces, including the auxilary and configuration @@ -29,8 +31,8 @@ At the moment this project **does not** adhere to - In [#659](https://github.com/entropyxyz/entropy-core/pull/659), the Staking Extension pallet's `validate` extrinsic changed to take a `ServerInfo` struct instead of individual fields. - In [#660](https://github.com/entropyxyz/entropy-core/pull/660), if too many request are sent - for signing by a user in a block the TSS will reject them. As well a parameter config was - added to the chainspec + for signing by a user in a block the TSS will reject them. The chainspec now has an added field + for the new Parameters pallet, which itself has a `request_limit` field. - In [#661](https://github.com/entropyxyz/entropy-core/pull/661), the Relayer pallet was renamed to the Registry pallet as this better describes the purpose of the pallet. - In [#662](https://github.com/entropyxyz/entropy-core/pull/662), the Free Transaction pallet was @@ -41,29 +43,39 @@ At the moment this project **does not** adhere to `registered` struct. - In [#678](https://github.com/entropyxyz/entropy-core/pull/678), the Registry pallet's `get_validator_info()` public method stopped returning the validator index +- In [#680](https://github.com/entropyxyz/entropy-core/pull/680), a new genesis config entry was + added for the Programs pallet. This entry, `initial_programs`, is a list of tuples which contains + information (`hash`, `bytecode`, `config`, `auxiliary data`) about what programs to have on chain + during genesis. - In [#681](https://github.com/entropyxyz/entropy-core/pull/681) `program_interface` in - `program_data` of the `Programs` pallet has been split into `configuration_schema` and `auxiliary_data_schema` -- In 'Add HPKE implementation' [#674](https://github.com/entropyxyz/entropy-core/pull/674) + `program_data` of the `Programs` pallet has been split into `configuration_schema` and + `auxiliary_data_schema` +- In [#674](https://github.com/entropyxyz/entropy-core/pull/674), 'Add HPKE implementation', `entropy-protocol`'s `SignedMessage` has been replaced by `EncryptedSignedMessage` which has some - small API differences, `derive_static_secret` is renamed `derive_x25519_static_secret`, and in the - `entropy-protocol` JS module, the subclass dealing with encryption has been renamed from + small API differences: `derive_static_secret` was renamed to `derive_x25519_static_secret`, and in + the `entropy-protocol` JS module the subclass dealing with encryption has been renamed from `X25519Chacha20Poly1305` to `Hpke`. The JS API is otherwise the same as before. +- In [#703](https://github.com/entropyxyz/entropy-core/pull/703) a new genesis config parameter for + the Parameters pallet was added, `max_instructions_per_program`. ### Added - Add ValidatorSubgroupRotated event ([#618](https://github.com/entropyxyz/entropy-core/pull/618)) +- Public access mode ([#623](https://github.com/entropyxyz/entropy-core/pull/623)) - Emit events on TSS server errors ([#625](https://github.com/entropyxyz/entropy-core/pull/625)) - Add direct query for a validator's subgroup ([#642](https://github.com/entropyxyz/entropy-core/pull/642)) +- Add version number to registered ([#658](https://github.com/entropyxyz/entropy-core/pull/658)) - Request limit check ([#660](https://github.com/entropyxyz/entropy-core/pull/660)) - Add helper for checking if a validator is in the signing committee ([#678](https://github.com/entropyxyz/entropy-core/pull/678)) - Note unresponsiveness reports in Slashing pallet ([#679](https://github.com/entropyxyz/entropy-core/pull/679)) -- Add device key program to initial chianstate ([#680](https://github.com/entropyxyz/entropy-core/pull/660)) +- Add device key program to initial chainstate ([#680](https://github.com/entropyxyz/entropy-core/pull/680)) - Add aux data to program info ([#681](https://github.com/entropyxyz/entropy-core/pull/681)) - Add HPKE implementation ([#674](https://github.com/entropyxyz/entropy-core/pull/674)) -- Add max instructions parameters onchain ([#703](https://github.com/entropyxyz/entropy-core/pull/681)) +- Add max instructions parameters onchain ([#703](https://github.com/entropyxyz/entropy-core/pull/703)) ### Changed - Test CLI - dont send hardcoded auxiliary data by default when signing ([#614](https://github.com/entropyxyz/entropy-core/pull/614)) - Add proactive refresh keys on-chain ([#629](https://github.com/entropyxyz/entropy-core/pull/629)) +- Rename ProgramInfo.config_interface to interface_description ([#631](https://github.com/entropyxyz/entropy-core/pull/631)) - Change test-cli default access mode and update readme for recent changes ([#643](https://github.com/entropyxyz/entropy-core/pull/643)) - Add additional checks to TSS server's `/user/receive_key` endpoint ([#655](https://github.com/entropyxyz/entropy-core/pull/655)) - Disallow using existing TSS account IDs in Staking pallet ([#657](https://github.com/entropyxyz/entropy-core/pull/657)) diff --git a/Cargo.lock b/Cargo.lock index 6e1a19ce8..05556fbdd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2701,7 +2701,7 @@ dependencies = [ [[package]] name = "entropy" -version = "0.0.10" +version = "0.0.11" dependencies = [ "clap 4.4.8", "clap_complete", @@ -2872,7 +2872,7 @@ dependencies = [ [[package]] name = "entropy-runtime" -version = "0.0.10" +version = "0.0.11" dependencies = [ "entropy-shared", "frame-benchmarking", @@ -2993,7 +2993,7 @@ dependencies = [ [[package]] name = "entropy-testing-utils" -version = "0.0.10" +version = "0.0.11" dependencies = [ "anyhow", "axum", @@ -7326,7 +7326,7 @@ dependencies = [ [[package]] name = "pallet-parameters" -version = "0.0.10" +version = "0.0.11" dependencies = [ "frame-benchmarking", "frame-support", @@ -7359,7 +7359,7 @@ dependencies = [ [[package]] name = "pallet-programs" -version = "0.0.10" +version = "0.0.11" dependencies = [ "entropy-shared", "frame-benchmarking", @@ -7378,7 +7378,7 @@ dependencies = [ [[package]] name = "pallet-propagation" -version = "0.0.10" +version = "0.0.11" dependencies = [ "entropy-shared", "frame-benchmarking", @@ -7464,7 +7464,7 @@ dependencies = [ [[package]] name = "pallet-registry" -version = "0.0.10" +version = "0.0.11" dependencies = [ "entropy-shared", "frame-benchmarking", @@ -7553,7 +7553,7 @@ dependencies = [ [[package]] name = "pallet-slashing" -version = "0.0.10" +version = "0.0.11" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7603,7 +7603,7 @@ dependencies = [ [[package]] name = "pallet-staking-extension" -version = "0.0.10" +version = "0.0.11" dependencies = [ "entropy-shared", "frame-benchmarking", @@ -7700,7 +7700,7 @@ dependencies = [ [[package]] name = "pallet-transaction-pause" -version = "0.0.10" +version = "0.0.11" dependencies = [ "frame-benchmarking", "frame-support", diff --git a/crates/testing-utils/Cargo.toml b/crates/testing-utils/Cargo.toml index dae189e97..4c7e0351a 100644 --- a/crates/testing-utils/Cargo.toml +++ b/crates/testing-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name ="entropy-testing-utils" -version ='0.0.10' +version ='0.0.11' authors =['Entropy Cryptography '] homepage ='https://entropy.xyz/' license ='AGPL-3.0-or-later' diff --git a/crates/threshold-signature-server/entropy_metadata.scale b/crates/threshold-signature-server/entropy_metadata.scale index b68d3b1e5..8e026e63d 100644 Binary files a/crates/threshold-signature-server/entropy_metadata.scale and b/crates/threshold-signature-server/entropy_metadata.scale differ diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index 3c04959cd..cfa1447f1 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name ='entropy' -version ='0.0.10' +version ='0.0.11' authors =['Entropy Cryptography '] homepage ='https://entropy.xyz/' license ='AGPL-3.0-or-later' @@ -91,10 +91,10 @@ pallet-transaction-payment ={ version="25.0.0" } pallet-transaction-payment-rpc ={ version="27.0.0" } # Entropy Dependencies -entropy-runtime ={ version="0.0.10", path="../../runtime" } +entropy-runtime ={ version="0.0.11", path="../../runtime" } entropy-shared ={ path="../../crates/shared", default-features=false, features=["wasm-no-std"] } -pallet-registry ={ version="0.0.10", path="../../pallets/registry" } -pallet-staking-extension={ version="0.0.10", path="../../pallets/staking" } +pallet-registry ={ version="0.0.11", path="../../pallets/registry" } +pallet-staking-extension={ version="0.0.11", path="../../pallets/staking" } [build-dependencies] clap ={ version="4.2.5", optional=true } diff --git a/pallets/parameters/Cargo.toml b/pallets/parameters/Cargo.toml index d042f215b..08fc37053 100644 --- a/pallets/parameters/Cargo.toml +++ b/pallets/parameters/Cargo.toml @@ -1,6 +1,6 @@ [package] name ="pallet-parameters" -version ='0.0.10' +version ='0.0.11' authors =['Entropy Cryptography '] homepage ='https://entropy.xyz/' license ='AGPL-3.0-or-later' diff --git a/pallets/programs/Cargo.toml b/pallets/programs/Cargo.toml index f5c3dcc5d..d7ea87941 100644 --- a/pallets/programs/Cargo.toml +++ b/pallets/programs/Cargo.toml @@ -1,6 +1,6 @@ [package] name ='pallet-programs' -version ='0.0.10' +version ='0.0.11' authors =['Entropy Cryptography '] homepage ='https://entropy.xyz/' license ='AGPL-3.0-or-later' diff --git a/pallets/propagation/Cargo.toml b/pallets/propagation/Cargo.toml index 2ea2ba5c5..644fae98b 100644 --- a/pallets/propagation/Cargo.toml +++ b/pallets/propagation/Cargo.toml @@ -1,6 +1,6 @@ [package] name ='pallet-propagation' -version ='0.0.10' +version ='0.0.11' authors =['Entropy Cryptography '] homepage ='https://entropy.xyz/' license ='AGPL-3.0-or-later' @@ -28,9 +28,9 @@ sp-runtime ={ version="28.0.0", default-features=false } sp-staking ={ version="23.0.0", default-features=false } entropy-shared ={ path="../../crates/shared", default-features=false, features=["wasm-no-std"] } -pallet-registry ={ version="0.0.10", path="../registry", default-features=false } -pallet-programs ={ version="0.0.10", path="../programs", default-features=false } -pallet-staking-extension={ version="0.0.10", path="../staking", default-features=false } +pallet-registry ={ version="0.0.11", path="../registry", default-features=false } +pallet-programs ={ version="0.0.11", path="../programs", default-features=false } +pallet-staking-extension={ version="0.0.11", path="../staking", default-features=false } [dev-dependencies] parking_lot="0.11.2" diff --git a/pallets/registry/Cargo.toml b/pallets/registry/Cargo.toml index 5f515b500..9339211c9 100644 --- a/pallets/registry/Cargo.toml +++ b/pallets/registry/Cargo.toml @@ -1,6 +1,6 @@ [package] name ='pallet-registry' -version ='0.0.10' +version ='0.0.11' authors =['Entropy Cryptography '] homepage ='https://entropy.xyz/' license ='AGPL-3.0-or-later' @@ -27,8 +27,8 @@ sp-runtime ={ version="28.0.0", default-features=false } sp-std ={ version="12.0.0", default-features=false } entropy-shared ={ path="../../crates/shared", features=["wasm-no-std"], default-features=false } -pallet-programs ={ version="0.0.10", path="../programs", default-features=false } -pallet-staking-extension={ version="0.0.10", path="../staking", default-features=false } +pallet-programs ={ version="0.0.11", path="../programs", default-features=false } +pallet-staking-extension={ version="0.0.11", path="../staking", default-features=false } [dev-dependencies] frame-election-provider-support={ version="25.0.0", default-features=false } diff --git a/pallets/slashing/Cargo.toml b/pallets/slashing/Cargo.toml index 21081a43a..7e78d8309 100644 --- a/pallets/slashing/Cargo.toml +++ b/pallets/slashing/Cargo.toml @@ -1,6 +1,6 @@ [package] name ='pallet-slashing' -version ='0.0.10' +version ='0.0.11' authors =['Entropy Cryptography '] homepage ='https://entropy.xyz/' license ='AGPL-3.0-or-later' diff --git a/pallets/staking/Cargo.toml b/pallets/staking/Cargo.toml index 90c32fa97..ca547bbc7 100644 --- a/pallets/staking/Cargo.toml +++ b/pallets/staking/Cargo.toml @@ -1,6 +1,6 @@ [package] name ='pallet-staking-extension' -version ='0.0.10' +version ='0.0.11' authors =['Entropy Cryptography '] homepage ='https://entropy.xyz/' license ='AGPL-3.0-or-later' diff --git a/pallets/transaction-pause/Cargo.toml b/pallets/transaction-pause/Cargo.toml index 0c812d574..ac5a3d703 100644 --- a/pallets/transaction-pause/Cargo.toml +++ b/pallets/transaction-pause/Cargo.toml @@ -1,6 +1,6 @@ [package] name ="pallet-transaction-pause" -version ='0.0.10' +version ='0.0.11' authors =['Entropy Cryptography '] homepage ='https://entropy.xyz/' license ='AGPL-3.0-or-later' @@ -25,7 +25,7 @@ pallet-balances={ version="25.0.0" } sp-core ={ version="25.0.0" } sp-io ={ version="27.0.0" } -pallet-programs={ version="0.0.10", default-features=false, path="../programs" } +pallet-programs={ version="0.0.11", default-features=false, path="../programs" } [features] default=["std"] diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 3863abe97..ebd033ea7 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name ='entropy-runtime' -version ='0.0.10' +version ='0.0.11' authors =['Entropy Cryptography '] homepage ='https://entropy.xyz/' license ='AGPL-3.0-or-later' @@ -98,13 +98,13 @@ pallet-utility ={ version="25.0.0", default-featur pallet-vesting ={ version="25.0.0", default-features=false } # Entropy Pallets -pallet-programs ={ version='0.0.10', path='../pallets/programs', default-features=false } -pallet-propagation ={ version='0.0.10', path='../pallets/propagation', default-features=false } -pallet-registry ={ version='0.0.10', path='../pallets/registry', default-features=false } -pallet-slashing ={ version='0.0.10', path='../pallets/slashing', default-features=false } -pallet-staking-extension={ version='0.0.10', path='../pallets/staking', default-features=false } -pallet-transaction-pause={ version='0.0.10', path='../pallets/transaction-pause', default-features=false } -pallet-parameters ={ version='0.0.10', path='../pallets/parameters', default-features=false } +pallet-programs ={ version='0.0.11', path='../pallets/programs', default-features=false } +pallet-propagation ={ version='0.0.11', path='../pallets/propagation', default-features=false } +pallet-registry ={ version='0.0.11', path='../pallets/registry', default-features=false } +pallet-slashing ={ version='0.0.11', path='../pallets/slashing', default-features=false } +pallet-staking-extension={ version='0.0.11', path='../pallets/staking', default-features=false } +pallet-transaction-pause={ version='0.0.11', path='../pallets/transaction-pause', default-features=false } +pallet-parameters ={ version='0.0.11', path='../pallets/parameters', default-features=false } entropy-shared={ path="../crates/shared", default-features=false, features=["wasm-no-std"] } diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 639239f8d..5ce1e28b8 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -207,7 +207,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // We update this if the runtime behaviour has changed. When this happens we set the // `impl_version` to `0`. #[allow(clippy::zero_prefixed_literal)] - spec_version: 010, + spec_version: 011, // We only bump this if the runtime behaviour remains unchanged, but the implementations details // have changed. @@ -221,7 +221,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // call index, parameter changes, etc.). // // The `spec_version` also needs to be bumped in this case. - transaction_version: 4, + transaction_version: 5, // Version of the state implementation to use. // diff --git a/runtime/src/weights/frame_benchmarking.rs b/runtime/src/weights/frame_benchmarking.rs index fdac4abea..371d21cc1 100644 --- a/runtime/src/weights/frame_benchmarking.rs +++ b/runtime/src/weights/frame_benchmarking.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `frame_benchmarking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=frame_benchmarking // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -54,7 +54,7 @@ impl frame_benchmarking::WeightInfo for WeightInfo { // Measured: `0` // Estimated: `0` // Minimum execution time: 0_000 picoseconds. - Weight::from_parts(300_000, 0) + Weight::from_parts(165_176, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -63,7 +63,7 @@ impl frame_benchmarking::WeightInfo for WeightInfo { // Measured: `0` // Estimated: `0` // Minimum execution time: 0_000 picoseconds. - Weight::from_parts(300_000, 0) + Weight::from_parts(184_941, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -81,15 +81,15 @@ impl frame_benchmarking::WeightInfo for WeightInfo { // Measured: `0` // Estimated: `0` // Minimum execution time: 0_000 picoseconds. - Weight::from_parts(500_000, 0) + Weight::from_parts(135_764, 0) .saturating_add(Weight::from_parts(0, 0)) } fn hashing() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 27_595_000_000 picoseconds. - Weight::from_parts(27_650_000_000, 0) + // Minimum execution time: 27_539_000_000 picoseconds. + Weight::from_parts(27_845_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 100]`. @@ -98,9 +98,9 @@ impl frame_benchmarking::WeightInfo for WeightInfo { // Measured: `0` // Estimated: `0` // Minimum execution time: 0_000 picoseconds. - Weight::from_parts(11_500_000, 0) + Weight::from_parts(19_638_239, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 290_350 - .saturating_add(Weight::from_parts(37_962_000, 0).saturating_mul(i.into())) + // Standard Error: 43_714 + .saturating_add(Weight::from_parts(37_880_891, 0).saturating_mul(i.into())) } } \ No newline at end of file diff --git a/runtime/src/weights/frame_election_provider_support.rs b/runtime/src/weights/frame_election_provider_support.rs index 41d770122..c3b3e55a8 100644 --- a/runtime/src/weights/frame_election_provider_support.rs +++ b/runtime/src/weights/frame_election_provider_support.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `frame_election_provider_support` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=frame_election_provider_support // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -55,13 +55,13 @@ impl frame_election_provider_support::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_970_000_000 picoseconds. - Weight::from_parts(5_970_000_000, 0) + // Minimum execution time: 5_765_000_000 picoseconds. + Weight::from_parts(5_862_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 851_120 - .saturating_add(Weight::from_parts(4_447_812, 0).saturating_mul(v.into())) - // Standard Error: 87_957_621 - .saturating_add(Weight::from_parts(975_251_600, 0).saturating_mul(d.into())) + // Standard Error: 98_270 + .saturating_add(Weight::from_parts(4_253_694, 0).saturating_mul(v.into())) + // Standard Error: 10_046_812 + .saturating_add(Weight::from_parts(933_732_070, 0).saturating_mul(d.into())) } /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. @@ -70,12 +70,12 @@ impl frame_election_provider_support::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_018_000_000 picoseconds. - Weight::from_parts(4_018_000_000, 0) + // Minimum execution time: 3_875_000_000 picoseconds. + Weight::from_parts(3_949_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 683_147 - .saturating_add(Weight::from_parts(3_761_376, 0).saturating_mul(v.into())) - // Standard Error: 70_598_655 - .saturating_add(Weight::from_parts(900_806_836, 0).saturating_mul(d.into())) + // Standard Error: 81_170 + .saturating_add(Weight::from_parts(3_392_795, 0).saturating_mul(v.into())) + // Standard Error: 8_298_574 + .saturating_add(Weight::from_parts(885_743_809, 0).saturating_mul(d.into())) } } \ No newline at end of file diff --git a/runtime/src/weights/frame_system.rs b/runtime/src/weights/frame_system.rs index f49678f5c..b0cde9b52 100644 --- a/runtime/src/weights/frame_system.rs +++ b/runtime/src/weights/frame_system.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=frame_system // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -53,22 +53,22 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(1_287_845, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(225, 0).saturating_mul(b.into())) + // Standard Error: 0 + .saturating_add(Weight::from_parts(210, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(5_000_000, 0) + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(4_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 9 - .saturating_add(Weight::from_parts(1_282, 0).saturating_mul(b.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_217, 0).saturating_mul(b.into())) } /// Storage: `System::Digest` (r:1 w:1) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -79,7 +79,7 @@ impl frame_system::WeightInfo for WeightInfo { // Measured: `0` // Estimated: `1485` // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(4_000_000, 0) + Weight::from_parts(3_000_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -92,8 +92,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 79_387_000_000 picoseconds. - Weight::from_parts(84_392_000_000, 0) + // Minimum execution time: 70_124_000_000 picoseconds. + Weight::from_parts(72_006_000_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -105,11 +105,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 1_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 8_834 - .saturating_add(Weight::from_parts(812_200, 0).saturating_mul(i.into())) + // Standard Error: 863 + .saturating_add(Weight::from_parts(805_992, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -119,11 +119,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 12_601 - .saturating_add(Weight::from_parts(601_800, 0).saturating_mul(i.into())) + // Standard Error: 770 + .saturating_add(Weight::from_parts(575_150, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -131,13 +131,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: `67 + p * (69 ±0)` - // Estimated: `67 + p * (70 ±0)` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(5_000_000, 0) - .saturating_add(Weight::from_parts(0, 67)) - // Standard Error: 7_356 - .saturating_add(Weight::from_parts(1_037_400, 0).saturating_mul(p.into())) + // Measured: `102 + p * (69 ±0)` + // Estimated: `87 + p * (70 ±0)` + // Minimum execution time: 3_000_000 picoseconds. + Weight::from_parts(4_000_000, 0) + .saturating_add(Weight::from_parts(0, 87)) + // Standard Error: 947 + .saturating_add(Weight::from_parts(1_000_448, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) diff --git a/runtime/src/weights/pallet_bags_list.rs b/runtime/src/weights/pallet_bags_list.rs index 7e462335b..e733c632c 100644 --- a/runtime/src/weights/pallet_bags_list.rs +++ b/runtime/src/weights/pallet_bags_list.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_bags_list` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_bags_list // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -60,8 +60,8 @@ impl pallet_bags_list::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1707` // Estimated: `11506` - // Minimum execution time: 53_000_000 picoseconds. - Weight::from_parts(54_000_000, 0) + // Minimum execution time: 49_000_000 picoseconds. + Weight::from_parts(50_000_000, 0) .saturating_add(Weight::from_parts(0, 11506)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) @@ -78,8 +78,8 @@ impl pallet_bags_list::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1604` // Estimated: `8877` - // Minimum execution time: 51_000_000 picoseconds. - Weight::from_parts(63_000_000, 0) + // Minimum execution time: 48_000_000 picoseconds. + Weight::from_parts(49_000_000, 0) .saturating_add(Weight::from_parts(0, 8877)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) @@ -99,7 +99,7 @@ impl pallet_bags_list::WeightInfo for WeightInfo { // Measured: `1913` // Estimated: `11506` // Minimum execution time: 59_000_000 picoseconds. - Weight::from_parts(61_000_000, 0) + Weight::from_parts(60_000_000, 0) .saturating_add(Weight::from_parts(0, 11506)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(6)) diff --git a/runtime/src/weights/pallet_balances.rs b/runtime/src/weights/pallet_balances.rs index ad808f16a..6c7886e1a 100644 --- a/runtime/src/weights/pallet_balances.rs +++ b/runtime/src/weights/pallet_balances.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_balances // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -54,8 +54,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 51_000_000 picoseconds. - Weight::from_parts(52_000_000, 0) + // Minimum execution time: 45_000_000 picoseconds. + Weight::from_parts(46_000_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -66,8 +66,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 41_000_000 picoseconds. - Weight::from_parts(52_000_000, 0) + // Minimum execution time: 36_000_000 picoseconds. + Weight::from_parts(37_000_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -78,8 +78,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `207` // Estimated: `3593` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -90,8 +90,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `207` // Estimated: `3593` - // Minimum execution time: 18_000_000 picoseconds. - Weight::from_parts(20_000_000, 0) + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -102,8 +102,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103` // Estimated: `6196` - // Minimum execution time: 52_000_000 picoseconds. - Weight::from_parts(55_000_000, 0) + // Minimum execution time: 47_000_000 picoseconds. + Weight::from_parts(47_000_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -114,8 +114,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 59_000_000 picoseconds. - Weight::from_parts(60_000_000, 0) + // Minimum execution time: 45_000_000 picoseconds. + Weight::from_parts(46_000_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -126,24 +126,24 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `207` // Estimated: `3593` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `System::Account` (r:1000 w:1000) + /// Storage: `System::Account` (r:999 w:999) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `u` is `[1, 1000]`. fn upgrade_accounts(u: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + u * (135 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 21_000_000 picoseconds. - Weight::from_parts(21_000_000, 0) + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 245_217 - .saturating_add(Weight::from_parts(16_065_860, 0).saturating_mul(u.into())) + // Standard Error: 8_993 + .saturating_add(Weight::from_parts(13_298_715, 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())) diff --git a/runtime/src/weights/pallet_bounties.rs b/runtime/src/weights/pallet_bounties.rs index 3b9476f6b..bb303cd7b 100644 --- a/runtime/src/weights/pallet_bounties.rs +++ b/runtime/src/weights/pallet_bounties.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_bounties // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -61,11 +61,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `177` // Estimated: `3593` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(28_500_000, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(21_556_439, 0) .saturating_add(Weight::from_parts(0, 3593)) - // Standard Error: 162 - .saturating_add(Weight::from_parts(146, 0).saturating_mul(d.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(415, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -127,8 +127,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `369` // Estimated: `3642` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(29_000_000, 0) + // Minimum execution time: 23_000_000 picoseconds. + Weight::from_parts(24_000_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -154,12 +154,10 @@ 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: `76` + // Measured: `0` // Estimated: `1887` // Minimum execution time: 0_000 picoseconds. - Weight::from_parts(2_250_000, 0) + Weight::from_parts(1_364_568, 0) .saturating_add(Weight::from_parts(0, 1887)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) } } \ No newline at end of file diff --git a/runtime/src/weights/pallet_collective.rs b/runtime/src/weights/pallet_collective.rs index fd6e7559f..ee1aebe5c 100644 --- a/runtime/src/weights/pallet_collective.rs +++ b/runtime/src/weights/pallet_collective.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_collective // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -62,32 +62,36 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` - // Estimated: `146076 + m * (1956 ±197) + p * (3643 ±197)` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) - .saturating_add(Weight::from_parts(0, 146076)) - // Standard Error: 613_261 - .saturating_add(Weight::from_parts(4_370_129, 0).saturating_mul(m.into())) - // Standard Error: 613_261 - .saturating_add(Weight::from_parts(5_971_463, 0).saturating_mul(p.into())) + // Estimated: `15762 + m * (1967 ±24) + p * (4332 ±24)` + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(12_000_000, 0) + .saturating_add(Weight::from_parts(0, 15762)) + // Standard Error: 46_526 + .saturating_add(Weight::from_parts(3_397_040, 0).saturating_mul(m.into())) + // Standard Error: 46_526 + .saturating_add(Weight::from_parts(6_367_733, 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)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 1956).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 3643).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 4332).saturating_mul(p.into())) } /// Storage: `Council::Members` (r:1 w:0) /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. - fn execute(_b: u32, m: u32, ) -> Weight { + fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `102 + m * (32 ±0)` - // Estimated: `1588 + m * (32 ±0)` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(16_072_463, 0) - .saturating_add(Weight::from_parts(0, 1588)) + // Measured: `103 + m * (32 ±0)` + // Estimated: `1589 + m * (32 ±0)` + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(10_939_130, 0) + .saturating_add(Weight::from_parts(0, 1589)) + // Standard Error: 62 + .saturating_add(Weight::from_parts(1_105, 0).saturating_mul(b.into())) + // Standard Error: 647 + .saturating_add(Weight::from_parts(4_270, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -99,15 +103,15 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `102 + m * (32 ±0)` - // Estimated: `3568 + m * (32 ±0)` + // Measured: `103 + m * (32 ±0)` + // Estimated: `3569 + m * (32 ±0)` // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(13_598_573, 0) - .saturating_add(Weight::from_parts(0, 3568)) - // Standard Error: 1_657 - .saturating_add(Weight::from_parts(1_007, 0).saturating_mul(b.into())) - // Standard Error: 17_045 - .saturating_add(Weight::from_parts(24_429, 0).saturating_mul(m.into())) + Weight::from_parts(12_101_069, 0) + .saturating_add(Weight::from_parts(0, 3569)) + // Standard Error: 58 + .saturating_add(Weight::from_parts(1_783, 0).saturating_mul(b.into())) + // Standard Error: 602 + .saturating_add(Weight::from_parts(11_527, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } @@ -126,21 +130,21 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `307 + m * (32 ±0) + p * (37 ±0)` - // Estimated: `3580 + m * (33 ±0) + p * (38 ±0)` - // Minimum execution time: 21_000_000 picoseconds. - Weight::from_parts(13_492_451, 0) - .saturating_add(Weight::from_parts(0, 3580)) - // Standard Error: 2_118 - .saturating_add(Weight::from_parts(4_452, 0).saturating_mul(b.into())) - // Standard Error: 22_050 - .saturating_add(Weight::from_parts(34_010, 0).saturating_mul(m.into())) - // Standard Error: 21_783 - .saturating_add(Weight::from_parts(210_600, 0).saturating_mul(p.into())) + // Measured: `368 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `3806 + m * (33 ±0) + p * (37 ±0)` + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(14_982_327, 0) + .saturating_add(Weight::from_parts(0, 3806)) + // Standard Error: 282 + .saturating_add(Weight::from_parts(1_923, 0).saturating_mul(b.into())) + // Standard Error: 2_948 + .saturating_add(Weight::from_parts(26_541, 0).saturating_mul(m.into())) + // Standard Error: 2_911 + .saturating_add(Weight::from_parts(180_725, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 38).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into())) } /// Storage: `Council::Members` (r:1 w:0) /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -149,13 +153,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `968 + m * (64 ±0)` + // Measured: `969 + m * (64 ±0)` // Estimated: `4433 + m * (64 ±0)` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(19_151_302, 0) + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(19_094_561, 0) .saturating_add(Weight::from_parts(0, 4433)) - // Standard Error: 48_690 - .saturating_add(Weight::from_parts(60_319, 0).saturating_mul(m.into())) + // Standard Error: 4_633 + .saturating_add(Weight::from_parts(15_252, 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())) @@ -172,19 +176,17 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `487 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `3756 + m * (65 ±0) + p * (39 ±0)` - // Minimum execution time: 20_000_000 picoseconds. - Weight::from_parts(19_786_788, 0) - .saturating_add(Weight::from_parts(0, 3756)) - // Standard Error: 24_692 - .saturating_add(Weight::from_parts(21_105, 0).saturating_mul(m.into())) - // Standard Error: 23_850 - .saturating_add(Weight::from_parts(169_722, 0).saturating_mul(p.into())) + // Measured: `459 + m * (64 ±0) + p * (37 ±0)` + // Estimated: `3902 + m * (64 ±0) + p * (37 ±0)` + // Minimum execution time: 18_000_000 picoseconds. + Weight::from_parts(21_331_296, 0) + .saturating_add(Weight::from_parts(0, 3902)) + // Standard Error: 1_842 + .saturating_add(Weight::from_parts(139_380, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 39).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into())) } /// Storage: `Council::Voting` (r:1 w:1) /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -199,20 +201,22 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `523 + b * (1 ±0) + m * (64 ±0) + p * (42 ±0)` - // Estimated: `3694 + b * (1 ±0) + m * (64 ±1) + p * (44 ±1)` - // Minimum execution time: 28_000_000 picoseconds. - Weight::from_parts(22_526_510, 0) - .saturating_add(Weight::from_parts(0, 3694)) - // Standard Error: 84_080 - .saturating_add(Weight::from_parts(90_158, 0).saturating_mul(m.into())) - // Standard Error: 81_198 - .saturating_add(Weight::from_parts(281_923, 0).saturating_mul(p.into())) + // Measured: `499 + b * (1 ±0) + m * (64 ±0) + p * (42 ±0)` + // Estimated: `4059 + b * (1 ±0) + m * (63 ±0) + p * (42 ±0)` + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(25_420_175, 0) + .saturating_add(Weight::from_parts(0, 4059)) + // Standard Error: 234 + .saturating_add(Weight::from_parts(2_292, 0).saturating_mul(b.into())) + // Standard Error: 2_475 + .saturating_add(Weight::from_parts(30_921, 0).saturating_mul(m.into())) + // Standard Error: 2_413 + .saturating_add(Weight::from_parts(172_206, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 44).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 63).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 42).saturating_mul(p.into())) } /// Storage: `Council::Voting` (r:1 w:1) /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -228,19 +232,19 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `507 + m * (64 ±0) + p * (36 ±0)` - // Estimated: `3776 + m * (65 ±0) + p * (39 ±0)` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(18_745_967, 0) - .saturating_add(Weight::from_parts(0, 3776)) - // Standard Error: 19_461 - .saturating_add(Weight::from_parts(51_727, 0).saturating_mul(m.into())) - // Standard Error: 18_797 - .saturating_add(Weight::from_parts(184_556, 0).saturating_mul(p.into())) + // Measured: `479 + m * (64 ±0) + p * (37 ±0)` + // Estimated: `3922 + m * (64 ±0) + p * (37 ±0)` + // Minimum execution time: 20_000_000 picoseconds. + Weight::from_parts(21_831_319, 0) + .saturating_add(Weight::from_parts(0, 3922)) + // Standard Error: 1_431 + .saturating_add(Weight::from_parts(6_251, 0).saturating_mul(m.into())) + // Standard Error: 1_395 + .saturating_add(Weight::from_parts(140_315, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 39).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into())) } /// Storage: `Council::Voting` (r:1 w:1) /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -257,22 +261,22 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `543 + b * (1 ±0) + m * (64 ±0) + p * (42 ±0)` - // Estimated: `3714 + b * (1 ±0) + m * (64 ±1) + p * (44 ±1)` - // Minimum execution time: 29_000_000 picoseconds. - Weight::from_parts(16_046_142, 0) - .saturating_add(Weight::from_parts(0, 3714)) - // Standard Error: 3_620 - .saturating_add(Weight::from_parts(5_541, 0).saturating_mul(b.into())) - // Standard Error: 38_547 - .saturating_add(Weight::from_parts(95_117, 0).saturating_mul(m.into())) - // Standard Error: 37_225 - .saturating_add(Weight::from_parts(278_665, 0).saturating_mul(p.into())) + // Measured: `519 + b * (1 ±0) + m * (64 ±0) + p * (42 ±0)` + // Estimated: `4079 + b * (1 ±0) + m * (63 ±0) + p * (42 ±0)` + // Minimum execution time: 28_000_000 picoseconds. + Weight::from_parts(30_613_643, 0) + .saturating_add(Weight::from_parts(0, 4079)) + // Standard Error: 140 + .saturating_add(Weight::from_parts(304, 0).saturating_mul(b.into())) + // Standard Error: 1_485 + .saturating_add(Weight::from_parts(14_331, 0).saturating_mul(m.into())) + // Standard Error: 1_447 + .saturating_add(Weight::from_parts(154_801, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 44).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 63).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 42).saturating_mul(p.into())) } /// Storage: `Council::Proposals` (r:1 w:1) /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -283,13 +287,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `258 + p * (32 ±0)` - // Estimated: `1744 + p * (32 ±0)` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(10_265_168, 0) - .saturating_add(Weight::from_parts(0, 1744)) - // Standard Error: 19_103 - .saturating_add(Weight::from_parts(217_825, 0).saturating_mul(p.into())) + // Measured: `260 + p * (32 ±0)` + // Estimated: `1745 + p * (32 ±0)` + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_031_784, 0) + .saturating_add(Weight::from_parts(0, 1745)) + // Standard Error: 1_124 + .saturating_add(Weight::from_parts(132_751, 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/runtime/src/weights/pallet_democracy.rs b/runtime/src/weights/pallet_democracy.rs index 109ae5d11..6492695e4 100644 --- a/runtime/src/weights/pallet_democracy.rs +++ b/runtime/src/weights/pallet_democracy.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_democracy // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -60,8 +60,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4734` // Estimated: `18187` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(47_000_000, 0) + // Minimum execution time: 29_000_000 picoseconds. + Weight::from_parts(30_000_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -72,8 +72,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3489` // Estimated: `6695` - // Minimum execution time: 35_000_000 picoseconds. - Weight::from_parts(39_000_000, 0) + // Minimum execution time: 28_000_000 picoseconds. + Weight::from_parts(30_000_000, 0) .saturating_add(Weight::from_parts(0, 6695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -90,8 +90,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3437` // Estimated: `7260` - // Minimum execution time: 50_000_000 picoseconds. - Weight::from_parts(54_000_000, 0) + // Minimum execution time: 42_000_000 picoseconds. + Weight::from_parts(46_000_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: `3459` // Estimated: `7260` - // Minimum execution time: 65_000_000 picoseconds. - Weight::from_parts(84_000_000, 0) + // Minimum execution time: 46_000_000 picoseconds. + Weight::from_parts(62_000_000, 0) .saturating_add(Weight::from_parts(0, 7260)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -124,8 +124,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `299` // Estimated: `3666` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(26_000_000, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_000_000, 0) .saturating_add(Weight::from_parts(0, 3666)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -148,8 +148,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `5843` // Estimated: `18187` - // Minimum execution time: 99_000_000 picoseconds. - Weight::from_parts(118_000_000, 0) + // Minimum execution time: 81_000_000 picoseconds. + Weight::from_parts(83_000_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) @@ -162,8 +162,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3349` // Estimated: `6703` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(10_000_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -174,8 +174,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(4_000_000, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -185,8 +185,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(4_000_000, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -202,8 +202,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(26_000_000, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(19_000_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(5)) @@ -218,8 +218,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3452` // Estimated: `6703` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(26_000_000, 0) + // Minimum execution time: 20_000_000 picoseconds. + Weight::from_parts(21_000_000, 0) .saturating_add(Weight::from_parts(0, 6703)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -236,8 +236,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `5754` // Estimated: `18187` - // Minimum execution time: 76_000_000 picoseconds. - Weight::from_parts(87_000_000, 0) + // Minimum execution time: 80_000_000 picoseconds. + Weight::from_parts(82_000_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -250,8 +250,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `204` // Estimated: `3518` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -265,13 +265,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `158 + r * (86 ±0)` + // Measured: `177 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(10_750_536, 0) + Weight::from_parts(7_683_260, 0) .saturating_add(Weight::from_parts(0, 1489)) - // Standard Error: 161_913 - .saturating_add(Weight::from_parts(3_021_330, 0).saturating_mul(r.into())) + // Standard Error: 12_606 + .saturating_add(Weight::from_parts(2_774_719, 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)) @@ -292,13 +292,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `158 + r * (86 ±0)` + // Measured: `177 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(17_125_577, 0) + Weight::from_parts(7_479_354, 0) .saturating_add(Weight::from_parts(0, 18187)) - // Standard Error: 190_662 - .saturating_add(Weight::from_parts(3_121_431, 0).saturating_mul(r.into())) + // Standard Error: 6_246 + .saturating_add(Weight::from_parts(2_763_905, 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)) @@ -315,13 +315,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `797 + r * (108 ±0)` + // Measured: `796 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 41_000_000 picoseconds. - Weight::from_parts(51_498_146, 0) + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(33_924_116, 0) .saturating_add(Weight::from_parts(0, 19800)) - // Standard Error: 238_034 - .saturating_add(Weight::from_parts(4_335_403, 0).saturating_mul(r.into())) + // Standard Error: 12_646 + .saturating_add(Weight::from_parts(3_616_603, 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)) @@ -335,13 +335,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `408 + r * (108 ±0)` + // Measured: `426 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(12_000_655, 0) .saturating_add(Weight::from_parts(0, 13530)) - // Standard Error: 252_017 - .saturating_add(Weight::from_parts(4_830_941, 0).saturating_mul(r.into())) + // Standard Error: 11_762 + .saturating_add(Weight::from_parts(3_566_082, 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)) @@ -354,7 +354,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. + // Minimum execution time: 2_000_000 picoseconds. Weight::from_parts(3_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) @@ -372,11 +372,11 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `533` // Estimated: `7260` - // Minimum execution time: 24_000_000 picoseconds. - Weight::from_parts(31_791_734, 0) + // Minimum execution time: 22_000_000 picoseconds. + Weight::from_parts(30_389_969, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 68_303 - .saturating_add(Weight::from_parts(83_501, 0).saturating_mul(r.into())) + // Standard Error: 2_701 + .saturating_add(Weight::from_parts(47_205, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -391,13 +391,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `533 + r * (22 ±0)` + // Measured: `534 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(34_870_683, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(30_719_513, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 90_106 - .saturating_add(Weight::from_parts(169_295, 0).saturating_mul(r.into())) + // Standard Error: 3_007 + .saturating_add(Weight::from_parts(43_257, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -408,13 +408,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `550 + r * (28 ±0)` + // Measured: `661 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(15_642_420, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(14_606_050, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 17_990 - .saturating_add(Weight::from_parts(112_700, 0).saturating_mul(r.into())) + // Standard Error: 1_107 + .saturating_add(Weight::from_parts(68_611, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -425,13 +425,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `550 + r * (28 ±0)` + // Measured: `661 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(17_258_405, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(15_935_382, 0) .saturating_add(Weight::from_parts(0, 7260)) - // Standard Error: 16_976 - .saturating_add(Weight::from_parts(80_509, 0).saturating_mul(r.into())) + // Standard Error: 2_325 + .saturating_add(Weight::from_parts(56_629, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -447,8 +447,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `356` // Estimated: `3556` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -461,8 +461,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3518` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(14_000_000, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_000_000, 0) .saturating_add(Weight::from_parts(0, 3518)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -479,8 +479,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4888` // Estimated: `18187` - // Minimum execution time: 40_000_000 picoseconds. - Weight::from_parts(43_000_000, 0) + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(36_000_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -493,8 +493,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4755` // Estimated: `18187` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(45_000_000, 0) + // Minimum execution time: 30_000_000 picoseconds. + Weight::from_parts(33_000_000, 0) .saturating_add(Weight::from_parts(0, 18187)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -509,8 +509,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/src/weights/pallet_election_provider_multi_phase.rs b/runtime/src/weights/pallet_election_provider_multi_phase.rs index ba7ad6adb..66825076c 100644 --- a/runtime/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/src/weights/pallet_election_provider_multi_phase.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_election_provider_multi_phase` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_election_provider_multi_phase // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -68,8 +68,8 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Proof Size summary in bytes: // Measured: `880` // Estimated: `3481` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) .saturating_add(Weight::from_parts(0, 3481)) .saturating_add(T::DbWeight::get().reads(8)) } @@ -81,8 +81,8 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Proof Size summary in bytes: // Measured: `80` // Estimated: `1565` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(37_000_000, 0) + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) .saturating_add(Weight::from_parts(0, 1565)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -95,8 +95,8 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Proof Size summary in bytes: // Measured: `80` // Estimated: `1565` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(11_000_000, 0) + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) .saturating_add(Weight::from_parts(0, 1565)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -109,8 +109,8 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Proof Size summary in bytes: // Measured: `207` // Estimated: `3593` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(28_000_000, 0) + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(25_000_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -121,8 +121,8 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Proof Size summary in bytes: // Measured: `207` // Estimated: `3593` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(18_000_000, 0) + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -139,11 +139,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 160_000_000 picoseconds. - Weight::from_parts(160_000_000, 0) + // Minimum execution time: 128_000_000 picoseconds. + Weight::from_parts(140_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 21_227 - .saturating_add(Weight::from_parts(178_442, 0).saturating_mul(v.into())) + // Standard Error: 1_874 + .saturating_add(Weight::from_parts(120_597, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `ElectionProviderMultiPhase::SignedSubmissionIndices` (r:1 w:1) @@ -168,15 +168,15 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `d` is `[200, 400]`. fn elect_queued(a: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `289 + a * (768 ±0) + d * (48 ±0)` - // Estimated: `3910 + a * (768 ±0) + d * (49 ±0)` - // Minimum execution time: 304_000_000 picoseconds. - Weight::from_parts(203_234_920, 0) - .saturating_add(Weight::from_parts(0, 3910)) - // Standard Error: 122_512 - .saturating_add(Weight::from_parts(194_253, 0).saturating_mul(a.into())) - // Standard Error: 183_768 - .saturating_add(Weight::from_parts(123_047, 0).saturating_mul(d.into())) + // Measured: `303 + a * (768 ±0) + d * (48 ±0)` + // Estimated: `3855 + a * (768 ±0) + d * (49 ±0)` + // Minimum execution time: 232_000_000 picoseconds. + Weight::from_parts(98_375_620, 0) + .saturating_add(Weight::from_parts(0, 3855)) + // Standard Error: 9_678 + .saturating_add(Weight::from_parts(183_612, 0).saturating_mul(a.into())) + // Standard Error: 14_508 + .saturating_add(Weight::from_parts(203_086, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(8)) .saturating_add(Weight::from_parts(0, 768).saturating_mul(a.into())) @@ -198,8 +198,8 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Proof Size summary in bytes: // Measured: `858` // Estimated: `2343` - // Minimum execution time: 44_000_000 picoseconds. - Weight::from_parts(47_000_000, 0) + // Minimum execution time: 37_000_000 picoseconds. + Weight::from_parts(38_000_000, 0) .saturating_add(Weight::from_parts(0, 2343)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) @@ -226,13 +226,13 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Proof Size summary in bytes: // Measured: `185 + t * (32 ±0) + v * (553 ±0)` // Estimated: `1670 + t * (32 ±0) + v * (553 ±0)` - // Minimum execution time: 4_439_000_000 picoseconds. - Weight::from_parts(4_439_000_000, 0) + // Minimum execution time: 4_011_000_000 picoseconds. + Weight::from_parts(4_068_000_000, 0) .saturating_add(Weight::from_parts(0, 1670)) - // Standard Error: 132_953 - .saturating_add(Weight::from_parts(47_871, 0).saturating_mul(v.into())) - // Standard Error: 394_102 - .saturating_add(Weight::from_parts(4_383_278, 0).saturating_mul(a.into())) + // Standard Error: 12_034 + .saturating_add(Weight::from_parts(10_344, 0).saturating_mul(v.into())) + // Standard Error: 35_663 + .saturating_add(Weight::from_parts(3_645_967, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into())) @@ -254,13 +254,13 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Proof Size summary in bytes: // Measured: `160 + t * (32 ±0) + v * (553 ±0)` // Estimated: `1645 + t * (32 ±0) + v * (553 ±0)` - // Minimum execution time: 3_764_000_000 picoseconds. - Weight::from_parts(3_764_000_000, 0) + // Minimum execution time: 3_366_000_000 picoseconds. + Weight::from_parts(3_431_000_000, 0) .saturating_add(Weight::from_parts(0, 1645)) - // Standard Error: 116_946 - .saturating_add(Weight::from_parts(106_101, 0).saturating_mul(v.into())) - // Standard Error: 346_654 - .saturating_add(Weight::from_parts(3_280_075, 0).saturating_mul(a.into())) + // Standard Error: 11_272 + .saturating_add(Weight::from_parts(138_208, 0).saturating_mul(v.into())) + // Standard Error: 33_403 + .saturating_add(Weight::from_parts(2_663_442, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into())) .saturating_add(Weight::from_parts(0, 553).saturating_mul(v.into())) diff --git a/runtime/src/weights/pallet_elections_phragmen.rs b/runtime/src/weights/pallet_elections_phragmen.rs index b6db2d3da..ccf768c32 100644 --- a/runtime/src/weights/pallet_elections_phragmen.rs +++ b/runtime/src/weights/pallet_elections_phragmen.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_elections_phragmen // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -63,13 +63,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[1, 16]`. fn vote_equal(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `503 + v * (80 ±0)` + // Measured: `470 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(31_284_530, 0) + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(28_252_896, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 72_076 - .saturating_add(Weight::from_parts(99_447, 0).saturating_mul(v.into())) + // Standard Error: 8_357 + .saturating_add(Weight::from_parts(120_087, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -89,13 +89,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 16]`. fn vote_more(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `471 + v * (80 ±0)` + // Measured: `438 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 41_000_000 picoseconds. - Weight::from_parts(41_156_351, 0) + // Minimum execution time: 37_000_000 picoseconds. + Weight::from_parts(38_469_386, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 176_865 - .saturating_add(Weight::from_parts(277_687, 0).saturating_mul(v.into())) + // Standard Error: 19_231 + .saturating_add(Weight::from_parts(142_495, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -115,13 +115,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 16]`. fn vote_less(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `503 + v * (80 ±0)` + // Measured: `470 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 41_000_000 picoseconds. - Weight::from_parts(43_016_286, 0) + // Minimum execution time: 36_000_000 picoseconds. + Weight::from_parts(38_080_842, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 349_823 - .saturating_add(Weight::from_parts(179_967, 0).saturating_mul(v.into())) + // Standard Error: 7_169 + .saturating_add(Weight::from_parts(96_871, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) @@ -134,10 +134,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn remove_voter() -> Weight { // Proof Size summary in bytes: - // Measured: `1025` + // Measured: `992` // Estimated: `4764` - // Minimum execution time: 44_000_000 picoseconds. - Weight::from_parts(45_000_000, 0) + // Minimum execution time: 38_000_000 picoseconds. + Weight::from_parts(40_000_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -151,13 +151,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 64]`. fn submit_candidacy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1635 + c * (48 ±0)` - // Estimated: `3120 + c * (48 ±0)` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(32_269_424, 0) - .saturating_add(Weight::from_parts(0, 3120)) - // Standard Error: 123_593 - .saturating_add(Weight::from_parts(100_328, 0).saturating_mul(c.into())) + // Measured: `1603 + c * (48 ±0)` + // Estimated: `3088 + c * (48 ±0)` + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(26_583_871, 0) + .saturating_add(Weight::from_parts(0, 3088)) + // Standard Error: 4_629 + .saturating_add(Weight::from_parts(73_071, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) @@ -167,13 +167,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 64]`. fn renounce_candidacy_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `350 + c * (48 ±0)` - // Estimated: `1835 + c * (48 ±0)` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(27_764_899, 0) - .saturating_add(Weight::from_parts(0, 1835)) - // Standard Error: 39_993 - .saturating_add(Weight::from_parts(22_829, 0).saturating_mul(c.into())) + // Measured: `318 + c * (48 ±0)` + // Estimated: `1803 + c * (48 ±0)` + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(21_775_422, 0) + .saturating_add(Weight::from_parts(0, 1803)) + // Standard Error: 2_349 + .saturating_add(Weight::from_parts(28_633, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) @@ -190,11 +190,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: - // Measured: `1901` - // Estimated: `3386` - // Minimum execution time: 35_000_000 picoseconds. - Weight::from_parts(40_000_000, 0) - .saturating_add(Weight::from_parts(0, 3386)) + // Measured: `1868` + // Estimated: `3353` + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(33_000_000, 0) + .saturating_add(Weight::from_parts(0, 3353)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -202,11 +202,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn renounce_candidacy_runners_up() -> Weight { // Proof Size summary in bytes: - // Measured: `1012` - // Estimated: `2497` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(30_000_000, 0) - .saturating_add(Weight::from_parts(0, 2497)) + // Measured: `979` + // Estimated: `2464` + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(22_000_000, 0) + .saturating_add(Weight::from_parts(0, 2464)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -234,10 +234,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: - // Measured: `1901` + // Measured: `1868` // Estimated: `3593` - // Minimum execution time: 40_000_000 picoseconds. - Weight::from_parts(42_000_000, 0) + // Minimum execution time: 35_000_000 picoseconds. + Weight::from_parts(36_000_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -258,18 +258,20 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `v` is `[256, 512]`. /// The range of component `d` is `[0, 256]`. - fn clean_defunct_voters(_v: u32, d: u32, ) -> Weight { + fn clean_defunct_voters(v: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + d * (822 ±0) + v * (56 ±0)` - // Estimated: `231786 + d * (3774 ±75)` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(4_080_952, 0) - .saturating_add(Weight::from_parts(0, 231786)) - // Standard Error: 831_335 - .saturating_add(Weight::from_parts(58_717_336, 0).saturating_mul(d.into())) + // Measured: `0 + d * (818 ±0) + v * (56 ±0)` + // Estimated: `24939 + d * (3774 ±0) + v * (24 ±0)` + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(272_243_356, 0) + .saturating_add(Weight::from_parts(0, 24939)) + // Standard Error: 85_534 + .saturating_add(Weight::from_parts(52_280_707, 0).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(d.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(d.into()))) .saturating_add(Weight::from_parts(0, 3774).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(0, 24).saturating_mul(v.into())) } /// Storage: `Elections::Candidates` (r:1 w:1) /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -294,22 +296,22 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `e` is `[512, 8192]`. fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + e * (29 ±0) + v * (605 ±0)` - // Estimated: `179058 + c * (1754 ±88) + e * (10 ±4) + v * (2545 ±63)` - // Minimum execution time: 1_075_000_000 picoseconds. - Weight::from_parts(1_075_000_000, 0) - .saturating_add(Weight::from_parts(0, 179058)) - // Standard Error: 3_666_082 - .saturating_add(Weight::from_parts(13_623_666, 0).saturating_mul(v.into())) - // Standard Error: 235_182 - .saturating_add(Weight::from_parts(521_911, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(53)) + // Measured: `0 + e * (28 ±0) + v * (606 ±0)` + // Estimated: `179025 + c * (2135 ±7) + e * (12 ±0) + v * (2653 ±6)` + // Minimum execution time: 953_000_000 picoseconds. + Weight::from_parts(957_000_000, 0) + .saturating_add(Weight::from_parts(0, 179025)) + // Standard Error: 470_835 + .saturating_add(Weight::from_parts(14_564_475, 0).saturating_mul(v.into())) + // Standard Error: 30_209 + .saturating_add(Weight::from_parts(638_230, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(21)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 1754).saturating_mul(c.into())) - .saturating_add(Weight::from_parts(0, 10).saturating_mul(e.into())) - .saturating_add(Weight::from_parts(0, 2545).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 2135).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 12).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 2653).saturating_mul(v.into())) } } \ No newline at end of file diff --git a/runtime/src/weights/pallet_identity.rs b/runtime/src/weights/pallet_identity.rs index 8cd6d76f0..aaac8c42e 100644 --- a/runtime/src/weights/pallet_identity.rs +++ b/runtime/src/weights/pallet_identity.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_identity // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -55,11 +55,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `32 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(9_945_759, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(7_266_028, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 59_606 - .saturating_add(Weight::from_parts(46_351, 0).saturating_mul(r.into())) + // Standard Error: 2_941 + .saturating_add(Weight::from_parts(67_644, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -71,13 +71,13 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `442 + r * (5 ±0)` // Estimated: `11003` - // Minimum execution time: 29_000_000 picoseconds. - Weight::from_parts(18_253_050, 0) + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(25_233_031, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 137_749 - .saturating_add(Weight::from_parts(489_455, 0).saturating_mul(r.into())) - // Standard Error: 26_720 - .saturating_add(Weight::from_parts(686_313, 0).saturating_mul(x.into())) + // Standard Error: 5_085 + .saturating_add(Weight::from_parts(9_538, 0).saturating_mul(r.into())) + // Standard Error: 992 + .saturating_add(Weight::from_parts(549_395, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -93,10 +93,10 @@ impl pallet_identity::WeightInfo for WeightInfo { // Measured: `101` // Estimated: `11003 + s * (2589 ±0)` // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(10_900_000, 0) + Weight::from_parts(17_005_033, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 101_798 - .saturating_add(Weight::from_parts(3_788_000, 0).saturating_mul(s.into())) + // Standard Error: 4_905 + .saturating_add(Weight::from_parts(3_369_405, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -112,13 +112,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `192 + p * (32 ±0)` + // Measured: `194 + p * (32 ±0)` // Estimated: `11003` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(20_100_000, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(16_763_403, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 138_171 - .saturating_add(Weight::from_parts(1_570_000, 0).saturating_mul(p.into())) + // Standard Error: 3_943 + .saturating_add(Weight::from_parts(1_427_556, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -132,21 +132,19 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[0, 100]`. /// The range of component `x` is `[0, 100]`. - fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { + fn clear_identity(_r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `467 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` + // Measured: `469 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 62_000_000 picoseconds. - Weight::from_parts(16_174_333, 0) + // Minimum execution time: 52_000_000 picoseconds. + Weight::from_parts(28_159_293, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 247_916 - .saturating_add(Weight::from_parts(403_306, 0).saturating_mul(r.into())) - // Standard Error: 48_133 - .saturating_add(Weight::from_parts(1_471_809, 0).saturating_mul(s.into())) - // Standard Error: 48_133 - .saturating_add(Weight::from_parts(401_143, 0).saturating_mul(x.into())) + // Standard Error: 3_057 + .saturating_add(Weight::from_parts(1_374_104, 0).saturating_mul(s.into())) + // Standard Error: 3_057 + .saturating_add(Weight::from_parts(307_195, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } /// Storage: `Identity::Registrars` (r:1 w:0) @@ -157,15 +155,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn request_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `365 + r * (57 ±0) + x * (66 ±0)` + // Measured: `367 + r * (57 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(29_176_842, 0) + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(23_915_743, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 121_395 - .saturating_add(Weight::from_parts(85_073, 0).saturating_mul(r.into())) - // Standard Error: 23_548 - .saturating_add(Weight::from_parts(598_867, 0).saturating_mul(x.into())) + // Standard Error: 5_162 + .saturating_add(Weight::from_parts(54_094, 0).saturating_mul(r.into())) + // Standard Error: 1_007 + .saturating_add(Weight::from_parts(568_235, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -173,15 +171,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[0, 100]`. - fn cancel_request(_r: u32, x: u32, ) -> Weight { + fn cancel_request(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `396 + x * (66 ±0)` + // Measured: `398 + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(27_299_856, 0) + // Minimum execution time: 22_000_000 picoseconds. + Weight::from_parts(22_214_346, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 28_091 - .saturating_add(Weight::from_parts(617_743, 0).saturating_mul(x.into())) + // Standard Error: 5_250 + .saturating_add(Weight::from_parts(11_407, 0).saturating_mul(r.into())) + // Standard Error: 1_024 + .saturating_add(Weight::from_parts(565_441, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -192,11 +192,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(6_982_248, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_520_286, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 59_109 - .saturating_add(Weight::from_parts(124_260, 0).saturating_mul(r.into())) + // Standard Error: 3_170 + .saturating_add(Weight::from_parts(52_280, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -207,11 +207,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(7_338_757, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_676_864, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 95_642 - .saturating_add(Weight::from_parts(128_698, 0).saturating_mul(r.into())) + // Standard Error: 3_443 + .saturating_add(Weight::from_parts(58_102, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -222,11 +222,11 @@ impl pallet_identity::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_314_595, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_534_426, 0) .saturating_add(Weight::from_parts(0, 2626)) - // Standard Error: 32_475 - .saturating_add(Weight::from_parts(131_163, 0).saturating_mul(r.into())) + // Standard Error: 3_393 + .saturating_add(Weight::from_parts(60_039, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -236,15 +236,17 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. /// The range of component `x` is `[0, 100]`. - fn provide_judgement(_r: u32, x: u32, ) -> Weight { + fn provide_judgement(r: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `443 + r * (57 ±0) + x * (66 ±0)` + // Measured: `445 + r * (57 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_963_670, 0) + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(17_044_486, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 24_104 - .saturating_add(Weight::from_parts(991_807, 0).saturating_mul(x.into())) + // Standard Error: 6_404 + .saturating_add(Weight::from_parts(26_567, 0).saturating_mul(r.into())) + // Standard Error: 1_184 + .saturating_add(Weight::from_parts(901_413, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -261,19 +263,19 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `707 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` + // Measured: `709 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` // Estimated: `11003` - // Minimum execution time: 72_000_000 picoseconds. - Weight::from_parts(32_686_337, 0) + // Minimum execution time: 64_000_000 picoseconds. + Weight::from_parts(37_121_807, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 271_149 - .saturating_add(Weight::from_parts(475_767, 0).saturating_mul(r.into())) - // Standard Error: 52_643 - .saturating_add(Weight::from_parts(1_437_719, 0).saturating_mul(s.into())) - // Standard Error: 52_643 - .saturating_add(Weight::from_parts(407_053, 0).saturating_mul(x.into())) + // Standard Error: 16_921 + .saturating_add(Weight::from_parts(53_661, 0).saturating_mul(r.into())) + // Standard Error: 3_304 + .saturating_add(Weight::from_parts(1_401_739, 0).saturating_mul(s.into())) + // Standard Error: 3_304 + .saturating_add(Weight::from_parts(289_790, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } /// Storage: `Identity::IdentityOf` (r:1 w:0) @@ -285,13 +287,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `263 + s * (39 ±0)` + // Measured: `475 + s * (36 ±0)` // Estimated: `11003` - // Minimum execution time: 29_000_000 picoseconds. - Weight::from_parts(29_015_705, 0) + // Minimum execution time: 22_000_000 picoseconds. + Weight::from_parts(25_415_272, 0) .saturating_add(Weight::from_parts(0, 11003)) - // Standard Error: 28_193 - .saturating_add(Weight::from_parts(78_949, 0).saturating_mul(s.into())) + // Standard Error: 1_223 + .saturating_add(Weight::from_parts(34_857, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -300,13 +302,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Storage: `Identity::SuperOf` (r:1 w:1) /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. - fn rename_sub(_s: u32, ) -> Weight { + fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `450 + s * (5 ±0)` + // Measured: `591 + s * (3 ±0)` // Estimated: `11003` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(14_526_419, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_758_933, 0) .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 791 + .saturating_add(Weight::from_parts(14_575, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -317,13 +321,15 @@ impl pallet_identity::WeightInfo for WeightInfo { /// Storage: `Identity::SubsOf` (r:1 w:1) /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. - fn remove_sub(_s: u32, ) -> Weight { + fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `499 + s * (37 ±0)` + // Measured: `638 + s * (35 ±0)` // Estimated: `11003` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(34_702_363, 0) + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(27_158_161, 0) .saturating_add(Weight::from_parts(0, 11003)) + // Standard Error: 1_262 + .saturating_add(Weight::from_parts(23_427, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -336,13 +342,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `670 + s * (38 ±0)` + // Measured: `771 + s * (37 ±0)` // Estimated: `6723` - // Minimum execution time: 21_000_000 picoseconds. - Weight::from_parts(22_226_669, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_272_677, 0) .saturating_add(Weight::from_parts(0, 6723)) - // Standard Error: 11_158 - .saturating_add(Weight::from_parts(42_140, 0).saturating_mul(s.into())) + // Standard Error: 910 + .saturating_add(Weight::from_parts(25_975, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/src/weights/pallet_im_online.rs b/runtime/src/weights/pallet_im_online.rs index 51d036e45..8cd9af942 100644 --- a/runtime/src/weights/pallet_im_online.rs +++ b/runtime/src/weights/pallet_im_online.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_im_online` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_im_online // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -61,15 +61,15 @@ impl pallet_im_online::WeightInfo for WeightInfo { /// The range of component `k` is `[1, 1000]`. fn validate_unsigned_and_then_heartbeat(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `457 + k * (32 ±0)` - // Estimated: `321487 + k * (32 ±0)` - // Minimum execution time: 60_000_000 picoseconds. - Weight::from_parts(74_890_897, 0) + // Measured: `460 + k * (32 ±0)` + // Estimated: `321487 + k * (1761 ±0)` + // Minimum execution time: 53_000_000 picoseconds. + Weight::from_parts(66_092_294, 0) .saturating_add(Weight::from_parts(0, 321487)) - // Standard Error: 11_635 - .saturating_add(Weight::from_parts(34_404, 0).saturating_mul(k.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Standard Error: 827 + .saturating_add(Weight::from_parts(48_543, 0).saturating_mul(k.into())) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 32).saturating_mul(k.into())) + .saturating_add(Weight::from_parts(0, 1761).saturating_mul(k.into())) } } \ No newline at end of file diff --git a/runtime/src/weights/pallet_indices.rs b/runtime/src/weights/pallet_indices.rs index 3105a6d23..ca8b079c3 100644 --- a/runtime/src/weights/pallet_indices.rs +++ b/runtime/src/weights/pallet_indices.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_indices // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -54,8 +54,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3534` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(23_000_000, 0) + // Minimum execution time: 18_000_000 picoseconds. + Weight::from_parts(18_000_000, 0) .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -68,8 +68,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `275` // Estimated: `3593` - // Minimum execution time: 35_000_000 picoseconds. - Weight::from_parts(39_000_000, 0) + // Minimum execution time: 29_000_000 picoseconds. + Weight::from_parts(29_000_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -80,8 +80,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `172` // Estimated: `3534` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(22_000_000, 0) + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_000_000, 0) .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -94,8 +94,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `275` // Estimated: `3593` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(25_000_000, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(21_000_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -106,8 +106,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `172` // Estimated: `3534` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(23_000_000, 0) + // Minimum execution time: 20_000_000 picoseconds. + Weight::from_parts(21_000_000, 0) .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/src/weights/pallet_membership.rs b/runtime/src/weights/pallet_membership.rs index 0a52ed8a0..ccca6fedc 100644 --- a/runtime/src/weights/pallet_membership.rs +++ b/runtime/src/weights/pallet_membership.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_membership // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -59,13 +59,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `137 + m * (64 ±0)` + // Measured: `140 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(12_967_831, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(10_595_716, 0) .saturating_add(Weight::from_parts(0, 4687)) - // Standard Error: 21_604 - .saturating_add(Weight::from_parts(38_798, 0).saturating_mul(m.into())) + // Standard Error: 598 + .saturating_add(Weight::from_parts(14_165, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) @@ -83,13 +83,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `243 + m * (64 ±0)` + // Measured: `244 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_052_875, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_578_938, 0) .saturating_add(Weight::from_parts(0, 4687)) - // Standard Error: 8_387 - .saturating_add(Weight::from_parts(28_486, 0).saturating_mul(m.into())) + // Standard Error: 575 + .saturating_add(Weight::from_parts(6_883, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) @@ -107,13 +107,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `243 + m * (64 ±0)` + // Measured: `244 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(14_355_134, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_357_714, 0) .saturating_add(Weight::from_parts(0, 4687)) - // Standard Error: 3_520 - .saturating_add(Weight::from_parts(24_505, 0).saturating_mul(m.into())) + // Standard Error: 800 + .saturating_add(Weight::from_parts(24_201, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) @@ -131,13 +131,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `241 + m * (64 ±0)` + // Measured: `244 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_132_795, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_934_104, 0) .saturating_add(Weight::from_parts(0, 4687)) - // Standard Error: 12_842 - .saturating_add(Weight::from_parts(128_828, 0).saturating_mul(m.into())) + // Standard Error: 784 + .saturating_add(Weight::from_parts(88_642, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) @@ -155,13 +155,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `241 + m * (64 ±0)` + // Measured: `244 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(15_895_785, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(12_837_597, 0) .saturating_add(Weight::from_parts(0, 4687)) - // Standard Error: 36_525 - .saturating_add(Weight::from_parts(25_980, 0).saturating_mul(m.into())) + // Standard Error: 688 + .saturating_add(Weight::from_parts(21_559, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) @@ -175,11 +175,13 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `30 + m * (32 ±0)` + // Measured: `32 + m * (32 ±0)` // Estimated: `4687 + m * (32 ±0)` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_248_849, 0) .saturating_add(Weight::from_parts(0, 4687)) + // Standard Error: 747 + .saturating_add(Weight::from_parts(7_140, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) @@ -189,13 +191,15 @@ impl pallet_membership::WeightInfo for WeightInfo { /// Storage: `TechnicalCommittee::Prime` (r:0 w:1) /// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. - fn clear_prime(_m: u32, ) -> Weight { + fn clear_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(2_500_000, 0) + Weight::from_parts(2_014_033, 0) .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 217 + .saturating_add(Weight::from_parts(119, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().writes(2)) } } \ No newline at end of file diff --git a/runtime/src/weights/pallet_multisig.rs b/runtime/src/weights/pallet_multisig.rs index 4e78b11dd..68237cf61 100644 --- a/runtime/src/weights/pallet_multisig.rs +++ b/runtime/src/weights/pallet_multisig.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_multisig // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -53,11 +53,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(13_800_000, 0) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(9_910_959, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 289 - .saturating_add(Weight::from_parts(140, 0).saturating_mul(z.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(347, 0).saturating_mul(z.into())) } /// Storage: `Multisig::Multisigs` (r:1 w:1) /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) @@ -65,15 +65,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: `344 + s * (2 ±0)` + // Measured: `296 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(24_648_652, 0) + // Minimum execution time: 30_000_000 picoseconds. + Weight::from_parts(23_957_726, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 72_942 - .saturating_add(Weight::from_parts(121_774, 0).saturating_mul(s.into())) - // Standard Error: 716 - .saturating_add(Weight::from_parts(1_869, 0).saturating_mul(z.into())) + // Standard Error: 1_328 + .saturating_add(Weight::from_parts(69_073, 0).saturating_mul(s.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_365, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -83,15 +83,15 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `348` + // Measured: `315` // Estimated: `6811` - // Minimum execution time: 21_000_000 picoseconds. - Weight::from_parts(15_222_856, 0) + // Minimum execution time: 18_000_000 picoseconds. + Weight::from_parts(13_731_730, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 15_977 - .saturating_add(Weight::from_parts(75_417, 0).saturating_mul(s.into())) - // Standard Error: 155 - .saturating_add(Weight::from_parts(1_354, 0).saturating_mul(z.into())) + // Standard Error: 483 + .saturating_add(Weight::from_parts(53_533, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_247, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -103,15 +103,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: `487 + s * (33 ±0)` + // Measured: `423 + s * (33 ±0)` // Estimated: `6811` // Minimum execution time: 40_000_000 picoseconds. - Weight::from_parts(37_638_549, 0) + Weight::from_parts(26_896_394, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 49_632 - .saturating_add(Weight::from_parts(105_521, 0).saturating_mul(s.into())) - // Standard Error: 487 - .saturating_add(Weight::from_parts(903, 0).saturating_mul(z.into())) + // Standard Error: 4_590 + .saturating_add(Weight::from_parts(216_602, 0).saturating_mul(s.into())) + // Standard Error: 44 + .saturating_add(Weight::from_parts(950, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -120,13 +120,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `344 + s * (2 ±0)` + // Measured: `304 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 28_000_000 picoseconds. - Weight::from_parts(25_664_356, 0) + // Minimum execution time: 31_000_000 picoseconds. + Weight::from_parts(31_602_857, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 53_244 - .saturating_add(Weight::from_parts(177_866, 0).saturating_mul(s.into())) + // Standard Error: 790 + .saturating_add(Weight::from_parts(78_571, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -135,13 +135,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `348` + // Measured: `315` // Estimated: `6811` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(15_285_433, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(16_628_571, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 20_945 - .saturating_add(Weight::from_parts(69_184, 0).saturating_mul(s.into())) + // Standard Error: 630 + .saturating_add(Weight::from_parts(70_420, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -150,13 +150,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `519 + s * (1 ±0)` + // Measured: `492 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 28_000_000 picoseconds. - Weight::from_parts(33_268_108, 0) + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(33_213_306, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 69_398 - .saturating_add(Weight::from_parts(28_186, 0).saturating_mul(s.into())) + // Standard Error: 836 + .saturating_add(Weight::from_parts(73_111, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/src/weights/pallet_nomination_pools.rs b/runtime/src/weights/pallet_nomination_pools.rs index 824171537..45d8d492e 100644 --- a/runtime/src/weights/pallet_nomination_pools.rs +++ b/runtime/src/weights/pallet_nomination_pools.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_nomination_pools` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_nomination_pools // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -82,10 +82,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn join() -> Weight { // Proof Size summary in bytes: - // Measured: `3555` + // Measured: `3522` // Estimated: `8877` - // Minimum execution time: 174_000_000 picoseconds. - Weight::from_parts(185_000_000, 0) + // Minimum execution time: 219_000_000 picoseconds. + Weight::from_parts(233_000_000, 0) .saturating_add(Weight::from_parts(0, 8877)) .saturating_add(T::DbWeight::get().reads(20)) .saturating_add(T::DbWeight::get().writes(13)) @@ -116,10 +116,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn bond_extra_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `3569` + // Measured: `3536` // Estimated: `8877` - // Minimum execution time: 178_000_000 picoseconds. - Weight::from_parts(178_000_000, 0) + // Minimum execution time: 224_000_000 picoseconds. + Weight::from_parts(244_000_000, 0) .saturating_add(Weight::from_parts(0, 8877)) .saturating_add(T::DbWeight::get().reads(17)) .saturating_add(T::DbWeight::get().writes(13)) @@ -152,10 +152,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn bond_extra_other() -> Weight { // Proof Size summary in bytes: - // Measured: `3478` + // Measured: `3445` // Estimated: `8799` - // Minimum execution time: 204_000_000 picoseconds. - Weight::from_parts(207_000_000, 0) + // Minimum execution time: 262_000_000 picoseconds. + Weight::from_parts(283_000_000, 0) .saturating_add(Weight::from_parts(0, 8799)) .saturating_add(T::DbWeight::get().reads(17)) .saturating_add(T::DbWeight::get().writes(13)) @@ -174,10 +174,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim_payout() -> Weight { // Proof Size summary in bytes: - // Measured: `1270` + // Measured: `1237` // Estimated: `3702` - // Minimum execution time: 78_000_000 picoseconds. - Weight::from_parts(79_000_000, 0) + // Minimum execution time: 87_000_000 picoseconds. + Weight::from_parts(88_000_000, 0) .saturating_add(Weight::from_parts(0, 3702)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) @@ -216,10 +216,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `NominationPools::CounterForSubPoolsStorage` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn unbond() -> Weight { // Proof Size summary in bytes: - // Measured: `3745` + // Measured: `3712` // Estimated: `27847` - // Minimum execution time: 155_000_000 picoseconds. - Weight::from_parts(157_000_000, 0) + // Minimum execution time: 198_000_000 picoseconds. + Weight::from_parts(214_000_000, 0) .saturating_add(Weight::from_parts(0, 27847)) .saturating_add(T::DbWeight::get().reads(20)) .saturating_add(T::DbWeight::get().writes(13)) @@ -239,15 +239,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Storage: `NominationPools::TotalValueLocked` (r:1 w:1) /// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 100]`. - fn pool_withdraw_unbonded(s: u32, ) -> Weight { + fn pool_withdraw_unbonded(_s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1941` + // Measured: `1908` // Estimated: `4764` - // Minimum execution time: 64_000_000 picoseconds. - Weight::from_parts(64_700_000, 0) + // Minimum execution time: 85_000_000 picoseconds. + Weight::from_parts(92_665_399, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 70_310 - .saturating_add(Weight::from_parts(110_000, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -278,13 +276,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2330` + // Measured: `2297` // Estimated: `27847` - // Minimum execution time: 128_000_000 picoseconds. - Weight::from_parts(127_800_000, 0) + // Minimum execution time: 163_000_000 picoseconds. + Weight::from_parts(165_998_023, 0) .saturating_add(Weight::from_parts(0, 27847)) - // Standard Error: 152_212 - .saturating_add(Weight::from_parts(210_000, 0).saturating_mul(s.into())) + // Standard Error: 2_121 + .saturating_add(Weight::from_parts(19_506, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(9)) } @@ -337,10 +335,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_kill(_s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2826` + // Measured: `2793` // Estimated: `27847` - // Minimum execution time: 233_000_000 picoseconds. - Weight::from_parts(238_000_000, 0) + // Minimum execution time: 292_000_000 picoseconds. + Weight::from_parts(295_608_933, 0) .saturating_add(Weight::from_parts(0, 27847)) .saturating_add(T::DbWeight::get().reads(24)) .saturating_add(T::DbWeight::get().writes(20)) @@ -369,6 +367,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Staking::Bonded` (r:1 w:1) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + /// Storage: `Staking::Ledger` (r:1 w:1) + /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) /// Storage: `Staking::CurrentEra` (r:1 w:0) /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Balances::Locks` (r:2 w:1) @@ -387,18 +387,16 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `NominationPools::CounterForReversePoolIdLookup` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `NominationPools::BondedPools` (r:1 w:1) /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) - /// Storage: `Staking::Ledger` (r:0 w:1) - /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) /// Storage: `Staking::Payee` (r:0 w:1) /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `1206` + // Measured: `1313` // Estimated: `8538` - // Minimum execution time: 186_000_000 picoseconds. - Weight::from_parts(189_000_000, 0) + // Minimum execution time: 222_000_000 picoseconds. + Weight::from_parts(224_000_000, 0) .saturating_add(Weight::from_parts(0, 8538)) - .saturating_add(T::DbWeight::get().reads(24)) + .saturating_add(T::DbWeight::get().reads(25)) .saturating_add(T::DbWeight::get().writes(17)) } /// Storage: `NominationPools::BondedPools` (r:1 w:0) @@ -428,13 +426,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2022` + // Measured: `1989` // Estimated: `4556 + n * (2520 ±0)` - // Minimum execution time: 59_000_000 picoseconds. - Weight::from_parts(58_011_049, 0) + // Minimum execution time: 76_000_000 picoseconds. + Weight::from_parts(75_251_483, 0) .saturating_add(Weight::from_parts(0, 4556)) - // Standard Error: 96_122 - .saturating_add(Weight::from_parts(1_571_823, 0).saturating_mul(n.into())) + // Standard Error: 11_000 + .saturating_add(Weight::from_parts(2_175_376, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) @@ -448,10 +446,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) fn set_state() -> Weight { // Proof Size summary in bytes: - // Measured: `1490` + // Measured: `1457` // Estimated: `4556` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(32_000_000, 0) + // Minimum execution time: 37_000_000 picoseconds. + Weight::from_parts(38_000_000, 0) .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -465,13 +463,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `n` is `[1, 256]`. fn set_metadata(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `597` + // Measured: `564` // Estimated: `3735` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(12_500_636, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(14_919_131, 0) .saturating_add(Weight::from_parts(0, 3735)) - // Standard Error: 2_448 - .saturating_add(Weight::from_parts(1_555, 0).saturating_mul(n.into())) + // Standard Error: 203 + .saturating_add(Weight::from_parts(1_912, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -500,10 +498,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) fn update_roles() -> Weight { // Proof Size summary in bytes: - // Measured: `597` + // Measured: `564` // Estimated: `3685` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -528,10 +526,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `BagsList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn chill() -> Weight { // Proof Size summary in bytes: - // Measured: `2191` + // Measured: `2158` // Estimated: `4556` - // Minimum execution time: 55_000_000 picoseconds. - Weight::from_parts(57_000_000, 0) + // Minimum execution time: 71_000_000 picoseconds. + Weight::from_parts(72_000_000, 0) .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(5)) @@ -546,10 +544,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn set_commission() -> Weight { // Proof Size summary in bytes: - // Measured: `836` + // Measured: `803` // Estimated: `3685` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(31_000_000, 0) + // Minimum execution time: 36_000_000 picoseconds. + Weight::from_parts(36_000_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -560,10 +558,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `NominationPools::GlobalMaxCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn set_commission_max() -> Weight { // Proof Size summary in bytes: - // Measured: `637` + // Measured: `604` // Estimated: `3685` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(18_000_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -572,10 +570,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) fn set_commission_change_rate() -> Weight { // Proof Size summary in bytes: - // Measured: `597` + // Measured: `564` // Estimated: `3685` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(18_000_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -586,10 +584,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `NominationPools::ClaimPermissions` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) fn set_claim_permission() -> Weight { // Proof Size summary in bytes: - // Measured: `608` + // Measured: `575` // Estimated: `3702` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) .saturating_add(Weight::from_parts(0, 3702)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -604,10 +602,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim_commission() -> Weight { // Proof Size summary in bytes: - // Measured: `1067` + // Measured: `1034` // Estimated: `3685` - // Minimum execution time: 60_000_000 picoseconds. - Weight::from_parts(61_000_000, 0) + // Minimum execution time: 72_000_000 picoseconds. + Weight::from_parts(74_000_000, 0) .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -622,10 +620,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) fn adjust_pool_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `1079` + // Measured: `1046` // Estimated: `4764` - // Minimum execution time: 74_000_000 picoseconds. - Weight::from_parts(74_000_000, 0) + // Minimum execution time: 81_000_000 picoseconds. + Weight::from_parts(83_000_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/src/weights/pallet_parameters.rs b/runtime/src/weights/pallet_parameters.rs index 0fad35b4e..33137b974 100644 --- a/runtime/src/weights/pallet_parameters.rs +++ b/runtime/src/weights/pallet_parameters.rs @@ -16,9 +16,9 @@ //! Autogenerated weights for `pallet_parameters` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-04-02, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Jesses-MacBook-Pro.local`, CPU: `` +//! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 // Executed Command: @@ -27,11 +27,14 @@ // pallet // --chain // dev +// --wasm-execution=compiled // --pallet=pallet_parameters // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt +// --template +// .maintain/frame-weight-template.hbs // --output=./runtime/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] @@ -51,7 +54,7 @@ impl pallet_parameters::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_000_000 picoseconds. + // Minimum execution time: 5_000_000 picoseconds. Weight::from_parts(5_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) @@ -62,9 +65,9 @@ impl pallet_parameters::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(4_000_000, 0) + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } -} +} \ No newline at end of file diff --git a/runtime/src/weights/pallet_preimage.rs b/runtime/src/weights/pallet_preimage.rs index c1e96889f..b65f8a4d5 100644 --- a/runtime/src/weights/pallet_preimage.rs +++ b/runtime/src/weights/pallet_preimage.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_preimage // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -61,11 +61,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3556` - // Minimum execution time: 48_000_000 picoseconds. - Weight::from_parts(16_700_000, 0) + // Minimum execution time: 57_000_000 picoseconds. + Weight::from_parts(58_000_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 62 - .saturating_add(Weight::from_parts(1_660, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_911, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -80,11 +80,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 31 - .saturating_add(Weight::from_parts(1_672, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_903, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -99,11 +99,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 29 - .saturating_add(Weight::from_parts(1_665, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_906, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -119,8 +119,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `311` // Estimated: `3556` - // Minimum execution time: 68_000_000 picoseconds. - Weight::from_parts(73_000_000, 0) + // Minimum execution time: 61_000_000 picoseconds. + Weight::from_parts(64_000_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -135,8 +135,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(31_000_000, 0) + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(26_000_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -149,8 +149,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `255` // Estimated: `3556` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(33_000_000, 0) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(29_000_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -163,8 +163,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(25_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -177,8 +177,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3556` - // Minimum execution time: 20_000_000 picoseconds. - Weight::from_parts(23_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_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: `173` // Estimated: `3556` - // Minimum execution time: 10_000_000 picoseconds. - Weight::from_parts(11_000_000, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_000_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -207,8 +207,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(32_000_000, 0) + // Minimum execution time: 22_000_000 picoseconds. + Weight::from_parts(24_000_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -221,8 +221,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -235,30 +235,30 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 9_000_000 picoseconds. + // Minimum execution time: 10_000_000 picoseconds. Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `Preimage::StatusFor` (r:1024 w:1024) + /// Storage: `Preimage::StatusFor` (r:1023 w:1023) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1024 w:1024) + /// Storage: `System::Account` (r:1023 w:1023) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1024 w:1024) + /// Storage: `Balances::Holds` (r:1023 w:1023) /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `Preimage::RequestStatusFor` (r:0 w:1024) + /// Storage: `Preimage::RequestStatusFor` (r:0 w:1023) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 1024]`. fn ensure_updated(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `37 + n * (227 ±0)` + // Measured: `0 + n * (227 ±0)` // Estimated: `990 + n * (2603 ±0)` - // Minimum execution time: 55_000_000 picoseconds. - Weight::from_parts(55_000_000, 0) + // Minimum execution time: 65_000_000 picoseconds. + Weight::from_parts(66_000_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 292_151 - .saturating_add(Weight::from_parts(56_218_201, 0).saturating_mul(n.into())) + // Standard Error: 101_145 + .saturating_add(Weight::from_parts(66_968_603, 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/runtime/src/weights/pallet_programs.rs b/runtime/src/weights/pallet_programs.rs index d77b0f353..bfad074db 100644 --- a/runtime/src/weights/pallet_programs.rs +++ b/runtime/src/weights/pallet_programs.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_programs` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_programs // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -54,11 +54,11 @@ impl pallet_programs::WeightInfo for WeightInfo { /// Proof: `Programs::OwnedPrograms` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_program() -> Weight { // Proof Size summary in bytes: - // Measured: `142` - // Estimated: `3607` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(28_000_000, 0) - .saturating_add(Weight::from_parts(0, 3607)) + // Measured: `214` + // Estimated: `3679` + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(33_000_000, 0) + .saturating_add(Weight::from_parts(0, 3679)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -69,13 +69,13 @@ impl pallet_programs::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 250]`. fn remove_program(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `345 + p * (32 ±0)` - // Estimated: `3828 + p * (32 ±0)` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(27_621_885, 0) - .saturating_add(Weight::from_parts(0, 3828)) - // Standard Error: 11_807 - .saturating_add(Weight::from_parts(125_625, 0).saturating_mul(p.into())) + // Measured: `351 + p * (32 ±0)` + // Estimated: `3818 + p * (32 ±0)` + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(33_501_202, 0) + .saturating_add(Weight::from_parts(0, 3818)) + // Standard Error: 669 + .saturating_add(Weight::from_parts(154_214, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/runtime/src/weights/pallet_proxy.rs b/runtime/src/weights/pallet_proxy.rs index f861136fa..b68a91fb5 100644 --- a/runtime/src/weights/pallet_proxy.rs +++ b/runtime/src/weights/pallet_proxy.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_proxy // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -51,13 +51,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Storage: `Proxy::Proxies` (r:1 w:0) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. - fn proxy(_p: u32, ) -> Weight { + fn proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `161 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(15_862_651, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(14_849_062, 0) .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 4_955 + .saturating_add(Weight::from_parts(113_591, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Proxy::Proxies` (r:1 w:0) @@ -70,15 +72,15 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `533 + a * (68 ±0) + p * (35 ±0)` + // Measured: `488 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(34_128_054, 0) + // Minimum execution time: 38_000_000 picoseconds. + Weight::from_parts(42_798_373, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 65_973 - .saturating_add(Weight::from_parts(168_890, 0).saturating_mul(a.into())) - // Standard Error: 68_597 - .saturating_add(Weight::from_parts(5_267, 0).saturating_mul(p.into())) + // Standard Error: 9_214 + .saturating_add(Weight::from_parts(85_533, 0).saturating_mul(a.into())) + // Standard Error: 9_519 + .saturating_add(Weight::from_parts(43_658, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -88,15 +90,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 remove_announcement(a: u32, _p: u32, ) -> Weight { + fn remove_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `448 + a * (68 ±0)` + // Measured: `403 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(26_121_277, 0) + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(24_861_926, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 52_232 - .saturating_add(Weight::from_parts(109_782, 0).saturating_mul(a.into())) + // Standard Error: 4_732 + .saturating_add(Weight::from_parts(214_401, 0).saturating_mul(a.into())) + // Standard Error: 4_889 + .saturating_add(Weight::from_parts(42_506, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -106,15 +110,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 reject_announcement(a: u32, _p: u32, ) -> Weight { + fn reject_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `448 + a * (68 ±0)` + // Measured: `403 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(22_304_799, 0) + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(25_368_842, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 104_708 - .saturating_add(Weight::from_parts(210_237, 0).saturating_mul(a.into())) + // Standard Error: 5_522 + .saturating_add(Weight::from_parts(223_087, 0).saturating_mul(a.into())) + // Standard Error: 5_705 + .saturating_add(Weight::from_parts(26_135, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -126,39 +132,47 @@ 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 announce(_a: u32, _p: u32, ) -> Weight { + fn announce(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `465 + a * (68 ±0) + p * (35 ±0)` + // Measured: `420 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(51_103_753, 0) + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(34_784_989, 0) .saturating_add(Weight::from_parts(0, 5698)) + // Standard Error: 6_075 + .saturating_add(Weight::from_parts(224_603, 0).saturating_mul(a.into())) + // Standard Error: 6_277 + .saturating_add(Weight::from_parts(33_142, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } /// 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 add_proxy(_p: u32, ) -> Weight { + fn add_proxy(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `161 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(29_151_741, 0) + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(25_177_034, 0) .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 2_984 + .saturating_add(Weight::from_parts(57_407, 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: `161 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(28_961_798, 0) + // Minimum execution time: 23_000_000 picoseconds. + Weight::from_parts(25_413_692, 0) .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 3_797 + .saturating_add(Weight::from_parts(51_566, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -169,24 +183,26 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `161 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 20_000_000 picoseconds. - Weight::from_parts(20_578_891, 0) + // Minimum execution time: 23_000_000 picoseconds. + Weight::from_parts(24_155_019, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 11_545 - .saturating_add(Weight::from_parts(26_652, 0).saturating_mul(p.into())) + // Standard Error: 3_172 + .saturating_add(Weight::from_parts(65_784, 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 create_pure(_p: u32, ) -> Weight { + fn create_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `173` // Estimated: `4706` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(23_728_855, 0) + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(26_626_015, 0) .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 4_235 + .saturating_add(Weight::from_parts(40_205, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -197,11 +213,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `198 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 21_000_000 picoseconds. - Weight::from_parts(21_708_599, 0) + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(25_313_956, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 31_700 - .saturating_add(Weight::from_parts(66_986, 0).saturating_mul(p.into())) + // Standard Error: 3_129 + .saturating_add(Weight::from_parts(57_578, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/src/weights/pallet_recovery.rs b/runtime/src/weights/pallet_recovery.rs index 6e4963b4f..4d0304400 100644 --- a/runtime/src/weights/pallet_recovery.rs +++ b/runtime/src/weights/pallet_recovery.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_recovery` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_recovery // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -54,8 +54,8 @@ impl pallet_recovery::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `182` // Estimated: `3545` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(21_000_000, 0) + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3545)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -66,20 +66,22 @@ impl pallet_recovery::WeightInfo for WeightInfo { // Measured: `0` // Estimated: `0` // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(7_000_000, 0) + Weight::from_parts(8_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Recovery::Recoverable` (r:1 w:1) /// Proof: `Recovery::Recoverable` (`max_values`: None, `max_size`: Some(351), added: 2826, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. - fn create_recovery(_n: u32, ) -> Weight { + fn create_recovery(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3816` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(27_875_000, 0) + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(25_685_278, 0) .saturating_add(Weight::from_parts(0, 3816)) + // Standard Error: 10_653 + .saturating_add(Weight::from_parts(183_787, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -91,8 +93,8 @@ impl pallet_recovery::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3854` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(25_000_000, 0) + // Minimum execution time: 28_000_000 picoseconds. + Weight::from_parts(30_000_000, 0) .saturating_add(Weight::from_parts(0, 3854)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -106,11 +108,11 @@ impl pallet_recovery::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `261 + n * (64 ±0)` // Estimated: `3854` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(16_275_000, 0) + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(18_400_871, 0) .saturating_add(Weight::from_parts(0, 3854)) - // Standard Error: 109_330 - .saturating_add(Weight::from_parts(125_000, 0).saturating_mul(n.into())) + // Standard Error: 9_175 + .saturating_add(Weight::from_parts(296_709, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -125,11 +127,11 @@ impl pallet_recovery::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `293 + n * (64 ±0)` // Estimated: `3854` - // Minimum execution time: 20_000_000 picoseconds. - Weight::from_parts(20_325_000, 0) + // Minimum execution time: 22_000_000 picoseconds. + Weight::from_parts(23_828_740, 0) .saturating_add(Weight::from_parts(0, 3854)) - // Standard Error: 176_997 - .saturating_add(Weight::from_parts(275_000, 0).saturating_mul(n.into())) + // Standard Error: 12_173 + .saturating_add(Weight::from_parts(83_464, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -138,13 +140,15 @@ impl pallet_recovery::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 9]`. - fn close_recovery(_n: u32, ) -> Weight { + fn close_recovery(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `447 + n * (32 ±0)` // Estimated: `3854` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(40_625_000, 0) + // Minimum execution time: 35_000_000 picoseconds. + Weight::from_parts(35_861_079, 0) .saturating_add(Weight::from_parts(0, 3854)) + // Standard Error: 9_141 + .saturating_add(Weight::from_parts(85_601, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -157,11 +161,11 @@ impl pallet_recovery::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `170 + n * (32 ±0)` // Estimated: `3854` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(27_425_000, 0) + // Minimum execution time: 30_000_000 picoseconds. + Weight::from_parts(31_169_066, 0) .saturating_add(Weight::from_parts(0, 3854)) - // Standard Error: 119_569 - .saturating_add(Weight::from_parts(75_000, 0).saturating_mul(n.into())) + // Standard Error: 9_714 + .saturating_add(Weight::from_parts(95_781, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -171,8 +175,8 @@ impl pallet_recovery::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `182` // Estimated: `3545` - // Minimum execution time: 10_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3545)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/src/weights/pallet_registry.rs b/runtime/src/weights/pallet_registry.rs index a1d8418ec..82c0422d2 100644 --- a/runtime/src/weights/pallet_registry.rs +++ b/runtime/src/weights/pallet_registry.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_registry` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_registry // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -48,8 +48,6 @@ use core::marker::PhantomData; /// Weight functions for `pallet_registry`. pub struct WeightInfo(PhantomData); impl pallet_registry::WeightInfo for WeightInfo { - /// Storage: `Registry::Registered` (r:1 w:0) - /// Proof: `Registry::Registered` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Registry::Registering` (r:1 w:1) /// Proof: `Registry::Registering` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Programs::Programs` (r:1 w:1) @@ -59,14 +57,14 @@ impl pallet_registry::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 5]`. fn register(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `403` - // Estimated: `3868` + // Measured: `356` + // Estimated: `3821` // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(20_000_000, 0) - .saturating_add(Weight::from_parts(0, 3868)) - // Standard Error: 254_950 - .saturating_add(Weight::from_parts(2_600_000, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(4)) + Weight::from_parts(21_276_927, 0) + .saturating_add(Weight::from_parts(0, 3821)) + // Standard Error: 22_679 + .saturating_add(Weight::from_parts(3_143_282, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `Registry::Registering` (r:1 w:1) @@ -76,11 +74,11 @@ impl pallet_registry::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 5]`. fn prune_registration(_p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `471` - // Estimated: `3936` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(21_050_000, 0) - .saturating_add(Weight::from_parts(0, 3936)) + // Measured: `478` + // Estimated: `3943` + // Minimum execution time: 20_000_000 picoseconds. + Weight::from_parts(21_326_693, 0) + .saturating_add(Weight::from_parts(0, 3943)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -92,15 +90,15 @@ impl pallet_registry::WeightInfo for WeightInfo { /// The range of component `o` is `[1, 5]`. fn change_program_instance(n: u32, o: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `605 + o * (33 ±0)` - // Estimated: `6545 + o * (33 ±0)` - // Minimum execution time: 35_000_000 picoseconds. - Weight::from_parts(24_000_000, 0) - .saturating_add(Weight::from_parts(0, 6545)) - // Standard Error: 439_976 - .saturating_add(Weight::from_parts(2_069_047, 0).saturating_mul(n.into())) - // Standard Error: 439_976 - .saturating_add(Weight::from_parts(2_302_380, 0).saturating_mul(o.into())) + // Measured: `610 + o * (33 ±0)` + // Estimated: `6550 + o * (33 ±0)` + // Minimum execution time: 39_000_000 picoseconds. + Weight::from_parts(24_272_663, 0) + .saturating_add(Weight::from_parts(0, 6550)) + // Standard Error: 19_613 + .saturating_add(Weight::from_parts(2_985_284, 0).saturating_mul(n.into())) + // Standard Error: 19_613 + .saturating_add(Weight::from_parts(2_974_645, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 33).saturating_mul(o.into())) @@ -109,18 +107,16 @@ impl pallet_registry::WeightInfo for WeightInfo { /// Proof: `StakingExtension::ThresholdToStash` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Registry::Registering` (r:1 w:1) /// Proof: `Registry::Registering` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `StakingExtension::SigningGroups` (r:1 w:0) - /// Proof: `StakingExtension::SigningGroups` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `StakingExtension::ValidatorToSubgroup` (r:1 w:0) + /// Proof: `StakingExtension::ValidatorToSubgroup` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `c` is `[0, 2]`. - fn confirm_register_registering(c: u32, ) -> Weight { + fn confirm_register_registering(_c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `16536` - // Estimated: `20001` - // Minimum execution time: 29_000_000 picoseconds. - Weight::from_parts(36_916_666, 0) - .saturating_add(Weight::from_parts(0, 20001)) - // Standard Error: 3_865_579 - .saturating_add(Weight::from_parts(2_750_000, 0).saturating_mul(c.into())) + // Measured: `1376` + // Estimated: `4841` + // Minimum execution time: 30_000_000 picoseconds. + Weight::from_parts(50_693_370, 0) + .saturating_add(Weight::from_parts(0, 4841)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -128,16 +124,18 @@ impl pallet_registry::WeightInfo for WeightInfo { /// Proof: `StakingExtension::ThresholdToStash` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Registry::Registering` (r:1 w:1) /// Proof: `Registry::Registering` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `StakingExtension::SigningGroups` (r:1 w:0) - /// Proof: `StakingExtension::SigningGroups` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `StakingExtension::ValidatorToSubgroup` (r:1 w:0) + /// Proof: `StakingExtension::ValidatorToSubgroup` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `c` is `[0, 2]`. - fn confirm_register_failed_registering(_c: u32, ) -> Weight { + fn confirm_register_failed_registering(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `16538` - // Estimated: `20003` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(42_250_000, 0) - .saturating_add(Weight::from_parts(0, 20003)) + // Measured: `1378` + // Estimated: `4843` + // Minimum execution time: 29_000_000 picoseconds. + Weight::from_parts(41_497_790, 0) + .saturating_add(Weight::from_parts(0, 4843)) + // Standard Error: 316_977 + .saturating_add(Weight::from_parts(1_923_480, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -145,19 +143,23 @@ impl pallet_registry::WeightInfo for WeightInfo { /// Proof: `StakingExtension::ThresholdToStash` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Registry::Registering` (r:1 w:1) /// Proof: `Registry::Registering` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `StakingExtension::SigningGroups` (r:1 w:0) - /// Proof: `StakingExtension::SigningGroups` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `StakingExtension::ValidatorToSubgroup` (r:1 w:0) + /// Proof: `StakingExtension::ValidatorToSubgroup` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Registry::ModifiableKeys` (r:1 w:1) + /// Proof: `Registry::ModifiableKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Registry::Registered` (r:0 w:1) /// Proof: `Registry::Registered` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `c` is `[0, 2]`. - fn confirm_register_registered(_c: u32, ) -> Weight { + fn confirm_register_registered(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `16537` - // Estimated: `20002` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(40_416_666, 0) - .saturating_add(Weight::from_parts(0, 20002)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `1402` + // Estimated: `4867` + // Minimum execution time: 39_000_000 picoseconds. + Weight::from_parts(55_035_635, 0) + .saturating_add(Weight::from_parts(0, 4867)) + // Standard Error: 344_229 + .saturating_add(Weight::from_parts(2_477_624, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } } \ No newline at end of file diff --git a/runtime/src/weights/pallet_scheduler.rs b/runtime/src/weights/pallet_scheduler.rs index f0ebc811b..7001b23a8 100644 --- a/runtime/src/weights/pallet_scheduler.rs +++ b/runtime/src/weights/pallet_scheduler.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_scheduler // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -67,11 +67,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `80 + s * (177 ±0)` // Estimated: `110487` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(5_112_615, 0) .saturating_add(Weight::from_parts(0, 110487)) - // Standard Error: 23_441 - .saturating_add(Weight::from_parts(546_223, 0).saturating_mul(s.into())) + // Standard Error: 1_512 + .saturating_add(Weight::from_parts(616_395, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -80,7 +80,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Measured: `0` // Estimated: `0` // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(4_000_000, 0) + Weight::from_parts(3_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Preimage::PreimageFor` (r:1 w:1) @@ -93,12 +93,12 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `246 + s * (1 ±0)` - // Estimated: `3708 + s * (1 ±0)` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) - .saturating_add(Weight::from_parts(0, 3708)) - // Standard Error: 23 - .saturating_add(Weight::from_parts(928, 0).saturating_mul(s.into())) + // Estimated: `3711 + s * (1 ±0)` + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_000_000, 0) + .saturating_add(Weight::from_parts(0, 3711)) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_004, 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())) @@ -145,11 +145,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `80 + s * (177 ±0)` // Estimated: `110487` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(16_300_909, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(6_285_311, 0) .saturating_add(Weight::from_parts(0, 110487)) - // Standard Error: 19_847 - .saturating_add(Weight::from_parts(477_661, 0).saturating_mul(s.into())) + // Standard Error: 2_566 + .saturating_add(Weight::from_parts(630_267, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -162,11 +162,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `80 + s * (177 ±0)` // Estimated: `110487` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(7_715_739, 0) + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(4_184_029, 0) .saturating_add(Weight::from_parts(0, 110487)) - // Standard Error: 7_758 - .saturating_add(Weight::from_parts(795_410, 0).saturating_mul(s.into())) + // Standard Error: 3_313 + .saturating_add(Weight::from_parts(1_042_619, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -177,13 +177,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 511]`. fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `480 + s * (178 ±0)` + // Measured: `595 + s * (178 ±0)` // Estimated: `110487` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(12_299_060, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(13_550_720, 0) .saturating_add(Weight::from_parts(0, 110487)) - // Standard Error: 15_845 - .saturating_add(Weight::from_parts(498_436, 0).saturating_mul(s.into())) + // Standard Error: 3_075 + .saturating_add(Weight::from_parts(628_568, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -194,13 +194,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 512]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `546 + s * (178 ±0)` + // Measured: `708 + s * (177 ±0)` // Estimated: `110487` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(10_313_009, 0) + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(4_372_944, 0) .saturating_add(Weight::from_parts(0, 110487)) - // Standard Error: 10_632 - .saturating_add(Weight::from_parts(802_837, 0).saturating_mul(s.into())) + // Standard Error: 3_606 + .saturating_add(Weight::from_parts(1_045_661, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/src/weights/pallet_session.rs b/runtime/src/weights/pallet_session.rs index 149288842..178213a6d 100644 --- a/runtime/src/weights/pallet_session.rs +++ b/runtime/src/weights/pallet_session.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_session // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -56,11 +56,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: `1971` - // Estimated: `12861` - // Minimum execution time: 52_000_000 picoseconds. - Weight::from_parts(77_000_000, 0) - .saturating_add(Weight::from_parts(0, 12861)) + // Measured: `1972` + // Estimated: `12862` + // Minimum execution time: 54_000_000 picoseconds. + Weight::from_parts(56_000_000, 0) + .saturating_add(Weight::from_parts(0, 12862)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -72,11 +72,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: `1744` - // Estimated: `5209` - // Minimum execution time: 36_000_000 picoseconds. - Weight::from_parts(39_000_000, 0) - .saturating_add(Weight::from_parts(0, 5209)) + // Measured: `1745` + // Estimated: `5210` + // Minimum execution time: 44_000_000 picoseconds. + Weight::from_parts(51_000_000, 0) + .saturating_add(Weight::from_parts(0, 5210)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(5)) } diff --git a/runtime/src/weights/pallet_staking.rs b/runtime/src/weights/pallet_staking.rs index 24b5e6fa8..e5bb64c1f 100644 --- a/runtime/src/weights/pallet_staking.rs +++ b/runtime/src/weights/pallet_staking.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_staking // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -50,24 +50,24 @@ pub struct WeightInfo(PhantomData); impl pallet_staking::WeightInfo for WeightInfo { /// Storage: `Staking::Bonded` (r:1 w:1) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + /// Storage: `Staking::Ledger` (r:1 w:1) + /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) /// Storage: `Staking::CurrentEra` (r:1 w:0) /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, 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(193), added: 2668, mode: `MaxEncodedLen`) - /// Storage: `Staking::Ledger` (r:0 w:1) - /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) /// Storage: `Staking::Payee` (r:0 w:1) /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) fn bond() -> Weight { // Proof Size summary in bytes: - // Measured: `833` + // Measured: `973` // Estimated: `4764` - // Minimum execution time: 46_000_000 picoseconds. - Weight::from_parts(48_000_000, 0) + // Minimum execution time: 59_000_000 picoseconds. + Weight::from_parts(59_000_000, 0) .saturating_add(Weight::from_parts(0, 4764)) - .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Staking::Bonded` (r:1 w:0) @@ -86,22 +86,22 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2042` // Estimated: `8877` - // Minimum execution time: 82_000_000 picoseconds. - Weight::from_parts(184_000_000, 0) + // Minimum execution time: 100_000_000 picoseconds. + Weight::from_parts(102_000_000, 0) .saturating_add(Weight::from_parts(0, 8877)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: `Staking::Ledger` (r:1 w:1) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) + /// Storage: `Staking::Bonded` (r:1 w:0) + /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Storage: `Staking::Nominators` (r:1 w:0) /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) /// Storage: `Staking::MinNominatorBond` (r:1 w:0) /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Staking::CurrentEra` (r:1 w:0) /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Staking::Bonded` (r:1 w:0) - /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, 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) @@ -114,18 +114,18 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2247` // Estimated: `8877` - // Minimum execution time: 84_000_000 picoseconds. - Weight::from_parts(87_000_000, 0) + // Minimum execution time: 112_000_000 picoseconds. + Weight::from_parts(113_000_000, 0) .saturating_add(Weight::from_parts(0, 8877)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: `Staking::Ledger` (r:1 w:1) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) - /// Storage: `Staking::CurrentEra` (r:1 w:0) - /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Staking::Bonded` (r:1 w:0) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + /// Storage: `Staking::CurrentEra` (r:1 w:0) + /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, 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) @@ -135,22 +135,22 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1142` // Estimated: `4764` - // Minimum execution time: 40_000_000 picoseconds. - Weight::from_parts(40_900_000, 0) + // Minimum execution time: 53_000_000 picoseconds. + Weight::from_parts(54_817_160, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 28_275 - .saturating_add(Weight::from_parts(62_000, 0).saturating_mul(s.into())) + // Standard Error: 4_486 + .saturating_add(Weight::from_parts(66_050, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `Staking::Ledger` (r:1 w:1) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) + /// Storage: `Staking::Bonded` (r:1 w:1) + /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Storage: `Staking::CurrentEra` (r:1 w:0) /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Staking::SlashingSpans` (r:1 w:1) /// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Staking::Bonded` (r:1 w:1) - /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, 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) @@ -174,20 +174,22 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_kill(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2314 + s * (4 ±0)` - // Estimated: `6248 + s * (5 ±0)` - // Minimum execution time: 84_000_000 picoseconds. - Weight::from_parts(86_100_000, 0) + // Measured: `2315 + s * (4 ±0)` + // Estimated: `6248 + s * (4 ±0)` + // Minimum execution time: 113_000_000 picoseconds. + Weight::from_parts(110_670_575, 0) .saturating_add(Weight::from_parts(0, 6248)) - // Standard Error: 37_623 - .saturating_add(Weight::from_parts(1_642_000, 0).saturating_mul(s.into())) + // Standard Error: 3_319 + .saturating_add(Weight::from_parts(1_678_421, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(13)) - .saturating_add(T::DbWeight::get().writes(10)) + .saturating_add(T::DbWeight::get().writes(11)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) - .saturating_add(Weight::from_parts(0, 5).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into())) } /// Storage: `Staking::Ledger` (r:1 w:0) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) + /// Storage: `Staking::Bonded` (r:1 w:0) + /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Storage: `Staking::MinValidatorBond` (r:1 w:0) /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Staking::MinCommission` (r:1 w:0) @@ -198,8 +200,6 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `Staking::MaxValidatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Staking::Nominators` (r:1 w:0) /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) - /// Storage: `Staking::Bonded` (r:1 w:0) - /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Storage: `BagsList::ListNodes` (r:1 w:1) /// Proof: `BagsList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) /// Storage: `BagsList::ListBags` (r:1 w:1) @@ -212,33 +212,37 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1431` // Estimated: `4556` - // Minimum execution time: 49_000_000 picoseconds. - Weight::from_parts(58_000_000, 0) + // Minimum execution time: 61_000_000 picoseconds. + Weight::from_parts(61_000_000, 0) .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `Staking::Ledger` (r:1 w:0) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) + /// Storage: `Staking::Bonded` (r:1 w:0) + /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Storage: `Staking::Nominators` (r:128 w:128) /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) /// The range of component `k` is `[1, 128]`. fn kick(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1140 + k * (570 ±0)` + // Measured: `1740 + k * (572 ±0)` // Estimated: `4556 + k * (3033 ±0)` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(35_007_940, 0) + // Minimum execution time: 36_000_000 picoseconds. + Weight::from_parts(41_606_413, 0) .saturating_add(Weight::from_parts(0, 4556)) - // Standard Error: 316_210 - .saturating_add(Weight::from_parts(6_923_552, 0).saturating_mul(k.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Standard Error: 12_334 + .saturating_add(Weight::from_parts(7_214_114, 0).saturating_mul(k.into())) + .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) .saturating_add(Weight::from_parts(0, 3033).saturating_mul(k.into())) } /// Storage: `Staking::Ledger` (r:1 w:0) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) + /// Storage: `Staking::Bonded` (r:1 w:0) + /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Storage: `Staking::MinNominatorBond` (r:1 w:0) /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Staking::Nominators` (r:1 w:1) @@ -249,8 +253,6 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`) /// Storage: `Staking::CurrentEra` (r:1 w:0) /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Staking::Bonded` (r:1 w:0) - /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Storage: `BagsList::ListNodes` (r:2 w:2) /// Proof: `BagsList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) /// Storage: `BagsList::ListBags` (r:1 w:1) @@ -262,13 +264,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1901 + n * (97 ±0)` + // Measured: `1894 + n * (99 ±0)` // Estimated: `6248 + n * (2520 ±0)` - // Minimum execution time: 58_000_000 picoseconds. - Weight::from_parts(55_060_773, 0) + // Minimum execution time: 75_000_000 picoseconds. + Weight::from_parts(72_022_914, 0) .saturating_add(Weight::from_parts(0, 6248)) - // Standard Error: 327_445 - .saturating_add(Weight::from_parts(3_895_027, 0).saturating_mul(n.into())) + // Standard Error: 13_488 + .saturating_add(Weight::from_parts(4_295_646, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(6)) @@ -276,6 +278,8 @@ impl pallet_staking::WeightInfo for WeightInfo { } /// Storage: `Staking::Ledger` (r:1 w:0) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) + /// Storage: `Staking::Bonded` (r:1 w:0) + /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Storage: `Staking::Validators` (r:1 w:0) /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`) /// Storage: `Staking::Nominators` (r:1 w:1) @@ -290,12 +294,12 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `BagsList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn chill() -> Weight { // Proof Size summary in bytes: - // Measured: `1703` + // Measured: `1902` // Estimated: `6248` - // Minimum execution time: 49_000_000 picoseconds. - Weight::from_parts(52_000_000, 0) + // Minimum execution time: 66_000_000 picoseconds. + Weight::from_parts(67_000_000, 0) .saturating_add(Weight::from_parts(0, 6248)) - .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `Staking::Ledger` (r:1 w:0) @@ -308,24 +312,24 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `895` // Estimated: `4556` - // Minimum execution time: 17_000_000 picoseconds. - Weight::from_parts(17_000_000, 0) + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(24_000_000, 0) .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Staking::Bonded` (r:1 w:1) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) - /// Storage: `Staking::Ledger` (r:1 w:2) + /// Storage: `Staking::Ledger` (r:2 w:2) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) fn set_controller() -> Weight { // Proof Size summary in bytes: // Measured: `895` - // Estimated: `4556` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) - .saturating_add(Weight::from_parts(0, 4556)) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `8122` + // Minimum execution time: 28_000_000 picoseconds. + Weight::from_parts(29_000_000, 0) + .saturating_add(Weight::from_parts(0, 8122)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `Staking::ValidatorCount` (r:0 w:1) @@ -345,8 +349,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(8_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -356,8 +360,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -367,8 +371,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(10_000_000, 0) + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -380,10 +384,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Measured: `0` // Estimated: `0` // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(3_600_000, 0) + Weight::from_parts(3_404_899, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_280 - .saturating_add(Weight::from_parts(8_000, 0).saturating_mul(v.into())) + // Standard Error: 59 + .saturating_add(Weight::from_parts(9_114, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Staking::SlashingSpans` (r:1 w:1) @@ -417,17 +421,17 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn force_unstake(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2314 + s * (4 ±0)` - // Estimated: `6248 + s * (5 ±0)` - // Minimum execution time: 84_000_000 picoseconds. - Weight::from_parts(88_400_000, 0) + // Measured: `2315 + s * (4 ±0)` + // Estimated: `6248 + s * (4 ±0)` + // Minimum execution time: 99_000_000 picoseconds. + Weight::from_parts(103_680_113, 0) .saturating_add(Weight::from_parts(0, 6248)) - // Standard Error: 76_902 - .saturating_add(Weight::from_parts(1_636_000, 0).saturating_mul(s.into())) + // Standard Error: 2_669 + .saturating_add(Weight::from_parts(1_668_212, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(13)) - .saturating_add(T::DbWeight::get().writes(11)) + .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) - .saturating_add(Weight::from_parts(0, 5).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into())) } /// Storage: `Staking::UnappliedSlashes` (r:1 w:1) /// Proof: `Staking::UnappliedSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -436,11 +440,11 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `66559` // Estimated: `70024` - // Minimum execution time: 134_000_000 picoseconds. - Weight::from_parts(584_404_124, 0) + // Minimum execution time: 159_000_000 picoseconds. + Weight::from_parts(898_308_600, 0) .saturating_add(Weight::from_parts(0, 70024)) - // Standard Error: 360_188 - .saturating_add(Weight::from_parts(3_573_762, 0).saturating_mul(s.into())) + // Standard Error: 53_695 + .saturating_add(Weight::from_parts(4_511_950, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -469,13 +473,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 256]`. fn payout_stakers_dead_controller(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `19537 + n * (165 ±0)` - // Estimated: `16231 + n * (2603 ±19)` - // Minimum execution time: 113_000_000 picoseconds. - Weight::from_parts(76_500_000, 0) - .saturating_add(Weight::from_parts(0, 16231)) - // Standard Error: 302_623 - .saturating_add(Weight::from_parts(26_922_656, 0).saturating_mul(n.into())) + // Measured: `21597 + n * (156 ±0)` + // Estimated: `21359 + n * (2603 ±0)` + // Minimum execution time: 120_000_000 picoseconds. + Weight::from_parts(147_445_697, 0) + .saturating_add(Weight::from_parts(0, 21359)) + // Standard Error: 51_970 + .saturating_add(Weight::from_parts(30_689_698, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -507,13 +511,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 256]`. fn payout_stakers_alive_staked(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `31047 + n * (387 ±0)` - // Estimated: `21124 + n * (3774 ±0)` - // Minimum execution time: 121_000_000 picoseconds. - Weight::from_parts(59_800_000, 0) - .saturating_add(Weight::from_parts(0, 21124)) - // Standard Error: 1_149_740 - .saturating_add(Weight::from_parts(49_407_812, 0).saturating_mul(n.into())) + // Measured: `33334 + n * (377 ±0)` + // Estimated: `30950 + n * (3774 ±3)` + // Minimum execution time: 139_000_000 picoseconds. + Weight::from_parts(128_020_134, 0) + .saturating_add(Weight::from_parts(0, 30950)) + // Standard Error: 127_013 + .saturating_add(Weight::from_parts(60_887_922, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -533,13 +537,15 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Storage: `BagsList::ListBags` (r:2 w:2) /// Proof: `BagsList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) /// The range of component `l` is `[1, 32]`. - fn rebond(_l: u32, ) -> Weight { + fn rebond(l: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2043 + l * (7 ±0)` // Estimated: `8877` - // Minimum execution time: 76_000_000 picoseconds. - Weight::from_parts(83_260_019, 0) + // Minimum execution time: 97_000_000 picoseconds. + Weight::from_parts(98_862_826, 0) .saturating_add(Weight::from_parts(0, 8877)) + // Standard Error: 6_173 + .saturating_add(Weight::from_parts(248_637, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -572,13 +578,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn reap_stash(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2314 + s * (4 ±0)` + // Measured: `2315 + s * (4 ±0)` // Estimated: `6248 + s * (4 ±0)` - // Minimum execution time: 90_000_000 picoseconds. - Weight::from_parts(84_857_156, 0) + // Minimum execution time: 112_000_000 picoseconds. + Weight::from_parts(114_710_189, 0) .saturating_add(Weight::from_parts(0, 6248)) - // Standard Error: 124_905 - .saturating_add(Weight::from_parts(1_847_466, 0).saturating_mul(s.into())) + // Standard Error: 7_519 + .saturating_add(Weight::from_parts(1_702_715, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(11)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -622,15 +628,15 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 100]`. fn new_era(v: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + n * (718 ±0) + v * (3598 ±0)` + // Measured: `0 + n * (720 ±0) + v * (3598 ±0)` // Estimated: `512390 + n * (3566 ±0) + v * (3566 ±0)` - // Minimum execution time: 571_000_000 picoseconds. - Weight::from_parts(571_000_000, 0) + // Minimum execution time: 706_000_000 picoseconds. + Weight::from_parts(710_000_000, 0) .saturating_add(Weight::from_parts(0, 512390)) - // Standard Error: 17_296_501 - .saturating_add(Weight::from_parts(60_205_821, 0).saturating_mul(v.into())) - // Standard Error: 1_724_490 - .saturating_add(Weight::from_parts(17_590_317, 0).saturating_mul(n.into())) + // Standard Error: 2_006_439 + .saturating_add(Weight::from_parts(65_379_768, 0).saturating_mul(v.into())) + // Standard Error: 199_930 + .saturating_add(Weight::from_parts(23_006_925, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(206)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) @@ -659,15 +665,15 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[500, 1000]`. fn get_npos_voters(v: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3248 + n * (911 ±0) + v * (394 ±0)` + // Measured: `3206 + n * (911 ±0) + v * (395 ±0)` // Estimated: `512390 + n * (3566 ±0) + v * (3566 ±0)` - // Minimum execution time: 30_828_000_000 picoseconds. - Weight::from_parts(30_828_000_000, 0) + // Minimum execution time: 40_371_000_000 picoseconds. + Weight::from_parts(40_648_000_000, 0) .saturating_add(Weight::from_parts(0, 512390)) - // Standard Error: 2_895_242 - .saturating_add(Weight::from_parts(6_771_423, 0).saturating_mul(v.into())) - // Standard Error: 2_895_242 - .saturating_add(Weight::from_parts(2_898_223, 0).saturating_mul(n.into())) + // Standard Error: 512_764 + .saturating_add(Weight::from_parts(8_707_758, 0).saturating_mul(v.into())) + // Standard Error: 512_764 + .saturating_add(Weight::from_parts(5_320_255, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(201)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) @@ -682,13 +688,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `v` is `[500, 1000]`. fn get_npos_targets(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `891 + v * (50 ±0)` + // Measured: `903 + v * (50 ±0)` // Estimated: `3510 + v * (2520 ±0)` - // Minimum execution time: 2_418_000_000 picoseconds. - Weight::from_parts(326_400_000, 0) + // Minimum execution time: 2_862_000_000 picoseconds. + Weight::from_parts(134_989_881, 0) .saturating_add(Weight::from_parts(0, 3510)) - // Standard Error: 319_359 - .saturating_add(Weight::from_parts(4_408_400, 0).saturating_mul(v.into())) + // Standard Error: 32_618 + .saturating_add(Weight::from_parts(5_653_789, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(Weight::from_parts(0, 2520).saturating_mul(v.into())) @@ -709,7 +715,7 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. + // Minimum execution time: 4_000_000 picoseconds. Weight::from_parts(5_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) @@ -737,6 +743,8 @@ impl pallet_staking::WeightInfo for WeightInfo { } /// Storage: `Staking::Ledger` (r:1 w:0) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) + /// Storage: `Staking::Bonded` (r:1 w:0) + /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Storage: `Staking::Nominators` (r:1 w:1) /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) /// Storage: `Staking::ChillThreshold` (r:1 w:0) @@ -757,12 +765,12 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `BagsList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn chill_other() -> Weight { // Proof Size summary in bytes: - // Measured: `1839` + // Measured: `2038` // Estimated: `6248` - // Minimum execution time: 59_000_000 picoseconds. - Weight::from_parts(62_000_000, 0) + // Minimum execution time: 79_000_000 picoseconds. + Weight::from_parts(81_000_000, 0) .saturating_add(Weight::from_parts(0, 6248)) - .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `Staking::MinCommission` (r:1 w:0) @@ -773,8 +781,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `613` // Estimated: `3510` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) .saturating_add(Weight::from_parts(0, 3510)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/src/weights/pallet_staking_extension.rs b/runtime/src/weights/pallet_staking_extension.rs index e6876e58e..22f468033 100644 --- a/runtime/src/weights/pallet_staking_extension.rs +++ b/runtime/src/weights/pallet_staking_extension.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_staking_extension` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_staking_extension // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -56,36 +56,38 @@ impl pallet_staking_extension::WeightInfo for WeightInf /// Proof: `StakingExtension::ThresholdServers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn change_endpoint() -> Weight { // Proof Size summary in bytes: - // Measured: `1255` - // Estimated: `4720` - // Minimum execution time: 29_000_000 picoseconds. - Weight::from_parts(31_000_000, 0) - .saturating_add(Weight::from_parts(0, 4720)) + // Measured: `1285` + // Estimated: `4750` + // Minimum execution time: 34_000_000 picoseconds. + Weight::from_parts(35_000_000, 0) + .saturating_add(Weight::from_parts(0, 4750)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: `StakingExtension::ThresholdToStash` (r:1 w:1) + /// Proof: `StakingExtension::ThresholdToStash` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Staking::Ledger` (r:1 w:0) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) + /// Storage: `Staking::Bonded` (r:1 w:0) + /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Storage: `StakingExtension::ThresholdServers` (r:1 w:1) /// Proof: `StakingExtension::ThresholdServers` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `StakingExtension::ThresholdToStash` (r:0 w:1) - /// Proof: `StakingExtension::ThresholdToStash` (`max_values`: None, `max_size`: None, mode: `Measured`) fn change_threshold_accounts() -> Weight { // Proof Size summary in bytes: - // Measured: `1122` - // Estimated: `4587` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(24_000_000, 0) - .saturating_add(Weight::from_parts(0, 4587)) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `1340` + // Estimated: `4805` + // Minimum execution time: 38_000_000 picoseconds. + Weight::from_parts(43_000_000, 0) + .saturating_add(Weight::from_parts(0, 4805)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `Staking::Ledger` (r:1 w:1) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) - /// Storage: `Staking::CurrentEra` (r:1 w:0) - /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Staking::Bonded` (r:1 w:0) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + /// Storage: `Staking::CurrentEra` (r:1 w:0) + /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, 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) @@ -96,14 +98,18 @@ impl pallet_staking_extension::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `1172` // Estimated: `4764` - // Minimum execution time: 44_000_000 picoseconds. - Weight::from_parts(45_000_000, 0) + // Minimum execution time: 59_000_000 picoseconds. + Weight::from_parts(62_000_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } + /// Storage: `StakingExtension::ThresholdToStash` (r:1 w:1) + /// Proof: `StakingExtension::ThresholdToStash` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Staking::Ledger` (r:1 w:0) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) + /// Storage: `Staking::Bonded` (r:1 w:0) + /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Storage: `Staking::MinValidatorBond` (r:1 w:0) /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Staking::MinCommission` (r:1 w:0) @@ -114,8 +120,6 @@ impl pallet_staking_extension::WeightInfo for WeightInf /// Proof: `Staking::MaxValidatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Staking::Nominators` (r:1 w:0) /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) - /// Storage: `Staking::Bonded` (r:1 w:0) - /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Storage: `BagsList::ListNodes` (r:1 w:1) /// Proof: `BagsList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) /// Storage: `BagsList::ListBags` (r:1 w:1) @@ -126,16 +130,14 @@ impl pallet_staking_extension::WeightInfo for WeightInf /// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `StakingExtension::ThresholdServers` (r:0 w:1) /// Proof: `StakingExtension::ThresholdServers` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `StakingExtension::ThresholdToStash` (r:0 w:1) - /// Proof: `StakingExtension::ThresholdToStash` (`max_values`: None, `max_size`: None, mode: `Measured`) fn validate() -> Weight { // Proof Size summary in bytes: - // Measured: `1431` - // Estimated: `4556` - // Minimum execution time: 58_000_000 picoseconds. - Weight::from_parts(62_000_000, 0) - .saturating_add(Weight::from_parts(0, 4556)) - .saturating_add(T::DbWeight::get().reads(11)) + // Measured: `1698` + // Estimated: `5163` + // Minimum execution time: 81_000_000 picoseconds. + Weight::from_parts(84_000_000, 0) + .saturating_add(Weight::from_parts(0, 5163)) + .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: `StakingExtension::ThresholdToStash` (r:1 w:0) @@ -144,31 +146,35 @@ impl pallet_staking_extension::WeightInfo for WeightInf /// Proof: `StakingExtension::IsValidatorSynced` (`max_values`: None, `max_size`: None, mode: `Measured`) fn declare_synced() -> Weight { // Proof Size summary in bytes: - // Measured: `289` - // Estimated: `3754` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(15_000_000, 0) - .saturating_add(Weight::from_parts(0, 3754)) + // Measured: `319` + // Estimated: `3784` + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `StakingExtension::SigningGroups` (r:2 w:2) /// Proof: `StakingExtension::SigningGroups` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `StakingExtension::ValidatorToSubgroup` (r:0 w:2000) + /// Proof: `StakingExtension::ValidatorToSubgroup` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `c` is `[0, 1000]`. /// The range of component `n` is `[0, 1000]`. fn new_session_handler_helper(c: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `222 + c * (32 ±0)` - // Estimated: `6154 + c * (32 ±0)` - // Minimum execution time: 21_000_000 picoseconds. - Weight::from_parts(21_000_000, 0) - .saturating_add(Weight::from_parts(0, 6154)) - // Standard Error: 248_480 - .saturating_add(Weight::from_parts(912_570, 0).saturating_mul(c.into())) - // Standard Error: 248_480 - .saturating_add(Weight::from_parts(920_037, 0).saturating_mul(n.into())) + // Measured: `252 + c * (32 ±0)` + // Estimated: `6187 + c * (32 ±0)` + // Minimum execution time: 1_244_000_000 picoseconds. + Weight::from_parts(1_247_000_000, 0) + .saturating_add(Weight::from_parts(0, 6187)) + // Standard Error: 50_701 + .saturating_add(Weight::from_parts(1_627_831, 0).saturating_mul(c.into())) + // Standard Error: 50_701 + .saturating_add(Weight::from_parts(1_819_989, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 32).saturating_mul(c.into())) } } \ No newline at end of file diff --git a/runtime/src/weights/pallet_sudo.rs b/runtime/src/weights/pallet_sudo.rs index 349ca5bbf..58cc0840c 100644 --- a/runtime/src/weights/pallet_sudo.rs +++ b/runtime/src/weights/pallet_sudo.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_sudo` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_sudo // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -55,7 +55,7 @@ impl pallet_sudo::WeightInfo for WeightInfo { // Measured: `136` // Estimated: `1517` // Minimum execution time: 10_000_000 picoseconds. - Weight::from_parts(10_000_000, 0) + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 1517)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -66,8 +66,8 @@ impl pallet_sudo::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `136` // Estimated: `1517` - // Minimum execution time: 10_000_000 picoseconds. - Weight::from_parts(11_000_000, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_000_000, 0) .saturating_add(Weight::from_parts(0, 1517)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -77,7 +77,7 @@ impl pallet_sudo::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `136` // Estimated: `1517` - // Minimum execution time: 10_000_000 picoseconds. + // Minimum execution time: 11_000_000 picoseconds. Weight::from_parts(12_000_000, 0) .saturating_add(Weight::from_parts(0, 1517)) .saturating_add(T::DbWeight::get().reads(1)) diff --git a/runtime/src/weights/pallet_timestamp.rs b/runtime/src/weights/pallet_timestamp.rs index 78e713dde..1fa1ce7f1 100644 --- a/runtime/src/weights/pallet_timestamp.rs +++ b/runtime/src/weights/pallet_timestamp.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_timestamp // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -57,7 +57,7 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Measured: `245` // Estimated: `1493` // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + Weight::from_parts(10_000_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/runtime/src/weights/pallet_tips.rs b/runtime/src/weights/pallet_tips.rs index 224de6eaa..ce00dd8ae 100644 --- a/runtime/src/weights/pallet_tips.rs +++ b/runtime/src/weights/pallet_tips.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_tips` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_tips // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -57,11 +57,11 @@ impl pallet_tips::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4` // Estimated: `3469` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(33_000_000, 0) + // Minimum execution time: 30_000_000 picoseconds. + Weight::from_parts(30_250_256, 0) .saturating_add(Weight::from_parts(0, 3469)) - // Standard Error: 356 - .saturating_add(Weight::from_parts(903, 0).saturating_mul(r.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_769, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -73,8 +73,8 @@ impl pallet_tips::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `221` // Estimated: `3686` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(27_000_000, 0) + // Minimum execution time: 28_000_000 picoseconds. + Weight::from_parts(29_000_000, 0) .saturating_add(Weight::from_parts(0, 3686)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -89,13 +89,15 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 13]`. fn tip_new(r: u32, t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `848 + t * (64 ±0)` - // Estimated: `4313 + t * (64 ±0)` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(18_542_857, 0) - .saturating_add(Weight::from_parts(0, 4313)) - // Standard Error: 73 - .saturating_add(Weight::from_parts(1_314, 0).saturating_mul(r.into())) + // Measured: `815 + t * (64 ±0)` + // Estimated: `4280 + t * (64 ±0)` + // Minimum execution time: 18_000_000 picoseconds. + Weight::from_parts(16_706_524, 0) + .saturating_add(Weight::from_parts(0, 4280)) + // Standard Error: 7 + .saturating_add(Weight::from_parts(1_794, 0).saturating_mul(r.into())) + // Standard Error: 9_316 + .saturating_add(Weight::from_parts(162_281, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(t.into())) @@ -107,13 +109,13 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 13]`. fn tip(t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1069 + t * (112 ±0)` - // Estimated: `4534 + t * (112 ±0)` - // Minimum execution time: 13_000_000 picoseconds. - Weight::from_parts(14_833_333, 0) - .saturating_add(Weight::from_parts(0, 4534)) - // Standard Error: 103_077 - .saturating_add(Weight::from_parts(66_666, 0).saturating_mul(t.into())) + // Measured: `1036 + t * (112 ±0)` + // Estimated: `4501 + t * (112 ±0)` + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(17_188_517, 0) + .saturating_add(Weight::from_parts(0, 4501)) + // Standard Error: 5_419 + .saturating_add(Weight::from_parts(86_730, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 112).saturating_mul(t.into())) @@ -129,14 +131,16 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 13]`. fn close_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1141 + t * (112 ±0)` - // Estimated: `4617 + t * (108 ±1)` - // Minimum execution time: 56_000_000 picoseconds. - Weight::from_parts(58_683_333, 0) - .saturating_add(Weight::from_parts(0, 4617)) + // Measured: `1088 + t * (112 ±0)` + // Estimated: `4548 + t * (112 ±0)` + // Minimum execution time: 65_000_000 picoseconds. + Weight::from_parts(66_616_019, 0) + .saturating_add(Weight::from_parts(0, 4548)) + // Standard Error: 7_840 + .saturating_add(Weight::from_parts(114_107, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 108).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 112).saturating_mul(t.into())) } /// Storage: `Tips::Tips` (r:1 w:1) /// Proof: `Tips::Tips` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -147,8 +151,8 @@ impl pallet_tips::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `269` // Estimated: `3734` - // Minimum execution time: 10_000_000 picoseconds. - Weight::from_parts(11_216_666, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(12_568_185, 0) .saturating_add(Weight::from_parts(0, 3734)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/runtime/src/weights/pallet_transaction_pause.rs b/runtime/src/weights/pallet_transaction_pause.rs index 046a0df9b..1b5631371 100644 --- a/runtime/src/weights/pallet_transaction_pause.rs +++ b/runtime/src/weights/pallet_transaction_pause.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_transaction_pause` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_transaction_pause // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -54,8 +54,8 @@ impl pallet_transaction_pause::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `109` // Estimated: `3574` - // Minimum execution time: 10_000_000 picoseconds. - Weight::from_parts(11_000_000, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_000_000, 0) .saturating_add(Weight::from_parts(0, 3574)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -66,7 +66,7 @@ impl pallet_transaction_pause::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `160` // Estimated: `3625` - // Minimum execution time: 11_000_000 picoseconds. + // Minimum execution time: 12_000_000 picoseconds. Weight::from_parts(13_000_000, 0) .saturating_add(Weight::from_parts(0, 3625)) .saturating_add(T::DbWeight::get().reads(1)) diff --git a/runtime/src/weights/pallet_transaction_storage.rs b/runtime/src/weights/pallet_transaction_storage.rs index 58f9a10a8..5a56b1144 100644 --- a/runtime/src/weights/pallet_transaction_storage.rs +++ b/runtime/src/weights/pallet_transaction_storage.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_transaction_storage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 29.0.0 -//! DATE: 2024-01-24, STEPS: `5`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `hcastano`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 @@ -30,8 +30,8 @@ // --wasm-execution=compiled // --pallet=pallet_transaction_storage // --extrinsic=* -// --steps=5 -// --repeat=2 +// --steps=50 +// --repeat=20 // --header=.maintain/AGPL-3.0-header.txt // --template // .maintain/frame-weight-template.hbs @@ -57,13 +57,13 @@ impl pallet_transaction_storage::WeightInfo for WeightI /// The range of component `l` is `[1, 8388608]`. fn store(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `142` + // Measured: `105` // Estimated: `38351` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(30_000_000, 0) + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(33_000_000, 0) .saturating_add(Weight::from_parts(0, 38351)) - // Standard Error: 46 - .saturating_add(Weight::from_parts(5_694, 0).saturating_mul(l.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(6_621, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -77,10 +77,10 @@ impl pallet_transaction_storage::WeightInfo for WeightI /// Proof: `TransactionStorage::BlockTransactions` (`max_values`: Some(1), `max_size`: Some(36866), added: 37361, mode: `MaxEncodedLen`) fn renew() -> Weight { // Proof Size summary in bytes: - // Measured: `292` + // Measured: `255` // Estimated: `40351` - // Minimum execution time: 44_000_000 picoseconds. - Weight::from_parts(44_000_000, 0) + // Minimum execution time: 48_000_000 picoseconds. + Weight::from_parts(52_000_000, 0) .saturating_add(Weight::from_parts(0, 40351)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) @@ -97,10 +97,10 @@ impl pallet_transaction_storage::WeightInfo for WeightI /// Proof: `TransactionStorage::Transactions` (`max_values`: None, `max_size`: Some(36886), added: 39361, mode: `MaxEncodedLen`) fn check_proof_max() -> Weight { // Proof Size summary in bytes: - // Measured: `37111` + // Measured: `37074` // Estimated: `40351` - // Minimum execution time: 78_000_000 picoseconds. - Weight::from_parts(85_000_000, 0) + // Minimum execution time: 79_000_000 picoseconds. + Weight::from_parts(90_000_000, 0) .saturating_add(Weight::from_parts(0, 40351)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1))