From 1ea57ce1cfaae05ffb43406b87f774bedf2b09a0 Mon Sep 17 00:00:00 2001 From: gluwa-bot Date: Mon, 12 Aug 2024 09:27:42 +0000 Subject: [PATCH] Auto-update pallet weights --- pallets/creditcoin/src/weights.rs | 120 ++++++++++-------- .../offchain-task-scheduler/src/weights.rs | 12 +- pallets/rewards/src/weights.rs | 12 +- 3 files changed, 77 insertions(+), 67 deletions(-) diff --git a/pallets/creditcoin/src/weights.rs b/pallets/creditcoin/src/weights.rs index eb9c236dc3..b3e337f41a 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-12, 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-10349112415-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: 400_000 picoseconds. + Weight::from_parts(503_642, 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_501_000 picoseconds. + Weight::from_parts(16_501_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: 125_361 + .saturating_add(Weight::from_parts(14_196_182, 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) @@ -71,25 +79,27 @@ impl crate::WeightInfo for WeightInfo { 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 + b * (2923 ±0) + a * (2923 ±0) + o * (2890 ±0)` + // Minimum execution time: 725_454_000 picoseconds. + Weight::from_parts(42_583_084, 0) + .saturating_add(Weight::from_parts(0, 5244)) + // Standard Error: 38_226 + .saturating_add(Weight::from_parts(1_354_794, 0).saturating_mul(a.into())) + // Standard Error: 38_226 + .saturating_add(Weight::from_parts(1_591_391, 0).saturating_mul(b.into())) + // Standard Error: 38_226 + .saturating_add(Weight::from_parts(1_468_755, 0).saturating_mul(o.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, 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 +107,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: 97_706_000 picoseconds. + Weight::from_parts(102_007_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 +123,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: 93_506_000 picoseconds. + Weight::from_parts(94_406_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 +139,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: 50_904_000 picoseconds. + Weight::from_parts(56_004_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 +155,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: 51_504_000 picoseconds. + Weight::from_parts(52_804_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 +171,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: 49_804_000 picoseconds. + Weight::from_parts(53_504_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 +191,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: 63_104_000 picoseconds. + Weight::from_parts(65_005_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 +203,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_001_000 picoseconds. + Weight::from_parts(15_001_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 +219,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: 48_003_000 picoseconds. + Weight::from_parts(48_503_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 +235,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: 34_502_000 picoseconds. + Weight::from_parts(38_002_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 +253,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: 67_905_000 picoseconds. + Weight::from_parts(70_205_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 +265,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: 31_602_000 picoseconds. + Weight::from_parts(32_102_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 +283,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_805_000 picoseconds. + Weight::from_parts(69_905_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 +301,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: 63_205_000 picoseconds. + Weight::from_parts(66_004_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 +319,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_905_000 picoseconds. + Weight::from_parts(70_404_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 +335,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: 48_703_000 picoseconds. + Weight::from_parts(49_903_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 +357,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: 173_612_000 picoseconds. + Weight::from_parts(186_113_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 +369,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_602_000 picoseconds. + Weight::from_parts(19_902_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 +381,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: 99_207_000 picoseconds. + Weight::from_parts(103_907_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..143d44a593 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-12, 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-10349112415-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_900_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: 1_915 + .saturating_add(Weight::from_parts(1_465_847, 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..daa1130b0e 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-12, 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-10349112415-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: 7_000_000 picoseconds. + Weight::from_parts(7_200_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: 7_000_000 picoseconds. + Weight::from_parts(7_300_000, 0) .saturating_add(Weight::from_parts(0, 1517)) .saturating_add(T::DbWeight::get().reads(1)) }