update weights (sync with v0.9.29) (#5989)

* kusama: update weights

* polkadot: update weights

* westend: update weights

* rococo: update weights

* fixup

* revert block weights
This commit is contained in:
Mara Robin B
2022-09-12 13:48:27 +02:00
committed by GitHub
parent 69aefab456
commit db0fc60344
128 changed files with 2705 additions and 2540 deletions
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_treasury`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -32,32 +32,32 @@
// --execution=wasm
// --wasm-execution=compiled
// --header=./file_header.txt
// --output=./runtime/kusama/src/weights/pallet_treasury.rs
// --output=./runtime/kusama/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
use frame_support::{traits::Get, weights::Weight};
use frame_support::{traits::Get, weights::{Weight}};
use sp_std::marker::PhantomData;
/// Weight functions for `pallet_treasury`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
fn spend() -> Weight {
Weight::from_ref_time(153_000 as u64)
Weight::from_ref_time(131_000 as u64)
}
// Storage: Treasury ProposalCount (r:1 w:1)
// Storage: Treasury Proposals (r:0 w:1)
fn propose_spend() -> Weight {
Weight::from_ref_time(25_149_000 as u64)
Weight::from_ref_time(25_664_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Treasury Proposals (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn reject_proposal() -> Weight {
Weight::from_ref_time(35_748_000 as u64)
Weight::from_ref_time(36_678_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -65,15 +65,15 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
// Storage: Treasury Approvals (r:1 w:1)
/// The range of component `p` is `[0, 99]`.
fn approve_proposal(p: u32, ) -> Weight {
Weight::from_ref_time(10_082_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(36_000 as u64).saturating_mul(p as u64))
Weight::from_ref_time(12_868_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(52_000 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Treasury Approvals (r:1 w:1)
fn remove_approval() -> Weight {
Weight::from_ref_time(5_612_000 as u64)
Weight::from_ref_time(7_810_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -83,9 +83,9 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
// Storage: Treasury Proposals (r:2 w:2)
/// The range of component `p` is `[0, 100]`.
fn on_initialize_proposals(p: u32, ) -> Weight {
Weight::from_ref_time(36_270_000 as u64)
// Standard Error: 32_000
.saturating_add(Weight::from_ref_time(30_142_000 as u64).saturating_mul(p as u64))
Weight::from_ref_time(57_241_000 as u64)
// Standard Error: 22_000
.saturating_add(Weight::from_ref_time(24_874_000 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(p as u64)))
.saturating_add(T::DbWeight::get().writes(3 as u64))