update weights (0.9.37) (#6546) (#6555)

* kusama: update weights

* polkadot: update weights

* westend: update weights

* rococo: update weights
This commit is contained in:
Mara Robin B
2023-01-19 14:43:19 +01:00
committed by GitHub
parent ad8c2aff5e
commit 8ff50d0fa7
157 changed files with 6297 additions and 6465 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-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -48,58 +48,60 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
// Storage: Treasury Approvals (r:1 w:1)
// Storage: Treasury Proposals (r:0 w:1)
fn spend() -> Weight {
// Minimum execution time: 18_856 nanoseconds.
Weight::from_ref_time(19_144_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
// Minimum execution time: 18_312 nanoseconds.
Weight::from_ref_time(18_724_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Treasury ProposalCount (r:1 w:1)
// Storage: Treasury Proposals (r:0 w:1)
fn propose_spend() -> Weight {
// Minimum execution time: 27_164 nanoseconds.
Weight::from_ref_time(27_790_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 26_501 nanoseconds.
Weight::from_ref_time(27_087_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Treasury Proposals (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn reject_proposal() -> Weight {
// Minimum execution time: 38_257 nanoseconds.
Weight::from_ref_time(38_930_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
// Minimum execution time: 39_091 nanoseconds.
Weight::from_ref_time(40_005_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Treasury Proposals (r:1 w:0)
// Storage: Treasury Approvals (r:1 w:1)
/// The range of component `p` is `[0, 99]`.
fn approve_proposal(p: u32, ) -> Weight {
// Minimum execution time: 9_729 nanoseconds.
Weight::from_ref_time(13_242_610 as u64)
// Standard Error: 1_133
.saturating_add(Weight::from_ref_time(48_014 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))
// Minimum execution time: 10_085 nanoseconds.
Weight::from_ref_time(13_530_918)
// Standard Error: 1_076
.saturating_add(Weight::from_ref_time(43_334).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Treasury Approvals (r:1 w:1)
fn remove_approval() -> Weight {
// Minimum execution time: 8_151 nanoseconds.
Weight::from_ref_time(8_355_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 8_105 nanoseconds.
Weight::from_ref_time(8_448_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Treasury Deactivated (r:1 w:1)
// Storage: Balances InactiveIssuance (r:1 w:1)
// Storage: Treasury Approvals (r:1 w:1)
// Storage: Bounties BountyApprovals (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: Treasury Proposals (r:2 w:2)
/// The range of component `p` is `[0, 100]`.
fn on_initialize_proposals(p: u32, ) -> Weight {
// Minimum execution time: 50_854 nanoseconds.
Weight::from_ref_time(63_148_952 as u64)
// Standard Error: 23_228
.saturating_add(Weight::from_ref_time(24_411_714 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))
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(p as u64)))
// Minimum execution time: 57_239 nanoseconds.
Weight::from_ref_time(65_014_265)
// Standard Error: 23_853
.saturating_add(Weight::from_ref_time(24_474_796).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(5))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into())))
}
}