Skip to content

Commit

Permalink
re-run parachain staking benchmarks for pendulum, no manual modification
Browse files Browse the repository at this point in the history
  • Loading branch information
gianfra-t committed Jan 2, 2025
1 parent 7ea78d8 commit f0ac0dc
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 103 deletions.
202 changes: 100 additions & 102 deletions runtime/pendulum/src/weights/parachain_staking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//! Autogenerated weights for parachain_staking
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2024-12-26, STEPS: `50`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2025-01-02, STEPS: `50`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `Gianfrancos-MacBook-Pro.local`, CPU: `<UNKNOWN>`
//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("pendulum"), DB CACHE: 1024
Expand All @@ -24,7 +24,7 @@
// --repeat
// 5
// --output
// runtime/pendulum/src/weights/parachain_staking.rs
// runtime/pendulum/src/weights/parachain-staking.rs
// --template
// .maintain/frame-weight-template.hbs

Expand All @@ -45,7 +45,7 @@ impl<T: frame_system::Config> parachain_staking::WeightInfo for SubstrateWeight<
// Proof Size summary in bytes:
// Measured: `427`
// Estimated: `1497`
// Minimum execution time: 5_000_000 picoseconds.
// Minimum execution time: 4_000_000 picoseconds.
Weight::from_parts(5_000_000, 1497)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
Expand All @@ -67,7 +67,7 @@ impl<T: frame_system::Config> parachain_staking::WeightInfo for SubstrateWeight<
// Measured: `427`
// Estimated: `1497`
// Minimum execution time: 4_000_000 picoseconds.
Weight::from_parts(5_000_000, 1497)
Weight::from_parts(4_000_000, 1497)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: `ParachainStaking::ForceNewRound` (r:0 w:1)
Expand Down Expand Up @@ -97,21 +97,21 @@ impl<T: frame_system::Config> parachain_staking::WeightInfo for SubstrateWeight<
fn set_inflation(n: u32, m: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0 + m * (4859 ±0) + n * (4052 ±0)`
// Estimated: `126940 + m * (46036 ±2_476) + n * (34326 ±22)`
// Minimum execution time: 545_000_000 picoseconds.
Weight::from_parts(1_000_000, 126940)
// Standard Error: 4_872_984
.saturating_add(Weight::from_parts(1_000_000, 0).saturating_mul(n.into()))
// Standard Error: 6_088_683
// .saturating_add(Weight::from_parts(154_u64, 0).saturating_mul(m.into()))
// .saturating_add(T::DbWeight::get().reads(154_u64))
// .saturating_add(T::DbWeight::get().reads((154_u64).saturating_mul(n.into())))
// .saturating_add(T::DbWeight::get().reads((17_u64).saturating_mul(m.into())))
// .saturating_add(T::DbWeight::get().writes(101_u64))
// .saturating_add(T::DbWeight::get().writes((14_u64).saturating_mul(n.into())))
// .saturating_add(T::DbWeight::get().writes((18_u64).saturating_mul(m.into())))
// .saturating_add(Weight::from_parts(0, 46036).saturating_mul(m.into()))
// .saturating_add(Weight::from_parts(0, 34326).saturating_mul(n.into()))
// Estimated: `126940 + m * (46036 ±2_476) + n * (34326 ±12)`
// Minimum execution time: 551_000_000 picoseconds.
Weight::from_parts(554_000_000, 126940)
// Standard Error: 4_960_410
.saturating_add(Weight::from_parts(81_623_177, 0).saturating_mul(n.into()))
// Standard Error: 6_197_920
.saturating_add(Weight::from_parts(96_362_841, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(154_u64))
.saturating_add(T::DbWeight::get().reads((14_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().reads((17_u64).saturating_mul(m.into())))
.saturating_add(T::DbWeight::get().writes(101_u64))
.saturating_add(T::DbWeight::get().writes((14_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes((18_u64).saturating_mul(m.into())))
.saturating_add(Weight::from_parts(0, 46036).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 34326).saturating_mul(n.into()))
}
/// Storage: `ParachainStaking::MaxSelectedCandidates` (r:1 w:1)
/// Proof: `ParachainStaking::MaxSelectedCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
Expand All @@ -127,10 +127,10 @@ impl<T: frame_system::Config> parachain_staking::WeightInfo for SubstrateWeight<
// Proof Size summary in bytes:
// Measured: `0 + m * (480 ±0) + n * (48 ±0)`
// Estimated: `5495 + n * (904 ±19)`
// Minimum execution time: 14_000_000 picoseconds.
Weight::from_parts(15_000_000, 5495)
// Standard Error: 24_442
.saturating_add(Weight::from_parts(1_005_154, 0).saturating_mul(n.into()))
// Minimum execution time: 13_000_000 picoseconds.
Weight::from_parts(13_000_000, 5495)
// Standard Error: 29_167
.saturating_add(Weight::from_parts(1_233_866, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 904).saturating_mul(n.into()))
Expand Down Expand Up @@ -178,12 +178,12 @@ impl<T: frame_system::Config> parachain_staking::WeightInfo for SubstrateWeight<
// Proof Size summary in bytes:
// Measured: `0 + m * (3270 ±0) + n * (2656 ±0)`
// Estimated: `10303 + m * (2716 ±45) + n * (3520 ±44)`
// Minimum execution time: 150_000_000 picoseconds.
Weight::from_parts(157_000_000, 10303)
// Standard Error: 136_598
.saturating_add(Weight::from_parts(1_887_391, 0).saturating_mul(n.into()))
// Standard Error: 175_187
.saturating_add(Weight::from_parts(15_675_954, 0).saturating_mul(m.into()))
// Minimum execution time: 148_000_000 picoseconds.
Weight::from_parts(150_000_000, 10303)
// Standard Error: 366_660
.saturating_add(Weight::from_parts(957_545, 0).saturating_mul(n.into()))
// Standard Error: 470_242
.saturating_add(Weight::from_parts(16_804_451, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(12_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(m.into())))
Expand Down Expand Up @@ -220,12 +220,12 @@ impl<T: frame_system::Config> parachain_staking::WeightInfo for SubstrateWeight<
// Proof Size summary in bytes:
// Measured: `2545 + m * (39 ±0) + n * (80 ±0)`
// Estimated: `5495 + m * (38 ±0)`
// Minimum execution time: 46_000_000 picoseconds.
Weight::from_parts(29_531_622, 5495)
// Standard Error: 27_234
.saturating_add(Weight::from_parts(553_227, 0).saturating_mul(n.into()))
// Standard Error: 32_814
.saturating_add(Weight::from_parts(860_160, 0).saturating_mul(m.into()))
// Minimum execution time: 47_000_000 picoseconds.
Weight::from_parts(26_466_285, 5495)
// Standard Error: 41_211
.saturating_add(Weight::from_parts(597_419, 0).saturating_mul(n.into()))
// Standard Error: 49_656
.saturating_add(Weight::from_parts(1_056_090, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(11_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
.saturating_add(Weight::from_parts(0, 38).saturating_mul(m.into()))
Expand All @@ -246,12 +246,12 @@ impl<T: frame_system::Config> parachain_staking::WeightInfo for SubstrateWeight<
// Proof Size summary in bytes:
// Measured: `0 + m * (1968 ±0) + n * (2082 ±0)`
// Estimated: `3886 + m * (426 ±41) + n * (3627 ±41)`
// Minimum execution time: 52_000_000 picoseconds.
Weight::from_parts(53_000_000, 3886)
// Standard Error: 42_715
.saturating_add(Weight::from_parts(2_431_184, 0).saturating_mul(n.into()))
// Standard Error: 53_720
.saturating_add(Weight::from_parts(404_441, 0).saturating_mul(m.into()))
// Minimum execution time: 53_000_000 picoseconds.
Weight::from_parts(55_000_000, 3886)
// Standard Error: 47_977
.saturating_add(Weight::from_parts(2_477_773, 0).saturating_mul(n.into()))
// Standard Error: 60_338
.saturating_add(Weight::from_parts(345_290, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(3_u64))
Expand All @@ -268,16 +268,14 @@ impl<T: frame_system::Config> parachain_staking::WeightInfo for SubstrateWeight<
/// Proof: `ParachainStaking::TotalCollatorStake` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
/// The range of component `n` is `[9, 49]`.
/// The range of component `m` is `[0, 40]`.
fn cancel_leave_candidates(n: u32, m: u32, ) -> Weight {
fn cancel_leave_candidates(_n: u32, m: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `738 + m * (48 ±0) + n * (52 ±0)`
// Estimated: `5495 + m * (38 ±0)`
// Minimum execution time: 21_000_000 picoseconds.
Weight::from_parts(10_243_712, 5495)
// Standard Error: 17_481
.saturating_add(Weight::from_parts(262_823, 0).saturating_mul(n.into()))
// Standard Error: 17_481
.saturating_add(Weight::from_parts(480_485, 0).saturating_mul(m.into()))
// Minimum execution time: 20_000_000 picoseconds.
Weight::from_parts(24_808_484, 5495)
// Standard Error: 24_839
.saturating_add(Weight::from_parts(375_231, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 38).saturating_mul(m.into()))
Expand Down Expand Up @@ -312,12 +310,12 @@ impl<T: frame_system::Config> parachain_staking::WeightInfo for SubstrateWeight<
// Proof Size summary in bytes:
// Measured: `0 + m * (1342 ±0) + n * (608 ±0)`
// Estimated: `5495 + m * (2716 ±13) + n * (191 ±11)`
// Minimum execution time: 42_000_000 picoseconds.
Weight::from_parts(42_000_000, 5495)
// Standard Error: 78_932
.saturating_add(Weight::from_parts(921_474, 0).saturating_mul(n.into()))
// Standard Error: 99_268
.saturating_add(Weight::from_parts(16_831_659, 0).saturating_mul(m.into()))
// Minimum execution time: 40_000_000 picoseconds.
Weight::from_parts(41_000_000, 5495)
// Standard Error: 104_064
.saturating_add(Weight::from_parts(1_060_027, 0).saturating_mul(n.into()))
// Standard Error: 130_874
.saturating_add(Weight::from_parts(16_192_609, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(11_u64))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(m.into())))
.saturating_add(T::DbWeight::get().writes(7_u64))
Expand Down Expand Up @@ -356,12 +354,12 @@ impl<T: frame_system::Config> parachain_staking::WeightInfo for SubstrateWeight<
// Proof Size summary in bytes:
// Measured: `0 + m * (506 ±0) + n * (272 ±0) + u * (20 ±0)`
// Estimated: `5495 + m * (2519 ±0)`
// Minimum execution time: 59_000_000 picoseconds.
Weight::from_parts(60_000_000, 5495)
// Standard Error: 39_987
.saturating_add(Weight::from_parts(993_592, 0).saturating_mul(n.into()))
// Standard Error: 48_622
.saturating_add(Weight::from_parts(6_910_047, 0).saturating_mul(m.into()))
// Minimum execution time: 58_000_000 picoseconds.
Weight::from_parts(59_000_000, 5495)
// Standard Error: 56_216
.saturating_add(Weight::from_parts(1_336_410, 0).saturating_mul(n.into()))
// Standard Error: 68_354
.saturating_add(Weight::from_parts(6_746_219, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(12_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into())))
.saturating_add(T::DbWeight::get().writes(8_u64))
Expand Down Expand Up @@ -392,10 +390,10 @@ impl<T: frame_system::Config> parachain_staking::WeightInfo for SubstrateWeight<
// Estimated: `5495 + m * (2519 ±0)`
// Minimum execution time: 39_000_000 picoseconds.
Weight::from_parts(39_000_000, 5495)
// Standard Error: 40_917
.saturating_add(Weight::from_parts(521_968, 0).saturating_mul(n.into()))
// Standard Error: 50_340
.saturating_add(Weight::from_parts(6_197_575, 0).saturating_mul(m.into()))
// Standard Error: 58_058
.saturating_add(Weight::from_parts(580_091, 0).saturating_mul(n.into()))
// Standard Error: 71_428
.saturating_add(Weight::from_parts(6_333_962, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into())))
.saturating_add(T::DbWeight::get().writes(6_u64))
Expand Down Expand Up @@ -433,11 +431,11 @@ impl<T: frame_system::Config> parachain_staking::WeightInfo for SubstrateWeight<
// Measured: `3619 + m * (110 ±0) + n * (96 ±0)`
// Estimated: `10000`
// Minimum execution time: 69_000_000 picoseconds.
Weight::from_parts(38_420_731, 10000)
// Standard Error: 21_528
.saturating_add(Weight::from_parts(643_486, 0).saturating_mul(n.into()))
// Standard Error: 27_322
.saturating_add(Weight::from_parts(852_733, 0).saturating_mul(m.into()))
Weight::from_parts(35_816_104, 10000)
// Standard Error: 39_380
.saturating_add(Weight::from_parts(743_757, 0).saturating_mul(n.into()))
// Standard Error: 49_979
.saturating_add(Weight::from_parts(1_068_024, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(13_u64))
.saturating_add(T::DbWeight::get().writes(9_u64))
}
Expand Down Expand Up @@ -468,14 +466,14 @@ impl<T: frame_system::Config> parachain_staking::WeightInfo for SubstrateWeight<
// Proof Size summary in bytes:
// Measured: `3978 + m * (93 ±0) + n * (82 ±0) + u * (20 ±0)`
// Estimated: `6028`
// Minimum execution time: 61_000_000 picoseconds.
Weight::from_parts(29_344_219, 6028)
// Standard Error: 17_704
.saturating_add(Weight::from_parts(632_557, 0).saturating_mul(n.into()))
// Standard Error: 22_458
.saturating_add(Weight::from_parts(831_666, 0).saturating_mul(m.into()))
// Standard Error: 103_123
.saturating_add(Weight::from_parts(291_014, 0).saturating_mul(u.into()))
// Minimum execution time: 65_000_000 picoseconds.
Weight::from_parts(30_908_692, 6028)
// Standard Error: 40_649
.saturating_add(Weight::from_parts(555_404, 0).saturating_mul(n.into()))
// Standard Error: 51_565
.saturating_add(Weight::from_parts(1_106_159, 0).saturating_mul(m.into()))
// Standard Error: 236_774
.saturating_add(Weight::from_parts(691_107, 0).saturating_mul(u.into()))
.saturating_add(T::DbWeight::get().reads(11_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
Expand All @@ -499,12 +497,12 @@ impl<T: frame_system::Config> parachain_staking::WeightInfo for SubstrateWeight<
// Proof Size summary in bytes:
// Measured: `3107 + m * (72 ±0) + n * (73 ±0)`
// Estimated: `6028`
// Minimum execution time: 43_000_000 picoseconds.
Weight::from_parts(20_031_475, 6028)
// Standard Error: 14_535
.saturating_add(Weight::from_parts(505_709, 0).saturating_mul(n.into()))
// Standard Error: 18_447
.saturating_add(Weight::from_parts(638_800, 0).saturating_mul(m.into()))
// Minimum execution time: 42_000_000 picoseconds.
Weight::from_parts(16_332_609, 6028)
// Standard Error: 36_877
.saturating_add(Weight::from_parts(601_591, 0).saturating_mul(n.into()))
// Standard Error: 46_802
.saturating_add(Weight::from_parts(828_342, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
Expand All @@ -529,11 +527,11 @@ impl<T: frame_system::Config> parachain_staking::WeightInfo for SubstrateWeight<
// Measured: `1080 + m * (120 ±0) + n * (82 ±0)`
// Estimated: `6028 + n * (109 ±4)`
// Minimum execution time: 47_000_000 picoseconds.
Weight::from_parts(18_061_614, 6028)
// Standard Error: 20_742
.saturating_add(Weight::from_parts(672_500, 0).saturating_mul(n.into()))
// Standard Error: 26_325
.saturating_add(Weight::from_parts(678_793, 0).saturating_mul(m.into()))
Weight::from_parts(14_919_945, 6028)
// Standard Error: 29_063
.saturating_add(Weight::from_parts(772_029, 0).saturating_mul(n.into()))
// Standard Error: 36_885
.saturating_add(Weight::from_parts(824_536, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
.saturating_add(Weight::from_parts(0, 109).saturating_mul(n.into()))
Expand All @@ -551,8 +549,8 @@ impl<T: frame_system::Config> parachain_staking::WeightInfo for SubstrateWeight<
// Proof Size summary in bytes:
// Measured: `1246 + u * (20 ±0)`
// Estimated: `4764`
// Minimum execution time: 26_000_000 picoseconds.
Weight::from_parts(27_949_662, 4764)
// Minimum execution time: 27_000_000 picoseconds.
Weight::from_parts(28_640_363, 4764)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
Expand All @@ -563,7 +561,7 @@ impl<T: frame_system::Config> parachain_staking::WeightInfo for SubstrateWeight<
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 4_000_000 picoseconds.
Weight::from_parts(5_000_000, 0)
Weight::from_parts(4_000_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `ParachainStaking::DelegatorState` (r:1 w:0)
Expand Down Expand Up @@ -601,9 +599,9 @@ impl<T: frame_system::Config> parachain_staking::WeightInfo for SubstrateWeight<
// Measured: `853 + m * (98 ±0)`
// Estimated: `5495 + m * (2531 ±0)`
// Minimum execution time: 27_000_000 picoseconds.
Weight::from_parts(17_445_238, 5495)
// Standard Error: 18_289
.saturating_add(Weight::from_parts(8_908_829, 0).saturating_mul(m.into()))
Weight::from_parts(19_288_801, 5495)
// Standard Error: 42_566
.saturating_add(Weight::from_parts(8_779_780, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(m.into())))
.saturating_add(T::DbWeight::get().writes(2_u64))
Expand All @@ -618,7 +616,7 @@ impl<T: frame_system::Config> parachain_staking::WeightInfo for SubstrateWeight<
// Proof Size summary in bytes:
// Measured: `712`
// Estimated: `3593`
// Minimum execution time: 21_000_000 picoseconds.
// Minimum execution time: 20_000_000 picoseconds.
Weight::from_parts(21_000_000, 3593)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
Expand All @@ -642,13 +640,13 @@ impl<T: frame_system::Config> parachain_staking::WeightInfo for SubstrateWeight<
fn execute_scheduled_reward_change(n: u32, m: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0 + m * (4859 ±0) + n * (3990 ±0)`
// Estimated: `126940 + m * (46036 ±2_476) + n * (34326 ±22)`
// Minimum execution time: 480_000_000 picoseconds.
Weight::from_parts(481_000_000, 126940)
// Standard Error: 4_752_356
.saturating_add(Weight::from_parts(78_082_841, 0).saturating_mul(n.into()))
// Standard Error: 5_937_961
.saturating_add(Weight::from_parts(95_795_987, 0).saturating_mul(m.into()))
// Estimated: `126940 + m * (46036 ±2_476) + n * (34326 ±1_981)`
// Minimum execution time: 489_000_000 picoseconds.
Weight::from_parts(489_000_000, 126940)
// Standard Error: 4_935_803
.saturating_add(Weight::from_parts(79_269_813, 0).saturating_mul(n.into()))
// Standard Error: 6_167_175
.saturating_add(Weight::from_parts(97_562_650, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(155_u64))
.saturating_add(T::DbWeight::get().reads((14_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().reads((17_u64).saturating_mul(m.into())))
Expand Down
5 changes: 4 additions & 1 deletion zombienet/config.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[settings]
timeout = 1000

[relaychain]
default_command = "../polkadot/target/release/polkadot"
default_args = [ "-lparachain=debug" ]
chain = "rococo-local"
chain = "rococo-local" # DO NOT CHANGE NAME

[[relaychain.nodes]]
name = "alice"
Expand Down

0 comments on commit f0ac0dc

Please sign in to comment.