Skip to content

Commit

Permalink
Auto-update pallet weights
Browse files Browse the repository at this point in the history
  • Loading branch information
gluwa-bot committed Aug 12, 2024
1 parent 1fd01a6 commit 1ea57ce
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 67 deletions.
120 changes: 65 additions & 55 deletions pallets/creditcoin/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -35,8 +35,14 @@ use sp_std::marker::PhantomData;
/// Weight functions for `crate`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
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)
Expand All @@ -47,16 +53,18 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// 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)
Expand All @@ -71,34 +79,36 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
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)
fn register_address() -> Weight {
// 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))
Expand All @@ -113,8 +123,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// 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))
Expand All @@ -129,8 +139,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// 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))
Expand All @@ -145,8 +155,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// 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))
Expand All @@ -161,8 +171,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// 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))
Expand All @@ -181,8 +191,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// 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))
Expand All @@ -193,8 +203,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// 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))
Expand All @@ -209,8 +219,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// 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))
Expand All @@ -225,8 +235,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// 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))
Expand All @@ -243,8 +253,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// 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))
Expand All @@ -255,8 +265,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// 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))
Expand All @@ -273,8 +283,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// 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))
Expand All @@ -291,8 +301,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// 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))
Expand All @@ -309,8 +319,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// 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))
Expand All @@ -325,8 +335,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// 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))
Expand All @@ -347,8 +357,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// 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))
Expand All @@ -359,8 +369,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// 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))
Expand All @@ -371,8 +381,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// 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))
Expand Down
12 changes: 6 additions & 6 deletions pallets/offchain-task-scheduler/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -42,11 +42,11 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// 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()))
Expand Down
12 changes: 6 additions & 6 deletions pallets/rewards/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -41,8 +41,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// 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))
}
Expand All @@ -52,8 +52,8 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
// 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))
}
Expand Down

0 comments on commit 1ea57ce

Please sign in to comment.