[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:
Alexander Samusev
2023-02-23 11:50:38 +01:00
committed by GitHub
parent bdd75044bb
commit 6c89607b31
89 changed files with 7970 additions and 3721 deletions
@@ -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-22, 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("statemint-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_782 nanoseconds.
Weight::from_ref_time(7_208_000)
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `571`
// Minimum execution time: 4_717 nanoseconds.
Weight::from_ref_time(4_964_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_770 nanoseconds.
Weight::from_ref_time(7_165_000)
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `571`
// Minimum execution time: 4_840 nanoseconds.
Weight::from_ref_time(5_074_000)
.saturating_add(Weight::from_proof_size(571))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -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-22, 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("statemint-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_657 nanoseconds.
Weight::from_ref_time(3_832_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_455 nanoseconds.
Weight::from_ref_time(1_553_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(478).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_437 nanoseconds.
Weight::from_ref_time(99_167_673)
// Standard Error: 4
.saturating_add(Weight::from_ref_time(1_976).saturating_mul(b.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_602 nanoseconds.
Weight::from_ref_time(6_725_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_715).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: 8_737 nanoseconds.
Weight::from_ref_time(9_003_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `495`
// Minimum execution time: 3_555 nanoseconds.
Weight::from_ref_time(3_745_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_761 nanoseconds.
Weight::from_ref_time(3_931_000)
// Standard Error: 2_367
.saturating_add(Weight::from_ref_time(686_029).saturating_mul(i.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_690 nanoseconds.
Weight::from_ref_time(1_735_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 2_138
.saturating_add(Weight::from_ref_time(588_449).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_840 nanoseconds.
Weight::from_ref_time(3_898_000)
// Standard Error: 1_014
.saturating_add(Weight::from_ref_time(520_323).saturating_mul(i.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_695 nanoseconds.
Weight::from_ref_time(1_771_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 816
.saturating_add(Weight::from_ref_time(449_345).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_400 nanoseconds.
Weight::from_ref_time(5_547_000)
// Standard Error: 1_501
.saturating_add(Weight::from_ref_time(1_173_489).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `81 + p * (69 ±0)`
// Estimated: `72 + p * (70 ±0)`
// Minimum execution time: 3_289 nanoseconds.
Weight::from_ref_time(3_377_000)
.saturating_add(Weight::from_proof_size(72))
// Standard Error: 922
.saturating_add(Weight::from_ref_time(969_103).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()))
}
}
@@ -17,8 +17,9 @@
//! Autogenerated weights for `pallet_assets`
//!
//! 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-22, 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("statemint-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,231 +47,387 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_assets`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Storage: Assets Asset (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn create() -> Weight {
// Minimum execution time: 28_455 nanoseconds.
Weight::from_ref_time(28_985_000)
// Proof Size summary in bytes:
// Measured: `141`
// Estimated: `5288`
// Minimum execution time: 21_786 nanoseconds.
Weight::from_ref_time(22_084_000)
.saturating_add(Weight::from_proof_size(5288))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Assets Asset (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
fn force_create() -> Weight {
// Minimum execution time: 17_065 nanoseconds.
Weight::from_ref_time(18_069_000)
// Proof Size summary in bytes:
// Measured: `6`
// Estimated: `2685`
// Minimum execution time: 10_638 nanoseconds.
Weight::from_ref_time(10_889_000)
.saturating_add(Weight::from_proof_size(2685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
fn start_destroy() -> Weight {
// Minimum execution time: 19_008 nanoseconds.
Weight::from_ref_time(19_697_000)
// Proof Size summary in bytes:
// Measured: `309`
// Estimated: `2685`
// Minimum execution time: 13_146 nanoseconds.
Weight::from_ref_time(13_421_000)
.saturating_add(Weight::from_proof_size(2685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:1 w:0)
// Storage: System Account (r:20 w:20)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1001 w:1000)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Storage: System Account (r:1000 w:1000)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `c` is `[0, 1000]`.
fn destroy_accounts(c: u32, ) -> Weight {
// Minimum execution time: 21_673 nanoseconds.
Weight::from_ref_time(22_115_000)
// Standard Error: 19_356
.saturating_add(Weight::from_ref_time(15_391_476).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `0 + c * (240 ±0)`
// Estimated: `5262 + c * (5180 ±0)`
// Minimum execution time: 15_962 nanoseconds.
Weight::from_ref_time(16_041_000)
.saturating_add(Weight::from_proof_size(5262))
// Standard Error: 9_326
.saturating_add(Weight::from_ref_time(13_983_529).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into())))
.saturating_add(Weight::from_proof_size(5180).saturating_mul(c.into()))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:0)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Approvals (r:1001 w:1000)
/// Proof: Assets Approvals (max_values: None, max_size: Some(148), added: 2623, mode: MaxEncodedLen)
/// The range of component `a` is `[0, 1000]`.
fn destroy_approvals(a: u32, ) -> Weight {
// Minimum execution time: 22_211 nanoseconds.
Weight::from_ref_time(22_919_000)
// Standard Error: 10_712
.saturating_add(Weight::from_ref_time(14_873_452).saturating_mul(a.into()))
// Proof Size summary in bytes:
// Measured: `446 + a * (86 ±0)`
// Estimated: `5308 + a * (2623 ±0)`
// Minimum execution time: 16_343 nanoseconds.
Weight::from_ref_time(16_490_000)
.saturating_add(Weight::from_proof_size(5308))
// Standard Error: 7_664
.saturating_add(Weight::from_ref_time(13_585_881).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
.saturating_add(Weight::from_proof_size(2623).saturating_mul(a.into()))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Metadata (r:1 w:0)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Metadata (r:1 w:0)
/// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
fn finish_destroy() -> Weight {
// Minimum execution time: 18_860 nanoseconds.
Weight::from_ref_time(20_054_000)
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `5300`
// Minimum execution time: 12_531 nanoseconds.
Weight::from_ref_time(13_108_000)
.saturating_add(Weight::from_proof_size(5300))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1 w:1)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
fn mint() -> Weight {
// Minimum execution time: 31_567 nanoseconds.
Weight::from_ref_time(32_250_000)
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `5262`
// Minimum execution time: 22_604 nanoseconds.
Weight::from_ref_time(22_970_000)
.saturating_add(Weight::from_proof_size(5262))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1 w:1)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
fn burn() -> Weight {
// Minimum execution time: 38_050 nanoseconds.
Weight::from_ref_time(39_694_000)
// Proof Size summary in bytes:
// Measured: `383`
// Estimated: `5262`
// Minimum execution time: 28_407 nanoseconds.
Weight::from_ref_time(29_012_000)
.saturating_add(Weight::from_proof_size(5262))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:2 w:2)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// 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: 50_128 nanoseconds.
Weight::from_ref_time(51_113_000)
// Proof Size summary in bytes:
// Measured: `383`
// Estimated: `10442`
// Minimum execution time: 38_044 nanoseconds.
Weight::from_ref_time(38_562_000)
.saturating_add(Weight::from_proof_size(10442))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:2 w:2)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// 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: 64_097 nanoseconds.
Weight::from_ref_time(72_646_000)
// Proof Size summary in bytes:
// Measured: `383`
// Estimated: `10442`
// Minimum execution time: 33_946 nanoseconds.
Weight::from_ref_time(34_532_000)
.saturating_add(Weight::from_proof_size(10442))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:2 w:2)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn force_transfer() -> Weight {
// Minimum execution time: 49_536 nanoseconds.
Weight::from_ref_time(50_942_000)
// Proof Size summary in bytes:
// Measured: `383`
// Estimated: `10442`
// Minimum execution time: 38_013 nanoseconds.
Weight::from_ref_time(38_818_000)
.saturating_add(Weight::from_proof_size(10442))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Account (r:1 w:1)
/// Storage: Assets Asset (r:1 w:0)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1 w:1)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
fn freeze() -> Weight {
// Minimum execution time: 22_048 nanoseconds.
Weight::from_ref_time(22_795_000)
// Proof Size summary in bytes:
// Measured: `383`
// Estimated: `5262`
// Minimum execution time: 15_798 nanoseconds.
Weight::from_ref_time(16_178_000)
.saturating_add(Weight::from_proof_size(5262))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Account (r:1 w:1)
/// Storage: Assets Asset (r:1 w:0)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Account (r:1 w:1)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
fn thaw() -> Weight {
// Minimum execution time: 21_987 nanoseconds.
Weight::from_ref_time(22_738_000)
// Proof Size summary in bytes:
// Measured: `383`
// Estimated: `5262`
// Minimum execution time: 16_196 nanoseconds.
Weight::from_ref_time(16_525_000)
.saturating_add(Weight::from_proof_size(5262))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
fn freeze_asset() -> Weight {
// Minimum execution time: 18_533 nanoseconds.
Weight::from_ref_time(19_259_000)
// Proof Size summary in bytes:
// Measured: `309`
// Estimated: `2685`
// Minimum execution time: 12_600 nanoseconds.
Weight::from_ref_time(13_038_000)
.saturating_add(Weight::from_proof_size(2685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
fn thaw_asset() -> Weight {
// Minimum execution time: 18_932 nanoseconds.
Weight::from_ref_time(19_583_000)
// Proof Size summary in bytes:
// Measured: `309`
// Estimated: `2685`
// Minimum execution time: 12_433 nanoseconds.
Weight::from_ref_time(12_924_000)
.saturating_add(Weight::from_proof_size(2685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Metadata (r:1 w:0)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Metadata (r:1 w:0)
/// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
fn transfer_ownership() -> Weight {
// Minimum execution time: 19_683 nanoseconds.
Weight::from_ref_time(20_333_000)
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `5300`
// Minimum execution time: 13_754 nanoseconds.
Weight::from_ref_time(14_069_000)
.saturating_add(Weight::from_proof_size(5300))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
fn set_team() -> Weight {
// Minimum execution time: 18_773 nanoseconds.
Weight::from_ref_time(19_329_000)
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `2685`
// Minimum execution time: 12_640 nanoseconds.
Weight::from_ref_time(12_846_000)
.saturating_add(Weight::from_proof_size(2685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Metadata (r:1 w:1)
/// Storage: Assets Asset (r:1 w:0)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Metadata (r:1 w:1)
/// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
/// The range of component `n` is `[0, 50]`.
/// The range of component `s` is `[0, 50]`.
fn set_metadata(_n: u32, s: u32, ) -> Weight {
// Minimum execution time: 30_833 nanoseconds.
Weight::from_ref_time(32_840_016)
// Standard Error: 2_536
.saturating_add(Weight::from_ref_time(3_703).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `5300`
// Minimum execution time: 22_428 nanoseconds.
Weight::from_ref_time(23_549_955)
.saturating_add(Weight::from_proof_size(5300))
// Standard Error: 731
.saturating_add(Weight::from_ref_time(893).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Metadata (r:1 w:1)
/// Storage: Assets Asset (r:1 w:0)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Metadata (r:1 w:1)
/// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
fn clear_metadata() -> Weight {
// Minimum execution time: 32_336 nanoseconds.
Weight::from_ref_time(33_540_000)
// Proof Size summary in bytes:
// Measured: `471`
// Estimated: `5300`
// Minimum execution time: 22_730 nanoseconds.
Weight::from_ref_time(23_336_000)
.saturating_add(Weight::from_proof_size(5300))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Metadata (r:1 w:1)
/// Storage: Assets Asset (r:1 w:0)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Metadata (r:1 w:1)
/// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
/// The range of component `n` is `[0, 50]`.
/// The range of component `s` is `[0, 50]`.
fn force_set_metadata(n: u32, s: u32, ) -> Weight {
// Minimum execution time: 18_932 nanoseconds.
Weight::from_ref_time(20_027_542)
// Standard Error: 1_109
.saturating_add(Weight::from_ref_time(1_693).saturating_mul(n.into()))
// Standard Error: 1_109
.saturating_add(Weight::from_ref_time(1_915).saturating_mul(s.into()))
fn force_set_metadata(_n: u32, s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `82`
// Estimated: `5300`
// Minimum execution time: 12_289 nanoseconds.
Weight::from_ref_time(12_841_728)
.saturating_add(Weight::from_proof_size(5300))
// Standard Error: 304
.saturating_add(Weight::from_ref_time(1_964).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Metadata (r:1 w:1)
/// Storage: Assets Asset (r:1 w:0)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Metadata (r:1 w:1)
/// Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
fn force_clear_metadata() -> Weight {
// Minimum execution time: 32_516 nanoseconds.
Weight::from_ref_time(34_080_000)
// Proof Size summary in bytes:
// Measured: `471`
// Estimated: `5300`
// Minimum execution time: 23_203 nanoseconds.
Weight::from_ref_time(23_490_000)
.saturating_add(Weight::from_proof_size(5300))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
fn force_asset_status() -> Weight {
// Minimum execution time: 18_157 nanoseconds.
Weight::from_ref_time(18_692_000)
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `2685`
// Minimum execution time: 12_042 nanoseconds.
Weight::from_ref_time(12_246_000)
.saturating_add(Weight::from_proof_size(2685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Approvals (r:1 w:1)
/// Proof: Assets Approvals (max_values: None, max_size: Some(148), added: 2623, mode: MaxEncodedLen)
fn approve_transfer() -> Weight {
// Minimum execution time: 35_547 nanoseconds.
Weight::from_ref_time(36_869_000)
// Proof Size summary in bytes:
// Measured: `309`
// Estimated: `5308`
// Minimum execution time: 25_898 nanoseconds.
Weight::from_ref_time(26_128_000)
.saturating_add(Weight::from_proof_size(5308))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Approvals (r:1 w:1)
/// Proof: Assets Approvals (max_values: None, max_size: Some(148), added: 2623, mode: MaxEncodedLen)
/// Storage: Assets Account (r:2 w:2)
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn transfer_approved() -> Weight {
// Minimum execution time: 65_541 nanoseconds.
Weight::from_ref_time(68_434_000)
// Proof Size summary in bytes:
// Measured: `553`
// Estimated: `13065`
// Minimum execution time: 52_087 nanoseconds.
Weight::from_ref_time(52_630_000)
.saturating_add(Weight::from_proof_size(13065))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Approvals (r:1 w:1)
/// Proof: Assets Approvals (max_values: None, max_size: Some(148), added: 2623, mode: MaxEncodedLen)
fn cancel_approval() -> Weight {
// Minimum execution time: 36_411 nanoseconds.
Weight::from_ref_time(38_111_000)
// Proof Size summary in bytes:
// Measured: `479`
// Estimated: `5308`
// Minimum execution time: 27_731 nanoseconds.
Weight::from_ref_time(28_129_000)
.saturating_add(Weight::from_proof_size(5308))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
/// Storage: Assets Approvals (r:1 w:1)
/// Proof: Assets Approvals (max_values: None, max_size: Some(148), added: 2623, mode: MaxEncodedLen)
fn force_cancel_approval() -> Weight {
// Minimum execution time: 37_723 nanoseconds.
Weight::from_ref_time(39_545_000)
// Proof Size summary in bytes:
// Measured: `479`
// Estimated: `5308`
// Minimum execution time: 27_921 nanoseconds.
Weight::from_ref_time(28_386_000)
.saturating_add(Weight::from_proof_size(5308))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -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-22, 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("statemint-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: 44_953 nanoseconds.
Weight::from_ref_time(46_145_000)
// Proof Size summary in bytes:
// Measured: `1178`
// Estimated: `2603`
// Minimum execution time: 45_943 nanoseconds.
Weight::from_ref_time(46_894_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_676 nanoseconds.
Weight::from_ref_time(34_796_000)
// Proof Size summary in bytes:
// Measured: `1062`
// Estimated: `2603`
// Minimum execution time: 35_842 nanoseconds.
Weight::from_ref_time(36_089_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_716 nanoseconds.
Weight::from_ref_time(24_225_000)
// Proof Size summary in bytes:
// Measured: `1174`
// Estimated: `2603`
// Minimum execution time: 26_219 nanoseconds.
Weight::from_ref_time(26_783_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: 26_946 nanoseconds.
Weight::from_ref_time(27_944_000)
// Proof Size summary in bytes:
// Measured: `1174`
// Estimated: `2603`
// Minimum execution time: 29_939 nanoseconds.
Weight::from_ref_time(30_394_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: 44_753 nanoseconds.
Weight::from_ref_time(47_037_000)
// Proof Size summary in bytes:
// Measured: `1174`
// Estimated: `5206`
// Minimum execution time: 46_341 nanoseconds.
Weight::from_ref_time(47_111_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_722 nanoseconds.
Weight::from_ref_time(49_255_000)
// Proof Size summary in bytes:
// Measured: `1062`
// Estimated: `2603`
// Minimum execution time: 41_093 nanoseconds.
Weight::from_ref_time(41_472_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: 20_803 nanoseconds.
Weight::from_ref_time(21_258_000)
// Proof Size summary in bytes:
// Measured: `1058`
// Estimated: `2603`
// Minimum execution time: 22_961 nanoseconds.
Weight::from_ref_time(23_413_000)
.saturating_add(Weight::from_proof_size(2603))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -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("statemint-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: 20_391 nanoseconds.
Weight::from_ref_time(19_508_680)
// Standard Error: 4_352
.saturating_add(Weight::from_ref_time(2_861_485).saturating_mul(b.into()))
// Proof Size summary in bytes:
// Measured: `178 + b * (78 ±0)`
// Estimated: `178 + b * (2554 ±0)`
// Minimum execution time: 14_182 nanoseconds.
Weight::from_ref_time(16_174_028)
.saturating_add(Weight::from_proof_size(178))
// Standard Error: 3_951
.saturating_add(Weight::from_ref_time(2_446_152).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_328 nanoseconds.
Weight::from_ref_time(14_062_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_843 nanoseconds.
Weight::from_ref_time(7_086_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_766 nanoseconds.
Weight::from_ref_time(14_153_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_075 nanoseconds.
Weight::from_ref_time(7_294_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: 45_632 nanoseconds.
Weight::from_ref_time(49_581_769)
// Standard Error: 1_510
.saturating_add(Weight::from_ref_time(190_677).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `1171 + c * (48 ±0)`
// Estimated: `56784 + c * (49 ±0)`
// Minimum execution time: 34_101 nanoseconds.
Weight::from_ref_time(27_254_778)
.saturating_add(Weight::from_proof_size(56784))
// Standard Error: 1_210
.saturating_add(Weight::from_ref_time(105_038).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_865 nanoseconds.
Weight::from_ref_time(34_357_063)
// Standard Error: 1_387
.saturating_add(Weight::from_ref_time(179_876).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `536 + c * (48 ±0)`
// Estimated: `48497`
// Minimum execution time: 26_156 nanoseconds.
Weight::from_ref_time(16_543_802)
.saturating_add(Weight::from_proof_size(48497))
// Standard Error: 1_209
.saturating_add(Weight::from_ref_time(102_889).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_244 nanoseconds.
Weight::from_ref_time(34_259_000)
// Proof Size summary in bytes:
// Measured: `135`
// Estimated: `5749`
// Minimum execution time: 24_859 nanoseconds.
Weight::from_ref_time(25_423_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: 19_650 nanoseconds.
Weight::from_ref_time(19_968_000)
// Standard Error: 786_328
.saturating_add(Weight::from_ref_time(29_072_359).saturating_mul(c.into()))
fn new_session(r: u32, c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `22784 + r * (148 ±0) + c * (97 ±0)`
// Estimated: `52737 + c * (2519 ±0) + r * (2602 ±0)`
// Minimum execution time: 16_296 nanoseconds.
Weight::from_ref_time(16_532_000)
.saturating_add(Weight::from_proof_size(52737))
// Standard Error: 758_486
.saturating_add(Weight::from_ref_time(27_694_526).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()))
}
}
@@ -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("statemint-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: 16_867 nanoseconds.
Weight::from_ref_time(17_855_455)
// Standard Error: 7
.saturating_add(Weight::from_ref_time(626).saturating_mul(z.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 11_557 nanoseconds.
Weight::from_ref_time(12_087_731)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(493).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: 49_380 nanoseconds.
Weight::from_ref_time(35_928_806)
// Standard Error: 1_262
.saturating_add(Weight::from_ref_time(149_202).saturating_mul(s.into()))
// Standard Error: 12
.saturating_add(Weight::from_ref_time(1_868).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
// Proof Size summary in bytes:
// Measured: `311 + s * (2 ±0)`
// Estimated: `5821`
// Minimum execution time: 35_027 nanoseconds.
Weight::from_ref_time(28_254_579)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 541
.saturating_add(Weight::from_ref_time(73_609).saturating_mul(s.into()))
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_530).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_975 nanoseconds.
Weight::from_ref_time(24_939_271)
// Standard Error: 1_094
.saturating_add(Weight::from_ref_time(136_317).saturating_mul(s.into()))
// Standard Error: 10
.saturating_add(Weight::from_ref_time(1_903).saturating_mul(z.into()))
// Proof Size summary in bytes:
// Measured: `313`
// Estimated: `5821`
// Minimum execution time: 25_892 nanoseconds.
Weight::from_ref_time(19_974_491)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 382
.saturating_add(Weight::from_ref_time(67_041).saturating_mul(s.into()))
// Standard Error: 3
.saturating_add(Weight::from_ref_time(1_516).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: 52_377 nanoseconds.
Weight::from_ref_time(37_381_462)
// Standard Error: 1_498
.saturating_add(Weight::from_ref_time(183_480).saturating_mul(s.into()))
// Standard Error: 14
.saturating_add(Weight::from_ref_time(1_960).saturating_mul(z.into()))
// Proof Size summary in bytes:
// Measured: `448 + s * (33 ±0)`
// Estimated: `8424`
// Minimum execution time: 39_799 nanoseconds.
Weight::from_ref_time(31_172_141)
.saturating_add(Weight::from_proof_size(8424))
// Standard Error: 523
.saturating_add(Weight::from_ref_time(91_287).saturating_mul(s.into()))
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_557).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: 32_086 nanoseconds.
Weight::from_ref_time(34_173_675)
// Standard Error: 1_490
.saturating_add(Weight::from_ref_time(156_939).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: 22_943 nanoseconds.
Weight::from_ref_time(24_153_723)
// Standard Error: 1_092
.saturating_add(Weight::from_ref_time(130_471).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `318 + s * (2 ±0)`
// Estimated: `5821`
// Minimum execution time: 24_614 nanoseconds.
Weight::from_ref_time(26_554_159)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 754
.saturating_add(Weight::from_ref_time(81_278).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_141 nanoseconds.
Weight::from_ref_time(18_191_699)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 546
.saturating_add(Weight::from_ref_time(74_486).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: 32_093 nanoseconds.
Weight::from_ref_time(34_829_454)
// Standard Error: 1_573
.saturating_add(Weight::from_ref_time(148_149).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `517 + s * (1 ±0)`
// Estimated: `5821`
// Minimum execution time: 25_869 nanoseconds.
Weight::from_ref_time(28_059_249)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 677
.saturating_add(Weight::from_ref_time(80_187).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -17,8 +17,9 @@
//! Autogenerated weights for `pallet_proxy`
//!
//! 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("statemint-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,121 +47,176 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_proxy`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Storage: Proxy Proxies (r:1 w:0)
/// Storage: Proxy Proxies (r:1 w:0)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn proxy(p: u32, ) -> Weight {
// Minimum execution time: 20_353 nanoseconds.
Weight::from_ref_time(21_509_191)
// Standard Error: 2_505
.saturating_add(Weight::from_ref_time(53_567).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 14_405 nanoseconds.
Weight::from_ref_time(15_511_983)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 2_104
.saturating_add(Weight::from_ref_time(19_450).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
}
// Storage: Proxy Proxies (r:1 w:0)
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:0)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// Storage: Proxy Announcements (r:1 w:1)
/// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, 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 `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn proxy_announced(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 40_300 nanoseconds.
Weight::from_ref_time(40_900_685)
// Standard Error: 3_136
.saturating_add(Weight::from_ref_time(104_312).saturating_mul(a.into()))
// Standard Error: 3_240
.saturating_add(Weight::from_ref_time(49_601).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `550 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `11027`
// Minimum execution time: 31_545 nanoseconds.
Weight::from_ref_time(31_928_375)
.saturating_add(Weight::from_proof_size(11027))
// Standard Error: 2_022
.saturating_add(Weight::from_ref_time(114_479).saturating_mul(a.into()))
// Standard Error: 2_089
.saturating_add(Weight::from_ref_time(34_696).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Proxy Announcements (r:1 w:1)
/// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, 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 `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn remove_announcement(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 27_095 nanoseconds.
Weight::from_ref_time(28_275_274)
// Standard Error: 2_432
.saturating_add(Weight::from_ref_time(125_355).saturating_mul(a.into()))
// Standard Error: 2_513
.saturating_add(Weight::from_ref_time(33_543).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `433 + a * (68 ±0)`
// Estimated: `7311`
// Minimum execution time: 20_215 nanoseconds.
Weight::from_ref_time(20_970_496)
.saturating_add(Weight::from_proof_size(7311))
// Standard Error: 1_277
.saturating_add(Weight::from_ref_time(111_015).saturating_mul(a.into()))
// Standard Error: 1_320
.saturating_add(Weight::from_ref_time(9_988).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Proxy Announcements (r:1 w:1)
/// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, 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 `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn reject_announcement(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 27_243 nanoseconds.
Weight::from_ref_time(28_318_836)
// Standard Error: 2_249
.saturating_add(Weight::from_ref_time(128_387).saturating_mul(a.into()))
// Standard Error: 2_323
.saturating_add(Weight::from_ref_time(33_123).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `433 + a * (68 ±0)`
// Estimated: `7311`
// Minimum execution time: 20_153 nanoseconds.
Weight::from_ref_time(21_046_064)
.saturating_add(Weight::from_proof_size(7311))
// Standard Error: 1_342
.saturating_add(Weight::from_ref_time(108_638).saturating_mul(a.into()))
// Standard Error: 1_386
.saturating_add(Weight::from_ref_time(10_617).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Proxies (r:1 w:0)
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:0)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// Storage: Proxy Announcements (r:1 w:1)
/// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, 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 `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn announce(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 36_001 nanoseconds.
Weight::from_ref_time(37_755_806)
// Standard Error: 2_688
.saturating_add(Weight::from_ref_time(117_562).saturating_mul(a.into()))
// Standard Error: 2_777
.saturating_add(Weight::from_ref_time(39_230).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `482 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `11027`
// Minimum execution time: 27_692 nanoseconds.
Weight::from_ref_time(28_900_223)
.saturating_add(Weight::from_proof_size(11027))
// Standard Error: 1_751
.saturating_add(Weight::from_ref_time(100_648).saturating_mul(a.into()))
// Standard Error: 1_809
.saturating_add(Weight::from_ref_time(35_769).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn add_proxy(p: u32, ) -> Weight {
// Minimum execution time: 29_566 nanoseconds.
Weight::from_ref_time(31_149_800)
// Standard Error: 2_298
.saturating_add(Weight::from_ref_time(71_939).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 20_726 nanoseconds.
Weight::from_ref_time(21_849_126)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_307
.saturating_add(Weight::from_ref_time(43_349).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn remove_proxy(p: u32, ) -> Weight {
// Minimum execution time: 29_021 nanoseconds.
Weight::from_ref_time(30_997_729)
// Standard Error: 2_165
.saturating_add(Weight::from_ref_time(78_568).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 20_681 nanoseconds.
Weight::from_ref_time(21_733_251)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_555
.saturating_add(Weight::from_ref_time(59_461).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn remove_proxies(p: u32, ) -> Weight {
// Minimum execution time: 25_326 nanoseconds.
Weight::from_ref_time(26_868_430)
// Standard Error: 1_962
.saturating_add(Weight::from_ref_time(41_448).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 16_966 nanoseconds.
Weight::from_ref_time(17_682_078)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_110
.saturating_add(Weight::from_ref_time(28_786).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn create_pure(p: u32, ) -> Weight {
// Minimum execution time: 31_785 nanoseconds.
Weight::from_ref_time(33_475_829)
// Standard Error: 2_993
.saturating_add(Weight::from_ref_time(21_123).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
// Proof Size summary in bytes:
// Measured: `139`
// Estimated: `3716`
// Minimum execution time: 22_237 nanoseconds.
Weight::from_ref_time(23_324_695)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_481
.saturating_add(Weight::from_ref_time(9_284).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[0, 30]`.
fn kill_pure(p: u32, ) -> Weight {
// Minimum execution time: 26_365 nanoseconds.
Weight::from_ref_time(27_914_914)
// Standard Error: 2_228
.saturating_add(Weight::from_ref_time(49_922).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `196 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 18_041 nanoseconds.
Weight::from_ref_time(18_668_925)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_209
.saturating_add(Weight::from_ref_time(29_794).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -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("statemint-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_519 nanoseconds.
Weight::from_ref_time(23_717_000)
// Proof Size summary in bytes:
// Measured: `270`
// Estimated: `5490`
// Minimum execution time: 15_561 nanoseconds.
Weight::from_ref_time(15_843_000)
.saturating_add(Weight::from_proof_size(5490))
.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_465 nanoseconds.
Weight::from_ref_time(19_234_000)
// Proof Size summary in bytes:
// Measured: `242`
// Estimated: `2959`
// Minimum execution time: 11_757 nanoseconds.
Weight::from_ref_time(12_093_000)
.saturating_add(Weight::from_proof_size(2959))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -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("statemint-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_524 nanoseconds.
Weight::from_ref_time(9_910_000)
// Proof Size summary in bytes:
// Measured: `86`
// Estimated: `1006`
// Minimum execution time: 8_399 nanoseconds.
Weight::from_ref_time(8_649_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: 3_867 nanoseconds.
Weight::from_ref_time(4_044_000)
// Proof Size summary in bytes:
// Measured: `57`
// Estimated: `0`
// Minimum execution time: 3_277 nanoseconds.
Weight::from_ref_time(3_349_000)
.saturating_add(Weight::from_proof_size(0))
}
}
@@ -17,8 +17,9 @@
//! Autogenerated weights for `pallet_uniques`
//!
//! 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("statemint-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,242 +47,413 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_uniques`.
pub struct WeightInfo<T>(PhantomData<T>);
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)
/// Storage: Uniques Class (r:1 w:1)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
/// Storage: Uniques ClassAccount (r:0 w:1)
/// Proof: Uniques ClassAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
fn create() -> Weight {
// Minimum execution time: 30_159 nanoseconds.
Weight::from_ref_time(31_282_000)
// Proof Size summary in bytes:
// Measured: `177`
// Estimated: `2653`
// Minimum execution time: 23_738 nanoseconds.
Weight::from_ref_time(24_550_000)
.saturating_add(Weight::from_proof_size(2653))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques ClassAccount (r:0 w:1)
/// Storage: Uniques Class (r:1 w:1)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
/// Storage: Uniques ClassAccount (r:0 w:1)
/// Proof: Uniques ClassAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
fn force_create() -> Weight {
// Minimum execution time: 20_337 nanoseconds.
Weight::from_ref_time(20_657_000)
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `2653`
// Minimum execution time: 13_165 nanoseconds.
Weight::from_ref_time(13_515_000)
.saturating_add(Weight::from_proof_size(2653))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques Asset (r:1 w:0)
// Storage: Uniques ClassAccount (r:0 w:1)
// Storage: Uniques Attribute (r:0 w:1000)
// Storage: Uniques ClassMetadataOf (r:0 w:1)
// Storage: Uniques InstanceMetadataOf (r:0 w:1000)
// Storage: Uniques CollectionMaxSupply (r:0 w:1)
// Storage: Uniques Account (r:0 w:20)
/// Storage: Uniques Class (r:1 w:1)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
/// Storage: Uniques Asset (r:1001 w:1000)
/// Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen)
/// Storage: Uniques ClassAccount (r:0 w:1)
/// Proof: Uniques ClassAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
/// Storage: Uniques Attribute (r:0 w:1000)
/// Proof: Uniques Attribute (max_values: None, max_size: Some(172), added: 2647, mode: MaxEncodedLen)
/// Storage: Uniques ClassMetadataOf (r:0 w:1)
/// Proof: Uniques ClassMetadataOf (max_values: None, max_size: Some(167), added: 2642, mode: MaxEncodedLen)
/// Storage: Uniques InstanceMetadataOf (r:0 w:1000)
/// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen)
/// Storage: Uniques Account (r:0 w:1000)
/// Proof: Uniques Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
/// Storage: Uniques CollectionMaxSupply (r:0 w:1)
/// Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
/// The range of component `n` is `[0, 1000]`.
/// The range of component `m` is `[0, 1000]`.
/// The range of component `a` is `[0, 1000]`.
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
// Minimum execution time: 2_955_950 nanoseconds.
Weight::from_ref_time(3_016_040_000)
// Standard Error: 35_007
.saturating_add(Weight::from_ref_time(9_612_676).saturating_mul(n.into()))
// Standard Error: 35_007
.saturating_add(Weight::from_ref_time(294_935).saturating_mul(m.into()))
// Standard Error: 35_007
.saturating_add(Weight::from_ref_time(502_067).saturating_mul(a.into()))
// Proof Size summary in bytes:
// Measured: `289 + n * (108 ±0) + m * (56 ±0) + a * (107 ±0)`
// Estimated: `5250 + n * (2597 ±0)`
// Minimum execution time: 2_258_129 nanoseconds.
Weight::from_ref_time(2_289_592_000)
.saturating_add(Weight::from_proof_size(5250))
// Standard Error: 26_214
.saturating_add(Weight::from_ref_time(8_416_144).saturating_mul(n.into()))
// Standard Error: 26_214
.saturating_add(Weight::from_ref_time(256_638).saturating_mul(m.into()))
// Standard Error: 26_214
.saturating_add(Weight::from_ref_time(274_803).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
.saturating_add(Weight::from_proof_size(2597).saturating_mul(n.into()))
}
// Storage: Uniques Asset (r:1 w:1)
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques CollectionMaxSupply (r:1 w:0)
// Storage: Uniques Account (r:0 w:1)
/// Storage: Uniques Asset (r:1 w:1)
/// Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen)
/// Storage: Uniques Class (r:1 w:1)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
/// Storage: Uniques CollectionMaxSupply (r:1 w:0)
/// Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
/// Storage: Uniques Account (r:0 w:1)
/// Proof: Uniques Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
fn mint() -> Weight {
// Minimum execution time: 38_344 nanoseconds.
Weight::from_ref_time(39_647_000)
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `7749`
// Minimum execution time: 28_974 nanoseconds.
Weight::from_ref_time(29_398_000)
.saturating_add(Weight::from_proof_size(7749))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques Asset (r:1 w:1)
// Storage: Uniques Account (r:0 w:1)
// Storage: Uniques ItemPriceOf (r:0 w:1)
/// Storage: Uniques Class (r:1 w:1)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
/// Storage: Uniques Asset (r:1 w:1)
/// Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen)
/// Storage: Uniques Account (r:0 w:1)
/// Proof: Uniques Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
/// Storage: Uniques ItemPriceOf (r:0 w:1)
/// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
fn burn() -> Weight {
// Minimum execution time: 40_858 nanoseconds.
Weight::from_ref_time(42_119_000)
// Proof Size summary in bytes:
// Measured: `492`
// Estimated: `5250`
// Minimum execution time: 30_070 nanoseconds.
Weight::from_ref_time(30_454_000)
.saturating_add(Weight::from_proof_size(5250))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Uniques Class (r:1 w:0)
// Storage: Uniques Asset (r:1 w:1)
// Storage: Uniques Account (r:0 w:2)
// Storage: Uniques ItemPriceOf (r:0 w:1)
/// Storage: Uniques Class (r:1 w:0)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
/// Storage: Uniques Asset (r:1 w:1)
/// Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen)
/// Storage: Uniques Account (r:0 w:2)
/// Proof: Uniques Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
/// Storage: Uniques ItemPriceOf (r:0 w:1)
/// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
fn transfer() -> Weight {
// Minimum execution time: 31_788 nanoseconds.
Weight::from_ref_time(33_789_000)
// Proof Size summary in bytes:
// Measured: `492`
// Estimated: `5250`
// Minimum execution time: 24_287 nanoseconds.
Weight::from_ref_time(24_509_000)
.saturating_add(Weight::from_proof_size(5250))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques Asset (r:102 w:102)
/// Storage: Uniques Class (r:1 w:1)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
/// Storage: Uniques Asset (r:5000 w:5000)
/// Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen)
/// The range of component `i` is `[0, 5000]`.
fn redeposit(i: u32, ) -> Weight {
// Minimum execution time: 20_167 nanoseconds.
Weight::from_ref_time(20_686_000)
// Standard Error: 16_832
.saturating_add(Weight::from_ref_time(13_676_811).saturating_mul(i.into()))
// Proof Size summary in bytes:
// Measured: `770 + i * (108 ±0)`
// Estimated: `2653 + i * (2597 ±0)`
// Minimum execution time: 14_231 nanoseconds.
Weight::from_ref_time(14_454_000)
.saturating_add(Weight::from_proof_size(2653))
// Standard Error: 13_135
.saturating_add(Weight::from_ref_time(12_152_067).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
.saturating_add(Weight::from_proof_size(2597).saturating_mul(i.into()))
}
// Storage: Uniques Asset (r:1 w:1)
// Storage: Uniques Class (r:1 w:0)
/// Storage: Uniques Asset (r:1 w:1)
/// Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen)
/// Storage: Uniques Class (r:1 w:0)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
fn freeze() -> Weight {
// Minimum execution time: 23_705 nanoseconds.
Weight::from_ref_time(24_505_000)
// Proof Size summary in bytes:
// Measured: `492`
// Estimated: `5250`
// Minimum execution time: 17_977 nanoseconds.
Weight::from_ref_time(18_415_000)
.saturating_add(Weight::from_proof_size(5250))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques Asset (r:1 w:1)
// Storage: Uniques Class (r:1 w:0)
/// Storage: Uniques Asset (r:1 w:1)
/// Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen)
/// Storage: Uniques Class (r:1 w:0)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
fn thaw() -> Weight {
// Minimum execution time: 23_539 nanoseconds.
Weight::from_ref_time(24_660_000)
// Proof Size summary in bytes:
// Measured: `492`
// Estimated: `5250`
// Minimum execution time: 17_421 nanoseconds.
Weight::from_ref_time(17_830_000)
.saturating_add(Weight::from_proof_size(5250))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques Class (r:1 w:1)
/// Storage: Uniques Class (r:1 w:1)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
fn freeze_collection() -> Weight {
// Minimum execution time: 19_365 nanoseconds.
Weight::from_ref_time(20_035_000)
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `2653`
// Minimum execution time: 13_199 nanoseconds.
Weight::from_ref_time(13_615_000)
.saturating_add(Weight::from_proof_size(2653))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques Class (r:1 w:1)
/// Storage: Uniques Class (r:1 w:1)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
fn thaw_collection() -> Weight {
// Minimum execution time: 19_090 nanoseconds.
Weight::from_ref_time(19_631_000)
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `2653`
// Minimum execution time: 13_263 nanoseconds.
Weight::from_ref_time(13_575_000)
.saturating_add(Weight::from_proof_size(2653))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques ClassAccount (r:0 w:2)
/// Storage: Uniques OwnershipAcceptance (r:1 w:1)
/// Proof: Uniques OwnershipAcceptance (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
/// Storage: Uniques Class (r:1 w:1)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
/// Storage: Uniques ClassAccount (r:0 w:2)
/// Proof: Uniques ClassAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
fn transfer_ownership() -> Weight {
// Minimum execution time: 26_735 nanoseconds.
Weight::from_ref_time(27_778_000)
// Proof Size summary in bytes:
// Measured: `388`
// Estimated: `5180`
// Minimum execution time: 20_850 nanoseconds.
Weight::from_ref_time(21_223_000)
.saturating_add(Weight::from_proof_size(5180))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Uniques Class (r:1 w:1)
/// Storage: Uniques Class (r:1 w:1)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
fn set_team() -> Weight {
// Minimum execution time: 19_548 nanoseconds.
Weight::from_ref_time(20_166_000)
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `2653`
// Minimum execution time: 14_218 nanoseconds.
Weight::from_ref_time(14_680_000)
.saturating_add(Weight::from_proof_size(2653))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques ClassAccount (r:0 w:1)
/// Storage: Uniques Class (r:1 w:1)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
/// Storage: Uniques ClassAccount (r:0 w:1)
/// Proof: Uniques ClassAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
fn force_item_status() -> Weight {
// Minimum execution time: 22_519 nanoseconds.
Weight::from_ref_time(23_074_000)
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `2653`
// Minimum execution time: 16_581 nanoseconds.
Weight::from_ref_time(16_856_000)
.saturating_add(Weight::from_proof_size(2653))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
// Storage: Uniques Attribute (r:1 w:1)
/// Storage: Uniques Class (r:1 w:1)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
/// Storage: Uniques InstanceMetadataOf (r:1 w:0)
/// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen)
/// Storage: Uniques Attribute (r:1 w:1)
/// Proof: Uniques Attribute (max_values: None, max_size: Some(172), added: 2647, mode: MaxEncodedLen)
fn set_attribute() -> Weight {
// Minimum execution time: 44_598 nanoseconds.
Weight::from_ref_time(46_000_000)
// Proof Size summary in bytes:
// Measured: `623`
// Estimated: `7962`
// Minimum execution time: 34_610 nanoseconds.
Weight::from_ref_time(34_994_000)
.saturating_add(Weight::from_proof_size(7962))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
// Storage: Uniques Attribute (r:1 w:1)
/// Storage: Uniques Class (r:1 w:1)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
/// Storage: Uniques InstanceMetadataOf (r:1 w:0)
/// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen)
/// Storage: Uniques Attribute (r:1 w:1)
/// Proof: Uniques Attribute (max_values: None, max_size: Some(172), added: 2647, mode: MaxEncodedLen)
fn clear_attribute() -> Weight {
// Minimum execution time: 43_530 nanoseconds.
Weight::from_ref_time(44_996_000)
// Proof Size summary in bytes:
// Measured: `851`
// Estimated: `7962`
// Minimum execution time: 34_244 nanoseconds.
Weight::from_ref_time(34_542_000)
.saturating_add(Weight::from_proof_size(7962))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
/// Storage: Uniques Class (r:1 w:1)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
/// Storage: Uniques InstanceMetadataOf (r:1 w:1)
/// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen)
fn set_metadata() -> Weight {
// Minimum execution time: 35_271 nanoseconds.
Weight::from_ref_time(36_457_000)
// Proof Size summary in bytes:
// Measured: `380`
// Estimated: `5315`
// Minimum execution time: 26_652 nanoseconds.
Weight::from_ref_time(27_013_000)
.saturating_add(Weight::from_proof_size(5315))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
/// Storage: Uniques Class (r:1 w:1)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
/// Storage: Uniques InstanceMetadataOf (r:1 w:1)
/// Proof: Uniques InstanceMetadataOf (max_values: None, max_size: Some(187), added: 2662, mode: MaxEncodedLen)
fn clear_metadata() -> Weight {
// Minimum execution time: 36_587 nanoseconds.
Weight::from_ref_time(37_573_000)
// Proof Size summary in bytes:
// Measured: `623`
// Estimated: `5315`
// Minimum execution time: 27_427 nanoseconds.
Weight::from_ref_time(27_985_000)
.saturating_add(Weight::from_proof_size(5315))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Uniques Class (r:1 w:1)
// Storage: Uniques ClassMetadataOf (r:1 w:1)
/// Storage: Uniques Class (r:1 w:1)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
/// Storage: Uniques ClassMetadataOf (r:1 w:1)
/// Proof: Uniques ClassMetadataOf (max_values: None, max_size: Some(167), added: 2642, mode: MaxEncodedLen)
fn set_collection_metadata() -> Weight {
// Minimum execution time: 34_409 nanoseconds.
Weight::from_ref_time(35_576_000)
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `5295`
// Minimum execution time: 26_557 nanoseconds.
Weight::from_ref_time(26_973_000)
.saturating_add(Weight::from_proof_size(5295))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Uniques Class (r:1 w:0)
// Storage: Uniques ClassMetadataOf (r:1 w:1)
/// Storage: Uniques Class (r:1 w:0)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
/// Storage: Uniques ClassMetadataOf (r:1 w:1)
/// Proof: Uniques ClassMetadataOf (max_values: None, max_size: Some(167), added: 2642, mode: MaxEncodedLen)
fn clear_collection_metadata() -> Weight {
// Minimum execution time: 33_706 nanoseconds.
Weight::from_ref_time(35_093_000)
// Proof Size summary in bytes:
// Measured: `537`
// Estimated: `5295`
// Minimum execution time: 25_091 nanoseconds.
Weight::from_ref_time(25_510_000)
.saturating_add(Weight::from_proof_size(5295))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques Class (r:1 w:0)
// Storage: Uniques Asset (r:1 w:1)
/// Storage: Uniques Class (r:1 w:0)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
/// Storage: Uniques Asset (r:1 w:1)
/// Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen)
fn approve_transfer() -> Weight {
// Minimum execution time: 25_123 nanoseconds.
Weight::from_ref_time(26_357_000)
// Proof Size summary in bytes:
// Measured: `492`
// Estimated: `5250`
// Minimum execution time: 19_129 nanoseconds.
Weight::from_ref_time(19_831_000)
.saturating_add(Weight::from_proof_size(5250))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques Class (r:1 w:0)
// Storage: Uniques Asset (r:1 w:1)
/// Storage: Uniques Class (r:1 w:0)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
/// Storage: Uniques Asset (r:1 w:1)
/// Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen)
fn cancel_approval() -> Weight {
// Minimum execution time: 24_873 nanoseconds.
Weight::from_ref_time(25_653_000)
// Proof Size summary in bytes:
// Measured: `525`
// Estimated: `5250`
// Minimum execution time: 19_393 nanoseconds.
Weight::from_ref_time(19_569_000)
.saturating_add(Weight::from_proof_size(5250))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
/// Storage: Uniques OwnershipAcceptance (r:1 w:1)
/// Proof: Uniques OwnershipAcceptance (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
fn set_accept_ownership() -> Weight {
// Minimum execution time: 22_708 nanoseconds.
Weight::from_ref_time(23_363_000)
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `2527`
// Minimum execution time: 14_863 nanoseconds.
Weight::from_ref_time(15_066_000)
.saturating_add(Weight::from_proof_size(2527))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques CollectionMaxSupply (r:1 w:1)
// Storage: Uniques Class (r:1 w:0)
/// Storage: Uniques CollectionMaxSupply (r:1 w:1)
/// Proof: Uniques CollectionMaxSupply (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
/// Storage: Uniques Class (r:1 w:0)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
fn set_collection_max_supply() -> Weight {
// Minimum execution time: 22_231 nanoseconds.
Weight::from_ref_time(22_654_000)
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `5152`
// Minimum execution time: 16_144 nanoseconds.
Weight::from_ref_time(16_510_000)
.saturating_add(Weight::from_proof_size(5152))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques Asset (r:1 w:0)
// Storage: Uniques ItemPriceOf (r:0 w:1)
/// Storage: Uniques Asset (r:1 w:0)
/// Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen)
/// Storage: Uniques ItemPriceOf (r:0 w:1)
/// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
fn set_price() -> Weight {
// Minimum execution time: 21_710 nanoseconds.
Weight::from_ref_time(22_423_000)
// Proof Size summary in bytes:
// Measured: `291`
// Estimated: `2597`
// Minimum execution time: 15_884 nanoseconds.
Weight::from_ref_time(16_215_000)
.saturating_add(Weight::from_proof_size(2597))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Uniques Asset (r:1 w:1)
// Storage: Uniques ItemPriceOf (r:1 w:1)
// Storage: Uniques Class (r:1 w:0)
// Storage: Uniques Account (r:0 w:2)
/// Storage: Uniques Asset (r:1 w:1)
/// Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen)
/// Storage: Uniques ItemPriceOf (r:1 w:1)
/// Proof: Uniques ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
/// Storage: Uniques Class (r:1 w:0)
/// Proof: Uniques Class (max_values: None, max_size: Some(178), added: 2653, mode: MaxEncodedLen)
/// Storage: Uniques Account (r:0 w:2)
/// Proof: Uniques Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
fn buy_item() -> Weight {
// Minimum execution time: 41_135 nanoseconds.
Weight::from_ref_time(42_407_000)
// Proof Size summary in bytes:
// Measured: `636`
// Estimated: `7814`
// Minimum execution time: 34_190 nanoseconds.
Weight::from_ref_time(34_497_000)
.saturating_add(Weight::from_proof_size(7814))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -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("statemint-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_061 nanoseconds.
Weight::from_ref_time(22_002_014)
// Standard Error: 1_631
.saturating_add(Weight::from_ref_time(4_500_655).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_005 nanoseconds.
Weight::from_ref_time(18_139_015)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 2_178
.saturating_add(Weight::from_ref_time(3_979_226).saturating_mul(c.into()))
}
fn as_derivative() -> Weight {
// Minimum execution time: 6_100 nanoseconds.
Weight::from_ref_time(6_357_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 4_441 nanoseconds.
Weight::from_ref_time(4_622_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: 12_931 nanoseconds.
Weight::from_ref_time(24_716_946)
// Standard Error: 2_425
.saturating_add(Weight::from_ref_time(4_716_164).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_910 nanoseconds.
Weight::from_ref_time(18_908_357)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 1_920
.saturating_add(Weight::from_ref_time(4_169_103).saturating_mul(c.into()))
}
fn dispatch_as() -> Weight {
// Minimum execution time: 14_958 nanoseconds.
Weight::from_ref_time(15_447_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_957 nanoseconds.
Weight::from_ref_time(8_145_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_003 nanoseconds.
Weight::from_ref_time(21_374_296)
// Standard Error: 2_304
.saturating_add(Weight::from_ref_time(4_527_355).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_925 nanoseconds.
Weight::from_ref_time(15_056_349)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 1_987
.saturating_add(Weight::from_ref_time(3_981_287).saturating_mul(c.into()))
}
}
@@ -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("statemint-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=statemint-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=statemint-dev
// --extrinsic=*
// --steps=50
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/assets/statemint/src/weights/
// --output=./parachains/runtimes/assets/statemint/src/weights/pallet_xcm.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -47,127 +47,229 @@ 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: 27_694 nanoseconds.
Weight::from_ref_time(28_545_000)
// Proof Size summary in bytes:
// Measured: `38`
// Estimated: `4645`
// Minimum execution time: 24_132 nanoseconds.
Weight::from_ref_time(24_554_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: 33_053 nanoseconds.
Weight::from_ref_time(33_789_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `499`
// Minimum execution time: 22_350 nanoseconds.
Weight::from_ref_time(22_760_000)
.saturating_add(Weight::from_proof_size(499))
.saturating_add(T::DbWeight::get().reads(1))
}
// 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 reserve_transfer_assets() -> Weight {
// Minimum execution time: 24_781 nanoseconds.
Weight::from_ref_time(25_259_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `499`
// Minimum execution time: 17_723 nanoseconds.
Weight::from_ref_time(17_951_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 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: 15_439 nanoseconds.
Weight::from_ref_time(15_750_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_641 nanoseconds.
Weight::from_ref_time(8_925_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_576 nanoseconds.
Weight::from_ref_time(4_758_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_427 nanoseconds.
Weight::from_ref_time(2_598_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_540 nanoseconds.
Weight::from_ref_time(32_380_000)
// Proof Size summary in bytes:
// Measured: `38`
// Estimated: `7729`
// Minimum execution time: 28_650 nanoseconds.
Weight::from_ref_time(29_035_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: 32_627 nanoseconds.
Weight::from_ref_time(32_934_000)
// Proof Size summary in bytes:
// Measured: `220`
// Estimated: `8470`
// Minimum execution time: 30_797 nanoseconds.
Weight::from_ref_time(31_491_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_968 nanoseconds.
Weight::from_ref_time(14_356_000)
// Proof Size summary in bytes:
// Measured: `95`
// Estimated: `9995`
// Minimum execution time: 13_639 nanoseconds.
Weight::from_ref_time(13_980_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: 14_263 nanoseconds.
Weight::from_ref_time(14_540_000)
// Proof Size summary in bytes:
// Measured: `99`
// Estimated: `9999`
// Minimum execution time: 13_954 nanoseconds.
Weight::from_ref_time(14_276_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_825 nanoseconds.
Weight::from_ref_time(16_101_000)
// Proof Size summary in bytes:
// Measured: `106`
// Estimated: `12481`
// Minimum execution time: 15_217 nanoseconds.
Weight::from_ref_time(15_422_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: 27_436 nanoseconds.
Weight::from_ref_time(28_083_000)
// Proof Size summary in bytes:
// Measured: `106`
// Estimated: `10041`
// Minimum execution time: 27_362 nanoseconds.
Weight::from_ref_time(28_034_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: 7_187 nanoseconds.
Weight::from_ref_time(7_399_000)
// Proof Size summary in bytes:
// Measured: `136`
// Estimated: `7561`
// Minimum execution time: 7_768 nanoseconds.
Weight::from_ref_time(7_890_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_904 nanoseconds.
Weight::from_ref_time(15_191_000)
// Proof Size summary in bytes:
// Measured: `106`
// Estimated: `10006`
// Minimum execution time: 15_165 nanoseconds.
Weight::from_ref_time(15_430_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: 33_269 nanoseconds.
Weight::from_ref_time(34_064_000)
// Proof Size summary in bytes:
// Measured: `112`
// Estimated: `15027`
// Minimum execution time: 35_310 nanoseconds.
Weight::from_ref_time(35_698_000)
.saturating_add(Weight::from_proof_size(15027))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -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("statemint-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(30_230_000 as u64)
Weight::from_ref_time(21_004_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(40_338_000 as u64)
Weight::from_ref_time(29_344_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(59_903_000 as u64)
Weight::from_ref_time(49_988_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_090_000 as u64)
Weight::from_ref_time(4_040_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_713_000 as u64)
Weight::from_ref_time(22_762_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(54_568_000 as u64)
Weight::from_ref_time(44_404_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(36_591_000 as u64)
Weight::from_ref_time(28_179_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -18,8 +18,8 @@
//! Autogenerated weights for `pallet_xcm_benchmarks::generic`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 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("statemint-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(419_969_000 as u64)
Weight::from_ref_time(352_828_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_812_000 as u64)
Weight::from_ref_time(3_719_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(22_826_000 as u64)
Weight::from_ref_time(10_697_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
pub(crate) fn transact() -> Weight {
Weight::from_ref_time(21_508_000 as u64)
Weight::from_ref_time(12_215_000 as u64)
}
pub(crate) fn refund_surplus() -> Weight {
Weight::from_ref_time(7_076_000 as u64)
Weight::from_ref_time(3_925_000 as u64)
}
pub(crate) fn set_error_handler() -> Weight {
Weight::from_ref_time(6_232_000 as u64)
Weight::from_ref_time(2_782_000 as u64)
}
pub(crate) fn set_appendix() -> Weight {
Weight::from_ref_time(5_977_000 as u64)
Weight::from_ref_time(2_765_000 as u64)
}
pub(crate) fn clear_error() -> Weight {
Weight::from_ref_time(6_015_000 as u64)
Weight::from_ref_time(2_766_000 as u64)
}
pub(crate) fn descend_origin() -> Weight {
Weight::from_ref_time(6_780_000 as u64)
Weight::from_ref_time(3_553_000 as u64)
}
pub(crate) fn clear_origin() -> Weight {
Weight::from_ref_time(5_962_000 as u64)
Weight::from_ref_time(2_732_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_598_000 as u64)
Weight::from_ref_time(23_189_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(22_269_000 as u64)
Weight::from_ref_time(14_569_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_926_000 as u64)
Weight::from_ref_time(2_759_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(33_049_000 as u64)
Weight::from_ref_time(24_423_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_789_000 as u64)
Weight::from_ref_time(4_575_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(473_491_000 as u64)
Weight::from_ref_time(406_184_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(153_186_000 as u64)
Weight::from_ref_time(125_739_000 as u64)
}
pub(crate) fn expect_asset() -> Weight {
Weight::from_ref_time(15_382_000 as u64)
Weight::from_ref_time(13_105_000 as u64)
}
pub(crate) fn expect_origin() -> Weight {
Weight::from_ref_time(6_120_000 as u64)
Weight::from_ref_time(2_823_000 as u64)
}
pub(crate) fn expect_error() -> Weight {
Weight::from_ref_time(6_140_000 as u64)
Weight::from_ref_time(2_771_000 as u64)
}
pub(crate) fn expect_transact_status() -> Weight {
Weight::from_ref_time(7_034_000 as u64)
Weight::from_ref_time(2_883_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(35_423_000 as u64)
Weight::from_ref_time(25_695_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(7_718_000 as u64)
Weight::from_ref_time(4_650_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_917_000 as u64)
Weight::from_ref_time(23_415_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_010_000 as u64)
Weight::from_ref_time(2_756_000 as u64)
}
pub(crate) fn set_topic() -> Weight {
Weight::from_ref_time(5_898_000 as u64)
Weight::from_ref_time(2_702_000 as u64)
}
pub(crate) fn clear_topic() -> Weight {
Weight::from_ref_time(7_201_000 as u64)
Weight::from_ref_time(2_738_000 as u64)
}
pub(crate) fn set_fees_mode() -> Weight {
Weight::from_ref_time(6_120_000 as u64)
Weight::from_ref_time(2_700_000 as u64)
}
pub(crate) fn unpaid_execution() -> Weight {
Weight::from_ref_time(6_170_000 as u64)
Weight::from_ref_time(2_894_000 as u64)
}
}