diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index a4ee8d126..c4017ecb1 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -553,7 +553,7 @@ impl parachain_staking::Config for Runtime { type MonetaryGovernanceOrigin = EnsureRoot; type RevokeDelegationDelay = RevokeDelegationDelay; type RewardPaymentDelay = RewardPaymentDelay; - type WeightInfo = parachain_staking::weights::SubstrateWeight; + type WeightInfo = weights::parachain_staking::WeightInfo; } impl orml_currencies::Config for Runtime { diff --git a/runtime/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/src/weights/cumulus_pallet_xcmp_queue.rs index f4be88e6e..fe45aa6b6 100644 --- a/runtime/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/src/weights/cumulus_pallet_xcmp_queue.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for cumulus_pallet_xcmp_queue //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -33,13 +33,13 @@ pub struct WeightInfo(PhantomData); impl cumulus_pallet_xcmp_queue::weights::WeightInfo for WeightInfo { // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_u32() -> Weight { - (7_770_000 as Weight) + (8_060_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_weight() -> Weight { - (7_780_000 as Weight) + (9_490_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/src/weights/frame_system.rs b/runtime/src/weights/frame_system.rs index cc4ab1819..299c57ad1 100644 --- a/runtime/src/weights/frame_system.rs +++ b/runtime/src/weights/frame_system.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for frame_system //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ use frame_support::{ pub struct WeightInfo(PhantomData); impl frame_system::weights::WeightInfo for WeightInfo { fn remark(_b: u32) -> Weight { - (8_454_000 as Weight) + (1_605_000 as Weight) } fn remark_with_event(b: u32) -> Weight { (0 as Weight) @@ -49,22 +49,22 @@ impl frame_system::weights::WeightInfo for WeightInfo Weight { (0 as Weight) - // Standard Error: 11_000 - .saturating_add((1_156_000 as Weight).saturating_mul(i as Weight)) + // Standard Error: 13_000 + .saturating_add((1_057_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) fn kill_storage(i: u32) -> Weight { - (0 as Weight) - // Standard Error: 8_000 - .saturating_add((811_000 as Weight).saturating_mul(i as Weight)) + (334_000 as Weight) + // Standard Error: 7_000 + .saturating_add((724_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) fn kill_prefix(p: u32) -> Weight { - (0 as Weight) - // Standard Error: 13_000 - .saturating_add((1_787_000 as Weight).saturating_mul(p as Weight)) + (928_000 as Weight) + // Standard Error: 12_000 + .saturating_add((1_562_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } } diff --git a/runtime/src/weights/orml_currencies.rs b/runtime/src/weights/orml_currencies.rs index 968ef7f70..bcbf7e631 100644 --- a/runtime/src/weights/orml_currencies.rs +++ b/runtime/src/weights/orml_currencies.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for orml_currencies //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -31,13 +31,13 @@ impl orml_currencies::WeightInfo for WeightInfo { // Storage: Tokens Accounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn transfer_non_native_currency() -> Weight { - (86_030_000 as Weight) + (83_740_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_native_currency() -> Weight { - (84_950_000 as Weight) + (80_240_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -45,19 +45,19 @@ impl orml_currencies::WeightInfo for WeightInfo { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_balance_non_native_currency() -> Weight { - (68_330_000 as Weight) + (64_920_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: System Account (r:1 w:1) fn update_balance_native_currency_creating() -> Weight { - (62_650_000 as Weight) + (60_630_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn update_balance_native_currency_killing() -> Weight { - (55_260_000 as Weight) + (53_250_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/src/weights/orml_tokens.rs b/runtime/src/weights/orml_tokens.rs index f1d0d040b..025277195 100644 --- a/runtime/src/weights/orml_tokens.rs +++ b/runtime/src/weights/orml_tokens.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for orml_tokens //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -31,28 +31,28 @@ impl orml_tokens::WeightInfo for WeightInfo { // Storage: Tokens Accounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (86_980_000 as Weight) + (84_630_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Tokens Accounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - (93_420_000 as Weight) + (90_980_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Tokens Accounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (78_330_000 as Weight) + (75_250_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Tokens Accounts (r:2 w:2) // Storage: System Account (r:2 w:1) fn force_transfer() -> Weight { - (94_710_000 as Weight) + (85_250_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -60,7 +60,7 @@ impl orml_tokens::WeightInfo for WeightInfo { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: System Account (r:1 w:1) fn set_balance() -> Weight { - (64_300_000 as Weight) + (62_890_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/src/weights/pallet_author_mapping.rs b/runtime/src/weights/pallet_author_mapping.rs index 0fa7a55d5..a33ff081f 100644 --- a/runtime/src/weights/pallet_author_mapping.rs +++ b/runtime/src/weights/pallet_author_mapping.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_author_mapping //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -34,20 +34,20 @@ impl pallet_author_mapping::weights::WeightInfo for Wei // Storage: AuthorMapping MappingWithDeposit (r:1 w:1) // Storage: System Account (r:1 w:1) fn add_association() -> Weight { - (59_400_000 as Weight) + (74_210_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: AuthorMapping MappingWithDeposit (r:2 w:2) fn update_association() -> Weight { - (45_450_000 as Weight) + (46_040_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: AuthorMapping MappingWithDeposit (r:1 w:1) // Storage: System Account (r:1 w:1) fn clear_association() -> Weight { - (60_730_000 as Weight) + (73_920_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/src/weights/pallet_author_slot_filter.rs b/runtime/src/weights/pallet_author_slot_filter.rs index 555c91cd5..29df2fa64 100644 --- a/runtime/src/weights/pallet_author_slot_filter.rs +++ b/runtime/src/weights/pallet_author_slot_filter.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_author_slot_filter //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -33,6 +33,6 @@ pub struct WeightInfo(PhantomData); impl pallet_author_slot_filter::weights::WeightInfo for WeightInfo { // Storage: AuthorFilter EligibleCount (r:0 w:1) fn set_eligible() -> Weight { - (27_340_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight)) + (23_460_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight)) } } diff --git a/runtime/src/weights/pallet_balances.rs b/runtime/src/weights/pallet_balances.rs index f64a65d36..6d1e08624 100644 --- a/runtime/src/weights/pallet_balances.rs +++ b/runtime/src/weights/pallet_balances.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_balances //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -33,43 +33,43 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::weights::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (116_230_000 as Weight) + (92_910_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (86_400_000 as Weight) + (70_730_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - (52_770_000 as Weight) + (44_240_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - (90_290_000 as Weight) + (50_940_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { - (173_310_000 as Weight) + (92_850_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - (153_590_000 as Weight) + (85_430_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - (67_880_000 as Weight) + (40_190_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/src/weights/pallet_democracy.rs b/runtime/src/weights/pallet_democracy.rs index 4a7690ee0..3a74fae6b 100644 --- a/runtime/src/weights/pallet_democracy.rs +++ b/runtime/src/weights/pallet_democracy.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_democracy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -36,15 +36,15 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - (108_200_000 as Weight) + (89_720_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy DepositOf (r:1 w:1) fn second(s: u32) -> Weight { - (65_348_000 as Weight) - // Standard Error: 11_000 - .saturating_add((212_000 as Weight).saturating_mul(s as Weight)) + (61_137_000 as Weight) + // Standard Error: 9_000 + .saturating_add((237_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -52,9 +52,9 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_new(r: u32) -> Weight { - (82_180_000 as Weight) - // Standard Error: 8_000 - .saturating_add((332_000 as Weight).saturating_mul(r as Weight)) + (85_189_000 as Weight) + // Standard Error: 10_000 + .saturating_add((231_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -62,16 +62,16 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_existing(r: u32) -> Weight { - (82_051_000 as Weight) - // Standard Error: 10_000 - .saturating_add((311_000 as Weight).saturating_mul(r as Weight)) + (81_532_000 as Weight) + // Standard Error: 13_000 + .saturating_add((189_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { - (39_930_000 as Weight) + (34_260_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -82,43 +82,43 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:2 w:2) fn blacklist(p: u32) -> Weight { - (126_473_000 as Weight) - // Standard Error: 18_000 - .saturating_add((538_000 as Weight).saturating_mul(p as Weight)) + (116_637_000 as Weight) + // Standard Error: 12_000 + .saturating_add((426_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:0) fn external_propose(v: u32) -> Weight { - (20_418_000 as Weight) - // Standard Error: 1_000 - .saturating_add((47_000 as Weight).saturating_mul(v as Weight)) + (19_988_000 as Weight) + // Standard Error: 0 + .saturating_add((51_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { - (3_320_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight)) + (3_210_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - (3_270_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight)) + (3_150_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { - (41_150_000 as Weight) + (41_720_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:1) fn veto_external(v: u32) -> Weight { - (46_355_000 as Weight) - // Standard Error: 12_000 - .saturating_add((67_000 as Weight).saturating_mul(v as Weight)) + (42_314_000 as Weight) + // Standard Error: 1_000 + .saturating_add((84_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -126,22 +126,22 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:2 w:2) fn cancel_proposal(p: u32) -> Weight { - (90_649_000 as Weight) + (94_852_000 as Weight) // Standard Error: 11_000 - .saturating_add((482_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((246_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { - (22_910_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight)) + (22_790_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn cancel_queued(r: u32) -> Weight { - (44_776_000 as Weight) - // Standard Error: 17_000 - .saturating_add((1_676_000 as Weight).saturating_mul(r as Weight)) + (43_963_000 as Weight) + // Standard Error: 11_000 + .saturating_add((1_293_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -149,9 +149,9 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Storage: Democracy ReferendumCount (r:1 w:0) // Storage: Democracy ReferendumInfoOf (r:1 w:0) fn on_initialize_base(r: u32) -> Weight { - (13_518_000 as Weight) - // Standard Error: 57_000 - .saturating_add((8_303_000 as Weight).saturating_mul(r as Weight)) + (4_777_000 as Weight) + // Standard Error: 59_000 + .saturating_add((7_917_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -163,9 +163,9 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Storage: Democracy PublicProps (r:1 w:0) // Storage: Democracy ReferendumInfoOf (r:1 w:0) fn on_initialize_base_with_launch_period(r: u32) -> Weight { - (30_621_000 as Weight) - // Standard Error: 48_000 - .saturating_add((8_164_000 as Weight).saturating_mul(r as Weight)) + (41_294_000 as Weight) + // Standard Error: 44_000 + .saturating_add((7_706_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -174,9 +174,9 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn delegate(r: u32) -> Weight { - (78_563_000 as Weight) - // Standard Error: 69_000 - .saturating_add((12_255_000 as Weight).saturating_mul(r as Weight)) + (116_989_000 as Weight) + // Standard Error: 60_000 + .saturating_add((9_712_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(4 as Weight)) @@ -185,9 +185,9 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Storage: Democracy VotingOf (r:2 w:2) // Storage: Democracy ReferendumInfoOf (r:1 w:1) fn undelegate(r: u32) -> Weight { - (51_735_000 as Weight) - // Standard Error: 72_000 - .saturating_add((11_833_000 as Weight).saturating_mul(r as Weight)) + (14_234_000 as Weight) + // Standard Error: 51_000 + .saturating_add((10_451_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -195,11 +195,11 @@ impl pallet_democracy::weights::WeightInfo for WeightIn } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - (4_130_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight)) + (3_840_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy Preimages (r:1 w:1) fn note_preimage(b: u32) -> Weight { - (61_196_000 as Weight) + (60_349_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -207,7 +207,7 @@ impl pallet_democracy::weights::WeightInfo for WeightIn } // Storage: Democracy Preimages (r:1 w:1) fn note_imminent_preimage(b: u32) -> Weight { - (41_609_000 as Weight) + (40_699_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -216,7 +216,7 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Storage: Democracy Preimages (r:1 w:1) // Storage: System Account (r:1 w:0) fn reap_preimage(b: u32) -> Weight { - (58_449_000 as Weight) + (57_787_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -226,9 +226,9 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_remove(r: u32) -> Weight { - (55_150_000 as Weight) - // Standard Error: 7_000 - .saturating_add((101_000 as Weight).saturating_mul(r as Weight)) + (50_547_000 as Weight) + // Standard Error: 4_000 + .saturating_add((32_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -236,27 +236,27 @@ impl pallet_democracy::weights::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_set(r: u32) -> Weight { - (50_747_000 as Weight) + (48_278_000 as Weight) // Standard Error: 6_000 - .saturating_add((246_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((220_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) fn remove_vote(r: u32) -> Weight { - (26_911_000 as Weight) + (24_933_000 as Weight) // Standard Error: 4_000 - .saturating_add((295_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((282_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) fn remove_other_vote(r: u32) -> Weight { - (29_072_000 as Weight) - // Standard Error: 5_000 - .saturating_add((265_000 as Weight).saturating_mul(r as Weight)) + (28_810_000 as Weight) + // Standard Error: 4_000 + .saturating_add((199_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/src/weights/pallet_identity.rs b/runtime/src/weights/pallet_identity.rs index 7b3e5fae7..d416190d7 100644 --- a/runtime/src/weights/pallet_identity.rs +++ b/runtime/src/weights/pallet_identity.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_identity //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -33,15 +33,17 @@ pub struct WeightInfo(PhantomData); impl pallet_identity::weights::WeightInfo for WeightInfo { // Storage: Identity Registrars (r:1 w:1) fn add_registrar(_r: u32) -> Weight { - (34_781_000 as Weight) + (48_298_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity IdentityOf (r:1 w:1) - fn set_identity(_r: u32, x: u32) -> Weight { - (74_433_000 as Weight) - // Standard Error: 14_000 - .saturating_add((1_036_000 as Weight).saturating_mul(x as Weight)) + fn set_identity(r: u32, x: u32) -> Weight { + (66_622_000 as Weight) + // Standard Error: 116_000 + .saturating_add((392_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 7_000 + .saturating_add((1_025_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -49,9 +51,9 @@ impl pallet_identity::weights::WeightInfo for WeightInf // Storage: Identity SubsOf (r:1 w:1) // Storage: Identity SuperOf (r:1 w:1) fn set_subs_new(s: u32) -> Weight { - (78_981_000 as Weight) - // Standard Error: 74_000 - .saturating_add((8_319_000 as Weight).saturating_mul(s as Weight)) + (67_158_000 as Weight) + // Standard Error: 79_000 + .saturating_add((8_409_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -61,9 +63,9 @@ impl pallet_identity::weights::WeightInfo for WeightInf // Storage: Identity SubsOf (r:1 w:1) // Storage: Identity SuperOf (r:0 w:1) fn set_subs_old(p: u32) -> Weight { - (58_419_000 as Weight) - // Standard Error: 34_000 - .saturating_add((2_440_000 as Weight).saturating_mul(p as Weight)) + (56_001_000 as Weight) + // Standard Error: 11_000 + .saturating_add((2_435_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) @@ -71,69 +73,67 @@ impl pallet_identity::weights::WeightInfo for WeightInf // Storage: Identity SubsOf (r:1 w:1) // Storage: Identity IdentityOf (r:1 w:1) // Storage: Identity SuperOf (r:0 w:64) - fn clear_identity(r: u32, s: u32, x: u32) -> Weight { - (62_765_000 as Weight) - // Standard Error: 457_000 - .saturating_add((758_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 26_000 - .saturating_add((2_315_000 as Weight).saturating_mul(s as Weight)) - // Standard Error: 26_000 - .saturating_add((649_000 as Weight).saturating_mul(x as Weight)) + fn clear_identity(_r: u32, s: u32, x: u32) -> Weight { + (132_966_000 as Weight) + // Standard Error: 42_000 + .saturating_add((2_327_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 42_000 + .saturating_add((462_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } // Storage: Identity Registrars (r:1 w:0) // Storage: Identity IdentityOf (r:1 w:1) - fn request_judgement(_r: u32, x: u32) -> Weight { - (89_771_000 as Weight) - // Standard Error: 21_000 - .saturating_add((955_000 as Weight).saturating_mul(x as Weight)) + fn request_judgement(r: u32, x: u32) -> Weight { + (71_000_000 as Weight) + // Standard Error: 525_000 + .saturating_add((824_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 35_000 + .saturating_add((1_118_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity IdentityOf (r:1 w:1) fn cancel_request(r: u32, x: u32) -> Weight { - (49_691_000 as Weight) - // Standard Error: 361_000 - .saturating_add((1_506_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 24_000 - .saturating_add((1_293_000 as Weight).saturating_mul(x as Weight)) + (65_385_000 as Weight) + // Standard Error: 111_000 + .saturating_add((361_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 7_000 + .saturating_add((1_109_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity Registrars (r:1 w:1) fn set_fee(r: u32) -> Weight { - (11_436_000 as Weight) - // Standard Error: 42_000 - .saturating_add((443_000 as Weight).saturating_mul(r as Weight)) + (11_990_000 as Weight) + // Standard Error: 68_000 + .saturating_add((502_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity Registrars (r:1 w:1) fn set_account_id(r: u32) -> Weight { - (11_974_000 as Weight) - // Standard Error: 61_000 - .saturating_add((401_000 as Weight).saturating_mul(r as Weight)) + (12_939_000 as Weight) + // Standard Error: 77_000 + .saturating_add((405_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity Registrars (r:1 w:1) fn set_fields(r: u32) -> Weight { - (13_495_000 as Weight) - // Standard Error: 56_000 - .saturating_add((28_000 as Weight).saturating_mul(r as Weight)) + (11_400_000 as Weight) + // Standard Error: 62_000 + .saturating_add((652_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity Registrars (r:1 w:0) // Storage: Identity IdentityOf (r:1 w:1) - fn provide_judgement(r: u32, x: u32) -> Weight { - (47_585_000 as Weight) - // Standard Error: 177_000 - .saturating_add((640_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 9_000 - .saturating_add((1_123_000 as Weight).saturating_mul(x as Weight)) + fn provide_judgement(_r: u32, x: u32) -> Weight { + (67_321_000 as Weight) + // Standard Error: 19_000 + .saturating_add((1_032_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -141,12 +141,10 @@ impl pallet_identity::weights::WeightInfo for WeightInf // Storage: Identity IdentityOf (r:1 w:1) // Storage: System Account (r:2 w:2) // Storage: Identity SuperOf (r:0 w:64) - fn kill_identity(r: u32, s: u32, _x: u32) -> Weight { - (102_497_000 as Weight) - // Standard Error: 884_000 - .saturating_add((967_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 51_000 - .saturating_add((2_495_000 as Weight).saturating_mul(s as Weight)) + fn kill_identity(_r: u32, s: u32, _x: u32) -> Weight { + (128_992_000 as Weight) + // Standard Error: 53_000 + .saturating_add((2_285_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) @@ -155,18 +153,18 @@ impl pallet_identity::weights::WeightInfo for WeightInf // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) fn add_sub(s: u32) -> Weight { - (79_228_000 as Weight) - // Standard Error: 21_000 - .saturating_add((171_000 as Weight).saturating_mul(s as Weight)) + (75_644_000 as Weight) + // Standard Error: 15_000 + .saturating_add((304_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SuperOf (r:1 w:1) fn rename_sub(s: u32) -> Weight { - (24_992_000 as Weight) - // Standard Error: 5_000 - .saturating_add((69_000 as Weight).saturating_mul(s as Weight)) + (23_738_000 as Weight) + // Standard Error: 3_000 + .saturating_add((97_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -174,18 +172,18 @@ impl pallet_identity::weights::WeightInfo for WeightInf // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) fn remove_sub(s: u32) -> Weight { - (84_407_000 as Weight) - // Standard Error: 22_000 - .saturating_add((186_000 as Weight).saturating_mul(s as Weight)) + (78_415_000 as Weight) + // Standard Error: 19_000 + .saturating_add((305_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) fn quit_sub(s: u32) -> Weight { - (54_442_000 as Weight) + (51_571_000 as Weight) // Standard Error: 10_000 - .saturating_add((201_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((223_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/src/weights/pallet_membership.rs b/runtime/src/weights/pallet_membership.rs index 32b1cd200..471185370 100644 --- a/runtime/src/weights/pallet_membership.rs +++ b/runtime/src/weights/pallet_membership.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_membership //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -36,9 +36,9 @@ impl pallet_membership::weights::WeightInfo for WeightI // Storage: AdvisoryCommittee Members (r:0 w:1) // Storage: AdvisoryCommittee Prime (r:0 w:1) fn add_member(m: u32) -> Weight { - (38_419_000 as Weight) - // Standard Error: 9_000 - .saturating_add((140_000 as Weight).saturating_mul(m as Weight)) + (36_842_000 as Weight) + // Standard Error: 13_000 + .saturating_add((153_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -48,9 +48,9 @@ impl pallet_membership::weights::WeightInfo for WeightI // Storage: AdvisoryCommittee Members (r:0 w:1) // Storage: AdvisoryCommittee Prime (r:0 w:1) fn remove_member(m: u32) -> Weight { - (47_096_000 as Weight) - // Standard Error: 4_000 - .saturating_add((92_000 as Weight).saturating_mul(m as Weight)) + (44_687_000 as Weight) + // Standard Error: 1_000 + .saturating_add((81_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -60,9 +60,9 @@ impl pallet_membership::weights::WeightInfo for WeightI // Storage: AdvisoryCommittee Members (r:0 w:1) // Storage: AdvisoryCommittee Prime (r:0 w:1) fn swap_member(m: u32) -> Weight { - (48_742_000 as Weight) - // Standard Error: 7_000 - .saturating_add((106_000 as Weight).saturating_mul(m as Weight)) + (45_020_000 as Weight) + // Standard Error: 1_000 + .saturating_add((101_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -72,9 +72,9 @@ impl pallet_membership::weights::WeightInfo for WeightI // Storage: AdvisoryCommittee Members (r:0 w:1) // Storage: AdvisoryCommittee Prime (r:0 w:1) fn reset_member(m: u32) -> Weight { - (47_367_000 as Weight) - // Standard Error: 6_000 - .saturating_add((373_000 as Weight).saturating_mul(m as Weight)) + (47_281_000 as Weight) + // Standard Error: 12_000 + .saturating_add((317_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -84,9 +84,9 @@ impl pallet_membership::weights::WeightInfo for WeightI // Storage: AdvisoryCommittee Members (r:0 w:1) // Storage: AdvisoryCommittee Prime (r:0 w:1) fn change_key(m: u32) -> Weight { - (50_340_000 as Weight) - // Standard Error: 7_000 - .saturating_add((133_000 as Weight).saturating_mul(m as Weight)) + (45_983_000 as Weight) + // Standard Error: 1_000 + .saturating_add((108_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -94,18 +94,15 @@ impl pallet_membership::weights::WeightInfo for WeightI // Storage: AdvisoryCommitteeMembership Prime (r:0 w:1) // Storage: AdvisoryCommittee Prime (r:0 w:1) fn set_prime(m: u32) -> Weight { - (11_834_000 as Weight) - // Standard Error: 1_000 - .saturating_add((55_000 as Weight).saturating_mul(m as Weight)) + (10_957_000 as Weight) + // Standard Error: 0 + .saturating_add((57_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: AdvisoryCommitteeMembership Prime (r:0 w:1) // Storage: AdvisoryCommittee Prime (r:0 w:1) - fn clear_prime(m: u32) -> Weight { - (4_368_000 as Weight) - // Standard Error: 0 - .saturating_add((4_000 as Weight).saturating_mul(m as Weight)) - .saturating_add(T::DbWeight::get().writes(2 as Weight)) + fn clear_prime(_m: u32) -> Weight { + (4_389_000 as Weight).saturating_add(T::DbWeight::get().writes(2 as Weight)) } } diff --git a/runtime/src/weights/pallet_multisig.rs b/runtime/src/weights/pallet_multisig.rs index 29b112ec0..47bebcc8e 100644 --- a/runtime/src/weights/pallet_multisig.rs +++ b/runtime/src/weights/pallet_multisig.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_multisig //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -32,16 +32,16 @@ use frame_support::{ pub struct WeightInfo(PhantomData); impl pallet_multisig::weights::WeightInfo for WeightInfo { fn as_multi_threshold_1(_z: u32) -> Weight { - (29_238_000 as Weight) + (26_343_000 as Weight) } // Storage: MultiSig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn as_multi_create(s: u32, z: u32) -> Weight { - (92_504_000 as Weight) - // Standard Error: 14_000 - .saturating_add((166_000 as Weight).saturating_mul(s as Weight)) + (70_859_000 as Weight) + // Standard Error: 8_000 + .saturating_add((213_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -49,9 +49,9 @@ impl pallet_multisig::weights::WeightInfo for WeightInf // Storage: MultiSig Calls (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn as_multi_create_store(s: u32, z: u32) -> Weight { - (84_340_000 as Weight) - // Standard Error: 13_000 - .saturating_add((206_000 as Weight).saturating_mul(s as Weight)) + (79_987_000 as Weight) + // Standard Error: 14_000 + .saturating_add((307_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) @@ -59,9 +59,9 @@ impl pallet_multisig::weights::WeightInfo for WeightInf } // Storage: MultiSig Multisigs (r:1 w:1) fn as_multi_approve(s: u32, z: u32) -> Weight { - (52_600_000 as Weight) + (52_701_000 as Weight) // Standard Error: 6_000 - .saturating_add((151_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((131_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -70,9 +70,9 @@ impl pallet_multisig::weights::WeightInfo for WeightInf // Storage: MultiSig Multisigs (r:1 w:1) // Storage: MultiSig Calls (r:1 w:1) fn as_multi_approve_store(s: u32, z: u32) -> Weight { - (84_637_000 as Weight) - // Standard Error: 12_000 - .saturating_add((180_000 as Weight).saturating_mul(s as Weight)) + (83_203_000 as Weight) + // Standard Error: 10_000 + .saturating_add((104_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -82,9 +82,9 @@ impl pallet_multisig::weights::WeightInfo for WeightInf // Storage: MultiSig Calls (r:1 w:1) // Storage: System Account (r:1 w:1) fn as_multi_complete(s: u32, z: u32) -> Weight { - (93_114_000 as Weight) - // Standard Error: 15_000 - .saturating_add((521_000 as Weight).saturating_mul(s as Weight)) + (106_565_000 as Weight) + // Standard Error: 9_000 + .saturating_add((129_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) @@ -93,18 +93,18 @@ impl pallet_multisig::weights::WeightInfo for WeightInf // Storage: MultiSig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn approve_as_multi_create(s: u32) -> Weight { - (83_324_000 as Weight) - // Standard Error: 11_000 - .saturating_add((187_000 as Weight).saturating_mul(s as Weight)) + (76_968_000 as Weight) + // Standard Error: 4_000 + .saturating_add((71_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: MultiSig Multisigs (r:1 w:1) // Storage: MultiSig Calls (r:1 w:0) fn approve_as_multi_approve(s: u32) -> Weight { - (51_657_000 as Weight) - // Standard Error: 6_000 - .saturating_add((170_000 as Weight).saturating_mul(s as Weight)) + (46_783_000 as Weight) + // Standard Error: 7_000 + .saturating_add((99_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -112,18 +112,18 @@ impl pallet_multisig::weights::WeightInfo for WeightInf // Storage: MultiSig Calls (r:1 w:1) // Storage: System Account (r:1 w:1) fn approve_as_multi_complete(s: u32) -> Weight { - (134_684_000 as Weight) - // Standard Error: 15_000 - .saturating_add((174_000 as Weight).saturating_mul(s as Weight)) + (127_535_000 as Weight) + // Standard Error: 9_000 + .saturating_add((99_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: MultiSig Multisigs (r:1 w:1) // Storage: MultiSig Calls (r:1 w:1) fn cancel_as_multi(s: u32) -> Weight { - (105_567_000 as Weight) - // Standard Error: 14_000 - .saturating_add((148_000 as Weight).saturating_mul(s as Weight)) + (111_385_000 as Weight) + // Standard Error: 15_000 + .saturating_add((76_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/src/weights/pallet_preimage.rs b/runtime/src/weights/pallet_preimage.rs index c8af528cd..9fb3f6932 100644 --- a/runtime/src/weights/pallet_preimage.rs +++ b/runtime/src/weights/pallet_preimage.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_preimage //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -61,58 +61,58 @@ impl pallet_preimage::weights::WeightInfo for WeightInf // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - (122_040_000 as Weight) + (87_330_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - (87_960_000 as Weight) + (60_040_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - (107_450_000 as Weight) + (88_350_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - (76_010_000 as Weight) + (57_770_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - (50_520_000 as Weight) + (37_970_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - (14_780_000 as Weight) + (12_680_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - (90_600_000 as Weight) + (59_950_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - (51_110_000 as Weight) + (37_380_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - (13_710_000 as Weight) + (12_050_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/src/weights/pallet_proxy.rs b/runtime/src/weights/pallet_proxy.rs index 8f78d3bc8..3669d5330 100644 --- a/runtime/src/weights/pallet_proxy.rs +++ b/runtime/src/weights/pallet_proxy.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_proxy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -33,42 +33,40 @@ pub struct WeightInfo(PhantomData); impl pallet_proxy::weights::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:0) fn proxy(p: u32) -> Weight { - (36_894_000 as Weight) - // Standard Error: 19_000 - .saturating_add((52_000 as Weight).saturating_mul(p as Weight)) + (32_055_000 as Weight) + // Standard Error: 5_000 + .saturating_add((139_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:0) // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) fn proxy_announced(a: u32, p: u32) -> Weight { - (68_237_000 as Weight) + (70_831_000 as Weight) // Standard Error: 39_000 - .saturating_add((623_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 41_000 - .saturating_add((245_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((250_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 40_000 + .saturating_add((15_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) fn remove_announcement(a: u32, p: u32) -> Weight { - (57_327_000 as Weight) - // Standard Error: 25_000 - .saturating_add((339_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 26_000 - .saturating_add((30_000 as Weight).saturating_mul(p as Weight)) + (45_944_000 as Weight) + // Standard Error: 16_000 + .saturating_add((464_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 17_000 + .saturating_add((16_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) - fn reject_announcement(a: u32, p: u32) -> Weight { - (54_584_000 as Weight) - // Standard Error: 29_000 - .saturating_add((492_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 30_000 - .saturating_add((96_000 as Weight).saturating_mul(p as Weight)) + fn reject_announcement(a: u32, _p: u32) -> Weight { + (56_118_000 as Weight) + // Standard Error: 22_000 + .saturating_add((177_000 as Weight).saturating_mul(a as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -76,52 +74,50 @@ impl pallet_proxy::weights::WeightInfo for WeightInfo Weight { - (72_065_000 as Weight) - // Standard Error: 28_000 - .saturating_add((513_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 29_000 - .saturating_add((207_000 as Weight).saturating_mul(p as Weight)) + (70_902_000 as Weight) + // Standard Error: 22_000 + .saturating_add((232_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 23_000 + .saturating_add((50_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) fn add_proxy(p: u32) -> Weight { - (69_284_000 as Weight) - // Standard Error: 21_000 - .saturating_add((214_000 as Weight).saturating_mul(p as Weight)) + (57_443_000 as Weight) + // Standard Error: 7_000 + .saturating_add((182_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) fn remove_proxy(p: u32) -> Weight { - (67_256_000 as Weight) - // Standard Error: 36_000 - .saturating_add((150_000 as Weight).saturating_mul(p as Weight)) + (56_734_000 as Weight) + // Standard Error: 4_000 + .saturating_add((207_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) - fn remove_proxies(p: u32) -> Weight { - (53_817_000 as Weight) - // Standard Error: 28_000 - .saturating_add((178_000 as Weight).saturating_mul(p as Weight)) + fn remove_proxies(_p: u32) -> Weight { + (55_741_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: Proxy Proxies (r:1 w:1) fn anonymous(p: u32) -> Weight { - (72_520_000 as Weight) - // Standard Error: 39_000 - .saturating_add((98_000 as Weight).saturating_mul(p as Weight)) + (64_235_000 as Weight) + // Standard Error: 7_000 + .saturating_add((16_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) fn kill_anonymous(p: u32) -> Weight { - (61_276_000 as Weight) - // Standard Error: 82_000 - .saturating_add((35_000 as Weight).saturating_mul(p as Weight)) + (49_454_000 as Weight) + // Standard Error: 3_000 + .saturating_add((123_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/src/weights/pallet_scheduler.rs b/runtime/src/weights/pallet_scheduler.rs index 76e08c0a7..060e83170 100644 --- a/runtime/src/weights/pallet_scheduler.rs +++ b/runtime/src/weights/pallet_scheduler.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_scheduler //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -36,9 +36,9 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn // Storage: Preimage StatusFor (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_periodic_named_resolved(s: u32) -> Weight { - (0 as Weight) - // Standard Error: 573_000 - .saturating_add((54_635_000 as Weight).saturating_mul(s as Weight)) + (44_416_000 as Weight) + // Standard Error: 474_000 + .saturating_add((48_242_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -49,9 +49,9 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn // Storage: Preimage StatusFor (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_named_resolved(s: u32) -> Weight { - (36_895_000 as Weight) - // Standard Error: 582_000 - .saturating_add((39_495_000 as Weight).saturating_mul(s as Weight)) + (50_197_000 as Weight) + // Standard Error: 284_000 + .saturating_add((36_629_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -61,9 +61,9 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) fn on_initialize_periodic_resolved(s: u32) -> Weight { - (36_728_000 as Weight) - // Standard Error: 489_000 - .saturating_add((46_045_000 as Weight).saturating_mul(s as Weight)) + (8_100_000 as Weight) + // Standard Error: 455_000 + .saturating_add((42_930_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -73,9 +73,9 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) fn on_initialize_resolved(s: u32) -> Weight { - (7_937_000 as Weight) - // Standard Error: 686_000 - .saturating_add((38_690_000 as Weight).saturating_mul(s as Weight)) + (13_719_000 as Weight) + // Standard Error: 342_000 + .saturating_add((36_158_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -85,9 +85,9 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn // Storage: Preimage PreimageFor (r:1 w:0) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_named_aborted(s: u32) -> Weight { - (15_717_000 as Weight) - // Standard Error: 85_000 - .saturating_add((16_383_000 as Weight).saturating_mul(s as Weight)) + (20_404_000 as Weight) + // Standard Error: 78_000 + .saturating_add((16_125_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -96,9 +96,9 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn // Storage: Scheduler Agenda (r:2 w:2) // Storage: Preimage PreimageFor (r:1 w:0) fn on_initialize_aborted(s: u32) -> Weight { - (27_882_000 as Weight) - // Standard Error: 101_000 - .saturating_add((8_796_000 as Weight).saturating_mul(s as Weight)) + (25_240_000 as Weight) + // Standard Error: 59_000 + .saturating_add((8_957_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -106,9 +106,9 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn // Storage: Scheduler Agenda (r:2 w:2) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_periodic_named(s: u32) -> Weight { - (0 as Weight) - // Standard Error: 614_000 - .saturating_add((32_149_000 as Weight).saturating_mul(s as Weight)) + (57_297_000 as Weight) + // Standard Error: 112_000 + .saturating_add((23_429_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -116,9 +116,9 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn } // Storage: Scheduler Agenda (r:2 w:2) fn on_initialize_periodic(s: u32) -> Weight { - (61_574_000 as Weight) - // Standard Error: 161_000 - .saturating_add((17_697_000 as Weight).saturating_mul(s as Weight)) + (58_724_000 as Weight) + // Standard Error: 179_000 + .saturating_add((16_953_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -127,53 +127,53 @@ impl pallet_scheduler::weights::WeightInfo for WeightIn // Storage: Scheduler Agenda (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn on_initialize_named(s: u32) -> Weight { - (28_989_000 as Weight) - // Standard Error: 69_000 - .saturating_add((13_320_000 as Weight).saturating_mul(s as Weight)) + (35_503_000 as Weight) + // Standard Error: 63_000 + .saturating_add((12_945_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) } // Storage: Scheduler Agenda (r:1 w:1) fn on_initialize(s: u32) -> Weight { - (28_406_000 as Weight) - // Standard Error: 54_000 - .saturating_add((10_799_000 as Weight).saturating_mul(s as Weight)) + (56_165_000 as Weight) + // Standard Error: 153_000 + .saturating_add((9_751_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Agenda (r:1 w:1) fn schedule(s: u32) -> Weight { - (36_713_000 as Weight) - // Standard Error: 6_000 - .saturating_add((104_000 as Weight).saturating_mul(s as Weight)) + (37_674_000 as Weight) + // Standard Error: 5_000 + .saturating_add((124_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Agenda (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) fn cancel(s: u32) -> Weight { - (37_113_000 as Weight) - // Standard Error: 28_000 - .saturating_add((1_608_000 as Weight).saturating_mul(s as Weight)) + (35_256_000 as Weight) + // Standard Error: 29_000 + .saturating_add((1_522_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn schedule_named(s: u32) -> Weight { - (45_226_000 as Weight) - // Standard Error: 9_000 - .saturating_add((154_000 as Weight).saturating_mul(s as Weight)) + (48_242_000 as Weight) + // Standard Error: 11_000 + .saturating_add((103_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn cancel_named(s: u32) -> Weight { - (37_235_000 as Weight) - // Standard Error: 29_000 - .saturating_add((1_774_000 as Weight).saturating_mul(s as Weight)) + (42_748_000 as Weight) + // Standard Error: 10_000 + .saturating_add((1_344_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/src/weights/pallet_timestamp.rs b/runtime/src/weights/pallet_timestamp.rs index 7f27d9bdc..4f66d0e58 100644 --- a/runtime/src/weights/pallet_timestamp.rs +++ b/runtime/src/weights/pallet_timestamp.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_timestamp //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -34,11 +34,11 @@ impl pallet_timestamp::weights::WeightInfo for WeightIn // Storage: Timestamp Now (r:1 w:1) // Storage: Aura CurrentSlot (r:1 w:0) fn set() -> Weight { - (19_100_000 as Weight) + (15_470_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (7_330_000 as Weight) + (6_860_000 as Weight) } } diff --git a/runtime/src/weights/pallet_treasury.rs b/runtime/src/weights/pallet_treasury.rs index a68d9bbbd..766822c2d 100644 --- a/runtime/src/weights/pallet_treasury.rs +++ b/runtime/src/weights/pallet_treasury.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_treasury //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -34,22 +34,22 @@ impl pallet_treasury::weights::WeightInfo for WeightInf // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - (55_880_000 as Weight) + (57_400_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Treasury Proposals (r:1 w:1) fn reject_proposal() -> Weight { - (62_640_000 as Weight) + (63_690_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Treasury Proposals (r:1 w:0) // Storage: Treasury Approvals (r:1 w:1) fn approve_proposal(p: u32) -> Weight { - (17_344_000 as Weight) - // Standard Error: 4_000 - .saturating_add((220_000 as Weight).saturating_mul(p as Weight)) + (17_798_000 as Weight) + // Standard Error: 3_000 + .saturating_add((191_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -57,9 +57,9 @@ impl pallet_treasury::weights::WeightInfo for WeightInf // Storage: Treasury Approvals (r:1 w:1) // Storage: Treasury Proposals (r:2 w:2) fn on_initialize_proposals(p: u32) -> Weight { - (104_939_000 as Weight) - // Standard Error: 325_000 - .saturating_add((81_213_000 as Weight).saturating_mul(p as Weight)) + (33_797_000 as Weight) + // Standard Error: 293_000 + .saturating_add((75_233_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) diff --git a/runtime/src/weights/pallet_utility.rs b/runtime/src/weights/pallet_utility.rs index 239da4b63..2b65f3146 100644 --- a/runtime/src/weights/pallet_utility.rs +++ b/runtime/src/weights/pallet_utility.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_utility //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -32,22 +32,22 @@ use frame_support::{ pub struct WeightInfo(PhantomData); impl pallet_utility::weights::WeightInfo for WeightInfo { fn batch(c: u32) -> Weight { - (19_244_000 as Weight) - // Standard Error: 15_000 - .saturating_add((7_387_000 as Weight).saturating_mul(c as Weight)) + (70_756_000 as Weight) + // Standard Error: 11_000 + .saturating_add((6_565_000 as Weight).saturating_mul(c as Weight)) } fn as_derivative() -> Weight { - (4_040_000 as Weight) + (3_560_000 as Weight) } // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) fn batch_all(c: u32) -> Weight { - (0 as Weight) - // Standard Error: 39_000 - .saturating_add((8_312_000 as Weight).saturating_mul(c as Weight)) + (17_945_000 as Weight) + // Standard Error: 28_000 + .saturating_add((7_339_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn dispatch_as() -> Weight { - (28_410_000 as Weight) + (23_830_000 as Weight) } } diff --git a/runtime/src/weights/pallet_vesting.rs b/runtime/src/weights/pallet_vesting.rs index 38ea0bdae..dbce87790 100644 --- a/runtime/src/weights/pallet_vesting.rs +++ b/runtime/src/weights/pallet_vesting.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_vesting //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -33,83 +33,85 @@ pub struct WeightInfo(PhantomData); impl pallet_vesting::weights::WeightInfo for WeightInfo { // Storage: Vesting Vesting (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - fn vest_locked(l: u32, _s: u32) -> Weight { - (76_457_000 as Weight) - // Standard Error: 21_000 - .saturating_add((201_000 as Weight).saturating_mul(l as Weight)) + fn vest_locked(l: u32, s: u32) -> Weight { + (55_659_000 as Weight) + // Standard Error: 17_000 + .saturating_add((280_000 as Weight).saturating_mul(l as Weight)) + // Standard Error: 35_000 + .saturating_add((339_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Vesting Vesting (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vest_unlocked(l: u32, s: u32) -> Weight { - (60_391_000 as Weight) - // Standard Error: 25_000 - .saturating_add((291_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 51_000 - .saturating_add((236_000 as Weight).saturating_mul(s as Weight)) + (63_760_000 as Weight) + // Standard Error: 15_000 + .saturating_add((55_000 as Weight).saturating_mul(l as Weight)) + // Standard Error: 31_000 + .saturating_add((333_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Vesting Vesting (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) - fn vest_other_locked(_l: u32, _s: u32) -> Weight { - (79_384_000 as Weight) + fn vest_other_locked(l: u32, s: u32) -> Weight { + (68_314_000 as Weight) + // Standard Error: 13_000 + .saturating_add((72_000 as Weight).saturating_mul(l as Weight)) + // Standard Error: 27_000 + .saturating_add((9_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Vesting Vesting (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) - fn vest_other_unlocked(_l: u32, s: u32) -> Weight { - (76_607_000 as Weight) - // Standard Error: 42_000 - .saturating_add((30_000 as Weight).saturating_mul(s as Weight)) + fn vest_other_unlocked(l: u32, s: u32) -> Weight { + (62_927_000 as Weight) + // Standard Error: 15_000 + .saturating_add((93_000 as Weight).saturating_mul(l as Weight)) + // Standard Error: 31_000 + .saturating_add((44_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Vesting Vesting (r:1 w:1) // Storage: System Account (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - fn vested_transfer(l: u32, _s: u32) -> Weight { - (117_050_000 as Weight) - // Standard Error: 34_000 - .saturating_add((92_000 as Weight).saturating_mul(l as Weight)) + fn vested_transfer(_l: u32, _s: u32) -> Weight { + (124_585_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Vesting Vesting (r:1 w:1) // Storage: System Account (r:2 w:2) // Storage: Balances Locks (r:1 w:1) - fn force_vested_transfer(l: u32, s: u32) -> Weight { - (111_772_000 as Weight) - // Standard Error: 38_000 - .saturating_add((77_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 77_000 - .saturating_add((192_000 as Weight).saturating_mul(s as Weight)) + fn force_vested_transfer(l: u32, _s: u32) -> Weight { + (106_269_000 as Weight) + // Standard Error: 14_000 + .saturating_add((248_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Vesting Vesting (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - fn not_unlocking_merge_schedules(l: u32, s: u32) -> Weight { - (69_124_000 as Weight) - // Standard Error: 17_000 - .saturating_add((232_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 36_000 - .saturating_add((162_000 as Weight).saturating_mul(s as Weight)) + fn not_unlocking_merge_schedules(l: u32, _s: u32) -> Weight { + (75_226_000 as Weight) + // Standard Error: 18_000 + .saturating_add((46_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Vesting Vesting (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn unlocking_merge_schedules(l: u32, s: u32) -> Weight { - (69_756_000 as Weight) - // Standard Error: 20_000 - .saturating_add((222_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 43_000 - .saturating_add((170_000 as Weight).saturating_mul(s as Weight)) + (61_495_000 as Weight) + // Standard Error: 12_000 + .saturating_add((196_000 as Weight).saturating_mul(l as Weight)) + // Standard Error: 26_000 + .saturating_add((145_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/src/weights/parachain_staking.rs b/runtime/src/weights/parachain_staking.rs index 2fe9b4fc9..51570e7b6 100644 --- a/runtime/src/weights/parachain_staking.rs +++ b/runtime/src/weights/parachain_staking.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for parachain_staking //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -33,9 +33,9 @@ pub struct WeightInfo(PhantomData); impl parachain_staking::weights::WeightInfo for WeightInfo { // Storage: ParachainStaking DelegatorState (r:1 w:1) fn hotfix_remove_delegation_requests(x: u32) -> Weight { - (0 as Weight) - // Standard Error: 62_000 - .saturating_add((13_647_000 as Weight).saturating_mul(x as Weight)) + (7_627_000 as Weight) + // Standard Error: 42_000 + .saturating_add((13_072_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(x as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(x as Weight))) } @@ -43,46 +43,46 @@ impl parachain_staking::weights::WeightInfo for WeightI // Storage: ParachainStaking CandidatePool (r:1 w:1) fn hotfix_update_candidate_pool_value(x: u32) -> Weight { (0 as Weight) - // Standard Error: 169_000 - .saturating_add((27_624_000 as Weight).saturating_mul(x as Weight)) + // Standard Error: 185_000 + .saturating_add((28_909_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(x as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking InflationConfig (r:1 w:1) fn set_staking_expectations() -> Weight { - (38_860_000 as Weight) + (33_640_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking InflationConfig (r:1 w:1) // Storage: ParachainStaking Round (r:1 w:0) fn set_inflation() -> Weight { - (89_560_000 as Weight) + (89_030_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking ParachainBondInfo (r:1 w:1) fn set_parachain_bond_account() -> Weight { - (31_010_000 as Weight) + (38_300_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking ParachainBondInfo (r:1 w:1) fn set_parachain_bond_reserve_percent() -> Weight { - (31_360_000 as Weight) + (36_230_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking TotalSelected (r:1 w:1) // Storage: ParachainStaking Round (r:1 w:0) fn set_total_selected() -> Weight { - (38_220_000 as Weight) + (44_000_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking CollatorCommission (r:1 w:1) fn set_collator_commission() -> Weight { - (29_550_000 as Weight) + (29_680_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -90,7 +90,7 @@ impl parachain_staking::weights::WeightInfo for WeightI // Storage: ParachainStaking TotalSelected (r:1 w:0) // Storage: ParachainStaking InflationConfig (r:1 w:1) fn set_blocks_per_round() -> Weight { - (97_210_000 as Weight) + (95_790_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -102,9 +102,9 @@ impl parachain_staking::weights::WeightInfo for WeightI // Storage: ParachainStaking TopDelegations (r:0 w:1) // Storage: ParachainStaking BottomDelegations (r:0 w:1) fn join_candidates(x: u32) -> Weight { - (137_741_000 as Weight) + (115_375_000 as Weight) // Standard Error: 3_000 - .saturating_add((219_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((188_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -112,9 +112,9 @@ impl parachain_staking::weights::WeightInfo for WeightI // Storage: ParachainStaking Round (r:1 w:0) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn schedule_leave_candidates(x: u32) -> Weight { - (126_459_000 as Weight) - // Standard Error: 4_000 - .saturating_add((143_000 as Weight).saturating_mul(x as Weight)) + (104_490_000 as Weight) + // Standard Error: 3_000 + .saturating_add((137_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -126,9 +126,9 @@ impl parachain_staking::weights::WeightInfo for WeightI // Storage: ParachainStaking BottomDelegations (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn execute_leave_candidates(x: u32) -> Weight { - (41_028_000 as Weight) - // Standard Error: 179_000 - .saturating_add((41_359_000 as Weight).saturating_mul(x as Weight)) + (0 as Weight) + // Standard Error: 133_000 + .saturating_add((42_403_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(x as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) @@ -137,23 +137,23 @@ impl parachain_staking::weights::WeightInfo for WeightI // Storage: ParachainStaking CandidateInfo (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn cancel_leave_candidates(x: u32) -> Weight { - (108_141_000 as Weight) - // Standard Error: 3_000 - .saturating_add((163_000 as Weight).saturating_mul(x as Weight)) + (115_608_000 as Weight) + // Standard Error: 4_000 + .saturating_add((128_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: ParachainStaking CandidateInfo (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn go_offline() -> Weight { - (47_010_000 as Weight) + (52_380_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: ParachainStaking CandidateInfo (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn go_online() -> Weight { - (56_840_000 as Weight) + (57_640_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -162,14 +162,14 @@ impl parachain_staking::weights::WeightInfo for WeightI // Storage: ParachainStaking Total (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn candidate_bond_more() -> Weight { - (97_210_000 as Weight) + (96_050_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: ParachainStaking CandidateInfo (r:1 w:1) // Storage: ParachainStaking Round (r:1 w:0) fn schedule_candidate_bond_less() -> Weight { - (53_270_000 as Weight) + (50_410_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -179,13 +179,13 @@ impl parachain_staking::weights::WeightInfo for WeightI // Storage: ParachainStaking Total (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) fn execute_candidate_bond_less() -> Weight { - (99_890_000 as Weight) + (116_520_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: ParachainStaking CandidateInfo (r:1 w:1) fn cancel_candidate_bond_less() -> Weight { - (42_860_000 as Weight) + (38_730_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -195,19 +195,17 @@ impl parachain_staking::weights::WeightInfo for WeightI // Storage: ParachainStaking TopDelegations (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) - fn delegate(x: u32, y: u32) -> Weight { - (201_147_000 as Weight) - // Standard Error: 23_000 - .saturating_add((97_000 as Weight).saturating_mul(x as Weight)) - // Standard Error: 8_000 - .saturating_add((357_000 as Weight).saturating_mul(y as Weight)) + fn delegate(_x: u32, y: u32) -> Weight { + (229_960_000 as Weight) + // Standard Error: 9_000 + .saturating_add((199_000 as Weight).saturating_mul(y as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking Round (r:1 w:0) fn schedule_leave_delegators() -> Weight { - (47_660_000 as Weight) + (46_630_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -220,8 +218,8 @@ impl parachain_staking::weights::WeightInfo for WeightI // Storage: ParachainStaking Total (r:1 w:1) fn execute_leave_delegators(x: u32) -> Weight { (0 as Weight) - // Standard Error: 173_000 - .saturating_add((64_007_000 as Weight).saturating_mul(x as Weight)) + // Standard Error: 218_000 + .saturating_add((65_324_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(x as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -229,14 +227,14 @@ impl parachain_staking::weights::WeightInfo for WeightI } // Storage: ParachainStaking DelegatorState (r:1 w:1) fn cancel_leave_delegators() -> Weight { - (40_910_000 as Weight) + (40_080_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking Round (r:1 w:0) fn schedule_revoke_delegation() -> Weight { - (47_370_000 as Weight) + (48_160_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -247,14 +245,14 @@ impl parachain_staking::weights::WeightInfo for WeightI // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn delegator_bond_more() -> Weight { - (107_080_000 as Weight) + (111_260_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) // Storage: ParachainStaking Round (r:1 w:0) fn schedule_delegator_bond_less() -> Weight { - (48_160_000 as Weight) + (48_500_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -266,7 +264,7 @@ impl parachain_staking::weights::WeightInfo for WeightI // Storage: System Account (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn execute_revoke_delegation() -> Weight { - (136_580_000 as Weight) + (139_760_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -278,19 +276,19 @@ impl parachain_staking::weights::WeightInfo for WeightI // Storage: ParachainStaking CandidatePool (r:1 w:1) // Storage: ParachainStaking Total (r:1 w:1) fn execute_delegator_bond_less() -> Weight { - (121_700_000 as Weight) + (121_650_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) fn cancel_revoke_delegation() -> Weight { - (42_140_000 as Weight) + (41_790_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ParachainStaking DelegatorState (r:1 w:1) fn cancel_delegator_bond_less() -> Weight { - (49_570_000 as Weight) + (44_330_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -312,10 +310,10 @@ impl parachain_staking::weights::WeightInfo for WeightI // Storage: ParachainStaking DelayedPayouts (r:0 w:1) fn round_transition_on_initialize(x: u32, y: u32) -> Weight { (0 as Weight) - // Standard Error: 2_055_000 - .saturating_add((73_724_000 as Weight).saturating_mul(x as Weight)) - // Standard Error: 7_000 - .saturating_add((611_000 as Weight).saturating_mul(y as Weight)) + // Standard Error: 2_018_000 + .saturating_add((68_279_000 as Weight).saturating_mul(x as Weight)) + // Standard Error: 6_000 + .saturating_add((594_000 as Weight).saturating_mul(y as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(x as Weight))) } // Storage: ParachainStaking DelayedPayouts (r:1 w:0) @@ -324,9 +322,9 @@ impl parachain_staking::weights::WeightInfo for WeightI // Storage: ParachainStaking AtStake (r:1 w:1) // Storage: System Account (r:1 w:1) fn pay_one_collator_reward(y: u32) -> Weight { - (61_020_000 as Weight) - // Standard Error: 122_000 - .saturating_add((32_600_000 as Weight).saturating_mul(y as Weight)) + (37_486_000 as Weight) + // Standard Error: 96_000 + .saturating_add((33_007_000 as Weight).saturating_mul(y as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(y as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) @@ -334,6 +332,6 @@ impl parachain_staking::weights::WeightInfo for WeightI } // Storage: ParachainStaking Round (r:1 w:0) fn base_on_initialize() -> Weight { - (6_840_000 as Weight).saturating_add(T::DbWeight::get().reads(1 as Weight)) + (8_870_000 as Weight).saturating_add(T::DbWeight::get().reads(1 as Weight)) } } diff --git a/zrml/authorized/src/weights.rs b/zrml/authorized/src/weights.rs index 31bb52155..a68cbb477 100644 --- a/zrml/authorized/src/weights.rs +++ b/zrml/authorized/src/weights.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for zrml_authorized //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: MarketCommons Markets (r:1 w:0) // Storage: Authorized AuthorizedOutcomeReports (r:0 w:1) fn authorize_market_outcome() -> Weight { - (19_730_000 as Weight) + (19_710_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/zrml/court/src/weights.rs b/zrml/court/src/weights.rs index b9fcd727b..335d600cf 100644 --- a/zrml/court/src/weights.rs +++ b/zrml/court/src/weights.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for zrml_court //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -41,21 +41,21 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Court RequestedJurors (r:1 w:0) // Storage: Court Votes (r:1 w:0) fn exit_court() -> Weight { - (86_410_000 as Weight) + (78_190_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Court Jurors (r:2 w:1) // Storage: Balances Reserves (r:1 w:1) fn join_court() -> Weight { - (71_690_000 as Weight) + (68_980_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Court Jurors (r:1 w:0) // Storage: Court Votes (r:0 w:1) fn vote() -> Weight { - (18_360_000 as Weight) + (16_830_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/zrml/liquidity-mining/src/weights.rs b/zrml/liquidity-mining/src/weights.rs index 523c0e090..566b3e649 100644 --- a/zrml/liquidity-mining/src/weights.rs +++ b/zrml/liquidity-mining/src/weights.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for zrml_liquidity_mining //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -36,6 +36,6 @@ pub struct WeightInfo(PhantomData); impl WeightInfoZeitgeist for WeightInfo { // Storage: LiquidityMining PerBlockIncentive (r:0 w:1) fn set_per_block_distribution() -> Weight { - (2_590_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight)) + (2_470_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight)) } } diff --git a/zrml/prediction-markets/src/weights.rs b/zrml/prediction-markets/src/weights.rs index b16bb5f20..4afb2e4d5 100644 --- a/zrml/prediction-markets/src/weights.rs +++ b/zrml/prediction-markets/src/weights.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for zrml_prediction_markets //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -64,14 +64,13 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: MarketCommons MarketPool (r:1 w:0) // Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) // Storage: Tokens TotalIssuance (r:0 w:10) + // Storage: PredictionMarkets Disputes (r:0 w:1) fn admin_destroy_disputed_market(a: u32, b: u32, c: u32) -> Weight { (0 as Weight) - // Standard Error: 189_000 - .saturating_add((93_342_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 189_000 - .saturating_add((2_120_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 248_000 - .saturating_add((90_417_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 156_000 + .saturating_add((77_941_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 204_000 + .saturating_add((81_044_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(a as Weight))) @@ -86,12 +85,15 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: MarketCommons MarketPool (r:1 w:0) // Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) // Storage: Tokens TotalIssuance (r:0 w:10) + // Storage: PredictionMarkets Disputes (r:0 w:1) fn admin_destroy_reported_market(a: u32, b: u32, c: u32) -> Weight { (0 as Weight) - // Standard Error: 149_000 - .saturating_add((87_574_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 196_000 - .saturating_add((86_517_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 105_000 + .saturating_add((79_076_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 105_000 + .saturating_add((5_057_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 138_000 + .saturating_add((81_329_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(a as Weight))) @@ -103,7 +105,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: PredictionMarkets MarketIdsPerCloseTimeFrame (r:1 w:1) // Storage: MarketCommons MarketPool (r:1 w:0) fn admin_move_market_to_closed() -> Weight { - (62_700_000 as Weight) + (62_280_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -111,18 +113,18 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: MarketCommons Markets (r:1 w:1) // Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) // Storage: Balances Reserves (r:1 w:1) - // Storage: PredictionMarkets Disputes (r:1 w:0) + // Storage: PredictionMarkets Disputes (r:1 w:1) // Storage: MarketCommons MarketPool (r:1 w:0) fn admin_move_market_to_resolved_overhead() -> Weight { - (133_910_000 as Weight) + (121_340_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) - .saturating_add(T::DbWeight::get().writes(4 as Weight)) + .saturating_add(T::DbWeight::get().writes(5 as Weight)) } // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: MarketCommons Markets (r:1 w:1) // Storage: Balances Reserves (r:1 w:1) fn approve_market() -> Weight { - (78_070_000 as Weight) + (74_610_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -132,9 +134,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens Accounts (r:2 w:2) // Storage: Tokens TotalIssuance (r:2 w:2) fn buy_complete_set(a: u32) -> Weight { - (106_001_000 as Weight) - // Standard Error: 62_000 - .saturating_add((39_014_000 as Weight).saturating_mul(a as Weight)) + (102_650_000 as Weight) + // Standard Error: 95_000 + .saturating_add((34_699_000 as Weight).saturating_mul(a as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -147,7 +149,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: PredictionMarkets MarketIdsPerCloseTimeFrame (r:1 w:1) // Storage: MarketCommons Markets (r:0 w:1) fn create_market() -> Weight { - (90_040_000 as Weight) + (86_440_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -160,9 +162,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: MarketCommons MarketPool (r:1 w:1) // Storage: Swaps Pools (r:0 w:1) fn deploy_swap_pool_for_market(a: u32) -> Weight { - (181_149_000 as Weight) - // Standard Error: 160_000 - .saturating_add((64_252_000 as Weight).saturating_mul(a as Weight)) + (173_765_000 as Weight) + // Standard Error: 122_000 + .saturating_add((51_364_000 as Weight).saturating_mul(a as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().writes(7 as Weight)) @@ -171,74 +173,72 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: PredictionMarkets Disputes (r:1 w:0) // Storage: MarketCommons Markets (r:1 w:0) fn dispute(a: u32) -> Weight { - (15_529_000 as Weight) - // Standard Error: 17_000 - .saturating_add((342_000 as Weight).saturating_mul(a as Weight)) + (15_065_000 as Weight) + // Standard Error: 4_000 + .saturating_add((88_000 as Weight).saturating_mul(a as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } // Storage: Balances Reserves (r:1 w:1) // Storage: MarketCommons Markets (r:1 w:1) fn do_reject_market() -> Weight { - (111_530_000 as Weight) + (113_250_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Balances Reserves (r:1 w:1) // Storage: MarketCommons Markets (r:1 w:1) fn handle_expired_advised_market() -> Weight { - (106_560_000 as Weight) + (85_490_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: MarketCommons Markets (r:1 w:0) // Storage: PredictionMarkets Disputes (r:1 w:0) - fn internal_resolve_categorical_reported(a: u32, b: u32, _c: u32) -> Weight { - (18_346_000 as Weight) - // Standard Error: 4_000 - .saturating_add((89_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 4_000 - .saturating_add((8_000 as Weight).saturating_mul(b as Weight)) + fn internal_resolve_categorical_reported(a: u32, _b: u32, _c: u32) -> Weight { + (17_324_000 as Weight) + // Standard Error: 2_000 + .saturating_add((16_000 as Weight).saturating_mul(a as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } // Storage: MarketCommons Markets (r:1 w:0) // Storage: PredictionMarkets Disputes (r:1 w:0) - fn internal_resolve_categorical_disputed(a: u32, b: u32, c: u32, _d: u32) -> Weight { - (15_725_000 as Weight) + fn internal_resolve_categorical_disputed(a: u32, _b: u32, _c: u32, d: u32) -> Weight { + (17_974_000 as Weight) // Standard Error: 2_000 - .saturating_add((92_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 2_000 - .saturating_add((56_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 3_000 - .saturating_add((91_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((27_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 4_000 + .saturating_add((33_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } // Storage: MarketCommons Markets (r:1 w:0) // Storage: PredictionMarkets Disputes (r:1 w:0) fn internal_resolve_scalar_reported() -> Weight { - (19_270_000 as Weight).saturating_add(T::DbWeight::get().reads(2 as Weight)) + (17_770_000 as Weight).saturating_add(T::DbWeight::get().reads(2 as Weight)) } // Storage: MarketCommons Markets (r:1 w:0) // Storage: PredictionMarkets Disputes (r:1 w:0) - fn internal_resolve_scalar_disputed(_d: u32) -> Weight { - (20_496_000 as Weight).saturating_add(T::DbWeight::get().reads(2 as Weight)) + fn internal_resolve_scalar_disputed(d: u32) -> Weight { + (16_564_000 as Weight) + // Standard Error: 6_000 + .saturating_add((13_000 as Weight).saturating_mul(d as Weight)) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) } // Storage: Timestamp Now (r:1 w:0) // Storage: PredictionMarkets MarketsCollectingSubsidy (r:1 w:1) // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: PredictionMarkets MarketIdsPerCloseBlock (r:1 w:1) - // Storage: PredictionMarkets LastTimeFrame (r:1 w:1) // Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:0) // Storage: PredictionMarkets MarketIdsPerDisputeBlock (r:1 w:0) fn on_initialize_resolve_overhead() -> Weight { - (39_250_000 as Weight) - .saturating_add(T::DbWeight::get().reads(7 as Weight)) - .saturating_add(T::DbWeight::get().writes(4 as Weight)) + (30_070_000 as Weight) + .saturating_add(T::DbWeight::get().reads(6 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: PredictionMarkets MarketsCollectingSubsidy (r:1 w:1) fn process_subsidy_collecting_markets_raw(a: u32) -> Weight { - (9_813_000 as Weight) - // Standard Error: 3_000 - .saturating_add((258_000 as Weight).saturating_mul(a as Weight)) + (9_367_000 as Weight) + // Standard Error: 9_000 + .saturating_add((361_000 as Weight).saturating_mul(a as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -248,7 +248,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Tokens TotalIssuance (r:1 w:1) fn redeem_shares_categorical() -> Weight { - (143_920_000 as Weight) + (126_420_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -258,7 +258,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Tokens TotalIssuance (r:2 w:2) fn redeem_shares_scalar() -> Weight { - (200_850_000 as Weight) + (192_540_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -267,7 +267,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: PredictionMarkets MarketIdsPerCloseTimeFrame (r:1 w:1) // Storage: Balances Reserves (r:1 w:1) fn reject_market() -> Weight { - (136_580_000 as Weight) + (131_250_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -276,7 +276,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Timestamp Now (r:1 w:0) // Storage: PredictionMarkets MarketIdsPerReportBlock (r:1 w:1) fn report() -> Weight { - (57_500_000 as Weight) + (56_300_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -286,9 +286,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens Accounts (r:2 w:2) // Storage: Tokens TotalIssuance (r:2 w:2) fn sell_complete_set(a: u32) -> Weight { - (95_409_000 as Weight) - // Standard Error: 86_000 - .saturating_add((44_808_000 as Weight).saturating_mul(a as Weight)) + (97_188_000 as Weight) + // Standard Error: 106_000 + .saturating_add((40_221_000 as Weight).saturating_mul(a as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -301,10 +301,8 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: MarketCommons Markets (r:1 w:0) // Storage: PredictionMarkets MarketsCollectingSubsidy (r:1 w:1) // Storage: Swaps Pools (r:0 w:1) - fn start_subsidy(a: u32) -> Weight { - (77_270_000 as Weight) - // Standard Error: 24_000 - .saturating_add((357_000 as Weight).saturating_mul(a as Weight)) + fn start_subsidy(_a: u32) -> Weight { + (76_586_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } diff --git a/zrml/swaps/src/weights.rs b/zrml/swaps/src/weights.rs index 27e00927a..867152ef8 100644 --- a/zrml/swaps/src/weights.rs +++ b/zrml/swaps/src/weights.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for zrml_swaps //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-16, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-08, STEPS: `10`, REPEAT: 1000, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -55,7 +55,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: MarketCommons MarketPool (r:1 w:0) // Storage: Swaps Pools (r:1 w:1) fn admin_clean_up_pool() -> Weight { - (78_760_000 as Weight) + (74_390_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -68,10 +68,10 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: RikiddoSigmoidFeeMarketEma RikiddoPerPool (r:1 w:0) fn end_subsidy_phase(a: u32, b: u32) -> Weight { (0 as Weight) - // Standard Error: 473_000 - .saturating_add((64_335_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 419_000 - .saturating_add((130_698_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 425_000 + .saturating_add((42_281_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 376_000 + .saturating_add((125_025_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(b as Weight))) .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(a as Weight))) @@ -82,9 +82,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: RikiddoSigmoidFeeMarketEma RikiddoPerPool (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn destroy_pool_in_subsidy_phase(a: u32) -> Weight { - (59_218_000 as Weight) - // Standard Error: 56_000 - .saturating_add((32_824_000 as Weight).saturating_mul(a as Weight)) + (53_366_000 as Weight) + // Standard Error: 60_000 + .saturating_add((33_351_000 as Weight).saturating_mul(a as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -94,11 +94,11 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens Accounts (r:46 w:22) // Storage: System Account (r:2 w:1) fn distribute_pool_share_rewards(a: u32, b: u32) -> Weight { - (0 as Weight) - // Standard Error: 340_000 - .saturating_add((57_117_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 340_000 - .saturating_add((74_895_000 as Weight).saturating_mul(b as Weight)) + (257_138_000 as Weight) + // Standard Error: 312_000 + .saturating_add((37_813_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 312_000 + .saturating_add((66_640_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight))) @@ -111,9 +111,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens Accounts (r:5 w:5) // Storage: System Account (r:1 w:0) fn pool_exit(a: u32) -> Weight { - (117_673_000 as Weight) - // Standard Error: 130_000 - .saturating_add((49_265_000 as Weight).saturating_mul(a as Weight)) + (89_692_000 as Weight) + // Standard Error: 120_000 + .saturating_add((50_291_000 as Weight).saturating_mul(a as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) @@ -124,7 +124,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Swaps SubsidyProviders (r:1 w:1) // Storage: Tokens Accounts (r:1 w:1) fn pool_exit_subsidy() -> Weight { - (82_520_000 as Weight) + (78_600_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -134,7 +134,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: System Account (r:1 w:0) fn pool_exit_with_exact_asset_amount() -> Weight { - (162_110_000 as Weight) + (141_790_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -144,7 +144,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: System Account (r:1 w:0) fn pool_exit_with_exact_pool_amount() -> Weight { - (161_250_000 as Weight) + (146_900_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -153,9 +153,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: Tokens Accounts (r:5 w:5) fn pool_join(a: u32) -> Weight { - (88_646_000 as Weight) - // Standard Error: 134_000 - .saturating_add((48_100_000 as Weight).saturating_mul(a as Weight)) + (103_885_000 as Weight) + // Standard Error: 91_000 + .saturating_add((42_821_000 as Weight).saturating_mul(a as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) @@ -166,7 +166,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens Accounts (r:1 w:1) // Storage: Swaps SubsidyProviders (r:1 w:1) fn pool_join_subsidy() -> Weight { - (83_450_000 as Weight) + (82_550_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -175,7 +175,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: Tokens Accounts (r:3 w:3) fn pool_join_with_exact_asset_amount() -> Weight { - (131_670_000 as Weight) + (141_090_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -184,16 +184,16 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens TotalIssuance (r:1 w:1) // Storage: Tokens Accounts (r:3 w:3) fn pool_join_with_exact_pool_amount() -> Weight { - (141_880_000 as Weight) + (141_990_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: Swaps Pools (r:1 w:1) fn clean_up_pool_without_reward_distribution(a: u32) -> Weight { - (52_876_000 as Weight) - // Standard Error: 19_000 - .saturating_add((935_000 as Weight).saturating_mul(a as Weight)) + (50_097_000 as Weight) + // Standard Error: 15_000 + .saturating_add((760_000 as Weight).saturating_mul(a as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -202,7 +202,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens Accounts (r:4 w:4) // Storage: System Account (r:1 w:0) fn swap_exact_amount_in_cpmm() -> Weight { - (201_090_000 as Weight) + (178_390_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -214,9 +214,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: System Account (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn swap_exact_amount_in_rikiddo(a: u32) -> Weight { - (230_800_000 as Weight) - // Standard Error: 147_000 - .saturating_add((24_244_000 as Weight).saturating_mul(a as Weight)) + (203_560_000 as Weight) + // Standard Error: 113_000 + .saturating_add((25_912_000 as Weight).saturating_mul(a as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().writes(6 as Weight)) @@ -226,7 +226,7 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens Accounts (r:4 w:4) // Storage: System Account (r:1 w:0) fn swap_exact_amount_out_cpmm() -> Weight { - (180_910_000 as Weight) + (169_640_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -237,9 +237,9 @@ impl WeightInfoZeitgeist for WeightInfo { // Storage: Tokens Accounts (r:4 w:3) // Storage: Timestamp Now (r:1 w:0) fn swap_exact_amount_out_rikiddo(a: u32) -> Weight { - (131_194_000 as Weight) - // Standard Error: 128_000 - .saturating_add((45_185_000 as Weight).saturating_mul(a as Weight)) + (128_882_000 as Weight) + // Standard Error: 137_000 + .saturating_add((42_339_000 as Weight).saturating_mul(a as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().writes(6 as Weight))