mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 20:21:03 +00:00
update weights (sync with 0.9.42) (#7149)
* polkadot: update weights * westend: update weights * kusama: update weights * rococo: update weights
This commit is contained in:
@@ -13,10 +13,11 @@
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
//! Autogenerated weights for `runtime_parachains::hrmp`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-03-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024
|
||||
@@ -38,9 +39,10 @@
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `runtime_parachains::hrmp`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
@@ -64,10 +66,10 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
fn hrmp_init_open_channel() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `307`
|
||||
// Estimated: `30671`
|
||||
// Minimum execution time: 35_433_000 picoseconds.
|
||||
Weight::from_parts(35_919_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 30671))
|
||||
// Estimated: `6247`
|
||||
// Minimum execution time: 35_676_000 picoseconds.
|
||||
Weight::from_parts(36_006_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 6247))
|
||||
.saturating_add(T::DbWeight::get().reads(9))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
@@ -86,10 +88,10 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
fn hrmp_accept_open_channel() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `421`
|
||||
// Estimated: `23316`
|
||||
// Minimum execution time: 32_866_000 picoseconds.
|
||||
Weight::from_parts(33_161_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 23316))
|
||||
// Estimated: `3886`
|
||||
// Minimum execution time: 33_198_000 picoseconds.
|
||||
Weight::from_parts(33_588_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3886))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -106,10 +108,10 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
fn hrmp_close_channel() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `238`
|
||||
// Estimated: `16535`
|
||||
// Minimum execution time: 28_318_000 picoseconds.
|
||||
Weight::from_parts(28_693_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 16535))
|
||||
// Estimated: `3703`
|
||||
// Minimum execution time: 28_228_000 picoseconds.
|
||||
Weight::from_parts(28_564_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3703))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -129,23 +131,23 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
/// The range of component `e` is `[0, 127]`.
|
||||
fn force_clean_hrmp(i: u32, e: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `158 + i * (100 ±0) + e * (100 ±0)`
|
||||
// Estimated: `8850 + i * (5550 ±0) + e * (5550 ±0)`
|
||||
// Minimum execution time: 1_092_332_000 picoseconds.
|
||||
Weight::from_parts(1_097_373_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 8850))
|
||||
// Standard Error: 97_518
|
||||
.saturating_add(Weight::from_parts(3_170_650, 0).saturating_mul(i.into()))
|
||||
// Standard Error: 97_518
|
||||
.saturating_add(Weight::from_parts(3_304_346, 0).saturating_mul(e.into()))
|
||||
// Measured: `158 + e * (100 ±0) + i * (100 ±0)`
|
||||
// Estimated: `3620 + e * (2575 ±0) + i * (2575 ±0)`
|
||||
// Minimum execution time: 1_068_293_000 picoseconds.
|
||||
Weight::from_parts(2_873_264, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3620))
|
||||
// Standard Error: 13_425
|
||||
.saturating_add(Weight::from_parts(8_559_882, 0).saturating_mul(i.into()))
|
||||
// Standard Error: 13_425
|
||||
.saturating_add(Weight::from_parts(8_694_931, 0).saturating_mul(e.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into())))
|
||||
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(e.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(i.into())))
|
||||
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(e.into())))
|
||||
.saturating_add(Weight::from_parts(0, 5550).saturating_mul(i.into()))
|
||||
.saturating_add(Weight::from_parts(0, 5550).saturating_mul(e.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2575).saturating_mul(e.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2575).saturating_mul(i.into()))
|
||||
}
|
||||
/// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
|
||||
/// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured)
|
||||
@@ -167,17 +169,17 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
fn force_process_hrmp_open(c: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `386 + c * (136 ±0)`
|
||||
// Estimated: `10441 + c * (18413 ±0)`
|
||||
// Minimum execution time: 6_543_000 picoseconds.
|
||||
Weight::from_parts(4_530_781, 0)
|
||||
.saturating_add(Weight::from_parts(0, 10441))
|
||||
// Standard Error: 15_086
|
||||
.saturating_add(Weight::from_parts(19_196_371, 0).saturating_mul(c.into()))
|
||||
// Estimated: `1841 + c * (5086 ±0)`
|
||||
// Minimum execution time: 6_423_000 picoseconds.
|
||||
Weight::from_parts(2_076_802, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1841))
|
||||
// Standard Error: 14_748
|
||||
.saturating_add(Weight::from_parts(18_408_814, 0).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(c.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(c.into())))
|
||||
.saturating_add(Weight::from_parts(0, 18413).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(0, 5086).saturating_mul(c.into()))
|
||||
}
|
||||
/// Storage: Hrmp HrmpCloseChannelRequestsList (r:1 w:1)
|
||||
/// Proof Skipped: Hrmp HrmpCloseChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured)
|
||||
@@ -195,17 +197,17 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
fn force_process_hrmp_close(c: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `229 + c * (124 ±0)`
|
||||
// Estimated: `5739 + c * (8175 ±0)`
|
||||
// Minimum execution time: 5_011_000 picoseconds.
|
||||
Weight::from_parts(3_071_714, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5739))
|
||||
// Standard Error: 11_400
|
||||
.saturating_add(Weight::from_parts(11_626_470, 0).saturating_mul(c.into()))
|
||||
// Estimated: `1689 + c * (2600 ±0)`
|
||||
// Minimum execution time: 5_202_000 picoseconds.
|
||||
Weight::from_parts(2_150_391, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1689))
|
||||
// Standard Error: 10_345
|
||||
.saturating_add(Weight::from_parts(11_317_859, 0).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(c.into())))
|
||||
.saturating_add(Weight::from_parts(0, 8175).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2600).saturating_mul(c.into()))
|
||||
}
|
||||
/// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
|
||||
/// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured)
|
||||
@@ -217,15 +219,15 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
fn hrmp_cancel_open_request(c: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `920 + c * (13 ±0)`
|
||||
// Estimated: `10587 + c * (45 ±0)`
|
||||
// Minimum execution time: 21_329_000 picoseconds.
|
||||
Weight::from_parts(26_928_511, 0)
|
||||
.saturating_add(Weight::from_parts(0, 10587))
|
||||
// Standard Error: 1_543
|
||||
.saturating_add(Weight::from_parts(76_029, 0).saturating_mul(c.into()))
|
||||
// Estimated: `4189 + c * (15 ±0)`
|
||||
// Minimum execution time: 20_886_000 picoseconds.
|
||||
Weight::from_parts(27_091_693, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4189))
|
||||
// Standard Error: 1_558
|
||||
.saturating_add(Weight::from_parts(64_035, 0).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
.saturating_add(Weight::from_parts(0, 45).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(0, 15).saturating_mul(c.into()))
|
||||
}
|
||||
/// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
|
||||
/// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured)
|
||||
@@ -235,17 +237,17 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
fn clean_open_channel_requests(c: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `137 + c * (63 ±0)`
|
||||
// Estimated: `2743 + c * (2602 ±0)`
|
||||
// Minimum execution time: 3_993_000 picoseconds.
|
||||
Weight::from_parts(5_777_300, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2743))
|
||||
// Standard Error: 2_430
|
||||
.saturating_add(Weight::from_parts(3_128_607, 0).saturating_mul(c.into()))
|
||||
// Estimated: `1616 + c * (2538 ±0)`
|
||||
// Minimum execution time: 3_797_000 picoseconds.
|
||||
Weight::from_parts(4_558_669, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1616))
|
||||
// Standard Error: 2_558
|
||||
.saturating_add(Weight::from_parts(3_051_570, 0).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
|
||||
.saturating_add(Weight::from_parts(0, 2602).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2538).saturating_mul(c.into()))
|
||||
}
|
||||
/// Storage: Paras ParaLifecycles (r:2 w:0)
|
||||
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
|
||||
@@ -270,10 +272,10 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
fn force_open_hrmp_channel() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `307`
|
||||
// Estimated: `43165`
|
||||
// Minimum execution time: 49_553_000 picoseconds.
|
||||
Weight::from_parts(50_044_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 43165))
|
||||
// Estimated: `6247`
|
||||
// Minimum execution time: 49_847_000 picoseconds.
|
||||
Weight::from_parts(50_287_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 6247))
|
||||
.saturating_add(T::DbWeight::get().reads(13))
|
||||
.saturating_add(T::DbWeight::get().writes(8))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user