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_common::slots`
//!
//! 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_common::slots`.
pub struct WeightInfo<T>(PhantomData<T>);
@@ -52,10 +54,10 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
fn force_lease() -> Weight {
// Proof Size summary in bytes:
// Measured: `181`
// Estimated: `7239`
// Minimum execution time: 25_272_000 picoseconds.
Weight::from_parts(25_634_000, 0)
.saturating_add(Weight::from_parts(0, 7239))
// Estimated: `3646`
// Minimum execution time: 29_126_000 picoseconds.
Weight::from_parts(29_497_000, 0)
.saturating_add(Weight::from_parts(0, 3646))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -76,22 +78,22 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
fn manage_lease_period_start(c: u32, t: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0 + c * (47 ±0) + t * (308 ±0)`
// Estimated: `7228 + c * (2781 ±0) + t * (9308 ±0)`
// Minimum execution time: 631_951_000 picoseconds.
Weight::from_parts(645_205_000, 0)
.saturating_add(Weight::from_parts(0, 7228))
// Standard Error: 83_112
.saturating_add(Weight::from_parts(2_677_718, 0).saturating_mul(c.into()))
// Standard Error: 83_112
.saturating_add(Weight::from_parts(11_541_814, 0).saturating_mul(t.into()))
// Estimated: `2657 + c * (2526 ±0) + t * (2789 ±0)`
// Minimum execution time: 637_316_000 picoseconds.
Weight::from_parts(645_590_000, 0)
.saturating_add(Weight::from_parts(0, 2657))
// Standard Error: 80_601
.saturating_add(Weight::from_parts(2_659_004, 0).saturating_mul(c.into()))
// Standard Error: 80_601
.saturating_add(Weight::from_parts(11_359_760, 0).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(t.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(t.into())))
.saturating_add(Weight::from_parts(0, 2781).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(0, 9308).saturating_mul(t.into()))
.saturating_add(Weight::from_parts(0, 2526).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(0, 2789).saturating_mul(t.into()))
}
/// Storage: Slots Leases (r:1 w:1)
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
@@ -100,10 +102,10 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
fn clear_all_leases() -> Weight {
// Proof Size summary in bytes:
// Measured: `2653`
// Estimated: `27932`
// Minimum execution time: 97_503_000 picoseconds.
Weight::from_parts(99_104_000, 0)
.saturating_add(Weight::from_parts(0, 27932))
// Estimated: `21814`
// Minimum execution time: 126_776_000 picoseconds.
Weight::from_parts(129_358_000, 0)
.saturating_add(Weight::from_parts(0, 21814))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(9))
}
@@ -120,10 +122,10 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
fn trigger_onboard() -> Weight {
// Proof Size summary in bytes:
// Measured: `564`
// Estimated: `18165`
// Minimum execution time: 27_263_000 picoseconds.
Weight::from_parts(28_512_000, 0)
.saturating_add(Weight::from_parts(0, 18165))
// Estimated: `4029`
// Minimum execution time: 27_452_000 picoseconds.
Weight::from_parts(28_127_000, 0)
.saturating_add(Weight::from_parts(0, 4029))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}