diff --git a/state-chain/pallets/cf-account-roles/src/weights.rs b/state-chain/pallets/cf-account-roles/src/weights.rs index c3a24b7609..0a2b3a8336 100644 --- a/state-chain/pallets/cf-account-roles/src/weights.rs +++ b/state-chain/pallets/cf-account-roles/src/weights.rs @@ -2,23 +2,23 @@ //! Autogenerated weights for pallet_cf_account_roles //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `20`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-03, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `JamiesM1.local`, CPU: `` +//! HOSTNAME: `ip-172-31-0-210`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev-3"), DB CACHE: 1024 // Executed Command: -// ./target/release/chainflip-node +// ./chainflip-node // benchmark // pallet +// --pallet +// pallet_cf_account_roles // --extrinsic // * -// --pallet -// pallet_cf_account-roles // --output // state-chain/pallets/cf-account-roles/src/weights.rs // --steps=20 -// --repeat=20 +// --repeat=10 // --template=state-chain/chainflip-weight-template.hbs // --chain=dev-3 @@ -44,8 +44,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `546` // Estimated: `2031` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(12_000_000, 2031) + // Minimum execution time: 14_622_000 picoseconds. + Weight::from_parts(14_976_000, 2031) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -59,8 +59,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `546` // Estimated: `2031` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(12_000_000, 2031) + // Minimum execution time: 14_622_000 picoseconds. + Weight::from_parts(14_976_000, 2031) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/state-chain/pallets/cf-broadcast/src/weights.rs b/state-chain/pallets/cf-broadcast/src/weights.rs index d7c00eb57d..7e48d1cccf 100644 --- a/state-chain/pallets/cf-broadcast/src/weights.rs +++ b/state-chain/pallets/cf-broadcast/src/weights.rs @@ -2,13 +2,13 @@ //! Autogenerated weights for pallet_cf_broadcast //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `2`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-03, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `wagmi.local`, CPU: `` +//! HOSTNAME: `ip-172-31-0-210`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev-3"), DB CACHE: 1024 // Executed Command: -// ./target/debug/chainflip-node +// ./chainflip-node // benchmark // pallet // --pallet @@ -17,8 +17,8 @@ // * // --output // state-chain/pallets/cf-broadcast/src/weights.rs -// --steps=2 -// --repeat=2 +// --steps=20 +// --repeat=10 // --template=state-chain/chainflip-weight-template.hbs // --chain=dev-3 @@ -76,24 +76,24 @@ impl WeightInfo for PalletWeight { /// The range of component `r` is `[1, 50]`. fn on_initialize(t: u32, r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + r * (646 ±0) + t * (109 ±0)` - // Estimated: `125216 + r * (3028 ±0) + t * (826 ±0)` - // Minimum execution time: 7_497_000_000 picoseconds. - Weight::from_parts(7_497_000_000, 125216) - // Standard Error: 44_657_667 - .saturating_add(Weight::from_parts(57_327_234, 0).saturating_mul(t.into())) - // Standard Error: 44_657_667 - .saturating_add(Weight::from_parts(272_725_193, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Measured: `0 + r * (608 ±0) + t * (107 ±0)` + // Estimated: `125203 + r * (2888 ±3) + t * (910 ±3)` + // Minimum execution time: 631_834_000 picoseconds. + Weight::from_parts(634_625_000, 125203) + // Standard Error: 395_754 + .saturating_add(Weight::from_parts(6_190_917, 0).saturating_mul(t.into())) + // Standard Error: 395_754 + .saturating_add(Weight::from_parts(24_607_455, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(51_u64)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 3028).saturating_mul(r.into())) - .saturating_add(Weight::from_parts(0, 826).saturating_mul(t.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_parts(0, 2888).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 910).saturating_mul(t.into())) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `EthereumBroadcaster::PendingBroadcasts` (r:1 w:0) /// Proof: `EthereumBroadcaster::PendingBroadcasts` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `EthereumBroadcaster::FailedBroadcasters` (r:1 w:1) @@ -104,10 +104,10 @@ impl WeightInfo for PalletWeight { /// Proof: `EthereumBroadcaster::DelayedBroadcastRetryQueue` (`max_values`: None, `max_size`: None, mode: `Measured`) fn transaction_failed() -> Weight { // Proof Size summary in bytes: - // Measured: `1110` - // Estimated: `4575` - // Minimum execution time: 268_000_000 picoseconds. - Weight::from_parts(289_000_000, 4575) + // Measured: `1131` + // Estimated: `4596` + // Minimum execution time: 34_042_000 picoseconds. + Weight::from_parts(34_660_000, 4596) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -139,10 +139,10 @@ impl WeightInfo for PalletWeight { /// Proof: `EthereumBroadcaster::TransactionOutIdToBroadcastId` (`max_values`: None, `max_size`: None, mode: `Measured`) fn on_signature_ready() -> Weight { // Proof Size summary in bytes: - // Measured: `1369` - // Estimated: `7309` - // Minimum execution time: 674_000_000 picoseconds. - Weight::from_parts(790_000_000, 7309) + // Measured: `1356` + // Estimated: `7296` + // Minimum execution time: 84_007_000 picoseconds. + Weight::from_parts(86_495_000, 7296) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -170,10 +170,10 @@ impl WeightInfo for PalletWeight { /// Proof: `EthereumBroadcaster::TransactionMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) fn start_next_broadcast_attempt() -> Weight { // Proof Size summary in bytes: - // Measured: `1789` - // Estimated: `7729` - // Minimum execution time: 549_000_000 picoseconds. - Weight::from_parts(579_000_000, 7729) + // Measured: `1776` + // Estimated: `7716` + // Minimum execution time: 65_944_000 picoseconds. + Weight::from_parts(66_717_000, 7716) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -201,8 +201,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `947` // Estimated: `4412` - // Minimum execution time: 449_000_000 picoseconds. - Weight::from_parts(458_000_000, 4412) + // Minimum execution time: 52_973_000 picoseconds. + Weight::from_parts(54_117_000, 4412) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -244,24 +244,24 @@ impl WeightInfo for () { /// The range of component `r` is `[1, 50]`. fn on_initialize(t: u32, r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + r * (646 ±0) + t * (109 ±0)` - // Estimated: `125216 + r * (3028 ±0) + t * (826 ±0)` - // Minimum execution time: 7_497_000_000 picoseconds. - Weight::from_parts(7_497_000_000, 125216) - // Standard Error: 44_657_667 - .saturating_add(Weight::from_parts(57_327_234, 0).saturating_mul(t.into())) - // Standard Error: 44_657_667 - .saturating_add(Weight::from_parts(272_725_193, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Measured: `0 + r * (608 ±0) + t * (107 ±0)` + // Estimated: `125203 + r * (2888 ±3) + t * (910 ±3)` + // Minimum execution time: 631_834_000 picoseconds. + Weight::from_parts(634_625_000, 125203) + // Standard Error: 395_754 + .saturating_add(Weight::from_parts(6_190_917, 0).saturating_mul(t.into())) + // Standard Error: 395_754 + .saturating_add(Weight::from_parts(24_607_455, 0).saturating_mul(r.into())) + .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into()))) - .saturating_add(RocksDbWeight::get().writes(51_u64)) - .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 3028).saturating_mul(r.into())) - .saturating_add(Weight::from_parts(0, 826).saturating_mul(t.into())) + .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) + .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_parts(0, 2888).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 910).saturating_mul(t.into())) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `EthereumBroadcaster::PendingBroadcasts` (r:1 w:0) /// Proof: `EthereumBroadcaster::PendingBroadcasts` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `EthereumBroadcaster::FailedBroadcasters` (r:1 w:1) @@ -272,10 +272,10 @@ impl WeightInfo for () { /// Proof: `EthereumBroadcaster::DelayedBroadcastRetryQueue` (`max_values`: None, `max_size`: None, mode: `Measured`) fn transaction_failed() -> Weight { // Proof Size summary in bytes: - // Measured: `1110` - // Estimated: `4575` - // Minimum execution time: 268_000_000 picoseconds. - Weight::from_parts(289_000_000, 4575) + // Measured: `1131` + // Estimated: `4596` + // Minimum execution time: 34_042_000 picoseconds. + Weight::from_parts(34_660_000, 4596) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -307,10 +307,10 @@ impl WeightInfo for () { /// Proof: `EthereumBroadcaster::TransactionOutIdToBroadcastId` (`max_values`: None, `max_size`: None, mode: `Measured`) fn on_signature_ready() -> Weight { // Proof Size summary in bytes: - // Measured: `1369` - // Estimated: `7309` - // Minimum execution time: 674_000_000 picoseconds. - Weight::from_parts(790_000_000, 7309) + // Measured: `1356` + // Estimated: `7296` + // Minimum execution time: 84_007_000 picoseconds. + Weight::from_parts(86_495_000, 7296) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -338,10 +338,10 @@ impl WeightInfo for () { /// Proof: `EthereumBroadcaster::TransactionMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) fn start_next_broadcast_attempt() -> Weight { // Proof Size summary in bytes: - // Measured: `1789` - // Estimated: `7729` - // Minimum execution time: 549_000_000 picoseconds. - Weight::from_parts(579_000_000, 7729) + // Measured: `1776` + // Estimated: `7716` + // Minimum execution time: 65_944_000 picoseconds. + Weight::from_parts(66_717_000, 7716) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -369,8 +369,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `947` // Estimated: `4412` - // Minimum execution time: 449_000_000 picoseconds. - Weight::from_parts(458_000_000, 4412) + // Minimum execution time: 52_973_000 picoseconds. + Weight::from_parts(54_117_000, 4412) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } diff --git a/state-chain/pallets/cf-cfe-interface/src/weights.rs b/state-chain/pallets/cf-cfe-interface/src/weights.rs index c867598349..7389fcd748 100644 --- a/state-chain/pallets/cf-cfe-interface/src/weights.rs +++ b/state-chain/pallets/cf-cfe-interface/src/weights.rs @@ -2,13 +2,13 @@ //! Autogenerated weights for pallet_cf_cfe_interface //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `2`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-03, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `wagmi.local`, CPU: `` +//! HOSTNAME: `ip-172-31-0-210`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev-3"), DB CACHE: 1024 // Executed Command: -// ./target/debug/chainflip-node +// ./chainflip-node // benchmark // pallet // --pallet @@ -17,8 +17,8 @@ // * // --output // state-chain/pallets/cf-cfe-interface/src/weights.rs -// --steps=2 -// --repeat=2 +// --steps=20 +// --repeat=10 // --template=state-chain/chainflip-weight-template.hbs // --chain=dev-3 @@ -44,8 +44,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 709_000 picoseconds. + Weight::from_parts(880_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } @@ -58,8 +58,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 709_000 picoseconds. + Weight::from_parts(880_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/state-chain/pallets/cf-chain-tracking/src/weights.rs b/state-chain/pallets/cf-chain-tracking/src/weights.rs index b2e436adfe..3ca9e15dea 100644 --- a/state-chain/pallets/cf-chain-tracking/src/weights.rs +++ b/state-chain/pallets/cf-chain-tracking/src/weights.rs @@ -2,13 +2,13 @@ //! Autogenerated weights for pallet_cf_chain_tracking //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `2`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-03, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `wagmi.local`, CPU: `` +//! HOSTNAME: `ip-172-31-0-210`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev-3"), DB CACHE: 1024 // Executed Command: -// ./target/debug/chainflip-node +// ./chainflip-node // benchmark // pallet // --pallet @@ -17,8 +17,8 @@ // * // --output // state-chain/pallets/cf-chain-tracking/src/weights.rs -// --steps=2 -// --repeat=2 +// --steps=20 +// --repeat=10 // --template=state-chain/chainflip-weight-template.hbs // --chain=dev-3 @@ -44,8 +44,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `175` // Estimated: `1525` - // Minimum execution time: 91_000_000 picoseconds. - Weight::from_parts(97_000_000, 1525) + // Minimum execution time: 10_512_000 picoseconds. + Weight::from_parts(10_708_000, 1525) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -59,8 +59,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `175` // Estimated: `1525` - // Minimum execution time: 91_000_000 picoseconds. - Weight::from_parts(97_000_000, 1525) + // Minimum execution time: 10_512_000 picoseconds. + Weight::from_parts(10_708_000, 1525) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/state-chain/pallets/cf-emissions/src/weights.rs b/state-chain/pallets/cf-emissions/src/weights.rs index 3aaf6dd704..e4b3b8a4da 100644 --- a/state-chain/pallets/cf-emissions/src/weights.rs +++ b/state-chain/pallets/cf-emissions/src/weights.rs @@ -2,13 +2,13 @@ //! Autogenerated weights for pallet_cf_emissions //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `2`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-03, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `wagmi.local`, CPU: `` +//! HOSTNAME: `ip-172-31-0-210`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev-3"), DB CACHE: 1024 // Executed Command: -// ./target/debug/chainflip-node +// ./chainflip-node // benchmark // pallet // --pallet @@ -17,8 +17,8 @@ // * // --output // state-chain/pallets/cf-emissions/src/weights.rs -// --steps=2 -// --repeat=2 +// --steps=20 +// --repeat=10 // --template=state-chain/chainflip-weight-template.hbs // --chain=dev-3 @@ -48,8 +48,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 63_000_000 picoseconds. - Weight::from_parts(81_000_000, 0) + // Minimum execution time: 6_601_000 picoseconds. + Weight::from_parts(7_031_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Emissions::CurrentAuthorityEmissionInflation` (r:0 w:1) @@ -58,8 +58,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 62_000_000 picoseconds. - Weight::from_parts(78_000_000, 0) + // Minimum execution time: 6_617_000 picoseconds. + Weight::from_parts(6_805_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Emissions::CurrentAuthorityEmissionPerBlock` (r:1 w:0) @@ -124,10 +124,10 @@ impl WeightInfo for PalletWeight { /// Proof: `EvmThresholdSigner::RequestCallback` (`max_values`: None, `max_size`: None, mode: `Measured`) fn rewards_minted() -> Weight { // Proof Size summary in bytes: - // Measured: `2781` - // Estimated: `13671` - // Minimum execution time: 1_139_000_000 picoseconds. - Weight::from_parts(1_183_000_000, 13671) + // Measured: `2768` + // Estimated: `13658` + // Minimum execution time: 132_987_000 picoseconds. + Weight::from_parts(134_960_000, 13658) .saturating_add(T::DbWeight::get().reads(30_u64)) .saturating_add(T::DbWeight::get().writes(14_u64)) } @@ -153,8 +153,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `1275` // Estimated: `6287` - // Minimum execution time: 268_000_000 picoseconds. - Weight::from_parts(279_000_000, 6287) + // Minimum execution time: 31_655_000 picoseconds. + Weight::from_parts(32_278_000, 6287) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -164,8 +164,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 60_000_000 picoseconds. - Weight::from_parts(72_000_000, 0) + // Minimum execution time: 6_155_000 picoseconds. + Weight::from_parts(6_329_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } @@ -178,8 +178,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 63_000_000 picoseconds. - Weight::from_parts(81_000_000, 0) + // Minimum execution time: 6_601_000 picoseconds. + Weight::from_parts(7_031_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Emissions::CurrentAuthorityEmissionInflation` (r:0 w:1) @@ -188,8 +188,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 62_000_000 picoseconds. - Weight::from_parts(78_000_000, 0) + // Minimum execution time: 6_617_000 picoseconds. + Weight::from_parts(6_805_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Emissions::CurrentAuthorityEmissionPerBlock` (r:1 w:0) @@ -254,10 +254,10 @@ impl WeightInfo for () { /// Proof: `EvmThresholdSigner::RequestCallback` (`max_values`: None, `max_size`: None, mode: `Measured`) fn rewards_minted() -> Weight { // Proof Size summary in bytes: - // Measured: `2781` - // Estimated: `13671` - // Minimum execution time: 1_139_000_000 picoseconds. - Weight::from_parts(1_183_000_000, 13671) + // Measured: `2768` + // Estimated: `13658` + // Minimum execution time: 132_987_000 picoseconds. + Weight::from_parts(134_960_000, 13658) .saturating_add(RocksDbWeight::get().reads(30_u64)) .saturating_add(RocksDbWeight::get().writes(14_u64)) } @@ -283,8 +283,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1275` // Estimated: `6287` - // Minimum execution time: 268_000_000 picoseconds. - Weight::from_parts(279_000_000, 6287) + // Minimum execution time: 31_655_000 picoseconds. + Weight::from_parts(32_278_000, 6287) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -294,8 +294,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 60_000_000 picoseconds. - Weight::from_parts(72_000_000, 0) + // Minimum execution time: 6_155_000 picoseconds. + Weight::from_parts(6_329_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/state-chain/pallets/cf-environment/src/weights.rs b/state-chain/pallets/cf-environment/src/weights.rs index 2718ff0550..e1e8f5f2c1 100644 --- a/state-chain/pallets/cf-environment/src/weights.rs +++ b/state-chain/pallets/cf-environment/src/weights.rs @@ -2,13 +2,13 @@ //! Autogenerated weights for pallet_cf_environment //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `2`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-03, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `wagmi.local`, CPU: `` +//! HOSTNAME: `ip-172-31-0-210`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev-3"), DB CACHE: 1024 // Executed Command: -// ./target/debug/chainflip-node +// ./chainflip-node // benchmark // pallet // --pallet @@ -17,8 +17,8 @@ // * // --output // state-chain/pallets/cf-environment/src/weights.rs -// --steps=2 -// --repeat=2 +// --steps=20 +// --repeat=10 // --template=state-chain/chainflip-weight-template.hbs // --chain=dev-3 @@ -45,8 +45,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 59_000_000 picoseconds. - Weight::from_parts(77_000_000, 0) + // Minimum execution time: 6_806_000 picoseconds. + Weight::from_parts(7_078_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Environment::ConsolidationParameters` (r:0 w:1) @@ -55,8 +55,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 58_000_000 picoseconds. - Weight::from_parts(71_000_000, 0) + // Minimum execution time: 6_166_000 picoseconds. + Weight::from_parts(6_706_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } @@ -69,8 +69,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 59_000_000 picoseconds. - Weight::from_parts(77_000_000, 0) + // Minimum execution time: 6_806_000 picoseconds. + Weight::from_parts(7_078_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Environment::ConsolidationParameters` (r:0 w:1) @@ -79,8 +79,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 58_000_000 picoseconds. - Weight::from_parts(71_000_000, 0) + // Minimum execution time: 6_166_000 picoseconds. + Weight::from_parts(6_706_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/state-chain/pallets/cf-flip/src/weights.rs b/state-chain/pallets/cf-flip/src/weights.rs index e190255a2d..2ca97ca167 100644 --- a/state-chain/pallets/cf-flip/src/weights.rs +++ b/state-chain/pallets/cf-flip/src/weights.rs @@ -2,13 +2,13 @@ //! Autogenerated weights for pallet_cf_flip //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `2`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-03, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `wagmi.local`, CPU: `` +//! HOSTNAME: `ip-172-31-0-210`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev-3"), DB CACHE: 1024 // Executed Command: -// ./target/debug/chainflip-node +// ./chainflip-node // benchmark // pallet // --pallet @@ -17,8 +17,8 @@ // * // --output // state-chain/pallets/cf-flip/src/weights.rs -// --steps=2 -// --repeat=2 +// --steps=20 +// --repeat=10 // --template=state-chain/chainflip-weight-template.hbs // --chain=dev-3 @@ -45,8 +45,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 57_000_000 picoseconds. - Weight::from_parts(66_000_000, 0) + // Minimum execution time: 5_919_000 picoseconds. + Weight::from_parts(6_221_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Flip::Account` (r:1 w:1) @@ -57,8 +57,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `611` // Estimated: `3545` - // Minimum execution time: 148_000_000 picoseconds. - Weight::from_parts(152_000_000, 3545) + // Minimum execution time: 16_659_000 picoseconds. + Weight::from_parts(17_050_000, 3545) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -72,8 +72,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 57_000_000 picoseconds. - Weight::from_parts(66_000_000, 0) + // Minimum execution time: 5_919_000 picoseconds. + Weight::from_parts(6_221_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Flip::Account` (r:1 w:1) @@ -84,8 +84,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `611` // Estimated: `3545` - // Minimum execution time: 148_000_000 picoseconds. - Weight::from_parts(152_000_000, 3545) + // Minimum execution time: 16_659_000 picoseconds. + Weight::from_parts(17_050_000, 3545) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } diff --git a/state-chain/pallets/cf-funding/src/weights.rs b/state-chain/pallets/cf-funding/src/weights.rs index 5741e1431b..fba8c4e521 100644 --- a/state-chain/pallets/cf-funding/src/weights.rs +++ b/state-chain/pallets/cf-funding/src/weights.rs @@ -2,10 +2,10 @@ //! Autogenerated weights for pallet_cf_funding //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-11-03, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-03, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ip-172-31-9-222`, CPU: `Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 +//! HOSTNAME: `ip-172-31-0-210`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev-3"), DB CACHE: 1024 // Executed Command: // ./chainflip-node @@ -17,10 +17,10 @@ // * // --output // state-chain/pallets/cf-funding/src/weights.rs -// --execution=wasm // --steps=20 // --repeat=10 // --template=state-chain/chainflip-weight-template.hbs +// --chain=dev-3 #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -34,7 +34,6 @@ use core::marker::PhantomData; pub trait WeightInfo { fn funded() -> Weight; fn redeem() -> Weight; - fn redeem_all() -> Weight; fn redeemed() -> Weight; fn redemption_expired() -> Weight; fn update_minimum_funding() -> Weight; @@ -47,6 +46,8 @@ pub trait WeightInfo { /// Weights for pallet_cf_funding using the Substrate node and recommended hardware. pub struct PalletWeight(PhantomData); impl WeightInfo for PalletWeight { + /// Storage: `Funding::MinimumFunding` (r:1 w:0) + /// Proof: `Funding::MinimumFunding` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Flip::OffchainFunds` (r:1 w:1) /// Proof: `Flip::OffchainFunds` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Flip::Account` (r:1 w:1) @@ -60,14 +61,14 @@ impl WeightInfo for PalletWeight { /// Storage: `Funding::RestrictedAddresses` (r:1 w:0) /// Proof: `Funding::RestrictedAddresses` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `AccountRoles::AccountRoles` (r:0 w:1) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) fn funded() -> Weight { // Proof Size summary in bytes: - // Measured: `890` - // Estimated: `4355` - // Minimum execution time: 56_700_000 picoseconds. - Weight::from_parts(57_671_000, 4355) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Measured: `1101` + // Estimated: `4566` + // Minimum execution time: 51_534_000 picoseconds. + Weight::from_parts(51_941_000, 4566) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) @@ -94,12 +95,12 @@ impl WeightInfo for PalletWeight { /// Proof: `Flip::Account` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// Storage: `Flip::TotalIssuance` (r:1 w:1) /// Proof: `Flip::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Funding::MinimumFunding` (r:1 w:0) - /// Proof: `Funding::MinimumFunding` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Validator::CurrentAuthorities` (r:1 w:0) /// Proof: `Validator::CurrentAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Validator::Backups` (r:1 w:1) /// Proof: `Validator::Backups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Timestamp::Now` (r:1 w:0) /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// Storage: `Funding::RedemptionTTLSeconds` (r:1 w:0) @@ -114,24 +115,28 @@ impl WeightInfo for PalletWeight { /// Proof: `Environment::EthereumKeyManagerAddress` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `EthereumBroadcaster::BroadcastIdCounter` (r:1 w:1) /// Proof: `EthereumBroadcaster::BroadcastIdCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EthereumBroadcaster::PendingBroadcasts` (r:1 w:1) + /// Proof: `EthereumBroadcaster::PendingBroadcasts` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `EthereumChainTracking::CurrentChainState` (r:1 w:0) /// Proof: `EthereumChainTracking::CurrentChainState` (`max_values`: Some(1), `max_size`: Some(40), added: 535, mode: `MaxEncodedLen`) + /// Storage: `EvmThresholdSigner::CurrentKeyEpoch` (r:1 w:0) + /// Proof: `EvmThresholdSigner::CurrentKeyEpoch` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EvmThresholdSigner::Keys` (r:1 w:0) + /// Proof: `EvmThresholdSigner::Keys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `EvmThresholdSigner::ThresholdSignatureRequestIdCounter` (r:1 w:1) /// Proof: `EvmThresholdSigner::ThresholdSignatureRequestIdCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `EthereumVault::CurrentKeyEpochAndState` (r:1 w:0) - /// Proof: `EthereumVault::CurrentKeyEpochAndState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `EthereumVault::Vaults` (r:1 w:0) - /// Proof: `EthereumVault::Vaults` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Validator::HistoricalAuthorities` (r:1 w:0) /// Proof: `Validator::HistoricalAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Reputation::Suspensions` (r:4 w:0) /// Proof: `Reputation::Suspensions` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `EthereumVault::CeremonyIdCounter` (r:1 w:1) - /// Proof: `EthereumVault::CeremonyIdCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EvmThresholdSigner::CeremonyIdCounter` (r:1 w:1) + /// Proof: `EvmThresholdSigner::CeremonyIdCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `EvmThresholdSigner::ThresholdSignatureResponseTimeout` (r:1 w:0) /// Proof: `EvmThresholdSigner::ThresholdSignatureResponseTimeout` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `EvmThresholdSigner::CeremonyRetryQueues` (r:1 w:1) /// Proof: `EvmThresholdSigner::CeremonyRetryQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CfeInterface::CfeEvents` (r:1 w:1) + /// Proof: `CfeInterface::CfeEvents` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `EvmThresholdSigner::Signature` (r:0 w:1) /// Proof: `EvmThresholdSigner::Signature` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `EvmThresholdSigner::PendingCeremonies` (r:0 w:1) @@ -142,89 +147,12 @@ impl WeightInfo for PalletWeight { /// Proof: `Flip::PendingRedemptionsReserve` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) fn redeem() -> Weight { // Proof Size summary in bytes: - // Measured: `2032` - // Estimated: `12922` - // Minimum execution time: 175_786_000 picoseconds. - Weight::from_parts(178_599_000, 12922) - .saturating_add(T::DbWeight::get().reads(34_u64)) - .saturating_add(T::DbWeight::get().writes(13_u64)) - } - /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) - /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Validator::CurrentRotationPhase` (r:1 w:0) - /// Proof: `Validator::CurrentRotationPhase` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Validator::CurrentEpochStartedAt` (r:1 w:0) - /// Proof: `Validator::CurrentEpochStartedAt` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Validator::RedemptionPeriodAsPercentage` (r:1 w:0) - /// Proof: `Validator::RedemptionPeriodAsPercentage` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Validator::BlocksPerEpoch` (r:1 w:0) - /// Proof: `Validator::BlocksPerEpoch` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Funding::PendingRedemptions` (r:1 w:1) - /// Proof: `Funding::PendingRedemptions` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Funding::RestrictedBalances` (r:1 w:0) - /// Proof: `Funding::RestrictedBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Funding::BoundExecutorAddress` (r:1 w:0) - /// Proof: `Funding::BoundExecutorAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Funding::RedemptionTax` (r:1 w:0) - /// Proof: `Funding::RedemptionTax` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Funding::BoundRedeemAddress` (r:1 w:0) - /// Proof: `Funding::BoundRedeemAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Flip::Account` (r:1 w:1) - /// Proof: `Flip::Account` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) - /// Storage: `Flip::TotalIssuance` (r:1 w:1) - /// Proof: `Flip::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Validator::CurrentAuthorities` (r:1 w:0) - /// Proof: `Validator::CurrentAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Validator::Backups` (r:1 w:1) - /// Proof: `Validator::Backups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) - /// Storage: `Funding::RedemptionTTLSeconds` (r:1 w:0) - /// Proof: `Funding::RedemptionTTLSeconds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Environment::EthereumStateChainGatewayAddress` (r:1 w:0) - /// Proof: `Environment::EthereumStateChainGatewayAddress` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Environment::EthereumSignatureNonce` (r:1 w:1) - /// Proof: `Environment::EthereumSignatureNonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Environment::EthereumChainId` (r:1 w:0) - /// Proof: `Environment::EthereumChainId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Environment::EthereumKeyManagerAddress` (r:1 w:0) - /// Proof: `Environment::EthereumKeyManagerAddress` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `EthereumBroadcaster::BroadcastIdCounter` (r:1 w:1) - /// Proof: `EthereumBroadcaster::BroadcastIdCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `EthereumChainTracking::CurrentChainState` (r:1 w:0) - /// Proof: `EthereumChainTracking::CurrentChainState` (`max_values`: Some(1), `max_size`: Some(40), added: 535, mode: `MaxEncodedLen`) - /// Storage: `EvmThresholdSigner::ThresholdSignatureRequestIdCounter` (r:1 w:1) - /// Proof: `EvmThresholdSigner::ThresholdSignatureRequestIdCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `EthereumVault::CurrentKeyEpochAndState` (r:1 w:0) - /// Proof: `EthereumVault::CurrentKeyEpochAndState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `EthereumVault::Vaults` (r:1 w:0) - /// Proof: `EthereumVault::Vaults` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Validator::HistoricalAuthorities` (r:1 w:0) - /// Proof: `Validator::HistoricalAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Reputation::Suspensions` (r:4 w:0) - /// Proof: `Reputation::Suspensions` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `EthereumVault::CeremonyIdCounter` (r:1 w:1) - /// Proof: `EthereumVault::CeremonyIdCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `EvmThresholdSigner::ThresholdSignatureResponseTimeout` (r:1 w:0) - /// Proof: `EvmThresholdSigner::ThresholdSignatureResponseTimeout` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `EvmThresholdSigner::CeremonyRetryQueues` (r:1 w:1) - /// Proof: `EvmThresholdSigner::CeremonyRetryQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `EvmThresholdSigner::Signature` (r:0 w:1) - /// Proof: `EvmThresholdSigner::Signature` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `EvmThresholdSigner::PendingCeremonies` (r:0 w:1) - /// Proof: `EvmThresholdSigner::PendingCeremonies` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `EvmThresholdSigner::RequestCallback` (r:0 w:1) - /// Proof: `EvmThresholdSigner::RequestCallback` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Flip::PendingRedemptionsReserve` (r:0 w:1) - /// Proof: `Flip::PendingRedemptionsReserve` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - fn redeem_all() -> Weight { - // Proof Size summary in bytes: - // Measured: `2029` - // Estimated: `12919` - // Minimum execution time: 174_246_000 picoseconds. - Weight::from_parts(175_830_000, 12919) - .saturating_add(T::DbWeight::get().reads(33_u64)) - .saturating_add(T::DbWeight::get().writes(13_u64)) + // Measured: `2879` + // Estimated: `13769` + // Minimum execution time: 168_358_000 picoseconds. + Weight::from_parts(173_345_000, 13769) + .saturating_add(T::DbWeight::get().reads(36_u64)) + .saturating_add(T::DbWeight::get().writes(15_u64)) } /// Storage: `Funding::PendingRedemptions` (r:1 w:1) /// Proof: `Funding::PendingRedemptions` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -232,16 +160,34 @@ impl WeightInfo for PalletWeight { /// Proof: `Flip::PendingRedemptionsReserve` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) /// Storage: `Flip::OffchainFunds` (r:1 w:1) /// Proof: `Flip::OffchainFunds` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Flip::Account` (r:1 w:0) + /// Storage: `Flip::Account` (r:1 w:1) /// Proof: `Flip::Account` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Flip::TotalIssuance` (r:1 w:1) + /// Proof: `Flip::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `AccountRoles::VanityNames` (r:1 w:0) + /// Proof: `AccountRoles::VanityNames` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Reputation::LastHeartbeat` (r:0 w:1) + /// Proof: `Reputation::LastHeartbeat` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Reputation::Reputations` (r:0 w:1) + /// Proof: `Reputation::Reputations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Reputation::OffenceTimeSlotTracker` (r:0 w:1) + /// Proof: `Reputation::OffenceTimeSlotTracker` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AccountRoles::AccountRoles` (r:0 w:1) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Funding::RestrictedBalances` (r:0 w:1) + /// Proof: `Funding::RestrictedBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Funding::BoundRedeemAddress` (r:0 w:1) + /// Proof: `Funding::BoundRedeemAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Funding::BoundExecutorAddress` (r:0 w:1) + /// Proof: `Funding::BoundExecutorAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) fn redeemed() -> Weight { // Proof Size summary in bytes: - // Measured: `771` - // Estimated: `4236` - // Minimum execution time: 34_150_000 picoseconds. - Weight::from_parts(34_579_000, 4236) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `1510` + // Estimated: `4975` + // Minimum execution time: 72_496_000 picoseconds. + Weight::from_parts(73_438_000, 4975) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(12_u64)) } /// Storage: `Funding::PendingRedemptions` (r:1 w:1) /// Proof: `Funding::PendingRedemptions` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -255,26 +201,27 @@ impl WeightInfo for PalletWeight { /// Proof: `Validator::CurrentAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Validator::Backups` (r:1 w:1) /// Proof: `Validator::Backups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Funding::RestrictedAddresses` (r:1 w:0) + /// Proof: `Funding::RestrictedAddresses` (`max_values`: None, `max_size`: None, mode: `Measured`) fn redemption_expired() -> Weight { // Proof Size summary in bytes: - // Measured: `1129` - // Estimated: `4594` - // Minimum execution time: 48_130_000 picoseconds. - Weight::from_parts(48_598_000, 4594) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Measured: `1391` + // Estimated: `4856` + // Minimum execution time: 49_149_000 picoseconds. + Weight::from_parts(49_506_000, 4856) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: `Funding::RedemptionTax` (r:1 w:0) /// Proof: `Funding::RedemptionTax` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Funding::MinimumFunding` (r:0 w:1) /// Proof: `Funding::MinimumFunding` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn update_minimum_funding() -> Weight { // Proof Size summary in bytes: - // Measured: `139` - // Estimated: `1624` - // Minimum execution time: 12_986_000 picoseconds. - Weight::from_parts(13_254_000, 1624) + // Measured: `143` + // Estimated: `1628` + // Minimum execution time: 9_782_000 picoseconds. + Weight::from_parts(10_309_000, 1628) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -284,10 +231,10 @@ impl WeightInfo for PalletWeight { /// Proof: `Funding::RedemptionTax` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn update_redemption_tax() -> Weight { // Proof Size summary in bytes: - // Measured: `139` - // Estimated: `1624` - // Minimum execution time: 13_519_000 picoseconds. - Weight::from_parts(14_165_000, 1624) + // Measured: `143` + // Estimated: `1628` + // Minimum execution time: 10_442_000 picoseconds. + Weight::from_parts(10_678_000, 1628) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -295,10 +242,10 @@ impl WeightInfo for PalletWeight { /// Proof: `Funding::BoundRedeemAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) fn bind_redeem_address() -> Weight { // Proof Size summary in bytes: - // Measured: `136` - // Estimated: `3601` - // Minimum execution time: 15_112_000 picoseconds. - Weight::from_parts(15_387_000, 3601) + // Measured: `140` + // Estimated: `3605` + // Minimum execution time: 13_179_000 picoseconds. + Weight::from_parts(13_500_000, 3605) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -311,14 +258,14 @@ impl WeightInfo for PalletWeight { /// The range of component `c` is `[1, 100]`. fn update_restricted_addresses(_a: u32, b: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `166 + c * (92 ±0)` - // Estimated: `3629 + b * (9 ±1) + c * (2567 ±1)` - // Minimum execution time: 561_799_000 picoseconds. - Weight::from_parts(562_651_000, 3629) - // Standard Error: 5_023_310 - .saturating_add(Weight::from_parts(196_676_920, 0).saturating_mul(b.into())) - // Standard Error: 5_023_310 - .saturating_add(Weight::from_parts(188_428_991, 0).saturating_mul(c.into())) + // Measured: `170 + c * (92 ±0)` + // Estimated: `3633 + b * (9 ±1) + c * (2567 ±0)` + // Minimum execution time: 341_610_000 picoseconds. + Weight::from_parts(344_209_000, 3633) + // Standard Error: 4_892_910 + .saturating_add(Weight::from_parts(190_178_562, 0).saturating_mul(b.into())) + // Standard Error: 4_892_910 + .saturating_add(Weight::from_parts(187_547_326, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) @@ -329,10 +276,10 @@ impl WeightInfo for PalletWeight { /// Proof: `Funding::BoundExecutorAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) fn bind_executor_address() -> Weight { // Proof Size summary in bytes: - // Measured: `136` - // Estimated: `3601` - // Minimum execution time: 15_111_000 picoseconds. - Weight::from_parts(15_571_000, 3601) + // Measured: `140` + // Estimated: `3605` + // Minimum execution time: 13_440_000 picoseconds. + Weight::from_parts(14_020_000, 3605) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -340,6 +287,8 @@ impl WeightInfo for PalletWeight { // For backwards compatibility and tests impl WeightInfo for () { + /// Storage: `Funding::MinimumFunding` (r:1 w:0) + /// Proof: `Funding::MinimumFunding` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Flip::OffchainFunds` (r:1 w:1) /// Proof: `Flip::OffchainFunds` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Flip::Account` (r:1 w:1) @@ -353,14 +302,14 @@ impl WeightInfo for () { /// Storage: `Funding::RestrictedAddresses` (r:1 w:0) /// Proof: `Funding::RestrictedAddresses` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `AccountRoles::AccountRoles` (r:0 w:1) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) fn funded() -> Weight { // Proof Size summary in bytes: - // Measured: `890` - // Estimated: `4355` - // Minimum execution time: 56_700_000 picoseconds. - Weight::from_parts(57_671_000, 4355) - .saturating_add(RocksDbWeight::get().reads(6_u64)) + // Measured: `1101` + // Estimated: `4566` + // Minimum execution time: 51_534_000 picoseconds. + Weight::from_parts(51_941_000, 4566) + .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) @@ -387,12 +336,12 @@ impl WeightInfo for () { /// Proof: `Flip::Account` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// Storage: `Flip::TotalIssuance` (r:1 w:1) /// Proof: `Flip::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Funding::MinimumFunding` (r:1 w:0) - /// Proof: `Funding::MinimumFunding` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Validator::CurrentAuthorities` (r:1 w:0) /// Proof: `Validator::CurrentAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Validator::Backups` (r:1 w:1) /// Proof: `Validator::Backups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Timestamp::Now` (r:1 w:0) /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// Storage: `Funding::RedemptionTTLSeconds` (r:1 w:0) @@ -407,24 +356,28 @@ impl WeightInfo for () { /// Proof: `Environment::EthereumKeyManagerAddress` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `EthereumBroadcaster::BroadcastIdCounter` (r:1 w:1) /// Proof: `EthereumBroadcaster::BroadcastIdCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EthereumBroadcaster::PendingBroadcasts` (r:1 w:1) + /// Proof: `EthereumBroadcaster::PendingBroadcasts` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `EthereumChainTracking::CurrentChainState` (r:1 w:0) /// Proof: `EthereumChainTracking::CurrentChainState` (`max_values`: Some(1), `max_size`: Some(40), added: 535, mode: `MaxEncodedLen`) + /// Storage: `EvmThresholdSigner::CurrentKeyEpoch` (r:1 w:0) + /// Proof: `EvmThresholdSigner::CurrentKeyEpoch` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EvmThresholdSigner::Keys` (r:1 w:0) + /// Proof: `EvmThresholdSigner::Keys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `EvmThresholdSigner::ThresholdSignatureRequestIdCounter` (r:1 w:1) /// Proof: `EvmThresholdSigner::ThresholdSignatureRequestIdCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `EthereumVault::CurrentKeyEpochAndState` (r:1 w:0) - /// Proof: `EthereumVault::CurrentKeyEpochAndState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `EthereumVault::Vaults` (r:1 w:0) - /// Proof: `EthereumVault::Vaults` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Validator::HistoricalAuthorities` (r:1 w:0) /// Proof: `Validator::HistoricalAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Reputation::Suspensions` (r:4 w:0) /// Proof: `Reputation::Suspensions` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `EthereumVault::CeremonyIdCounter` (r:1 w:1) - /// Proof: `EthereumVault::CeremonyIdCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `EvmThresholdSigner::CeremonyIdCounter` (r:1 w:1) + /// Proof: `EvmThresholdSigner::CeremonyIdCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `EvmThresholdSigner::ThresholdSignatureResponseTimeout` (r:1 w:0) /// Proof: `EvmThresholdSigner::ThresholdSignatureResponseTimeout` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `EvmThresholdSigner::CeremonyRetryQueues` (r:1 w:1) /// Proof: `EvmThresholdSigner::CeremonyRetryQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CfeInterface::CfeEvents` (r:1 w:1) + /// Proof: `CfeInterface::CfeEvents` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `EvmThresholdSigner::Signature` (r:0 w:1) /// Proof: `EvmThresholdSigner::Signature` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `EvmThresholdSigner::PendingCeremonies` (r:0 w:1) @@ -435,89 +388,12 @@ impl WeightInfo for () { /// Proof: `Flip::PendingRedemptionsReserve` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) fn redeem() -> Weight { // Proof Size summary in bytes: - // Measured: `2032` - // Estimated: `12922` - // Minimum execution time: 175_786_000 picoseconds. - Weight::from_parts(178_599_000, 12922) - .saturating_add(RocksDbWeight::get().reads(34_u64)) - .saturating_add(RocksDbWeight::get().writes(13_u64)) - } - /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) - /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Validator::CurrentRotationPhase` (r:1 w:0) - /// Proof: `Validator::CurrentRotationPhase` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Validator::CurrentEpochStartedAt` (r:1 w:0) - /// Proof: `Validator::CurrentEpochStartedAt` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Validator::RedemptionPeriodAsPercentage` (r:1 w:0) - /// Proof: `Validator::RedemptionPeriodAsPercentage` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Validator::BlocksPerEpoch` (r:1 w:0) - /// Proof: `Validator::BlocksPerEpoch` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Funding::PendingRedemptions` (r:1 w:1) - /// Proof: `Funding::PendingRedemptions` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Funding::RestrictedBalances` (r:1 w:0) - /// Proof: `Funding::RestrictedBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Funding::BoundExecutorAddress` (r:1 w:0) - /// Proof: `Funding::BoundExecutorAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Funding::RedemptionTax` (r:1 w:0) - /// Proof: `Funding::RedemptionTax` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Funding::BoundRedeemAddress` (r:1 w:0) - /// Proof: `Funding::BoundRedeemAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Flip::Account` (r:1 w:1) - /// Proof: `Flip::Account` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) - /// Storage: `Flip::TotalIssuance` (r:1 w:1) - /// Proof: `Flip::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Validator::CurrentAuthorities` (r:1 w:0) - /// Proof: `Validator::CurrentAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Validator::Backups` (r:1 w:1) - /// Proof: `Validator::Backups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) - /// Storage: `Funding::RedemptionTTLSeconds` (r:1 w:0) - /// Proof: `Funding::RedemptionTTLSeconds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Environment::EthereumStateChainGatewayAddress` (r:1 w:0) - /// Proof: `Environment::EthereumStateChainGatewayAddress` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Environment::EthereumSignatureNonce` (r:1 w:1) - /// Proof: `Environment::EthereumSignatureNonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Environment::EthereumChainId` (r:1 w:0) - /// Proof: `Environment::EthereumChainId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Environment::EthereumKeyManagerAddress` (r:1 w:0) - /// Proof: `Environment::EthereumKeyManagerAddress` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `EthereumBroadcaster::BroadcastIdCounter` (r:1 w:1) - /// Proof: `EthereumBroadcaster::BroadcastIdCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `EthereumChainTracking::CurrentChainState` (r:1 w:0) - /// Proof: `EthereumChainTracking::CurrentChainState` (`max_values`: Some(1), `max_size`: Some(40), added: 535, mode: `MaxEncodedLen`) - /// Storage: `EvmThresholdSigner::ThresholdSignatureRequestIdCounter` (r:1 w:1) - /// Proof: `EvmThresholdSigner::ThresholdSignatureRequestIdCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `EthereumVault::CurrentKeyEpochAndState` (r:1 w:0) - /// Proof: `EthereumVault::CurrentKeyEpochAndState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `EthereumVault::Vaults` (r:1 w:0) - /// Proof: `EthereumVault::Vaults` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Validator::HistoricalAuthorities` (r:1 w:0) - /// Proof: `Validator::HistoricalAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Reputation::Suspensions` (r:4 w:0) - /// Proof: `Reputation::Suspensions` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `EthereumVault::CeremonyIdCounter` (r:1 w:1) - /// Proof: `EthereumVault::CeremonyIdCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `EvmThresholdSigner::ThresholdSignatureResponseTimeout` (r:1 w:0) - /// Proof: `EvmThresholdSigner::ThresholdSignatureResponseTimeout` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `EvmThresholdSigner::CeremonyRetryQueues` (r:1 w:1) - /// Proof: `EvmThresholdSigner::CeremonyRetryQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `EvmThresholdSigner::Signature` (r:0 w:1) - /// Proof: `EvmThresholdSigner::Signature` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `EvmThresholdSigner::PendingCeremonies` (r:0 w:1) - /// Proof: `EvmThresholdSigner::PendingCeremonies` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `EvmThresholdSigner::RequestCallback` (r:0 w:1) - /// Proof: `EvmThresholdSigner::RequestCallback` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Flip::PendingRedemptionsReserve` (r:0 w:1) - /// Proof: `Flip::PendingRedemptionsReserve` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - fn redeem_all() -> Weight { - // Proof Size summary in bytes: - // Measured: `2029` - // Estimated: `12919` - // Minimum execution time: 174_246_000 picoseconds. - Weight::from_parts(175_830_000, 12919) - .saturating_add(RocksDbWeight::get().reads(33_u64)) - .saturating_add(RocksDbWeight::get().writes(13_u64)) + // Measured: `2879` + // Estimated: `13769` + // Minimum execution time: 168_358_000 picoseconds. + Weight::from_parts(173_345_000, 13769) + .saturating_add(RocksDbWeight::get().reads(36_u64)) + .saturating_add(RocksDbWeight::get().writes(15_u64)) } /// Storage: `Funding::PendingRedemptions` (r:1 w:1) /// Proof: `Funding::PendingRedemptions` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -525,16 +401,34 @@ impl WeightInfo for () { /// Proof: `Flip::PendingRedemptionsReserve` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) /// Storage: `Flip::OffchainFunds` (r:1 w:1) /// Proof: `Flip::OffchainFunds` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Flip::Account` (r:1 w:0) + /// Storage: `Flip::Account` (r:1 w:1) /// Proof: `Flip::Account` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `Flip::TotalIssuance` (r:1 w:1) + /// Proof: `Flip::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `AccountRoles::VanityNames` (r:1 w:0) + /// Proof: `AccountRoles::VanityNames` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Reputation::LastHeartbeat` (r:0 w:1) + /// Proof: `Reputation::LastHeartbeat` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Reputation::Reputations` (r:0 w:1) + /// Proof: `Reputation::Reputations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Reputation::OffenceTimeSlotTracker` (r:0 w:1) + /// Proof: `Reputation::OffenceTimeSlotTracker` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AccountRoles::AccountRoles` (r:0 w:1) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Funding::RestrictedBalances` (r:0 w:1) + /// Proof: `Funding::RestrictedBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Funding::BoundRedeemAddress` (r:0 w:1) + /// Proof: `Funding::BoundRedeemAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Funding::BoundExecutorAddress` (r:0 w:1) + /// Proof: `Funding::BoundExecutorAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) fn redeemed() -> Weight { // Proof Size summary in bytes: - // Measured: `771` - // Estimated: `4236` - // Minimum execution time: 34_150_000 picoseconds. - Weight::from_parts(34_579_000, 4236) - .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(RocksDbWeight::get().writes(3_u64)) + // Measured: `1510` + // Estimated: `4975` + // Minimum execution time: 72_496_000 picoseconds. + Weight::from_parts(73_438_000, 4975) + .saturating_add(RocksDbWeight::get().reads(6_u64)) + .saturating_add(RocksDbWeight::get().writes(12_u64)) } /// Storage: `Funding::PendingRedemptions` (r:1 w:1) /// Proof: `Funding::PendingRedemptions` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -548,13 +442,15 @@ impl WeightInfo for () { /// Proof: `Validator::CurrentAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Validator::Backups` (r:1 w:1) /// Proof: `Validator::Backups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Funding::RestrictedAddresses` (r:1 w:0) + /// Proof: `Funding::RestrictedAddresses` (`max_values`: None, `max_size`: None, mode: `Measured`) fn redemption_expired() -> Weight { // Proof Size summary in bytes: - // Measured: `1129` - // Estimated: `4594` - // Minimum execution time: 48_130_000 picoseconds. - Weight::from_parts(48_598_000, 4594) - .saturating_add(RocksDbWeight::get().reads(6_u64)) + // Measured: `1391` + // Estimated: `4856` + // Minimum execution time: 49_149_000 picoseconds. + Weight::from_parts(49_506_000, 4856) + .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } /// Storage: `Funding::RedemptionTax` (r:1 w:0) @@ -563,10 +459,10 @@ impl WeightInfo for () { /// Proof: `Funding::MinimumFunding` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn update_minimum_funding() -> Weight { // Proof Size summary in bytes: - // Measured: `139` - // Estimated: `1624` - // Minimum execution time: 12_986_000 picoseconds. - Weight::from_parts(13_254_000, 1624) + // Measured: `143` + // Estimated: `1628` + // Minimum execution time: 9_782_000 picoseconds. + Weight::from_parts(10_309_000, 1628) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -576,10 +472,10 @@ impl WeightInfo for () { /// Proof: `Funding::RedemptionTax` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn update_redemption_tax() -> Weight { // Proof Size summary in bytes: - // Measured: `139` - // Estimated: `1624` - // Minimum execution time: 13_519_000 picoseconds. - Weight::from_parts(14_165_000, 1624) + // Measured: `143` + // Estimated: `1628` + // Minimum execution time: 10_442_000 picoseconds. + Weight::from_parts(10_678_000, 1628) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -587,10 +483,10 @@ impl WeightInfo for () { /// Proof: `Funding::BoundRedeemAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) fn bind_redeem_address() -> Weight { // Proof Size summary in bytes: - // Measured: `136` - // Estimated: `3601` - // Minimum execution time: 15_112_000 picoseconds. - Weight::from_parts(15_387_000, 3601) + // Measured: `140` + // Estimated: `3605` + // Minimum execution time: 13_179_000 picoseconds. + Weight::from_parts(13_500_000, 3605) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -603,14 +499,14 @@ impl WeightInfo for () { /// The range of component `c` is `[1, 100]`. fn update_restricted_addresses(_a: u32, b: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `166 + c * (92 ±0)` - // Estimated: `3629 + b * (9 ±1) + c * (2567 ±1)` - // Minimum execution time: 561_799_000 picoseconds. - Weight::from_parts(562_651_000, 3629) - // Standard Error: 5_023_310 - .saturating_add(Weight::from_parts(196_676_920, 0).saturating_mul(b.into())) - // Standard Error: 5_023_310 - .saturating_add(Weight::from_parts(188_428_991, 0).saturating_mul(c.into())) + // Measured: `170 + c * (92 ±0)` + // Estimated: `3633 + b * (9 ±1) + c * (2567 ±0)` + // Minimum execution time: 341_610_000 picoseconds. + Weight::from_parts(344_209_000, 3633) + // Standard Error: 4_892_910 + .saturating_add(Weight::from_parts(190_178_562, 0).saturating_mul(b.into())) + // Standard Error: 4_892_910 + .saturating_add(Weight::from_parts(187_547_326, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(c.into()))) @@ -621,10 +517,10 @@ impl WeightInfo for () { /// Proof: `Funding::BoundExecutorAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) fn bind_executor_address() -> Weight { // Proof Size summary in bytes: - // Measured: `136` - // Estimated: `3601` - // Minimum execution time: 15_111_000 picoseconds. - Weight::from_parts(15_571_000, 3601) + // Measured: `140` + // Estimated: `3605` + // Minimum execution time: 13_440_000 picoseconds. + Weight::from_parts(14_020_000, 3605) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/state-chain/pallets/cf-governance/src/weights.rs b/state-chain/pallets/cf-governance/src/weights.rs index 5eaaf0691f..692e5fffb1 100644 --- a/state-chain/pallets/cf-governance/src/weights.rs +++ b/state-chain/pallets/cf-governance/src/weights.rs @@ -2,13 +2,13 @@ //! Autogenerated weights for pallet_cf_governance //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `2`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-03, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `wagmi.local`, CPU: `` +//! HOSTNAME: `ip-172-31-0-210`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev-3"), DB CACHE: 1024 // Executed Command: -// ./target/debug/chainflip-node +// ./chainflip-node // benchmark // pallet // --pallet @@ -17,8 +17,8 @@ // * // --output // state-chain/pallets/cf-governance/src/weights.rs -// --steps=2 -// --repeat=2 +// --steps=20 +// --repeat=10 // --template=state-chain/chainflip-weight-template.hbs // --chain=dev-3 @@ -65,8 +65,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `168` // Estimated: `1653` - // Minimum execution time: 287_000_000 picoseconds. - Weight::from_parts(302_000_000, 1653) + // Minimum execution time: 31_685_000 picoseconds. + Weight::from_parts(32_465_000, 1653) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -82,8 +82,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `197` // Estimated: `3662` - // Minimum execution time: 228_000_000 picoseconds. - Weight::from_parts(251_000_000, 3662) + // Minimum execution time: 24_554_000 picoseconds. + Weight::from_parts(24_936_000, 3662) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -95,8 +95,8 @@ impl WeightInfo for PalletWeight { /// Proof: `Flip::Account` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// Storage: `Flip::TotalIssuance` (r:1 w:1) /// Proof: `Flip::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Validator::VanityNames` (r:1 w:0) - /// Proof: `Validator::VanityNames` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `AccountRoles::VanityNames` (r:1 w:0) + /// Proof: `AccountRoles::VanityNames` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Reputation::LastHeartbeat` (r:0 w:1) /// Proof: `Reputation::LastHeartbeat` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Reputation::Reputations` (r:0 w:1) @@ -104,9 +104,7 @@ impl WeightInfo for PalletWeight { /// Storage: `Reputation::OffenceTimeSlotTracker` (r:0 w:1) /// Proof: `Reputation::OffenceTimeSlotTracker` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `AccountRoles::AccountRoles` (r:0 w:2) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) - /// Storage: `Funding::ActiveBidder` (r:0 w:1) - /// Proof: `Funding::ActiveBidder` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Funding::RestrictedBalances` (r:0 w:1) /// Proof: `Funding::RestrictedBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Funding::BoundRedeemAddress` (r:0 w:1) @@ -115,12 +113,12 @@ impl WeightInfo for PalletWeight { /// Proof: `Funding::BoundExecutorAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) fn new_membership_set() -> Weight { // Proof Size summary in bytes: - // Measured: `1479` + // Measured: `1290` // Estimated: `3545` - // Minimum execution time: 570_000_000 picoseconds. - Weight::from_parts(582_000_000, 3545) + // Minimum execution time: 64_401_000 picoseconds. + Weight::from_parts(65_016_000, 3545) .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(13_u64)) + .saturating_add(T::DbWeight::get().writes(12_u64)) } /// Storage: `System::Digest` (r:1 w:1) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -130,8 +128,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 98_000_000 picoseconds. - Weight::from_parts(110_000_000, 1485) + // Minimum execution time: 12_683_000 picoseconds. + Weight::from_parts(14_268_000, 1485) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -144,14 +142,15 @@ impl WeightInfo for PalletWeight { /// The range of component `b` is `[1, 100]`. fn on_initialize(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `56 + b * (13 ±0)` - // Estimated: `1541 + b * (14 ±0)` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(26_949_494, 1541) - // Standard Error: 40_718 - .saturating_add(Weight::from_parts(4_550_505, 0).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(Weight::from_parts(0, 14).saturating_mul(b.into())) + // Measured: `216 + b * (12 ±0)` + // Estimated: `1672 + b * (12 ±0)` + // Minimum execution time: 3_098_000 picoseconds. + Weight::from_parts(8_326_681, 1672) + // Standard Error: 4_238 + .saturating_add(Weight::from_parts(376_332, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_parts(0, 12).saturating_mul(b.into())) } /// Storage: `Governance::ActiveProposals` (r:1 w:0) /// Proof: `Governance::ActiveProposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -161,8 +160,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `70` // Estimated: `1555` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(33_000_000, 1555) + // Minimum execution time: 3_189_000 picoseconds. + Weight::from_parts(3_333_000, 1555) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: `Governance::ActiveProposals` (r:1 w:0) @@ -172,15 +171,15 @@ impl WeightInfo for PalletWeight { /// The range of component `b` is `[1, 100]`. fn expire_proposals(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `57 + b * (12 ±0)` - // Estimated: `1542 + b * (13 ±0)` - // Minimum execution time: 24_000_000 picoseconds. - Weight::from_parts(24_000_000, 1542) - // Standard Error: 200_232 - .saturating_add(Weight::from_parts(35_971_552, 0).saturating_mul(b.into())) + // Measured: `140 + b * (12 ±0)` + // Estimated: `1610 + b * (12 ±0)` + // Minimum execution time: 2_651_000 picoseconds. + Weight::from_parts(4_971_312, 1610) + // Standard Error: 9_899 + .saturating_add(Weight::from_parts(3_016_721, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(b.into()))) - .saturating_add(Weight::from_parts(0, 13).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 12).saturating_mul(b.into())) } /// Storage: `Governance::GovKeyWhitelistedCallHash` (r:0 w:1) /// Proof: `Governance::GovKeyWhitelistedCallHash` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -188,8 +187,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 65_000_000 picoseconds. - Weight::from_parts(100_000_000, 0) + // Minimum execution time: 6_612_000 picoseconds. + Weight::from_parts(6_958_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Governance::NextGovKeyCallHashNonce` (r:1 w:1) @@ -204,8 +203,8 @@ impl WeightInfo for PalletWeight { /// Proof: `Flip::Account` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// Storage: `Flip::TotalIssuance` (r:1 w:1) /// Proof: `Flip::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Validator::VanityNames` (r:1 w:0) - /// Proof: `Validator::VanityNames` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `AccountRoles::VanityNames` (r:1 w:0) + /// Proof: `AccountRoles::VanityNames` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Reputation::LastHeartbeat` (r:0 w:1) /// Proof: `Reputation::LastHeartbeat` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Reputation::Reputations` (r:0 w:1) @@ -213,9 +212,7 @@ impl WeightInfo for PalletWeight { /// Storage: `Reputation::OffenceTimeSlotTracker` (r:0 w:1) /// Proof: `Reputation::OffenceTimeSlotTracker` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `AccountRoles::AccountRoles` (r:0 w:1) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) - /// Storage: `Funding::ActiveBidder` (r:0 w:1) - /// Proof: `Funding::ActiveBidder` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Funding::RestrictedBalances` (r:0 w:1) /// Proof: `Funding::RestrictedBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Funding::BoundRedeemAddress` (r:0 w:1) @@ -224,12 +221,12 @@ impl WeightInfo for PalletWeight { /// Proof: `Funding::BoundExecutorAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) fn submit_govkey_call() -> Weight { // Proof Size summary in bytes: - // Measured: `1557` + // Measured: `1368` // Estimated: `3545` - // Minimum execution time: 651_000_000 picoseconds. - Weight::from_parts(668_000_000, 3545) + // Minimum execution time: 76_412_000 picoseconds. + Weight::from_parts(77_296_000, 3545) .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(14_u64)) + .saturating_add(T::DbWeight::get().writes(13_u64)) } /// Storage: `Governance::Members` (r:1 w:1) /// Proof: `Governance::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -239,8 +236,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `190` // Estimated: `3655` - // Minimum execution time: 263_000_000 picoseconds. - Weight::from_parts(264_000_000, 3655) + // Minimum execution time: 37_521_000 picoseconds. + Weight::from_parts(38_614_000, 3655) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -266,8 +263,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `168` // Estimated: `1653` - // Minimum execution time: 287_000_000 picoseconds. - Weight::from_parts(302_000_000, 1653) + // Minimum execution time: 31_685_000 picoseconds. + Weight::from_parts(32_465_000, 1653) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -283,8 +280,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `197` // Estimated: `3662` - // Minimum execution time: 228_000_000 picoseconds. - Weight::from_parts(251_000_000, 3662) + // Minimum execution time: 24_554_000 picoseconds. + Weight::from_parts(24_936_000, 3662) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -296,8 +293,8 @@ impl WeightInfo for () { /// Proof: `Flip::Account` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// Storage: `Flip::TotalIssuance` (r:1 w:1) /// Proof: `Flip::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Validator::VanityNames` (r:1 w:0) - /// Proof: `Validator::VanityNames` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `AccountRoles::VanityNames` (r:1 w:0) + /// Proof: `AccountRoles::VanityNames` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Reputation::LastHeartbeat` (r:0 w:1) /// Proof: `Reputation::LastHeartbeat` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Reputation::Reputations` (r:0 w:1) @@ -305,9 +302,7 @@ impl WeightInfo for () { /// Storage: `Reputation::OffenceTimeSlotTracker` (r:0 w:1) /// Proof: `Reputation::OffenceTimeSlotTracker` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `AccountRoles::AccountRoles` (r:0 w:2) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) - /// Storage: `Funding::ActiveBidder` (r:0 w:1) - /// Proof: `Funding::ActiveBidder` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Funding::RestrictedBalances` (r:0 w:1) /// Proof: `Funding::RestrictedBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Funding::BoundRedeemAddress` (r:0 w:1) @@ -316,12 +311,12 @@ impl WeightInfo for () { /// Proof: `Funding::BoundExecutorAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) fn new_membership_set() -> Weight { // Proof Size summary in bytes: - // Measured: `1479` + // Measured: `1290` // Estimated: `3545` - // Minimum execution time: 570_000_000 picoseconds. - Weight::from_parts(582_000_000, 3545) + // Minimum execution time: 64_401_000 picoseconds. + Weight::from_parts(65_016_000, 3545) .saturating_add(RocksDbWeight::get().reads(5_u64)) - .saturating_add(RocksDbWeight::get().writes(13_u64)) + .saturating_add(RocksDbWeight::get().writes(12_u64)) } /// Storage: `System::Digest` (r:1 w:1) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -331,8 +326,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 98_000_000 picoseconds. - Weight::from_parts(110_000_000, 1485) + // Minimum execution time: 12_683_000 picoseconds. + Weight::from_parts(14_268_000, 1485) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -345,14 +340,15 @@ impl WeightInfo for () { /// The range of component `b` is `[1, 100]`. fn on_initialize(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `56 + b * (13 ±0)` - // Estimated: `1541 + b * (14 ±0)` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(26_949_494, 1541) - // Standard Error: 40_718 - .saturating_add(Weight::from_parts(4_550_505, 0).saturating_mul(b.into())) - .saturating_add(RocksDbWeight::get().reads(2_u64)) - .saturating_add(Weight::from_parts(0, 14).saturating_mul(b.into())) + // Measured: `216 + b * (12 ±0)` + // Estimated: `1672 + b * (12 ±0)` + // Minimum execution time: 3_098_000 picoseconds. + Weight::from_parts(8_326_681, 1672) + // Standard Error: 4_238 + .saturating_add(Weight::from_parts(376_332, 0).saturating_mul(b.into())) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_parts(0, 12).saturating_mul(b.into())) } /// Storage: `Governance::ActiveProposals` (r:1 w:0) /// Proof: `Governance::ActiveProposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -362,8 +358,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `70` // Estimated: `1555` - // Minimum execution time: 30_000_000 picoseconds. - Weight::from_parts(33_000_000, 1555) + // Minimum execution time: 3_189_000 picoseconds. + Weight::from_parts(3_333_000, 1555) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: `Governance::ActiveProposals` (r:1 w:0) @@ -373,15 +369,15 @@ impl WeightInfo for () { /// The range of component `b` is `[1, 100]`. fn expire_proposals(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `57 + b * (12 ±0)` - // Estimated: `1542 + b * (13 ±0)` - // Minimum execution time: 24_000_000 picoseconds. - Weight::from_parts(24_000_000, 1542) - // Standard Error: 200_232 - .saturating_add(Weight::from_parts(35_971_552, 0).saturating_mul(b.into())) + // Measured: `140 + b * (12 ±0)` + // Estimated: `1610 + b * (12 ±0)` + // Minimum execution time: 2_651_000 picoseconds. + Weight::from_parts(4_971_312, 1610) + // Standard Error: 9_899 + .saturating_add(Weight::from_parts(3_016_721, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(b.into()))) - .saturating_add(Weight::from_parts(0, 13).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 12).saturating_mul(b.into())) } /// Storage: `Governance::GovKeyWhitelistedCallHash` (r:0 w:1) /// Proof: `Governance::GovKeyWhitelistedCallHash` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -389,8 +385,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 65_000_000 picoseconds. - Weight::from_parts(100_000_000, 0) + // Minimum execution time: 6_612_000 picoseconds. + Weight::from_parts(6_958_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Governance::NextGovKeyCallHashNonce` (r:1 w:1) @@ -405,8 +401,8 @@ impl WeightInfo for () { /// Proof: `Flip::Account` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// Storage: `Flip::TotalIssuance` (r:1 w:1) /// Proof: `Flip::TotalIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Validator::VanityNames` (r:1 w:0) - /// Proof: `Validator::VanityNames` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `AccountRoles::VanityNames` (r:1 w:0) + /// Proof: `AccountRoles::VanityNames` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Reputation::LastHeartbeat` (r:0 w:1) /// Proof: `Reputation::LastHeartbeat` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Reputation::Reputations` (r:0 w:1) @@ -414,9 +410,7 @@ impl WeightInfo for () { /// Storage: `Reputation::OffenceTimeSlotTracker` (r:0 w:1) /// Proof: `Reputation::OffenceTimeSlotTracker` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `AccountRoles::AccountRoles` (r:0 w:1) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) - /// Storage: `Funding::ActiveBidder` (r:0 w:1) - /// Proof: `Funding::ActiveBidder` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Funding::RestrictedBalances` (r:0 w:1) /// Proof: `Funding::RestrictedBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Funding::BoundRedeemAddress` (r:0 w:1) @@ -425,12 +419,12 @@ impl WeightInfo for () { /// Proof: `Funding::BoundExecutorAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) fn submit_govkey_call() -> Weight { // Proof Size summary in bytes: - // Measured: `1557` + // Measured: `1368` // Estimated: `3545` - // Minimum execution time: 651_000_000 picoseconds. - Weight::from_parts(668_000_000, 3545) + // Minimum execution time: 76_412_000 picoseconds. + Weight::from_parts(77_296_000, 3545) .saturating_add(RocksDbWeight::get().reads(7_u64)) - .saturating_add(RocksDbWeight::get().writes(14_u64)) + .saturating_add(RocksDbWeight::get().writes(13_u64)) } /// Storage: `Governance::Members` (r:1 w:1) /// Proof: `Governance::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -440,8 +434,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `190` // Estimated: `3655` - // Minimum execution time: 263_000_000 picoseconds. - Weight::from_parts(264_000_000, 3655) + // Minimum execution time: 37_521_000 picoseconds. + Weight::from_parts(38_614_000, 3655) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } diff --git a/state-chain/pallets/cf-ingress-egress/src/weights.rs b/state-chain/pallets/cf-ingress-egress/src/weights.rs index 294d04d3bd..c9e97d96df 100644 --- a/state-chain/pallets/cf-ingress-egress/src/weights.rs +++ b/state-chain/pallets/cf-ingress-egress/src/weights.rs @@ -2,23 +2,23 @@ //! Autogenerated weights for pallet_cf_ingress_egress //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-05-02, STEPS: `20`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-03, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `JamiesM1.local`, CPU: `` +//! HOSTNAME: `ip-172-31-0-210`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev-3"), DB CACHE: 1024 // Executed Command: -// ./target/release/chainflip-node +// ./chainflip-node // benchmark // pallet +// --pallet +// pallet_cf_ingress_egress // --extrinsic // * -// --pallet -// pallet_cf_ingress-egress // --output // state-chain/pallets/cf-ingress-egress/src/weights.rs // --steps=20 -// --repeat=20 +// --repeat=10 // --template=state-chain/chainflip-weight-template.hbs // --chain=dev-3 @@ -55,8 +55,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `135` // Estimated: `3600` - // Minimum execution time: 10_000_000 picoseconds. - Weight::from_parts(11_000_000, 3600) + // Minimum execution time: 12_086_000 picoseconds. + Weight::from_parts(13_118_000, 3600) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -82,8 +82,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `544` // Estimated: `6484` - // Minimum execution time: 43_000_000 picoseconds. - Weight::from_parts(46_000_000, 6484) + // Minimum execution time: 61_949_000 picoseconds. + Weight::from_parts(70_197_000, 6484) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -94,10 +94,10 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `269` // Estimated: `3734` - // Minimum execution time: 1_000_000 picoseconds. - Weight::from_parts(3_281_548, 3734) - // Standard Error: 9_757 - .saturating_add(Weight::from_parts(2_360_508, 0).saturating_mul(a.into())) + // Minimum execution time: 2_089_000 picoseconds. + Weight::from_parts(6_984_397, 3734) + // Standard Error: 5_615 + .saturating_add(Weight::from_parts(1_944_985, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -145,8 +145,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `1662` // Estimated: `12552` - // Minimum execution time: 87_000_000 picoseconds. - Weight::from_parts(91_000_000, 12552) + // Minimum execution time: 107_962_000 picoseconds. + Weight::from_parts(109_506_000, 12552) .saturating_add(T::DbWeight::get().reads(20_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -158,8 +158,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `481` // Estimated: `3946` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 3946) + // Minimum execution time: 17_506_000 picoseconds. + Weight::from_parts(18_203_000, 3946) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -175,8 +175,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `1282` // Estimated: `4747` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(33_000_000, 4747) + // Minimum execution time: 39_068_000 picoseconds. + Weight::from_parts(39_746_000, 4747) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -185,15 +185,15 @@ impl WeightInfo for PalletWeight { /// The range of component `n` is `[1, 100]`. fn on_lost_deposit(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `410 + n * (89 ±0)` - // Estimated: `3874 + n * (89 ±0)` - // Minimum execution time: 10_000_000 picoseconds. - Weight::from_parts(10_639_359, 3874) - // Standard Error: 6_771 - .saturating_add(Weight::from_parts(594_518, 0).saturating_mul(n.into())) + // Measured: `410 + n * (105 ±0)` + // Estimated: `3874 + n * (105 ±0)` + // Minimum execution time: 14_797_000 picoseconds. + Weight::from_parts(15_457_944, 3874) + // Standard Error: 3_292 + .saturating_add(Weight::from_parts(699_861, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_parts(0, 89).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 105).saturating_mul(n.into())) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -205,10 +205,10 @@ impl WeightInfo for PalletWeight { /// Proof: `LiquidityProvider::FreeBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) fn stop_boosting() -> Weight { // Proof Size summary in bytes: - // Measured: `4385` - // Estimated: `7850` - // Minimum execution time: 60_000_000 picoseconds. - Weight::from_parts(75_000_000, 7850) + // Measured: `5185` + // Estimated: `8650` + // Minimum execution time: 77_033_000 picoseconds. + Weight::from_parts(78_002_000, 8650) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -236,8 +236,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `5808` // Estimated: `11748` - // Minimum execution time: 96_000_000 picoseconds. - Weight::from_parts(116_000_000, 11748) + // Minimum execution time: 142_187_000 picoseconds. + Weight::from_parts(143_835_000, 11748) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -259,10 +259,10 @@ impl WeightInfo for PalletWeight { /// Proof: `LiquidityProvider::FreeBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) fn boost_finalised() -> Weight { // Proof Size summary in bytes: - // Measured: `13949` - // Estimated: `89189` - // Minimum execution time: 309_000_000 picoseconds. - Weight::from_parts(334_000_000, 89189) + // Measured: `15549` + // Estimated: `90789` + // Minimum execution time: 353_724_000 picoseconds. + Weight::from_parts(361_780_000, 90789) .saturating_add(T::DbWeight::get().reads(37_u64)) .saturating_add(T::DbWeight::get().writes(35_u64)) } @@ -273,10 +273,10 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `171 + n * (67 ±0)` // Estimated: `3637 + n * (2543 ±0)` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(3_637_486, 3637) - // Standard Error: 19_280 - .saturating_add(Weight::from_parts(4_369_902, 0).saturating_mul(n.into())) + // Minimum execution time: 16_300_000 picoseconds. + Weight::from_parts(322_893, 3637) + // Standard Error: 16_640 + .saturating_add(Weight::from_parts(4_615_723, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) @@ -288,8 +288,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `135` // Estimated: `3600` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(10_000_000, 3600) + // Minimum execution time: 12_224_000 picoseconds. + Weight::from_parts(12_631_000, 3600) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -303,8 +303,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `135` // Estimated: `3600` - // Minimum execution time: 10_000_000 picoseconds. - Weight::from_parts(11_000_000, 3600) + // Minimum execution time: 12_086_000 picoseconds. + Weight::from_parts(13_118_000, 3600) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -330,8 +330,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `544` // Estimated: `6484` - // Minimum execution time: 43_000_000 picoseconds. - Weight::from_parts(46_000_000, 6484) + // Minimum execution time: 61_949_000 picoseconds. + Weight::from_parts(70_197_000, 6484) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -342,10 +342,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `269` // Estimated: `3734` - // Minimum execution time: 1_000_000 picoseconds. - Weight::from_parts(3_281_548, 3734) - // Standard Error: 9_757 - .saturating_add(Weight::from_parts(2_360_508, 0).saturating_mul(a.into())) + // Minimum execution time: 2_089_000 picoseconds. + Weight::from_parts(6_984_397, 3734) + // Standard Error: 5_615 + .saturating_add(Weight::from_parts(1_944_985, 0).saturating_mul(a.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -393,8 +393,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1662` // Estimated: `12552` - // Minimum execution time: 87_000_000 picoseconds. - Weight::from_parts(91_000_000, 12552) + // Minimum execution time: 107_962_000 picoseconds. + Weight::from_parts(109_506_000, 12552) .saturating_add(RocksDbWeight::get().reads(20_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } @@ -406,8 +406,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `481` // Estimated: `3946` - // Minimum execution time: 15_000_000 picoseconds. - Weight::from_parts(16_000_000, 3946) + // Minimum execution time: 17_506_000 picoseconds. + Weight::from_parts(18_203_000, 3946) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -423,8 +423,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1282` // Estimated: `4747` - // Minimum execution time: 31_000_000 picoseconds. - Weight::from_parts(33_000_000, 4747) + // Minimum execution time: 39_068_000 picoseconds. + Weight::from_parts(39_746_000, 4747) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -433,15 +433,15 @@ impl WeightInfo for () { /// The range of component `n` is `[1, 100]`. fn on_lost_deposit(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `410 + n * (89 ±0)` - // Estimated: `3874 + n * (89 ±0)` - // Minimum execution time: 10_000_000 picoseconds. - Weight::from_parts(10_639_359, 3874) - // Standard Error: 6_771 - .saturating_add(Weight::from_parts(594_518, 0).saturating_mul(n.into())) + // Measured: `410 + n * (105 ±0)` + // Estimated: `3874 + n * (105 ±0)` + // Minimum execution time: 14_797_000 picoseconds. + Weight::from_parts(15_457_944, 3874) + // Standard Error: 3_292 + .saturating_add(Weight::from_parts(699_861, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_parts(0, 89).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 105).saturating_mul(n.into())) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -453,10 +453,10 @@ impl WeightInfo for () { /// Proof: `LiquidityProvider::FreeBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) fn stop_boosting() -> Weight { // Proof Size summary in bytes: - // Measured: `4385` - // Estimated: `7850` - // Minimum execution time: 60_000_000 picoseconds. - Weight::from_parts(75_000_000, 7850) + // Measured: `5185` + // Estimated: `8650` + // Minimum execution time: 77_033_000 picoseconds. + Weight::from_parts(78_002_000, 8650) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -484,8 +484,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `5808` // Estimated: `11748` - // Minimum execution time: 96_000_000 picoseconds. - Weight::from_parts(116_000_000, 11748) + // Minimum execution time: 142_187_000 picoseconds. + Weight::from_parts(143_835_000, 11748) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -507,10 +507,10 @@ impl WeightInfo for () { /// Proof: `LiquidityProvider::FreeBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) fn boost_finalised() -> Weight { // Proof Size summary in bytes: - // Measured: `13949` - // Estimated: `89189` - // Minimum execution time: 309_000_000 picoseconds. - Weight::from_parts(334_000_000, 89189) + // Measured: `15549` + // Estimated: `90789` + // Minimum execution time: 353_724_000 picoseconds. + Weight::from_parts(361_780_000, 90789) .saturating_add(RocksDbWeight::get().reads(37_u64)) .saturating_add(RocksDbWeight::get().writes(35_u64)) } @@ -521,10 +521,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + n * (67 ±0)` // Estimated: `3637 + n * (2543 ±0)` - // Minimum execution time: 14_000_000 picoseconds. - Weight::from_parts(3_637_486, 3637) - // Standard Error: 19_280 - .saturating_add(Weight::from_parts(4_369_902, 0).saturating_mul(n.into())) + // Minimum execution time: 16_300_000 picoseconds. + Weight::from_parts(322_893, 3637) + // Standard Error: 16_640 + .saturating_add(Weight::from_parts(4_615_723, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into()))) @@ -536,8 +536,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `135` // Estimated: `3600` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(10_000_000, 3600) + // Minimum execution time: 12_224_000 picoseconds. + Weight::from_parts(12_631_000, 3600) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/state-chain/pallets/cf-lp/src/weights.rs b/state-chain/pallets/cf-lp/src/weights.rs index 415b7dc238..4c87c2bd8c 100644 --- a/state-chain/pallets/cf-lp/src/weights.rs +++ b/state-chain/pallets/cf-lp/src/weights.rs @@ -2,13 +2,13 @@ //! Autogenerated weights for pallet_cf_lp //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `2`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-03, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `wagmi.local`, CPU: `` +//! HOSTNAME: `ip-172-31-0-210`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev-3"), DB CACHE: 1024 // Executed Command: -// ./target/debug/chainflip-node +// ./chainflip-node // benchmark // pallet // --pallet @@ -17,8 +17,8 @@ // * // --output // state-chain/pallets/cf-lp/src/weights.rs -// --steps=2 -// --repeat=2 +// --steps=20 +// --repeat=10 // --template=state-chain/chainflip-weight-template.hbs // --chain=dev-3 @@ -45,7 +45,7 @@ impl WeightInfo for PalletWeight { /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `LiquidityProvider::LiquidityRefundAddress` (r:1 w:0) /// Proof: `LiquidityProvider::LiquidityRefundAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `EthereumIngressEgress::ChannelOpeningFee` (r:1 w:0) @@ -68,17 +68,17 @@ impl WeightInfo for PalletWeight { /// Proof: `EthereumIngressEgress::DepositChannelLookup` (`max_values`: None, `max_size`: None, mode: `Measured`) fn request_liquidity_deposit_address() -> Weight { // Proof Size summary in bytes: - // Measured: `1832` - // Estimated: `5297` - // Minimum execution time: 496_000_000 picoseconds. - Weight::from_parts(518_000_000, 5297) + // Measured: `1866` + // Estimated: `5331` + // Minimum execution time: 67_903_000 picoseconds. + Weight::from_parts(68_164_000, 5331) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `LiquidityPools::Pools` (r:1 w:0) /// Proof: `LiquidityPools::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `LiquidityProvider::FreeBalances` (r:1 w:1) @@ -99,51 +99,49 @@ impl WeightInfo for PalletWeight { /// Proof: `EthereumIngressEgress::ScheduledEgressFetchOrTransfer` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn withdraw_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `1286` - // Estimated: `4751` - // Minimum execution time: 516_000_000 picoseconds. - Weight::from_parts(535_000_000, 4751) + // Measured: `1320` + // Estimated: `4785` + // Minimum execution time: 73_714_000 picoseconds. + Weight::from_parts(76_567_000, 4785) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:1) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_lp_account() -> Weight { // Proof Size summary in bytes: - // Measured: `470` - // Estimated: `3498` - // Minimum execution time: 176_000_000 picoseconds. - Weight::from_parts(194_000_000, 3498) + // Measured: `504` + // Estimated: `3969` + // Minimum execution time: 19_393_000 picoseconds. + Weight::from_parts(20_336_000, 3969) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:1) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `LiquidityPools::Pools` (r:8 w:0) /// Proof: `LiquidityPools::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `LiquidityProvider::FreeBalances` (r:8 w:0) /// Proof: `LiquidityProvider::FreeBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `LiquidityProvider::HistoricalEarnedFees` (r:0 w:1) - /// Proof: `LiquidityProvider::HistoricalEarnedFees` (`max_values`: None, `max_size`: None, mode: `Measured`) fn deregister_lp_account() -> Weight { // Proof Size summary in bytes: - // Measured: `578` - // Estimated: `21368` - // Minimum execution time: 722_000_000 picoseconds. - Weight::from_parts(733_000_000, 21368) + // Measured: `612` + // Estimated: `21402` + // Minimum execution time: 68_347_000 picoseconds. + Weight::from_parts(69_392_000, 21402) .saturating_add(T::DbWeight::get().reads(17_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `LiquidityProvider::LiquidityRefundAddress` (r:0 w:1) /// Proof: `LiquidityProvider::LiquidityRefundAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_liquidity_refund_address() -> Weight { // Proof Size summary in bytes: - // Measured: `470` - // Estimated: `3498` - // Minimum execution time: 140_000_000 picoseconds. - Weight::from_parts(147_000_000, 3498) + // Measured: `504` + // Estimated: `3969` + // Minimum execution time: 16_306_000 picoseconds. + Weight::from_parts(16_557_000, 3969) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -154,7 +152,7 @@ impl WeightInfo for () { /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `LiquidityProvider::LiquidityRefundAddress` (r:1 w:0) /// Proof: `LiquidityProvider::LiquidityRefundAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `EthereumIngressEgress::ChannelOpeningFee` (r:1 w:0) @@ -177,17 +175,17 @@ impl WeightInfo for () { /// Proof: `EthereumIngressEgress::DepositChannelLookup` (`max_values`: None, `max_size`: None, mode: `Measured`) fn request_liquidity_deposit_address() -> Weight { // Proof Size summary in bytes: - // Measured: `1832` - // Estimated: `5297` - // Minimum execution time: 496_000_000 picoseconds. - Weight::from_parts(518_000_000, 5297) + // Measured: `1866` + // Estimated: `5331` + // Minimum execution time: 67_903_000 picoseconds. + Weight::from_parts(68_164_000, 5331) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `LiquidityPools::Pools` (r:1 w:0) /// Proof: `LiquidityPools::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `LiquidityProvider::FreeBalances` (r:1 w:1) @@ -208,51 +206,49 @@ impl WeightInfo for () { /// Proof: `EthereumIngressEgress::ScheduledEgressFetchOrTransfer` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn withdraw_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `1286` - // Estimated: `4751` - // Minimum execution time: 516_000_000 picoseconds. - Weight::from_parts(535_000_000, 4751) + // Measured: `1320` + // Estimated: `4785` + // Minimum execution time: 73_714_000 picoseconds. + Weight::from_parts(76_567_000, 4785) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:1) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_lp_account() -> Weight { // Proof Size summary in bytes: - // Measured: `470` - // Estimated: `3498` - // Minimum execution time: 176_000_000 picoseconds. - Weight::from_parts(194_000_000, 3498) + // Measured: `504` + // Estimated: `3969` + // Minimum execution time: 19_393_000 picoseconds. + Weight::from_parts(20_336_000, 3969) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:1) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `LiquidityPools::Pools` (r:8 w:0) /// Proof: `LiquidityPools::Pools` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `LiquidityProvider::FreeBalances` (r:8 w:0) /// Proof: `LiquidityProvider::FreeBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `LiquidityProvider::HistoricalEarnedFees` (r:0 w:1) - /// Proof: `LiquidityProvider::HistoricalEarnedFees` (`max_values`: None, `max_size`: None, mode: `Measured`) fn deregister_lp_account() -> Weight { // Proof Size summary in bytes: - // Measured: `578` - // Estimated: `21368` - // Minimum execution time: 722_000_000 picoseconds. - Weight::from_parts(733_000_000, 21368) + // Measured: `612` + // Estimated: `21402` + // Minimum execution time: 68_347_000 picoseconds. + Weight::from_parts(69_392_000, 21402) .saturating_add(RocksDbWeight::get().reads(17_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `LiquidityProvider::LiquidityRefundAddress` (r:0 w:1) /// Proof: `LiquidityProvider::LiquidityRefundAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_liquidity_refund_address() -> Weight { // Proof Size summary in bytes: - // Measured: `470` - // Estimated: `3498` - // Minimum execution time: 140_000_000 picoseconds. - Weight::from_parts(147_000_000, 3498) + // Measured: `504` + // Estimated: `3969` + // Minimum execution time: 16_306_000 picoseconds. + Weight::from_parts(16_557_000, 3969) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/state-chain/pallets/cf-pools/src/weights.rs b/state-chain/pallets/cf-pools/src/weights.rs index 08b85fac93..6a71cf341c 100644 --- a/state-chain/pallets/cf-pools/src/weights.rs +++ b/state-chain/pallets/cf-pools/src/weights.rs @@ -2,23 +2,23 @@ //! Autogenerated weights for pallet_cf_pools //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-04-12, STEPS: `20`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-03, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Roys-MacBook-Pro.local`, CPU: `` +//! HOSTNAME: `ip-172-31-0-210`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev-3"), DB CACHE: 1024 // Executed Command: -// ./target/release/chainflip-node +// ./chainflip-node // benchmark // pallet -// --extrinsic -// * // --pallet // pallet_cf_pools +// --extrinsic +// * // --output // state-chain/pallets/cf-pools/src/weights.rs // --steps=20 -// --repeat=20 +// --repeat=10 // --template=state-chain/chainflip-weight-template.hbs // --chain=dev-3 @@ -52,8 +52,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(7_000_000, 0) + // Minimum execution time: 6_418_000 picoseconds. + Weight::from_parts(6_652_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `LiquidityPools::Pools` (r:1 w:1) @@ -62,8 +62,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `32` // Estimated: `3497` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(24_000_000, 3497) + // Minimum execution time: 25_484_000 picoseconds. + Weight::from_parts(25_941_000, 3497) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -83,8 +83,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `2065` // Estimated: `8005` - // Minimum execution time: 96_000_000 picoseconds. - Weight::from_parts(99_000_000, 8005) + // Minimum execution time: 94_468_000 picoseconds. + Weight::from_parts(95_434_000, 8005) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -104,8 +104,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `2065` // Estimated: `8005` - // Minimum execution time: 96_000_000 picoseconds. - Weight::from_parts(97_000_000, 8005) + // Minimum execution time: 93_721_000 picoseconds. + Weight::from_parts(95_305_000, 8005) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -125,8 +125,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `2065` // Estimated: `8005` - // Minimum execution time: 78_000_000 picoseconds. - Weight::from_parts(81_000_000, 8005) + // Minimum execution time: 76_219_000 picoseconds. + Weight::from_parts(76_843_000, 8005) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -146,8 +146,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `2065` // Estimated: `8005` - // Minimum execution time: 78_000_000 picoseconds. - Weight::from_parts(79_000_000, 8005) + // Minimum execution time: 76_465_000 picoseconds. + Weight::from_parts(77_890_000, 8005) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -161,8 +161,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `2039` // Estimated: `7979` - // Minimum execution time: 65_000_000 picoseconds. - Weight::from_parts(67_000_000, 7979) + // Minimum execution time: 65_320_000 picoseconds. + Weight::from_parts(66_016_000, 7979) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -174,24 +174,23 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `549` // Estimated: `4014` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 4014) + // Minimum execution time: 18_913_000 picoseconds. + Weight::from_parts(19_198_000, 4014) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `LiquidityPools::MaximumPriceImpact` (r:1 w:1) + /// Storage: `LiquidityPools::MaximumPriceImpact` (r:0 w:6) /// Proof: `LiquidityPools::MaximumPriceImpact` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[1, 6]`. fn set_maximum_price_impact(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `32` - // Estimated: `3497` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(9_616_240, 3497) - // Standard Error: 14_712 - .saturating_add(Weight::from_parts(2_245_494, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 7_970_000 picoseconds. + Weight::from_parts(5_199_383, 0) + // Standard Error: 21_523 + .saturating_add(Weight::from_parts(3_670_515, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) } } @@ -203,8 +202,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(7_000_000, 0) + // Minimum execution time: 6_418_000 picoseconds. + Weight::from_parts(6_652_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `LiquidityPools::Pools` (r:1 w:1) @@ -213,8 +212,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `32` // Estimated: `3497` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(24_000_000, 3497) + // Minimum execution time: 25_484_000 picoseconds. + Weight::from_parts(25_941_000, 3497) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -234,8 +233,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2065` // Estimated: `8005` - // Minimum execution time: 96_000_000 picoseconds. - Weight::from_parts(99_000_000, 8005) + // Minimum execution time: 94_468_000 picoseconds. + Weight::from_parts(95_434_000, 8005) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -255,8 +254,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2065` // Estimated: `8005` - // Minimum execution time: 96_000_000 picoseconds. - Weight::from_parts(97_000_000, 8005) + // Minimum execution time: 93_721_000 picoseconds. + Weight::from_parts(95_305_000, 8005) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -276,8 +275,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2065` // Estimated: `8005` - // Minimum execution time: 78_000_000 picoseconds. - Weight::from_parts(81_000_000, 8005) + // Minimum execution time: 76_219_000 picoseconds. + Weight::from_parts(76_843_000, 8005) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -297,8 +296,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2065` // Estimated: `8005` - // Minimum execution time: 78_000_000 picoseconds. - Weight::from_parts(79_000_000, 8005) + // Minimum execution time: 76_465_000 picoseconds. + Weight::from_parts(77_890_000, 8005) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -312,8 +311,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2039` // Estimated: `7979` - // Minimum execution time: 65_000_000 picoseconds. - Weight::from_parts(67_000_000, 7979) + // Minimum execution time: 65_320_000 picoseconds. + Weight::from_parts(66_016_000, 7979) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -325,23 +324,22 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `549` // Estimated: `4014` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 4014) + // Minimum execution time: 18_913_000 picoseconds. + Weight::from_parts(19_198_000, 4014) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: `LiquidityPools::MaximumPriceImpact` (r:1 w:1) + /// Storage: `LiquidityPools::MaximumPriceImpact` (r:0 w:6) /// Proof: `LiquidityPools::MaximumPriceImpact` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[1, 6]`. fn set_maximum_price_impact(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `32` - // Estimated: `3497` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(9_616_240, 3497) - // Standard Error: 14_712 - .saturating_add(Weight::from_parts(2_245_494, 0).saturating_mul(n.into())) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 7_970_000 picoseconds. + Weight::from_parts(5_199_383, 0) + // Standard Error: 21_523 + .saturating_add(Weight::from_parts(3_670_515, 0).saturating_mul(n.into())) + .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into()))) } } diff --git a/state-chain/pallets/cf-reputation/src/weights.rs b/state-chain/pallets/cf-reputation/src/weights.rs index dd63fec0a2..bae22ddd79 100644 --- a/state-chain/pallets/cf-reputation/src/weights.rs +++ b/state-chain/pallets/cf-reputation/src/weights.rs @@ -2,13 +2,13 @@ //! Autogenerated weights for pallet_cf_reputation //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `2`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-03, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `wagmi.local`, CPU: `` +//! HOSTNAME: `ip-172-31-0-210`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev-3"), DB CACHE: 1024 // Executed Command: -// ./target/debug/chainflip-node +// ./chainflip-node // benchmark // pallet // --pallet @@ -17,8 +17,8 @@ // * // --output // state-chain/pallets/cf-reputation/src/weights.rs -// --steps=2 -// --repeat=2 +// --steps=20 +// --repeat=10 // --template=state-chain/chainflip-weight-template.hbs // --chain=dev-3 @@ -49,8 +49,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 62_000_000 picoseconds. - Weight::from_parts(73_000_000, 0) + // Minimum execution time: 6_594_000 picoseconds. + Weight::from_parts(7_021_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Reputation::Penalties` (r:1 w:1) @@ -59,8 +59,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `286` // Estimated: `3751` - // Minimum execution time: 142_000_000 picoseconds. - Weight::from_parts(143_000_000, 3751) + // Minimum execution time: 16_166_000 picoseconds. + Weight::from_parts(16_561_000, 3751) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -70,12 +70,12 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 79_000_000 picoseconds. - Weight::from_parts(103_000_000, 0) + // Minimum execution time: 8_346_000 picoseconds. + Weight::from_parts(8_764_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Reputation::Reputations` (r:1 w:1) /// Proof: `Reputation::Reputations` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Reputation::LastHeartbeat` (r:1 w:1) @@ -84,10 +84,10 @@ impl WeightInfo for PalletWeight { /// Proof: `Reputation::AccrualRatio` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn heartbeat() -> Weight { // Proof Size summary in bytes: - // Measured: `748` - // Estimated: `4213` - // Minimum execution time: 188_000_000 picoseconds. - Weight::from_parts(194_000_000, 4213) + // Measured: `782` + // Estimated: `4247` + // Minimum execution time: 21_975_000 picoseconds. + Weight::from_parts(22_283_000, 4247) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -122,24 +122,24 @@ impl WeightInfo for PalletWeight { /// The range of component `o` is `[0, 150]`. fn submit_network_state(o: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1296 + o * (37 ±0)` - // Estimated: `384240 + o * (37 ±0)` - // Minimum execution time: 257_000_000 picoseconds. - Weight::from_parts(266_000_000, 384240) - // Standard Error: 496_968 - .saturating_add(Weight::from_parts(148_660_000, 0).saturating_mul(o.into())) - .saturating_add(T::DbWeight::get().reads(8_u64)) + // Measured: `1976 + o * (32 ±0)` + // Estimated: `5246 + o * (2555 ±0)` + // Minimum execution time: 35_979_000 picoseconds. + Weight::from_parts(53_414_120, 5246) + // Standard Error: 22_256 + .saturating_add(Weight::from_parts(11_618_526, 0).saturating_mul(o.into())) + .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(o.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(o.into()))) - .saturating_add(Weight::from_parts(0, 37).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(0, 2555).saturating_mul(o.into())) } fn on_initialize_no_action() -> Weight { // 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: 208_000 picoseconds. + Weight::from_parts(221_000, 0) } } @@ -151,8 +151,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 62_000_000 picoseconds. - Weight::from_parts(73_000_000, 0) + // Minimum execution time: 6_594_000 picoseconds. + Weight::from_parts(7_021_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Reputation::Penalties` (r:1 w:1) @@ -161,8 +161,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `286` // Estimated: `3751` - // Minimum execution time: 142_000_000 picoseconds. - Weight::from_parts(143_000_000, 3751) + // Minimum execution time: 16_166_000 picoseconds. + Weight::from_parts(16_561_000, 3751) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -172,12 +172,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 79_000_000 picoseconds. - Weight::from_parts(103_000_000, 0) + // Minimum execution time: 8_346_000 picoseconds. + Weight::from_parts(8_764_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Reputation::Reputations` (r:1 w:1) /// Proof: `Reputation::Reputations` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Reputation::LastHeartbeat` (r:1 w:1) @@ -186,10 +186,10 @@ impl WeightInfo for () { /// Proof: `Reputation::AccrualRatio` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn heartbeat() -> Weight { // Proof Size summary in bytes: - // Measured: `748` - // Estimated: `4213` - // Minimum execution time: 188_000_000 picoseconds. - Weight::from_parts(194_000_000, 4213) + // Measured: `782` + // Estimated: `4247` + // Minimum execution time: 21_975_000 picoseconds. + Weight::from_parts(22_283_000, 4247) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -224,23 +224,23 @@ impl WeightInfo for () { /// The range of component `o` is `[0, 150]`. fn submit_network_state(o: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1296 + o * (37 ±0)` - // Estimated: `384240 + o * (37 ±0)` - // Minimum execution time: 257_000_000 picoseconds. - Weight::from_parts(266_000_000, 384240) - // Standard Error: 496_968 - .saturating_add(Weight::from_parts(148_660_000, 0).saturating_mul(o.into())) - .saturating_add(RocksDbWeight::get().reads(8_u64)) + // Measured: `1976 + o * (32 ±0)` + // Estimated: `5246 + o * (2555 ±0)` + // Minimum execution time: 35_979_000 picoseconds. + Weight::from_parts(53_414_120, 5246) + // Standard Error: 22_256 + .saturating_add(Weight::from_parts(11_618_526, 0).saturating_mul(o.into())) + .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(o.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(o.into()))) - .saturating_add(Weight::from_parts(0, 37).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(0, 2555).saturating_mul(o.into())) } fn on_initialize_no_action() -> Weight { // 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: 208_000 picoseconds. + Weight::from_parts(221_000, 0) } } diff --git a/state-chain/pallets/cf-swapping/src/weights.rs b/state-chain/pallets/cf-swapping/src/weights.rs index 6dc7e9cbe0..d6529386eb 100644 --- a/state-chain/pallets/cf-swapping/src/weights.rs +++ b/state-chain/pallets/cf-swapping/src/weights.rs @@ -2,13 +2,13 @@ //! Autogenerated weights for pallet_cf_swapping //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `2`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-03, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `wagmi.local`, CPU: `` +//! HOSTNAME: `ip-172-31-0-210`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev-3"), DB CACHE: 1024 // Executed Command: -// ./target/debug/chainflip-node +// ./chainflip-node // benchmark // pallet // --pallet @@ -17,8 +17,8 @@ // * // --output // state-chain/pallets/cf-swapping/src/weights.rs -// --steps=2 -// --repeat=2 +// --steps=20 +// --repeat=10 // --template=state-chain/chainflip-weight-template.hbs // --chain=dev-3 @@ -44,10 +44,10 @@ pub trait WeightInfo { /// Weights for pallet_cf_swapping using the Substrate node and recommended hardware. pub struct PalletWeight(PhantomData); impl WeightInfo for PalletWeight { + /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) /// Storage: `EthereumIngressEgress::ChannelOpeningFee` (r:1 w:0) /// Proof: `EthereumIngressEgress::ChannelOpeningFee` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Flip::Account` (r:1 w:1) @@ -68,17 +68,17 @@ impl WeightInfo for PalletWeight { /// Proof: `EthereumIngressEgress::DepositChannelLookup` (`max_values`: None, `max_size`: None, mode: `Measured`) fn request_swap_deposit_address() -> Weight { // Proof Size summary in bytes: - // Measured: `1668` - // Estimated: `5133` - // Minimum execution time: 437_000_000 picoseconds. - Weight::from_parts(452_000_000, 5133) + // Measured: `1702` + // Estimated: `5167` + // Minimum execution time: 63_113_000 picoseconds. + Weight::from_parts(64_985_000, 5167) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } + /// Storage: `AccountRoles::AccountRoles` (r:5 w:0) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) /// Storage: `EthereumIngressEgress::ChannelOpeningFee` (r:1 w:0) /// Proof: `EthereumIngressEgress::ChannelOpeningFee` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Flip::Account` (r:1 w:1) @@ -99,17 +99,17 @@ impl WeightInfo for PalletWeight { /// Proof: `EthereumIngressEgress::DepositChannelLookup` (`max_values`: None, `max_size`: None, mode: `Measured`) fn request_swap_deposit_address_with_affiliates() -> Weight { // Proof Size summary in bytes: - // Measured: `1668` - // Estimated: `5133` - // Minimum execution time: 437_000_000 picoseconds. - Weight::from_parts(452_000_000, 5133) - .saturating_add(T::DbWeight::get().reads(10_u64)) + // Measured: `1859` + // Estimated: `15224` + // Minimum execution time: 76_689_000 picoseconds. + Weight::from_parts(77_339_000, 15224) + .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Swapping::EarnedBrokerFees` (r:1 w:1) /// Proof: `Swapping::EarnedBrokerFees` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `EthereumIngressEgress::EgressIdCounter` (r:1 w:1) @@ -128,36 +128,36 @@ impl WeightInfo for PalletWeight { /// Proof: `EthereumIngressEgress::ScheduledEgressFetchOrTransfer` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn withdraw() -> Weight { // Proof Size summary in bytes: - // Measured: `1254` - // Estimated: `4719` - // Minimum execution time: 447_000_000 picoseconds. - Weight::from_parts(466_000_000, 4719) + // Measured: `1288` + // Estimated: `4753` + // Minimum execution time: 64_058_000 picoseconds. + Weight::from_parts(65_079_000, 4753) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `AccountRoles::AccountRoles` (r:1 w:1) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_as_broker() -> Weight { // Proof Size summary in bytes: - // Measured: `890` - // Estimated: `3498` - // Minimum execution time: 210_000_000 picoseconds. - Weight::from_parts(214_000_000, 3498) + // Measured: `924` + // Estimated: `4389` + // Minimum execution time: 24_448_000 picoseconds. + Weight::from_parts(25_145_000, 4389) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:1) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Swapping::EarnedBrokerFees` (r:1 w:0) /// Proof: `Swapping::EarnedBrokerFees` (`max_values`: None, `max_size`: None, mode: `Measured`) fn deregister_as_broker() -> Weight { // Proof Size summary in bytes: - // Measured: `546` - // Estimated: `4011` - // Minimum execution time: 247_000_000 picoseconds. - Weight::from_parts(255_000_000, 4011) + // Measured: `580` + // Estimated: `4045` + // Minimum execution time: 28_222_000 picoseconds. + Weight::from_parts(29_053_000, 4045) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -171,8 +171,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3541` - // Minimum execution time: 143_000_000 picoseconds. - Weight::from_parts(162_000_000, 3541) + // Minimum execution time: 15_088_000 picoseconds. + Weight::from_parts(15_747_000, 3541) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -192,8 +192,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3541` - // Minimum execution time: 308_000_000 picoseconds. - Weight::from_parts(325_000_000, 3541) + // Minimum execution time: 30_032_000 picoseconds. + Weight::from_parts(30_610_000, 3541) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -201,10 +201,10 @@ impl WeightInfo for PalletWeight { // For backwards compatibility and tests impl WeightInfo for () { + /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) /// Storage: `EthereumIngressEgress::ChannelOpeningFee` (r:1 w:0) /// Proof: `EthereumIngressEgress::ChannelOpeningFee` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Flip::Account` (r:1 w:1) @@ -225,17 +225,17 @@ impl WeightInfo for () { /// Proof: `EthereumIngressEgress::DepositChannelLookup` (`max_values`: None, `max_size`: None, mode: `Measured`) fn request_swap_deposit_address() -> Weight { // Proof Size summary in bytes: - // Measured: `1668` - // Estimated: `5133` - // Minimum execution time: 437_000_000 picoseconds. - Weight::from_parts(452_000_000, 5133) + // Measured: `1702` + // Estimated: `5167` + // Minimum execution time: 63_113_000 picoseconds. + Weight::from_parts(64_985_000, 5167) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } + /// Storage: `AccountRoles::AccountRoles` (r:5 w:0) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) /// Storage: `EthereumIngressEgress::ChannelOpeningFee` (r:1 w:0) /// Proof: `EthereumIngressEgress::ChannelOpeningFee` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Flip::Account` (r:1 w:1) @@ -256,17 +256,17 @@ impl WeightInfo for () { /// Proof: `EthereumIngressEgress::DepositChannelLookup` (`max_values`: None, `max_size`: None, mode: `Measured`) fn request_swap_deposit_address_with_affiliates() -> Weight { // Proof Size summary in bytes: - // Measured: `1668` - // Estimated: `5133` - // Minimum execution time: 437_000_000 picoseconds. - Weight::from_parts(452_000_000, 5133) - .saturating_add(RocksDbWeight::get().reads(10_u64)) + // Measured: `1859` + // Estimated: `15224` + // Minimum execution time: 76_689_000 picoseconds. + Weight::from_parts(77_339_000, 15224) + .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Swapping::EarnedBrokerFees` (r:1 w:1) /// Proof: `Swapping::EarnedBrokerFees` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `EthereumIngressEgress::EgressIdCounter` (r:1 w:1) @@ -285,36 +285,36 @@ impl WeightInfo for () { /// Proof: `EthereumIngressEgress::ScheduledEgressFetchOrTransfer` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn withdraw() -> Weight { // Proof Size summary in bytes: - // Measured: `1254` - // Estimated: `4719` - // Minimum execution time: 447_000_000 picoseconds. - Weight::from_parts(466_000_000, 4719) + // Measured: `1288` + // Estimated: `4753` + // Minimum execution time: 64_058_000 picoseconds. + Weight::from_parts(65_079_000, 4753) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `AccountRoles::AccountRoles` (r:1 w:1) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_as_broker() -> Weight { // Proof Size summary in bytes: - // Measured: `890` - // Estimated: `3498` - // Minimum execution time: 210_000_000 picoseconds. - Weight::from_parts(214_000_000, 3498) + // Measured: `924` + // Estimated: `4389` + // Minimum execution time: 24_448_000 picoseconds. + Weight::from_parts(25_145_000, 4389) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:1) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Swapping::EarnedBrokerFees` (r:1 w:0) /// Proof: `Swapping::EarnedBrokerFees` (`max_values`: None, `max_size`: None, mode: `Measured`) fn deregister_as_broker() -> Weight { // Proof Size summary in bytes: - // Measured: `546` - // Estimated: `4011` - // Minimum execution time: 247_000_000 picoseconds. - Weight::from_parts(255_000_000, 4011) + // Measured: `580` + // Estimated: `4045` + // Minimum execution time: 28_222_000 picoseconds. + Weight::from_parts(29_053_000, 4045) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -328,8 +328,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3541` - // Minimum execution time: 143_000_000 picoseconds. - Weight::from_parts(162_000_000, 3541) + // Minimum execution time: 15_088_000 picoseconds. + Weight::from_parts(15_747_000, 3541) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -349,8 +349,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3541` - // Minimum execution time: 308_000_000 picoseconds. - Weight::from_parts(325_000_000, 3541) + // Minimum execution time: 30_032_000 picoseconds. + Weight::from_parts(30_610_000, 3541) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } diff --git a/state-chain/pallets/cf-threshold-signature/src/weights.rs b/state-chain/pallets/cf-threshold-signature/src/weights.rs index 87c4c65978..10f56e3c4c 100644 --- a/state-chain/pallets/cf-threshold-signature/src/weights.rs +++ b/state-chain/pallets/cf-threshold-signature/src/weights.rs @@ -2,13 +2,13 @@ //! Autogenerated weights for pallet_cf_threshold_signature //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `2`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-03, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `wagmi.local`, CPU: `` +//! HOSTNAME: `ip-172-31-0-210`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev-3"), DB CACHE: 1024 // Executed Command: -// ./target/debug/chainflip-node +// ./chainflip-node // benchmark // pallet // --pallet @@ -17,8 +17,8 @@ // * // --output // state-chain/pallets/cf-threshold-signature/src/weights.rs -// --steps=2 -// --repeat=2 +// --steps=20 +// --repeat=10 // --template=state-chain/chainflip-weight-template.hbs // --chain=dev-3 @@ -59,22 +59,22 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `550` // Estimated: `4015` - // Minimum execution time: 302_000_000 picoseconds. - Weight::from_parts(372_000_000, 4015) + // Minimum execution time: 34_336_000 picoseconds. + Weight::from_parts(35_976_000, 4015) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `EvmThresholdSigner::PendingCeremonies` (r:1 w:1) /// Proof: `EvmThresholdSigner::PendingCeremonies` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `a` is `[1, 100]`. fn report_signature_failed(_a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1453` - // Estimated: `4918` - // Minimum execution time: 229_000_000 picoseconds. - Weight::from_parts(280_803_030, 4918) + // Measured: `1487` + // Estimated: `4952` + // Minimum execution time: 37_832_000 picoseconds. + Weight::from_parts(42_561_305, 4952) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -84,8 +84,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `193` // Estimated: `1678` - // Minimum execution time: 87_000_000 picoseconds. - Weight::from_parts(98_000_000, 1678) + // Minimum execution time: 10_437_000 picoseconds. + Weight::from_parts(10_930_000, 1678) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -109,22 +109,22 @@ impl WeightInfo for PalletWeight { /// Proof: `Validator::CurrentAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `EvmThresholdSigner::KeygenResolutionPendingSince` (r:0 w:1) /// Proof: `EvmThresholdSigner::KeygenResolutionPendingSince` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Reputation::Reputations` (r:1 w:1) + /// Storage: `Reputation::Reputations` (r:47 w:47) /// Proof: `Reputation::Reputations` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `EvmThresholdSigner::KeygenSlashAmount` (r:1 w:0) /// Proof: `EvmThresholdSigner::KeygenSlashAmount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Flip::Account` (r:1 w:0) + /// Storage: `Flip::Account` (r:47 w:0) /// Proof: `Flip::Account` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// The range of component `b` is `[1, 100]`. fn on_initialize_keygen_failure_no_pending_sig_ceremonies(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `16309 + b * (31 ±0)` - // Estimated: `19806 + b * (32 ±0)` - // Minimum execution time: 688_000_000 picoseconds. - Weight::from_parts(709_166_666, 19806) - .saturating_add(T::DbWeight::get().reads(12_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) - .saturating_add(Weight::from_parts(0, 32).saturating_mul(b.into())) + // Measured: `16409 + b * (30 ±0)` + // Estimated: `20117 + b * (2555 ±0)` + // Minimum execution time: 94_095_000 picoseconds. + Weight::from_parts(290_483_377, 20117) + .saturating_add(T::DbWeight::get().reads(57_u64)) + .saturating_add(T::DbWeight::get().writes(28_u64)) + .saturating_add(Weight::from_parts(0, 2555).saturating_mul(b.into())) } /// Storage: `EvmThresholdSigner::PendingKeyRotation` (r:1 w:1) /// Proof: `EvmThresholdSigner::PendingKeyRotation` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -154,10 +154,10 @@ impl WeightInfo for PalletWeight { /// Proof: `EvmThresholdSigner::RequestCallback` (`max_values`: None, `max_size`: None, mode: `Measured`) fn on_initialize_keygen_success_no_pending_sig_ceremonies() -> Weight { // Proof Size summary in bytes: - // Measured: `10559` - // Estimated: `16499` - // Minimum execution time: 696_000_000 picoseconds. - Weight::from_parts(718_000_000, 16499) + // Measured: `10546` + // Estimated: `16486` + // Minimum execution time: 108_064_000 picoseconds. + Weight::from_parts(112_885_000, 16486) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(11_u64)) } @@ -189,17 +189,20 @@ impl WeightInfo for PalletWeight { /// The range of component `r` is `[0, 50]`. fn on_initialize_no_keygen(a: u32, r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `529 + a * (32 ±0) + r * (406 ±0)` - // Estimated: `3995 + a * (32 ±0) + r * (2911 ±0)` - // Minimum execution time: 140_000_000 picoseconds. - Weight::from_parts(481_321_428, 3995) - // Standard Error: 8_485_572 - .saturating_add(Weight::from_parts(375_200_000, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) + // Measured: `1636 + a * (32 ±0) + r * (384 ±0)` + // Estimated: `12528 + a * (34 ±0) + r * (2859 ±0)` + // Minimum execution time: 21_927_000 picoseconds. + Weight::from_parts(63_575_770, 12528) + // Standard Error: 28_645 + .saturating_add(Weight::from_parts(23_047, 0).saturating_mul(a.into())) + // Standard Error: 79_634 + .saturating_add(Weight::from_parts(31_216_713, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 32).saturating_mul(a.into())) - .saturating_add(Weight::from_parts(0, 2911).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 34).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 2859).saturating_mul(r.into())) } /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -214,10 +217,10 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `696` // Estimated: `4161 + o * (2475 ±0)` - // Minimum execution time: 188_000_000 picoseconds. - Weight::from_parts(138_752_525, 4161) - // Standard Error: 732_758 - .saturating_add(Weight::from_parts(51_747_474, 0).saturating_mul(o.into())) + // Minimum execution time: 21_966_000 picoseconds. + Weight::from_parts(16_717_551, 4161) + // Standard Error: 9_231 + .saturating_add(Weight::from_parts(4_673_597, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(o.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -225,17 +228,17 @@ impl WeightInfo for PalletWeight { .saturating_add(Weight::from_parts(0, 2475).saturating_mul(o.into())) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `EvmThresholdSigner::PendingKeyRotation` (r:1 w:1) /// Proof: `EvmThresholdSigner::PendingKeyRotation` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `EvmThresholdSigner::KeygenSuccessVoters` (r:1 w:1) /// Proof: `EvmThresholdSigner::KeygenSuccessVoters` (`max_values`: None, `max_size`: None, mode: `Measured`) fn report_keygen_outcome() -> Weight { // Proof Size summary in bytes: - // Measured: `15107` - // Estimated: `18572` - // Minimum execution time: 369_000_000 picoseconds. - Weight::from_parts(379_000_000, 18572) + // Measured: `15141` + // Estimated: `18606` + // Minimum execution time: 63_049_000 picoseconds. + Weight::from_parts(64_800_000, 18606) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -247,8 +250,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `434` // Estimated: `3899` - // Minimum execution time: 128_000_000 picoseconds. - Weight::from_parts(150_000_000, 3899) + // Minimum execution time: 17_947_000 picoseconds. + Weight::from_parts(19_261_000, 3899) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -258,8 +261,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `220` // Estimated: `1705` - // Minimum execution time: 94_000_000 picoseconds. - Weight::from_parts(109_000_000, 1705) + // Minimum execution time: 11_521_000 picoseconds. + Weight::from_parts(11_889_000, 1705) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -279,22 +282,22 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `550` // Estimated: `4015` - // Minimum execution time: 302_000_000 picoseconds. - Weight::from_parts(372_000_000, 4015) + // Minimum execution time: 34_336_000 picoseconds. + Weight::from_parts(35_976_000, 4015) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `EvmThresholdSigner::PendingCeremonies` (r:1 w:1) /// Proof: `EvmThresholdSigner::PendingCeremonies` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `a` is `[1, 100]`. fn report_signature_failed(_a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1453` - // Estimated: `4918` - // Minimum execution time: 229_000_000 picoseconds. - Weight::from_parts(280_803_030, 4918) + // Measured: `1487` + // Estimated: `4952` + // Minimum execution time: 37_832_000 picoseconds. + Weight::from_parts(42_561_305, 4952) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -304,8 +307,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `193` // Estimated: `1678` - // Minimum execution time: 87_000_000 picoseconds. - Weight::from_parts(98_000_000, 1678) + // Minimum execution time: 10_437_000 picoseconds. + Weight::from_parts(10_930_000, 1678) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -329,22 +332,22 @@ impl WeightInfo for () { /// Proof: `Validator::CurrentAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `EvmThresholdSigner::KeygenResolutionPendingSince` (r:0 w:1) /// Proof: `EvmThresholdSigner::KeygenResolutionPendingSince` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Reputation::Reputations` (r:1 w:1) + /// Storage: `Reputation::Reputations` (r:47 w:47) /// Proof: `Reputation::Reputations` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `EvmThresholdSigner::KeygenSlashAmount` (r:1 w:0) /// Proof: `EvmThresholdSigner::KeygenSlashAmount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Flip::Account` (r:1 w:0) + /// Storage: `Flip::Account` (r:47 w:0) /// Proof: `Flip::Account` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// The range of component `b` is `[1, 100]`. fn on_initialize_keygen_failure_no_pending_sig_ceremonies(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `16309 + b * (31 ±0)` - // Estimated: `19806 + b * (32 ±0)` - // Minimum execution time: 688_000_000 picoseconds. - Weight::from_parts(709_166_666, 19806) - .saturating_add(RocksDbWeight::get().reads(12_u64)) - .saturating_add(RocksDbWeight::get().writes(6_u64)) - .saturating_add(Weight::from_parts(0, 32).saturating_mul(b.into())) + // Measured: `16409 + b * (30 ±0)` + // Estimated: `20117 + b * (2555 ±0)` + // Minimum execution time: 94_095_000 picoseconds. + Weight::from_parts(290_483_377, 20117) + .saturating_add(RocksDbWeight::get().reads(57_u64)) + .saturating_add(RocksDbWeight::get().writes(28_u64)) + .saturating_add(Weight::from_parts(0, 2555).saturating_mul(b.into())) } /// Storage: `EvmThresholdSigner::PendingKeyRotation` (r:1 w:1) /// Proof: `EvmThresholdSigner::PendingKeyRotation` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -374,10 +377,10 @@ impl WeightInfo for () { /// Proof: `EvmThresholdSigner::RequestCallback` (`max_values`: None, `max_size`: None, mode: `Measured`) fn on_initialize_keygen_success_no_pending_sig_ceremonies() -> Weight { // Proof Size summary in bytes: - // Measured: `10559` - // Estimated: `16499` - // Minimum execution time: 696_000_000 picoseconds. - Weight::from_parts(718_000_000, 16499) + // Measured: `10546` + // Estimated: `16486` + // Minimum execution time: 108_064_000 picoseconds. + Weight::from_parts(112_885_000, 16486) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(11_u64)) } @@ -409,17 +412,20 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 50]`. fn on_initialize_no_keygen(a: u32, r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `529 + a * (32 ±0) + r * (406 ±0)` - // Estimated: `3995 + a * (32 ±0) + r * (2911 ±0)` - // Minimum execution time: 140_000_000 picoseconds. - Weight::from_parts(481_321_428, 3995) - // Standard Error: 8_485_572 - .saturating_add(Weight::from_parts(375_200_000, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads(5_u64)) + // Measured: `1636 + a * (32 ±0) + r * (384 ±0)` + // Estimated: `12528 + a * (34 ±0) + r * (2859 ±0)` + // Minimum execution time: 21_927_000 picoseconds. + Weight::from_parts(63_575_770, 12528) + // Standard Error: 28_645 + .saturating_add(Weight::from_parts(23_047, 0).saturating_mul(a.into())) + // Standard Error: 79_634 + .saturating_add(Weight::from_parts(31_216_713, 0).saturating_mul(r.into())) + .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 32).saturating_mul(a.into())) - .saturating_add(Weight::from_parts(0, 2911).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 34).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 2859).saturating_mul(r.into())) } /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -434,10 +440,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `696` // Estimated: `4161 + o * (2475 ±0)` - // Minimum execution time: 188_000_000 picoseconds. - Weight::from_parts(138_752_525, 4161) - // Standard Error: 732_758 - .saturating_add(Weight::from_parts(51_747_474, 0).saturating_mul(o.into())) + // Minimum execution time: 21_966_000 picoseconds. + Weight::from_parts(16_717_551, 4161) + // Standard Error: 9_231 + .saturating_add(Weight::from_parts(4_673_597, 0).saturating_mul(o.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(o.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -445,17 +451,17 @@ impl WeightInfo for () { .saturating_add(Weight::from_parts(0, 2475).saturating_mul(o.into())) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `EvmThresholdSigner::PendingKeyRotation` (r:1 w:1) /// Proof: `EvmThresholdSigner::PendingKeyRotation` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `EvmThresholdSigner::KeygenSuccessVoters` (r:1 w:1) /// Proof: `EvmThresholdSigner::KeygenSuccessVoters` (`max_values`: None, `max_size`: None, mode: `Measured`) fn report_keygen_outcome() -> Weight { // Proof Size summary in bytes: - // Measured: `15107` - // Estimated: `18572` - // Minimum execution time: 369_000_000 picoseconds. - Weight::from_parts(379_000_000, 18572) + // Measured: `15141` + // Estimated: `18606` + // Minimum execution time: 63_049_000 picoseconds. + Weight::from_parts(64_800_000, 18606) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -467,8 +473,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `434` // Estimated: `3899` - // Minimum execution time: 128_000_000 picoseconds. - Weight::from_parts(150_000_000, 3899) + // Minimum execution time: 17_947_000 picoseconds. + Weight::from_parts(19_261_000, 3899) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -478,8 +484,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `220` // Estimated: `1705` - // Minimum execution time: 94_000_000 picoseconds. - Weight::from_parts(109_000_000, 1705) + // Minimum execution time: 11_521_000 picoseconds. + Weight::from_parts(11_889_000, 1705) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/state-chain/pallets/cf-tokenholder-governance/src/weights.rs b/state-chain/pallets/cf-tokenholder-governance/src/weights.rs index dcbd954372..2bd7f44a57 100644 --- a/state-chain/pallets/cf-tokenholder-governance/src/weights.rs +++ b/state-chain/pallets/cf-tokenholder-governance/src/weights.rs @@ -2,13 +2,13 @@ //! Autogenerated weights for pallet_cf_tokenholder_governance //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `2`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-03, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `wagmi.local`, CPU: `` +//! HOSTNAME: `ip-172-31-0-210`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev-3"), DB CACHE: 1024 // Executed Command: -// ./target/debug/chainflip-node +// ./chainflip-node // benchmark // pallet // --pallet @@ -17,8 +17,8 @@ // * // --output // state-chain/pallets/cf-tokenholder-governance/src/weights.rs -// --steps=2 -// --repeat=2 +// --steps=20 +// --repeat=10 // --template=state-chain/chainflip-weight-template.hbs // --chain=dev-3 @@ -58,12 +58,12 @@ impl WeightInfo for PalletWeight { /// The range of component `a` is `[10, 1000]`. fn on_initialize_resolve_votes(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `760 + a * (118 ±0)` - // Estimated: `4225 + a * (2555 ±0)` - // Minimum execution time: 626_000_000 picoseconds. - Weight::from_parts(210_414_141, 4225) - // Standard Error: 413_200 - .saturating_add(Weight::from_parts(42_308_585, 0).saturating_mul(a.into())) + // Measured: `784 + a * (118 ±0)` + // Estimated: `4256 + a * (2555 ±0)` + // Minimum execution time: 65_655_000 picoseconds. + Weight::from_parts(66_350_000, 4256) + // Standard Error: 15_975 + .saturating_add(Weight::from_parts(4_277_040, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -115,10 +115,10 @@ impl WeightInfo for PalletWeight { /// Proof: `EvmThresholdSigner::RequestCallback` (`max_values`: None, `max_size`: None, mode: `Measured`) fn on_initialize_execute_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `1662` - // Estimated: `12552` - // Minimum execution time: 866_000_000 picoseconds. - Weight::from_parts(887_000_000, 12552) + // Measured: `1649` + // Estimated: `12539` + // Minimum execution time: 102_959_000 picoseconds. + Weight::from_parts(104_329_000, 12539) .saturating_add(T::DbWeight::get().reads(22_u64)) .saturating_add(T::DbWeight::get().writes(12_u64)) } @@ -134,8 +134,8 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `611` // Estimated: `3545` - // Minimum execution time: 198_000_000 picoseconds. - Weight::from_parts(208_000_000, 3545) + // Minimum execution time: 24_061_000 picoseconds. + Weight::from_parts(24_331_000, 3545) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -144,12 +144,12 @@ impl WeightInfo for PalletWeight { /// The range of component `a` is `[1, 1000]`. fn back_proposal(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `183 + a * (32 ±0)` - // Estimated: `3649 + a * (32 ±0)` - // Minimum execution time: 96_000_000 picoseconds. - Weight::from_parts(98_731_231, 3649) - // Standard Error: 8_085 - .saturating_add(Weight::from_parts(268_768, 0).saturating_mul(a.into())) + // Measured: `185 + a * (32 ±0)` + // Estimated: `3650 + a * (32 ±0)` + // Minimum execution time: 10_612_000 picoseconds. + Weight::from_parts(13_687_784, 3650) + // Standard Error: 711 + .saturating_add(Weight::from_parts(73_935, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(a.into())) @@ -175,12 +175,12 @@ impl WeightInfo for () { /// The range of component `a` is `[10, 1000]`. fn on_initialize_resolve_votes(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `760 + a * (118 ±0)` - // Estimated: `4225 + a * (2555 ±0)` - // Minimum execution time: 626_000_000 picoseconds. - Weight::from_parts(210_414_141, 4225) - // Standard Error: 413_200 - .saturating_add(Weight::from_parts(42_308_585, 0).saturating_mul(a.into())) + // Measured: `784 + a * (118 ±0)` + // Estimated: `4256 + a * (2555 ±0)` + // Minimum execution time: 65_655_000 picoseconds. + Weight::from_parts(66_350_000, 4256) + // Standard Error: 15_975 + .saturating_add(Weight::from_parts(4_277_040, 0).saturating_mul(a.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -232,10 +232,10 @@ impl WeightInfo for () { /// Proof: `EvmThresholdSigner::RequestCallback` (`max_values`: None, `max_size`: None, mode: `Measured`) fn on_initialize_execute_proposal() -> Weight { // Proof Size summary in bytes: - // Measured: `1662` - // Estimated: `12552` - // Minimum execution time: 866_000_000 picoseconds. - Weight::from_parts(887_000_000, 12552) + // Measured: `1649` + // Estimated: `12539` + // Minimum execution time: 102_959_000 picoseconds. + Weight::from_parts(104_329_000, 12539) .saturating_add(RocksDbWeight::get().reads(22_u64)) .saturating_add(RocksDbWeight::get().writes(12_u64)) } @@ -251,8 +251,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `611` // Estimated: `3545` - // Minimum execution time: 198_000_000 picoseconds. - Weight::from_parts(208_000_000, 3545) + // Minimum execution time: 24_061_000 picoseconds. + Weight::from_parts(24_331_000, 3545) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -261,12 +261,12 @@ impl WeightInfo for () { /// The range of component `a` is `[1, 1000]`. fn back_proposal(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `183 + a * (32 ±0)` - // Estimated: `3649 + a * (32 ±0)` - // Minimum execution time: 96_000_000 picoseconds. - Weight::from_parts(98_731_231, 3649) - // Standard Error: 8_085 - .saturating_add(Weight::from_parts(268_768, 0).saturating_mul(a.into())) + // Measured: `185 + a * (32 ±0)` + // Estimated: `3650 + a * (32 ±0)` + // Minimum execution time: 10_612_000 picoseconds. + Weight::from_parts(13_687_784, 3650) + // Standard Error: 711 + .saturating_add(Weight::from_parts(73_935, 0).saturating_mul(a.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(a.into())) diff --git a/state-chain/pallets/cf-validator/src/weights.rs b/state-chain/pallets/cf-validator/src/weights.rs index e71e132869..0ebc4fffc8 100644 --- a/state-chain/pallets/cf-validator/src/weights.rs +++ b/state-chain/pallets/cf-validator/src/weights.rs @@ -2,13 +2,13 @@ //! Autogenerated weights for pallet_cf_validator //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `2`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-03, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `wagmi.local`, CPU: `` +//! HOSTNAME: `ip-172-31-0-210`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev-3"), DB CACHE: 1024 // Executed Command: -// ./target/debug/chainflip-node +// ./chainflip-node // benchmark // pallet // --pallet @@ -17,8 +17,8 @@ // * // --output // state-chain/pallets/cf-validator/src/weights.rs -// --steps=2 -// --repeat=2 +// --steps=20 +// --repeat=10 // --template=state-chain/chainflip-weight-template.hbs // --chain=dev-3 @@ -44,8 +44,8 @@ pub trait WeightInfo { fn rotation_phase_activating_keys(a: u32, ) -> Weight; fn register_as_validator() -> Weight; fn deregister_as_validator() -> Weight; - fn start_bidding() -> Weight; fn stop_bidding() -> Weight; + fn start_bidding() -> Weight; } /// Weights for pallet_cf_validator using the Substrate node and recommended hardware. @@ -57,28 +57,28 @@ impl WeightInfo for PalletWeight { /// Proof: `Validator::AuctionParameters` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn update_pallet_config() -> Weight { // Proof Size summary in bytes: - // Measured: `433` - // Estimated: `1918` - // Minimum execution time: 99_000_000 picoseconds. - Weight::from_parts(113_000_000, 1918) + // Measured: `420` + // Estimated: `1905` + // Minimum execution time: 12_874_000 picoseconds. + Weight::from_parts(13_410_000, 1905) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Validator::NodeCFEVersion` (r:1 w:1) /// Proof: `Validator::NodeCFEVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cfe_version() -> Weight { // Proof Size summary in bytes: - // Measured: `816` - // Estimated: `4281` - // Minimum execution time: 170_000_000 picoseconds. - Weight::from_parts(170_000_000, 4281) + // Measured: `837` + // Estimated: `4302` + // Minimum execution time: 21_334_000 picoseconds. + Weight::from_parts(21_995_000, 4302) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Validator::AccountPeerMapping` (r:1 w:1) /// Proof: `Validator::AccountPeerMapping` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Validator::MappedPeers` (r:1 w:1) @@ -87,10 +87,10 @@ impl WeightInfo for PalletWeight { /// Proof: `CfeInterface::CfeEvents` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn register_peer_id() -> Weight { // Proof Size summary in bytes: - // Measured: `868` - // Estimated: `4333` - // Minimum execution time: 328_000_000 picoseconds. - Weight::from_parts(365_000_000, 4333) + // Measured: `865` + // Estimated: `4330` + // Minimum execution time: 96_567_000 picoseconds. + Weight::from_parts(97_258_000, 4330) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -109,17 +109,17 @@ impl WeightInfo for PalletWeight { /// The range of component `a` is `[3, 150]`. fn expire_epoch(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1296 + a * (89 ±0)` - // Estimated: `4761 + a * (2565 ±0)` - // Minimum execution time: 571_000_000 picoseconds. - Weight::from_parts(186_214_285, 4761) - // Standard Error: 799_348 - .saturating_add(Weight::from_parts(128_595_238, 0).saturating_mul(a.into())) + // Measured: `1729 + a * (87 ±0)` + // Estimated: `5091 + a * (2563 ±0)` + // Minimum execution time: 56_941_000 picoseconds. + Weight::from_parts(32_267_561, 5091) + // Standard Error: 24_644 + .saturating_add(Weight::from_parts(10_546_503, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 2565).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 2563).saturating_mul(a.into())) } /// Storage: `Session::Validators` (r:1 w:0) /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -139,14 +139,14 @@ impl WeightInfo for PalletWeight { fn missed_authorship_slots(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1059` - // Estimated: `4524 + m * (550 ±0)` - // Minimum execution time: 279_000_000 picoseconds. - Weight::from_parts(166_222_222, 4524) - // Standard Error: 248_451 - .saturating_add(Weight::from_parts(114_777_777, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - .saturating_add(Weight::from_parts(0, 550).saturating_mul(m.into())) + // Estimated: `6079 + m * (470 ±43)` + // Minimum execution time: 33_725_000 picoseconds. + Weight::from_parts(33_292_993, 6079) + // Standard Error: 579_605 + .saturating_add(Weight::from_parts(9_098_726, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(Weight::from_parts(0, 470).saturating_mul(m.into())) } /// Storage: `Validator::EpochExpiries` (r:1 w:0) /// Proof: `Validator::EpochExpiries` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -164,10 +164,10 @@ impl WeightInfo for PalletWeight { /// Proof: `Validator::BlocksPerEpoch` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn rotation_phase_idle() -> Weight { // Proof Size summary in bytes: - // Measured: `760` - // Estimated: `4225` - // Minimum execution time: 168_000_000 picoseconds. - Weight::from_parts(176_000_000, 4225) + // Measured: `756` + // Estimated: `4221` + // Minimum execution time: 18_001_000 picoseconds. + Weight::from_parts(19_619_000, 4221) .saturating_add(T::DbWeight::get().reads(7_u64)) } /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) @@ -178,8 +178,8 @@ impl WeightInfo for PalletWeight { /// Proof: `Validator::CurrentAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Validator::AuctionParameters` (r:1 w:0) /// Proof: `Validator::AuctionParameters` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Funding::ActiveBidder` (r:404 w:0) - /// Proof: `Funding::ActiveBidder` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Validator::ActiveBidder` (r:1 w:0) + /// Proof: `Validator::ActiveBidder` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Flip::Account` (r:403 w:0) /// Proof: `Flip::Account` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// Storage: `Reputation::LastHeartbeat` (r:403 w:0) @@ -191,7 +191,7 @@ impl WeightInfo for PalletWeight { /// Storage: `Session::NextKeys` (r:400 w:0) /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `AccountRoles::AccountRoles` (r:400 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Validator::NodeCFEVersion` (r:400 w:0) /// Proof: `Validator::NodeCFEVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Validator::MinimumReportedCfeVersion` (r:1 w:0) @@ -225,25 +225,25 @@ impl WeightInfo for PalletWeight { /// The range of component `a` is `[3, 400]`. fn start_authority_rotation(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3412 + a * (510 ±0)` - // Estimated: `14303 + a * (2986 ±0)` - // Minimum execution time: 2_425_000_000 picoseconds. - Weight::from_parts(1_368_279_596, 14303) - // Standard Error: 30_068_611 - .saturating_add(Weight::from_parts(377_406_801, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(30_u64)) - .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(a.into()))) + // Measured: `3266 + a * (487 ±0)` + // Estimated: `11659 + a * (2963 ±0)` + // Minimum execution time: 222_341_000 picoseconds. + Weight::from_parts(224_801_000, 11659) + // Standard Error: 77_117 + .saturating_add(Weight::from_parts(27_129_514, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(27_u64)) + .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(11_u64)) - .saturating_add(Weight::from_parts(0, 2986).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 2963).saturating_mul(a.into())) } /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn start_authority_rotation_while_disabled_by_safe_mode() -> Weight { // Proof Size summary in bytes: - // Measured: `459` - // Estimated: `1944` - // Minimum execution time: 59_000_000 picoseconds. - Weight::from_parts(93_000_000, 1944) + // Measured: `476` + // Estimated: `1961` + // Minimum execution time: 7_423_000 picoseconds. + Weight::from_parts(7_755_000, 1961) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Validator::EpochExpiries` (r:1 w:0) @@ -278,11 +278,11 @@ impl WeightInfo for PalletWeight { fn rotation_phase_keygen(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `3673 + a * (32 ±0)` - // Estimated: `7139 + a * (32 ±0)` - // Minimum execution time: 614_000_000 picoseconds. - Weight::from_parts(665_173_469, 7139) - // Standard Error: 382_785 - .saturating_add(Weight::from_parts(1_608_843, 0).saturating_mul(a.into())) + // Estimated: `7138 + a * (32 ±0)` + // Minimum execution time: 114_646_000 picoseconds. + Weight::from_parts(116_160_781, 7138) + // Standard Error: 13_028 + .saturating_add(Weight::from_parts(359_647, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(a.into())) @@ -306,12 +306,12 @@ impl WeightInfo for PalletWeight { /// The range of component `a` is `[3, 150]`. fn rotation_phase_activating_keys(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3219 + a * (32 ±0)` - // Estimated: `6685 + a * (32 ±0)` - // Minimum execution time: 312_000_000 picoseconds. - Weight::from_parts(311_081_632, 6685) - // Standard Error: 62_069 - .saturating_add(Weight::from_parts(806_122, 0).saturating_mul(a.into())) + // Measured: `3331 + a * (32 ±0)` + // Estimated: `6796 + a * (32 ±0)` + // Minimum execution time: 68_750_000 picoseconds. + Weight::from_parts(74_125_736, 6796) + // Standard Error: 8_227 + .saturating_add(Weight::from_parts(72_893, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(a.into())) @@ -321,20 +321,20 @@ impl WeightInfo for PalletWeight { /// Storage: `Validator::AuctionParameters` (r:1 w:0) /// Proof: `Validator::AuctionParameters` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `AccountRoles::AccountRoles` (r:1 w:1) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_as_validator() -> Weight { // Proof Size summary in bytes: - // Measured: `927` - // Estimated: `3498` - // Minimum execution time: 245_000_000 picoseconds. - Weight::from_parts(272_000_000, 3498) + // Measured: `948` + // Estimated: `4413` + // Minimum execution time: 29_806_000 picoseconds. + Weight::from_parts(30_772_000, 4413) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:1) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) - /// Storage: `Funding::ActiveBidder` (r:1 w:0) - /// Proof: `Funding::ActiveBidder` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Validator::ActiveBidder` (r:1 w:0) + /// Proof: `Validator::ActiveBidder` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Validator::LastExpiredEpoch` (r:1 w:0) /// Proof: `Validator::LastExpiredEpoch` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Validator::CurrentEpoch` (r:1 w:0) @@ -347,18 +347,50 @@ impl WeightInfo for PalletWeight { /// Proof: `Validator::AccountPeerMapping` (`max_values`: None, `max_size`: None, mode: `Measured`) fn deregister_as_validator() -> Weight { // Proof Size summary in bytes: - // Measured: `1642` - // Estimated: `7582` - // Minimum execution time: 532_000_000 picoseconds. - Weight::from_parts(572_000_000, 7582) + // Measured: `1593` + // Estimated: `7533` + // Minimum execution time: 55_317_000 picoseconds. + Weight::from_parts(56_007_000, 7533) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - fn start_bidding() -> Weight { - Weight::from_parts(1_000_000, 0) - } + /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) + /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Validator::CurrentRotationPhase` (r:1 w:0) + /// Proof: `Validator::CurrentRotationPhase` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Validator::CurrentEpochStartedAt` (r:1 w:0) + /// Proof: `Validator::CurrentEpochStartedAt` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Validator::RedemptionPeriodAsPercentage` (r:1 w:0) + /// Proof: `Validator::RedemptionPeriodAsPercentage` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Validator::BlocksPerEpoch` (r:1 w:0) + /// Proof: `Validator::BlocksPerEpoch` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Validator::ActiveBidder` (r:1 w:1) + /// Proof: `Validator::ActiveBidder` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn stop_bidding() -> Weight { - Weight::from_parts(1_000_000, 0) + // Proof Size summary in bytes: + // Measured: `1396` + // Estimated: `4861` + // Minimum execution time: 33_536_000 picoseconds. + Weight::from_parts(49_670_000, 4861) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) + /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Validator::ActiveBidder` (r:1 w:1) + /// Proof: `Validator::ActiveBidder` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn start_bidding() -> Weight { + // Proof Size summary in bytes: + // Measured: `1348` + // Estimated: `4813` + // Minimum execution time: 25_557_000 picoseconds. + Weight::from_parts(25_962_000, 4813) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } @@ -370,28 +402,28 @@ impl WeightInfo for () { /// Proof: `Validator::AuctionParameters` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn update_pallet_config() -> Weight { // Proof Size summary in bytes: - // Measured: `433` - // Estimated: `1918` - // Minimum execution time: 99_000_000 picoseconds. - Weight::from_parts(113_000_000, 1918) + // Measured: `420` + // Estimated: `1905` + // Minimum execution time: 12_874_000 picoseconds. + Weight::from_parts(13_410_000, 1905) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Validator::NodeCFEVersion` (r:1 w:1) /// Proof: `Validator::NodeCFEVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cfe_version() -> Weight { // Proof Size summary in bytes: - // Measured: `816` - // Estimated: `4281` - // Minimum execution time: 170_000_000 picoseconds. - Weight::from_parts(170_000_000, 4281) + // Measured: `837` + // Estimated: `4302` + // Minimum execution time: 21_334_000 picoseconds. + Weight::from_parts(21_995_000, 4302) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Validator::AccountPeerMapping` (r:1 w:1) /// Proof: `Validator::AccountPeerMapping` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Validator::MappedPeers` (r:1 w:1) @@ -400,10 +432,10 @@ impl WeightInfo for () { /// Proof: `CfeInterface::CfeEvents` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn register_peer_id() -> Weight { // Proof Size summary in bytes: - // Measured: `868` - // Estimated: `4333` - // Minimum execution time: 328_000_000 picoseconds. - Weight::from_parts(365_000_000, 4333) + // Measured: `865` + // Estimated: `4330` + // Minimum execution time: 96_567_000 picoseconds. + Weight::from_parts(97_258_000, 4330) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -422,17 +454,17 @@ impl WeightInfo for () { /// The range of component `a` is `[3, 150]`. fn expire_epoch(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1296 + a * (89 ±0)` - // Estimated: `4761 + a * (2565 ±0)` - // Minimum execution time: 571_000_000 picoseconds. - Weight::from_parts(186_214_285, 4761) - // Standard Error: 799_348 - .saturating_add(Weight::from_parts(128_595_238, 0).saturating_mul(a.into())) + // Measured: `1729 + a * (87 ±0)` + // Estimated: `5091 + a * (2563 ±0)` + // Minimum execution time: 56_941_000 picoseconds. + Weight::from_parts(32_267_561, 5091) + // Standard Error: 24_644 + .saturating_add(Weight::from_parts(10_546_503, 0).saturating_mul(a.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(a.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 2565).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 2563).saturating_mul(a.into())) } /// Storage: `Session::Validators` (r:1 w:0) /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -452,14 +484,14 @@ impl WeightInfo for () { fn missed_authorship_slots(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1059` - // Estimated: `4524 + m * (550 ±0)` - // Minimum execution time: 279_000_000 picoseconds. - Weight::from_parts(166_222_222, 4524) - // Standard Error: 248_451 - .saturating_add(Weight::from_parts(114_777_777, 0).saturating_mul(m.into())) - .saturating_add(RocksDbWeight::get().reads(7_u64)) - .saturating_add(RocksDbWeight::get().writes(3_u64)) - .saturating_add(Weight::from_parts(0, 550).saturating_mul(m.into())) + // Estimated: `6079 + m * (470 ±43)` + // Minimum execution time: 33_725_000 picoseconds. + Weight::from_parts(33_292_993, 6079) + // Standard Error: 579_605 + .saturating_add(Weight::from_parts(9_098_726, 0).saturating_mul(m.into())) + .saturating_add(RocksDbWeight::get().reads(8_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) + .saturating_add(Weight::from_parts(0, 470).saturating_mul(m.into())) } /// Storage: `Validator::EpochExpiries` (r:1 w:0) /// Proof: `Validator::EpochExpiries` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -477,10 +509,10 @@ impl WeightInfo for () { /// Proof: `Validator::BlocksPerEpoch` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn rotation_phase_idle() -> Weight { // Proof Size summary in bytes: - // Measured: `760` - // Estimated: `4225` - // Minimum execution time: 168_000_000 picoseconds. - Weight::from_parts(176_000_000, 4225) + // Measured: `756` + // Estimated: `4221` + // Minimum execution time: 18_001_000 picoseconds. + Weight::from_parts(19_619_000, 4221) .saturating_add(RocksDbWeight::get().reads(7_u64)) } /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) @@ -491,8 +523,8 @@ impl WeightInfo for () { /// Proof: `Validator::CurrentAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Validator::AuctionParameters` (r:1 w:0) /// Proof: `Validator::AuctionParameters` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Funding::ActiveBidder` (r:404 w:0) - /// Proof: `Funding::ActiveBidder` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Validator::ActiveBidder` (r:1 w:0) + /// Proof: `Validator::ActiveBidder` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Flip::Account` (r:403 w:0) /// Proof: `Flip::Account` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) /// Storage: `Reputation::LastHeartbeat` (r:403 w:0) @@ -504,7 +536,7 @@ impl WeightInfo for () { /// Storage: `Session::NextKeys` (r:400 w:0) /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `AccountRoles::AccountRoles` (r:400 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Validator::NodeCFEVersion` (r:400 w:0) /// Proof: `Validator::NodeCFEVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Validator::MinimumReportedCfeVersion` (r:1 w:0) @@ -538,25 +570,25 @@ impl WeightInfo for () { /// The range of component `a` is `[3, 400]`. fn start_authority_rotation(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3412 + a * (510 ±0)` - // Estimated: `14303 + a * (2986 ±0)` - // Minimum execution time: 2_425_000_000 picoseconds. - Weight::from_parts(1_368_279_596, 14303) - // Standard Error: 30_068_611 - .saturating_add(Weight::from_parts(377_406_801, 0).saturating_mul(a.into())) - .saturating_add(RocksDbWeight::get().reads(30_u64)) - .saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(a.into()))) + // Measured: `3266 + a * (487 ±0)` + // Estimated: `11659 + a * (2963 ±0)` + // Minimum execution time: 222_341_000 picoseconds. + Weight::from_parts(224_801_000, 11659) + // Standard Error: 77_117 + .saturating_add(Weight::from_parts(27_129_514, 0).saturating_mul(a.into())) + .saturating_add(RocksDbWeight::get().reads(27_u64)) + .saturating_add(RocksDbWeight::get().reads((6_u64).saturating_mul(a.into()))) .saturating_add(RocksDbWeight::get().writes(11_u64)) - .saturating_add(Weight::from_parts(0, 2986).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 2963).saturating_mul(a.into())) } /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn start_authority_rotation_while_disabled_by_safe_mode() -> Weight { // Proof Size summary in bytes: - // Measured: `459` - // Estimated: `1944` - // Minimum execution time: 59_000_000 picoseconds. - Weight::from_parts(93_000_000, 1944) + // Measured: `476` + // Estimated: `1961` + // Minimum execution time: 7_423_000 picoseconds. + Weight::from_parts(7_755_000, 1961) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Validator::EpochExpiries` (r:1 w:0) @@ -591,11 +623,11 @@ impl WeightInfo for () { fn rotation_phase_keygen(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `3673 + a * (32 ±0)` - // Estimated: `7139 + a * (32 ±0)` - // Minimum execution time: 614_000_000 picoseconds. - Weight::from_parts(665_173_469, 7139) - // Standard Error: 382_785 - .saturating_add(Weight::from_parts(1_608_843, 0).saturating_mul(a.into())) + // Estimated: `7138 + a * (32 ±0)` + // Minimum execution time: 114_646_000 picoseconds. + Weight::from_parts(116_160_781, 7138) + // Standard Error: 13_028 + .saturating_add(Weight::from_parts(359_647, 0).saturating_mul(a.into())) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(a.into())) @@ -619,12 +651,12 @@ impl WeightInfo for () { /// The range of component `a` is `[3, 150]`. fn rotation_phase_activating_keys(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3219 + a * (32 ±0)` - // Estimated: `6685 + a * (32 ±0)` - // Minimum execution time: 312_000_000 picoseconds. - Weight::from_parts(311_081_632, 6685) - // Standard Error: 62_069 - .saturating_add(Weight::from_parts(806_122, 0).saturating_mul(a.into())) + // Measured: `3331 + a * (32 ±0)` + // Estimated: `6796 + a * (32 ±0)` + // Minimum execution time: 68_750_000 picoseconds. + Weight::from_parts(74_125_736, 6796) + // Standard Error: 8_227 + .saturating_add(Weight::from_parts(72_893, 0).saturating_mul(a.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(a.into())) @@ -634,20 +666,20 @@ impl WeightInfo for () { /// Storage: `Validator::AuctionParameters` (r:1 w:0) /// Proof: `Validator::AuctionParameters` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `AccountRoles::AccountRoles` (r:1 w:1) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_as_validator() -> Weight { // Proof Size summary in bytes: - // Measured: `927` - // Estimated: `3498` - // Minimum execution time: 245_000_000 picoseconds. - Weight::from_parts(272_000_000, 3498) + // Measured: `948` + // Estimated: `4413` + // Minimum execution time: 29_806_000 picoseconds. + Weight::from_parts(30_772_000, 4413) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `AccountRoles::AccountRoles` (r:1 w:1) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) - /// Storage: `Funding::ActiveBidder` (r:1 w:0) - /// Proof: `Funding::ActiveBidder` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Validator::ActiveBidder` (r:1 w:0) + /// Proof: `Validator::ActiveBidder` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Validator::LastExpiredEpoch` (r:1 w:0) /// Proof: `Validator::LastExpiredEpoch` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Validator::CurrentEpoch` (r:1 w:0) @@ -660,17 +692,49 @@ impl WeightInfo for () { /// Proof: `Validator::AccountPeerMapping` (`max_values`: None, `max_size`: None, mode: `Measured`) fn deregister_as_validator() -> Weight { // Proof Size summary in bytes: - // Measured: `1642` - // Estimated: `7582` - // Minimum execution time: 532_000_000 picoseconds. - Weight::from_parts(572_000_000, 7582) + // Measured: `1593` + // Estimated: `7533` + // Minimum execution time: 55_317_000 picoseconds. + Weight::from_parts(56_007_000, 7533) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - fn start_bidding() -> Weight { - Weight::from_parts(1_000_000, 0) - } + /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) + /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Validator::CurrentRotationPhase` (r:1 w:0) + /// Proof: `Validator::CurrentRotationPhase` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Validator::CurrentEpochStartedAt` (r:1 w:0) + /// Proof: `Validator::CurrentEpochStartedAt` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Validator::RedemptionPeriodAsPercentage` (r:1 w:0) + /// Proof: `Validator::RedemptionPeriodAsPercentage` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Validator::BlocksPerEpoch` (r:1 w:0) + /// Proof: `Validator::BlocksPerEpoch` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Validator::ActiveBidder` (r:1 w:1) + /// Proof: `Validator::ActiveBidder` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn stop_bidding() -> Weight { - Weight::from_parts(1_000_000, 0) + // Proof Size summary in bytes: + // Measured: `1396` + // Estimated: `4861` + // Minimum execution time: 33_536_000 picoseconds. + Weight::from_parts(49_670_000, 4861) + .saturating_add(RocksDbWeight::get().reads(7_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) + } + /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) + /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Validator::ActiveBidder` (r:1 w:1) + /// Proof: `Validator::ActiveBidder` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn start_bidding() -> Weight { + // Proof Size summary in bytes: + // Measured: `1348` + // Estimated: `4813` + // Minimum execution time: 25_557_000 picoseconds. + Weight::from_parts(25_962_000, 4813) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/state-chain/pallets/cf-vaults/src/weights.rs b/state-chain/pallets/cf-vaults/src/weights.rs index a6874b8aef..577084a72f 100644 --- a/state-chain/pallets/cf-vaults/src/weights.rs +++ b/state-chain/pallets/cf-vaults/src/weights.rs @@ -2,13 +2,13 @@ //! Autogenerated weights for pallet_cf_vaults //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `2`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-03, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `wagmi.local`, CPU: `` +//! HOSTNAME: `ip-172-31-0-210`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev-3"), DB CACHE: 1024 // Executed Command: -// ./target/debug/chainflip-node +// ./chainflip-node // benchmark // pallet // --pallet @@ -17,8 +17,8 @@ // * // --output // state-chain/pallets/cf-vaults/src/weights.rs -// --steps=2 -// --repeat=2 +// --steps=20 +// --repeat=10 // --template=state-chain/chainflip-weight-template.hbs // --chain=dev-3 @@ -44,16 +44,14 @@ impl WeightInfo for PalletWeight { /// Proof: `EthereumVault::VaultStartBlockNumbers` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `EthereumVault::PendingVaultActivation` (r:0 w:1) /// Proof: `EthereumVault::PendingVaultActivation` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Environment::RuntimeSafeMode` (r:0 w:1) - /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn vault_key_rotated_externally() -> Weight { // Proof Size summary in bytes: - // Measured: `359` - // Estimated: `1844` - // Minimum execution time: 143_000_000 picoseconds. - Weight::from_parts(155_000_000, 1844) + // Measured: `346` + // Estimated: `1831` + // Minimum execution time: 18_496_000 picoseconds. + Weight::from_parts(18_919_000, 1831) .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } } @@ -65,15 +63,13 @@ impl WeightInfo for () { /// Proof: `EthereumVault::VaultStartBlockNumbers` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `EthereumVault::PendingVaultActivation` (r:0 w:1) /// Proof: `EthereumVault::PendingVaultActivation` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Environment::RuntimeSafeMode` (r:0 w:1) - /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn vault_key_rotated_externally() -> Weight { // Proof Size summary in bytes: - // Measured: `359` - // Estimated: `1844` - // Minimum execution time: 143_000_000 picoseconds. - Weight::from_parts(155_000_000, 1844) + // Measured: `346` + // Estimated: `1831` + // Minimum execution time: 18_496_000 picoseconds. + Weight::from_parts(18_919_000, 1831) .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) } } diff --git a/state-chain/pallets/cf-witnesser/src/weights.rs b/state-chain/pallets/cf-witnesser/src/weights.rs index 7f917a4ee0..a39fc4c716 100644 --- a/state-chain/pallets/cf-witnesser/src/weights.rs +++ b/state-chain/pallets/cf-witnesser/src/weights.rs @@ -2,13 +2,13 @@ //! Autogenerated weights for pallet_cf_witnesser //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-28, STEPS: `2`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-03, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `wagmi.local`, CPU: `` +//! HOSTNAME: `ip-172-31-0-210`, CPU: `Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz` //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev-3"), DB CACHE: 1024 // Executed Command: -// ./target/debug/chainflip-node +// ./chainflip-node // benchmark // pallet // --pallet @@ -17,8 +17,8 @@ // * // --output // state-chain/pallets/cf-witnesser/src/weights.rs -// --steps=2 -// --repeat=2 +// --steps=20 +// --repeat=10 // --template=state-chain/chainflip-weight-template.hbs // --chain=dev-3 @@ -42,7 +42,7 @@ pub trait WeightInfo { pub struct PalletWeight(PhantomData); impl WeightInfo for PalletWeight { /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Validator::LastExpiredEpoch` (r:1 w:0) /// Proof: `Validator::LastExpiredEpoch` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Validator::CurrentEpoch` (r:1 w:0) @@ -63,10 +63,10 @@ impl WeightInfo for PalletWeight { /// Proof: `Witnesser::WitnessDeadline` (`max_values`: None, `max_size`: None, mode: `Measured`) fn witness_at_epoch() -> Weight { // Proof Size summary in bytes: - // Measured: `1596` - // Estimated: `7536` - // Minimum execution time: 541_000_000 picoseconds. - Weight::from_parts(575_000_000, 7536) + // Measured: `1650` + // Estimated: `7590` + // Minimum execution time: 59_045_000 picoseconds. + Weight::from_parts(59_789_000, 7590) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -74,23 +74,23 @@ impl WeightInfo for PalletWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 61_000_000 picoseconds. - Weight::from_parts(81_000_000, 0) + // Minimum execution time: 5_645_000 picoseconds. + Weight::from_parts(6_055_000, 0) } - /// Storage: `Witnesser::Votes` (r:255 w:255) + /// Storage: `Witnesser::Votes` (r:254 w:254) /// Proof: `Witnesser::Votes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[1, 255]`. fn remove_storage_items(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `142 + n * (38 ±0)` - // Estimated: `1132 + n * (2514 ±0)` - // Minimum execution time: 43_000_000 picoseconds. - Weight::from_parts(44_283_464, 1132) - // Standard Error: 107_098 - .saturating_add(Weight::from_parts(6_716_535, 0).saturating_mul(n.into())) + // Measured: `159 + n * (38 ±0)` + // Estimated: `1149 + n * (2513 ±0)` + // Minimum execution time: 5_218_000 picoseconds. + Weight::from_parts(4_401_162, 1149) + // Standard Error: 2_811 + .saturating_add(Weight::from_parts(1_035_848, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 2514).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2513).saturating_mul(n.into())) } /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -104,10 +104,10 @@ impl WeightInfo for PalletWeight { /// Proof: `Witnesser::EpochsToCull` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn on_idle_with_nothing_to_remove() -> Weight { // Proof Size summary in bytes: - // Measured: `916` - // Estimated: `2401` - // Minimum execution time: 130_000_000 picoseconds. - Weight::from_parts(133_000_000, 2401) + // Measured: `903` + // Estimated: `2388` + // Minimum execution time: 16_755_000 picoseconds. + Weight::from_parts(16_997_000, 2388) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -116,7 +116,7 @@ impl WeightInfo for PalletWeight { // For backwards compatibility and tests impl WeightInfo for () { /// Storage: `AccountRoles::AccountRoles` (r:1 w:0) - /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Proof: `AccountRoles::AccountRoles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Validator::LastExpiredEpoch` (r:1 w:0) /// Proof: `Validator::LastExpiredEpoch` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Validator::CurrentEpoch` (r:1 w:0) @@ -137,10 +137,10 @@ impl WeightInfo for () { /// Proof: `Witnesser::WitnessDeadline` (`max_values`: None, `max_size`: None, mode: `Measured`) fn witness_at_epoch() -> Weight { // Proof Size summary in bytes: - // Measured: `1596` - // Estimated: `7536` - // Minimum execution time: 541_000_000 picoseconds. - Weight::from_parts(575_000_000, 7536) + // Measured: `1650` + // Estimated: `7590` + // Minimum execution time: 59_045_000 picoseconds. + Weight::from_parts(59_789_000, 7590) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -148,23 +148,23 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 61_000_000 picoseconds. - Weight::from_parts(81_000_000, 0) + // Minimum execution time: 5_645_000 picoseconds. + Weight::from_parts(6_055_000, 0) } - /// Storage: `Witnesser::Votes` (r:255 w:255) + /// Storage: `Witnesser::Votes` (r:254 w:254) /// Proof: `Witnesser::Votes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[1, 255]`. fn remove_storage_items(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `142 + n * (38 ±0)` - // Estimated: `1132 + n * (2514 ±0)` - // Minimum execution time: 43_000_000 picoseconds. - Weight::from_parts(44_283_464, 1132) - // Standard Error: 107_098 - .saturating_add(Weight::from_parts(6_716_535, 0).saturating_mul(n.into())) + // Measured: `159 + n * (38 ±0)` + // Estimated: `1149 + n * (2513 ±0)` + // Minimum execution time: 5_218_000 picoseconds. + Weight::from_parts(4_401_162, 1149) + // Standard Error: 2_811 + .saturating_add(Weight::from_parts(1_035_848, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 2514).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 2513).saturating_mul(n.into())) } /// Storage: `Environment::RuntimeSafeMode` (r:1 w:0) /// Proof: `Environment::RuntimeSafeMode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -178,10 +178,10 @@ impl WeightInfo for () { /// Proof: `Witnesser::EpochsToCull` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn on_idle_with_nothing_to_remove() -> Weight { // Proof Size summary in bytes: - // Measured: `916` - // Estimated: `2401` - // Minimum execution time: 130_000_000 picoseconds. - Weight::from_parts(133_000_000, 2401) + // Measured: `903` + // Estimated: `2388` + // Minimum execution time: 16_755_000 picoseconds. + Weight::from_parts(16_997_000, 2388) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) }