mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 04:01:02 +00:00
New runners for weights and new weights (#6508)
* [DO NOT MERGE] test new vm runner for weights 2 * add image * fix merge conflict * apply weights * new weights Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
cc080d0e78
commit
0119a6dae1
@@ -16,8 +16,8 @@
|
||||
//! Autogenerated weights for `pallet_treasury`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -48,24 +48,24 @@ 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_312 nanoseconds.
|
||||
Weight::from_ref_time(18_724_000)
|
||||
// Minimum execution time: 18_551 nanoseconds.
|
||||
Weight::from_ref_time(19_100_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: 26_501 nanoseconds.
|
||||
Weight::from_ref_time(27_087_000)
|
||||
// Minimum execution time: 27_449 nanoseconds.
|
||||
Weight::from_ref_time(28_614_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: 39_091 nanoseconds.
|
||||
Weight::from_ref_time(40_005_000)
|
||||
// Minimum execution time: 41_099 nanoseconds.
|
||||
Weight::from_ref_time(42_271_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -73,17 +73,17 @@ 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 {
|
||||
// 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()))
|
||||
// Minimum execution time: 9_660 nanoseconds.
|
||||
Weight::from_ref_time(11_986_657)
|
||||
// Standard Error: 1_422
|
||||
.saturating_add(Weight::from_ref_time(123_552).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_105 nanoseconds.
|
||||
Weight::from_ref_time(8_448_000)
|
||||
// Minimum execution time: 7_880 nanoseconds.
|
||||
Weight::from_ref_time(8_281_000)
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -95,10 +95,10 @@ 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 {
|
||||
// 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()))
|
||||
// Minimum execution time: 62_209 nanoseconds.
|
||||
Weight::from_ref_time(70_300_386)
|
||||
// Standard Error: 9_890
|
||||
.saturating_add(Weight::from_ref_time(29_775_097).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))
|
||||
|
||||
Reference in New Issue
Block a user