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,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::paras`
//!
//! 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::paras`.
pub struct WeightInfo<T>(PhantomData<T>);
@@ -61,12 +63,12 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn force_set_current_code(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `8309`
// Estimated: `61734`
// Minimum execution time: 33_122_000 picoseconds.
Weight::from_parts(33_355_000, 0)
.saturating_add(Weight::from_parts(0, 61734))
// Estimated: `11774`
// Minimum execution time: 32_720_000 picoseconds.
Weight::from_parts(33_199_000, 0)
.saturating_add(Weight::from_parts(0, 11774))
// Standard Error: 1
.saturating_add(Weight::from_parts(1_946, 0).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(1_947, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(6))
}
@@ -77,11 +79,11 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_359_000 picoseconds.
Weight::from_parts(8_431_000, 0)
// Minimum execution time: 9_146_000 picoseconds.
Weight::from_parts(9_372_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 2
.saturating_add(Weight::from_parts(863, 0).saturating_mul(s.into()))
.saturating_add(Weight::from_parts(857, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: Paras FutureCodeHash (r:1 w:1)
@@ -108,12 +110,12 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn force_schedule_code_upgrade(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `16462`
// Estimated: `186400`
// Minimum execution time: 56_932_000 picoseconds.
Weight::from_parts(57_430_000, 0)
.saturating_add(Weight::from_parts(0, 186400))
// Estimated: `19927`
// Minimum execution time: 57_014_000 picoseconds.
Weight::from_parts(57_397_000, 0)
.saturating_add(Weight::from_parts(0, 19927))
// Standard Error: 1
.saturating_add(Weight::from_parts(1_970, 0).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(1_967, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(8))
}
@@ -127,12 +129,12 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn force_note_new_head(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `95`
// Estimated: `3750`
// Minimum execution time: 13_727_000 picoseconds.
Weight::from_parts(13_878_000, 0)
.saturating_add(Weight::from_parts(0, 3750))
// Standard Error: 2
.saturating_add(Weight::from_parts(866, 0).saturating_mul(s.into()))
// Estimated: `3560`
// Minimum execution time: 14_407_000 picoseconds.
Weight::from_parts(14_619_000, 0)
.saturating_add(Weight::from_parts(0, 3560))
// Standard Error: 1
.saturating_add(Weight::from_parts(859, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -143,10 +145,10 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn force_queue_action() -> Weight {
// Proof Size summary in bytes:
// Measured: `4251`
// Estimated: `13452`
// Minimum execution time: 19_034_000 picoseconds.
Weight::from_parts(20_025_000, 0)
.saturating_add(Weight::from_parts(0, 13452))
// Estimated: `7716`
// Minimum execution time: 20_892_000 picoseconds.
Weight::from_parts(21_330_000, 0)
.saturating_add(Weight::from_parts(0, 7716))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -158,12 +160,12 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn add_trusted_validation_code(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `28`
// Estimated: `6986`
// Minimum execution time: 7_959_000 picoseconds.
Weight::from_parts(8_157_000, 0)
.saturating_add(Weight::from_parts(0, 6986))
// Estimated: `3493`
// Minimum execution time: 8_643_000 picoseconds.
Weight::from_parts(8_743_000, 0)
.saturating_add(Weight::from_parts(0, 3493))
// Standard Error: 1
.saturating_add(Weight::from_parts(1_956, 0).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(1_949, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -174,10 +176,10 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn poke_unused_validation_code() -> Weight {
// Proof Size summary in bytes:
// Measured: `28`
// Estimated: `3521`
// Minimum execution time: 5_960_000 picoseconds.
Weight::from_parts(6_182_000, 0)
.saturating_add(Weight::from_parts(0, 3521))
// Estimated: `3493`
// Minimum execution time: 6_322_000 picoseconds.
Weight::from_parts(6_500_000, 0)
.saturating_add(Weight::from_parts(0, 3493))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -190,10 +192,10 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn include_pvf_check_statement() -> Weight {
// Proof Size summary in bytes:
// Measured: `26645`
// Estimated: `86370`
// Minimum execution time: 87_957_000 picoseconds.
Weight::from_parts(89_200_000, 0)
.saturating_add(Weight::from_parts(0, 86370))
// Estimated: `30110`
// Minimum execution time: 88_015_000 picoseconds.
Weight::from_parts(89_436_000, 0)
.saturating_add(Weight::from_parts(0, 30110))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -214,10 +216,10 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight {
// Proof Size summary in bytes:
// Measured: `27199`
// Estimated: `201283`
// Minimum execution time: 784_285_000 picoseconds.
Weight::from_parts(790_260_000, 0)
.saturating_add(Weight::from_parts(0, 201283))
// Estimated: `30664`
// Minimum execution time: 799_995_000 picoseconds.
Weight::from_parts(806_270_000, 0)
.saturating_add(Weight::from_parts(0, 30664))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(104))
}
@@ -230,10 +232,10 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight {
// Proof Size summary in bytes:
// Measured: `27177`
// Estimated: `87966`
// Minimum execution time: 86_970_000 picoseconds.
Weight::from_parts(87_886_000, 0)
.saturating_add(Weight::from_parts(0, 87966))
// Estimated: `30642`
// Minimum execution time: 87_373_000 picoseconds.
Weight::from_parts(88_419_000, 0)
.saturating_add(Weight::from_parts(0, 30642))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -250,10 +252,10 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight {
// Proof Size summary in bytes:
// Measured: `26667`
// Estimated: `144720`
// Minimum execution time: 621_464_000 picoseconds.
Weight::from_parts(627_840_000, 0)
.saturating_add(Weight::from_parts(0, 144720))
// Estimated: `30132`
// Minimum execution time: 632_844_000 picoseconds.
Weight::from_parts(641_036_000, 0)
.saturating_add(Weight::from_parts(0, 30132))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -266,10 +268,10 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight {
// Proof Size summary in bytes:
// Measured: `26645`
// Estimated: `86370`
// Minimum execution time: 86_876_000 picoseconds.
Weight::from_parts(87_789_000, 0)
.saturating_add(Weight::from_parts(0, 86370))
// Estimated: `30110`
// Minimum execution time: 86_854_000 picoseconds.
Weight::from_parts(88_145_000, 0)
.saturating_add(Weight::from_parts(0, 30110))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}