diff --git a/runtime/hydradx/src/weights/pallet_dca.rs b/runtime/hydradx/src/weights/pallet_dca.rs index 27dbb0dc0..c10a93f7d 100644 --- a/runtime/hydradx/src/weights/pallet_dca.rs +++ b/runtime/hydradx/src/weights/pallet_dca.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_dca` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-01-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-01-13, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -75,14 +75,16 @@ impl pallet_dca::WeightInfo for HydraWeight { /// Proof: `Broadcast::OverflowCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `DCA::RetriesOnError` (r:0 w:1) /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleExecutionBlock` (r:0 w:1) + /// Proof: `DCA::ScheduleExecutionBlock` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) fn on_initialize_with_buy_trade() -> Weight { // Proof Size summary in bytes: - // Measured: `54994` + // Measured: `54961` // Estimated: `31902` - // Minimum execution time: 221_533_000 picoseconds. - Weight::from_parts(225_800_000, 31902) + // Minimum execution time: 223_251_000 picoseconds. + Weight::from_parts(226_990_000, 31902) .saturating_add(T::DbWeight::get().reads(20_u64)) - .saturating_add(T::DbWeight::get().writes(9_u64)) + .saturating_add(T::DbWeight::get().writes(10_u64)) } /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) @@ -126,14 +128,16 @@ impl pallet_dca::WeightInfo for HydraWeight { /// Proof: `Broadcast::OverflowCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `DCA::RetriesOnError` (r:0 w:1) /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleExecutionBlock` (r:0 w:1) + /// Proof: `DCA::ScheduleExecutionBlock` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) fn on_initialize_with_buy_trade_with_insufficient_fee_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `61068` + // Measured: `61036` // Estimated: `31902` - // Minimum execution time: 390_717_000 picoseconds. - Weight::from_parts(394_718_000, 31902) + // Minimum execution time: 389_247_000 picoseconds. + Weight::from_parts(393_383_000, 31902) .saturating_add(T::DbWeight::get().reads(40_u64)) - .saturating_add(T::DbWeight::get().writes(12_u64)) + .saturating_add(T::DbWeight::get().writes(13_u64)) } /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) @@ -153,14 +157,16 @@ impl pallet_dca::WeightInfo for HydraWeight { /// Proof: `Broadcast::OverflowCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `DCA::RetriesOnError` (r:0 w:1) /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleExecutionBlock` (r:0 w:1) + /// Proof: `DCA::ScheduleExecutionBlock` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) fn on_initialize_with_sell_trade() -> Weight { // Proof Size summary in bytes: - // Measured: `54782` + // Measured: `54749` // Estimated: `31902` - // Minimum execution time: 225_387_000 picoseconds. - Weight::from_parts(229_273_000, 31902) + // Minimum execution time: 224_459_000 picoseconds. + Weight::from_parts(231_067_000, 31902) .saturating_add(T::DbWeight::get().reads(20_u64)) - .saturating_add(T::DbWeight::get().writes(9_u64)) + .saturating_add(T::DbWeight::get().writes(10_u64)) } /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) @@ -204,14 +210,16 @@ impl pallet_dca::WeightInfo for HydraWeight { /// Proof: `Broadcast::OverflowCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `DCA::RetriesOnError` (r:0 w:1) /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleExecutionBlock` (r:0 w:1) + /// Proof: `DCA::ScheduleExecutionBlock` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) fn on_initialize_with_sell_trade_with_insufficient_fee_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `61944` + // Measured: `61912` // Estimated: `31902` - // Minimum execution time: 388_951_000 picoseconds. - Weight::from_parts(395_681_000, 31902) + // Minimum execution time: 389_528_000 picoseconds. + Weight::from_parts(394_784_000, 31902) .saturating_add(T::DbWeight::get().reads(40_u64)) - .saturating_add(T::DbWeight::get().writes(12_u64)) + .saturating_add(T::DbWeight::get().writes(13_u64)) } /// Storage: `DCA::ScheduleIdsPerBlock` (r:1 w:0) /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) @@ -219,8 +227,8 @@ impl pallet_dca::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1113` // Estimated: `3566` - // Minimum execution time: 14_913_000 picoseconds. - Weight::from_parts(15_284_000, 3566) + // Minimum execution time: 15_221_000 picoseconds. + Weight::from_parts(15_513_000, 3566) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:2 w:0) @@ -247,16 +255,18 @@ impl pallet_dca::WeightInfo for HydraWeight { /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) /// Storage: `DCA::ScheduleOwnership` (r:0 w:1) /// Proof: `DCA::ScheduleOwnership` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleExecutionBlock` (r:0 w:1) + /// Proof: `DCA::ScheduleExecutionBlock` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) /// Storage: `DCA::RemainingAmounts` (r:0 w:1) /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) fn schedule() -> Weight { // Proof Size summary in bytes: - // Measured: `53335` + // Measured: `53368` // Estimated: `29326` - // Minimum execution time: 198_317_000 picoseconds. - Weight::from_parts(200_375_000, 29326) + // Minimum execution time: 197_976_000 picoseconds. + Weight::from_parts(201_142_000, 29326) .saturating_add(T::DbWeight::get().reads(23_u64)) - .saturating_add(T::DbWeight::get().writes(8_u64)) + .saturating_add(T::DbWeight::get().writes(9_u64)) } /// Storage: `DCA::Schedules` (r:1 w:1) /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) @@ -266,6 +276,8 @@ impl pallet_dca::WeightInfo for HydraWeight { /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `DCA::ScheduleExecutionBlock` (r:1 w:1) + /// Proof: `DCA::ScheduleExecutionBlock` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) /// Storage: `DCA::ScheduleIdsPerBlock` (r:1 w:1) /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) /// Storage: `DCA::RetriesOnError` (r:0 w:1) @@ -274,11 +286,11 @@ impl pallet_dca::WeightInfo for HydraWeight { /// Proof: `DCA::ScheduleOwnership` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn terminate() -> Weight { // Proof Size summary in bytes: - // Measured: `2530` + // Measured: `2575` // Estimated: `4714` - // Minimum execution time: 72_071_000 picoseconds. - Weight::from_parts(73_000_000, 4714) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(7_u64)) + // Minimum execution time: 77_105_000 picoseconds. + Weight::from_parts(78_361_000, 4714) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } } \ No newline at end of file