Skip to content

Commit

Permalink
runtimes: update pallet weights
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 3, 2024
1 parent d4862e7 commit adc2c68
Show file tree
Hide file tree
Showing 13 changed files with 134 additions and 124 deletions.
10 changes: 7 additions & 3 deletions runtimes/mainnet/src/weights/dmail.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,16 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_dmail::WeightInfo for WeightInfo<T> {
/// The range of component `a` is `[1, 1000]`.
/// The range of component `b` is `[1, 1000]`.
fn send_email(_a: u32, _b: u32, ) -> Weight {
fn send_email(a: u32, b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_996_000 picoseconds.
Weight::from_parts(19_364_673, 0)
// Minimum execution time: 8_637_000 picoseconds.
Weight::from_parts(9_341_654, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 108
.saturating_add(Weight::from_parts(377, 0).saturating_mul(a.into()))
// Standard Error: 108
.saturating_add(Weight::from_parts(624, 0).saturating_mul(b.into()))
}
}
4 changes: 2 additions & 2 deletions runtimes/mainnet/src/weights/elections.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ impl<T: frame_system::Config> pallet_elections::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `123`
// Estimated: `3588`
// Minimum execution time: 14_027_000 picoseconds.
Weight::from_parts(27_572_000, 0)
// Minimum execution time: 12_352_000 picoseconds.
Weight::from_parts(13_777_000, 0)
.saturating_add(Weight::from_parts(0, 3588))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
Expand Down
12 changes: 6 additions & 6 deletions runtimes/mainnet/src/weights/members.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ impl<T: frame_system::Config> pallet_members::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `487`
// Estimated: `3952`
// Minimum execution time: 75_590_000 picoseconds.
Weight::from_parts(110_046_000, 0)
// Minimum execution time: 69_100_000 picoseconds.
Weight::from_parts(70_923_000, 0)
.saturating_add(Weight::from_parts(0, 3952))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(8))
Expand All @@ -73,8 +73,8 @@ impl<T: frame_system::Config> pallet_members::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `293`
// Estimated: `3758`
// Minimum execution time: 23_043_000 picoseconds.
Weight::from_parts(23_884_000, 0)
// Minimum execution time: 22_483_000 picoseconds.
Weight::from_parts(23_374_000, 0)
.saturating_add(Weight::from_parts(0, 3758))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -101,8 +101,8 @@ impl<T: frame_system::Config> pallet_members::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `587`
// Estimated: `4052`
// Minimum execution time: 63_037_000 picoseconds.
Weight::from_parts(65_883_000, 0)
// Minimum execution time: 60_412_000 picoseconds.
Weight::from_parts(62_818_000, 0)
.saturating_add(Weight::from_parts(0, 4052))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(8))
Expand Down
8 changes: 4 additions & 4 deletions runtimes/mainnet/src/weights/networks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ impl<T: frame_system::Config> pallet_networks::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `359`
// Estimated: `21149`
// Minimum execution time: 48_451_000 picoseconds.
Weight::from_parts(64_873_477, 0)
// Minimum execution time: 49_693_000 picoseconds.
Weight::from_parts(73_051_632, 0)
.saturating_add(Weight::from_parts(0, 21149))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(2))
Expand All @@ -55,8 +55,8 @@ impl<T: frame_system::Config> pallet_networks::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `332`
// Estimated: `3797`
// Minimum execution time: 19_156_000 picoseconds.
Weight::from_parts(20_910_000, 0)
// Minimum execution time: 19_997_000 picoseconds.
Weight::from_parts(21_209_000, 0)
.saturating_add(Weight::from_parts(0, 3797))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand Down
16 changes: 8 additions & 8 deletions runtimes/mainnet/src/weights/shards.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ impl<T: frame_system::Config> pallet_shards::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `828`
// Estimated: `11718`
// Minimum execution time: 536_594_000 picoseconds.
Weight::from_parts(547_524_000, 0)
// Minimum execution time: 533_918_000 picoseconds.
Weight::from_parts(554_857_000, 0)
.saturating_add(Weight::from_parts(0, 11718))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(3))
Expand All @@ -69,8 +69,8 @@ impl<T: frame_system::Config> pallet_shards::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `628`
// Estimated: `11518`
// Minimum execution time: 66_956_000 picoseconds.
Weight::from_parts(73_999_000, 0)
// Minimum execution time: 67_045_000 picoseconds.
Weight::from_parts(71_713_000, 0)
.saturating_add(Weight::from_parts(0, 11518))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(3))
Expand Down Expand Up @@ -101,8 +101,8 @@ impl<T: frame_system::Config> pallet_shards::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `583`
// Estimated: `11473`
// Minimum execution time: 90_379_000 picoseconds.
Weight::from_parts(95_859_000, 0)
// Minimum execution time: 86_322_000 picoseconds.
Weight::from_parts(89_817_000, 0)
.saturating_add(Weight::from_parts(0, 11473))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(13))
Expand All @@ -113,8 +113,8 @@ impl<T: frame_system::Config> pallet_shards::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `3541`
// Minimum execution time: 4_539_000 picoseconds.
Weight::from_parts(4_970_000, 0)
// Minimum execution time: 4_277_000 picoseconds.
Weight::from_parts(4_569_000, 0)
.saturating_add(Weight::from_parts(0, 3541))
.saturating_add(T::DbWeight::get().reads(1))
}
Expand Down
70 changes: 36 additions & 34 deletions runtimes/mainnet/src/weights/tasks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,15 @@ impl<T: frame_system::Config> pallet_tasks::WeightInfo for WeightInfo<T> {
/// Storage: `Tasks::UATaskIndex` (r:0 w:1)
/// Proof: `Tasks::UATaskIndex` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `b` is `[1, 10000]`.
fn create_task(_b: u32, ) -> Weight {
fn create_task(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `666`
// Estimated: `11556`
// Minimum execution time: 140_313_000 picoseconds.
Weight::from_parts(186_242_578, 0)
// Minimum execution time: 135_795_000 picoseconds.
Weight::from_parts(153_943_060, 0)
.saturating_add(Weight::from_parts(0, 11556))
// Standard Error: 256
.saturating_add(Weight::from_parts(1_110, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(14))
.saturating_add(T::DbWeight::get().writes(8))
}
Expand Down Expand Up @@ -100,8 +102,8 @@ impl<T: frame_system::Config> pallet_tasks::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `1710`
// Estimated: `12600`
// Minimum execution time: 639_896_000 picoseconds.
Weight::from_parts(713_154_000, 0)
// Minimum execution time: 657_419_000 picoseconds.
Weight::from_parts(763_247_000, 0)
.saturating_add(Weight::from_parts(0, 12600))
.saturating_add(T::DbWeight::get().reads(17))
.saturating_add(T::DbWeight::get().writes(9))
Expand All @@ -126,7 +128,7 @@ impl<T: frame_system::Config> pallet_tasks::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `628`
// Estimated: `4093`
// Minimum execution time: 49_362_000 picoseconds.
// Minimum execution time: 49_964_000 picoseconds.
Weight::from_parts(53_721_000, 0)
.saturating_add(Weight::from_parts(0, 4093))
.saturating_add(T::DbWeight::get().reads(6))
Expand Down Expand Up @@ -160,8 +162,8 @@ impl<T: frame_system::Config> pallet_tasks::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `1993`
// Estimated: `20308`
// Minimum execution time: 660_095_000 picoseconds.
Weight::from_parts(766_392_000, 0)
// Minimum execution time: 497_289_000 picoseconds.
Weight::from_parts(534_910_000, 0)
.saturating_add(Weight::from_parts(0, 20308))
.saturating_add(T::DbWeight::get().reads(16))
.saturating_add(T::DbWeight::get().writes(5))
Expand Down Expand Up @@ -216,8 +218,8 @@ impl<T: frame_system::Config> pallet_tasks::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `716`
// Estimated: `6656`
// Minimum execution time: 132_928_000 picoseconds.
Weight::from_parts(218_379_000, 0)
// Minimum execution time: 131_857_000 picoseconds.
Weight::from_parts(138_249_000, 0)
.saturating_add(Weight::from_parts(0, 6656))
.saturating_add(T::DbWeight::get().reads(19))
.saturating_add(T::DbWeight::get().writes(11))
Expand All @@ -228,8 +230,8 @@ impl<T: frame_system::Config> pallet_tasks::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 9_907_000 picoseconds.
Weight::from_parts(10_811_000, 0)
// Minimum execution time: 9_497_000 picoseconds.
Weight::from_parts(10_089_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -239,8 +241,8 @@ impl<T: frame_system::Config> pallet_tasks::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 11_471_000 picoseconds.
Weight::from_parts(17_623_000, 0)
// Minimum execution time: 9_467_000 picoseconds.
Weight::from_parts(12_574_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -250,8 +252,8 @@ impl<T: frame_system::Config> pallet_tasks::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 10_048_000 picoseconds.
Weight::from_parts(11_953_000, 0)
// Minimum execution time: 9_698_000 picoseconds.
Weight::from_parts(11_191_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand Down Expand Up @@ -281,8 +283,8 @@ impl<T: frame_system::Config> pallet_tasks::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `564`
// Estimated: `4029`
// Minimum execution time: 60_302_000 picoseconds.
Weight::from_parts(91_280_000, 0)
// Minimum execution time: 53_570_000 picoseconds.
Weight::from_parts(55_224_000, 0)
.saturating_add(Weight::from_parts(0, 4029))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(8))
Expand Down Expand Up @@ -320,11 +322,11 @@ impl<T: frame_system::Config> pallet_tasks::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `724 + b * (247 ±0)`
// Estimated: `4197 + b * (2718 ±0)`
// Minimum execution time: 79_018_000 picoseconds.
Weight::from_parts(77_142_144, 0)
// Minimum execution time: 76_464_000 picoseconds.
Weight::from_parts(31_862_535, 0)
.saturating_add(Weight::from_parts(0, 4197))
// Standard Error: 1_066_154
.saturating_add(Weight::from_parts(55_647_563, 0).saturating_mul(b.into()))
// Standard Error: 756_303
.saturating_add(Weight::from_parts(49_065_055, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes((8_u64).saturating_mul(b.into())))
Expand Down Expand Up @@ -353,11 +355,11 @@ impl<T: frame_system::Config> pallet_tasks::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `497 + b * (212 ±0)`
// Estimated: `3972 + b * (2683 ±0)`
// Minimum execution time: 63_808_000 picoseconds.
Weight::from_parts(36_075_323, 0)
// Minimum execution time: 62_767_000 picoseconds.
Weight::from_parts(48_252_392, 0)
.saturating_add(Weight::from_parts(0, 3972))
// Standard Error: 172_037
.saturating_add(Weight::from_parts(36_910_990, 0).saturating_mul(b.into()))
// Standard Error: 338_987
.saturating_add(Weight::from_parts(35_320_321, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -370,8 +372,8 @@ impl<T: frame_system::Config> pallet_tasks::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 9_849_000 picoseconds.
Weight::from_parts(10_780_000, 0)
// Minimum execution time: 9_408_000 picoseconds.
Weight::from_parts(10_309_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -396,11 +398,11 @@ impl<T: frame_system::Config> pallet_tasks::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0 + b * (569 ±0)`
// Estimated: `6444 + b * (12303 ±4)`
// Minimum execution time: 45_124_000 picoseconds.
Weight::from_parts(47_048_000, 0)
// Minimum execution time: 44_764_000 picoseconds.
Weight::from_parts(46_106_000, 0)
.saturating_add(Weight::from_parts(0, 6444))
// Standard Error: 435_321
.saturating_add(Weight::from_parts(45_494_015, 0).saturating_mul(b.into()))
// Standard Error: 403_943
.saturating_add(Weight::from_parts(45_159_689, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().reads((10_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(3))
Expand All @@ -414,8 +416,8 @@ impl<T: frame_system::Config> pallet_tasks::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 12_012_000 picoseconds.
Weight::from_parts(14_066_000, 0)
// Minimum execution time: 12_103_000 picoseconds.
Weight::from_parts(14_137_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(2))
}
Expand Down
12 changes: 7 additions & 5 deletions runtimes/testnet/src/weights/dmail.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,16 @@ impl<T: frame_system::Config> pallet_dmail::WeightInfo for WeightInfo<T> {
/// The range of component `b` is `[1, 1000]`.
/// The range of component `a` is `[1, 1000]`.
/// The range of component `b` is `[1, 1000]`.
fn send_email(_a: u32, b: u32, ) -> Weight {
fn send_email(a: u32, b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_505_000 picoseconds.
Weight::from_parts(11_706_911, 0)
// Minimum execution time: 8_705_000 picoseconds.
Weight::from_parts(10_202_639, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 131
.saturating_add(Weight::from_parts(191, 0).saturating_mul(b.into()))
// Standard Error: 92
.saturating_add(Weight::from_parts(1_647, 0).saturating_mul(a.into()))
// Standard Error: 92
.saturating_add(Weight::from_parts(1_026, 0).saturating_mul(b.into()))
}
}
4 changes: 2 additions & 2 deletions runtimes/testnet/src/weights/elections.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ impl<T: frame_system::Config> pallet_elections::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `123`
// Estimated: `3588`
// Minimum execution time: 12_553_000 picoseconds.
Weight::from_parts(13_556_000, 0)
// Minimum execution time: 12_885_000 picoseconds.
Weight::from_parts(26_370_000, 0)
.saturating_add(Weight::from_parts(0, 3588))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
Expand Down
12 changes: 6 additions & 6 deletions runtimes/testnet/src/weights/members.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ impl<T: frame_system::Config> pallet_members::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `381`
// Estimated: `3846`
// Minimum execution time: 65_161_000 picoseconds.
Weight::from_parts(67_587_000, 0)
// Minimum execution time: 69_490_000 picoseconds.
Weight::from_parts(93_706_000, 0)
.saturating_add(Weight::from_parts(0, 3846))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(8))
Expand All @@ -73,8 +73,8 @@ impl<T: frame_system::Config> pallet_members::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `293`
// Estimated: `3758`
// Minimum execution time: 23_213_000 picoseconds.
Weight::from_parts(24_175_000, 0)
// Minimum execution time: 23_403_000 picoseconds.
Weight::from_parts(25_198_000, 0)
.saturating_add(Weight::from_parts(0, 3758))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -101,8 +101,8 @@ impl<T: frame_system::Config> pallet_members::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `517`
// Estimated: `3982`
// Minimum execution time: 60_033_000 picoseconds.
Weight::from_parts(61_886_000, 0)
// Minimum execution time: 60_844_000 picoseconds.
Weight::from_parts(63_779_000, 0)
.saturating_add(Weight::from_parts(0, 3982))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(8))
Expand Down
Loading

0 comments on commit adc2c68

Please sign in to comment.