From 51ddd00cd0308d7d2b9f6c762b5f2fc2a50703f5 Mon Sep 17 00:00:00 2001 From: gluwa-bot Date: Sun, 11 Aug 2024 20:05:20 +0000 Subject: [PATCH] Auto-update pallet weights --- pallets/creditcoin/src/weights.rs | 126 ++++++++++-------- .../offchain-task-scheduler/src/weights.rs | 12 +- pallets/rewards/src/weights.rs | 12 +- 3 files changed, 81 insertions(+), 69 deletions(-) diff --git a/pallets/creditcoin/src/weights.rs b/pallets/creditcoin/src/weights.rs index eb9c236dc3..95590afd27 100644 --- a/pallets/creditcoin/src/weights.rs +++ b/pallets/creditcoin/src/weights.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for `crate` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-09-20, STEPS: `8`, REPEAT: `8`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-08-11, STEPS: `8`, REPEAT: `8`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `github-runner-6246693080-attempt-1`, CPU: `AMD EPYC 7763 64-Core Processor` +//! HOSTNAME: `github-runner-10342269946-attempt-1`, CPU: `AMD EPYC 7452 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -35,8 +35,14 @@ use sp_std::marker::PhantomData; /// Weight functions for `crate`. pub struct WeightInfo(PhantomData); impl crate::WeightInfo for WeightInfo { - fn migration_v6(_t: u32) -> Weight { - T::DbWeight::get().reads_writes(1, 1) + /// The range of component `t` is `[0, 1]`. + fn migration_v6(_t: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 500_000 picoseconds. + Weight::from_parts(553_571, 0) + .saturating_add(Weight::from_parts(0, 0)) } /// Storage: unknown `0xd766358cca00233e6155d7c14e2c085f5e0621c4869aa60c02be9adcc98a0d1d` (r:1025 w:1024) /// Proof Skipped: unknown `0xd766358cca00233e6155d7c14e2c085f5e0621c4869aa60c02be9adcc98a0d1d` (r:1025 w:1024) @@ -47,16 +53,18 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `153 + t * (53 ±0)` // Estimated: `3600 + t * (2529 ±0)` - // Minimum execution time: 13_700_000 picoseconds. - Weight::from_parts(13_801_000, 0) + // Minimum execution time: 16_100_000 picoseconds. + Weight::from_parts(16_200_000, 0) .saturating_add(Weight::from_parts(0, 3600)) - // Standard Error: 112_297 - .saturating_add(Weight::from_parts(11_274_786, 0).saturating_mul(t.into())) + // Standard Error: 104_062 + .saturating_add(Weight::from_parts(13_085_775, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2529).saturating_mul(t.into())) } + /// Storage: Creditcoin CleanupState (r:1 w:1) + /// Proof: Creditcoin CleanupState (max_values: Some(1), max_size: Some(789), added: 1284, mode: MaxEncodedLen) /// Storage: Creditcoin AskOrders (r:255 w:255) /// Proof: Creditcoin AskOrders (max_values: None, max_size: Some(448), added: 2923, mode: MaxEncodedLen) /// Storage: Creditcoin BidOrders (r:255 w:255) @@ -68,28 +76,32 @@ impl crate::WeightInfo for WeightInfo { /// The range of component `o` is `[0, 255]`. /// The range of component `d` is `[0, 255]`. /// The range of component `f` is `[0, 255]`. - fn on_initialize(a: u32, b: u32, o: u32, _d: u32, _f: u32, ) -> Weight { + fn on_initialize(a: u32, b: u32, o: u32, d: u32, _f: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `201 + a * (69 ±0) + b * (69 ±0) + o * (69 ±0)` - // Estimated: `2970 + o * (2890 ±0) + b * (2923 ±0) + a * (2923 ±0)` - // Minimum execution time: 554_705_000 picoseconds. - Weight::from_parts(49_494_931, 0) - .saturating_add(Weight::from_parts(0, 2970)) - // Standard Error: 39_384 - .saturating_add(Weight::from_parts(1_144_961, 0).saturating_mul(a.into())) - // Standard Error: 39_384 - .saturating_add(Weight::from_parts(1_032_025, 0).saturating_mul(b.into())) - // Standard Error: 39_384 - .saturating_add(Weight::from_parts(1_054_240, 0).saturating_mul(o.into())) + // Estimated: `5244 + a * (2923 ±0) + b * (2923 ±0) + o * (2890 ±0)` + // Minimum execution time: 707_327_000 picoseconds. + Weight::from_parts(41_901_844, 0) + .saturating_add(Weight::from_parts(0, 5244)) + // Standard Error: 18_061 + .saturating_add(Weight::from_parts(1_354_252, 0).saturating_mul(a.into())) + // Standard Error: 18_061 + .saturating_add(Weight::from_parts(1_322_989, 0).saturating_mul(b.into())) + // Standard Error: 18_061 + .saturating_add(Weight::from_parts(1_393_470, 0).saturating_mul(o.into())) + // Standard Error: 18_061 + .saturating_add(Weight::from_parts(31_642, 0).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(o.into()))) + .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(o.into()))) - .saturating_add(Weight::from_parts(0, 2890).saturating_mul(o.into())) - .saturating_add(Weight::from_parts(0, 2923).saturating_mul(b.into())) .saturating_add(Weight::from_parts(0, 2923).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 2923).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 2890).saturating_mul(o.into())) } /// Storage: Creditcoin Addresses (r:1 w:1) /// Proof: Creditcoin Addresses (max_values: None, max_size: Some(597), added: 3072, mode: MaxEncodedLen) @@ -97,8 +109,8 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `4062` - // Minimum execution time: 83_101_000 picoseconds. - Weight::from_parts(91_300_000, 0) + // Minimum execution time: 95_704_000 picoseconds. + Weight::from_parts(100_204_000, 0) .saturating_add(Weight::from_parts(0, 4062)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -113,8 +125,8 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `288` // Estimated: `8607` - // Minimum execution time: 81_200_000 picoseconds. - Weight::from_parts(83_501_000, 0) + // Minimum execution time: 92_203_000 picoseconds. + Weight::from_parts(92_703_000, 0) .saturating_add(Weight::from_parts(0, 8607)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -129,8 +141,8 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `206` // Estimated: `11714` - // Minimum execution time: 42_001_000 picoseconds. - Weight::from_parts(46_401_000, 0) + // Minimum execution time: 49_002_000 picoseconds. + Weight::from_parts(50_202_000, 0) .saturating_add(Weight::from_parts(0, 11714)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -145,8 +157,8 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `206` // Estimated: `11714` - // Minimum execution time: 41_000_000 picoseconds. - Weight::from_parts(44_901_000, 0) + // Minimum execution time: 48_602_000 picoseconds. + Weight::from_parts(55_302_000, 0) .saturating_add(Weight::from_parts(0, 11714)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -161,8 +173,8 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `580` // Estimated: `11706` - // Minimum execution time: 40_401_000 picoseconds. - Weight::from_parts(42_100_000, 0) + // Minimum execution time: 47_202_000 picoseconds. + Weight::from_parts(48_202_000, 0) .saturating_add(Weight::from_parts(0, 11706)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -181,8 +193,8 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `854` // Estimated: `17288` - // Minimum execution time: 52_100_000 picoseconds. - Weight::from_parts(55_201_000, 0) + // Minimum execution time: 61_803_000 picoseconds. + Weight::from_parts(69_903_000, 0) .saturating_add(Weight::from_parts(0, 17288)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) @@ -193,8 +205,8 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3513` - // Minimum execution time: 13_401_000 picoseconds. - Weight::from_parts(14_100_000, 0) + // Minimum execution time: 14_701_000 picoseconds. + Weight::from_parts(14_901_000, 0) .saturating_add(Weight::from_parts(0, 3513)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -209,8 +221,8 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `290` // Estimated: `7965` - // Minimum execution time: 40_100_000 picoseconds. - Weight::from_parts(44_000_000, 0) + // Minimum execution time: 46_601_000 picoseconds. + Weight::from_parts(57_902_000, 0) .saturating_add(Weight::from_parts(0, 7965)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -225,8 +237,8 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `290` // Estimated: `7965` - // Minimum execution time: 30_300_000 picoseconds. - Weight::from_parts(31_000_000, 0) + // Minimum execution time: 44_202_000 picoseconds. + Weight::from_parts(45_702_000, 0) .saturating_add(Weight::from_parts(0, 7965)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -243,8 +255,8 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1039` // Estimated: `14096` - // Minimum execution time: 56_000_000 picoseconds. - Weight::from_parts(57_001_000, 0) + // Minimum execution time: 77_203_000 picoseconds. + Weight::from_parts(79_903_000, 0) .saturating_add(Weight::from_parts(0, 14096)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -255,8 +267,8 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `540` // Estimated: `4089` - // Minimum execution time: 29_900_000 picoseconds. - Weight::from_parts(30_601_000, 0) + // Minimum execution time: 34_302_000 picoseconds. + Weight::from_parts(41_401_000, 0) .saturating_add(Weight::from_parts(0, 4089)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -273,8 +285,8 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `684` // Estimated: `20652` - // Minimum execution time: 55_100_000 picoseconds. - Weight::from_parts(58_001_000, 0) + // Minimum execution time: 65_403_000 picoseconds. + Weight::from_parts(69_502_000, 0) .saturating_add(Weight::from_parts(0, 20652)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) @@ -291,8 +303,8 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `684` // Estimated: `20652` - // Minimum execution time: 55_001_000 picoseconds. - Weight::from_parts(57_201_000, 0) + // Minimum execution time: 64_002_000 picoseconds. + Weight::from_parts(64_602_000, 0) .saturating_add(Weight::from_parts(0, 20652)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(1)) @@ -309,8 +321,8 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1141` // Estimated: `14096` - // Minimum execution time: 57_100_000 picoseconds. - Weight::from_parts(58_600_000, 0) + // Minimum execution time: 67_302_000 picoseconds. + Weight::from_parts(69_003_000, 0) .saturating_add(Weight::from_parts(0, 14096)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -325,8 +337,8 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `699` // Estimated: `9644` - // Minimum execution time: 41_500_000 picoseconds. - Weight::from_parts(42_100_000, 0) + // Minimum execution time: 50_602_000 picoseconds. + Weight::from_parts(57_302_000, 0) .saturating_add(Weight::from_parts(0, 9644)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -347,8 +359,8 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `413` // Estimated: `24422` - // Minimum execution time: 144_201_000 picoseconds. - Weight::from_parts(159_101_000, 0) + // Minimum execution time: 170_807_000 picoseconds. + Weight::from_parts(181_307_000, 0) .saturating_add(Weight::from_parts(0, 24422)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) @@ -359,8 +371,8 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `150` // Estimated: `3513` - // Minimum execution time: 16_300_000 picoseconds. - Weight::from_parts(18_100_000, 0) + // Minimum execution time: 19_201_000 picoseconds. + Weight::from_parts(19_801_000, 0) .saturating_add(Weight::from_parts(0, 3513)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -371,8 +383,8 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `4062` - // Minimum execution time: 83_601_000 picoseconds. - Weight::from_parts(91_900_000, 0) + // Minimum execution time: 96_304_000 picoseconds. + Weight::from_parts(99_004_000, 0) .saturating_add(Weight::from_parts(0, 4062)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/pallets/offchain-task-scheduler/src/weights.rs b/pallets/offchain-task-scheduler/src/weights.rs index 589f21b4e1..e96f2def19 100644 --- a/pallets/offchain-task-scheduler/src/weights.rs +++ b/pallets/offchain-task-scheduler/src/weights.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for `crate` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-09-20, STEPS: `50`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `github-runner-6246693080-attempt-1`, CPU: `AMD EPYC 7763 64-Core Processor` +//! HOSTNAME: `github-runner-10342269946-attempt-1`, CPU: `AMD EPYC 7452 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -42,11 +42,11 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `136 + t * (69 ±0)` // Estimated: `990 + t * (3987 ±0)` - // Minimum execution time: 5_300_000 picoseconds. - Weight::from_parts(5_500_000, 0) + // Minimum execution time: 5_800_000 picoseconds. + Weight::from_parts(5_901_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 1_447 - .saturating_add(Weight::from_parts(1_104_718, 0).saturating_mul(t.into())) + // Standard Error: 713 + .saturating_add(Weight::from_parts(1_331_368, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 3987).saturating_mul(t.into())) diff --git a/pallets/rewards/src/weights.rs b/pallets/rewards/src/weights.rs index f95d4d3968..ffc35bae15 100644 --- a/pallets/rewards/src/weights.rs +++ b/pallets/rewards/src/weights.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for `crate` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-09-20, STEPS: `50`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-08-11, STEPS: `50`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `github-runner-6246693080-attempt-1`, CPU: `AMD EPYC 7763 64-Core Processor` +//! HOSTNAME: `github-runner-10342269946-attempt-1`, CPU: `AMD EPYC 7452 32-Core Processor` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -41,8 +41,8 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `165` // Estimated: `1517` - // Minimum execution time: 6_100_000 picoseconds. - Weight::from_parts(6_600_000, 0) + // Minimum execution time: 6_700_000 picoseconds. + Weight::from_parts(7_000_000, 0) .saturating_add(Weight::from_parts(0, 1517)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -52,8 +52,8 @@ impl crate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `165` // Estimated: `1517` - // Minimum execution time: 5_800_000 picoseconds. - Weight::from_parts(6_300_000, 0) + // Minimum execution time: 6_801_000 picoseconds. + Weight::from_parts(7_001_000, 0) .saturating_add(Weight::from_parts(0, 1517)) .saturating_add(T::DbWeight::get().reads(1)) }