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 b613687 commit 3679419
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 68 deletions.
126 changes: 70 additions & 56 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-10355058378-attempt-2`, 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,16 @@ 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(500_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 8_451
.saturating_add(Weight::from_parts(25_000, 0).saturating_mul(t.into()))
}
/// Storage: unknown `0xd766358cca00233e6155d7c14e2c085f5e0621c4869aa60c02be9adcc98a0d1d` (r:1025 w:1024)
/// Proof Skipped: unknown `0xd766358cca00233e6155d7c14e2c085f5e0621c4869aa60c02be9adcc98a0d1d` (r:1025 w:1024)
Expand All @@ -47,16 +55,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_301_000 picoseconds.
Weight::from_parts(16_500_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: 97_640
.saturating_add(Weight::from_parts(12_820_930, 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 +78,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) + o * (2890 ±0) + b * (2923 ±0)`
// Minimum execution time: 685_925_000 picoseconds.
Weight::from_parts(10_211_697, 0)
.saturating_add(Weight::from_parts(0, 5244))
// Standard Error: 11_276
.saturating_add(Weight::from_parts(1_358_203, 0).saturating_mul(a.into()))
// Standard Error: 11_276
.saturating_add(Weight::from_parts(1_379_319, 0).saturating_mul(b.into()))
// Standard Error: 11_276
.saturating_add(Weight::from_parts(1_370_266, 0).saturating_mul(o.into()))
// Standard Error: 11_276
.saturating_add(Weight::from_parts(21_424, 0).saturating_mul(f.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, 2923).saturating_mul(a.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()))
}
/// 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_104_000 picoseconds.
Weight::from_parts(98_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 All @@ -113,8 +127,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: 91_604_000 picoseconds.
Weight::from_parts(93_004_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 +143,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: 48_102_000 picoseconds.
Weight::from_parts(49_702_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 +159,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_401_000 picoseconds.
Weight::from_parts(49_602_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 +175,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: 46_801_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 +195,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: 60_902_000 picoseconds.
Weight::from_parts(61_802_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 +207,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(15_301_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 +223,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_102_000 picoseconds.
Weight::from_parts(46_502_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 +239,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: 33_801_000 picoseconds.
Weight::from_parts(34_601_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 +257,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: 65_003_000 picoseconds.
Weight::from_parts(66_002_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 +269,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_301_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 +287,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: 64_302_000 picoseconds.
Weight::from_parts(66_003_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 +305,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_603_000 picoseconds.
Weight::from_parts(65_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 +323,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_102_000 picoseconds.
Weight::from_parts(68_103_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 +339,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: 47_301_000 picoseconds.
Weight::from_parts(48_102_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 +361,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: 167_006_000 picoseconds.
Weight::from_parts(170_506_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 +373,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_300_000 picoseconds.
Weight::from_parts(20_000_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 +385,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: 94_604_000 picoseconds.
Weight::from_parts(99_003_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-10355058378-attempt-2`, 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_900_000 picoseconds.
Weight::from_parts(6_100_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: 819
.saturating_add(Weight::from_parts(1_303_772, 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-10355058378-attempt-2`, 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_200_000 picoseconds.
Weight::from_parts(7_500_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 3679419

Please sign in to comment.