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] authored and haider-rs committed Oct 2, 2024
1 parent 6edb458 commit 5e3514c
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 52 deletions.
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: 13_335_000 picoseconds.
Weight::from_parts(15_559_000, 0)
// Minimum execution time: 15_699_000 picoseconds.
Weight::from_parts(18_033_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: 69_720_000 picoseconds.
Weight::from_parts(74_759_000, 0)
// Minimum execution time: 69_220_000 picoseconds.
Weight::from_parts(76_905_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_143_000 picoseconds.
Weight::from_parts(25_248_000, 0)
// Minimum execution time: 25_236_000 picoseconds.
Weight::from_parts(34_414_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_889_000 picoseconds.
Weight::from_parts(106_759_000, 0)
// Minimum execution time: 64_831_000 picoseconds.
Weight::from_parts(86_282_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
14 changes: 5 additions & 9 deletions runtimes/mainnet/src/weights/networks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,13 @@ impl<T: frame_system::Config> pallet_networks::WeightInfo for WeightInfo<T> {
/// Proof: `Networks::NetworkIdCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// The range of component `a` is `[1, 1000]`.
/// The range of component `b` is `[1, 1000]`.
fn add_network(a: u32, b: u32, ) -> Weight {
fn add_network(_a: u32, _b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `359`
// Estimated: `21149`
// Minimum execution time: 48_802_000 picoseconds.
Weight::from_parts(53_230_292, 0)
// Minimum execution time: 51_347_000 picoseconds.
Weight::from_parts(66_770_489, 0)
.saturating_add(Weight::from_parts(0, 21149))
// Standard Error: 1_120
.saturating_add(Weight::from_parts(6_231, 0).saturating_mul(a.into()))
// Standard Error: 1_120
.saturating_add(Weight::from_parts(476, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(2))
}
Expand All @@ -59,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_757_000 picoseconds.
Weight::from_parts(21_851_000, 0)
// Minimum execution time: 22_642_000 picoseconds.
Weight::from_parts(26_670_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: 522_287_000 picoseconds.
Weight::from_parts(567_933_000, 0)
// Minimum execution time: 532_365_000 picoseconds.
Weight::from_parts(569_916_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: 65_493_000 picoseconds.
Weight::from_parts(69_860_000, 0)
// Minimum execution time: 65_472_000 picoseconds.
Weight::from_parts(84_618_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: 86_681_000 picoseconds.
Weight::from_parts(130_443_000, 0)
// Minimum execution time: 92_102_000 picoseconds.
Weight::from_parts(120_567_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_479_000 picoseconds.
Weight::from_parts(8_487_000, 0)
// Minimum execution time: 4_298_000 picoseconds.
Weight::from_parts(4_839_000, 0)
.saturating_add(Weight::from_parts(0, 3541))
.saturating_add(T::DbWeight::get().reads(1))
}
Expand Down
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_804_000 picoseconds.
Weight::from_parts(19_226_000, 0)
// Minimum execution time: 12_263_000 picoseconds.
Weight::from_parts(23_193_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: 73_878_000 picoseconds.
Weight::from_parts(127_900_000, 0)
// Minimum execution time: 69_209_000 picoseconds.
Weight::from_parts(80_882_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: 34_404_000 picoseconds.
Weight::from_parts(44_534_000, 0)
// Minimum execution time: 23_132_000 picoseconds.
Weight::from_parts(27_179_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: 101_659_000 picoseconds.
Weight::from_parts(114_564_000, 0)
// Minimum execution time: 63_158_000 picoseconds.
Weight::from_parts(94_747_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
16 changes: 9 additions & 7 deletions runtimes/testnet/src/weights/networks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,17 @@ impl<T: frame_system::Config> pallet_networks::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 add_network(_a: u32, b: u32, ) -> Weight {
fn add_network(a: u32, b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `359`
// Estimated: `21149`
// Minimum execution time: 48_149_000 picoseconds.
Weight::from_parts(69_687_959, 0)
// Minimum execution time: 50_806_000 picoseconds.
Weight::from_parts(55_937_851, 0)
.saturating_add(Weight::from_parts(0, 21149))
// Standard Error: 1_276
.saturating_add(Weight::from_parts(3_199, 0).saturating_mul(b.into()))
// Standard Error: 867
.saturating_add(Weight::from_parts(12_601, 0).saturating_mul(a.into()))
// Standard Error: 867
.saturating_add(Weight::from_parts(7_280, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(2))
}
Expand All @@ -59,8 +61,8 @@ impl<T: frame_system::Config> pallet_networks::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `332`
// Estimated: `3797`
// Minimum execution time: 21_961_000 picoseconds.
Weight::from_parts(28_643_000, 0)
// Minimum execution time: 20_938_000 picoseconds.
Weight::from_parts(26_480_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/testnet/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: `757`
// Estimated: `11647`
// Minimum execution time: 522_166_000 picoseconds.
Weight::from_parts(760_572_000, 0)
// Minimum execution time: 519_472_000 picoseconds.
Weight::from_parts(554_736_000, 0)
.saturating_add(Weight::from_parts(0, 11647))
.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: `557`
// Estimated: `11447`
// Minimum execution time: 64_261_000 picoseconds.
Weight::from_parts(91_842_000, 0)
// Minimum execution time: 63_899_000 picoseconds.
Weight::from_parts(67_846_000, 0)
.saturating_add(Weight::from_parts(0, 11447))
.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: `440`
// Estimated: `11330`
// Minimum execution time: 87_603_000 picoseconds.
Weight::from_parts(143_037_000, 0)
// Minimum execution time: 84_968_000 picoseconds.
Weight::from_parts(93_065_000, 0)
.saturating_add(Weight::from_parts(0, 11330))
.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: `6`
// Estimated: `3471`
// Minimum execution time: 4_279_000 picoseconds.
Weight::from_parts(7_214_000, 0)
// Minimum execution time: 3_797_000 picoseconds.
Weight::from_parts(4_057_000, 0)
.saturating_add(Weight::from_parts(0, 3471))
.saturating_add(T::DbWeight::get().reads(1))
}
Expand Down
8 changes: 4 additions & 4 deletions runtimes/testnet/src/weights/timegraph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ impl<T: frame_system::Config> pallet_timegraph::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `192`
// Estimated: `3657`
// Minimum execution time: 71_053_000 picoseconds.
Weight::from_parts(76_674_000, 0)
// Minimum execution time: 66_765_000 picoseconds.
Weight::from_parts(78_847_000, 0)
.saturating_add(Weight::from_parts(0, 3657))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
Expand All @@ -55,8 +55,8 @@ impl<T: frame_system::Config> pallet_timegraph::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `192`
// Estimated: `3657`
// Minimum execution time: 71_164_000 picoseconds.
Weight::from_parts(75_551_000, 0)
// Minimum execution time: 65_283_000 picoseconds.
Weight::from_parts(73_668_000, 0)
.saturating_add(Weight::from_parts(0, 3657))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
Expand Down

0 comments on commit 5e3514c

Please sign in to comment.