mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
[ci] Return benchmark to bm machines (#2225)
* [WIP][ci] Return benchmark to bm machines * run build on docker machines * restart pipeline * rm docker runner * fix refs * add weights * return ci * fix asset benchmark
This commit is contained in:
committed by
GitHub
parent
26b109bb82
commit
7e811c2c2f
+19
-8
@@ -17,8 +17,9 @@
|
||||
//! Autogenerated weights for `cumulus_pallet_xcmp_queue`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -46,17 +47,27 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `cumulus_pallet_xcmp_queue`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
|
||||
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||
/// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||
/// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn set_config_with_u32() -> Weight {
|
||||
// Minimum execution time: 6_738 nanoseconds.
|
||||
Weight::from_ref_time(7_394_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `76`
|
||||
// Estimated: `571`
|
||||
// Minimum execution time: 4_956 nanoseconds.
|
||||
Weight::from_ref_time(5_247_000)
|
||||
.saturating_add(Weight::from_proof_size(571))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||
/// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||
/// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn set_config_with_weight() -> Weight {
|
||||
// Minimum execution time: 6_921 nanoseconds.
|
||||
Weight::from_ref_time(7_291_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `76`
|
||||
// Estimated: `571`
|
||||
// Minimum execution time: 4_875 nanoseconds.
|
||||
Weight::from_ref_time(5_123_000)
|
||||
.saturating_add(Weight::from_proof_size(571))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
+59
-28
@@ -17,8 +17,9 @@
|
||||
//! Autogenerated weights for `frame_system`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -48,51 +49,81 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark(b: u32, ) -> Weight {
|
||||
// Minimum execution time: 3_581 nanoseconds.
|
||||
Weight::from_ref_time(2_072_524)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 1_541 nanoseconds.
|
||||
Weight::from_ref_time(1_600_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(536).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_ref_time(368).saturating_mul(b.into()))
|
||||
}
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark_with_event(b: u32, ) -> Weight {
|
||||
// Minimum execution time: 13_070 nanoseconds.
|
||||
Weight::from_ref_time(86_161_928)
|
||||
// Standard Error: 4
|
||||
.saturating_add(Weight::from_ref_time(2_039).saturating_mul(b.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_433 nanoseconds.
|
||||
Weight::from_ref_time(6_528_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_718).saturating_mul(b.into()))
|
||||
}
|
||||
// Storage: System Digest (r:1 w:1)
|
||||
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
||||
/// Storage: System Digest (r:1 w:1)
|
||||
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: unknown `0x3a686561707061676573` (r:0 w:1)
|
||||
/// Proof Skipped: unknown `0x3a686561707061676573` (r:0 w:1)
|
||||
fn set_heap_pages() -> Weight {
|
||||
// Minimum execution time: 7_871 nanoseconds.
|
||||
Weight::from_ref_time(8_315_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `495`
|
||||
// Minimum execution time: 3_378 nanoseconds.
|
||||
Weight::from_ref_time(3_546_000)
|
||||
.saturating_add(Weight::from_proof_size(495))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn set_storage(i: u32, ) -> Weight {
|
||||
// Minimum execution time: 3_758 nanoseconds.
|
||||
Weight::from_ref_time(3_866_000)
|
||||
// Standard Error: 2_296
|
||||
.saturating_add(Weight::from_ref_time(689_752).saturating_mul(i.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 1_595 nanoseconds.
|
||||
Weight::from_ref_time(1_637_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 1_677
|
||||
.saturating_add(Weight::from_ref_time(581_830).saturating_mul(i.into()))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn kill_storage(i: u32, ) -> Weight {
|
||||
// Minimum execution time: 3_721 nanoseconds.
|
||||
Weight::from_ref_time(3_836_000)
|
||||
// Standard Error: 973
|
||||
.saturating_add(Weight::from_ref_time(522_358).saturating_mul(i.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 1_602 nanoseconds.
|
||||
Weight::from_ref_time(1_645_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 808
|
||||
.saturating_add(Weight::from_ref_time(448_210).saturating_mul(i.into()))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
|
||||
/// The range of component `p` is `[0, 1000]`.
|
||||
fn kill_prefix(p: u32, ) -> Weight {
|
||||
// Minimum execution time: 5_304 nanoseconds.
|
||||
Weight::from_ref_time(5_563_000)
|
||||
// Standard Error: 1_192
|
||||
.saturating_add(Weight::from_ref_time(1_158_340).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `68 + p * (69 ±0)`
|
||||
// Estimated: `66 + p * (70 ±0)`
|
||||
// Minimum execution time: 3_400 nanoseconds.
|
||||
Weight::from_ref_time(3_518_000)
|
||||
.saturating_add(Weight::from_proof_size(66))
|
||||
// Standard Error: 949
|
||||
.saturating_add(Weight::from_ref_time(952_748).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
|
||||
.saturating_add(Weight::from_proof_size(70).saturating_mul(p.into()))
|
||||
}
|
||||
}
|
||||
|
||||
+59
-23
@@ -17,8 +17,9 @@
|
||||
//! Autogenerated weights for `pallet_balances`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -46,52 +47,87 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_balances`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn transfer() -> Weight {
|
||||
// Minimum execution time: 45_631 nanoseconds.
|
||||
Weight::from_ref_time(46_232_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1314`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 45_555 nanoseconds.
|
||||
Weight::from_ref_time(46_097_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn transfer_keep_alive() -> Weight {
|
||||
// Minimum execution time: 33_809 nanoseconds.
|
||||
Weight::from_ref_time(34_968_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1198`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 34_465 nanoseconds.
|
||||
Weight::from_ref_time(35_054_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn set_balance_creating() -> Weight {
|
||||
// Minimum execution time: 23_694 nanoseconds.
|
||||
Weight::from_ref_time(24_610_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1348`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 25_670 nanoseconds.
|
||||
Weight::from_ref_time(26_254_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn set_balance_killing() -> Weight {
|
||||
// Minimum execution time: 27_156 nanoseconds.
|
||||
Weight::from_ref_time(27_727_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1348`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 28_919 nanoseconds.
|
||||
Weight::from_ref_time(29_611_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: System Account (r:2 w:2)
|
||||
/// Storage: System Account (r:2 w:2)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn force_transfer() -> Weight {
|
||||
// Minimum execution time: 45_045 nanoseconds.
|
||||
Weight::from_ref_time(46_147_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1310`
|
||||
// Estimated: `5206`
|
||||
// Minimum execution time: 44_604 nanoseconds.
|
||||
Weight::from_ref_time(45_498_000)
|
||||
.saturating_add(Weight::from_proof_size(5206))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn transfer_all() -> Weight {
|
||||
// Minimum execution time: 40_239 nanoseconds.
|
||||
Weight::from_ref_time(41_296_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1198`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 39_412 nanoseconds.
|
||||
Weight::from_ref_time(40_181_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn force_unreserve() -> Weight {
|
||||
// Minimum execution time: 21_014 nanoseconds.
|
||||
Weight::from_ref_time(21_561_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1232`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 22_520 nanoseconds.
|
||||
Weight::from_ref_time(23_045_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
+98
-45
@@ -17,8 +17,9 @@
|
||||
//! Autogenerated weights for `pallet_collator_selection`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -46,79 +47,131 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_collator_selection`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Session NextKeys (r:1 w:0)
|
||||
// Storage: CollatorSelection Invulnerables (r:0 w:1)
|
||||
/// Storage: Session NextKeys (r:100 w:0)
|
||||
/// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: CollatorSelection Invulnerables (r:0 w:1)
|
||||
/// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
|
||||
/// The range of component `b` is `[1, 100]`.
|
||||
fn set_invulnerables(b: u32, ) -> Weight {
|
||||
// Minimum execution time: 19_689 nanoseconds.
|
||||
Weight::from_ref_time(19_526_534)
|
||||
// Standard Error: 3_821
|
||||
.saturating_add(Weight::from_ref_time(2_843_746).saturating_mul(b.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `214 + b * (78 ±0)`
|
||||
// Estimated: `213 + b * (2554 ±0)`
|
||||
// Minimum execution time: 13_768 nanoseconds.
|
||||
Weight::from_ref_time(15_128_018)
|
||||
.saturating_add(Weight::from_proof_size(213))
|
||||
// Standard Error: 3_110
|
||||
.saturating_add(Weight::from_ref_time(2_490_861).saturating_mul(b.into()))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(Weight::from_proof_size(2554).saturating_mul(b.into()))
|
||||
}
|
||||
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
|
||||
/// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
|
||||
/// Proof: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
fn set_desired_candidates() -> Weight {
|
||||
// Minimum execution time: 13_168 nanoseconds.
|
||||
Weight::from_ref_time(13_677_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_359 nanoseconds.
|
||||
Weight::from_ref_time(6_591_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
||||
/// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
||||
/// Proof: CollatorSelection CandidacyBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
|
||||
fn set_candidacy_bond() -> Weight {
|
||||
// Minimum execution time: 13_537 nanoseconds.
|
||||
Weight::from_ref_time(13_989_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_722 nanoseconds.
|
||||
Weight::from_ref_time(6_963_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||
// Storage: CollatorSelection DesiredCandidates (r:1 w:0)
|
||||
// Storage: CollatorSelection Invulnerables (r:1 w:0)
|
||||
// Storage: Session NextKeys (r:1 w:0)
|
||||
// Storage: CollatorSelection CandidacyBond (r:1 w:0)
|
||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||
/// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||
/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(48002), added: 48497, mode: MaxEncodedLen)
|
||||
/// Storage: CollatorSelection DesiredCandidates (r:1 w:0)
|
||||
/// Proof: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: CollatorSelection Invulnerables (r:1 w:0)
|
||||
/// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
|
||||
/// Storage: Session NextKeys (r:1 w:0)
|
||||
/// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: CollatorSelection CandidacyBond (r:1 w:0)
|
||||
/// Proof: CollatorSelection CandidacyBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
|
||||
/// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||
/// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
|
||||
/// The range of component `c` is `[1, 999]`.
|
||||
fn register_as_candidate(c: u32, ) -> Weight {
|
||||
// Minimum execution time: 44_929 nanoseconds.
|
||||
Weight::from_ref_time(50_632_897)
|
||||
// Standard Error: 1_500
|
||||
.saturating_add(Weight::from_ref_time(131_319).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1167 + c * (48 ±0)`
|
||||
// Estimated: `56785 + c * (49 ±0)`
|
||||
// Minimum execution time: 35_190 nanoseconds.
|
||||
Weight::from_ref_time(27_223_783)
|
||||
.saturating_add(Weight::from_proof_size(56785))
|
||||
// Standard Error: 1_270
|
||||
.saturating_add(Weight::from_ref_time(103_824).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
.saturating_add(Weight::from_proof_size(49).saturating_mul(c.into()))
|
||||
}
|
||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||
/// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||
/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(48002), added: 48497, mode: MaxEncodedLen)
|
||||
/// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||
/// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
|
||||
/// The range of component `c` is `[6, 1000]`.
|
||||
fn leave_intent(c: u32, ) -> Weight {
|
||||
// Minimum execution time: 34_252 nanoseconds.
|
||||
Weight::from_ref_time(30_231_641)
|
||||
// Standard Error: 1_897
|
||||
.saturating_add(Weight::from_ref_time(138_396).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `503 + c * (48 ±0)`
|
||||
// Estimated: `48497`
|
||||
// Minimum execution time: 26_271 nanoseconds.
|
||||
Weight::from_ref_time(16_336_190)
|
||||
.saturating_add(Weight::from_proof_size(48497))
|
||||
// Standard Error: 1_250
|
||||
.saturating_add(Weight::from_ref_time(105_123).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: System BlockWeight (r:1 w:1)
|
||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||
/// Storage: System Account (r:2 w:2)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: System BlockWeight (r:1 w:1)
|
||||
/// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)
|
||||
/// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||
/// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
|
||||
fn note_author() -> Weight {
|
||||
// Minimum execution time: 33_794 nanoseconds.
|
||||
Weight::from_ref_time(34_896_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `187`
|
||||
// Estimated: `5749`
|
||||
// Minimum execution time: 26_583 nanoseconds.
|
||||
Weight::from_ref_time(26_888_000)
|
||||
.saturating_add(Weight::from_proof_size(5749))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||
// Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: CollatorSelection Invulnerables (r:1 w:0)
|
||||
// Storage: System BlockWeight (r:1 w:1)
|
||||
/// Storage: CollatorSelection Candidates (r:1 w:0)
|
||||
/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(48002), added: 48497, mode: MaxEncodedLen)
|
||||
/// Storage: CollatorSelection LastAuthoredBlock (r:999 w:0)
|
||||
/// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
|
||||
/// Storage: CollatorSelection Invulnerables (r:1 w:0)
|
||||
/// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
|
||||
/// Storage: System BlockWeight (r:1 w:1)
|
||||
/// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:995 w:995)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// The range of component `r` is `[1, 1000]`.
|
||||
/// The range of component `c` is `[1, 1000]`.
|
||||
fn new_session(_r: u32, c: u32, ) -> Weight {
|
||||
// Minimum execution time: 18_474 nanoseconds.
|
||||
Weight::from_ref_time(18_885_000)
|
||||
// Standard Error: 864_142
|
||||
.saturating_add(Weight::from_ref_time(31_155_093).saturating_mul(c.into()))
|
||||
fn new_session(r: u32, c: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `22878 + r * (148 ±0) + c * (97 ±0)`
|
||||
// Estimated: `52737 + c * (2519 ±0) + r * (2602 ±0)`
|
||||
// Minimum execution time: 16_250 nanoseconds.
|
||||
Weight::from_ref_time(16_601_000)
|
||||
.saturating_add(Weight::from_proof_size(52737))
|
||||
// Standard Error: 763_853
|
||||
.saturating_add(Weight::from_ref_time(27_869_355).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
|
||||
.saturating_add(Weight::from_proof_size(2519).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_proof_size(2602).saturating_mul(r.into()))
|
||||
}
|
||||
}
|
||||
|
||||
+85
-51
@@ -17,8 +17,9 @@
|
||||
//! Autogenerated weights for `pallet_multisig`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -48,80 +49,113 @@ 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: 17_126 nanoseconds.
|
||||
Weight::from_ref_time(19_701_599)
|
||||
// Standard Error: 16
|
||||
.saturating_add(Weight::from_ref_time(655).saturating_mul(z.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 12_039 nanoseconds.
|
||||
Weight::from_ref_time(12_378_049)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(485).saturating_mul(z.into()))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
|
||||
/// 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_951 nanoseconds.
|
||||
Weight::from_ref_time(38_599_054)
|
||||
// Standard Error: 2_940
|
||||
.saturating_add(Weight::from_ref_time(160_195).saturating_mul(s.into()))
|
||||
// Standard Error: 28
|
||||
.saturating_add(Weight::from_ref_time(1_897).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `314 + s * (2 ±0)`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 35_309 nanoseconds.
|
||||
Weight::from_ref_time(28_767_595)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
// Standard Error: 572
|
||||
.saturating_add(Weight::from_ref_time(73_429).saturating_mul(s.into()))
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(1_487).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
|
||||
/// 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: 36_882 nanoseconds.
|
||||
Weight::from_ref_time(26_005_891)
|
||||
// Standard Error: 2_412
|
||||
.saturating_add(Weight::from_ref_time(147_551).saturating_mul(s.into()))
|
||||
// Standard Error: 23
|
||||
.saturating_add(Weight::from_ref_time(2_099).saturating_mul(z.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `313`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 26_191 nanoseconds.
|
||||
Weight::from_ref_time(19_850_530)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
// Standard Error: 440
|
||||
.saturating_add(Weight::from_ref_time(68_426).saturating_mul(s.into()))
|
||||
// Standard Error: 4
|
||||
.saturating_add(Weight::from_ref_time(1_505).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// 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_926 nanoseconds.
|
||||
Weight::from_ref_time(37_006_728)
|
||||
// Standard Error: 2_774
|
||||
.saturating_add(Weight::from_ref_time(228_213).saturating_mul(s.into()))
|
||||
// Standard Error: 27
|
||||
.saturating_add(Weight::from_ref_time(2_199).saturating_mul(z.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `451 + s * (33 ±0)`
|
||||
// Estimated: `8424`
|
||||
// Minimum execution time: 39_875 nanoseconds.
|
||||
Weight::from_ref_time(32_057_678)
|
||||
.saturating_add(Weight::from_proof_size(8424))
|
||||
// Standard Error: 715
|
||||
.saturating_add(Weight::from_ref_time(84_736).saturating_mul(s.into()))
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(1_511).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_create(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 33_590 nanoseconds.
|
||||
Weight::from_ref_time(36_815_588)
|
||||
// Standard Error: 2_224
|
||||
.saturating_add(Weight::from_ref_time(155_799).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_241 nanoseconds.
|
||||
Weight::from_ref_time(25_670_415)
|
||||
// Standard Error: 2_237
|
||||
.saturating_add(Weight::from_ref_time(140_332).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `321 + s * (2 ±0)`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 25_536 nanoseconds.
|
||||
Weight::from_ref_time(27_146_180)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
// Standard Error: 991
|
||||
.saturating_add(Weight::from_ref_time(77_408).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `313`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 17_409 nanoseconds.
|
||||
Weight::from_ref_time(18_559_189)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
// Standard Error: 518
|
||||
.saturating_add(Weight::from_ref_time(72_083).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn cancel_as_multi(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 34_194 nanoseconds.
|
||||
Weight::from_ref_time(37_547_979)
|
||||
// Standard Error: 3_750
|
||||
.saturating_add(Weight::from_ref_time(144_156).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `517 + s * (1 ±0)`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 26_502 nanoseconds.
|
||||
Weight::from_ref_time(28_258_573)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
// Standard Error: 819
|
||||
.saturating_add(Weight::from_ref_time(78_480).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
+23
-10
@@ -17,8 +17,9 @@
|
||||
//! Autogenerated weights for `pallet_session`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -46,19 +47,31 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_session`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
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)
|
||||
/// Storage: Session NextKeys (r:1 w:1)
|
||||
/// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Session KeyOwner (r:1 w:1)
|
||||
/// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured)
|
||||
fn set_keys() -> Weight {
|
||||
// Minimum execution time: 22_375 nanoseconds.
|
||||
Weight::from_ref_time(23_154_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `297`
|
||||
// Estimated: `5544`
|
||||
// Minimum execution time: 15_673 nanoseconds.
|
||||
Weight::from_ref_time(16_101_000)
|
||||
.saturating_add(Weight::from_proof_size(5544))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:0 w:1)
|
||||
/// Storage: Session NextKeys (r:1 w:1)
|
||||
/// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Session KeyOwner (r:0 w:1)
|
||||
/// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured)
|
||||
fn purge_keys() -> Weight {
|
||||
// Minimum execution time: 18_850 nanoseconds.
|
||||
Weight::from_ref_time(19_469_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `279`
|
||||
// Estimated: `3033`
|
||||
// Minimum execution time: 12_241 nanoseconds.
|
||||
Weight::from_ref_time(12_552_000)
|
||||
.saturating_add(Weight::from_proof_size(3033))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
|
||||
+19
-8
@@ -17,8 +17,9 @@
|
||||
//! Autogenerated weights for `pallet_timestamp`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -46,16 +47,26 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_timestamp`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Timestamp Now (r:1 w:1)
|
||||
// Storage: Aura CurrentSlot (r:1 w:0)
|
||||
/// Storage: Timestamp Now (r:1 w:1)
|
||||
/// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
|
||||
/// Storage: Aura CurrentSlot (r:1 w:0)
|
||||
/// Proof: Aura CurrentSlot (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
|
||||
fn set() -> Weight {
|
||||
// Minimum execution time: 9_222 nanoseconds.
|
||||
Weight::from_ref_time(9_644_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `49`
|
||||
// Estimated: `1006`
|
||||
// Minimum execution time: 7_105 nanoseconds.
|
||||
Weight::from_ref_time(7_296_000)
|
||||
.saturating_add(Weight::from_proof_size(1006))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
fn on_finalize() -> Weight {
|
||||
// Minimum execution time: 4_556 nanoseconds.
|
||||
Weight::from_ref_time(4_895_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `57`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 3_270 nanoseconds.
|
||||
Weight::from_ref_time(3_398_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
}
|
||||
|
||||
+39
-18
@@ -17,8 +17,9 @@
|
||||
//! Autogenerated weights for `pallet_utility`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -48,31 +49,51 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch(c: u32, ) -> Weight {
|
||||
// Minimum execution time: 13_554 nanoseconds.
|
||||
Weight::from_ref_time(37_436_715)
|
||||
// Standard Error: 7_174
|
||||
.saturating_add(Weight::from_ref_time(4_470_828).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 5_752 nanoseconds.
|
||||
Weight::from_ref_time(15_025_089)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 1_912
|
||||
.saturating_add(Weight::from_ref_time(3_735_986).saturating_mul(c.into()))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
// Minimum execution time: 6_430 nanoseconds.
|
||||
Weight::from_ref_time(6_708_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 4_237 nanoseconds.
|
||||
Weight::from_ref_time(4_392_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
// Minimum execution time: 13_392 nanoseconds.
|
||||
Weight::from_ref_time(905_071)
|
||||
// Standard Error: 6_438
|
||||
.saturating_add(Weight::from_ref_time(4_757_129).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 5_645 nanoseconds.
|
||||
Weight::from_ref_time(16_082_395)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 2_061
|
||||
.saturating_add(Weight::from_ref_time(3_918_503).saturating_mul(c.into()))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
// Minimum execution time: 14_905 nanoseconds.
|
||||
Weight::from_ref_time(15_464_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 7_613 nanoseconds.
|
||||
Weight::from_ref_time(7_868_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn force_batch(c: u32, ) -> Weight {
|
||||
// Minimum execution time: 13_277 nanoseconds.
|
||||
Weight::from_ref_time(37_104_411)
|
||||
// Standard Error: 6_972
|
||||
.saturating_add(Weight::from_ref_time(4_444_489).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 5_909 nanoseconds.
|
||||
Weight::from_ref_time(11_406_668)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 2_399
|
||||
.saturating_add(Weight::from_ref_time(3_759_278).saturating_mul(c.into()))
|
||||
}
|
||||
}
|
||||
|
||||
+180
-78
@@ -17,25 +17,25 @@
|
||||
//! Autogenerated weights for `pallet_xcm`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-12-22, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/polkadot-parachain
|
||||
// ./artifacts/polkadot-parachain
|
||||
// benchmark
|
||||
// pallet
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --extrinsic=*
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/cumulus/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_xcm
|
||||
// --chain=bridge-hub-kusama-dev
|
||||
// --extrinsic=*
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --json
|
||||
// --header=./file_header.txt
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/
|
||||
// --output=./parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/pallet_xcm.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -47,126 +47,228 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_xcm`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
|
||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||
/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
|
||||
/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn send() -> Weight {
|
||||
// Minimum execution time: 26_824 nanoseconds.
|
||||
Weight::from_ref_time(27_272_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `38`
|
||||
// Estimated: `4645`
|
||||
// Minimum execution time: 23_601 nanoseconds.
|
||||
Weight::from_ref_time(24_078_000)
|
||||
.saturating_add(Weight::from_proof_size(4645))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
/// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
/// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
fn teleport_assets() -> Weight {
|
||||
// Minimum execution time: 32_322 nanoseconds.
|
||||
Weight::from_ref_time(32_760_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `32`
|
||||
// Estimated: `499`
|
||||
// Minimum execution time: 23_225 nanoseconds.
|
||||
Weight::from_ref_time(23_887_000)
|
||||
.saturating_add(Weight::from_proof_size(499))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
}
|
||||
// Storage: Benchmark Override (r:0 w:0)
|
||||
/// Storage: Benchmark Override (r:0 w:0)
|
||||
/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
|
||||
fn reserve_transfer_assets() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 18_446_744_073_709_551 nanoseconds.
|
||||
Weight::from_ref_time(18_446_744_073_709_551_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
// Storage: Benchmark Override (r:0 w:0)
|
||||
/// Storage: Benchmark Override (r:0 w:0)
|
||||
/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
|
||||
fn execute() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 18_446_744_073_709_551 nanoseconds.
|
||||
Weight::from_ref_time(18_446_744_073_709_551_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
// Storage: PolkadotXcm SupportedVersion (r:0 w:1)
|
||||
/// Storage: PolkadotXcm SupportedVersion (r:0 w:1)
|
||||
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
|
||||
fn force_xcm_version() -> Weight {
|
||||
// Minimum execution time: 14_919 nanoseconds.
|
||||
Weight::from_ref_time(15_388_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 8_434 nanoseconds.
|
||||
Weight::from_ref_time(8_839_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1)
|
||||
/// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1)
|
||||
/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn force_default_xcm_version() -> Weight {
|
||||
// Minimum execution time: 4_754 nanoseconds.
|
||||
Weight::from_ref_time(4_857_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_484 nanoseconds.
|
||||
Weight::from_ref_time(2_611_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)
|
||||
// Storage: PolkadotXcm QueryCounter (r:1 w:1)
|
||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
|
||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Storage: PolkadotXcm Queries (r:0 w:1)
|
||||
/// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)
|
||||
/// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: PolkadotXcm QueryCounter (r:1 w:1)
|
||||
/// Proof Skipped: PolkadotXcm QueryCounter (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||
/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
|
||||
/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: PolkadotXcm Queries (r:0 w:1)
|
||||
/// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
|
||||
fn force_subscribe_version_notify() -> Weight {
|
||||
// Minimum execution time: 31_107 nanoseconds.
|
||||
Weight::from_ref_time(31_928_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `38`
|
||||
// Estimated: `7729`
|
||||
// Minimum execution time: 28_465 nanoseconds.
|
||||
Weight::from_ref_time(29_023_000)
|
||||
.saturating_add(Weight::from_proof_size(7729))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)
|
||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
|
||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Storage: PolkadotXcm Queries (r:0 w:1)
|
||||
/// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)
|
||||
/// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||
/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
|
||||
/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: PolkadotXcm Queries (r:0 w:1)
|
||||
/// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
|
||||
fn force_unsubscribe_version_notify() -> Weight {
|
||||
// Minimum execution time: 31_745 nanoseconds.
|
||||
Weight::from_ref_time(32_243_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `220`
|
||||
// Estimated: `8470`
|
||||
// Minimum execution time: 31_086 nanoseconds.
|
||||
Weight::from_ref_time(31_385_000)
|
||||
.saturating_add(Weight::from_proof_size(8470))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: PolkadotXcm SupportedVersion (r:4 w:2)
|
||||
/// Storage: PolkadotXcm SupportedVersion (r:4 w:2)
|
||||
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
|
||||
fn migrate_supported_version() -> Weight {
|
||||
// Minimum execution time: 13_855 nanoseconds.
|
||||
Weight::from_ref_time(14_060_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `95`
|
||||
// Estimated: `9995`
|
||||
// Minimum execution time: 13_701 nanoseconds.
|
||||
Weight::from_ref_time(13_987_000)
|
||||
.saturating_add(Weight::from_proof_size(9995))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: PolkadotXcm VersionNotifiers (r:4 w:2)
|
||||
/// Storage: PolkadotXcm VersionNotifiers (r:4 w:2)
|
||||
/// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured)
|
||||
fn migrate_version_notifiers() -> Weight {
|
||||
// Minimum execution time: 13_693 nanoseconds.
|
||||
Weight::from_ref_time(13_984_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `99`
|
||||
// Estimated: `9999`
|
||||
// Minimum execution time: 13_723 nanoseconds.
|
||||
Weight::from_ref_time(14_166_000)
|
||||
.saturating_add(Weight::from_proof_size(9999))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: PolkadotXcm VersionNotifyTargets (r:5 w:0)
|
||||
/// Storage: PolkadotXcm VersionNotifyTargets (r:5 w:0)
|
||||
/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
|
||||
fn already_notified_target() -> Weight {
|
||||
// Minimum execution time: 15_148 nanoseconds.
|
||||
Weight::from_ref_time(15_399_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `106`
|
||||
// Estimated: `12481`
|
||||
// Minimum execution time: 15_381 nanoseconds.
|
||||
Weight::from_ref_time(16_770_000)
|
||||
.saturating_add(Weight::from_proof_size(12481))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
}
|
||||
// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1)
|
||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
|
||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
/// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1)
|
||||
/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||
/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
|
||||
/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn notify_current_targets() -> Weight {
|
||||
// Minimum execution time: 26_582 nanoseconds.
|
||||
Weight::from_ref_time(27_284_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `106`
|
||||
// Estimated: `10041`
|
||||
// Minimum execution time: 27_952 nanoseconds.
|
||||
Weight::from_ref_time(28_321_000)
|
||||
.saturating_add(Weight::from_proof_size(10041))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: PolkadotXcm VersionNotifyTargets (r:3 w:0)
|
||||
/// Storage: PolkadotXcm VersionNotifyTargets (r:3 w:0)
|
||||
/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
|
||||
fn notify_target_migration_fail() -> Weight {
|
||||
// Minimum execution time: 6_961 nanoseconds.
|
||||
Weight::from_ref_time(7_139_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `136`
|
||||
// Estimated: `7561`
|
||||
// Minimum execution time: 8_516 nanoseconds.
|
||||
Weight::from_ref_time(8_922_000)
|
||||
.saturating_add(Weight::from_proof_size(7561))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
}
|
||||
// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)
|
||||
/// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)
|
||||
/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
|
||||
fn migrate_version_notify_targets() -> Weight {
|
||||
// Minimum execution time: 14_094 nanoseconds.
|
||||
Weight::from_ref_time(14_474_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `106`
|
||||
// Estimated: `10006`
|
||||
// Minimum execution time: 16_615 nanoseconds.
|
||||
Weight::from_ref_time(17_074_000)
|
||||
.saturating_add(Weight::from_proof_size(10006))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)
|
||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
|
||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
/// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)
|
||||
/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||
/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
|
||||
/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn migrate_and_notify_old_targets() -> Weight {
|
||||
// Minimum execution time: 31_931 nanoseconds.
|
||||
Weight::from_ref_time(32_628_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `112`
|
||||
// Estimated: `15027`
|
||||
// Minimum execution time: 36_726 nanoseconds.
|
||||
Weight::from_ref_time(37_319_000)
|
||||
.saturating_add(Weight::from_proof_size(15027))
|
||||
.saturating_add(T::DbWeight::get().reads(9))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
|
||||
+32
-9
@@ -18,8 +18,8 @@
|
||||
//! Autogenerated weights for `pallet_xcm_benchmarks::fungible`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! DATE: 2023-02-23, 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("bridge-hub-kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -49,58 +49,81 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
pub(crate) fn withdraw_asset() -> Weight {
|
||||
Weight::from_ref_time(29_875_000 as u64)
|
||||
Weight::from_ref_time(18_301_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)
|
||||
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
pub(crate) fn transfer_asset() -> Weight {
|
||||
Weight::from_ref_time(42_299_000 as u64)
|
||||
Weight::from_ref_time(29_321_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:2 w:2)
|
||||
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
|
||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||
// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn transfer_reserve_asset() -> Weight {
|
||||
Weight::from_ref_time(66_218_000 as u64)
|
||||
Weight::from_ref_time(50_754_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
pub(crate) fn receive_teleported_asset() -> Weight {
|
||||
Weight::from_ref_time(7_627_000 as u64)
|
||||
Weight::from_ref_time(3_814_000 as u64)
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
pub(crate) fn deposit_asset() -> Weight {
|
||||
Weight::from_ref_time(32_163_000 as u64)
|
||||
Weight::from_ref_time(21_596_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)
|
||||
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
|
||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||
// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn deposit_reserve_asset() -> Weight {
|
||||
Weight::from_ref_time(57_496_000 as u64)
|
||||
Weight::from_ref_time(45_534_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
|
||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||
// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn initiate_teleport() -> Weight {
|
||||
Weight::from_ref_time(35_502_000 as u64)
|
||||
Weight::from_ref_time(26_876_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
+70
-31
@@ -18,8 +18,8 @@
|
||||
//! Autogenerated weights for `pallet_xcm_benchmarks::generic`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! DATE: 2023-02-23, 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("bridge-hub-kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -49,145 +49,184 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
|
||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||
// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn report_holding() -> Weight {
|
||||
Weight::from_ref_time(43_400_000 as u64)
|
||||
Weight::from_ref_time(30_320_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(6_013_000 as u64)
|
||||
Weight::from_ref_time(2_776_000 as u64)
|
||||
}
|
||||
// Storage: PolkadotXcm Queries (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
|
||||
pub(crate) fn query_response() -> Weight {
|
||||
Weight::from_ref_time(19_456_000 as u64)
|
||||
Weight::from_ref_time(10_396_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
pub(crate) fn transact() -> Weight {
|
||||
Weight::from_ref_time(23_878_000 as u64)
|
||||
Weight::from_ref_time(11_646_000 as u64)
|
||||
}
|
||||
pub(crate) fn refund_surplus() -> Weight {
|
||||
Weight::from_ref_time(6_415_000 as u64)
|
||||
Weight::from_ref_time(2_853_000 as u64)
|
||||
}
|
||||
pub(crate) fn set_error_handler() -> Weight {
|
||||
Weight::from_ref_time(6_119_000 as u64)
|
||||
Weight::from_ref_time(2_746_000 as u64)
|
||||
}
|
||||
pub(crate) fn set_appendix() -> Weight {
|
||||
Weight::from_ref_time(6_023_000 as u64)
|
||||
Weight::from_ref_time(2_742_000 as u64)
|
||||
}
|
||||
pub(crate) fn clear_error() -> Weight {
|
||||
Weight::from_ref_time(6_241_000 as u64)
|
||||
Weight::from_ref_time(2_750_000 as u64)
|
||||
}
|
||||
pub(crate) fn descend_origin() -> Weight {
|
||||
Weight::from_ref_time(7_376_000 as u64)
|
||||
Weight::from_ref_time(3_512_000 as u64)
|
||||
}
|
||||
pub(crate) fn clear_origin() -> Weight {
|
||||
Weight::from_ref_time(6_400_000 as u64)
|
||||
Weight::from_ref_time(2_710_000 as u64)
|
||||
}
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
|
||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||
// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn report_error() -> Weight {
|
||||
Weight::from_ref_time(32_181_000 as u64)
|
||||
Weight::from_ref_time(23_834_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: PolkadotXcm AssetTraps (r:1 w:1)
|
||||
// Proof Skipped: PolkadotXcm AssetTraps (max_values: None, max_size: None, mode: Measured)
|
||||
pub(crate) fn claim_asset() -> Weight {
|
||||
Weight::from_ref_time(23_100_000 as u64)
|
||||
Weight::from_ref_time(14_091_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
pub(crate) fn trap() -> Weight {
|
||||
Weight::from_ref_time(6_305_000 as u64)
|
||||
Weight::from_ref_time(2_702_000 as u64)
|
||||
}
|
||||
// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
|
||||
// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
|
||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
|
||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||
// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn subscribe_version() -> Weight {
|
||||
Weight::from_ref_time(35_429_000 as u64)
|
||||
Weight::from_ref_time(24_071_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)
|
||||
// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
|
||||
pub(crate) fn unsubscribe_version() -> Weight {
|
||||
Weight::from_ref_time(7_802_000 as u64)
|
||||
Weight::from_ref_time(4_648_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
|
||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||
// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn initiate_reserve_withdraw() -> Weight {
|
||||
Weight::from_ref_time(38_381_000 as u64)
|
||||
Weight::from_ref_time(26_772_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
pub(crate) fn burn_asset() -> Weight {
|
||||
Weight::from_ref_time(7_690_000 as u64)
|
||||
Weight::from_ref_time(4_249_000 as u64)
|
||||
}
|
||||
pub(crate) fn expect_asset() -> Weight {
|
||||
Weight::from_ref_time(6_165_000 as u64)
|
||||
Weight::from_ref_time(2_860_000 as u64)
|
||||
}
|
||||
pub(crate) fn expect_origin() -> Weight {
|
||||
Weight::from_ref_time(7_276_000 as u64)
|
||||
Weight::from_ref_time(2_849_000 as u64)
|
||||
}
|
||||
pub(crate) fn expect_error() -> Weight {
|
||||
Weight::from_ref_time(6_193_000 as u64)
|
||||
Weight::from_ref_time(2_692_000 as u64)
|
||||
}
|
||||
pub(crate) fn expect_transact_status() -> Weight {
|
||||
Weight::from_ref_time(7_076_000 as u64)
|
||||
Weight::from_ref_time(2_886_000 as u64)
|
||||
}
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
|
||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||
// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn query_pallet() -> Weight {
|
||||
Weight::from_ref_time(37_138_000 as u64)
|
||||
Weight::from_ref_time(28_452_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
pub(crate) fn expect_pallet() -> Weight {
|
||||
Weight::from_ref_time(8_726_000 as u64)
|
||||
Weight::from_ref_time(4_257_000 as u64)
|
||||
}
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
|
||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||
// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||
// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn report_transact_status() -> Weight {
|
||||
Weight::from_ref_time(32_311_000 as u64)
|
||||
Weight::from_ref_time(24_235_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
pub(crate) fn clear_transact_status() -> Weight {
|
||||
Weight::from_ref_time(6_078_000 as u64)
|
||||
Weight::from_ref_time(2_749_000 as u64)
|
||||
}
|
||||
pub(crate) fn set_topic() -> Weight {
|
||||
Weight::from_ref_time(6_234_000 as u64)
|
||||
Weight::from_ref_time(2_718_000 as u64)
|
||||
}
|
||||
pub(crate) fn clear_topic() -> Weight {
|
||||
Weight::from_ref_time(6_739_000 as u64)
|
||||
Weight::from_ref_time(2_685_000 as u64)
|
||||
}
|
||||
pub(crate) fn set_fees_mode() -> Weight {
|
||||
Weight::from_ref_time(6_060_000 as u64)
|
||||
Weight::from_ref_time(2_735_000 as u64)
|
||||
}
|
||||
pub(crate) fn unpaid_execution() -> Weight {
|
||||
Weight::from_ref_time(6_940_000 as u64)
|
||||
Weight::from_ref_time(2_842_000 as u64)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user