mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 21:01:02 +00:00
[Backport] weights from v9320 release branch (#1890)
* [benchmarks] pr with weights (#1857) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> * [benchmarks] Update weights for statemine/t (#1859) * [benchmarks] pr with weights * Update parachains/runtimes/assets/westmint/src/weights/pallet_uniques.rs * Update parachains/runtimes/assets/westmint/src/weights/pallet_assets.rs * Update parachains/runtimes/assets/statemine/src/weights/pallet_assets.rs Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: Squirrel <gilescope@gmail.com> * fix weights for destroy Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com> Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: Squirrel <gilescope@gmail.com> Co-authored-by: parity-processbot <> Co-authored-by: Anthony Alaribe <anthonyalaribe@gmail.com>
This commit is contained in:
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,51 +40,59 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `frame_system`.
|
||||
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 {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
fn remark(b: u32, ) -> Weight {
|
||||
// Minimum execution time: 4_403 nanoseconds.
|
||||
Weight::from_ref_time(4_501_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(510 as u64).saturating_mul(b as u64))
|
||||
}
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark_with_event(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Minimum execution time: 15_260 nanoseconds.
|
||||
Weight::from_ref_time(15_401_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_591 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 {
|
||||
Weight::from_ref_time(8_677_000 as u64)
|
||||
// Minimum execution time: 10_003 nanoseconds.
|
||||
Weight::from_ref_time(10_354_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 `[1, 1000]`.
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn set_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(625_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 4_502 nanoseconds.
|
||||
Weight::from_ref_time(4_583_000 as u64)
|
||||
// Standard Error: 906
|
||||
.saturating_add(Weight::from_ref_time(650_169 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 `[1, 1000]`.
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn kill_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(554_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 4_683 nanoseconds.
|
||||
Weight::from_ref_time(4_741_000 as u64)
|
||||
// Standard Error: 819
|
||||
.saturating_add(Weight::from_ref_time(551_383 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 `[1, 1000]`.
|
||||
/// The range of component `p` is `[0, 1000]`.
|
||||
fn kill_prefix(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(1_128_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 6_181 nanoseconds.
|
||||
Weight::from_ref_time(6_277_000 as u64)
|
||||
// Standard Error: 1_128
|
||||
.saturating_add(Weight::from_ref_time(1_151_787 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_assets`.
|
||||
@@ -48,13 +48,15 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn create() -> Weight {
|
||||
Weight::from_ref_time(30_336_000 as u64)
|
||||
// Minimum execution time: 33_006 nanoseconds.
|
||||
Weight::from_ref_time(33_733_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 force_create() -> Weight {
|
||||
Weight::from_ref_time(17_834_000 as u64)
|
||||
// Minimum execution time: 19_841 nanoseconds.
|
||||
Weight::from_ref_time(20_372_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -99,14 +101,16 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Account (r:1 w:1)
|
||||
fn mint() -> Weight {
|
||||
Weight::from_ref_time(35_875_000 as u64)
|
||||
// Minimum execution time: 38_876 nanoseconds.
|
||||
Weight::from_ref_time(39_815_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 {
|
||||
Weight::from_ref_time(38_571_000 as u64)
|
||||
// Minimum execution time: 42_364 nanoseconds.
|
||||
Weight::from_ref_time(42_869_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -114,7 +118,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 {
|
||||
Weight::from_ref_time(50_931_000 as u64)
|
||||
// Minimum execution time: 55_538 nanoseconds.
|
||||
Weight::from_ref_time(56_312_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -122,7 +127,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 {
|
||||
Weight::from_ref_time(43_426_000 as u64)
|
||||
// Minimum execution time: 46_875 nanoseconds.
|
||||
Weight::from_ref_time(47_851_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -130,46 +136,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 {
|
||||
Weight::from_ref_time(51_045_000 as u64)
|
||||
// Minimum execution time: 54_034 nanoseconds.
|
||||
Weight::from_ref_time(54_844_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 {
|
||||
Weight::from_ref_time(24_405_000 as u64)
|
||||
// Minimum execution time: 26_999 nanoseconds.
|
||||
Weight::from_ref_time(27_726_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 {
|
||||
Weight::from_ref_time(24_445_000 as u64)
|
||||
// Minimum execution time: 27_682 nanoseconds.
|
||||
Weight::from_ref_time(28_351_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 {
|
||||
Weight::from_ref_time(21_181_000 as u64)
|
||||
// Minimum execution time: 23_728 nanoseconds.
|
||||
Weight::from_ref_time(24_166_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 {
|
||||
Weight::from_ref_time(21_227_000 as u64)
|
||||
// Minimum execution time: 23_791 nanoseconds.
|
||||
Weight::from_ref_time(24_364_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 {
|
||||
Weight::from_ref_time(23_802_000 as u64)
|
||||
// Minimum execution time: 26_966 nanoseconds.
|
||||
Weight::from_ref_time(27_523_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 {
|
||||
Weight::from_ref_time(22_959_000 as u64)
|
||||
// Minimum execution time: 25_328 nanoseconds.
|
||||
Weight::from_ref_time(26_269_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -178,16 +191,18 @@ 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 {
|
||||
Weight::from_ref_time(35_275_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(7_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 37_944 nanoseconds.
|
||||
Weight::from_ref_time(39_907_434 as u64)
|
||||
// Standard Error: 1_184
|
||||
.saturating_add(Weight::from_ref_time(1_425 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 clear_metadata() -> Weight {
|
||||
Weight::from_ref_time(38_293_000 as u64)
|
||||
// Minimum execution time: 42_405 nanoseconds.
|
||||
Weight::from_ref_time(42_928_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -195,32 +210,34 @@ 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 {
|
||||
Weight::from_ref_time(23_375_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(s as u64))
|
||||
fn force_set_metadata(_n: u32, s: u32, ) -> Weight {
|
||||
// Minimum execution time: 25_887 nanoseconds.
|
||||
Weight::from_ref_time(27_025_214 as u64)
|
||||
// Standard Error: 653
|
||||
.saturating_add(Weight::from_ref_time(3_265 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 {
|
||||
Weight::from_ref_time(38_807_000 as u64)
|
||||
// Minimum execution time: 42_574 nanoseconds.
|
||||
Weight::from_ref_time(43_101_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 {
|
||||
Weight::from_ref_time(22_088_000 as u64)
|
||||
// Minimum execution time: 24_272 nanoseconds.
|
||||
Weight::from_ref_time(24_780_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 {
|
||||
Weight::from_ref_time(38_906_000 as u64)
|
||||
// Minimum execution time: 42_592 nanoseconds.
|
||||
Weight::from_ref_time(43_219_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -229,21 +246,24 @@ 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_approved() -> Weight {
|
||||
Weight::from_ref_time(66_949_000 as u64)
|
||||
// Minimum execution time: 71_604 nanoseconds.
|
||||
Weight::from_ref_time(72_638_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 {
|
||||
Weight::from_ref_time(39_491_000 as u64)
|
||||
// Minimum execution time: 43_926 nanoseconds.
|
||||
Weight::from_ref_time(44_583_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 {
|
||||
Weight::from_ref_time(41_596_000 as u64)
|
||||
// Minimum execution time: 44_408 nanoseconds.
|
||||
Weight::from_ref_time(44_999_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_balances`.
|
||||
@@ -48,43 +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 {
|
||||
Weight::from_ref_time(46_411_000 as u64)
|
||||
// Minimum execution time: 48_741 nanoseconds.
|
||||
Weight::from_ref_time(49_885_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 {
|
||||
Weight::from_ref_time(34_589_000 as u64)
|
||||
// Minimum execution time: 36_732 nanoseconds.
|
||||
Weight::from_ref_time(37_368_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 {
|
||||
Weight::from_ref_time(25_591_000 as u64)
|
||||
// Minimum execution time: 28_060 nanoseconds.
|
||||
Weight::from_ref_time(28_489_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 {
|
||||
Weight::from_ref_time(29_471_000 as u64)
|
||||
// Minimum execution time: 31_836 nanoseconds.
|
||||
Weight::from_ref_time(32_309_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 {
|
||||
Weight::from_ref_time(46_550_000 as u64)
|
||||
// Minimum execution time: 49_700 nanoseconds.
|
||||
Weight::from_ref_time(50_210_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 {
|
||||
Weight::from_ref_time(40_804_000 as u64)
|
||||
// Minimum execution time: 43_469 nanoseconds.
|
||||
Weight::from_ref_time(44_270_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 {
|
||||
Weight::from_ref_time(22_516_000 as u64)
|
||||
// Minimum execution time: 24_011 nanoseconds.
|
||||
Weight::from_ref_time(24_384_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_collator_selection`.
|
||||
@@ -50,20 +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 {
|
||||
Weight::from_ref_time(23_858_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(2_412_000 as u64).saturating_mul(b as u64))
|
||||
// Minimum execution time: 24_654 nanoseconds.
|
||||
Weight::from_ref_time(24_928_514 as u64)
|
||||
// Standard Error: 3_308
|
||||
.saturating_add(Weight::from_ref_time(2_533_473 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 {
|
||||
Weight::from_ref_time(14_642_000 as u64)
|
||||
// Minimum execution time: 15_538 nanoseconds.
|
||||
Weight::from_ref_time(16_027_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
||||
fn set_candidacy_bond() -> Weight {
|
||||
Weight::from_ref_time(14_842_000 as u64)
|
||||
// Minimum execution time: 15_654 nanoseconds.
|
||||
Weight::from_ref_time(16_238_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||
@@ -72,11 +75,12 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Storage: Session NextKeys (r:1 w:0)
|
||||
// Storage: CollatorSelection CandidacyBond (r:1 w:0)
|
||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
/// The range of component `c` is `[1, 999]`.
|
||||
fn register_as_candidate(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(61_940_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(170_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 51_582 nanoseconds.
|
||||
Weight::from_ref_time(66_895_694 as u64)
|
||||
// Standard Error: 886
|
||||
.saturating_add(Weight::from_ref_time(176_909 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))
|
||||
}
|
||||
@@ -84,9 +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 `[6, 1000]`.
|
||||
fn leave_intent(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(60_018_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(162_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 40_303 nanoseconds.
|
||||
Weight::from_ref_time(63_973_288 as u64)
|
||||
// Standard Error: 1_434
|
||||
.saturating_add(Weight::from_ref_time(164_497 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))
|
||||
}
|
||||
@@ -94,7 +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 {
|
||||
Weight::from_ref_time(35_100_000 as u64)
|
||||
// Minimum execution time: 35_834 nanoseconds.
|
||||
Weight::from_ref_time(36_308_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -105,14 +111,14 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Storage: System BlockWeight (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 1000]`.
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn new_session(r: u32, c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_237_000
|
||||
.saturating_add(Weight::from_ref_time(6_686_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_237_000
|
||||
.saturating_add(Weight::from_ref_time(32_537_000 as u64).saturating_mul(c 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_mul(r as u64)))
|
||||
fn new_session(_r: u32, c: u32, ) -> Weight {
|
||||
// Minimum execution time: 24_273 nanoseconds.
|
||||
Weight::from_ref_time(24_664_000 as u64)
|
||||
// Standard Error: 674_753
|
||||
.saturating_add(Weight::from_ref_time(23_576_876 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)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,21 +17,22 @@
|
||||
//! Autogenerated weights for `pallet_multisig`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// ./target/production/polkadot-parachain
|
||||
// ./artifacts/polkadot-parachain
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=statemine-dev
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --pallet=pallet_multisig
|
||||
// --extrinsic=
|
||||
// --extrinsic=*
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/assets/statemine/src/weights/pallet_multisig.rs
|
||||
|
||||
@@ -47,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_063 nanoseconds.
|
||||
Weight::from_ref_time(21_862_078 as u64)
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(343 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 21_935 nanoseconds.
|
||||
Weight::from_ref_time(22_534_691 as u64)
|
||||
// Standard Error: 3
|
||||
.saturating_add(Weight::from_ref_time(753 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: 48_498 nanoseconds.
|
||||
Weight::from_ref_time(39_020_484 as u64)
|
||||
// Standard Error: 917
|
||||
.saturating_add(Weight::from_ref_time(101_566 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 8
|
||||
.saturating_add(Weight::from_ref_time(1_559 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 53_456 nanoseconds.
|
||||
Weight::from_ref_time(40_947_583 as u64)
|
||||
// Standard Error: 645
|
||||
.saturating_add(Weight::from_ref_time(132_179 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 6
|
||||
.saturating_add(Weight::from_ref_time(1_739 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))
|
||||
}
|
||||
@@ -70,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: 40_013 nanoseconds.
|
||||
Weight::from_ref_time(28_889_358 as u64)
|
||||
// Standard Error: 846
|
||||
.saturating_add(Weight::from_ref_time(117_565 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 8
|
||||
.saturating_add(Weight::from_ref_time(1_480 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 42_082 nanoseconds.
|
||||
Weight::from_ref_time(30_344_443 as u64)
|
||||
// Standard Error: 940
|
||||
.saturating_add(Weight::from_ref_time(127_085 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 9
|
||||
.saturating_add(Weight::from_ref_time(1_749 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))
|
||||
}
|
||||
@@ -84,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: 52_880 nanoseconds.
|
||||
Weight::from_ref_time(41_398_334 as u64)
|
||||
// Standard Error: 760
|
||||
.saturating_add(Weight::from_ref_time(143_103 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(1_485 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 55_962 nanoseconds.
|
||||
Weight::from_ref_time(43_137_668 as u64)
|
||||
// Standard Error: 903
|
||||
.saturating_add(Weight::from_ref_time(156_033 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 8
|
||||
.saturating_add(Weight::from_ref_time(1_766 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))
|
||||
}
|
||||
@@ -97,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: 34_872 nanoseconds.
|
||||
Weight::from_ref_time(37_363_593 as u64)
|
||||
// Standard Error: 1_144
|
||||
.saturating_add(Weight::from_ref_time(125_451 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 36_128 nanoseconds.
|
||||
Weight::from_ref_time(38_850_402 as u64)
|
||||
// Standard Error: 1_181
|
||||
.saturating_add(Weight::from_ref_time(136_670 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: 25_288 nanoseconds.
|
||||
Weight::from_ref_time(26_822_824 as u64)
|
||||
// Standard Error: 705
|
||||
.saturating_add(Weight::from_ref_time(128_964 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 27_335 nanoseconds.
|
||||
Weight::from_ref_time(28_564_934 as u64)
|
||||
// Standard Error: 685
|
||||
.saturating_add(Weight::from_ref_time(137_596 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: 34_669 nanoseconds.
|
||||
Weight::from_ref_time(36_953_098 as u64)
|
||||
// Standard Error: 944
|
||||
.saturating_add(Weight::from_ref_time(132_676 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 36_794 nanoseconds.
|
||||
Weight::from_ref_time(39_389_020 as u64)
|
||||
// Standard Error: 905
|
||||
.saturating_add(Weight::from_ref_time(140_646 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,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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_proxy`.
|
||||
@@ -49,9 +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 {
|
||||
Weight::from_ref_time(24_000_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 24_813 nanoseconds.
|
||||
Weight::from_ref_time(26_025_606 as u64)
|
||||
// Standard Error: 1_808
|
||||
.saturating_add(Weight::from_ref_time(42_388 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
@@ -60,11 +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 {
|
||||
Weight::from_ref_time(42_183_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(126_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(57_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 45_603 nanoseconds.
|
||||
Weight::from_ref_time(45_445_241 as u64)
|
||||
// Standard Error: 1_841
|
||||
.saturating_add(Weight::from_ref_time(143_938 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_902
|
||||
.saturating_add(Weight::from_ref_time(61_576 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))
|
||||
}
|
||||
@@ -73,11 +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 {
|
||||
Weight::from_ref_time(28_402_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(144_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 31_398 nanoseconds.
|
||||
Weight::from_ref_time(32_032_789 as u64)
|
||||
// Standard Error: 1_282
|
||||
.saturating_add(Weight::from_ref_time(134_303 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_324
|
||||
.saturating_add(Weight::from_ref_time(15_923 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))
|
||||
}
|
||||
@@ -86,11 +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 {
|
||||
Weight::from_ref_time(28_820_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(145_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(18_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 30_846 nanoseconds.
|
||||
Weight::from_ref_time(31_467_168 as u64)
|
||||
// Standard Error: 1_236
|
||||
.saturating_add(Weight::from_ref_time(150_241 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_277
|
||||
.saturating_add(Weight::from_ref_time(17_607 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))
|
||||
}
|
||||
@@ -100,38 +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 {
|
||||
Weight::from_ref_time(37_916_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(124_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(67_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 41_098 nanoseconds.
|
||||
Weight::from_ref_time(40_893_716 as u64)
|
||||
// Standard Error: 2_117
|
||||
.saturating_add(Weight::from_ref_time(144_361 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 2_187
|
||||
.saturating_add(Weight::from_ref_time(77_430 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 {
|
||||
Weight::from_ref_time(31_658_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 33_935 nanoseconds.
|
||||
Weight::from_ref_time(34_841_820 as u64)
|
||||
// Standard Error: 2_029
|
||||
.saturating_add(Weight::from_ref_time(68_334 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 {
|
||||
Weight::from_ref_time(31_794_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(90_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 33_109 nanoseconds.
|
||||
Weight::from_ref_time(34_725_654 as u64)
|
||||
// Standard Error: 2_526
|
||||
.saturating_add(Weight::from_ref_time(87_724 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 {
|
||||
Weight::from_ref_time(27_460_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(44_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 29_058 nanoseconds.
|
||||
Weight::from_ref_time(30_256_589 as u64)
|
||||
// Standard Error: 1_743
|
||||
.saturating_add(Weight::from_ref_time(43_532 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))
|
||||
}
|
||||
@@ -139,18 +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 {
|
||||
Weight::from_ref_time(34_252_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(14_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 35_997 nanoseconds.
|
||||
Weight::from_ref_time(37_314_938 as u64)
|
||||
// Standard Error: 2_035
|
||||
.saturating_add(Weight::from_ref_time(22_723 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 {
|
||||
Weight::from_ref_time(28_616_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(54_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 30_786 nanoseconds.
|
||||
Weight::from_ref_time(31_603_821 as u64)
|
||||
// Standard Error: 1_269
|
||||
.saturating_add(Weight::from_ref_time(45_703 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,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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_session`.
|
||||
@@ -49,14 +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 {
|
||||
Weight::from_ref_time(23_807_000 as u64)
|
||||
// Minimum execution time: 25_646 nanoseconds.
|
||||
Weight::from_ref_time(26_315_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 {
|
||||
Weight::from_ref_time(20_676_000 as u64)
|
||||
// Minimum execution time: 22_043 nanoseconds.
|
||||
Weight::from_ref_time(22_515_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_timestamp`.
|
||||
@@ -48,11 +48,13 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Timestamp Now (r:1 w:1)
|
||||
fn set() -> Weight {
|
||||
Weight::from_ref_time(7_902_000 as u64)
|
||||
// Minimum execution time: 8_523 nanoseconds.
|
||||
Weight::from_ref_time(8_829_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
fn on_finalize() -> Weight {
|
||||
Weight::from_ref_time(4_249_000 as u64)
|
||||
// Minimum execution time: 4_705 nanoseconds.
|
||||
Weight::from_ref_time(4_856_000 as u64)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_uniques`.
|
||||
@@ -49,14 +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 {
|
||||
Weight::from_ref_time(33_406_000 as u64)
|
||||
// Minimum execution time: 35_694 nanoseconds.
|
||||
Weight::from_ref_time(36_130_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 {
|
||||
Weight::from_ref_time(22_030_000 as u64)
|
||||
// Minimum execution time: 23_607 nanoseconds.
|
||||
Weight::from_ref_time(23_991_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -72,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(9_873_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 13_000
|
||||
.saturating_add(Weight::from_ref_time(1_727_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 13_000
|
||||
.saturating_add(Weight::from_ref_time(1_664_000 as u64).saturating_mul(a as u64))
|
||||
// Minimum execution time: 2_555_176 nanoseconds.
|
||||
Weight::from_ref_time(2_562_832_000 as u64)
|
||||
// Standard Error: 28_815
|
||||
.saturating_add(Weight::from_ref_time(8_994_745 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 28_815
|
||||
.saturating_add(Weight::from_ref_time(350_477 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 28_815
|
||||
.saturating_add(Weight::from_ref_time(213_536 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))
|
||||
@@ -91,7 +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 {
|
||||
Weight::from_ref_time(41_026_000 as u64)
|
||||
// Minimum execution time: 43_737 nanoseconds.
|
||||
Weight::from_ref_time(44_231_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -100,7 +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 {
|
||||
Weight::from_ref_time(44_624_000 as u64)
|
||||
// Minimum execution time: 46_549 nanoseconds.
|
||||
Weight::from_ref_time(47_144_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -109,7 +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 {
|
||||
Weight::from_ref_time(33_942_000 as u64)
|
||||
// Minimum execution time: 36_240 nanoseconds.
|
||||
Weight::from_ref_time(37_194_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -117,9 +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 {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 12_000
|
||||
.saturating_add(Weight::from_ref_time(11_483_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 23_676 nanoseconds.
|
||||
Weight::from_ref_time(24_255_000 as u64)
|
||||
// Standard Error: 9_297
|
||||
.saturating_add(Weight::from_ref_time(11_519_309 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))
|
||||
@@ -128,26 +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 {
|
||||
Weight::from_ref_time(26_821_000 as u64)
|
||||
// Minimum execution time: 28_322 nanoseconds.
|
||||
Weight::from_ref_time(29_061_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 {
|
||||
Weight::from_ref_time(26_661_000 as u64)
|
||||
// Minimum execution time: 27_951 nanoseconds.
|
||||
Weight::from_ref_time(28_415_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 {
|
||||
Weight::from_ref_time(22_335_000 as u64)
|
||||
// Minimum execution time: 23_176 nanoseconds.
|
||||
Weight::from_ref_time(23_563_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 {
|
||||
Weight::from_ref_time(22_095_000 as u64)
|
||||
// Minimum execution time: 23_337 nanoseconds.
|
||||
Weight::from_ref_time(23_895_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -155,20 +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 {
|
||||
Weight::from_ref_time(30_274_000 as u64)
|
||||
// Minimum execution time: 32_927 nanoseconds.
|
||||
Weight::from_ref_time(33_385_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 {
|
||||
Weight::from_ref_time(22_762_000 as u64)
|
||||
// Minimum execution time: 24_532 nanoseconds.
|
||||
Weight::from_ref_time(25_103_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 {
|
||||
Weight::from_ref_time(25_193_000 as u64)
|
||||
// Minimum execution time: 26_905 nanoseconds.
|
||||
Weight::from_ref_time(27_525_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -176,7 +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 {
|
||||
Weight::from_ref_time(49_304_000 as u64)
|
||||
// Minimum execution time: 51_924 nanoseconds.
|
||||
Weight::from_ref_time(52_558_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -184,69 +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 {
|
||||
Weight::from_ref_time(48_497_000 as u64)
|
||||
// Minimum execution time: 50_437 nanoseconds.
|
||||
Weight::from_ref_time(51_152_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 {
|
||||
Weight::from_ref_time(39_494_000 as u64)
|
||||
// Minimum execution time: 41_703 nanoseconds.
|
||||
Weight::from_ref_time(42_421_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 {
|
||||
Weight::from_ref_time(42_057_000 as u64)
|
||||
// Minimum execution time: 43_223 nanoseconds.
|
||||
Weight::from_ref_time(43_923_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 {
|
||||
Weight::from_ref_time(39_279_000 as u64)
|
||||
// Minimum execution time: 40_761 nanoseconds.
|
||||
Weight::from_ref_time(41_205_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 {
|
||||
Weight::from_ref_time(39_339_000 as u64)
|
||||
// Minimum execution time: 40_131 nanoseconds.
|
||||
Weight::from_ref_time(40_644_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 {
|
||||
Weight::from_ref_time(29_293_000 as u64)
|
||||
// Minimum execution time: 29_913 nanoseconds.
|
||||
Weight::from_ref_time(30_356_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 {
|
||||
Weight::from_ref_time(28_463_000 as u64)
|
||||
// Minimum execution time: 29_656 nanoseconds.
|
||||
Weight::from_ref_time(30_116_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 {
|
||||
Weight::from_ref_time(25_542_000 as u64)
|
||||
// Minimum execution time: 27_486 nanoseconds.
|
||||
Weight::from_ref_time(28_326_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 {
|
||||
Weight::from_ref_time(24_982_000 as u64)
|
||||
// Minimum execution time: 26_817 nanoseconds.
|
||||
Weight::from_ref_time(27_109_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 {
|
||||
Weight::from_ref_time(25_217_000 as u64)
|
||||
// Minimum execution time: 27_636 nanoseconds.
|
||||
Weight::from_ref_time(27_992_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -255,7 +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 {
|
||||
Weight::from_ref_time(45_577_000 as u64)
|
||||
// Minimum execution time: 47_594 nanoseconds.
|
||||
Weight::from_ref_time(48_987_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_utility`.
|
||||
@@ -48,26 +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 {
|
||||
Weight::from_ref_time(24_677_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(3_837_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 14_923 nanoseconds.
|
||||
Weight::from_ref_time(25_582_559 as u64)
|
||||
// Standard Error: 2_209
|
||||
.saturating_add(Weight::from_ref_time(4_196_186 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
Weight::from_ref_time(6_606_000 as u64)
|
||||
// Minimum execution time: 7_883 nanoseconds.
|
||||
Weight::from_ref_time(8_139_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(21_357_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(4_002_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 15_086 nanoseconds.
|
||||
Weight::from_ref_time(23_004_358 as u64)
|
||||
// Standard Error: 2_018
|
||||
.saturating_add(Weight::from_ref_time(4_393_585 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
Weight::from_ref_time(14_659_000 as u64)
|
||||
// Minimum execution time: 16_812 nanoseconds.
|
||||
Weight::from_ref_time(17_400_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn force_batch(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(20_033_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(3_832_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 15_006 nanoseconds.
|
||||
Weight::from_ref_time(23_015_499 as u64)
|
||||
// Standard Error: 2_227
|
||||
.saturating_add(Weight::from_ref_time(4_212_089 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
}
|
||||
|
||||
+8
-8
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-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(35_315_000 as u64)
|
||||
Weight::from_ref_time(38_451_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(40_541_000 as u64)
|
||||
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))
|
||||
}
|
||||
@@ -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(54_608_000 as u64)
|
||||
Weight::from_ref_time(61_650_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(6_927_000 as u64)
|
||||
Weight::from_ref_time(7_396_000 as u64)
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
pub(crate) fn deposit_asset() -> Weight {
|
||||
Weight::from_ref_time(35_353_000 as u64)
|
||||
Weight::from_ref_time(38_889_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(51_366_000 as u64)
|
||||
Weight::from_ref_time(57_031_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(27_592_000 as u64)
|
||||
Weight::from_ref_time(31_126_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
+17
-17
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-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(679_129_000 as u64)
|
||||
Weight::from_ref_time(868_346_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_337_000 as u64)
|
||||
Weight::from_ref_time(9_610_000 as u64)
|
||||
}
|
||||
// Storage: PolkadotXcm Queries (r:1 w:0)
|
||||
pub(crate) fn query_response() -> Weight {
|
||||
Weight::from_ref_time(17_924_000 as u64)
|
||||
Weight::from_ref_time(19_156_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
pub(crate) fn transact() -> Weight {
|
||||
Weight::from_ref_time(21_258_000 as u64)
|
||||
Weight::from_ref_time(23_343_000 as u64)
|
||||
}
|
||||
pub(crate) fn refund_surplus() -> Weight {
|
||||
Weight::from_ref_time(9_634_000 as u64)
|
||||
Weight::from_ref_time(9_917_000 as u64)
|
||||
}
|
||||
pub(crate) fn set_error_handler() -> Weight {
|
||||
Weight::from_ref_time(5_616_000 as u64)
|
||||
Weight::from_ref_time(5_970_000 as u64)
|
||||
}
|
||||
pub(crate) fn set_appendix() -> Weight {
|
||||
Weight::from_ref_time(5_627_000 as u64)
|
||||
Weight::from_ref_time(5_861_000 as u64)
|
||||
}
|
||||
pub(crate) fn clear_error() -> Weight {
|
||||
Weight::from_ref_time(5_793_000 as u64)
|
||||
Weight::from_ref_time(5_946_000 as u64)
|
||||
}
|
||||
pub(crate) fn descend_origin() -> Weight {
|
||||
Weight::from_ref_time(6_477_000 as u64)
|
||||
Weight::from_ref_time(7_303_000 as u64)
|
||||
}
|
||||
pub(crate) fn clear_origin() -> Weight {
|
||||
Weight::from_ref_time(5_709_000 as u64)
|
||||
Weight::from_ref_time(5_890_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(16_302_000 as u64)
|
||||
Weight::from_ref_time(17_608_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(12_324_000 as u64)
|
||||
Weight::from_ref_time(25_010_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(5_724_000 as u64)
|
||||
Weight::from_ref_time(6_210_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(19_809_000 as u64)
|
||||
Weight::from_ref_time(21_324_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_008_000 as u64)
|
||||
Weight::from_ref_time(9_469_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(867_880_000 as u64)
|
||||
Weight::from_ref_time(1_086_254_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,51 +40,59 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `frame_system`.
|
||||
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 {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
fn remark(b: u32, ) -> Weight {
|
||||
// Minimum execution time: 4_363 nanoseconds.
|
||||
Weight::from_ref_time(4_424_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(509 as u64).saturating_mul(b as u64))
|
||||
}
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark_with_event(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Minimum execution time: 15_045 nanoseconds.
|
||||
Weight::from_ref_time(15_252_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_591 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 {
|
||||
Weight::from_ref_time(8_784_000 as u64)
|
||||
// Minimum execution time: 9_874 nanoseconds.
|
||||
Weight::from_ref_time(10_228_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 `[1, 1000]`.
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn set_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(625_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 4_258 nanoseconds.
|
||||
Weight::from_ref_time(4_341_000 as u64)
|
||||
// Standard Error: 791
|
||||
.saturating_add(Weight::from_ref_time(651_072 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 `[1, 1000]`.
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn kill_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(553_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 4_437 nanoseconds.
|
||||
Weight::from_ref_time(4_533_000 as u64)
|
||||
// Standard Error: 1_032
|
||||
.saturating_add(Weight::from_ref_time(560_974 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 `[1, 1000]`.
|
||||
/// The range of component `p` is `[0, 1000]`.
|
||||
fn kill_prefix(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(1_138_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 6_123 nanoseconds.
|
||||
Weight::from_ref_time(6_236_000 as u64)
|
||||
// Standard Error: 1_113
|
||||
.saturating_add(Weight::from_ref_time(1_147_311 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_assets`.
|
||||
@@ -48,34 +48,36 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn create() -> Weight {
|
||||
Weight::from_ref_time(30_406_000 as u64)
|
||||
// Minimum execution time: 32_921 nanoseconds.
|
||||
Weight::from_ref_time(33_633_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 force_create() -> Weight {
|
||||
Weight::from_ref_time(18_225_000 as u64)
|
||||
// Minimum execution time: 19_787 nanoseconds.
|
||||
Weight::from_ref_time(20_249_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 start_destroy() -> Weight {
|
||||
Weight::from_ref_time(31_000_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
Weight::from_ref_time(33_000_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:0)
|
||||
// Storage: System Account (r:20 w:20)
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn destroy_accounts(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(37_000_000 as u64)
|
||||
// Standard Error: 19_301
|
||||
.saturating_add(Weight::from_ref_time(25_467_908 as u64).saturating_mul(c as u64))
|
||||
// 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))
|
||||
.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().reads((1 as u64).saturating_mul(a 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)))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(a as u64)))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Approvals (r:1 w:0)
|
||||
@@ -99,14 +101,16 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Account (r:1 w:1)
|
||||
fn mint() -> Weight {
|
||||
Weight::from_ref_time(36_535_000 as u64)
|
||||
// Minimum execution time: 37_940 nanoseconds.
|
||||
Weight::from_ref_time(38_473_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 {
|
||||
Weight::from_ref_time(39_821_000 as u64)
|
||||
// Minimum execution time: 41_145 nanoseconds.
|
||||
Weight::from_ref_time(41_670_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -114,7 +118,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 {
|
||||
Weight::from_ref_time(52_287_000 as u64)
|
||||
// Minimum execution time: 53_947 nanoseconds.
|
||||
Weight::from_ref_time(54_412_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -122,7 +127,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 {
|
||||
Weight::from_ref_time(45_347_000 as u64)
|
||||
// Minimum execution time: 47_048 nanoseconds.
|
||||
Weight::from_ref_time(47_946_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -130,46 +136,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 {
|
||||
Weight::from_ref_time(52_369_000 as u64)
|
||||
// Minimum execution time: 55_147 nanoseconds.
|
||||
Weight::from_ref_time(55_548_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 {
|
||||
Weight::from_ref_time(25_896_000 as u64)
|
||||
// Minimum execution time: 25_841 nanoseconds.
|
||||
Weight::from_ref_time(26_506_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 {
|
||||
Weight::from_ref_time(25_630_000 as u64)
|
||||
// Minimum execution time: 26_639 nanoseconds.
|
||||
Weight::from_ref_time(27_081_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 {
|
||||
Weight::from_ref_time(22_340_000 as u64)
|
||||
// Minimum execution time: 22_413 nanoseconds.
|
||||
Weight::from_ref_time(23_213_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 {
|
||||
Weight::from_ref_time(22_204_000 as u64)
|
||||
// Minimum execution time: 21_963 nanoseconds.
|
||||
Weight::from_ref_time(22_479_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 {
|
||||
Weight::from_ref_time(24_971_000 as u64)
|
||||
// Minimum execution time: 25_533 nanoseconds.
|
||||
Weight::from_ref_time(25_979_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 {
|
||||
Weight::from_ref_time(24_079_000 as u64)
|
||||
// Minimum execution time: 23_829 nanoseconds.
|
||||
Weight::from_ref_time(24_876_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -178,16 +191,18 @@ 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 {
|
||||
Weight::from_ref_time(36_505_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 36_438 nanoseconds.
|
||||
Weight::from_ref_time(38_367_681 as u64)
|
||||
// Standard Error: 1_203
|
||||
.saturating_add(Weight::from_ref_time(7_334 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 clear_metadata() -> Weight {
|
||||
Weight::from_ref_time(38_931_000 as u64)
|
||||
// Minimum execution time: 40_670 nanoseconds.
|
||||
Weight::from_ref_time(41_049_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -195,30 +210,36 @@ 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 {
|
||||
Weight::from_ref_time(25_165_000 as u64)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add(Weight::from_ref_time(9_000 as u64).saturating_mul(s as u64))
|
||||
fn force_set_metadata(n: u32, s: u32, ) -> Weight {
|
||||
// Minimum execution time: 24_647 nanoseconds.
|
||||
Weight::from_ref_time(25_823_064 as u64)
|
||||
// Standard Error: 623
|
||||
.saturating_add(Weight::from_ref_time(1_109 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 623
|
||||
.saturating_add(Weight::from_ref_time(1_174 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 {
|
||||
Weight::from_ref_time(40_301_000 as u64)
|
||||
// Minimum execution time: 41_329 nanoseconds.
|
||||
Weight::from_ref_time(41_824_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 {
|
||||
Weight::from_ref_time(23_393_000 as u64)
|
||||
// Minimum execution time: 23_806 nanoseconds.
|
||||
Weight::from_ref_time(24_275_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 {
|
||||
Weight::from_ref_time(39_465_000 as u64)
|
||||
// Minimum execution time: 40_971 nanoseconds.
|
||||
Weight::from_ref_time(41_749_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -227,21 +248,24 @@ 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_approved() -> Weight {
|
||||
Weight::from_ref_time(69_070_000 as u64)
|
||||
// Minimum execution time: 70_934 nanoseconds.
|
||||
Weight::from_ref_time(71_774_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 {
|
||||
Weight::from_ref_time(40_461_000 as u64)
|
||||
// Minimum execution time: 43_221 nanoseconds.
|
||||
Weight::from_ref_time(43_660_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 {
|
||||
Weight::from_ref_time(41_788_000 as u64)
|
||||
// Minimum execution time: 43_115 nanoseconds.
|
||||
Weight::from_ref_time(43_577_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_balances`.
|
||||
@@ -48,43 +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 {
|
||||
Weight::from_ref_time(48_009_000 as u64)
|
||||
// Minimum execution time: 50_030 nanoseconds.
|
||||
Weight::from_ref_time(50_471_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 {
|
||||
Weight::from_ref_time(35_939_000 as u64)
|
||||
// Minimum execution time: 37_255 nanoseconds.
|
||||
Weight::from_ref_time(37_834_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 {
|
||||
Weight::from_ref_time(26_600_000 as u64)
|
||||
// Minimum execution time: 27_702 nanoseconds.
|
||||
Weight::from_ref_time(28_140_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 {
|
||||
Weight::from_ref_time(30_092_000 as u64)
|
||||
// Minimum execution time: 31_807 nanoseconds.
|
||||
Weight::from_ref_time(32_294_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 {
|
||||
Weight::from_ref_time(47_435_000 as u64)
|
||||
// Minimum execution time: 49_192 nanoseconds.
|
||||
Weight::from_ref_time(50_985_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 {
|
||||
Weight::from_ref_time(41_179_000 as u64)
|
||||
// Minimum execution time: 42_643 nanoseconds.
|
||||
Weight::from_ref_time(43_142_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 {
|
||||
Weight::from_ref_time(22_413_000 as u64)
|
||||
// Minimum execution time: 24_190 nanoseconds.
|
||||
Weight::from_ref_time(24_471_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_collator_selection`.
|
||||
@@ -50,20 +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 {
|
||||
Weight::from_ref_time(22_504_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(2_465_000 as u64).saturating_mul(b as u64))
|
||||
// Minimum execution time: 24_474 nanoseconds.
|
||||
Weight::from_ref_time(24_666_023 as u64)
|
||||
// Standard Error: 3_434
|
||||
.saturating_add(Weight::from_ref_time(2_565_278 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 {
|
||||
Weight::from_ref_time(14_572_000 as u64)
|
||||
// Minimum execution time: 15_647 nanoseconds.
|
||||
Weight::from_ref_time(16_337_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
||||
fn set_candidacy_bond() -> Weight {
|
||||
Weight::from_ref_time(14_791_000 as u64)
|
||||
// Minimum execution time: 15_883 nanoseconds.
|
||||
Weight::from_ref_time(16_294_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||
@@ -72,11 +75,12 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Storage: Session NextKeys (r:1 w:0)
|
||||
// Storage: CollatorSelection CandidacyBond (r:1 w:0)
|
||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
/// The range of component `c` is `[1, 999]`.
|
||||
fn register_as_candidate(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(60_440_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(174_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 53_446 nanoseconds.
|
||||
Weight::from_ref_time(69_185_074 as u64)
|
||||
// Standard Error: 1_034
|
||||
.saturating_add(Weight::from_ref_time(175_740 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))
|
||||
}
|
||||
@@ -84,9 +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 `[6, 1000]`.
|
||||
fn leave_intent(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(66_209_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(157_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 40_914 nanoseconds.
|
||||
Weight::from_ref_time(67_627_106 as u64)
|
||||
// Standard Error: 1_712
|
||||
.saturating_add(Weight::from_ref_time(158_956 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))
|
||||
}
|
||||
@@ -94,7 +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 {
|
||||
Weight::from_ref_time(35_644_000 as u64)
|
||||
// Minimum execution time: 35_932 nanoseconds.
|
||||
Weight::from_ref_time(36_565_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -105,14 +111,14 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Storage: System BlockWeight (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 1000]`.
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn new_session(r: u32, c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_251_000
|
||||
.saturating_add(Weight::from_ref_time(6_889_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_251_000
|
||||
.saturating_add(Weight::from_ref_time(32_938_000 as u64).saturating_mul(c 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_mul(r as u64)))
|
||||
fn new_session(_r: u32, c: u32, ) -> Weight {
|
||||
// Minimum execution time: 24_050 nanoseconds.
|
||||
Weight::from_ref_time(24_439_000 as u64)
|
||||
// Standard Error: 674_280
|
||||
.saturating_add(Weight::from_ref_time(23_523_008 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)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,21 +17,22 @@
|
||||
//! Autogenerated weights for `pallet_multisig`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// ./target/production/polkadot-parachain
|
||||
// ./artifacts/polkadot-parachain
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=statemint-dev
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --pallet=pallet_multisig
|
||||
// --extrinsic=
|
||||
// --extrinsic=*
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/assets/statemint/src/weights/pallet_multisig.rs
|
||||
|
||||
@@ -47,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: 20_538 nanoseconds.
|
||||
Weight::from_ref_time(21_429_260 as u64)
|
||||
// Standard Error: 10
|
||||
.saturating_add(Weight::from_ref_time(398 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 22_134 nanoseconds.
|
||||
Weight::from_ref_time(22_604_925 as u64)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(715 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: 49_619 nanoseconds.
|
||||
Weight::from_ref_time(39_692_148 as u64)
|
||||
// Standard Error: 795
|
||||
.saturating_add(Weight::from_ref_time(107_929 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(1_563 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 53_866 nanoseconds.
|
||||
Weight::from_ref_time(41_343_606 as u64)
|
||||
// Standard Error: 1_035
|
||||
.saturating_add(Weight::from_ref_time(133_682 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 10
|
||||
.saturating_add(Weight::from_ref_time(1_773 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))
|
||||
}
|
||||
@@ -70,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: 39_162 nanoseconds.
|
||||
Weight::from_ref_time(27_925_170 as u64)
|
||||
// Standard Error: 771
|
||||
.saturating_add(Weight::from_ref_time(125_006 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 43_221 nanoseconds.
|
||||
Weight::from_ref_time(30_853_169 as u64)
|
||||
// Standard Error: 790
|
||||
.saturating_add(Weight::from_ref_time(130_145 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(1_587 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_733 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))
|
||||
}
|
||||
@@ -84,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: 54_676 nanoseconds.
|
||||
Weight::from_ref_time(42_343_658 as u64)
|
||||
// Standard Error: 915
|
||||
.saturating_add(Weight::from_ref_time(143_916 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 8
|
||||
.saturating_add(Weight::from_ref_time(1_486 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 57_905 nanoseconds.
|
||||
Weight::from_ref_time(43_231_076 as u64)
|
||||
// Standard Error: 1_047
|
||||
.saturating_add(Weight::from_ref_time(162_148 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 10
|
||||
.saturating_add(Weight::from_ref_time(1_831 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))
|
||||
}
|
||||
@@ -97,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: 34_863 nanoseconds.
|
||||
Weight::from_ref_time(37_816_741 as u64)
|
||||
// Standard Error: 1_209
|
||||
.saturating_add(Weight::from_ref_time(126_254 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 37_073 nanoseconds.
|
||||
Weight::from_ref_time(40_034_885 as u64)
|
||||
// Standard Error: 1_195
|
||||
.saturating_add(Weight::from_ref_time(129_484 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: 25_841 nanoseconds.
|
||||
Weight::from_ref_time(27_329_266 as u64)
|
||||
// Standard Error: 667
|
||||
.saturating_add(Weight::from_ref_time(126_214 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 27_147 nanoseconds.
|
||||
Weight::from_ref_time(29_227_318 as u64)
|
||||
// Standard Error: 717
|
||||
.saturating_add(Weight::from_ref_time(132_920 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: 34_887 nanoseconds.
|
||||
Weight::from_ref_time(37_482_449 as u64)
|
||||
// Standard Error: 1_063
|
||||
.saturating_add(Weight::from_ref_time(132_406 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 37_198 nanoseconds.
|
||||
Weight::from_ref_time(39_793_955 as u64)
|
||||
// Standard Error: 968
|
||||
.saturating_add(Weight::from_ref_time(141_607 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,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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_proxy`.
|
||||
@@ -49,9 +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 {
|
||||
Weight::from_ref_time(23_935_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(68_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 24_919 nanoseconds.
|
||||
Weight::from_ref_time(25_952_772 as u64)
|
||||
// Standard Error: 1_667
|
||||
.saturating_add(Weight::from_ref_time(42_169 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
@@ -60,11 +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 {
|
||||
Weight::from_ref_time(42_650_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(121_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(56_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 45_526 nanoseconds.
|
||||
Weight::from_ref_time(45_267_546 as u64)
|
||||
// Standard Error: 1_654
|
||||
.saturating_add(Weight::from_ref_time(134_289 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_709
|
||||
.saturating_add(Weight::from_ref_time(58_610 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))
|
||||
}
|
||||
@@ -73,11 +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 {
|
||||
Weight::from_ref_time(29_249_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(132_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(23_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 30_950 nanoseconds.
|
||||
Weight::from_ref_time(31_660_357 as u64)
|
||||
// Standard Error: 1_259
|
||||
.saturating_add(Weight::from_ref_time(144_627 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_301
|
||||
.saturating_add(Weight::from_ref_time(16_156 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))
|
||||
}
|
||||
@@ -86,11 +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 {
|
||||
Weight::from_ref_time(29_288_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(136_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(18_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 30_507 nanoseconds.
|
||||
Weight::from_ref_time(31_325_394 as u64)
|
||||
// Standard Error: 1_224
|
||||
.saturating_add(Weight::from_ref_time(147_987 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_265
|
||||
.saturating_add(Weight::from_ref_time(20_963 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))
|
||||
}
|
||||
@@ -100,38 +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 {
|
||||
Weight::from_ref_time(37_822_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(131_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(70_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 40_735 nanoseconds.
|
||||
Weight::from_ref_time(41_314_178 as u64)
|
||||
// Standard Error: 1_962
|
||||
.saturating_add(Weight::from_ref_time(135_806 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 2_027
|
||||
.saturating_add(Weight::from_ref_time(55_852 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 {
|
||||
Weight::from_ref_time(32_025_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(77_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 33_533 nanoseconds.
|
||||
Weight::from_ref_time(34_536_253 as u64)
|
||||
// Standard Error: 2_006
|
||||
.saturating_add(Weight::from_ref_time(73_863 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 {
|
||||
Weight::from_ref_time(31_970_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 33_012 nanoseconds.
|
||||
Weight::from_ref_time(34_466_236 as u64)
|
||||
// Standard Error: 2_618
|
||||
.saturating_add(Weight::from_ref_time(96_381 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 {
|
||||
Weight::from_ref_time(27_683_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(51_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 28_999 nanoseconds.
|
||||
Weight::from_ref_time(29_986_905 as u64)
|
||||
// Standard Error: 1_556
|
||||
.saturating_add(Weight::from_ref_time(44_105 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))
|
||||
}
|
||||
@@ -139,18 +147,18 @@ 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 {
|
||||
Weight::from_ref_time(34_807_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(9_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 36_380 nanoseconds.
|
||||
Weight::from_ref_time(37_671_947 as u64)
|
||||
// Standard Error: 1_750
|
||||
.saturating_add(Weight::from_ref_time(2_018 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 {
|
||||
Weight::from_ref_time(28_997_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(p as u64))
|
||||
fn kill_pure(_p: u32, ) -> Weight {
|
||||
// Minimum execution time: 30_336 nanoseconds.
|
||||
Weight::from_ref_time(32_505_595 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_session`.
|
||||
@@ -49,14 +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 {
|
||||
Weight::from_ref_time(24_731_000 as u64)
|
||||
// Minimum execution time: 25_831 nanoseconds.
|
||||
Weight::from_ref_time(25_999_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 {
|
||||
Weight::from_ref_time(20_852_000 as u64)
|
||||
// Minimum execution time: 22_117 nanoseconds.
|
||||
Weight::from_ref_time(22_513_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_timestamp`.
|
||||
@@ -48,11 +48,13 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Timestamp Now (r:1 w:1)
|
||||
fn set() -> Weight {
|
||||
Weight::from_ref_time(7_972_000 as u64)
|
||||
// Minimum execution time: 8_342 nanoseconds.
|
||||
Weight::from_ref_time(8_584_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
fn on_finalize() -> Weight {
|
||||
Weight::from_ref_time(4_333_000 as u64)
|
||||
// Minimum execution time: 4_530 nanoseconds.
|
||||
Weight::from_ref_time(4_648_000 as u64)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_uniques`.
|
||||
@@ -49,14 +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 {
|
||||
Weight::from_ref_time(32_952_000 as u64)
|
||||
// Minimum execution time: 33_809 nanoseconds.
|
||||
Weight::from_ref_time(34_411_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 {
|
||||
Weight::from_ref_time(21_878_000 as u64)
|
||||
// Minimum execution time: 22_686 nanoseconds.
|
||||
Weight::from_ref_time(23_191_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -72,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: 14_000
|
||||
.saturating_add(Weight::from_ref_time(10_327_000 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 14_000
|
||||
.saturating_add(Weight::from_ref_time(1_703_000 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 14_000
|
||||
.saturating_add(Weight::from_ref_time(1_599_000 as u64).saturating_mul(a as u64))
|
||||
// Minimum execution time: 2_527_595 nanoseconds.
|
||||
Weight::from_ref_time(2_531_072_000 as u64)
|
||||
// Standard Error: 28_818
|
||||
.saturating_add(Weight::from_ref_time(8_734_048 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 28_818
|
||||
.saturating_add(Weight::from_ref_time(337_060 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 28_818
|
||||
.saturating_add(Weight::from_ref_time(211_194 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))
|
||||
@@ -91,7 +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 {
|
||||
Weight::from_ref_time(42_048_000 as u64)
|
||||
// Minimum execution time: 43_266 nanoseconds.
|
||||
Weight::from_ref_time(43_804_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -100,7 +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 {
|
||||
Weight::from_ref_time(45_139_000 as u64)
|
||||
// Minimum execution time: 46_004 nanoseconds.
|
||||
Weight::from_ref_time(46_610_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -109,7 +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 {
|
||||
Weight::from_ref_time(35_141_000 as u64)
|
||||
// Minimum execution time: 36_705 nanoseconds.
|
||||
Weight::from_ref_time(37_234_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -117,9 +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 {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 12_000
|
||||
.saturating_add(Weight::from_ref_time(11_923_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 23_640 nanoseconds.
|
||||
Weight::from_ref_time(24_033_000 as u64)
|
||||
// Standard Error: 9_493
|
||||
.saturating_add(Weight::from_ref_time(11_402_662 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))
|
||||
@@ -128,26 +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 {
|
||||
Weight::from_ref_time(27_789_000 as u64)
|
||||
// Minimum execution time: 28_192 nanoseconds.
|
||||
Weight::from_ref_time(28_715_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 {
|
||||
Weight::from_ref_time(27_646_000 as u64)
|
||||
// Minimum execution time: 28_169 nanoseconds.
|
||||
Weight::from_ref_time(28_636_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 {
|
||||
Weight::from_ref_time(22_691_000 as u64)
|
||||
// Minimum execution time: 23_355 nanoseconds.
|
||||
Weight::from_ref_time(23_871_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 {
|
||||
Weight::from_ref_time(22_442_000 as u64)
|
||||
// Minimum execution time: 23_132 nanoseconds.
|
||||
Weight::from_ref_time(23_761_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -155,20 +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 {
|
||||
Weight::from_ref_time(31_723_000 as u64)
|
||||
// Minimum execution time: 32_904 nanoseconds.
|
||||
Weight::from_ref_time(33_355_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 {
|
||||
Weight::from_ref_time(23_679_000 as u64)
|
||||
// Minimum execution time: 24_048 nanoseconds.
|
||||
Weight::from_ref_time(24_330_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 {
|
||||
Weight::from_ref_time(26_006_000 as u64)
|
||||
// Minimum execution time: 27_514 nanoseconds.
|
||||
Weight::from_ref_time(28_076_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -176,7 +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 {
|
||||
Weight::from_ref_time(50_636_000 as u64)
|
||||
// Minimum execution time: 50_880 nanoseconds.
|
||||
Weight::from_ref_time(51_751_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -184,69 +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 {
|
||||
Weight::from_ref_time(48_616_000 as u64)
|
||||
// Minimum execution time: 50_571 nanoseconds.
|
||||
Weight::from_ref_time(51_778_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 {
|
||||
Weight::from_ref_time(40_123_000 as u64)
|
||||
// Minimum execution time: 41_030 nanoseconds.
|
||||
Weight::from_ref_time(41_422_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 {
|
||||
Weight::from_ref_time(43_104_000 as u64)
|
||||
// Minimum execution time: 43_097 nanoseconds.
|
||||
Weight::from_ref_time(43_780_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 {
|
||||
Weight::from_ref_time(39_039_000 as u64)
|
||||
// Minimum execution time: 40_353 nanoseconds.
|
||||
Weight::from_ref_time(40_833_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 {
|
||||
Weight::from_ref_time(39_647_000 as u64)
|
||||
// Minimum execution time: 41_132 nanoseconds.
|
||||
Weight::from_ref_time(41_668_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 {
|
||||
Weight::from_ref_time(30_019_000 as u64)
|
||||
// Minimum execution time: 30_023 nanoseconds.
|
||||
Weight::from_ref_time(30_563_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 {
|
||||
Weight::from_ref_time(29_229_000 as u64)
|
||||
// Minimum execution time: 30_118 nanoseconds.
|
||||
Weight::from_ref_time(30_552_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 {
|
||||
Weight::from_ref_time(26_650_000 as u64)
|
||||
// Minimum execution time: 27_368 nanoseconds.
|
||||
Weight::from_ref_time(27_940_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 {
|
||||
Weight::from_ref_time(25_238_000 as u64)
|
||||
// Minimum execution time: 26_431 nanoseconds.
|
||||
Weight::from_ref_time(26_986_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 {
|
||||
Weight::from_ref_time(26_334_000 as u64)
|
||||
// Minimum execution time: 26_446 nanoseconds.
|
||||
Weight::from_ref_time(27_045_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -255,7 +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 {
|
||||
Weight::from_ref_time(46_144_000 as u64)
|
||||
// Minimum execution time: 47_542 nanoseconds.
|
||||
Weight::from_ref_time(48_869_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_utility`.
|
||||
@@ -48,26 +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 {
|
||||
Weight::from_ref_time(21_360_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(3_860_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 14_550 nanoseconds.
|
||||
Weight::from_ref_time(23_311_921 as u64)
|
||||
// Standard Error: 2_177
|
||||
.saturating_add(Weight::from_ref_time(4_200_309 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
Weight::from_ref_time(6_860_000 as u64)
|
||||
// Minimum execution time: 7_477 nanoseconds.
|
||||
Weight::from_ref_time(7_640_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(14_622_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(4_028_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 14_200 nanoseconds.
|
||||
Weight::from_ref_time(23_093_825 as u64)
|
||||
// Standard Error: 1_919
|
||||
.saturating_add(Weight::from_ref_time(4_366_795 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
Weight::from_ref_time(15_303_000 as u64)
|
||||
// Minimum execution time: 16_571 nanoseconds.
|
||||
Weight::from_ref_time(16_991_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn force_batch(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(19_985_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(3_859_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 14_298 nanoseconds.
|
||||
Weight::from_ref_time(22_283_690 as u64)
|
||||
// Standard Error: 1_967
|
||||
.saturating_add(Weight::from_ref_time(4_210_122 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
}
|
||||
|
||||
+8
-8
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-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(33_878_000 as u64)
|
||||
Weight::from_ref_time(36_792_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(39_130_000 as u64)
|
||||
Weight::from_ref_time(42_444_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(54_404_000 as u64)
|
||||
Weight::from_ref_time(59_642_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(6_586_000 as u64)
|
||||
Weight::from_ref_time(7_336_000 as u64)
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
pub(crate) fn deposit_asset() -> Weight {
|
||||
Weight::from_ref_time(34_055_000 as u64)
|
||||
Weight::from_ref_time(37_455_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(50_905_000 as u64)
|
||||
Weight::from_ref_time(56_573_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(26_715_000 as u64)
|
||||
Weight::from_ref_time(30_037_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
+17
-17
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-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(693_490_000 as u64)
|
||||
Weight::from_ref_time(868_165_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_276_000 as u64)
|
||||
Weight::from_ref_time(9_748_000 as u64)
|
||||
}
|
||||
// Storage: PolkadotXcm Queries (r:1 w:0)
|
||||
pub(crate) fn query_response() -> Weight {
|
||||
Weight::from_ref_time(17_581_000 as u64)
|
||||
Weight::from_ref_time(19_950_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
pub(crate) fn transact() -> Weight {
|
||||
Weight::from_ref_time(20_807_000 as u64)
|
||||
Weight::from_ref_time(23_505_000 as u64)
|
||||
}
|
||||
pub(crate) fn refund_surplus() -> Weight {
|
||||
Weight::from_ref_time(9_523_000 as u64)
|
||||
Weight::from_ref_time(9_842_000 as u64)
|
||||
}
|
||||
pub(crate) fn set_error_handler() -> Weight {
|
||||
Weight::from_ref_time(5_732_000 as u64)
|
||||
Weight::from_ref_time(6_003_000 as u64)
|
||||
}
|
||||
pub(crate) fn set_appendix() -> Weight {
|
||||
Weight::from_ref_time(5_666_000 as u64)
|
||||
Weight::from_ref_time(6_262_000 as u64)
|
||||
}
|
||||
pub(crate) fn clear_error() -> Weight {
|
||||
Weight::from_ref_time(5_621_000 as u64)
|
||||
Weight::from_ref_time(6_331_000 as u64)
|
||||
}
|
||||
pub(crate) fn descend_origin() -> Weight {
|
||||
Weight::from_ref_time(6_570_000 as u64)
|
||||
Weight::from_ref_time(7_576_000 as u64)
|
||||
}
|
||||
pub(crate) fn clear_origin() -> Weight {
|
||||
Weight::from_ref_time(5_773_000 as u64)
|
||||
Weight::from_ref_time(6_235_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(16_085_000 as u64)
|
||||
Weight::from_ref_time(18_121_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(12_664_000 as u64)
|
||||
Weight::from_ref_time(25_008_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(5_774_000 as u64)
|
||||
Weight::from_ref_time(6_282_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(19_102_000 as u64)
|
||||
Weight::from_ref_time(21_428_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(8_841_000 as u64)
|
||||
Weight::from_ref_time(9_696_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(864_425_000 as u64)
|
||||
Weight::from_ref_time(1_088_223_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,51 +40,59 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `frame_system`.
|
||||
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 {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
fn remark(b: u32, ) -> Weight {
|
||||
// Minimum execution time: 4_054 nanoseconds.
|
||||
Weight::from_ref_time(4_119_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(409 as u64).saturating_mul(b as u64))
|
||||
}
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark_with_event(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Minimum execution time: 14_511 nanoseconds.
|
||||
Weight::from_ref_time(14_771_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_494 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 {
|
||||
Weight::from_ref_time(8_984_000 as u64)
|
||||
// Minimum execution time: 9_595 nanoseconds.
|
||||
Weight::from_ref_time(9_894_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 `[1, 1000]`.
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn set_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(631_000 as u64).saturating_mul(i as u64))
|
||||
// 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))
|
||||
.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 `[1, 1000]`.
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn kill_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(565_000 as u64).saturating_mul(i as u64))
|
||||
// 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))
|
||||
.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 `[1, 1000]`.
|
||||
/// The range of component `p` is `[0, 1000]`.
|
||||
fn kill_prefix(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(1_128_000 as u64).saturating_mul(p as u64))
|
||||
// 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))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_assets`.
|
||||
@@ -48,13 +48,15 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn create() -> Weight {
|
||||
Weight::from_ref_time(31_293_000 as u64)
|
||||
// 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))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
fn force_create() -> Weight {
|
||||
Weight::from_ref_time(18_434_000 as u64)
|
||||
// Minimum execution time: 19_417 nanoseconds.
|
||||
Weight::from_ref_time(19_648_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -65,17 +67,16 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// 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 {
|
||||
Weight::from_ref_time(37_000_000 as u64)
|
||||
// Standard Error: 19_301
|
||||
.saturating_add(Weight::from_ref_time(25_467_908 as u64).saturating_mul(c as u64))
|
||||
// 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))
|
||||
.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().reads((1 as u64).saturating_mul(a 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)))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(a as u64)))
|
||||
}
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Approvals (r:1 w:0)
|
||||
@@ -99,14 +100,16 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Assets Asset (r:1 w:1)
|
||||
// Storage: Assets Account (r:1 w:1)
|
||||
fn mint() -> Weight {
|
||||
Weight::from_ref_time(38_154_000 as u64)
|
||||
// Minimum execution time: 38_548 nanoseconds.
|
||||
Weight::from_ref_time(39_060_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 {
|
||||
Weight::from_ref_time(41_980_000 as u64)
|
||||
// Minimum execution time: 42_004 nanoseconds.
|
||||
Weight::from_ref_time(42_718_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -114,7 +117,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 {
|
||||
Weight::from_ref_time(54_531_000 as u64)
|
||||
// Minimum execution time: 55_794 nanoseconds.
|
||||
Weight::from_ref_time(56_508_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -122,7 +126,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 {
|
||||
Weight::from_ref_time(47_282_000 as u64)
|
||||
// Minimum execution time: 46_459 nanoseconds.
|
||||
Weight::from_ref_time(47_366_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -130,46 +135,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 {
|
||||
Weight::from_ref_time(54_238_000 as u64)
|
||||
// Minimum execution time: 55_830 nanoseconds.
|
||||
Weight::from_ref_time(56_563_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 {
|
||||
Weight::from_ref_time(26_977_000 as u64)
|
||||
// Minimum execution time: 27_275 nanoseconds.
|
||||
Weight::from_ref_time(27_612_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 {
|
||||
Weight::from_ref_time(26_731_000 as u64)
|
||||
// Minimum execution time: 27_833 nanoseconds.
|
||||
Weight::from_ref_time(28_194_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 {
|
||||
Weight::from_ref_time(23_480_000 as u64)
|
||||
// Minimum execution time: 23_454 nanoseconds.
|
||||
Weight::from_ref_time(23_870_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 {
|
||||
Weight::from_ref_time(22_840_000 as u64)
|
||||
// Minimum execution time: 23_361 nanoseconds.
|
||||
Weight::from_ref_time(23_819_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 {
|
||||
Weight::from_ref_time(25_506_000 as u64)
|
||||
// Minimum execution time: 26_888 nanoseconds.
|
||||
Weight::from_ref_time(27_225_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 {
|
||||
Weight::from_ref_time(24_610_000 as u64)
|
||||
// Minimum execution time: 25_385 nanoseconds.
|
||||
Weight::from_ref_time(26_086_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -178,14 +190,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 {
|
||||
Weight::from_ref_time(38_251_000 as u64)
|
||||
// Minimum execution time: 37_786 nanoseconds.
|
||||
Weight::from_ref_time(40_884_854 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 {
|
||||
Weight::from_ref_time(41_601_000 as u64)
|
||||
// Minimum execution time: 41_582 nanoseconds.
|
||||
Weight::from_ref_time(42_552_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -193,30 +207,32 @@ 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 {
|
||||
Weight::from_ref_time(25_607_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64))
|
||||
fn force_set_metadata(_n: u32, _s: u32, ) -> Weight {
|
||||
// Minimum execution time: 25_752 nanoseconds.
|
||||
Weight::from_ref_time(26_999_915 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 {
|
||||
Weight::from_ref_time(41_226_000 as u64)
|
||||
// Minimum execution time: 42_501 nanoseconds.
|
||||
Weight::from_ref_time(42_970_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 {
|
||||
Weight::from_ref_time(23_750_000 as u64)
|
||||
// Minimum execution time: 24_751 nanoseconds.
|
||||
Weight::from_ref_time(25_035_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 {
|
||||
Weight::from_ref_time(40_582_000 as u64)
|
||||
// Minimum execution time: 42_249 nanoseconds.
|
||||
Weight::from_ref_time(43_045_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -225,21 +241,24 @@ 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_approved() -> Weight {
|
||||
Weight::from_ref_time(71_770_000 as u64)
|
||||
// Minimum execution time: 72_203 nanoseconds.
|
||||
Weight::from_ref_time(73_368_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 {
|
||||
Weight::from_ref_time(43_552_000 as u64)
|
||||
// Minimum execution time: 44_357 nanoseconds.
|
||||
Weight::from_ref_time(44_954_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 {
|
||||
Weight::from_ref_time(43_189_000 as u64)
|
||||
// Minimum execution time: 43_803 nanoseconds.
|
||||
Weight::from_ref_time(44_451_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_balances`.
|
||||
@@ -48,43 +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 {
|
||||
Weight::from_ref_time(47_120_000 as u64)
|
||||
// Minimum execution time: 48_374 nanoseconds.
|
||||
Weight::from_ref_time(49_079_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 {
|
||||
Weight::from_ref_time(35_145_000 as u64)
|
||||
// Minimum execution time: 36_708 nanoseconds.
|
||||
Weight::from_ref_time(37_012_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 {
|
||||
Weight::from_ref_time(25_940_000 as u64)
|
||||
// Minimum execution time: 27_657 nanoseconds.
|
||||
Weight::from_ref_time(28_198_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 {
|
||||
Weight::from_ref_time(29_130_000 as u64)
|
||||
// Minimum execution time: 31_085 nanoseconds.
|
||||
Weight::from_ref_time(31_666_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 {
|
||||
Weight::from_ref_time(46_032_000 as u64)
|
||||
// Minimum execution time: 48_833 nanoseconds.
|
||||
Weight::from_ref_time(49_964_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 {
|
||||
Weight::from_ref_time(40_563_000 as u64)
|
||||
// Minimum execution time: 41_697 nanoseconds.
|
||||
Weight::from_ref_time(42_217_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 {
|
||||
Weight::from_ref_time(22_226_000 as u64)
|
||||
// Minimum execution time: 23_357 nanoseconds.
|
||||
Weight::from_ref_time(23_917_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_collator_selection`.
|
||||
@@ -50,20 +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 {
|
||||
Weight::from_ref_time(23_157_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(2_476_000 as u64).saturating_mul(b as u64))
|
||||
// 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))
|
||||
.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 {
|
||||
Weight::from_ref_time(13_911_000 as u64)
|
||||
// Minimum execution time: 15_157 nanoseconds.
|
||||
Weight::from_ref_time(15_697_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
||||
fn set_candidacy_bond() -> Weight {
|
||||
Weight::from_ref_time(14_462_000 as u64)
|
||||
// Minimum execution time: 15_088 nanoseconds.
|
||||
Weight::from_ref_time(15_395_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||
@@ -72,11 +75,12 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Storage: Session NextKeys (r:1 w:0)
|
||||
// Storage: CollatorSelection CandidacyBond (r:1 w:0)
|
||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
/// The range of component `c` is `[1, 999]`.
|
||||
fn register_as_candidate(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(61_134_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(171_000 as u64).saturating_mul(c as u64))
|
||||
// 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))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -84,9 +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 {
|
||||
Weight::from_ref_time(65_244_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(156_000 as u64).saturating_mul(c as u64))
|
||||
// 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))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -94,7 +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 {
|
||||
Weight::from_ref_time(35_627_000 as u64)
|
||||
// Minimum execution time: 34_915 nanoseconds.
|
||||
Weight::from_ref_time(35_465_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -105,14 +111,14 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Storage: System BlockWeight (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 1000]`.
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn new_session(r: u32, c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_285_000
|
||||
.saturating_add(Weight::from_ref_time(7_375_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_285_000
|
||||
.saturating_add(Weight::from_ref_time(33_768_000 as u64).saturating_mul(c 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_mul(r as u64)))
|
||||
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))
|
||||
.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)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,21 +17,22 @@
|
||||
//! Autogenerated weights for `pallet_multisig`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, 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:
|
||||
// ./target/production/polkadot-parachain
|
||||
// ./artifacts/polkadot-parachain
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=westmint-dev
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --pallet=pallet_multisig
|
||||
// --extrinsic=
|
||||
// --extrinsic=*
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/assets/westmint/src/weights/pallet_multisig.rs
|
||||
|
||||
@@ -47,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_175 nanoseconds.
|
||||
Weight::from_ref_time(21_415_507 as u64)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(535 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 21_670 nanoseconds.
|
||||
Weight::from_ref_time(22_147_334 as u64)
|
||||
// Standard Error: 3
|
||||
.saturating_add(Weight::from_ref_time(572 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: 50_848 nanoseconds.
|
||||
Weight::from_ref_time(38_951_816 as u64)
|
||||
// Standard Error: 591
|
||||
.saturating_add(Weight::from_ref_time(129_854 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(1_478 as u64).saturating_mul(z as u64))
|
||||
// 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))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -70,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: 38_966 nanoseconds.
|
||||
Weight::from_ref_time(28_246_168 as u64)
|
||||
// Standard Error: 854
|
||||
.saturating_add(Weight::from_ref_time(120_269 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 8
|
||||
.saturating_add(Weight::from_ref_time(1_559 as u64).saturating_mul(z as u64))
|
||||
// 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))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -84,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: 53_624 nanoseconds.
|
||||
Weight::from_ref_time(41_648_270 as u64)
|
||||
// Standard Error: 899
|
||||
.saturating_add(Weight::from_ref_time(146_173 as u64).saturating_mul(s as u64))
|
||||
// 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_506 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_598 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))
|
||||
}
|
||||
@@ -97,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: 34_216 nanoseconds.
|
||||
Weight::from_ref_time(37_335_151 as u64)
|
||||
// Standard Error: 1_250
|
||||
.saturating_add(Weight::from_ref_time(127_478 as u64).saturating_mul(s as u64))
|
||||
// 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))
|
||||
.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: 25_017 nanoseconds.
|
||||
Weight::from_ref_time(26_893_486 as u64)
|
||||
// Standard Error: 769
|
||||
.saturating_add(Weight::from_ref_time(129_806 as u64).saturating_mul(s as u64))
|
||||
// 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))
|
||||
.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: 34_833 nanoseconds.
|
||||
Weight::from_ref_time(37_327_112 as u64)
|
||||
// Standard Error: 1_050
|
||||
.saturating_add(Weight::from_ref_time(132_018 as u64).saturating_mul(s as u64))
|
||||
// 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))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_proxy`.
|
||||
@@ -49,9 +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 {
|
||||
Weight::from_ref_time(23_821_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(39_000 as u64).saturating_mul(p as u64))
|
||||
// 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))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
@@ -60,11 +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 {
|
||||
Weight::from_ref_time(42_022_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(126_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(64_000 as u64).saturating_mul(p as u64))
|
||||
// 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))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -73,11 +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 {
|
||||
Weight::from_ref_time(29_106_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(137_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(18_000 as u64).saturating_mul(p as u64))
|
||||
// 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))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -86,11 +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 {
|
||||
Weight::from_ref_time(29_072_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(134_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(21_000 as u64).saturating_mul(p as u64))
|
||||
// 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))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -100,38 +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 {
|
||||
Weight::from_ref_time(37_840_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(134_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(71_000 as u64).saturating_mul(p as u64))
|
||||
// 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))
|
||||
.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 {
|
||||
Weight::from_ref_time(31_828_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(78_000 as u64).saturating_mul(p as u64))
|
||||
// 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))
|
||||
.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 {
|
||||
Weight::from_ref_time(32_104_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(75_000 as u64).saturating_mul(p as u64))
|
||||
// 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))
|
||||
.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 {
|
||||
Weight::from_ref_time(27_439_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(49_000 as u64).saturating_mul(p as u64))
|
||||
// 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))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -139,18 +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 {
|
||||
Weight::from_ref_time(34_203_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(19_000 as u64).saturating_mul(p as u64))
|
||||
// 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))
|
||||
.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 {
|
||||
Weight::from_ref_time(28_598_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(51_000 as u64).saturating_mul(p as u64))
|
||||
// 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))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_session`.
|
||||
@@ -49,14 +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 {
|
||||
Weight::from_ref_time(23_885_000 as u64)
|
||||
// Minimum execution time: 25_676 nanoseconds.
|
||||
Weight::from_ref_time(26_126_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 {
|
||||
Weight::from_ref_time(20_516_000 as u64)
|
||||
// Minimum execution time: 22_376 nanoseconds.
|
||||
Weight::from_ref_time(22_698_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_timestamp`.
|
||||
@@ -48,11 +48,13 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Timestamp Now (r:1 w:1)
|
||||
fn set() -> Weight {
|
||||
Weight::from_ref_time(8_507_000 as u64)
|
||||
// Minimum execution time: 8_539 nanoseconds.
|
||||
Weight::from_ref_time(8_835_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
fn on_finalize() -> Weight {
|
||||
Weight::from_ref_time(4_495_000 as u64)
|
||||
// Minimum execution time: 4_780 nanoseconds.
|
||||
Weight::from_ref_time(4_971_000 as u64)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_uniques`.
|
||||
@@ -49,14 +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 {
|
||||
Weight::from_ref_time(32_549_000 as u64)
|
||||
// Minimum execution time: 34_128 nanoseconds.
|
||||
Weight::from_ref_time(34_756_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 {
|
||||
Weight::from_ref_time(21_109_000 as u64)
|
||||
// Minimum execution time: 22_112 nanoseconds.
|
||||
Weight::from_ref_time(22_776_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -91,7 +93,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 {
|
||||
Weight::from_ref_time(41_837_000 as u64)
|
||||
// Minimum execution time: 43_312 nanoseconds.
|
||||
Weight::from_ref_time(43_855_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -100,7 +103,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 {
|
||||
Weight::from_ref_time(45_164_000 as u64)
|
||||
// Minimum execution time: 46_655 nanoseconds.
|
||||
Weight::from_ref_time(47_326_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -109,7 +113,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 {
|
||||
Weight::from_ref_time(34_171_000 as u64)
|
||||
// Minimum execution time: 35_543 nanoseconds.
|
||||
Weight::from_ref_time(36_056_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -117,9 +122,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 {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 12_000
|
||||
.saturating_add(Weight::from_ref_time(11_658_000 as u64).saturating_mul(i as u64))
|
||||
// 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))
|
||||
.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))
|
||||
@@ -128,26 +134,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 {
|
||||
Weight::from_ref_time(27_439_000 as u64)
|
||||
// Minimum execution time: 27_996 nanoseconds.
|
||||
Weight::from_ref_time(28_315_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 {
|
||||
Weight::from_ref_time(27_669_000 as u64)
|
||||
// Minimum execution time: 27_905 nanoseconds.
|
||||
Weight::from_ref_time(28_351_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 {
|
||||
Weight::from_ref_time(22_032_000 as u64)
|
||||
// Minimum execution time: 23_316 nanoseconds.
|
||||
Weight::from_ref_time(23_795_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 {
|
||||
Weight::from_ref_time(21_651_000 as u64)
|
||||
// Minimum execution time: 22_641 nanoseconds.
|
||||
Weight::from_ref_time(23_468_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -155,20 +165,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 {
|
||||
Weight::from_ref_time(30_906_000 as u64)
|
||||
// Minimum execution time: 31_605 nanoseconds.
|
||||
Weight::from_ref_time(32_363_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 {
|
||||
Weight::from_ref_time(23_165_000 as u64)
|
||||
// Minimum execution time: 24_165 nanoseconds.
|
||||
Weight::from_ref_time(24_604_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 {
|
||||
Weight::from_ref_time(25_865_000 as u64)
|
||||
// Minimum execution time: 26_614 nanoseconds.
|
||||
Weight::from_ref_time(27_158_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -176,7 +189,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 {
|
||||
Weight::from_ref_time(50_049_000 as u64)
|
||||
// Minimum execution time: 50_007 nanoseconds.
|
||||
Weight::from_ref_time(51_013_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -184,69 +198,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 {
|
||||
Weight::from_ref_time(47_729_000 as u64)
|
||||
// Minimum execution time: 49_228 nanoseconds.
|
||||
Weight::from_ref_time(51_142_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 {
|
||||
Weight::from_ref_time(39_470_000 as u64)
|
||||
// Minimum execution time: 40_898 nanoseconds.
|
||||
Weight::from_ref_time(41_453_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 {
|
||||
Weight::from_ref_time(42_195_000 as u64)
|
||||
// Minimum execution time: 42_863 nanoseconds.
|
||||
Weight::from_ref_time(43_868_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 {
|
||||
Weight::from_ref_time(38_154_000 as u64)
|
||||
// Minimum execution time: 39_108 nanoseconds.
|
||||
Weight::from_ref_time(39_897_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 {
|
||||
Weight::from_ref_time(38_619_000 as u64)
|
||||
// Minimum execution time: 40_116 nanoseconds.
|
||||
Weight::from_ref_time(40_778_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 {
|
||||
Weight::from_ref_time(28_507_000 as u64)
|
||||
// Minimum execution time: 29_416 nanoseconds.
|
||||
Weight::from_ref_time(29_816_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 {
|
||||
Weight::from_ref_time(28_219_000 as u64)
|
||||
// Minimum execution time: 30_057 nanoseconds.
|
||||
Weight::from_ref_time(30_646_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 {
|
||||
Weight::from_ref_time(25_565_000 as u64)
|
||||
// Minimum execution time: 26_916 nanoseconds.
|
||||
Weight::from_ref_time(27_515_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 {
|
||||
Weight::from_ref_time(25_118_000 as u64)
|
||||
// Minimum execution time: 25_734 nanoseconds.
|
||||
Weight::from_ref_time(26_421_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 {
|
||||
Weight::from_ref_time(25_956_000 as u64)
|
||||
// Minimum execution time: 26_624 nanoseconds.
|
||||
Weight::from_ref_time(27_238_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -255,7 +279,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 {
|
||||
Weight::from_ref_time(46_447_000 as u64)
|
||||
// Minimum execution time: 46_714 nanoseconds.
|
||||
Weight::from_ref_time(47_535_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
|
||||
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight}};
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for `pallet_utility`.
|
||||
@@ -48,26 +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 {
|
||||
Weight::from_ref_time(22_368_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(3_915_000 as u64).saturating_mul(c as u64))
|
||||
// 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))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
Weight::from_ref_time(6_839_000 as u64)
|
||||
// Minimum execution time: 7_152 nanoseconds.
|
||||
Weight::from_ref_time(7_417_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_179_000 as u64)
|
||||
// Standard Error: 16_000
|
||||
.saturating_add(Weight::from_ref_time(4_137_000 as u64).saturating_mul(c as u64))
|
||||
// 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))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
Weight::from_ref_time(15_391_000 as u64)
|
||||
// Minimum execution time: 16_095 nanoseconds.
|
||||
Weight::from_ref_time(16_549_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn force_batch(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(24_999_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(3_898_000 as u64).saturating_mul(c as u64))
|
||||
// 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))
|
||||
}
|
||||
}
|
||||
|
||||
+8
-8
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, 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(34_470_000 as u64)
|
||||
Weight::from_ref_time(36_468_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(39_616_000 as u64)
|
||||
Weight::from_ref_time(42_077_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(55_124_000 as u64)
|
||||
Weight::from_ref_time(58_674_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(6_618_000 as u64)
|
||||
Weight::from_ref_time(7_262_000 as u64)
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
pub(crate) fn deposit_asset() -> Weight {
|
||||
Weight::from_ref_time(34_636_000 as u64)
|
||||
Weight::from_ref_time(36_970_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(50_739_000 as u64)
|
||||
Weight::from_ref_time(56_065_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(27_420_000 as u64)
|
||||
Weight::from_ref_time(28_795_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
+17
-17
@@ -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-09-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm6`, 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(692_482_000 as u64)
|
||||
Weight::from_ref_time(706_307_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_444_000 as u64)
|
||||
Weight::from_ref_time(9_790_000 as u64)
|
||||
}
|
||||
// Storage: PolkadotXcm Queries (r:1 w:0)
|
||||
pub(crate) fn query_response() -> Weight {
|
||||
Weight::from_ref_time(17_708_000 as u64)
|
||||
Weight::from_ref_time(19_525_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
pub(crate) fn transact() -> Weight {
|
||||
Weight::from_ref_time(20_476_000 as u64)
|
||||
Weight::from_ref_time(22_265_000 as u64)
|
||||
}
|
||||
pub(crate) fn refund_surplus() -> Weight {
|
||||
Weight::from_ref_time(9_802_000 as u64)
|
||||
Weight::from_ref_time(9_945_000 as u64)
|
||||
}
|
||||
pub(crate) fn set_error_handler() -> Weight {
|
||||
Weight::from_ref_time(5_466_000 as u64)
|
||||
Weight::from_ref_time(6_128_000 as u64)
|
||||
}
|
||||
pub(crate) fn set_appendix() -> Weight {
|
||||
Weight::from_ref_time(5_608_000 as u64)
|
||||
Weight::from_ref_time(6_348_000 as u64)
|
||||
}
|
||||
pub(crate) fn clear_error() -> Weight {
|
||||
Weight::from_ref_time(5_462_000 as u64)
|
||||
Weight::from_ref_time(6_131_000 as u64)
|
||||
}
|
||||
pub(crate) fn descend_origin() -> Weight {
|
||||
Weight::from_ref_time(6_248_000 as u64)
|
||||
Weight::from_ref_time(7_391_000 as u64)
|
||||
}
|
||||
pub(crate) fn clear_origin() -> Weight {
|
||||
Weight::from_ref_time(5_521_000 as u64)
|
||||
Weight::from_ref_time(6_135_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(15_966_000 as u64)
|
||||
Weight::from_ref_time(17_348_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(11_936_000 as u64)
|
||||
Weight::from_ref_time(24_587_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(5_627_000 as u64)
|
||||
Weight::from_ref_time(6_133_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(19_169_000 as u64)
|
||||
Weight::from_ref_time(20_739_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(8_660_000 as u64)
|
||||
Weight::from_ref_time(9_419_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(967_302_000 as u64)
|
||||
Weight::from_ref_time(883_777_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
@@ -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-07-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, 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("collectives-polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights
|
||||
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/frame_system.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -47,44 +47,52 @@ use sp_std::marker::PhantomData;
|
||||
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 {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
fn remark(b: u32, ) -> Weight {
|
||||
// Minimum execution time: 3_986 nanoseconds.
|
||||
Weight::from_ref_time(4_150_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(411 as u64).saturating_mul(b as u64))
|
||||
}
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark_with_event(b: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Minimum execution time: 13_573 nanoseconds.
|
||||
Weight::from_ref_time(13_750_000 as u64)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_495 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 {
|
||||
Weight::from_ref_time(5_069_000 as u64)
|
||||
// Minimum execution time: 8_715 nanoseconds.
|
||||
Weight::from_ref_time(9_111_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 `[1, 1000]`.
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn set_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(624_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 4_152 nanoseconds.
|
||||
Weight::from_ref_time(4_243_000 as u64)
|
||||
// Standard Error: 813
|
||||
.saturating_add(Weight::from_ref_time(642_493 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 `[1, 1000]`.
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn kill_storage(i: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(530_000 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 4_182 nanoseconds.
|
||||
Weight::from_ref_time(4_325_000 as u64)
|
||||
// Standard Error: 1_070
|
||||
.saturating_add(Weight::from_ref_time(557_187 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 `[1, 1000]`.
|
||||
/// The range of component `p` is `[0, 1000]`.
|
||||
fn kill_prefix(p: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(1_059_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 5_669 nanoseconds.
|
||||
Weight::from_ref_time(5_722_000 as u64)
|
||||
// Standard Error: 1_384
|
||||
.saturating_add(Weight::from_ref_time(1_165_138 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||
}
|
||||
}
|
||||
|
||||
+98
-96
@@ -17,8 +17,8 @@
|
||||
//! Autogenerated weights for `pallet_alliance`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-11-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-10, 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("collectives-polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -35,7 +35,7 @@
|
||||
// --pallet=pallet_alliance
|
||||
// --chain=collectives-polkadot-dev
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/
|
||||
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_alliance.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -57,12 +57,12 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `y` is `[0, 90]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn propose_proposed(_b: u32, _x: u32, y: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 41_862 nanoseconds.
|
||||
Weight::from_ref_time(44_475_938 as u64)
|
||||
// Standard Error: 2_412
|
||||
.saturating_add(Weight::from_ref_time(39_913 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 2_201
|
||||
.saturating_add(Weight::from_ref_time(175_874 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 43_327 nanoseconds.
|
||||
Weight::from_ref_time(47_831_441 as u64)
|
||||
// Standard Error: 2_335
|
||||
.saturating_add(Weight::from_ref_time(49_915 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 2_131
|
||||
.saturating_add(Weight::from_ref_time(167_914 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -70,11 +70,13 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||
/// The range of component `x` is `[3, 10]`.
|
||||
/// The range of component `y` is `[2, 90]`.
|
||||
fn vote(_x: u32, y: u32, ) -> Weight {
|
||||
// Minimum execution time: 44_943 nanoseconds.
|
||||
Weight::from_ref_time(47_476_239 as u64)
|
||||
// Standard Error: 3_021
|
||||
.saturating_add(Weight::from_ref_time(111_095 as u64).saturating_mul(y as u64))
|
||||
fn vote(x: u32, y: u32, ) -> Weight {
|
||||
// Minimum execution time: 46_818 nanoseconds.
|
||||
Weight::from_ref_time(48_355_703 as u64)
|
||||
// Standard Error: 38_083
|
||||
.saturating_add(Weight::from_ref_time(199_036 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 3_223
|
||||
.saturating_add(Weight::from_ref_time(54_377 as u64).saturating_mul(y as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -84,10 +86,10 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
// Storage: AllianceMotion Voting (r:0 w:1)
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn veto(p: u32, ) -> Weight {
|
||||
// Minimum execution time: 31_655 nanoseconds.
|
||||
Weight::from_ref_time(35_486_028 as u64)
|
||||
// Standard Error: 1_602
|
||||
.saturating_add(Weight::from_ref_time(177_740 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 33_781 nanoseconds.
|
||||
Weight::from_ref_time(37_103_051 as u64)
|
||||
// Standard Error: 1_592
|
||||
.saturating_add(Weight::from_ref_time(181_767 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -100,14 +102,14 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `y` is `[2, 90]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_disapproved(x: u32, y: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 48_595 nanoseconds.
|
||||
Weight::from_ref_time(43_160_052 as u64)
|
||||
// Standard Error: 24_167
|
||||
.saturating_add(Weight::from_ref_time(18_121 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 2_354
|
||||
.saturating_add(Weight::from_ref_time(80_608 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 2_103
|
||||
.saturating_add(Weight::from_ref_time(170_852 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 48_244 nanoseconds.
|
||||
Weight::from_ref_time(47_895_181 as u64)
|
||||
// Standard Error: 31_033
|
||||
.saturating_add(Weight::from_ref_time(233_652 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 3_023
|
||||
.saturating_add(Weight::from_ref_time(34_551 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 2_701
|
||||
.saturating_add(Weight::from_ref_time(124_837 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -120,15 +122,17 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `x` is `[2, 10]`.
|
||||
/// The range of component `y` is `[2, 90]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_early_approved(b: u32, _x: u32, y: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 59_651 nanoseconds.
|
||||
Weight::from_ref_time(55_415_708 as u64)
|
||||
// Standard Error: 216
|
||||
.saturating_add(Weight::from_ref_time(2_458 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 2_503
|
||||
.saturating_add(Weight::from_ref_time(62_857 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 2_236
|
||||
.saturating_add(Weight::from_ref_time(187_234 as u64).saturating_mul(p as u64))
|
||||
fn close_early_approved(b: u32, x: u32, y: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 61_015 nanoseconds.
|
||||
Weight::from_ref_time(57_149_992 as u64)
|
||||
// Standard Error: 246
|
||||
.saturating_add(Weight::from_ref_time(2_998 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 29_174
|
||||
.saturating_add(Weight::from_ref_time(14_515 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 2_847
|
||||
.saturating_add(Weight::from_ref_time(38_233 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 2_543
|
||||
.saturating_add(Weight::from_ref_time(174_542 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -143,12 +147,12 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `y` is `[2, 90]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_disapproved(_x: u32, y: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 64_871 nanoseconds.
|
||||
Weight::from_ref_time(62_783_382 as u64)
|
||||
// Standard Error: 2_394
|
||||
.saturating_add(Weight::from_ref_time(75_872 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 2_139
|
||||
.saturating_add(Weight::from_ref_time(197_924 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 67_605 nanoseconds.
|
||||
Weight::from_ref_time(66_773_651 as u64)
|
||||
// Standard Error: 3_250
|
||||
.saturating_add(Weight::from_ref_time(58_552 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 2_903
|
||||
.saturating_add(Weight::from_ref_time(183_936 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -162,15 +166,13 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `x` is `[2, 10]`.
|
||||
/// The range of component `y` is `[2, 90]`.
|
||||
/// The range of component `p` is `[1, 100]`.
|
||||
fn close_approved(b: u32, _x: u32, y: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 49_900 nanoseconds.
|
||||
Weight::from_ref_time(45_150_540 as u64)
|
||||
// Standard Error: 197
|
||||
.saturating_add(Weight::from_ref_time(412 as u64).saturating_mul(b as u64))
|
||||
// Standard Error: 2_284
|
||||
.saturating_add(Weight::from_ref_time(73_832 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 2_040
|
||||
.saturating_add(Weight::from_ref_time(190_434 as u64).saturating_mul(p as u64))
|
||||
fn close_approved(_b: u32, _x: u32, y: u32, p: u32, ) -> Weight {
|
||||
// Minimum execution time: 51_748 nanoseconds.
|
||||
Weight::from_ref_time(48_865_836 as u64)
|
||||
// Standard Error: 2_633
|
||||
.saturating_add(Weight::from_ref_time(75_701 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 2_351
|
||||
.saturating_add(Weight::from_ref_time(194_721 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -180,14 +182,14 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `y` is `[0, 90]`.
|
||||
/// The range of component `z` is `[0, 100]`.
|
||||
fn init_members(x: u32, y: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 46_750 nanoseconds.
|
||||
Weight::from_ref_time(31_805_458 as u64)
|
||||
// Standard Error: 10_486
|
||||
.saturating_add(Weight::from_ref_time(114_892 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 1_110
|
||||
.saturating_add(Weight::from_ref_time(179_285 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 1_001
|
||||
.saturating_add(Weight::from_ref_time(149_906 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 48_081 nanoseconds.
|
||||
Weight::from_ref_time(31_894_957 as u64)
|
||||
// Standard Error: 8_667
|
||||
.saturating_add(Weight::from_ref_time(160_266 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 917
|
||||
.saturating_add(Weight::from_ref_time(186_970 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 827
|
||||
.saturating_add(Weight::from_ref_time(155_921 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -201,14 +203,14 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `y` is `[0, 100]`.
|
||||
/// The range of component `z` is `[0, 50]`.
|
||||
fn disband(x: u32, y: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 254_550 nanoseconds.
|
||||
Weight::from_ref_time(255_691_000 as u64)
|
||||
// Standard Error: 20_111
|
||||
.saturating_add(Weight::from_ref_time(418_055 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 20_014
|
||||
.saturating_add(Weight::from_ref_time(500_742 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 39_992
|
||||
.saturating_add(Weight::from_ref_time(9_058_238 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 256_705 nanoseconds.
|
||||
Weight::from_ref_time(257_735_000 as u64)
|
||||
// Standard Error: 20_427
|
||||
.saturating_add(Weight::from_ref_time(442_424 as u64).saturating_mul(x as u64))
|
||||
// Standard Error: 20_329
|
||||
.saturating_add(Weight::from_ref_time(508_022 as u64).saturating_mul(y as u64))
|
||||
// Standard Error: 40_620
|
||||
.saturating_add(Weight::from_ref_time(9_490_608 as u64).saturating_mul(z as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(x as u64)))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(y as u64)))
|
||||
@@ -218,21 +220,21 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
}
|
||||
// Storage: Alliance Rule (r:0 w:1)
|
||||
fn set_rule() -> Weight {
|
||||
// Minimum execution time: 18_103 nanoseconds.
|
||||
Weight::from_ref_time(18_546_000 as u64)
|
||||
// Minimum execution time: 19_171 nanoseconds.
|
||||
Weight::from_ref_time(19_395_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Alliance Announcements (r:1 w:1)
|
||||
fn announce() -> Weight {
|
||||
// Minimum execution time: 20_188 nanoseconds.
|
||||
Weight::from_ref_time(20_474_000 as u64)
|
||||
// Minimum execution time: 21_640 nanoseconds.
|
||||
Weight::from_ref_time(21_983_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Alliance Announcements (r:1 w:1)
|
||||
fn remove_announcement() -> Weight {
|
||||
// Minimum execution time: 22_146 nanoseconds.
|
||||
Weight::from_ref_time(24_837_000 as u64)
|
||||
// Minimum execution time: 23_224 nanoseconds.
|
||||
Weight::from_ref_time(23_606_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -241,16 +243,16 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Alliance DepositOf (r:0 w:1)
|
||||
fn join_alliance() -> Weight {
|
||||
// Minimum execution time: 54_380 nanoseconds.
|
||||
Weight::from_ref_time(55_406_000 as u64)
|
||||
// Minimum execution time: 57_718 nanoseconds.
|
||||
Weight::from_ref_time(58_601_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Alliance Members (r:4 w:1)
|
||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:0)
|
||||
fn nominate_ally() -> Weight {
|
||||
// Minimum execution time: 40_764 nanoseconds.
|
||||
Weight::from_ref_time(41_560_000 as u64)
|
||||
// Minimum execution time: 42_740 nanoseconds.
|
||||
Weight::from_ref_time(44_169_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -259,8 +261,8 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
// Storage: AllianceMotion Members (r:0 w:1)
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
fn elevate_ally() -> Weight {
|
||||
// Minimum execution time: 36_303 nanoseconds.
|
||||
Weight::from_ref_time(36_952_000 as u64)
|
||||
// Minimum execution time: 38_511 nanoseconds.
|
||||
Weight::from_ref_time(39_563_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -270,8 +272,8 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
// Storage: Alliance RetiringMembers (r:0 w:1)
|
||||
fn give_retirement_notice() -> Weight {
|
||||
// Minimum execution time: 38_922 nanoseconds.
|
||||
Weight::from_ref_time(39_294_000 as u64)
|
||||
// Minimum execution time: 41_316 nanoseconds.
|
||||
Weight::from_ref_time(42_071_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||
}
|
||||
@@ -280,8 +282,8 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Alliance DepositOf (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn retire() -> Weight {
|
||||
// Minimum execution time: 43_402 nanoseconds.
|
||||
Weight::from_ref_time(43_837_000 as u64)
|
||||
// Minimum execution time: 45_235 nanoseconds.
|
||||
Weight::from_ref_time(45_813_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -298,8 +300,8 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
// Storage: AllianceMotion Members (r:0 w:1)
|
||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||
fn kick_member() -> Weight {
|
||||
// Minimum execution time: 120_039 nanoseconds.
|
||||
Weight::from_ref_time(121_205_000 as u64)
|
||||
// Minimum execution time: 123_722 nanoseconds.
|
||||
Weight::from_ref_time(127_594_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(13 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(8 as u64))
|
||||
}
|
||||
@@ -308,12 +310,12 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `l` is `[0, 255]`.
|
||||
fn add_unscrupulous_items(n: u32, l: u32, ) -> Weight {
|
||||
// Minimum execution time: 16_702 nanoseconds.
|
||||
Weight::from_ref_time(16_779_000 as u64)
|
||||
// Standard Error: 2_712
|
||||
.saturating_add(Weight::from_ref_time(1_285_845 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 1_062
|
||||
.saturating_add(Weight::from_ref_time(68_045 as u64).saturating_mul(l as u64))
|
||||
// Minimum execution time: 17_548 nanoseconds.
|
||||
Weight::from_ref_time(17_664_000 as u64)
|
||||
// Standard Error: 2_843
|
||||
.saturating_add(Weight::from_ref_time(1_306_867 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 1_113
|
||||
.saturating_add(Weight::from_ref_time(69_708 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -322,12 +324,12 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
/// The range of component `l` is `[0, 255]`.
|
||||
fn remove_unscrupulous_items(n: u32, l: u32, ) -> Weight {
|
||||
// Minimum execution time: 16_760 nanoseconds.
|
||||
Weight::from_ref_time(16_907_000 as u64)
|
||||
// Standard Error: 165_970
|
||||
.saturating_add(Weight::from_ref_time(12_792_975 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 65_001
|
||||
.saturating_add(Weight::from_ref_time(512_791 as u64).saturating_mul(l as u64))
|
||||
// Minimum execution time: 17_220 nanoseconds.
|
||||
Weight::from_ref_time(17_391_000 as u64)
|
||||
// Standard Error: 177_554
|
||||
.saturating_add(Weight::from_ref_time(13_714_190 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 69_538
|
||||
.saturating_add(Weight::from_ref_time(526_760 as u64).saturating_mul(l as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
+16
-9
@@ -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-07-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, 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("collectives-polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights
|
||||
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_balances.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -48,43 +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 {
|
||||
Weight::from_ref_time(39_576_000 as u64)
|
||||
// Minimum execution time: 47_430 nanoseconds.
|
||||
Weight::from_ref_time(48_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:1 w:1)
|
||||
fn transfer_keep_alive() -> Weight {
|
||||
Weight::from_ref_time(30_212_000 as u64)
|
||||
// Minimum execution time: 35_634 nanoseconds.
|
||||
Weight::from_ref_time(36_363_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 {
|
||||
Weight::from_ref_time(19_428_000 as u64)
|
||||
// Minimum execution time: 26_905 nanoseconds.
|
||||
Weight::from_ref_time(27_293_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 {
|
||||
Weight::from_ref_time(22_526_000 as u64)
|
||||
// Minimum execution time: 30_211 nanoseconds.
|
||||
Weight::from_ref_time(30_724_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 {
|
||||
Weight::from_ref_time(38_737_000 as u64)
|
||||
// Minimum execution time: 47_361 nanoseconds.
|
||||
Weight::from_ref_time(47_881_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 {
|
||||
Weight::from_ref_time(35_648_000 as u64)
|
||||
// Minimum execution time: 41_548 nanoseconds.
|
||||
Weight::from_ref_time(42_436_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 {
|
||||
Weight::from_ref_time(17_197_000 as u64)
|
||||
// Minimum execution time: 22_925 nanoseconds.
|
||||
Weight::from_ref_time(23_318_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
+29
-23
@@ -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-07-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, 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("collectives-polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights
|
||||
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_collator_selection.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -50,20 +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 {
|
||||
Weight::from_ref_time(7_128_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(3_105_000 as u64).saturating_mul(b as u64))
|
||||
// Minimum execution time: 23_322 nanoseconds.
|
||||
Weight::from_ref_time(24_348_106 as u64)
|
||||
// Standard Error: 3_151
|
||||
.saturating_add(Weight::from_ref_time(2_541_981 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 {
|
||||
Weight::from_ref_time(7_922_000 as u64)
|
||||
// Minimum execution time: 14_089 nanoseconds.
|
||||
Weight::from_ref_time(14_453_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
||||
fn set_candidacy_bond() -> Weight {
|
||||
Weight::from_ref_time(8_226_000 as u64)
|
||||
// Minimum execution time: 14_560 nanoseconds.
|
||||
Weight::from_ref_time(14_887_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||
@@ -72,11 +75,12 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Storage: Session NextKeys (r:1 w:0)
|
||||
// Storage: CollatorSelection CandidacyBond (r:1 w:0)
|
||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
/// The range of component `c` is `[1, 999]`.
|
||||
fn register_as_candidate(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(56_086_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(93_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 50_116 nanoseconds.
|
||||
Weight::from_ref_time(64_624_914 as u64)
|
||||
// Standard Error: 883
|
||||
.saturating_add(Weight::from_ref_time(167_758 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))
|
||||
}
|
||||
@@ -84,9 +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 `[6, 1000]`.
|
||||
fn leave_intent(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(58_436_000 as u64)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(102_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 39_267 nanoseconds.
|
||||
Weight::from_ref_time(65_255_254 as u64)
|
||||
// Standard Error: 1_596
|
||||
.saturating_add(Weight::from_ref_time(154_305 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))
|
||||
}
|
||||
@@ -94,7 +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 {
|
||||
Weight::from_ref_time(29_654_000 as u64)
|
||||
// Minimum execution time: 34_247 nanoseconds.
|
||||
Weight::from_ref_time(34_780_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -105,14 +111,14 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Storage: System BlockWeight (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 1000]`.
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn new_session(r: u32, c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as u64)
|
||||
// Standard Error: 1_911_000
|
||||
.saturating_add(Weight::from_ref_time(9_907_000 as u64).saturating_mul(r as u64))
|
||||
// Standard Error: 1_911_000
|
||||
.saturating_add(Weight::from_ref_time(50_916_000 as u64).saturating_mul(c 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_mul(r as u64)))
|
||||
fn new_session(_r: u32, c: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_505 nanoseconds.
|
||||
Weight::from_ref_time(23_716_000 as u64)
|
||||
// Standard Error: 654_150
|
||||
.saturating_add(Weight::from_ref_time(22_632_829 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)))
|
||||
}
|
||||
}
|
||||
|
||||
+39
-38
@@ -17,21 +17,22 @@
|
||||
//! Autogenerated weights for `pallet_multisig`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-10, 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("collectives-polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// ./target/production/polkadot-parachain
|
||||
// ./artifacts/polkadot-parachain
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=collectives-polkadot-dev
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --pallet=pallet_multisig
|
||||
// --extrinsic=
|
||||
// --extrinsic=*
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_multisig.rs
|
||||
|
||||
@@ -47,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: 20_960 nanoseconds.
|
||||
Weight::from_ref_time(21_224_051 as u64)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(562 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 21_375 nanoseconds.
|
||||
Weight::from_ref_time(22_118_304 as u64)
|
||||
// Standard Error: 3
|
||||
.saturating_add(Weight::from_ref_time(584 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: 49_994 nanoseconds.
|
||||
Weight::from_ref_time(38_168_401 as u64)
|
||||
// Standard Error: 639
|
||||
.saturating_add(Weight::from_ref_time(128_549 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 6
|
||||
.saturating_add(Weight::from_ref_time(1_496 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 53_482 nanoseconds.
|
||||
Weight::from_ref_time(41_399_699 as u64)
|
||||
// Standard Error: 959
|
||||
.saturating_add(Weight::from_ref_time(133_568 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 9
|
||||
.saturating_add(Weight::from_ref_time(1_527 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))
|
||||
}
|
||||
@@ -70,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: 38_218 nanoseconds.
|
||||
Weight::from_ref_time(27_858_769 as u64)
|
||||
// Standard Error: 787
|
||||
.saturating_add(Weight::from_ref_time(125_710 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(1_500 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 40_666 nanoseconds.
|
||||
Weight::from_ref_time(30_384_195 as u64)
|
||||
// Standard Error: 1_027
|
||||
.saturating_add(Weight::from_ref_time(127_961 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 10
|
||||
.saturating_add(Weight::from_ref_time(1_572 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))
|
||||
}
|
||||
@@ -84,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: 52_270 nanoseconds.
|
||||
Weight::from_ref_time(39_676_905 as u64)
|
||||
// Standard Error: 921
|
||||
.saturating_add(Weight::from_ref_time(149_819 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 9
|
||||
.saturating_add(Weight::from_ref_time(1_580 as u64).saturating_mul(z as u64))
|
||||
// Minimum execution time: 56_337 nanoseconds.
|
||||
Weight::from_ref_time(44_163_779 as u64)
|
||||
// Standard Error: 1_031
|
||||
.saturating_add(Weight::from_ref_time(150_104 as u64).saturating_mul(s as u64))
|
||||
// Standard Error: 10
|
||||
.saturating_add(Weight::from_ref_time(1_568 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))
|
||||
}
|
||||
@@ -97,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: 33_994 nanoseconds.
|
||||
Weight::from_ref_time(36_875_310 as u64)
|
||||
// Standard Error: 1_099
|
||||
.saturating_add(Weight::from_ref_time(129_680 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 36_552 nanoseconds.
|
||||
Weight::from_ref_time(39_678_753 as u64)
|
||||
// Standard Error: 972
|
||||
.saturating_add(Weight::from_ref_time(137_305 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: 24_546 nanoseconds.
|
||||
Weight::from_ref_time(26_469_862 as u64)
|
||||
// Standard Error: 882
|
||||
.saturating_add(Weight::from_ref_time(127_818 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 27_419 nanoseconds.
|
||||
Weight::from_ref_time(29_059_332 as u64)
|
||||
// Standard Error: 753
|
||||
.saturating_add(Weight::from_ref_time(131_180 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: 33_795 nanoseconds.
|
||||
Weight::from_ref_time(36_427_405 as u64)
|
||||
// Standard Error: 994
|
||||
.saturating_add(Weight::from_ref_time(139_272 as u64).saturating_mul(s as u64))
|
||||
// Minimum execution time: 37_335 nanoseconds.
|
||||
Weight::from_ref_time(39_940_097 as u64)
|
||||
// Standard Error: 1_233
|
||||
.saturating_add(Weight::from_ref_time(139_766 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,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-07-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, 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("collectives-polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights
|
||||
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_proxy.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -49,9 +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 {
|
||||
Weight::from_ref_time(16_628_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(90_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 23_916 nanoseconds.
|
||||
Weight::from_ref_time(25_298_186 as u64)
|
||||
// Standard Error: 1_962
|
||||
.saturating_add(Weight::from_ref_time(56_777 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:0)
|
||||
@@ -60,11 +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 {
|
||||
Weight::from_ref_time(33_846_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(175_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 45_550 nanoseconds.
|
||||
Weight::from_ref_time(45_001_780 as u64)
|
||||
// Standard Error: 1_797
|
||||
.saturating_add(Weight::from_ref_time(129_179 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_857
|
||||
.saturating_add(Weight::from_ref_time(61_524 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))
|
||||
}
|
||||
@@ -73,11 +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 {
|
||||
Weight::from_ref_time(23_633_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(184_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 30_911 nanoseconds.
|
||||
Weight::from_ref_time(32_105_074 as u64)
|
||||
// Standard Error: 1_675
|
||||
.saturating_add(Weight::from_ref_time(133_673 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_730
|
||||
.saturating_add(Weight::from_ref_time(8_634 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))
|
||||
}
|
||||
@@ -86,11 +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 {
|
||||
Weight::from_ref_time(24_121_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(177_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(15_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 31_191 nanoseconds.
|
||||
Weight::from_ref_time(31_504_964 as u64)
|
||||
// Standard Error: 1_327
|
||||
.saturating_add(Weight::from_ref_time(138_900 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_371
|
||||
.saturating_add(Weight::from_ref_time(25_702 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))
|
||||
}
|
||||
@@ -100,38 +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 {
|
||||
Weight::from_ref_time(31_509_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(172_000 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(86_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 40_563 nanoseconds.
|
||||
Weight::from_ref_time(40_977_387 as u64)
|
||||
// Standard Error: 1_852
|
||||
.saturating_add(Weight::from_ref_time(127_040 as u64).saturating_mul(a as u64))
|
||||
// Standard Error: 1_914
|
||||
.saturating_add(Weight::from_ref_time(69_759 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 {
|
||||
Weight::from_ref_time(26_168_000 as u64)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(127_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 33_574 nanoseconds.
|
||||
Weight::from_ref_time(34_501_973 as u64)
|
||||
// Standard Error: 2_447
|
||||
.saturating_add(Weight::from_ref_time(70_006 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 {
|
||||
Weight::from_ref_time(26_306_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(131_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 32_661 nanoseconds.
|
||||
Weight::from_ref_time(34_427_585 as u64)
|
||||
// Standard Error: 2_414
|
||||
.saturating_add(Weight::from_ref_time(94_991 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 {
|
||||
Weight::from_ref_time(22_287_000 as u64)
|
||||
// Standard Error: 3_000
|
||||
.saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 28_650 nanoseconds.
|
||||
Weight::from_ref_time(29_749_222 as u64)
|
||||
// Standard Error: 1_766
|
||||
.saturating_add(Weight::from_ref_time(46_612 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))
|
||||
}
|
||||
@@ -139,18 +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 {
|
||||
Weight::from_ref_time(29_260_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(38_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 35_910 nanoseconds.
|
||||
Weight::from_ref_time(37_454_353 as u64)
|
||||
// Standard Error: 1_783
|
||||
.saturating_add(Weight::from_ref_time(493 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 {
|
||||
Weight::from_ref_time(23_012_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(97_000 as u64).saturating_mul(p as u64))
|
||||
// Minimum execution time: 29_942 nanoseconds.
|
||||
Weight::from_ref_time(31_390_903 as u64)
|
||||
// Standard Error: 1_992
|
||||
.saturating_add(Weight::from_ref_time(42_745 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,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-07-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, 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("collectives-polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights
|
||||
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_session.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -49,14 +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 {
|
||||
Weight::from_ref_time(15_802_000 as u64)
|
||||
// Minimum execution time: 24_755 nanoseconds.
|
||||
Weight::from_ref_time(25_389_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 {
|
||||
Weight::from_ref_time(12_925_000 as u64)
|
||||
// Minimum execution time: 20_645 nanoseconds.
|
||||
Weight::from_ref_time(21_233_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
+6
-4
@@ -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-07-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, 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("collectives-polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights
|
||||
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_timestamp.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -48,11 +48,13 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Timestamp Now (r:1 w:1)
|
||||
fn set() -> Weight {
|
||||
Weight::from_ref_time(6_170_000 as u64)
|
||||
// Minimum execution time: 8_080 nanoseconds.
|
||||
Weight::from_ref_time(8_314_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
fn on_finalize() -> Weight {
|
||||
Weight::from_ref_time(2_177_000 as u64)
|
||||
// Minimum execution time: 4_574 nanoseconds.
|
||||
Weight::from_ref_time(4_704_000 as u64)
|
||||
}
|
||||
}
|
||||
|
||||
+18
-13
@@ -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-07-11, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-10, 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("collectives-polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights
|
||||
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_utility.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -48,26 +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 {
|
||||
Weight::from_ref_time(13_398_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(3_159_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 13_238 nanoseconds.
|
||||
Weight::from_ref_time(15_145_125 as u64)
|
||||
// Standard Error: 2_535
|
||||
.saturating_add(Weight::from_ref_time(3_962_627 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
Weight::from_ref_time(4_668_000 as u64)
|
||||
// Minimum execution time: 6_888 nanoseconds.
|
||||
Weight::from_ref_time(7_176_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(10_742_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(3_375_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 13_696 nanoseconds.
|
||||
Weight::from_ref_time(18_030_261 as u64)
|
||||
// Standard Error: 2_621
|
||||
.saturating_add(Weight::from_ref_time(4_096_976 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
Weight::from_ref_time(11_022_000 as u64)
|
||||
// Minimum execution time: 15_188 nanoseconds.
|
||||
Weight::from_ref_time(15_682_000 as u64)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn force_batch(c: u32, ) -> Weight {
|
||||
Weight::from_ref_time(14_280_000 as u64)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add(Weight::from_ref_time(3_150_000 as u64).saturating_mul(c as u64))
|
||||
// Minimum execution time: 13_264 nanoseconds.
|
||||
Weight::from_ref_time(23_406_948 as u64)
|
||||
// Standard Error: 2_736
|
||||
.saturating_add(Weight::from_ref_time(3_949_653 as u64).saturating_mul(c as u64))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user