[benchmarks] pr with weights (#1946) (#1971)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

Co-authored-by: Egor_P <egor@parity.io>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
This commit is contained in:
Squirrel
2022-12-08 12:38:58 +00:00
committed by GitHub
parent 5401c47113
commit 97bc16ba7c
39 changed files with 1042 additions and 1010 deletions
@@ -17,8 +17,8 @@
//! Autogenerated weights for `cumulus_pallet_xcmp_queue`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-08-09, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-05, 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("westmint-dev"), DB CACHE: 1024
// Executed Command:
@@ -34,7 +34,7 @@
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/assets/westmint/src/weights
// --output=./parachains/runtimes/assets/westmint/src/weights/cumulus_pallet_xcmp_queue.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -48,13 +48,15 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_u32() -> Weight {
Weight::from_ref_time(5_463_000 as u64)
// Minimum execution time: 8_027 nanoseconds.
Weight::from_ref_time(8_261_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_weight() -> Weight {
Weight::from_ref_time(5_221_000 as u64)
// Minimum execution time: 8_264 nanoseconds.
Weight::from_ref_time(8_417_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -17,8 +17,8 @@
//! Autogenerated weights for `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-05, 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("westmint-dev"), DB CACHE: 1024
// Executed Command:
@@ -48,51 +48,51 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
/// The range of component `b` is `[0, 3932160]`.
fn remark(b: u32, ) -> Weight {
// Minimum execution time: 4_054 nanoseconds.
Weight::from_ref_time(4_119_000 as u64)
// Minimum execution time: 4_510 nanoseconds.
Weight::from_ref_time(4_555_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(409 as u64).saturating_mul(b as u64))
.saturating_add(Weight::from_ref_time(514 as u64).saturating_mul(b as u64))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Minimum execution time: 14_511 nanoseconds.
Weight::from_ref_time(14_771_000 as u64)
// Minimum execution time: 15_110 nanoseconds.
Weight::from_ref_time(15_259_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_494 as u64).saturating_mul(b as u64))
.saturating_add(Weight::from_ref_time(1_603 as u64).saturating_mul(b as u64))
}
// Storage: System Digest (r:1 w:1)
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
fn set_heap_pages() -> Weight {
// Minimum execution time: 9_595 nanoseconds.
Weight::from_ref_time(9_894_000 as u64)
// Minimum execution time: 9_861 nanoseconds.
Weight::from_ref_time(10_200_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn set_storage(i: u32, ) -> Weight {
// Minimum execution time: 4_274 nanoseconds.
Weight::from_ref_time(4_438_000 as u64)
// Standard Error: 872
.saturating_add(Weight::from_ref_time(647_096 as u64).saturating_mul(i as u64))
// Minimum execution time: 4_399 nanoseconds.
Weight::from_ref_time(4_521_000 as u64)
// Standard Error: 853
.saturating_add(Weight::from_ref_time(651_866 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn kill_storage(i: u32, ) -> Weight {
// Minimum execution time: 4_290 nanoseconds.
Weight::from_ref_time(4_421_000 as u64)
// Standard Error: 1_096
.saturating_add(Weight::from_ref_time(562_920 as u64).saturating_mul(i as u64))
// Minimum execution time: 4_546 nanoseconds.
Weight::from_ref_time(4_770_000 as u64)
// Standard Error: 1_039
.saturating_add(Weight::from_ref_time(560_180 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32, ) -> Weight {
// Minimum execution time: 5_962 nanoseconds.
Weight::from_ref_time(6_015_000 as u64)
// Standard Error: 1_201
.saturating_add(Weight::from_ref_time(1_158_200 as u64).saturating_mul(p as u64))
// Minimum execution time: 6_064 nanoseconds.
Weight::from_ref_time(6_138_000 as u64)
// Standard Error: 1_196
.saturating_add(Weight::from_ref_time(1_166_866 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
}
}
@@ -17,8 +17,8 @@
//! Autogenerated weights for `pallet_assets`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-05, 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("westmint-dev"), DB CACHE: 1024
// Executed Command:
@@ -47,44 +47,49 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Storage: Assets Asset (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn create() -> Weight {
// Minimum execution time: 32_711 nanoseconds.
Weight::from_ref_time(33_326_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 33_573 nanoseconds.
Weight::from_ref_time(34_124_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Assets Asset (r:1 w:1)
fn force_create() -> Weight {
// Minimum execution time: 19_417 nanoseconds.
Weight::from_ref_time(19_648_000 as u64)
// Minimum execution time: 20_511 nanoseconds.
Weight::from_ref_time(20_951_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Assets Asset (r:1 w:1)
fn start_destroy() -> Weight {
Weight::from_ref_time(31_000_000 as u64)
// Minimum execution time: 22_013 nanoseconds.
Weight::from_ref_time(22_408_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Accounts (r:1 w:0)
/// The range of component `a` is `[0, 1000]`.
fn destroy_accounts(a: u32, ) -> Weight {
Weight::from_ref_time(39_000_000 as u64)
// Standard Error: 14_298
.saturating_add(Weight::from_ref_time(27_632_144 as u64).saturating_mul(a as u64))
// Storage: Assets Account (r:1 w:0)
// Storage: System Account (r:20 w:20)
/// The range of component `c` is `[0, 1000]`.
fn destroy_accounts(c: u32, ) -> Weight {
// Minimum execution time: 24_993 nanoseconds.
Weight::from_ref_time(25_426_000 as u64)
// Standard Error: 12_684
.saturating_add(Weight::from_ref_time(14_543_706 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(a as u64)))
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(c as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(a as u64)))
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(c as u64)))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:0)
/// The range of component `a` is `[0, 1000]`.
fn destroy_approvals(a: u32, ) -> Weight {
Weight::from_ref_time(39_000_000 as u64)
// Standard Error: 14_298
.saturating_add(Weight::from_ref_time(27_632_144 as u64).saturating_mul(a as u64))
// Minimum execution time: 26_631 nanoseconds.
Weight::from_ref_time(27_000_000 as u64)
// Standard Error: 7_216
.saturating_add(Weight::from_ref_time(14_740_196 as u64).saturating_mul(a as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(a as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
@@ -93,23 +98,24 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Metadata (r:1 w:0)
fn finish_destroy() -> Weight {
Weight::from_ref_time(33_000_000 as u64)
// Minimum execution time: 21_881 nanoseconds.
Weight::from_ref_time(22_201_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:1 w:1)
fn mint() -> Weight {
// Minimum execution time: 38_548 nanoseconds.
Weight::from_ref_time(39_060_000 as u64)
// Minimum execution time: 36_982 nanoseconds.
Weight::from_ref_time(37_546_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:1 w:1)
fn burn() -> Weight {
// Minimum execution time: 42_004 nanoseconds.
Weight::from_ref_time(42_718_000 as u64)
// Minimum execution time: 44_575 nanoseconds.
Weight::from_ref_time(44_993_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -117,8 +123,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
// Minimum execution time: 55_794 nanoseconds.
Weight::from_ref_time(56_508_000 as u64)
// Minimum execution time: 56_172 nanoseconds.
Weight::from_ref_time(56_885_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
@@ -126,8 +132,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
// Minimum execution time: 46_459 nanoseconds.
Weight::from_ref_time(47_366_000 as u64)
// Minimum execution time: 48_196 nanoseconds.
Weight::from_ref_time(48_935_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
@@ -135,53 +141,53 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn force_transfer() -> Weight {
// Minimum execution time: 55_830 nanoseconds.
Weight::from_ref_time(56_563_000 as u64)
// Minimum execution time: 56_517 nanoseconds.
Weight::from_ref_time(56_959_000 as u64)
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Account (r:1 w:1)
fn freeze() -> Weight {
// Minimum execution time: 27_275 nanoseconds.
Weight::from_ref_time(27_612_000 as u64)
// Minimum execution time: 26_487 nanoseconds.
Weight::from_ref_time(26_798_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Account (r:1 w:1)
fn thaw() -> Weight {
// Minimum execution time: 27_833 nanoseconds.
Weight::from_ref_time(28_194_000 as u64)
// Minimum execution time: 26_124 nanoseconds.
Weight::from_ref_time(26_876_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Assets Asset (r:1 w:1)
fn freeze_asset() -> Weight {
// Minimum execution time: 23_454 nanoseconds.
Weight::from_ref_time(23_870_000 as u64)
// Minimum execution time: 21_813 nanoseconds.
Weight::from_ref_time(22_360_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Assets Asset (r:1 w:1)
fn thaw_asset() -> Weight {
// Minimum execution time: 23_361 nanoseconds.
Weight::from_ref_time(23_819_000 as u64)
// Minimum execution time: 22_210 nanoseconds.
Weight::from_ref_time(22_459_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Metadata (r:1 w:0)
fn transfer_ownership() -> Weight {
// Minimum execution time: 26_888 nanoseconds.
Weight::from_ref_time(27_225_000 as u64)
// Minimum execution time: 23_585 nanoseconds.
Weight::from_ref_time(24_076_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Assets Asset (r:1 w:1)
fn set_team() -> Weight {
// Minimum execution time: 25_385 nanoseconds.
Weight::from_ref_time(26_086_000 as u64)
// Minimum execution time: 22_088 nanoseconds.
Weight::from_ref_time(22_485_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -190,16 +196,16 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
/// The range of component `n` is `[0, 50]`.
/// The range of component `s` is `[0, 50]`.
fn set_metadata(_n: u32, _s: u32, ) -> Weight {
// Minimum execution time: 37_786 nanoseconds.
Weight::from_ref_time(40_884_854 as u64)
// Minimum execution time: 36_667 nanoseconds.
Weight::from_ref_time(38_534_857 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Metadata (r:1 w:1)
fn clear_metadata() -> Weight {
// Minimum execution time: 41_582 nanoseconds.
Weight::from_ref_time(42_552_000 as u64)
// Minimum execution time: 38_638 nanoseconds.
Weight::from_ref_time(39_298_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -207,58 +213,60 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Storage: Assets Metadata (r:1 w:1)
/// The range of component `n` is `[0, 50]`.
/// The range of component `s` is `[0, 50]`.
fn force_set_metadata(_n: u32, _s: u32, ) -> Weight {
// Minimum execution time: 25_752 nanoseconds.
Weight::from_ref_time(26_999_915 as u64)
fn force_set_metadata(_n: u32, s: u32, ) -> Weight {
// Minimum execution time: 22_593 nanoseconds.
Weight::from_ref_time(23_598_825 as u64)
// Standard Error: 495
.saturating_add(Weight::from_ref_time(3_510 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Metadata (r:1 w:1)
fn force_clear_metadata() -> Weight {
// Minimum execution time: 42_501 nanoseconds.
Weight::from_ref_time(42_970_000 as u64)
// Minimum execution time: 38_537 nanoseconds.
Weight::from_ref_time(39_228_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Assets Asset (r:1 w:1)
fn force_asset_status() -> Weight {
// Minimum execution time: 24_751 nanoseconds.
Weight::from_ref_time(25_035_000 as u64)
// Minimum execution time: 21_342 nanoseconds.
Weight::from_ref_time(21_858_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
fn approve_transfer() -> Weight {
// Minimum execution time: 42_249 nanoseconds.
Weight::from_ref_time(43_045_000 as u64)
// Minimum execution time: 40_981 nanoseconds.
Weight::from_ref_time(41_425_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Assets Approvals (r:1 w:1)
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer_approved() -> Weight {
// Minimum execution time: 72_203 nanoseconds.
Weight::from_ref_time(73_368_000 as u64)
// Minimum execution time: 72_037 nanoseconds.
Weight::from_ref_time(73_753_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(5 as u64))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
fn cancel_approval() -> Weight {
// Minimum execution time: 44_357 nanoseconds.
Weight::from_ref_time(44_954_000 as u64)
// Minimum execution time: 42_731 nanoseconds.
Weight::from_ref_time(43_825_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
fn force_cancel_approval() -> Weight {
// Minimum execution time: 43_803 nanoseconds.
Weight::from_ref_time(44_451_000 as u64)
// Minimum execution time: 43_046 nanoseconds.
Weight::from_ref_time(43_871_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -17,8 +17,8 @@
//! Autogenerated weights for `pallet_balances`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-05, 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("westmint-dev"), DB CACHE: 1024
// Executed Command:
@@ -48,50 +48,50 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
// Minimum execution time: 48_374 nanoseconds.
Weight::from_ref_time(49_079_000 as u64)
// Minimum execution time: 49_812 nanoseconds.
Weight::from_ref_time(50_191_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
// Minimum execution time: 36_708 nanoseconds.
Weight::from_ref_time(37_012_000 as u64)
// Minimum execution time: 37_028 nanoseconds.
Weight::from_ref_time(37_710_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: System Account (r:1 w:1)
fn set_balance_creating() -> Weight {
// Minimum execution time: 27_657 nanoseconds.
Weight::from_ref_time(28_198_000 as u64)
// Minimum execution time: 27_687 nanoseconds.
Weight::from_ref_time(28_190_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: System Account (r:1 w:1)
fn set_balance_killing() -> Weight {
// Minimum execution time: 31_085 nanoseconds.
Weight::from_ref_time(31_666_000 as u64)
// Minimum execution time: 31_642 nanoseconds.
Weight::from_ref_time(32_117_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: System Account (r:2 w:2)
fn force_transfer() -> Weight {
// Minimum execution time: 48_833 nanoseconds.
Weight::from_ref_time(49_964_000 as u64)
// Minimum execution time: 49_438 nanoseconds.
Weight::from_ref_time(50_419_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: System Account (r:1 w:1)
fn transfer_all() -> Weight {
// Minimum execution time: 41_697 nanoseconds.
Weight::from_ref_time(42_217_000 as u64)
// Minimum execution time: 41_724 nanoseconds.
Weight::from_ref_time(42_855_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: System Account (r:1 w:1)
fn force_unreserve() -> Weight {
// Minimum execution time: 23_357 nanoseconds.
Weight::from_ref_time(23_917_000 as u64)
// Minimum execution time: 23_542 nanoseconds.
Weight::from_ref_time(24_254_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -17,8 +17,8 @@
//! Autogenerated weights for `pallet_collator_selection`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-05, 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("westmint-dev"), DB CACHE: 1024
// Executed Command:
@@ -50,23 +50,23 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Storage: CollatorSelection Invulnerables (r:0 w:1)
/// The range of component `b` is `[1, 100]`.
fn set_invulnerables(b: u32, ) -> Weight {
// Minimum execution time: 24_555 nanoseconds.
Weight::from_ref_time(25_225_411 as u64)
// Standard Error: 3_077
.saturating_add(Weight::from_ref_time(2_505_310 as u64).saturating_mul(b as u64))
// Minimum execution time: 25_335 nanoseconds.
Weight::from_ref_time(26_083_727 as u64)
// Standard Error: 2_997
.saturating_add(Weight::from_ref_time(2_514_132 as u64).saturating_mul(b as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
fn set_desired_candidates() -> Weight {
// Minimum execution time: 15_157 nanoseconds.
Weight::from_ref_time(15_697_000 as u64)
// Minimum execution time: 15_888 nanoseconds.
Weight::from_ref_time(16_303_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
fn set_candidacy_bond() -> Weight {
// Minimum execution time: 15_088 nanoseconds.
Weight::from_ref_time(15_395_000 as u64)
// Minimum execution time: 15_808 nanoseconds.
Weight::from_ref_time(16_178_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: CollatorSelection Candidates (r:1 w:1)
@@ -77,10 +77,10 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
/// The range of component `c` is `[1, 999]`.
fn register_as_candidate(c: u32, ) -> Weight {
// Minimum execution time: 51_544 nanoseconds.
Weight::from_ref_time(68_941_169 as u64)
// Standard Error: 1_079
.saturating_add(Weight::from_ref_time(166_148 as u64).saturating_mul(c as u64))
// Minimum execution time: 52_202 nanoseconds.
Weight::from_ref_time(65_475_393 as u64)
// Standard Error: 982
.saturating_add(Weight::from_ref_time(180_471 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -88,10 +88,10 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
/// The range of component `c` is `[2, 1000]`.
fn leave_intent(c: u32, ) -> Weight {
// Minimum execution time: 37_454 nanoseconds.
Weight::from_ref_time(66_178_252 as u64)
// Standard Error: 1_815
.saturating_add(Weight::from_ref_time(156_678 as u64).saturating_mul(c as u64))
// Minimum execution time: 38_523 nanoseconds.
Weight::from_ref_time(65_890_462 as u64)
// Standard Error: 1_674
.saturating_add(Weight::from_ref_time(162_367 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -99,8 +99,8 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Storage: System BlockWeight (r:1 w:1)
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
fn note_author() -> Weight {
// Minimum execution time: 34_915 nanoseconds.
Weight::from_ref_time(35_465_000 as u64)
// Minimum execution time: 36_184 nanoseconds.
Weight::from_ref_time(36_757_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
@@ -112,10 +112,10 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
/// The range of component `r` is `[1, 1000]`.
/// The range of component `c` is `[1, 1000]`.
fn new_session(_r: u32, c: u32, ) -> Weight {
// Minimum execution time: 24_233 nanoseconds.
Weight::from_ref_time(24_402_000 as u64)
// Standard Error: 651_119
.saturating_add(Weight::from_ref_time(22_568_767 as u64).saturating_mul(c as u64))
// Minimum execution time: 24_341 nanoseconds.
Weight::from_ref_time(24_510_000 as u64)
// Standard Error: 677_917
.saturating_add(Weight::from_ref_time(23_711_706 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(4 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
@@ -17,8 +17,8 @@
//! Autogenerated weights for `pallet_multisig`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-05, 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("westmint-dev"), DB CACHE: 1024
// Executed Command:
@@ -48,22 +48,22 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `z` is `[0, 10000]`.
fn as_multi_threshold_1(z: u32, ) -> Weight {
// Minimum execution time: 21_670 nanoseconds.
Weight::from_ref_time(22_147_334 as u64)
// Minimum execution time: 22_105 nanoseconds.
Weight::from_ref_time(22_667_604 as u64)
// Standard Error: 3
.saturating_add(Weight::from_ref_time(572 as u64).saturating_mul(z as u64))
.saturating_add(Weight::from_ref_time(727 as u64).saturating_mul(z as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_create(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 52_507 nanoseconds.
Weight::from_ref_time(40_653_130 as u64)
// Standard Error: 674
.saturating_add(Weight::from_ref_time(131_741 as u64).saturating_mul(s as u64))
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_565 as u64).saturating_mul(z as u64))
// Minimum execution time: 53_206 nanoseconds.
Weight::from_ref_time(41_496_665 as u64)
// Standard Error: 777
.saturating_add(Weight::from_ref_time(130_503 as u64).saturating_mul(s as u64))
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_722 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -71,12 +71,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[3, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 41_589 nanoseconds.
Weight::from_ref_time(29_959_953 as u64)
// Standard Error: 607
.saturating_add(Weight::from_ref_time(128_804 as u64).saturating_mul(s as u64))
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_569 as u64).saturating_mul(z as u64))
// Minimum execution time: 41_050 nanoseconds.
Weight::from_ref_time(30_029_708 as u64)
// Standard Error: 947
.saturating_add(Weight::from_ref_time(127_849 as u64).saturating_mul(s as u64))
// Standard Error: 9
.saturating_add(Weight::from_ref_time(1_775 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -85,12 +85,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 55_670 nanoseconds.
Weight::from_ref_time(42_914_728 as u64)
// Standard Error: 855
.saturating_add(Weight::from_ref_time(151_748 as u64).saturating_mul(s as u64))
// Standard Error: 8
.saturating_add(Weight::from_ref_time(1_598 as u64).saturating_mul(z as u64))
// Minimum execution time: 56_307 nanoseconds.
Weight::from_ref_time(44_210_475 as u64)
// Standard Error: 1_002
.saturating_add(Weight::from_ref_time(151_585 as u64).saturating_mul(s as u64))
// Standard Error: 9
.saturating_add(Weight::from_ref_time(1_744 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -98,30 +98,30 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_create(s: u32, ) -> Weight {
// Minimum execution time: 35_787 nanoseconds.
Weight::from_ref_time(38_980_944 as u64)
// Standard Error: 1_354
.saturating_add(Weight::from_ref_time(121_327 as u64).saturating_mul(s as u64))
// Minimum execution time: 36_614 nanoseconds.
Weight::from_ref_time(39_531_404 as u64)
// Standard Error: 1_230
.saturating_add(Weight::from_ref_time(132_204 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_approve(s: u32, ) -> Weight {
// Minimum execution time: 26_040 nanoseconds.
Weight::from_ref_time(28_356_508 as u64)
// Standard Error: 1_123
.saturating_add(Weight::from_ref_time(117_232 as u64).saturating_mul(s as u64))
// Minimum execution time: 27_021 nanoseconds.
Weight::from_ref_time(28_493_039 as u64)
// Standard Error: 2_496
.saturating_add(Weight::from_ref_time(146_465 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn cancel_as_multi(s: u32, ) -> Weight {
// Minimum execution time: 35_820 nanoseconds.
Weight::from_ref_time(39_110_888 as u64)
// Standard Error: 1_519
.saturating_add(Weight::from_ref_time(124_864 as u64).saturating_mul(s as u64))
// Minimum execution time: 38_094 nanoseconds.
Weight::from_ref_time(40_324_953 as u64)
// Standard Error: 1_160
.saturating_add(Weight::from_ref_time(130_714 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -17,8 +17,8 @@
//! Autogenerated weights for `pallet_proxy`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-05, 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("westmint-dev"), DB CACHE: 1024
// Executed Command:
@@ -49,10 +49,10 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Storage: Proxy Proxies (r:1 w:0)
/// The range of component `p` is `[1, 31]`.
fn proxy(p: u32, ) -> Weight {
// Minimum execution time: 24_811 nanoseconds.
Weight::from_ref_time(26_160_356 as u64)
// Standard Error: 1_535
.saturating_add(Weight::from_ref_time(32_491 as u64).saturating_mul(p as u64))
// Minimum execution time: 25_003 nanoseconds.
Weight::from_ref_time(26_074_810 as u64)
// Standard Error: 1_968
.saturating_add(Weight::from_ref_time(56_766 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
// Storage: Proxy Proxies (r:1 w:0)
@@ -61,12 +61,12 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn proxy_announced(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 46_188 nanoseconds.
Weight::from_ref_time(46_124_083 as u64)
// Standard Error: 2_557
.saturating_add(Weight::from_ref_time(115_933 as u64).saturating_mul(a as u64))
// Standard Error: 2_642
.saturating_add(Weight::from_ref_time(50_767 as u64).saturating_mul(p as u64))
// Minimum execution time: 46_226 nanoseconds.
Weight::from_ref_time(46_486_708 as u64)
// Standard Error: 2_037
.saturating_add(Weight::from_ref_time(124_323 as u64).saturating_mul(a as u64))
// Standard Error: 2_105
.saturating_add(Weight::from_ref_time(50_322 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -75,12 +75,12 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn remove_announcement(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 30_996 nanoseconds.
Weight::from_ref_time(32_098_297 as u64)
// Standard Error: 1_412
.saturating_add(Weight::from_ref_time(130_355 as u64).saturating_mul(a as u64))
// Standard Error: 1_459
.saturating_add(Weight::from_ref_time(13_057 as u64).saturating_mul(p as u64))
// Minimum execution time: 31_063 nanoseconds.
Weight::from_ref_time(31_994_186 as u64)
// Standard Error: 1_352
.saturating_add(Weight::from_ref_time(144_459 as u64).saturating_mul(a as u64))
// Standard Error: 1_396
.saturating_add(Weight::from_ref_time(17_184 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -89,12 +89,12 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn reject_announcement(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 30_995 nanoseconds.
Weight::from_ref_time(31_636_761 as u64)
// Standard Error: 1_320
.saturating_add(Weight::from_ref_time(144_129 as u64).saturating_mul(a as u64))
// Standard Error: 1_364
.saturating_add(Weight::from_ref_time(20_108 as u64).saturating_mul(p as u64))
// Minimum execution time: 30_996 nanoseconds.
Weight::from_ref_time(31_553_733 as u64)
// Standard Error: 1_132
.saturating_add(Weight::from_ref_time(152_424 as u64).saturating_mul(a as u64))
// Standard Error: 1_170
.saturating_add(Weight::from_ref_time(21_333 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -104,42 +104,42 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn announce(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 40_938 nanoseconds.
Weight::from_ref_time(41_141_687 as u64)
// Standard Error: 1_803
.saturating_add(Weight::from_ref_time(126_419 as u64).saturating_mul(a as u64))
// Standard Error: 1_863
.saturating_add(Weight::from_ref_time(70_683 as u64).saturating_mul(p as u64))
// Minimum execution time: 41_344 nanoseconds.
Weight::from_ref_time(41_731_569 as u64)
// Standard Error: 1_797
.saturating_add(Weight::from_ref_time(133_823 as u64).saturating_mul(a as u64))
// Standard Error: 1_857
.saturating_add(Weight::from_ref_time(63_405 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn add_proxy(p: u32, ) -> Weight {
// Minimum execution time: 33_352 nanoseconds.
Weight::from_ref_time(34_336_626 as u64)
// Standard Error: 2_159
.saturating_add(Weight::from_ref_time(80_699 as u64).saturating_mul(p as u64))
// Minimum execution time: 33_944 nanoseconds.
Weight::from_ref_time(35_321_583 as u64)
// Standard Error: 2_268
.saturating_add(Weight::from_ref_time(69_023 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn remove_proxy(p: u32, ) -> Weight {
// Minimum execution time: 33_180 nanoseconds.
Weight::from_ref_time(34_517_547 as u64)
// Standard Error: 2_173
.saturating_add(Weight::from_ref_time(90_736 as u64).saturating_mul(p as u64))
// Minimum execution time: 33_301 nanoseconds.
Weight::from_ref_time(34_802_416 as u64)
// Standard Error: 2_216
.saturating_add(Weight::from_ref_time(90_615 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn remove_proxies(p: u32, ) -> Weight {
// Minimum execution time: 28_964 nanoseconds.
Weight::from_ref_time(30_086_459 as u64)
// Standard Error: 1_793
.saturating_add(Weight::from_ref_time(44_565 as u64).saturating_mul(p as u64))
// Minimum execution time: 29_101 nanoseconds.
Weight::from_ref_time(30_266_070 as u64)
// Standard Error: 1_706
.saturating_add(Weight::from_ref_time(46_622 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -147,20 +147,20 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn create_pure(p: u32, ) -> Weight {
// Minimum execution time: 35_769 nanoseconds.
Weight::from_ref_time(37_002_663 as u64)
// Standard Error: 1_588
.saturating_add(Weight::from_ref_time(18_966 as u64).saturating_mul(p as u64))
// Minimum execution time: 36_415 nanoseconds.
Weight::from_ref_time(37_892_332 as u64)
// Standard Error: 1_731
.saturating_add(Weight::from_ref_time(3_928 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: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[0, 30]`.
fn kill_pure(p: u32, ) -> Weight {
// Minimum execution time: 30_403 nanoseconds.
Weight::from_ref_time(31_394_208 as u64)
// Standard Error: 1_478
.saturating_add(Weight::from_ref_time(44_901 as u64).saturating_mul(p as u64))
// Minimum execution time: 30_494 nanoseconds.
Weight::from_ref_time(31_589_552 as u64)
// Standard Error: 1_757
.saturating_add(Weight::from_ref_time(51_584 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -17,8 +17,8 @@
//! Autogenerated weights for `pallet_session`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-05, 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("westmint-dev"), DB CACHE: 1024
// Executed Command:
@@ -49,16 +49,16 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
// Storage: Session NextKeys (r:1 w:1)
// Storage: Session KeyOwner (r:1 w:1)
fn set_keys() -> Weight {
// Minimum execution time: 25_676 nanoseconds.
Weight::from_ref_time(26_126_000 as u64)
// Minimum execution time: 25_757 nanoseconds.
Weight::from_ref_time(26_275_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Session NextKeys (r:1 w:1)
// Storage: Session KeyOwner (r:0 w:1)
fn purge_keys() -> Weight {
// Minimum execution time: 22_376 nanoseconds.
Weight::from_ref_time(22_698_000 as u64)
// Minimum execution time: 22_129 nanoseconds.
Weight::from_ref_time(22_536_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -17,8 +17,8 @@
//! Autogenerated weights for `pallet_timestamp`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-05, 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("westmint-dev"), DB CACHE: 1024
// Executed Command:
@@ -47,14 +47,15 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
// Storage: Timestamp Now (r:1 w:1)
// Storage: Aura CurrentSlot (r:1 w:0)
fn set() -> Weight {
// Minimum execution time: 8_539 nanoseconds.
Weight::from_ref_time(8_835_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
// Minimum execution time: 10_881 nanoseconds.
Weight::from_ref_time(11_211_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
fn on_finalize() -> Weight {
// Minimum execution time: 4_780 nanoseconds.
Weight::from_ref_time(4_971_000 as u64)
// Minimum execution time: 4_908 nanoseconds.
Weight::from_ref_time(5_115_000 as u64)
}
}
@@ -17,8 +17,8 @@
//! Autogenerated weights for `pallet_uniques`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-05, 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("westmint-dev"), DB CACHE: 1024
// Executed Command:
@@ -49,16 +49,16 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques ClassAccount (r:0 w:1)
fn create() -> Weight {
// Minimum execution time: 34_128 nanoseconds.
Weight::from_ref_time(34_756_000 as u64)
// Minimum execution time: 35_061 nanoseconds.
Weight::from_ref_time(35_721_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques ClassAccount (r:0 w:1)
fn force_create() -> Weight {
// Minimum execution time: 22_112 nanoseconds.
Weight::from_ref_time(22_776_000 as u64)
// Minimum execution time: 22_812 nanoseconds.
Weight::from_ref_time(23_268_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -74,13 +74,14 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
/// The range of component `m` is `[0, 1000]`.
/// The range of component `a` is `[0, 1000]`.
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 13_000
.saturating_add(Weight::from_ref_time(10_002_000 as u64).saturating_mul(n as u64))
// Standard Error: 13_000
.saturating_add(Weight::from_ref_time(1_796_000 as u64).saturating_mul(m as u64))
// Standard Error: 13_000
.saturating_add(Weight::from_ref_time(1_646_000 as u64).saturating_mul(a as u64))
// Minimum execution time: 2_518_363 nanoseconds.
Weight::from_ref_time(2_538_933_000 as u64)
// Standard Error: 29_142
.saturating_add(Weight::from_ref_time(8_817_380 as u64).saturating_mul(n as u64))
// Standard Error: 29_142
.saturating_add(Weight::from_ref_time(355_519 as u64).saturating_mul(m as u64))
// Standard Error: 29_142
.saturating_add(Weight::from_ref_time(218_699 as u64).saturating_mul(a as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64)))
.saturating_add(T::DbWeight::get().writes(4 as u64))
@@ -93,8 +94,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Storage: Uniques CollectionMaxSupply (r:1 w:0)
// Storage: Uniques Account (r:0 w:1)
fn mint() -> Weight {
// Minimum execution time: 43_312 nanoseconds.
Weight::from_ref_time(43_855_000 as u64)
// Minimum execution time: 43_717 nanoseconds.
Weight::from_ref_time(44_025_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
@@ -103,8 +104,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Storage: Uniques Account (r:0 w:1)
// Storage: Uniques ItemPriceOf (r:0 w:1)
fn burn() -> Weight {
// Minimum execution time: 46_655 nanoseconds.
Weight::from_ref_time(47_326_000 as u64)
// Minimum execution time: 45_450 nanoseconds.
Weight::from_ref_time(46_246_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
@@ -113,8 +114,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Storage: Uniques Account (r:0 w:2)
// Storage: Uniques ItemPriceOf (r:0 w:1)
fn transfer() -> Weight {
// Minimum execution time: 35_543 nanoseconds.
Weight::from_ref_time(36_056_000 as u64)
// Minimum execution time: 35_863 nanoseconds.
Weight::from_ref_time(36_532_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
@@ -122,10 +123,10 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Storage: Uniques Asset (r:102 w:102)
/// The range of component `i` is `[0, 5000]`.
fn redeposit(i: u32, ) -> Weight {
// Minimum execution time: 24_807 nanoseconds.
Weight::from_ref_time(24_934_000 as u64)
// Standard Error: 10_238
.saturating_add(Weight::from_ref_time(11_411_461 as u64).saturating_mul(i as u64))
// Minimum execution time: 23_882 nanoseconds.
Weight::from_ref_time(24_152_000 as u64)
// Standard Error: 9_316
.saturating_add(Weight::from_ref_time(11_330_503 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
@@ -134,30 +135,30 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Storage: Uniques Asset (r:1 w:1)
// Storage: Uniques Class (r:1 w:0)
fn freeze() -> Weight {
// Minimum execution time: 27_996 nanoseconds.
Weight::from_ref_time(28_315_000 as u64)
// Minimum execution time: 27_969 nanoseconds.
Weight::from_ref_time(28_436_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Uniques Asset (r:1 w:1)
// Storage: Uniques Class (r:1 w:0)
fn thaw() -> Weight {
// Minimum execution time: 27_905 nanoseconds.
Weight::from_ref_time(28_351_000 as u64)
// Minimum execution time: 28_177 nanoseconds.
Weight::from_ref_time(28_854_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Uniques Class (r:1 w:1)
fn freeze_collection() -> Weight {
// Minimum execution time: 23_316 nanoseconds.
Weight::from_ref_time(23_795_000 as u64)
// Minimum execution time: 22_800 nanoseconds.
Weight::from_ref_time(23_233_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Uniques Class (r:1 w:1)
fn thaw_collection() -> Weight {
// Minimum execution time: 22_641 nanoseconds.
Weight::from_ref_time(23_468_000 as u64)
// Minimum execution time: 23_001 nanoseconds.
Weight::from_ref_time(23_547_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -165,23 +166,23 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques ClassAccount (r:0 w:2)
fn transfer_ownership() -> Weight {
// Minimum execution time: 31_605 nanoseconds.
Weight::from_ref_time(32_363_000 as u64)
// Minimum execution time: 32_315 nanoseconds.
Weight::from_ref_time(32_877_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: Uniques Class (r:1 w:1)
fn set_team() -> Weight {
// Minimum execution time: 24_165 nanoseconds.
Weight::from_ref_time(24_604_000 as u64)
// Minimum execution time: 24_174 nanoseconds.
Weight::from_ref_time(24_798_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques ClassAccount (r:0 w:1)
fn force_item_status() -> Weight {
// Minimum execution time: 26_614 nanoseconds.
Weight::from_ref_time(27_158_000 as u64)
// Minimum execution time: 26_640 nanoseconds.
Weight::from_ref_time(27_351_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -189,8 +190,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
// Storage: Uniques Attribute (r:1 w:1)
fn set_attribute() -> Weight {
// Minimum execution time: 50_007 nanoseconds.
Weight::from_ref_time(51_013_000 as u64)
// Minimum execution time: 50_668 nanoseconds.
Weight::from_ref_time(51_056_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -198,79 +199,79 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
// Storage: Uniques Attribute (r:1 w:1)
fn clear_attribute() -> Weight {
// Minimum execution time: 49_228 nanoseconds.
Weight::from_ref_time(51_142_000 as u64)
// Minimum execution time: 49_995 nanoseconds.
Weight::from_ref_time(51_266_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
fn set_metadata() -> Weight {
// Minimum execution time: 40_898 nanoseconds.
Weight::from_ref_time(41_453_000 as u64)
// Minimum execution time: 40_384 nanoseconds.
Weight::from_ref_time(41_639_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
fn clear_metadata() -> Weight {
// Minimum execution time: 42_863 nanoseconds.
Weight::from_ref_time(43_868_000 as u64)
// Minimum execution time: 43_745 nanoseconds.
Weight::from_ref_time(44_187_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques ClassMetadataOf (r:1 w:1)
fn set_collection_metadata() -> Weight {
// Minimum execution time: 39_108 nanoseconds.
Weight::from_ref_time(39_897_000 as u64)
// Minimum execution time: 39_481 nanoseconds.
Weight::from_ref_time(40_153_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: Uniques Class (r:1 w:0)
// Storage: Uniques ClassMetadataOf (r:1 w:1)
fn clear_collection_metadata() -> Weight {
// Minimum execution time: 40_116 nanoseconds.
Weight::from_ref_time(40_778_000 as u64)
// Minimum execution time: 40_472 nanoseconds.
Weight::from_ref_time(41_092_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Uniques Class (r:1 w:0)
// Storage: Uniques Asset (r:1 w:1)
fn approve_transfer() -> Weight {
// Minimum execution time: 29_416 nanoseconds.
Weight::from_ref_time(29_816_000 as u64)
// Minimum execution time: 29_967 nanoseconds.
Weight::from_ref_time(30_479_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Uniques Class (r:1 w:0)
// Storage: Uniques Asset (r:1 w:1)
fn cancel_approval() -> Weight {
// Minimum execution time: 30_057 nanoseconds.
Weight::from_ref_time(30_646_000 as u64)
// Minimum execution time: 29_132 nanoseconds.
Weight::from_ref_time(29_360_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
fn set_accept_ownership() -> Weight {
// Minimum execution time: 26_916 nanoseconds.
Weight::from_ref_time(27_515_000 as u64)
// Minimum execution time: 27_273 nanoseconds.
Weight::from_ref_time(27_836_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Uniques CollectionMaxSupply (r:1 w:1)
// Storage: Uniques Class (r:1 w:0)
fn set_collection_max_supply() -> Weight {
// Minimum execution time: 25_734 nanoseconds.
Weight::from_ref_time(26_421_000 as u64)
// Minimum execution time: 25_679 nanoseconds.
Weight::from_ref_time(26_205_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Uniques Asset (r:1 w:0)
// Storage: Uniques ItemPriceOf (r:0 w:1)
fn set_price() -> Weight {
// Minimum execution time: 26_624 nanoseconds.
Weight::from_ref_time(27_238_000 as u64)
// Minimum execution time: 26_653 nanoseconds.
Weight::from_ref_time(27_304_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -279,8 +280,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Storage: Uniques Class (r:1 w:0)
// Storage: Uniques Account (r:0 w:2)
fn buy_item() -> Weight {
// Minimum execution time: 46_714 nanoseconds.
Weight::from_ref_time(47_535_000 as u64)
// Minimum execution time: 46_651 nanoseconds.
Weight::from_ref_time(47_179_000 as u64)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
@@ -17,8 +17,8 @@
//! Autogenerated weights for `pallet_utility`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-05, 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("westmint-dev"), DB CACHE: 1024
// Executed Command:
@@ -48,31 +48,31 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
/// The range of component `c` is `[0, 1000]`.
fn batch(c: u32, ) -> Weight {
// Minimum execution time: 13_604 nanoseconds.
Weight::from_ref_time(18_616_710 as u64)
// Standard Error: 1_900
.saturating_add(Weight::from_ref_time(3_949_014 as u64).saturating_mul(c as u64))
// Minimum execution time: 14_294 nanoseconds.
Weight::from_ref_time(17_983_295 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(4_244_140 as u64).saturating_mul(c as u64))
}
fn as_derivative() -> Weight {
// Minimum execution time: 7_152 nanoseconds.
Weight::from_ref_time(7_417_000 as u64)
// Minimum execution time: 7_558 nanoseconds.
Weight::from_ref_time(7_849_000 as u64)
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
// Minimum execution time: 13_962 nanoseconds.
Weight::from_ref_time(20_218_736 as u64)
// Standard Error: 1_815
.saturating_add(Weight::from_ref_time(4_075_367 as u64).saturating_mul(c as u64))
// Minimum execution time: 14_577 nanoseconds.
Weight::from_ref_time(17_372_315 as u64)
// Standard Error: 2_890
.saturating_add(Weight::from_ref_time(4_373_643 as u64).saturating_mul(c as u64))
}
fn dispatch_as() -> Weight {
// Minimum execution time: 16_095 nanoseconds.
Weight::from_ref_time(16_549_000 as u64)
// Minimum execution time: 16_884 nanoseconds.
Weight::from_ref_time(17_326_000 as u64)
}
/// The range of component `c` is `[0, 1000]`.
fn force_batch(c: u32, ) -> Weight {
// Minimum execution time: 13_806 nanoseconds.
Weight::from_ref_time(20_837_380 as u64)
// Standard Error: 1_967
.saturating_add(Weight::from_ref_time(3_988_914 as u64).saturating_mul(c as u64))
// Minimum execution time: 14_434 nanoseconds.
Weight::from_ref_time(24_528_097 as u64)
// Standard Error: 2_419
.saturating_add(Weight::from_ref_time(4_213_068 as u64).saturating_mul(c as u64))
}
}
@@ -18,8 +18,8 @@
//! Autogenerated weights for `pallet_xcm_benchmarks::fungible`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-05, 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("westmint-dev"), DB CACHE: 1024
// Executed Command:
@@ -50,13 +50,13 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo<T> {
// Storage: System Account (r:1 w:1)
pub(crate) fn withdraw_asset() -> Weight {
Weight::from_ref_time(36_468_000 as u64)
Weight::from_ref_time(36_432_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: System Account (r:2 w:2)
pub(crate) fn transfer_asset() -> Weight {
Weight::from_ref_time(42_077_000 as u64)
Weight::from_ref_time(41_725_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -68,16 +68,16 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
pub(crate) fn transfer_reserve_asset() -> Weight {
Weight::from_ref_time(58_674_000 as u64)
Weight::from_ref_time(60_182_000 as u64)
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
pub(crate) fn receive_teleported_asset() -> Weight {
Weight::from_ref_time(7_262_000 as u64)
Weight::from_ref_time(7_509_000 as u64)
}
// Storage: System Account (r:1 w:1)
pub(crate) fn deposit_asset() -> Weight {
Weight::from_ref_time(36_970_000 as u64)
Weight::from_ref_time(37_620_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -89,7 +89,7 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
pub(crate) fn deposit_reserve_asset() -> Weight {
Weight::from_ref_time(56_065_000 as u64)
Weight::from_ref_time(56_103_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
@@ -100,7 +100,7 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
pub(crate) fn initiate_teleport() -> Weight {
Weight::from_ref_time(28_795_000 as u64)
Weight::from_ref_time(30_157_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -18,8 +18,8 @@
//! Autogenerated weights for `pallet_xcm_benchmarks::generic`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-12-05, 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("westmint-dev"), DB CACHE: 1024
// Executed Command:
@@ -55,38 +55,38 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
pub(crate) fn query_holding() -> Weight {
Weight::from_ref_time(706_307_000 as u64)
Weight::from_ref_time(899_374_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
pub(crate) fn buy_execution() -> Weight {
Weight::from_ref_time(9_790_000 as u64)
Weight::from_ref_time(9_950_000 as u64)
}
// Storage: PolkadotXcm Queries (r:1 w:0)
pub(crate) fn query_response() -> Weight {
Weight::from_ref_time(19_525_000 as u64)
Weight::from_ref_time(20_506_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
pub(crate) fn transact() -> Weight {
Weight::from_ref_time(22_265_000 as u64)
Weight::from_ref_time(23_856_000 as u64)
}
pub(crate) fn refund_surplus() -> Weight {
Weight::from_ref_time(9_945_000 as u64)
Weight::from_ref_time(10_256_000 as u64)
}
pub(crate) fn set_error_handler() -> Weight {
Weight::from_ref_time(6_128_000 as u64)
Weight::from_ref_time(6_283_000 as u64)
}
pub(crate) fn set_appendix() -> Weight {
Weight::from_ref_time(6_348_000 as u64)
Weight::from_ref_time(6_260_000 as u64)
}
pub(crate) fn clear_error() -> Weight {
Weight::from_ref_time(6_131_000 as u64)
Weight::from_ref_time(6_267_000 as u64)
}
pub(crate) fn descend_origin() -> Weight {
Weight::from_ref_time(7_391_000 as u64)
Weight::from_ref_time(7_353_000 as u64)
}
pub(crate) fn clear_origin() -> Weight {
Weight::from_ref_time(6_135_000 as u64)
Weight::from_ref_time(6_399_000 as u64)
}
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
@@ -94,18 +94,18 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
pub(crate) fn report_error() -> Weight {
Weight::from_ref_time(17_348_000 as u64)
Weight::from_ref_time(18_526_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: PolkadotXcm AssetTraps (r:1 w:1)
pub(crate) fn claim_asset() -> Weight {
Weight::from_ref_time(24_587_000 as u64)
Weight::from_ref_time(25_910_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
pub(crate) fn trap() -> Weight {
Weight::from_ref_time(6_133_000 as u64)
Weight::from_ref_time(6_330_000 as u64)
}
// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
@@ -114,13 +114,13 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
pub(crate) fn subscribe_version() -> Weight {
Weight::from_ref_time(20_739_000 as u64)
Weight::from_ref_time(21_898_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1)
pub(crate) fn unsubscribe_version() -> Weight {
Weight::from_ref_time(9_419_000 as u64)
Weight::from_ref_time(9_676_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: ParachainInfo ParachainId (r:1 w:0)
@@ -130,7 +130,7 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
pub(crate) fn initiate_reserve_withdraw() -> Weight {
Weight::from_ref_time(883_777_000 as u64)
Weight::from_ref_time(1_090_826_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}