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: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-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>);
@@ -65,11 +67,11 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
/// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured)
fn hrmp_init_open_channel() -> Weight {
// Proof Size summary in bytes:
// Measured: `719`
// Estimated: `36171`
// Minimum execution time: 40_335_000 picoseconds.
Weight::from_parts(40_824_000, 0)
.saturating_add(Weight::from_parts(0, 36171))
// Measured: `724`
// Estimated: `6664`
// Minimum execution time: 41_955_000 picoseconds.
Weight::from_parts(42_506_000, 0)
.saturating_add(Weight::from_parts(0, 6664))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(5))
}
@@ -89,11 +91,11 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
/// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured)
fn hrmp_accept_open_channel() -> Weight {
// Proof Size summary in bytes:
// Measured: `951`
// Estimated: `28932`
// Minimum execution time: 43_130_000 picoseconds.
Weight::from_parts(43_826_000, 0)
.saturating_add(Weight::from_parts(0, 28932))
// Measured: `956`
// Estimated: `4421`
// Minimum execution time: 44_499_000 picoseconds.
Weight::from_parts(45_268_000, 0)
.saturating_add(Weight::from_parts(0, 4421))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -111,11 +113,11 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
/// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured)
fn hrmp_close_channel() -> Weight {
// Proof Size summary in bytes:
// Measured: `822`
// Estimated: `21762`
// Minimum execution time: 36_371_000 picoseconds.
Weight::from_parts(36_901_000, 0)
.saturating_add(Weight::from_parts(0, 21762))
// Measured: `827`
// Estimated: `4292`
// Minimum execution time: 36_879_000 picoseconds.
Weight::from_parts(37_491_000, 0)
.saturating_add(Weight::from_parts(0, 4292))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -135,23 +137,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: `264 + i * (100 ±0) + e * (100 ±0)`
// Estimated: `9486 + i * (5550 ±0) + e * (5550 ±0)`
// Minimum execution time: 1_067_875_000 picoseconds.
Weight::from_parts(1_073_769_000, 0)
.saturating_add(Weight::from_parts(0, 9486))
// Standard Error: 95_826
.saturating_add(Weight::from_parts(3_089_576, 0).saturating_mul(i.into()))
// Standard Error: 95_826
.saturating_add(Weight::from_parts(3_125_375, 0).saturating_mul(e.into()))
// Measured: `264 + e * (100 ±0) + i * (100 ±0)`
// Estimated: `3726 + e * (2575 ±0) + i * (2575 ±0)`
// Minimum execution time: 1_104_651_000 picoseconds.
Weight::from_parts(1_108_204_000, 0)
.saturating_add(Weight::from_parts(0, 3726))
// Standard Error: 99_163
.saturating_add(Weight::from_parts(3_322_286, 0).saturating_mul(i.into()))
// Standard Error: 99_163
.saturating_add(Weight::from_parts(3_418_641, 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: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
@@ -174,18 +176,18 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
/// The range of component `c` is `[0, 128]`.
fn force_process_hrmp_open(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `794 + c * (136 ±0)`
// Estimated: `15954 + c * (18549 ±0)`
// Minimum execution time: 10_514_000 picoseconds.
Weight::from_parts(5_697_794, 0)
.saturating_add(Weight::from_parts(0, 15954))
// Standard Error: 16_431
.saturating_add(Weight::from_parts(18_685_009, 0).saturating_mul(c.into()))
// Measured: `799 + c * (136 ±0)`
// Estimated: `2254 + c * (5086 ±0)`
// Minimum execution time: 10_816_000 picoseconds.
Weight::from_parts(9_240_011, 0)
.saturating_add(Weight::from_parts(0, 2254))
// Standard Error: 22_052
.saturating_add(Weight::from_parts(18_916_621, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(2))
.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, 18549).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)
@@ -203,17 +205,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: `335 + c * (124 ±0)`
// Estimated: `6375 + c * (8175 ±0)`
// Minimum execution time: 6_912_000 picoseconds.
Weight::from_parts(5_970_987, 0)
.saturating_add(Weight::from_parts(0, 6375))
// Standard Error: 9_971
.saturating_add(Weight::from_parts(11_348_517, 0).saturating_mul(c.into()))
// Estimated: `1795 + c * (2600 ±0)`
// Minimum execution time: 6_612_000 picoseconds.
Weight::from_parts(2_140_713, 0)
.saturating_add(Weight::from_parts(0, 1795))
// Standard Error: 13_726
.saturating_add(Weight::from_parts(11_803_236, 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)
@@ -225,15 +227,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: `1026 + c * (13 ±0)`
// Estimated: `10905 + c * (45 ±0)`
// Minimum execution time: 22_649_000 picoseconds.
Weight::from_parts(27_439_954, 0)
.saturating_add(Weight::from_parts(0, 10905))
// Standard Error: 1_101
.saturating_add(Weight::from_parts(54_107, 0).saturating_mul(c.into()))
// Estimated: `4295 + c * (15 ±0)`
// Minimum execution time: 22_553_000 picoseconds.
Weight::from_parts(26_395_862, 0)
.saturating_add(Weight::from_parts(0, 4295))
// Standard Error: 800
.saturating_add(Weight::from_parts(50_243, 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)
@@ -243,17 +245,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: `243 + c * (63 ±0)`
// Estimated: `2955 + c * (2602 ±0)`
// Minimum execution time: 5_030_000 picoseconds.
Weight::from_parts(4_932_487, 0)
.saturating_add(Weight::from_parts(0, 2955))
// Standard Error: 2_697
.saturating_add(Weight::from_parts(3_108_379, 0).saturating_mul(c.into()))
// Estimated: `1722 + c * (2538 ±0)`
// Minimum execution time: 5_077_000 picoseconds.
Weight::from_parts(3_712_296, 0)
.saturating_add(Weight::from_parts(0, 1722))
// Standard Error: 3_271
.saturating_add(Weight::from_parts(3_109_786, 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)
@@ -279,11 +281,11 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
/// Proof Skipped: Hrmp HrmpAcceptedChannelRequestCount (max_values: None, max_size: None, mode: Measured)
fn force_open_hrmp_channel() -> Weight {
// Proof Size summary in bytes:
// Measured: `719`
// Estimated: `49489`
// Minimum execution time: 54_530_000 picoseconds.
Weight::from_parts(55_259_000, 0)
.saturating_add(Weight::from_parts(0, 49489))
// Measured: `724`
// Estimated: `6664`
// Minimum execution time: 56_406_000 picoseconds.
Weight::from_parts(56_990_000, 0)
.saturating_add(Weight::from_parts(0, 6664))
.saturating_add(T::DbWeight::get().reads(14))
.saturating_add(T::DbWeight::get().writes(8))
}