Backport weights from 9360 (#2038)

* [benchmarks] pr with weights (#2026)

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

* [benchmarks] pr with weights Collectives (#2025)

* [benchmarks] pr with weights

* provide veto method for trait

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: muharem <ismailov.m.h@gmail.com>

* [benchmarks] pr with weights (#2027)

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

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: muharem <ismailov.m.h@gmail.com>
This commit is contained in:
Egor_P
2022-12-29 11:54:45 +01:00
committed by GitHub
parent ac28cda2a6
commit f3fd88fae0
70 changed files with 2531 additions and 2536 deletions
@@ -17,7 +17,7 @@
//! Autogenerated weights for `cumulus_pallet_xcmp_queue`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-21, 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
@@ -48,16 +48,16 @@ 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 {
// 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))
// Minimum execution time: 6_777 nanoseconds.
Weight::from_ref_time(7_022_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_weight() -> Weight {
// 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))
// Minimum execution time: 7_026 nanoseconds.
Weight::from_ref_time(7_206_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -17,7 +17,7 @@
//! Autogenerated weights for `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-21, 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
@@ -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_510 nanoseconds.
Weight::from_ref_time(4_555_000 as u64)
// Minimum execution time: 3_875 nanoseconds.
Weight::from_ref_time(3_969_000)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(514 as u64).saturating_mul(b as u64))
.saturating_add(Weight::from_ref_time(412).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Minimum execution time: 15_110 nanoseconds.
Weight::from_ref_time(15_259_000 as u64)
// Minimum execution time: 12_604 nanoseconds.
Weight::from_ref_time(12_909_000)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_603 as u64).saturating_mul(b as u64))
.saturating_add(Weight::from_ref_time(1_769).saturating_mul(b.into()))
}
// Storage: System Digest (r:1 w:1)
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
fn set_heap_pages() -> Weight {
// 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))
// Minimum execution time: 8_643 nanoseconds.
Weight::from_ref_time(9_165_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// 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_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)))
// Minimum execution time: 3_751 nanoseconds.
Weight::from_ref_time(3_968_000)
// Standard Error: 2_178
.saturating_add(Weight::from_ref_time(620_130).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// 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_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)))
// Minimum execution time: 3_824 nanoseconds.
Weight::from_ref_time(3_926_000)
// Standard Error: 1_073
.saturating_add(Weight::from_ref_time(447_424).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32, ) -> Weight {
// 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)))
// Minimum execution time: 5_507 nanoseconds.
Weight::from_ref_time(5_668_000)
// Standard Error: 1_333
.saturating_add(Weight::from_ref_time(970_340).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
}
@@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_assets`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-21, 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
@@ -49,225 +49,227 @@ 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: 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))
// Minimum execution time: 27_639 nanoseconds.
Weight::from_ref_time(28_249_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Assets Asset (r:1 w:1)
fn force_create() -> Weight {
// 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))
// Minimum execution time: 17_537 nanoseconds.
Weight::from_ref_time(17_837_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn start_destroy() -> Weight {
// 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))
// Minimum execution time: 19_233 nanoseconds.
Weight::from_ref_time(19_550_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
// 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((2 as u64).saturating_mul(c as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(c as u64)))
// Minimum execution time: 21_424 nanoseconds.
Weight::from_ref_time(21_798_000)
// Standard Error: 14_714
.saturating_add(Weight::from_ref_time(13_304_772).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into())))
}
// 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 {
// 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))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(a as u64)))
// Minimum execution time: 22_437 nanoseconds.
Weight::from_ref_time(22_782_000)
// Standard Error: 8_328
.saturating_add(Weight::from_ref_time(13_113_389).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Metadata (r:1 w:0)
fn finish_destroy() -> Weight {
// 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))
// Minimum execution time: 18_963 nanoseconds.
Weight::from_ref_time(19_203_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:1 w:1)
fn mint() -> Weight {
// 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))
// Minimum execution time: 31_210 nanoseconds.
Weight::from_ref_time(31_775_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:1 w:1)
fn burn() -> Weight {
// 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))
// Minimum execution time: 37_564 nanoseconds.
Weight::from_ref_time(37_945_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
// 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))
// Minimum execution time: 47_205 nanoseconds.
Weight::from_ref_time(48_447_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
// 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))
// Minimum execution time: 40_911 nanoseconds.
Weight::from_ref_time(41_564_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn force_transfer() -> Weight {
// 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))
// Minimum execution time: 46_813 nanoseconds.
Weight::from_ref_time(47_453_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Account (r:1 w:1)
fn freeze() -> Weight {
// 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))
// Minimum execution time: 22_433 nanoseconds.
Weight::from_ref_time(22_929_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Account (r:1 w:1)
fn thaw() -> Weight {
// 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))
// Minimum execution time: 22_022 nanoseconds.
Weight::from_ref_time(22_418_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn freeze_asset() -> Weight {
// 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))
// Minimum execution time: 18_413 nanoseconds.
Weight::from_ref_time(19_054_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn thaw_asset() -> Weight {
// 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))
// Minimum execution time: 18_704 nanoseconds.
Weight::from_ref_time(19_104_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Metadata (r:1 w:0)
fn transfer_ownership() -> Weight {
// 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))
// Minimum execution time: 19_428 nanoseconds.
Weight::from_ref_time(19_849_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn set_team() -> Weight {
// 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))
// Minimum execution time: 18_571 nanoseconds.
Weight::from_ref_time(19_090_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Metadata (r:1 w:1)
/// 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: 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))
fn set_metadata(_n: u32, s: u32, ) -> Weight {
// Minimum execution time: 30_434 nanoseconds.
Weight::from_ref_time(32_109_763)
// Standard Error: 922
.saturating_add(Weight::from_ref_time(1_574).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Metadata (r:1 w:1)
fn clear_metadata() -> Weight {
// 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))
// Minimum execution time: 31_480 nanoseconds.
Weight::from_ref_time(31_940_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// 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: 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))
// Minimum execution time: 18_854 nanoseconds.
Weight::from_ref_time(19_682_117)
// Standard Error: 452
.saturating_add(Weight::from_ref_time(1_773).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Metadata (r:1 w:1)
fn force_clear_metadata() -> Weight {
// 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))
// Minimum execution time: 32_300 nanoseconds.
Weight::from_ref_time(32_689_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn force_asset_status() -> Weight {
// 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))
// Minimum execution time: 18_050 nanoseconds.
Weight::from_ref_time(18_460_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
fn approve_transfer() -> Weight {
// 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))
// Minimum execution time: 35_007 nanoseconds.
Weight::from_ref_time(35_565_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// 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_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))
// Minimum execution time: 61_166 nanoseconds.
Weight::from_ref_time(62_685_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
fn cancel_approval() -> Weight {
// 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))
// Minimum execution time: 37_013 nanoseconds.
Weight::from_ref_time(37_554_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
fn force_cancel_approval() -> Weight {
// 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))
// Minimum execution time: 37_450 nanoseconds.
Weight::from_ref_time(38_071_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
}
@@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_balances`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-21, 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
@@ -48,51 +48,51 @@ 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: 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))
// Minimum execution time: 41_402 nanoseconds.
Weight::from_ref_time(42_194_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
// 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))
// Minimum execution time: 31_485 nanoseconds.
Weight::from_ref_time(32_000_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
fn set_balance_creating() -> Weight {
// 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))
// Minimum execution time: 23_174 nanoseconds.
Weight::from_ref_time(23_744_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
fn set_balance_killing() -> Weight {
// 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))
// Minimum execution time: 26_260 nanoseconds.
Weight::from_ref_time(26_966_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:2 w:2)
fn force_transfer() -> Weight {
// 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))
// Minimum execution time: 41_394 nanoseconds.
Weight::from_ref_time(42_237_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: System Account (r:1 w:1)
fn transfer_all() -> Weight {
// 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))
// Minimum execution time: 36_996 nanoseconds.
Weight::from_ref_time(37_453_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
fn force_unreserve() -> Weight {
// 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))
// Minimum execution time: 20_619 nanoseconds.
Weight::from_ref_time(21_129_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_collator_selection`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-21, 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
@@ -50,24 +50,24 @@ 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: 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))
// Minimum execution time: 20_551 nanoseconds.
Weight::from_ref_time(24_081_686)
// Standard Error: 7_962
.saturating_add(Weight::from_ref_time(2_268_745).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
fn set_desired_candidates() -> Weight {
// Minimum execution time: 15_888 nanoseconds.
Weight::from_ref_time(16_303_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 13_091 nanoseconds.
Weight::from_ref_time(13_508_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
fn set_candidacy_bond() -> Weight {
// Minimum execution time: 15_808 nanoseconds.
Weight::from_ref_time(16_178_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 13_600 nanoseconds.
Weight::from_ref_time(13_998_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: CollatorSelection Candidates (r:1 w:1)
// Storage: CollatorSelection DesiredCandidates (r:1 w:0)
@@ -77,32 +77,32 @@ 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: 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))
// Minimum execution time: 44_819 nanoseconds.
Weight::from_ref_time(41_349_067)
// Standard Error: 994
.saturating_add(Weight::from_ref_time(126_808).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: CollatorSelection Candidates (r:1 w:1)
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
/// The range of component `c` is `[2, 1000]`.
fn leave_intent(c: u32, ) -> Weight {
// 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))
// Minimum execution time: 32_715 nanoseconds.
Weight::from_ref_time(27_047_739)
// Standard Error: 1_041
.saturating_add(Weight::from_ref_time(125_513).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: System Account (r:2 w:2)
// Storage: System BlockWeight (r:1 w:1)
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
fn note_author() -> Weight {
// 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))
// Minimum execution time: 31_048 nanoseconds.
Weight::from_ref_time(31_525_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: CollatorSelection Candidates (r:1 w:1)
// Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1)
@@ -112,13 +112,13 @@ 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_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))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
// Minimum execution time: 20_005 nanoseconds.
Weight::from_ref_time(20_264_000)
// Standard Error: 749_242
.saturating_add(Weight::from_ref_time(26_726_895).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
}
}
@@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_multisig`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-21, 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
@@ -48,81 +48,81 @@ 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: 22_105 nanoseconds.
Weight::from_ref_time(22_667_604 as u64)
// Standard Error: 3
.saturating_add(Weight::from_ref_time(727 as u64).saturating_mul(z as u64))
// Minimum execution time: 15_741 nanoseconds.
Weight::from_ref_time(16_117_311)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(533).saturating_mul(z.into()))
}
// 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: 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))
// Minimum execution time: 43_906 nanoseconds.
Weight::from_ref_time(35_459_211)
// Standard Error: 860
.saturating_add(Weight::from_ref_time(92_745).saturating_mul(s.into()))
// Standard Error: 8
.saturating_add(Weight::from_ref_time(1_576).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// 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_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))
// Minimum execution time: 34_417 nanoseconds.
Weight::from_ref_time(26_873_359)
// Standard Error: 612
.saturating_add(Weight::from_ref_time(82_989).saturating_mul(s.into()))
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_555).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// 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: 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))
// Minimum execution time: 48_600 nanoseconds.
Weight::from_ref_time(38_956_898)
// Standard Error: 685
.saturating_add(Weight::from_ref_time(103_430).saturating_mul(s.into()))
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_577).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Multisig Multisigs (r:1 w:1)
// 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: 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))
// Minimum execution time: 31_984 nanoseconds.
Weight::from_ref_time(34_711_823)
// Standard Error: 1_062
.saturating_add(Weight::from_ref_time(93_549).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// 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: 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))
// Minimum execution time: 23_584 nanoseconds.
Weight::from_ref_time(25_544_719)
// Standard Error: 721
.saturating_add(Weight::from_ref_time(86_801).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// 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: 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))
// Minimum execution time: 31_989 nanoseconds.
Weight::from_ref_time(35_081_200)
// Standard Error: 1_043
.saturating_add(Weight::from_ref_time(91_707).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_proxy`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-21, 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
@@ -49,11 +49,11 @@ 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: 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))
// Minimum execution time: 21_884 nanoseconds.
Weight::from_ref_time(22_652_660)
// Standard Error: 1_391
.saturating_add(Weight::from_ref_time(52_722).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
}
// Storage: Proxy Proxies (r:1 w:0)
// Storage: Proxy Announcements (r:1 w:1)
@@ -61,42 +61,40 @@ 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_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))
// Minimum execution time: 39_603 nanoseconds.
Weight::from_ref_time(40_145_146)
// Standard Error: 1_855
.saturating_add(Weight::from_ref_time(116_822).saturating_mul(a.into()))
// Standard Error: 1_917
.saturating_add(Weight::from_ref_time(35_698).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// 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: 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))
fn remove_announcement(a: u32, _p: u32, ) -> Weight {
// Minimum execution time: 28_768 nanoseconds.
Weight::from_ref_time(29_661_383)
// Standard Error: 1_394
.saturating_add(Weight::from_ref_time(101_377).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// 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_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))
// Minimum execution time: 28_136 nanoseconds.
Weight::from_ref_time(28_654_813)
// Standard Error: 2_310
.saturating_add(Weight::from_ref_time(116_567).saturating_mul(a.into()))
// Standard Error: 2_387
.saturating_add(Weight::from_ref_time(26_495).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Proxies (r:1 w:0)
// Storage: Proxy Announcements (r:1 w:1)
@@ -104,64 +102,64 @@ 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: 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))
// Minimum execution time: 36_129 nanoseconds.
Weight::from_ref_time(36_620_442)
// Standard Error: 2_026
.saturating_add(Weight::from_ref_time(113_054).saturating_mul(a.into()))
// Standard Error: 2_093
.saturating_add(Weight::from_ref_time(54_408).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// 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_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))
// Minimum execution time: 29_575 nanoseconds.
Weight::from_ref_time(30_834_020)
// Standard Error: 1_793
.saturating_add(Weight::from_ref_time(66_803).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// 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_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))
// Minimum execution time: 28_936 nanoseconds.
Weight::from_ref_time(30_985_501)
// Standard Error: 2_622
.saturating_add(Weight::from_ref_time(77_417).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn remove_proxies(p: u32, ) -> Weight {
// 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))
// Minimum execution time: 25_687 nanoseconds.
Weight::from_ref_time(26_828_926)
// Standard Error: 1_639
.saturating_add(Weight::from_ref_time(57_632).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
// Storage: Proxy Proxies (r:1 w:1)
/// The range of component `p` is `[1, 31]`.
fn create_pure(p: u32, ) -> Weight {
// 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))
// Minimum execution time: 32_315 nanoseconds.
Weight::from_ref_time(33_370_667)
// Standard Error: 1_821
.saturating_add(Weight::from_ref_time(27_819).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// 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_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))
// Minimum execution time: 27_479 nanoseconds.
Weight::from_ref_time(28_677_537)
// Standard Error: 1_643
.saturating_add(Weight::from_ref_time(32_716).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_session`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-21, 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
@@ -49,17 +49,17 @@ 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_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))
// Minimum execution time: 21_925 nanoseconds.
Weight::from_ref_time(22_448_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Session NextKeys (r:1 w:1)
// Storage: Session KeyOwner (r:0 w:1)
fn purge_keys() -> Weight {
// 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))
// Minimum execution time: 18_419 nanoseconds.
Weight::from_ref_time(18_941_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
}
@@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_timestamp`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-21, 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
@@ -49,13 +49,13 @@ 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: 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))
// Minimum execution time: 9_171 nanoseconds.
Weight::from_ref_time(9_347_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
fn on_finalize() -> Weight {
// Minimum execution time: 4_908 nanoseconds.
Weight::from_ref_time(5_115_000 as u64)
// Minimum execution time: 3_809 nanoseconds.
Weight::from_ref_time(3_951_000)
}
}
@@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_uniques`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-21, 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
@@ -49,18 +49,18 @@ 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: 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))
// Minimum execution time: 29_840 nanoseconds.
Weight::from_ref_time(30_234_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques ClassAccount (r:0 w:1)
fn force_create() -> Weight {
// 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))
// Minimum execution time: 19_612 nanoseconds.
Weight::from_ref_time(20_068_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques Asset (r:1 w:0)
@@ -74,215 +74,215 @@ 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 {
// 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))
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(n as u64)))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(m as u64)))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(a as u64)))
// Minimum execution time: 2_355_753 nanoseconds.
Weight::from_ref_time(2_374_906_000)
// Standard Error: 25_342
.saturating_add(Weight::from_ref_time(8_210_192).saturating_mul(n.into()))
// Standard Error: 25_342
.saturating_add(Weight::from_ref_time(235_106).saturating_mul(m.into()))
// Standard Error: 25_342
.saturating_add(Weight::from_ref_time(274_994).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
}
// Storage: Uniques Asset (r:1 w:1)
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques CollectionMaxSupply (r:1 w:0)
// Storage: Uniques Account (r:0 w:1)
fn mint() -> Weight {
// 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))
// Minimum execution time: 36_914 nanoseconds.
Weight::from_ref_time(37_683_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques Asset (r:1 w:1)
// Storage: Uniques Account (r:0 w:1)
// Storage: Uniques ItemPriceOf (r:0 w:1)
fn burn() -> Weight {
// 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))
// Minimum execution time: 39_149 nanoseconds.
Weight::from_ref_time(39_647_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Uniques Class (r:1 w:0)
// Storage: Uniques Asset (r:1 w:1)
// Storage: Uniques Account (r:0 w:2)
// Storage: Uniques ItemPriceOf (r:0 w:1)
fn transfer() -> Weight {
// 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))
// Minimum execution time: 30_460 nanoseconds.
Weight::from_ref_time(31_588_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques Asset (r:102 w:102)
/// The range of component `i` is `[0, 5000]`.
fn redeposit(i: u32, ) -> Weight {
// 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))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
// Minimum execution time: 19_504 nanoseconds.
Weight::from_ref_time(19_741_000)
// Standard Error: 14_211
.saturating_add(Weight::from_ref_time(10_863_273).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Uniques Asset (r:1 w:1)
// Storage: Uniques Class (r:1 w:0)
fn freeze() -> Weight {
// 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))
// Minimum execution time: 23_535 nanoseconds.
Weight::from_ref_time(24_106_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques Asset (r:1 w:1)
// Storage: Uniques Class (r:1 w:0)
fn thaw() -> Weight {
// 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))
// Minimum execution time: 23_904 nanoseconds.
Weight::from_ref_time(24_367_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques Class (r:1 w:1)
fn freeze_collection() -> Weight {
// 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))
// Minimum execution time: 19_209 nanoseconds.
Weight::from_ref_time(19_629_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques Class (r:1 w:1)
fn thaw_collection() -> Weight {
// 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))
// Minimum execution time: 19_115 nanoseconds.
Weight::from_ref_time(19_598_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques ClassAccount (r:0 w:2)
fn transfer_ownership() -> Weight {
// 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))
// Minimum execution time: 27_359 nanoseconds.
Weight::from_ref_time(28_095_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Uniques Class (r:1 w:1)
fn set_team() -> Weight {
// 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))
// Minimum execution time: 20_037 nanoseconds.
Weight::from_ref_time(20_352_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques ClassAccount (r:0 w:1)
fn force_item_status() -> Weight {
// 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))
// Minimum execution time: 22_282 nanoseconds.
Weight::from_ref_time(22_795_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
// Storage: Uniques Attribute (r:1 w:1)
fn set_attribute() -> Weight {
// 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))
// Minimum execution time: 44_638 nanoseconds.
Weight::from_ref_time(45_088_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
// Storage: Uniques Attribute (r:1 w:1)
fn clear_attribute() -> Weight {
// 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))
// Minimum execution time: 42_588 nanoseconds.
Weight::from_ref_time(43_510_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
fn set_metadata() -> Weight {
// 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))
// Minimum execution time: 34_488 nanoseconds.
Weight::from_ref_time(34_982_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
fn clear_metadata() -> Weight {
// 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))
// Minimum execution time: 36_550 nanoseconds.
Weight::from_ref_time(36_983_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques ClassMetadataOf (r:1 w:1)
fn set_collection_metadata() -> Weight {
// 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))
// Minimum execution time: 34_149 nanoseconds.
Weight::from_ref_time(35_216_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Uniques Class (r:1 w:0)
// Storage: Uniques ClassMetadataOf (r:1 w:1)
fn clear_collection_metadata() -> Weight {
// 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))
// Minimum execution time: 33_420 nanoseconds.
Weight::from_ref_time(34_201_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques Class (r:1 w:0)
// Storage: Uniques Asset (r:1 w:1)
fn approve_transfer() -> Weight {
// 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))
// Minimum execution time: 25_088 nanoseconds.
Weight::from_ref_time(25_714_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques Class (r:1 w:0)
// Storage: Uniques Asset (r:1 w:1)
fn cancel_approval() -> Weight {
// 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))
// Minimum execution time: 25_082 nanoseconds.
Weight::from_ref_time(25_459_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
fn set_accept_ownership() -> Weight {
// 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))
// Minimum execution time: 22_911 nanoseconds.
Weight::from_ref_time(23_297_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques CollectionMaxSupply (r:1 w:1)
// Storage: Uniques Class (r:1 w:0)
fn set_collection_max_supply() -> Weight {
// 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))
// Minimum execution time: 21_504 nanoseconds.
Weight::from_ref_time(22_185_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques Asset (r:1 w:0)
// Storage: Uniques ItemPriceOf (r:0 w:1)
fn set_price() -> Weight {
// 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))
// Minimum execution time: 22_189 nanoseconds.
Weight::from_ref_time(22_572_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques Asset (r:1 w:1)
// Storage: Uniques ItemPriceOf (r:1 w:1)
// Storage: Uniques Class (r:1 w:0)
// Storage: Uniques Account (r:0 w:2)
fn buy_item() -> Weight {
// 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))
// Minimum execution time: 41_005 nanoseconds.
Weight::from_ref_time(41_754_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(4))
}
}
@@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_utility`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-21, 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
@@ -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: 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))
// Minimum execution time: 13_150 nanoseconds.
Weight::from_ref_time(45_410_670)
// Standard Error: 4_980
.saturating_add(Weight::from_ref_time(3_648_675).saturating_mul(c.into()))
}
fn as_derivative() -> Weight {
// Minimum execution time: 7_558 nanoseconds.
Weight::from_ref_time(7_849_000 as u64)
// Minimum execution time: 6_612 nanoseconds.
Weight::from_ref_time(6_812_000)
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
// 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))
// Minimum execution time: 12_684 nanoseconds.
Weight::from_ref_time(20_159_209)
// Standard Error: 3_165
.saturating_add(Weight::from_ref_time(3_835_742).saturating_mul(c.into()))
}
fn dispatch_as() -> Weight {
// Minimum execution time: 16_884 nanoseconds.
Weight::from_ref_time(17_326_000 as u64)
// Minimum execution time: 15_037 nanoseconds.
Weight::from_ref_time(15_427_000)
}
/// The range of component `c` is `[0, 1000]`.
fn force_batch(c: u32, ) -> Weight {
// 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))
// Minimum execution time: 13_009 nanoseconds.
Weight::from_ref_time(22_726_275)
// Standard Error: 2_643
.saturating_add(Weight::from_ref_time(3_653_361).saturating_mul(c.into()))
}
}
@@ -18,7 +18,7 @@
//! Autogenerated weights for `pallet_xcm_benchmarks::fungible`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-21, 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
@@ -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_432_000 as u64)
Weight::from_ref_time(32_238_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(41_725_000 as u64)
Weight::from_ref_time(37_145_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(60_182_000 as u64)
Weight::from_ref_time(52_803_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_509_000 as u64)
Weight::from_ref_time(6_248_000 as u64)
}
// Storage: System Account (r:1 w:1)
pub(crate) fn deposit_asset() -> Weight {
Weight::from_ref_time(37_620_000 as u64)
Weight::from_ref_time(33_168_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_103_000 as u64)
Weight::from_ref_time(53_662_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(30_157_000 as u64)
Weight::from_ref_time(29_189_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -18,7 +18,7 @@
//! Autogenerated weights for `pallet_xcm_benchmarks::generic`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-12-21, 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
@@ -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(899_374_000 as u64)
Weight::from_ref_time(710_352_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_950_000 as u64)
Weight::from_ref_time(8_924_000 as u64)
}
// Storage: PolkadotXcm Queries (r:1 w:0)
pub(crate) fn query_response() -> Weight {
Weight::from_ref_time(20_506_000 as u64)
Weight::from_ref_time(17_278_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
pub(crate) fn transact() -> Weight {
Weight::from_ref_time(23_856_000 as u64)
Weight::from_ref_time(20_214_000 as u64)
}
pub(crate) fn refund_surplus() -> Weight {
Weight::from_ref_time(10_256_000 as u64)
Weight::from_ref_time(9_218_000 as u64)
}
pub(crate) fn set_error_handler() -> Weight {
Weight::from_ref_time(6_283_000 as u64)
Weight::from_ref_time(5_175_000 as u64)
}
pub(crate) fn set_appendix() -> Weight {
Weight::from_ref_time(6_260_000 as u64)
Weight::from_ref_time(5_145_000 as u64)
}
pub(crate) fn clear_error() -> Weight {
Weight::from_ref_time(6_267_000 as u64)
Weight::from_ref_time(5_298_000 as u64)
}
pub(crate) fn descend_origin() -> Weight {
Weight::from_ref_time(7_353_000 as u64)
Weight::from_ref_time(6_134_000 as u64)
}
pub(crate) fn clear_origin() -> Weight {
Weight::from_ref_time(6_399_000 as u64)
Weight::from_ref_time(5_277_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(18_526_000 as u64)
Weight::from_ref_time(15_270_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(25_910_000 as u64)
Weight::from_ref_time(21_147_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_330_000 as u64)
Weight::from_ref_time(5_429_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(21_898_000 as u64)
Weight::from_ref_time(18_098_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_676_000 as u64)
Weight::from_ref_time(7_527_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(1_090_826_000 as u64)
Weight::from_ref_time(927_560_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}