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:
Mara Robin B
2023-05-02 15:12:47 +02:00
committed by GitHub
parent 0ae0393042
commit d50ff483f8
163 changed files with 7550 additions and 6818 deletions
@@ -13,12 +13,13 @@
// 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-16, 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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
@@ -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: `350`
// Estimated: `31015`
// Minimum execution time: 36_600_000 picoseconds.
Weight::from_parts(37_059_000, 0)
.saturating_add(Weight::from_parts(0, 31015))
// Estimated: `6290`
// Minimum execution time: 38_178_000 picoseconds.
Weight::from_parts(38_781_000, 0)
.saturating_add(Weight::from_parts(0, 6290))
.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: `582`
// Estimated: `24282`
// Minimum execution time: 39_338_000 picoseconds.
Weight::from_parts(39_683_000, 0)
.saturating_add(Weight::from_parts(0, 24282))
// Estimated: `4047`
// Minimum execution time: 37_341_000 picoseconds.
Weight::from_parts(37_972_000, 0)
.saturating_add(Weight::from_parts(0, 4047))
.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: `453`
// Estimated: `17610`
// Minimum execution time: 33_003_000 picoseconds.
Weight::from_parts(33_497_000, 0)
.saturating_add(Weight::from_parts(0, 17610))
// Estimated: `3918`
// Minimum execution time: 33_129_000 picoseconds.
Weight::from_parts(33_746_000, 0)
.saturating_add(Weight::from_parts(0, 3918))
.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: `197 + i * (100 ±0) + e * (100 ±0)`
// Estimated: `9084 + i * (5550 ±0) + e * (5550 ±0)`
// Minimum execution time: 1_069_168_000 picoseconds.
Weight::from_parts(1_080_360_000, 0)
.saturating_add(Weight::from_parts(0, 9084))
// Standard Error: 96_878
.saturating_add(Weight::from_parts(3_125_436, 0).saturating_mul(i.into()))
// Standard Error: 96_878
.saturating_add(Weight::from_parts(3_120_319, 0).saturating_mul(e.into()))
// Measured: `197 + e * (100 ±0) + i * (100 ±0)`
// Estimated: `3659 + e * (2575 ±0) + i * (2575 ±0)`
// Minimum execution time: 1_092_709_000 picoseconds.
Weight::from_parts(1_107_686_000, 0)
.saturating_add(Weight::from_parts(0, 3659))
// Standard Error: 100_266
.saturating_add(Weight::from_parts(3_174_242, 0).saturating_mul(i.into()))
// Standard Error: 100_266
.saturating_add(Weight::from_parts(3_333_814, 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: `425 + c * (136 ±0)`
// Estimated: `10753 + c * (18413 ±0)`
// Minimum execution time: 7_019_000 picoseconds.
Weight::from_parts(3_329_027, 0)
.saturating_add(Weight::from_parts(0, 10753))
// Standard Error: 19_293
.saturating_add(Weight::from_parts(18_922_500, 0).saturating_mul(c.into()))
// Estimated: `1880 + c * (5086 ±0)`
// Minimum execution time: 7_319_000 picoseconds.
Weight::from_parts(4_516_472, 0)
.saturating_add(Weight::from_parts(0, 1880))
// Standard Error: 14_344
.saturating_add(Weight::from_parts(18_856_807, 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: `268 + c * (124 ±0)`
// Estimated: `5973 + c * (8175 ±0)`
// Minimum execution time: 5_563_000 picoseconds.
Weight::from_parts(3_789_883, 0)
.saturating_add(Weight::from_parts(0, 5973))
// Standard Error: 14_257
.saturating_add(Weight::from_parts(11_414_412, 0).saturating_mul(c.into()))
// Estimated: `1728 + c * (2600 ±0)`
// Minimum execution time: 5_815_000 picoseconds.
Weight::from_parts(2_546_765, 0)
.saturating_add(Weight::from_parts(0, 1728))
// Standard Error: 10_317
.saturating_add(Weight::from_parts(11_604_007, 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: `959 + c * (13 ±0)`
// Estimated: `10704 + c * (45 ±0)`
// Minimum execution time: 20_994_000 picoseconds.
Weight::from_parts(25_773_807, 0)
.saturating_add(Weight::from_parts(0, 10704))
// Standard Error: 1_554
.saturating_add(Weight::from_parts(79_758, 0).saturating_mul(c.into()))
// Estimated: `4228 + c * (15 ±0)`
// Minimum execution time: 21_865_000 picoseconds.
Weight::from_parts(26_301_513, 0)
.saturating_add(Weight::from_parts(0, 4228))
// Standard Error: 1_461
.saturating_add(Weight::from_parts(79_436, 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: `176 + c * (63 ±0)`
// Estimated: `2821 + c * (2602 ±0)`
// Minimum execution time: 4_414_000 picoseconds.
Weight::from_parts(4_215_377, 0)
.saturating_add(Weight::from_parts(0, 2821))
// Standard Error: 3_931
.saturating_add(Weight::from_parts(3_107_864, 0).saturating_mul(c.into()))
// Estimated: `1655 + c * (2538 ±0)`
// Minimum execution time: 4_216_000 picoseconds.
Weight::from_parts(3_749_377, 0)
.saturating_add(Weight::from_parts(0, 1655))
// Standard Error: 2_994
.saturating_add(Weight::from_parts(3_163_255, 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: `350`
// Estimated: `43595`
// Minimum execution time: 51_336_000 picoseconds.
Weight::from_parts(51_833_000, 0)
.saturating_add(Weight::from_parts(0, 43595))
// Estimated: `6290`
// Minimum execution time: 52_161_000 picoseconds.
Weight::from_parts(52_599_000, 0)
.saturating_add(Weight::from_parts(0, 6290))
.saturating_add(T::DbWeight::get().reads(13))
.saturating_add(T::DbWeight::get().writes(8))
}