mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 05:51:02 +00:00
[frame/im-online] remove network state from heartbeats (#7309)
* [frame/im-online] remove external_addresses from heartbeat
* new benchmarks
* format code
* Revert "format code"
This reverts commit 586ddaa6f588b4aef92a0169cfd6a9610d1337b8.
* remove MaxPeerDataEncodingSize
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -17,9 +17,9 @@
|
||||
//! Autogenerated weights for `pallet_im_online`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-05-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2023-05-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! HOSTNAME: `build-host`, CPU: `AMD EPYC 7601 32-Core Processor`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -54,25 +54,21 @@ impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> {
|
||||
/// Storage: ImOnline Keys (r:1 w:0)
|
||||
/// Proof: ImOnline Keys (max_values: Some(1), max_size: Some(320002), added: 320497, mode: MaxEncodedLen)
|
||||
/// Storage: ImOnline ReceivedHeartbeats (r:1 w:1)
|
||||
/// Proof: ImOnline ReceivedHeartbeats (max_values: None, max_size: Some(10021032), added: 10023507, mode: MaxEncodedLen)
|
||||
/// Proof: ImOnline ReceivedHeartbeats (max_values: None, max_size: Some(1028), added: 3503, mode: MaxEncodedLen)
|
||||
/// Storage: ImOnline AuthoredBlocks (r:1 w:0)
|
||||
/// Proof: ImOnline AuthoredBlocks (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen)
|
||||
/// The range of component `k` is `[1, 1000]`.
|
||||
/// The range of component `e` is `[1, 100]`.
|
||||
fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight {
|
||||
fn validate_unsigned_and_then_heartbeat(k: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `361 + k * (32 ±0)`
|
||||
// Estimated: `10024497 + e * (35 ±0) + k * (32 ±0)`
|
||||
// Minimum execution time: 92_017_000 picoseconds.
|
||||
Weight::from_parts(73_188_461, 0)
|
||||
.saturating_add(Weight::from_parts(0, 10024497))
|
||||
// Standard Error: 316
|
||||
.saturating_add(Weight::from_parts(23_357, 0).saturating_mul(k.into()))
|
||||
// Standard Error: 3_193
|
||||
.saturating_add(Weight::from_parts(392_783, 0).saturating_mul(e.into()))
|
||||
// Estimated: `321487 + k * (1761 ±0)`
|
||||
// Minimum execution time: 122_571_000 picoseconds.
|
||||
Weight::from_parts(162_954_849, 0)
|
||||
.saturating_add(Weight::from_parts(0, 321487))
|
||||
// Standard Error: 8_676
|
||||
.saturating_add(Weight::from_parts(11_122, 0).saturating_mul(k.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(Weight::from_parts(0, 35).saturating_mul(e.into()))
|
||||
.saturating_add(Weight::from_parts(0, 32).saturating_mul(k.into()))
|
||||
.saturating_add(Weight::from_parts(0, 1761).saturating_mul(k.into()))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user