Skip to content

Commit

Permalink
[create-pull-request] automated change (#411)
Browse files Browse the repository at this point in the history
Co-authored-by: v9n <[email protected]>
Co-authored-by: Vinh Quốc Nguyễn <[email protected]>
  • Loading branch information
3 people committed Aug 8, 2023
1 parent bbe3c18 commit 4885534
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 33 deletions.
50 changes: 25 additions & 25 deletions pallets/valve/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//! Autogenerated weights for pallet_valve
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-05-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-08-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `actions-runner-1`, CPU: `Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("turing-dev"), DB CACHE: 1024

Expand Down Expand Up @@ -46,14 +46,14 @@
// ./.maintain/frame-weight-template.hbs

// Summary:
//:close_valve 15_124_000
//:open_valve 15_883_000
//:close_pallet_gate_new 19_626_000
//:close_pallet_gate_existing 13_127_000
//:open_pallet_gate 20_086_000
//:open_pallet_gates 21_864_000
//:stop_scheduled_tasks 14_799_000
//:start_scheduled_tasks 15_560_000
//:close_valve 14_956_000
//:open_valve 15_697_000
//:close_pallet_gate_new 19_636_000
//:close_pallet_gate_existing 16_000_000
//:open_pallet_gate 20_609_000
//:open_pallet_gates 56_131_000
//:stop_scheduled_tasks 14_320_000
//:start_scheduled_tasks 26_379_000

#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
Expand Down Expand Up @@ -82,7 +82,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Valve ValveClosed (r:1 w:1)
// Proof Skipped: Valve ValveClosed (max_values: Some(1), max_size: None, mode: Measured)
fn close_valve() -> Weight {
Weight::from_ref_time(15_124_000 as u64)
Weight::from_ref_time(14_956_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
Expand All @@ -91,7 +91,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Valve ValveClosed (r:1 w:1)
// Proof Skipped: Valve ValveClosed (max_values: Some(1), max_size: None, mode: Measured)
fn open_valve() -> Weight {
Weight::from_ref_time(15_883_000 as u64)
Weight::from_ref_time(15_697_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
Expand All @@ -104,7 +104,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Valve ClosedPalletCount (r:1 w:1)
// Proof Skipped: Valve ClosedPalletCount (max_values: Some(1), max_size: None, mode: Measured)
fn close_pallet_gate_new() -> Weight {
Weight::from_ref_time(19_626_000 as u64)
Weight::from_ref_time(19_636_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
Expand All @@ -115,7 +115,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Valve ClosedPallets (r:1 w:1)
// Proof Skipped: Valve ClosedPallets (max_values: None, max_size: None, mode: Measured)
fn close_pallet_gate_existing() -> Weight {
Weight::from_ref_time(13_127_000 as u64)
Weight::from_ref_time(16_000_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
Expand All @@ -128,7 +128,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Valve ClosedPalletCount (r:1 w:1)
// Proof Skipped: Valve ClosedPalletCount (max_values: Some(1), max_size: None, mode: Measured)
fn open_pallet_gate() -> Weight {
Weight::from_ref_time(20_086_000 as u64)
Weight::from_ref_time(20_609_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
Expand All @@ -139,7 +139,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Valve ClosedPallets (r:0 w:5)
// Proof Skipped: Valve ClosedPallets (max_values: None, max_size: None, mode: Measured)
fn open_pallet_gates() -> Weight {
Weight::from_ref_time(21_864_000 as u64)
Weight::from_ref_time(56_131_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
}
Expand All @@ -148,7 +148,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: AutomationTime Shutdown (r:1 w:1)
// Proof Skipped: AutomationTime Shutdown (max_values: Some(1), max_size: None, mode: Measured)
fn stop_scheduled_tasks() -> Weight {
Weight::from_ref_time(14_799_000 as u64)
Weight::from_ref_time(14_320_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
Expand All @@ -157,7 +157,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: AutomationTime Shutdown (r:1 w:1)
// Proof Skipped: AutomationTime Shutdown (max_values: Some(1), max_size: None, mode: Measured)
fn start_scheduled_tasks() -> Weight {
Weight::from_ref_time(15_560_000 as u64)
Weight::from_ref_time(26_379_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
Expand All @@ -170,7 +170,7 @@ impl WeightInfo for () {
// Storage: Valve ValveClosed (r:1 w:1)
// Proof Skipped: Valve ValveClosed (max_values: Some(1), max_size: None, mode: Measured)
fn close_valve() -> Weight {
Weight::from_ref_time(15_124_000 as u64)
Weight::from_ref_time(14_956_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
Expand All @@ -179,7 +179,7 @@ impl WeightInfo for () {
// Storage: Valve ValveClosed (r:1 w:1)
// Proof Skipped: Valve ValveClosed (max_values: Some(1), max_size: None, mode: Measured)
fn open_valve() -> Weight {
Weight::from_ref_time(15_883_000 as u64)
Weight::from_ref_time(15_697_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
Expand All @@ -192,7 +192,7 @@ impl WeightInfo for () {
// Storage: Valve ClosedPalletCount (r:1 w:1)
// Proof Skipped: Valve ClosedPalletCount (max_values: Some(1), max_size: None, mode: Measured)
fn close_pallet_gate_new() -> Weight {
Weight::from_ref_time(19_626_000 as u64)
Weight::from_ref_time(19_636_000 as u64)
.saturating_add(RocksDbWeight::get().reads(4 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
}
Expand All @@ -203,7 +203,7 @@ impl WeightInfo for () {
// Storage: Valve ClosedPallets (r:1 w:1)
// Proof Skipped: Valve ClosedPallets (max_values: None, max_size: None, mode: Measured)
fn close_pallet_gate_existing() -> Weight {
Weight::from_ref_time(13_127_000 as u64)
Weight::from_ref_time(16_000_000 as u64)
.saturating_add(RocksDbWeight::get().reads(3 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
Expand All @@ -216,7 +216,7 @@ impl WeightInfo for () {
// Storage: Valve ClosedPalletCount (r:1 w:1)
// Proof Skipped: Valve ClosedPalletCount (max_values: Some(1), max_size: None, mode: Measured)
fn open_pallet_gate() -> Weight {
Weight::from_ref_time(20_086_000 as u64)
Weight::from_ref_time(20_609_000 as u64)
.saturating_add(RocksDbWeight::get().reads(4 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
}
Expand All @@ -227,7 +227,7 @@ impl WeightInfo for () {
// Storage: Valve ClosedPallets (r:0 w:5)
// Proof Skipped: Valve ClosedPallets (max_values: None, max_size: None, mode: Measured)
fn open_pallet_gates() -> Weight {
Weight::from_ref_time(21_864_000 as u64)
Weight::from_ref_time(56_131_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(6 as u64))
}
Expand All @@ -236,7 +236,7 @@ impl WeightInfo for () {
// Storage: AutomationTime Shutdown (r:1 w:1)
// Proof Skipped: AutomationTime Shutdown (max_values: Some(1), max_size: None, mode: Measured)
fn stop_scheduled_tasks() -> Weight {
Weight::from_ref_time(14_799_000 as u64)
Weight::from_ref_time(14_320_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
Expand All @@ -245,7 +245,7 @@ impl WeightInfo for () {
// Storage: AutomationTime Shutdown (r:1 w:1)
// Proof Skipped: AutomationTime Shutdown (max_values: Some(1), max_size: None, mode: Measured)
fn start_scheduled_tasks() -> Weight {
Weight::from_ref_time(15_560_000 as u64)
Weight::from_ref_time(26_379_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
Expand Down
16 changes: 8 additions & 8 deletions pallets/vesting/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//! Autogenerated weights for pallet_vesting
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-05-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-08-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `actions-runner-1`, CPU: `Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("turing-dev"), DB CACHE: 1024

Expand Down Expand Up @@ -46,7 +46,7 @@
// ./.maintain/frame-weight-template.hbs

// Summary:
//:vest 17_796_009
//:vest 23_043_860

#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
Expand All @@ -73,9 +73,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Skipped: Vesting TotalUnvestedAllocation (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `v` is `[0, 20]`.
fn vest(v: u32, ) -> Weight {
Weight::from_ref_time(17_796_009 as u64)
// Standard Error: 62_657
.saturating_add(Weight::from_ref_time(19_887_853 as u64).saturating_mul(v as u64))
Weight::from_ref_time(23_043_860 as u64)
// Standard Error: 92_370
.saturating_add(Weight::from_ref_time(17_490_177 as u64).saturating_mul(v as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
.saturating_add(T::DbWeight::get().writes(2 as u64))
Expand All @@ -95,9 +95,9 @@ impl WeightInfo for () {
// Proof Skipped: Vesting TotalUnvestedAllocation (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `v` is `[0, 20]`.
fn vest(v: u32, ) -> Weight {
Weight::from_ref_time(17_796_009 as u64)
// Standard Error: 62_657
.saturating_add(Weight::from_ref_time(19_887_853 as u64).saturating_mul(v as u64))
Weight::from_ref_time(23_043_860 as u64)
// Standard Error: 92_370
.saturating_add(Weight::from_ref_time(17_490_177 as u64).saturating_mul(v as u64))
.saturating_add(RocksDbWeight::get().reads(3 as u64))
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(v as u64)))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
Expand Down

0 comments on commit 4885534

Please sign in to comment.