mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-08-09 18:05:45 +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,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_common::slots`
|
||||
//!
|
||||
//! 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_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: `287`
|
||||
// Estimated: `7345`
|
||||
// Minimum execution time: 27_240_000 picoseconds.
|
||||
Weight::from_parts(27_617_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7345))
|
||||
// Estimated: `3752`
|
||||
// Minimum execution time: 29_790_000 picoseconds.
|
||||
Weight::from_parts(30_081_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3752))
|
||||
.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: `7864 + c * (2781 ±0) + t * (9308 ±0)`
|
||||
// Minimum execution time: 640_467_000 picoseconds.
|
||||
Weight::from_parts(646_026_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7864))
|
||||
// Standard Error: 81_769
|
||||
.saturating_add(Weight::from_parts(2_764_386, 0).saturating_mul(c.into()))
|
||||
// Standard Error: 81_769
|
||||
.saturating_add(Weight::from_parts(11_816_053, 0).saturating_mul(t.into()))
|
||||
// Estimated: `2763 + c * (2526 ±0) + t * (2789 ±0)`
|
||||
// Minimum execution time: 642_513_000 picoseconds.
|
||||
Weight::from_parts(645_643_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2763))
|
||||
// Standard Error: 84_556
|
||||
.saturating_add(Weight::from_parts(2_748_100, 0).saturating_mul(c.into()))
|
||||
// Standard Error: 84_556
|
||||
.saturating_add(Weight::from_parts(11_405_820, 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: `2759`
|
||||
// Estimated: `28038`
|
||||
// Minimum execution time: 100_595_000 picoseconds.
|
||||
Weight::from_parts(102_289_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 28038))
|
||||
// Estimated: `21814`
|
||||
// Minimum execution time: 130_942_000 picoseconds.
|
||||
Weight::from_parts(132_692_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: `670`
|
||||
// Estimated: `18695`
|
||||
// Minimum execution time: 28_883_000 picoseconds.
|
||||
Weight::from_parts(29_921_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 18695))
|
||||
// Estimated: `4135`
|
||||
// Minimum execution time: 28_865_000 picoseconds.
|
||||
Weight::from_parts(29_720_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4135))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user