Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto merge auto-update-weights-for-dev-1d592e0feda1746efaf3c30f7b3d253171dd01f2 to dev #1679

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
126 changes: 69 additions & 57 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-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:
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: 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)
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_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)
Expand All @@ -68,37 +76,41 @@ impl<T: frame_system::Config> crate::WeightInfo for WeightInfo<T> {
/// 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)
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: 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))
Expand All @@ -113,8 +125,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: 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))
Expand All @@ -129,8 +141,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: 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))
Expand All @@ -145,8 +157,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: 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))
Expand All @@ -161,8 +173,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: 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))
Expand All @@ -181,8 +193,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: 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))
Expand All @@ -193,8 +205,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_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))
Expand All @@ -209,8 +221,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: 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))
Expand All @@ -225,8 +237,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: 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))
Expand All @@ -243,8 +255,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: 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))
Expand All @@ -255,8 +267,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: 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))
Expand All @@ -273,8 +285,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_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))
Expand All @@ -291,8 +303,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: 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))
Expand All @@ -309,8 +321,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_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))
Expand All @@ -325,8 +337,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: 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))
Expand All @@ -347,8 +359,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: 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))
Expand All @@ -359,8 +371,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_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))
Expand All @@ -371,8 +383,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: 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))
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-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:
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_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()))
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-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:
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: 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))
}
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: 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))
}
Expand Down
Loading