[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 26b109bb82
commit 7e811c2c2f
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-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("westmint-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_794 nanoseconds.
Weight::from_ref_time(7_190_000)
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `571`
// Minimum execution time: 4_844 nanoseconds.
Weight::from_ref_time(5_119_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_874 nanoseconds.
Weight::from_ref_time(7_085_000)
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `571`
// Minimum execution time: 5_017 nanoseconds.
Weight::from_ref_time(5_231_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-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("westmint-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_637 nanoseconds.
Weight::from_ref_time(3_217_847)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_737 nanoseconds.
Weight::from_ref_time(1_780_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(476).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_648 nanoseconds.
Weight::from_ref_time(137_234_405)
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_914).saturating_mul(b.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_941 nanoseconds.
Weight::from_ref_time(6_990_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_716).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_702 nanoseconds.
Weight::from_ref_time(9_128_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `495`
// Minimum execution time: 3_697 nanoseconds.
Weight::from_ref_time(3_855_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_956 nanoseconds.
Weight::from_ref_time(4_047_000)
// Standard Error: 2_247
.saturating_add(Weight::from_ref_time(684_153).saturating_mul(i.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_957 nanoseconds.
Weight::from_ref_time(2_009_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 1_909
.saturating_add(Weight::from_ref_time(577_980).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_854 nanoseconds.
Weight::from_ref_time(3_997_000)
// Standard Error: 1_031
.saturating_add(Weight::from_ref_time(515_297).saturating_mul(i.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_921 nanoseconds.
Weight::from_ref_time(1_983_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 841
.saturating_add(Weight::from_ref_time(443_784).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_336 nanoseconds.
Weight::from_ref_time(5_624_000)
// Standard Error: 1_121
.saturating_add(Weight::from_ref_time(1_158_048).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `84 + p * (69 ±0)`
// Estimated: `75 + p * (70 ±0)`
// Minimum execution time: 3_576 nanoseconds.
Weight::from_ref_time(3_661_000)
.saturating_add(Weight::from_proof_size(75))
// Standard Error: 919
.saturating_add(Weight::from_ref_time(955_752).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-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("westmint-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_561 nanoseconds.
Weight::from_ref_time(29_320_000)
// Proof Size summary in bytes:
// Measured: `141`
// Estimated: `5288`
// Minimum execution time: 22_825 nanoseconds.
Weight::from_ref_time(26_008_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_131 nanoseconds.
Weight::from_ref_time(17_718_000)
// Proof Size summary in bytes:
// Measured: `6`
// Estimated: `2685`
// Minimum execution time: 10_898 nanoseconds.
Weight::from_ref_time(12_626_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: 18_538 nanoseconds.
Weight::from_ref_time(19_075_000)
// Proof Size summary in bytes:
// Measured: `309`
// Estimated: `2685`
// Minimum execution time: 13_057 nanoseconds.
Weight::from_ref_time(13_932_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_562 nanoseconds.
Weight::from_ref_time(21_938_000)
// Standard Error: 11_687
.saturating_add(Weight::from_ref_time(14_796_709).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `0 + c * (240 ±0)`
// Estimated: `5262 + c * (5180 ±0)`
// Minimum execution time: 16_823 nanoseconds.
Weight::from_ref_time(31_002_000)
.saturating_add(Weight::from_proof_size(5262))
// Standard Error: 10_169
.saturating_add(Weight::from_ref_time(13_922_578).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_365 nanoseconds.
Weight::from_ref_time(23_134_000)
// Standard Error: 6_569
.saturating_add(Weight::from_ref_time(14_677_669).saturating_mul(a.into()))
// Proof Size summary in bytes:
// Measured: `446 + a * (86 ±0)`
// Estimated: `5308 + a * (2623 ±0)`
// Minimum execution time: 16_683 nanoseconds.
Weight::from_ref_time(16_754_000)
.saturating_add(Weight::from_proof_size(5308))
// Standard Error: 7_193
.saturating_add(Weight::from_ref_time(13_722_963).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: 19_068 nanoseconds.
Weight::from_ref_time(19_519_000)
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `5300`
// Minimum execution time: 12_892 nanoseconds.
Weight::from_ref_time(13_218_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_242 nanoseconds.
Weight::from_ref_time(32_104_000)
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `5262`
// Minimum execution time: 23_073 nanoseconds.
Weight::from_ref_time(23_435_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_703 nanoseconds.
Weight::from_ref_time(39_612_000)
// Proof Size summary in bytes:
// Measured: `383`
// Estimated: `5262`
// Minimum execution time: 29_411 nanoseconds.
Weight::from_ref_time(30_019_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_156 nanoseconds.
Weight::from_ref_time(51_795_000)
// Proof Size summary in bytes:
// Measured: `383`
// Estimated: `10442`
// Minimum execution time: 38_929 nanoseconds.
Weight::from_ref_time(39_602_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: 42_757 nanoseconds.
Weight::from_ref_time(43_539_000)
// Proof Size summary in bytes:
// Measured: `383`
// Estimated: `10442`
// Minimum execution time: 34_910 nanoseconds.
Weight::from_ref_time(35_686_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_476 nanoseconds.
Weight::from_ref_time(51_175_000)
// Proof Size summary in bytes:
// Measured: `383`
// Estimated: `10442`
// Minimum execution time: 38_959 nanoseconds.
Weight::from_ref_time(39_627_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_523 nanoseconds.
Weight::from_ref_time(22_883_000)
// Proof Size summary in bytes:
// Measured: `383`
// Estimated: `5262`
// Minimum execution time: 16_367 nanoseconds.
Weight::from_ref_time(16_761_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_672 nanoseconds.
Weight::from_ref_time(22_761_000)
// Proof Size summary in bytes:
// Measured: `383`
// Estimated: `5262`
// Minimum execution time: 16_361 nanoseconds.
Weight::from_ref_time(18_506_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_476 nanoseconds.
Weight::from_ref_time(19_347_000)
// Proof Size summary in bytes:
// Measured: `309`
// Estimated: `2685`
// Minimum execution time: 12_980 nanoseconds.
Weight::from_ref_time(14_272_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_799 nanoseconds.
Weight::from_ref_time(19_207_000)
// Proof Size summary in bytes:
// Measured: `309`
// Estimated: `2685`
// Minimum execution time: 12_510 nanoseconds.
Weight::from_ref_time(12_996_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_490 nanoseconds.
Weight::from_ref_time(20_249_000)
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `5300`
// Minimum execution time: 13_958 nanoseconds.
Weight::from_ref_time(14_458_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_616 nanoseconds.
Weight::from_ref_time(19_090_000)
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `2685`
// Minimum execution time: 12_820 nanoseconds.
Weight::from_ref_time(13_136_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: 31_073 nanoseconds.
Weight::from_ref_time(32_445_963)
// Standard Error: 972
.saturating_add(Weight::from_ref_time(3_646).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `5300`
// Minimum execution time: 22_433 nanoseconds.
Weight::from_ref_time(23_664_666)
.saturating_add(Weight::from_proof_size(5300))
// Standard Error: 648
.saturating_add(Weight::from_ref_time(2_428).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_815 nanoseconds.
Weight::from_ref_time(33_816_000)
// Proof Size summary in bytes:
// Measured: `471`
// Estimated: `5300`
// Minimum execution time: 22_969 nanoseconds.
Weight::from_ref_time(23_330_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_865 nanoseconds.
Weight::from_ref_time(19_695_604)
// Standard Error: 584
.saturating_add(Weight::from_ref_time(137).saturating_mul(n.into()))
// Standard Error: 584
.saturating_add(Weight::from_ref_time(1_840).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: 11_969 nanoseconds.
Weight::from_ref_time(12_659_111)
.saturating_add(Weight::from_proof_size(5300))
// Standard Error: 345
.saturating_add(Weight::from_ref_time(1_879).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_553 nanoseconds.
Weight::from_ref_time(33_416_000)
// Proof Size summary in bytes:
// Measured: `471`
// Estimated: `5300`
// Minimum execution time: 23_002 nanoseconds.
Weight::from_ref_time(23_320_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_165 nanoseconds.
Weight::from_ref_time(18_626_000)
// Proof Size summary in bytes:
// Measured: `275`
// Estimated: `2685`
// Minimum execution time: 11_994 nanoseconds.
Weight::from_ref_time(12_256_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: 34_944 nanoseconds.
Weight::from_ref_time(36_332_000)
// Proof Size summary in bytes:
// Measured: `309`
// Estimated: `5308`
// Minimum execution time: 26_321 nanoseconds.
Weight::from_ref_time(26_867_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_019 nanoseconds.
Weight::from_ref_time(67_234_000)
// Proof Size summary in bytes:
// Measured: `553`
// Estimated: `13065`
// Minimum execution time: 52_855 nanoseconds.
Weight::from_ref_time(54_006_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: 37_173 nanoseconds.
Weight::from_ref_time(38_731_000)
// Proof Size summary in bytes:
// Measured: `479`
// Estimated: `5308`
// Minimum execution time: 28_148 nanoseconds.
Weight::from_ref_time(28_416_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_722 nanoseconds.
Weight::from_ref_time(38_515_000)
// Proof Size summary in bytes:
// Measured: `479`
// Estimated: `5308`
// Minimum execution time: 28_456 nanoseconds.
Weight::from_ref_time(28_913_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-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("westmint-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,52 +47,87 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_balances`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn transfer() -> Weight {
// Minimum execution time: 45_252 nanoseconds.
Weight::from_ref_time(46_105_000)
// Proof Size summary in bytes:
// Measured: `1177`
// Estimated: `2603`
// Minimum execution time: 45_988 nanoseconds.
Weight::from_ref_time(46_507_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_833 nanoseconds.
Weight::from_ref_time(34_564_000)
// Proof Size summary in bytes:
// Measured: `1061`
// Estimated: `2603`
// Minimum execution time: 34_574 nanoseconds.
Weight::from_ref_time(35_575_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_543 nanoseconds.
Weight::from_ref_time(24_157_000)
// Proof Size summary in bytes:
// Measured: `1173`
// Estimated: `2603`
// Minimum execution time: 25_859 nanoseconds.
Weight::from_ref_time(26_467_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_733 nanoseconds.
Weight::from_ref_time(27_291_000)
// Proof Size summary in bytes:
// Measured: `1173`
// Estimated: `2603`
// Minimum execution time: 28_563 nanoseconds.
Weight::from_ref_time(29_082_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_122 nanoseconds.
Weight::from_ref_time(45_161_000)
// Proof Size summary in bytes:
// Measured: `1173`
// Estimated: `5206`
// Minimum execution time: 45_594 nanoseconds.
Weight::from_ref_time(46_296_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: 39_525 nanoseconds.
Weight::from_ref_time(41_049_000)
// Proof Size summary in bytes:
// Measured: `1061`
// Estimated: `2603`
// Minimum execution time: 40_085 nanoseconds.
Weight::from_ref_time(40_675_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_724 nanoseconds.
Weight::from_ref_time(21_226_000)
// Proof Size summary in bytes:
// Measured: `1057`
// Estimated: `2603`
// Minimum execution time: 22_208 nanoseconds.
Weight::from_ref_time(22_815_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("westmint-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_363 nanoseconds.
Weight::from_ref_time(19_905_046)
// Standard Error: 3_970
.saturating_add(Weight::from_ref_time(2_826_759).saturating_mul(b.into()))
// Proof Size summary in bytes:
// Measured: `178 + b * (78 ±0)`
// Estimated: `178 + b * (2554 ±0)`
// Minimum execution time: 13_864 nanoseconds.
Weight::from_ref_time(14_046_919)
.saturating_add(Weight::from_proof_size(178))
// Standard Error: 4_684
.saturating_add(Weight::from_ref_time(2_474_689).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_652 nanoseconds.
Weight::from_ref_time(14_141_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_556 nanoseconds.
Weight::from_ref_time(6_751_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_740 nanoseconds.
Weight::from_ref_time(14_323_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_816 nanoseconds.
Weight::from_ref_time(7_009_000)
.saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: CollatorSelection Candidates (r:1 w:1)
// Storage: CollatorSelection DesiredCandidates (r:1 w:0)
// Storage: CollatorSelection Invulnerables (r:1 w:0)
// Storage: Session NextKeys (r:1 w:0)
// Storage: CollatorSelection CandidacyBond (r:1 w:0)
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
/// Storage: CollatorSelection Candidates (r:1 w:1)
/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(48002), added: 48497, mode: MaxEncodedLen)
/// Storage: CollatorSelection DesiredCandidates (r:1 w:0)
/// Proof: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: CollatorSelection Invulnerables (r:1 w:0)
/// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
/// Storage: Session NextKeys (r:1 w:0)
/// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
/// Storage: CollatorSelection CandidacyBond (r:1 w:0)
/// Proof: CollatorSelection CandidacyBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
/// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
/// The range of component `c` is `[1, 999]`.
fn register_as_candidate(c: u32, ) -> Weight {
// Minimum execution time: 44_874 nanoseconds.
Weight::from_ref_time(53_679_512)
// Standard Error: 1_294
.saturating_add(Weight::from_ref_time(118_103).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `1171 + c * (48 ±0)`
// Estimated: `56784 + c * (49 ±0)`
// Minimum execution time: 35_423 nanoseconds.
Weight::from_ref_time(27_578_125)
.saturating_add(Weight::from_proof_size(56784))
// Standard Error: 1_255
.saturating_add(Weight::from_ref_time(105_521).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 `[2, 1000]`.
fn leave_intent(c: u32, ) -> Weight {
// Minimum execution time: 32_112 nanoseconds.
Weight::from_ref_time(24_014_112)
// Standard Error: 3_062
.saturating_add(Weight::from_ref_time(160_747).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `541 + c * (48 ±0)`
// Estimated: `48497`
// Minimum execution time: 24_550 nanoseconds.
Weight::from_ref_time(15_908_548)
.saturating_add(Weight::from_proof_size(48497))
// Standard Error: 1_238
.saturating_add(Weight::from_ref_time(105_175).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: 34_535 nanoseconds.
Weight::from_ref_time(36_232_000)
// Proof Size summary in bytes:
// Measured: `135`
// Estimated: `5749`
// Minimum execution time: 25_675 nanoseconds.
Weight::from_ref_time(26_392_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:999 w:999)
/// 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: 21_891 nanoseconds.
Weight::from_ref_time(22_962_000)
// Standard Error: 831_715
.saturating_add(Weight::from_ref_time(30_540_729).saturating_mul(c.into()))
fn new_session(r: u32, c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `22756 + r * (148 ±0) + c * (97 ±0)`
// Estimated: `52737 + c * (2519 ±0) + r * (2603 ±0)`
// Minimum execution time: 16_612 nanoseconds.
Weight::from_ref_time(16_892_000)
.saturating_add(Weight::from_proof_size(52737))
// Standard Error: 755_441
.saturating_add(Weight::from_ref_time(27_658_379).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(2603).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("westmint-dev"), DB CACHE: 1024
// Executed Command:
@@ -48,80 +49,113 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `z` is `[0, 10000]`.
fn as_multi_threshold_1(z: u32, ) -> Weight {
// Minimum execution time: 17_386 nanoseconds.
Weight::from_ref_time(19_544_902)
// Standard Error: 15
.saturating_add(Weight::from_ref_time(627).saturating_mul(z.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 11_762 nanoseconds.
Weight::from_ref_time(12_267_870)
.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: 50_220 nanoseconds.
Weight::from_ref_time(35_847_005)
// Standard Error: 2_973
.saturating_add(Weight::from_ref_time(184_472).saturating_mul(s.into()))
// Standard Error: 29
.saturating_add(Weight::from_ref_time(2_120).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_352 nanoseconds.
Weight::from_ref_time(28_499_037)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 1_231
.saturating_add(Weight::from_ref_time(73_158).saturating_mul(s.into()))
// Standard Error: 12
.saturating_add(Weight::from_ref_time(1_528).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: 37_608 nanoseconds.
Weight::from_ref_time(29_930_547)
// Standard Error: 2_348
.saturating_add(Weight::from_ref_time(122_908).saturating_mul(s.into()))
// Standard Error: 23
.saturating_add(Weight::from_ref_time(1_861).saturating_mul(z.into()))
// Proof Size summary in bytes:
// Measured: `313`
// Estimated: `5821`
// Minimum execution time: 26_412 nanoseconds.
Weight::from_ref_time(20_296_722)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 402
.saturating_add(Weight::from_ref_time(67_954).saturating_mul(s.into()))
// Standard Error: 3
.saturating_add(Weight::from_ref_time(1_495).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: 55_461 nanoseconds.
Weight::from_ref_time(38_532_740)
// Standard Error: 3_180
.saturating_add(Weight::from_ref_time(225_534).saturating_mul(s.into()))
// Standard Error: 31
.saturating_add(Weight::from_ref_time(2_073).saturating_mul(z.into()))
// Proof Size summary in bytes:
// Measured: `448 + s * (33 ±0)`
// Estimated: `8424`
// Minimum execution time: 39_936 nanoseconds.
Weight::from_ref_time(31_699_007)
.saturating_add(Weight::from_proof_size(8424))
// Standard Error: 632
.saturating_add(Weight::from_ref_time(90_100).saturating_mul(s.into()))
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_544).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: 34_111 nanoseconds.
Weight::from_ref_time(37_647_140)
// Standard Error: 2_983
.saturating_add(Weight::from_ref_time(156_872).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: 24_122 nanoseconds.
Weight::from_ref_time(26_189_399)
// Standard Error: 2_483
.saturating_add(Weight::from_ref_time(146_685).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `318 + s * (2 ±0)`
// Estimated: `5821`
// Minimum execution time: 25_146 nanoseconds.
Weight::from_ref_time(26_857_601)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 669
.saturating_add(Weight::from_ref_time(76_520).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_187 nanoseconds.
Weight::from_ref_time(18_410_072)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 491
.saturating_add(Weight::from_ref_time(72_318).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: 33_607 nanoseconds.
Weight::from_ref_time(37_851_646)
// Standard Error: 3_163
.saturating_add(Weight::from_ref_time(155_120).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `517 + s * (1 ±0)`
// Estimated: `5821`
// Minimum execution time: 25_956 nanoseconds.
Weight::from_ref_time(28_043_929)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 830
.saturating_add(Weight::from_ref_time(80_119).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -17,12 +17,13 @@
//! Autogenerated weights for `pallet_nfts`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `Jegors-MBP.lan`, CPU: `<UNKNOWN>`
//! 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("westmint-dev"), DB CACHE: 1024
// Executed Command:
// ./target/release/polkadot-parachain
// ./artifacts/polkadot-parachain
// benchmark
// pallet
// --chain=westmint-dev
@@ -46,380 +47,666 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_nfts`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Storage: Nfts NextCollectionId (r:1 w:1)
// Storage: Nfts Collection (r:1 w:1)
// Storage: Nfts CollectionRoleOf (r:0 w:1)
// Storage: Nfts CollectionConfigOf (r:0 w:1)
// Storage: Nfts CollectionAccount (r:0 w:1)
/// Storage: Nfts NextCollectionId (r:1 w:1)
/// Proof: Nfts NextCollectionId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Nfts Collection (r:1 w:1)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts CollectionRoleOf (r:0 w:1)
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
/// Storage: Nfts CollectionConfigOf (r:0 w:1)
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
/// Storage: Nfts CollectionAccount (r:0 w:1)
/// Proof: Nfts CollectionAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
fn create() -> Weight {
// Minimum execution time: 37_000 nanoseconds.
Weight::from_ref_time(38_000_000)
// Proof Size summary in bytes:
// Measured: `177`
// Estimated: `3054`
// Minimum execution time: 30_978 nanoseconds.
Weight::from_ref_time(31_489_000)
.saturating_add(Weight::from_proof_size(3054))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Nfts NextCollectionId (r:1 w:1)
// Storage: Nfts Collection (r:1 w:1)
// Storage: Nfts CollectionRoleOf (r:0 w:1)
// Storage: Nfts CollectionConfigOf (r:0 w:1)
// Storage: Nfts CollectionAccount (r:0 w:1)
/// Storage: Nfts NextCollectionId (r:1 w:1)
/// Proof: Nfts NextCollectionId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Nfts Collection (r:1 w:1)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts CollectionRoleOf (r:0 w:1)
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
/// Storage: Nfts CollectionConfigOf (r:0 w:1)
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
/// Storage: Nfts CollectionAccount (r:0 w:1)
/// Proof: Nfts CollectionAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
fn force_create() -> Weight {
// Minimum execution time: 26_000 nanoseconds.
Weight::from_ref_time(26_000_000)
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `3054`
// Minimum execution time: 20_101 nanoseconds.
Weight::from_ref_time(20_488_000)
.saturating_add(Weight::from_proof_size(3054))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Nfts Collection (r:1 w:1)
// Storage: Nfts Item (r:1001 w:1000)
// Storage: Nfts Attribute (r:1001 w:1000)
// Storage: Nfts ItemMetadataOf (r:0 w:1000)
// Storage: Nfts CollectionRoleOf (r:0 w:1)
// Storage: Nfts CollectionMetadataOf (r:0 w:1)
// Storage: Nfts CollectionConfigOf (r:0 w:1)
// Storage: Nfts ItemConfigOf (r:0 w:1000)
// Storage: Nfts Account (r:0 w:1000)
// Storage: Nfts CollectionAccount (r:0 w:1)
/// Storage: Nfts Collection (r:1 w:1)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts Item (r:1001 w:1000)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
/// Storage: Nfts ItemMetadataOf (r:1001 w:1000)
/// Proof: Nfts ItemMetadataOf (max_values: None, max_size: Some(219), added: 2694, mode: MaxEncodedLen)
/// Storage: Nfts Attribute (r:1001 w:1000)
/// Proof: Nfts Attribute (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen)
/// Storage: Nfts CollectionRoleOf (r:0 w:1)
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
/// Storage: Nfts CollectionMetadataOf (r:0 w:1)
/// Proof: Nfts CollectionMetadataOf (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen)
/// Storage: Nfts CollectionConfigOf (r:0 w:1)
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
/// Storage: Nfts ItemConfigOf (r:0 w:1000)
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
/// Storage: Nfts Account (r:0 w:1000)
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
/// Storage: Nfts CollectionAccount (r:0 w:1)
/// Proof: Nfts CollectionAccount (max_values: None, max_size: Some(68), added: 2543, 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: 21_464_000 nanoseconds.
Weight::from_ref_time(17_877_474_846)
// Standard Error: 113_501
.saturating_add(Weight::from_ref_time(1_677_234).saturating_mul(n.into()))
// Standard Error: 113_501
.saturating_add(Weight::from_ref_time(2_499_409).saturating_mul(m.into()))
// Standard Error: 113_501
.saturating_add(Weight::from_ref_time(9_962_607).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(1003))
fn destroy(_n: u32, m: u32, a: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `172673 + m * (206 ±0) + a * (210 ±0)`
// Estimated: `3347314 + m * (2694 ±0) + a * (2729 ±0)`
// Minimum execution time: 23_505_821 nanoseconds.
Weight::from_ref_time(16_948_157_713)
.saturating_add(Weight::from_proof_size(3347314))
// Standard Error: 20_494
.saturating_add(Weight::from_ref_time(7_059_571).saturating_mul(m.into()))
// Standard Error: 20_494
.saturating_add(Weight::from_ref_time(8_471_367).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(1004))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into())))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
.saturating_add(T::DbWeight::get().writes(3005))
.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(2694).saturating_mul(m.into()))
.saturating_add(Weight::from_proof_size(2729).saturating_mul(a.into()))
}
// Storage: Nfts CollectionConfigOf (r:1 w:0)
// Storage: Nfts Item (r:1 w:1)
// Storage: Nfts Collection (r:1 w:1)
// Storage: Nfts CollectionRoleOf (r:1 w:0)
// Storage: Nfts ItemConfigOf (r:1 w:1)
// Storage: Nfts Account (r:0 w:1)
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
/// Storage: Nfts Item (r:1 w:1)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
/// Storage: Nfts Collection (r:1 w:1)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
/// Storage: Nfts ItemConfigOf (r:1 w:1)
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
/// Storage: Nfts Account (r:0 w:1)
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
fn mint() -> Weight {
// Minimum execution time: 47_000 nanoseconds.
Weight::from_ref_time(51_000_000)
// Proof Size summary in bytes:
// Measured: `448`
// Estimated: `13506`
// Minimum execution time: 39_850 nanoseconds.
Weight::from_ref_time(40_227_000)
.saturating_add(Weight::from_proof_size(13506))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Nfts CollectionRoleOf (r:1 w:0)
// Storage: Nfts Item (r:1 w:1)
// Storage: Nfts Collection (r:1 w:1)
// Storage: Nfts CollectionConfigOf (r:1 w:0)
// Storage: Nfts ItemConfigOf (r:1 w:1)
// Storage: Nfts Account (r:0 w:1)
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
/// Storage: Nfts Item (r:1 w:1)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
/// Storage: Nfts Collection (r:1 w:1)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
/// Storage: Nfts ItemConfigOf (r:1 w:1)
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
/// Storage: Nfts Account (r:0 w:1)
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
fn force_mint() -> Weight {
// Minimum execution time: 47_000 nanoseconds.
Weight::from_ref_time(49_000_000)
// Proof Size summary in bytes:
// Measured: `448`
// Estimated: `13506`
// Minimum execution time: 40_379 nanoseconds.
Weight::from_ref_time(41_110_000)
.saturating_add(Weight::from_proof_size(13506))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Nfts Collection (r:1 w:1)
// Storage: Nfts Item (r:1 w:1)
// Storage: Nfts CollectionRoleOf (r:1 w:0)
// Storage: Nfts ItemConfigOf (r:1 w:1)
// Storage: Nfts Account (r:0 w:1)
// Storage: Nfts ItemPriceOf (r:0 w:1)
// Storage: Nfts ItemAttributesApprovalsOf (r:0 w:1)
// Storage: Nfts PendingSwapOf (r:0 w:1)
/// Storage: Nfts ItemConfigOf (r:1 w:1)
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
/// Storage: Nfts Collection (r:1 w:1)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts Item (r:1 w:1)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
/// Storage: Nfts ItemMetadataOf (r:1 w:0)
/// Proof: Nfts ItemMetadataOf (max_values: None, max_size: Some(219), added: 2694, mode: MaxEncodedLen)
/// Storage: Nfts Account (r:0 w:1)
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
/// Storage: Nfts ItemPriceOf (r:0 w:1)
/// Proof: Nfts ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
/// Storage: Nfts ItemAttributesApprovalsOf (r:0 w:1)
/// Proof: Nfts ItemAttributesApprovalsOf (max_values: None, max_size: Some(1001), added: 3476, mode: MaxEncodedLen)
/// Storage: Nfts PendingSwapOf (r:0 w:1)
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
fn burn() -> Weight {
// Minimum execution time: 49_000 nanoseconds.
Weight::from_ref_time(52_000_000)
.saturating_add(T::DbWeight::get().reads(4))
// Proof Size summary in bytes:
// Measured: `647`
// Estimated: `13652`
// Minimum execution time: 43_534 nanoseconds.
Weight::from_ref_time(43_846_000)
.saturating_add(Weight::from_proof_size(13652))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(7))
}
// Storage: Nfts Collection (r:1 w:0)
// Storage: Nfts CollectionConfigOf (r:1 w:0)
// Storage: Nfts ItemConfigOf (r:1 w:0)
// Storage: Nfts Item (r:1 w:1)
// Storage: Nfts CollectionRoleOf (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: Nfts Account (r:0 w:2)
// Storage: Nfts ItemPriceOf (r:0 w:1)
// Storage: Nfts PendingSwapOf (r:0 w:1)
/// Storage: Nfts Collection (r:1 w:0)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
/// Storage: Nfts ItemConfigOf (r:1 w:0)
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
/// Storage: Nfts Item (r:1 w:1)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Nfts Account (r:0 w:2)
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
/// Storage: Nfts ItemPriceOf (r:0 w:1)
/// Proof: Nfts ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
/// Storage: Nfts PendingSwapOf (r:0 w:1)
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
fn transfer() -> Weight {
// Minimum execution time: 55_000 nanoseconds.
Weight::from_ref_time(56_000_000)
// Proof Size summary in bytes:
// Measured: `811`
// Estimated: `16109`
// Minimum execution time: 49_184 nanoseconds.
Weight::from_ref_time(49_935_000)
.saturating_add(Weight::from_proof_size(16109))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Nfts Collection (r:1 w:0)
// Storage: Nfts CollectionConfigOf (r:1 w:0)
// Storage: Nfts Item (r:102 w:102)
/// Storage: Nfts Collection (r:1 w:0)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
/// Storage: Nfts Item (r:5000 w:5000)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
/// The range of component `i` is `[0, 5000]`.
fn redeposit(i: u32, ) -> Weight {
// Minimum execution time: 19_000 nanoseconds.
Weight::from_ref_time(20_000_000)
// Standard Error: 31_499
.saturating_add(Weight::from_ref_time(14_469_164).saturating_mul(i.into()))
// Proof Size summary in bytes:
// Measured: `756 + i * (140 ±0)`
// Estimated: `5103 + i * (3336 ±0)`
// Minimum execution time: 15_668 nanoseconds.
Weight::from_ref_time(15_762_000)
.saturating_add(Weight::from_proof_size(5103))
// Standard Error: 12_791
.saturating_add(Weight::from_ref_time(12_224_567).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
.saturating_add(Weight::from_proof_size(3336).saturating_mul(i.into()))
}
// Storage: Nfts CollectionRoleOf (r:1 w:0)
// Storage: Nfts ItemConfigOf (r:1 w:1)
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
/// Storage: Nfts ItemConfigOf (r:1 w:1)
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
fn lock_item_transfer() -> Weight {
// Minimum execution time: 22_000 nanoseconds.
Weight::from_ref_time(23_000_000)
// Proof Size summary in bytes:
// Measured: `401`
// Estimated: `5067`
// Minimum execution time: 18_861 nanoseconds.
Weight::from_ref_time(19_195_000)
.saturating_add(Weight::from_proof_size(5067))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Nfts CollectionRoleOf (r:1 w:0)
// Storage: Nfts ItemConfigOf (r:1 w:1)
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
/// Storage: Nfts ItemConfigOf (r:1 w:1)
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
fn unlock_item_transfer() -> Weight {
// Minimum execution time: 22_000 nanoseconds.
Weight::from_ref_time(22_000_000)
// Proof Size summary in bytes:
// Measured: `401`
// Estimated: `5067`
// Minimum execution time: 18_710 nanoseconds.
Weight::from_ref_time(18_971_000)
.saturating_add(Weight::from_proof_size(5067))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Nfts CollectionRoleOf (r:1 w:0)
// Storage: Nfts CollectionConfigOf (r:1 w:1)
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
/// Storage: Nfts CollectionConfigOf (r:1 w:1)
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
fn lock_collection() -> Weight {
// Minimum execution time: 20_000 nanoseconds.
Weight::from_ref_time(21_000_000)
// Proof Size summary in bytes:
// Measured: `289`
// Estimated: `5092`
// Minimum execution time: 17_067 nanoseconds.
Weight::from_ref_time(17_233_000)
.saturating_add(Weight::from_proof_size(5092))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Nfts OwnershipAcceptance (r:1 w:1)
// Storage: Nfts Collection (r:1 w:1)
// Storage: Nfts CollectionAccount (r:0 w:2)
/// Storage: Nfts OwnershipAcceptance (r:1 w:1)
/// Proof: Nfts OwnershipAcceptance (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
/// Storage: Nfts Collection (r:1 w:1)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts CollectionAccount (r:0 w:2)
/// Proof: Nfts CollectionAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
fn transfer_ownership() -> Weight {
// Minimum execution time: 25_000 nanoseconds.
Weight::from_ref_time(26_000_000)
// Proof Size summary in bytes:
// Measured: `381`
// Estimated: `5082`
// Minimum execution time: 21_203 nanoseconds.
Weight::from_ref_time(21_468_000)
.saturating_add(Weight::from_proof_size(5082))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Nfts Collection (r:1 w:1)
// Storage: Nfts CollectionRoleOf (r:0 w:4)
/// Storage: Nfts Collection (r:1 w:1)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts CollectionRoleOf (r:0 w:4)
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
fn set_team() -> Weight {
// Minimum execution time: 27_000 nanoseconds.
Weight::from_ref_time(28_000_000)
// Proof Size summary in bytes:
// Measured: `362`
// Estimated: `2555`
// Minimum execution time: 24_304 nanoseconds.
Weight::from_ref_time(24_823_000)
.saturating_add(Weight::from_proof_size(2555))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Nfts Collection (r:1 w:1)
// Storage: Nfts CollectionAccount (r:0 w:2)
/// Storage: Nfts Collection (r:1 w:1)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts CollectionAccount (r:0 w:2)
/// Proof: Nfts CollectionAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
fn force_collection_owner() -> Weight {
// Minimum execution time: 20_000 nanoseconds.
Weight::from_ref_time(21_000_000)
// Proof Size summary in bytes:
// Measured: `304`
// Estimated: `2555`
// Minimum execution time: 17_173 nanoseconds.
Weight::from_ref_time(17_448_000)
.saturating_add(Weight::from_proof_size(2555))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Nfts Collection (r:1 w:0)
// Storage: Nfts CollectionConfigOf (r:0 w:1)
/// Storage: Nfts Collection (r:1 w:0)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts CollectionConfigOf (r:0 w:1)
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
fn force_collection_config() -> Weight {
// Minimum execution time: 17_000 nanoseconds.
Weight::from_ref_time(18_000_000)
// Proof Size summary in bytes:
// Measured: `242`
// Estimated: `2555`
// Minimum execution time: 13_697 nanoseconds.
Weight::from_ref_time(13_924_000)
.saturating_add(Weight::from_proof_size(2555))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Nfts Collection (r:1 w:0)
// Storage: Nfts ItemConfigOf (r:1 w:1)
/// Storage: Nfts Collection (r:1 w:0)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts ItemConfigOf (r:1 w:1)
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
fn lock_item_properties() -> Weight {
// Minimum execution time: 20_000 nanoseconds.
Weight::from_ref_time(22_000_000)
// Proof Size summary in bytes:
// Measured: `445`
// Estimated: `5078`
// Minimum execution time: 18_063 nanoseconds.
Weight::from_ref_time(18_438_000)
.saturating_add(Weight::from_proof_size(5078))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Nfts Collection (r:1 w:1)
// Storage: Nfts CollectionConfigOf (r:1 w:0)
// Storage: Nfts ItemConfigOf (r:1 w:0)
// Storage: Nfts Attribute (r:1 w:1)
/// Storage: Nfts Collection (r:1 w:1)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
/// Storage: Nfts ItemConfigOf (r:1 w:0)
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
/// Storage: Nfts Attribute (r:1 w:1)
/// Proof: Nfts Attribute (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen)
fn set_attribute() -> Weight {
// Minimum execution time: 45_000 nanoseconds.
Weight::from_ref_time(46_000_000)
// Proof Size summary in bytes:
// Measured: `474`
// Estimated: `10355`
// Minimum execution time: 37_582 nanoseconds.
Weight::from_ref_time(38_155_000)
.saturating_add(Weight::from_proof_size(10355))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Nfts Collection (r:1 w:1)
// Storage: Nfts Attribute (r:1 w:1)
/// Storage: Nfts Collection (r:1 w:1)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts Attribute (r:1 w:1)
/// Proof: Nfts Attribute (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen)
fn force_set_attribute() -> Weight {
// Minimum execution time: 27_000 nanoseconds.
Weight::from_ref_time(28_000_000)
// Proof Size summary in bytes:
// Measured: `337`
// Estimated: `5284`
// Minimum execution time: 24_392 nanoseconds.
Weight::from_ref_time(24_787_000)
.saturating_add(Weight::from_proof_size(5284))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Nfts Attribute (r:1 w:1)
// Storage: Nfts Collection (r:1 w:1)
// Storage: Nfts ItemConfigOf (r:1 w:0)
/// Storage: Nfts Attribute (r:1 w:1)
/// Proof: Nfts Attribute (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen)
/// Storage: Nfts Collection (r:1 w:1)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts ItemConfigOf (r:1 w:0)
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
fn clear_attribute() -> Weight {
// Minimum execution time: 40_000 nanoseconds.
Weight::from_ref_time(42_000_000)
// Proof Size summary in bytes:
// Measured: `724`
// Estimated: `7807`
// Minimum execution time: 34_564 nanoseconds.
Weight::from_ref_time(34_956_000)
.saturating_add(Weight::from_proof_size(7807))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Nfts Item (r:1 w:0)
// Storage: Nfts ItemAttributesApprovalsOf (r:1 w:1)
/// Storage: Nfts Item (r:1 w:0)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
/// Storage: Nfts ItemAttributesApprovalsOf (r:1 w:1)
/// Proof: Nfts ItemAttributesApprovalsOf (max_values: None, max_size: Some(1001), added: 3476, mode: MaxEncodedLen)
fn approve_item_attributes() -> Weight {
// Minimum execution time: 21_000 nanoseconds.
Weight::from_ref_time(21_000_000)
// Proof Size summary in bytes:
// Measured: `379`
// Estimated: `6812`
// Minimum execution time: 17_194 nanoseconds.
Weight::from_ref_time(17_467_000)
.saturating_add(Weight::from_proof_size(6812))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Nfts Item (r:1 w:0)
// Storage: Nfts ItemAttributesApprovalsOf (r:1 w:1)
// Storage: Nfts Attribute (r:1 w:0)
// Storage: System Account (r:1 w:1)
/// Storage: Nfts Item (r:1 w:0)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
/// Storage: Nfts ItemAttributesApprovalsOf (r:1 w:1)
/// Proof: Nfts ItemAttributesApprovalsOf (max_values: None, max_size: Some(1001), added: 3476, mode: MaxEncodedLen)
/// Storage: Nfts Attribute (r:1001 w:1000)
/// Proof: Nfts Attribute (max_values: None, max_size: Some(254), added: 2729, 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 `n` is `[0, 1000]`.
fn cancel_item_attributes_approval(n: u32, ) -> Weight {
// Minimum execution time: 28_000 nanoseconds.
Weight::from_ref_time(29_000_000)
// Standard Error: 28_180
.saturating_add(Weight::from_ref_time(8_101_928).saturating_mul(n.into()))
// Proof Size summary in bytes:
// Measured: `828 + n * (204 ±0)`
// Estimated: `12144 + n * (2729 ±0)`
// Minimum execution time: 25_617 nanoseconds.
Weight::from_ref_time(25_917_000)
.saturating_add(Weight::from_proof_size(12144))
// Standard Error: 5_524
.saturating_add(Weight::from_ref_time(7_538_893).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
.saturating_add(Weight::from_proof_size(2729).saturating_mul(n.into()))
}
// Storage: Nfts Collection (r:1 w:1)
// Storage: Nfts ItemConfigOf (r:1 w:0)
// Storage: Nfts CollectionConfigOf (r:1 w:0)
// Storage: Nfts ItemMetadataOf (r:1 w:1)
/// Storage: Nfts Collection (r:1 w:1)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts ItemConfigOf (r:1 w:0)
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
/// Storage: Nfts ItemMetadataOf (r:1 w:1)
/// Proof: Nfts ItemMetadataOf (max_values: None, max_size: Some(219), added: 2694, mode: MaxEncodedLen)
fn set_metadata() -> Weight {
// Minimum execution time: 39_000 nanoseconds.
Weight::from_ref_time(40_000_000)
// Proof Size summary in bytes:
// Measured: `474`
// Estimated: `10320`
// Minimum execution time: 32_053 nanoseconds.
Weight::from_ref_time(32_510_000)
.saturating_add(Weight::from_proof_size(10320))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Nfts Collection (r:1 w:1)
// Storage: Nfts ItemConfigOf (r:1 w:0)
// Storage: Nfts ItemMetadataOf (r:1 w:1)
/// Storage: Nfts ItemMetadataOf (r:1 w:1)
/// Proof: Nfts ItemMetadataOf (max_values: None, max_size: Some(219), added: 2694, mode: MaxEncodedLen)
/// Storage: Nfts Collection (r:1 w:1)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts ItemConfigOf (r:1 w:0)
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
fn clear_metadata() -> Weight {
// Minimum execution time: 37_000 nanoseconds.
Weight::from_ref_time(38_000_000)
// Proof Size summary in bytes:
// Measured: `688`
// Estimated: `7772`
// Minimum execution time: 30_654 nanoseconds.
Weight::from_ref_time(31_113_000)
.saturating_add(Weight::from_proof_size(7772))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Nfts CollectionConfigOf (r:1 w:0)
// Storage: Nfts Collection (r:1 w:1)
// Storage: Nfts CollectionMetadataOf (r:1 w:1)
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
/// Storage: Nfts Collection (r:1 w:1)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts CollectionMetadataOf (r:1 w:1)
/// Proof: Nfts CollectionMetadataOf (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen)
fn set_collection_metadata() -> Weight {
// Minimum execution time: 34_000 nanoseconds.
Weight::from_ref_time(36_000_000)
// Proof Size summary in bytes:
// Measured: `333`
// Estimated: `7744`
// Minimum execution time: 27_700 nanoseconds.
Weight::from_ref_time(28_291_000)
.saturating_add(Weight::from_proof_size(7744))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Nfts Collection (r:1 w:0)
// Storage: Nfts CollectionConfigOf (r:1 w:0)
// Storage: Nfts CollectionMetadataOf (r:1 w:1)
/// Storage: Nfts Collection (r:1 w:0)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
/// Storage: Nfts CollectionMetadataOf (r:1 w:1)
/// Proof: Nfts CollectionMetadataOf (max_values: None, max_size: Some(166), added: 2641, mode: MaxEncodedLen)
fn clear_collection_metadata() -> Weight {
// Minimum execution time: 34_000 nanoseconds.
Weight::from_ref_time(36_000_000)
// Proof Size summary in bytes:
// Measured: `555`
// Estimated: `7744`
// Minimum execution time: 27_483 nanoseconds.
Weight::from_ref_time(27_830_000)
.saturating_add(Weight::from_proof_size(7744))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Nfts Item (r:1 w:1)
// Storage: Nfts CollectionConfigOf (r:1 w:0)
// Storage: Nfts CollectionRoleOf (r:1 w:0)
/// Storage: Nfts Item (r:1 w:1)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
fn approve_transfer() -> Weight {
// Minimum execution time: 26_000 nanoseconds.
Weight::from_ref_time(27_000_000)
// Proof Size summary in bytes:
// Measured: `466`
// Estimated: `8428`
// Minimum execution time: 23_623 nanoseconds.
Weight::from_ref_time(24_282_000)
.saturating_add(Weight::from_proof_size(8428))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Nfts Item (r:1 w:1)
// Storage: Nfts CollectionRoleOf (r:1 w:0)
/// Storage: Nfts Item (r:1 w:1)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
fn cancel_approval() -> Weight {
// Minimum execution time: 24_000 nanoseconds.
Weight::from_ref_time(25_000_000)
// Proof Size summary in bytes:
// Measured: `474`
// Estimated: `5880`
// Minimum execution time: 21_115 nanoseconds.
Weight::from_ref_time(22_036_000)
.saturating_add(Weight::from_proof_size(5880))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Nfts Item (r:1 w:1)
// Storage: Nfts CollectionRoleOf (r:1 w:0)
/// Storage: Nfts Item (r:1 w:1)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
fn clear_all_transfer_approvals() -> Weight {
// Minimum execution time: 24_000 nanoseconds.
Weight::from_ref_time(25_000_000)
// Proof Size summary in bytes:
// Measured: `474`
// Estimated: `5880`
// Minimum execution time: 20_352 nanoseconds.
Weight::from_ref_time(20_627_000)
.saturating_add(Weight::from_proof_size(5880))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Nfts OwnershipAcceptance (r:1 w:1)
/// Storage: Nfts OwnershipAcceptance (r:1 w:1)
/// Proof: Nfts OwnershipAcceptance (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
fn set_accept_ownership() -> Weight {
// Minimum execution time: 20_000 nanoseconds.
Weight::from_ref_time(22_000_000)
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `2527`
// Minimum execution time: 14_427 nanoseconds.
Weight::from_ref_time(15_169_000)
.saturating_add(Weight::from_proof_size(2527))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Nfts CollectionConfigOf (r:1 w:1)
// Storage: Nfts Collection (r:1 w:0)
/// Storage: Nfts CollectionConfigOf (r:1 w:1)
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
/// Storage: Nfts Collection (r:1 w:0)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
fn set_collection_max_supply() -> Weight {
// Minimum execution time: 22_000 nanoseconds.
Weight::from_ref_time(23_000_000)
// Proof Size summary in bytes:
// Measured: `333`
// Estimated: `5103`
// Minimum execution time: 18_049 nanoseconds.
Weight::from_ref_time(18_431_000)
.saturating_add(Weight::from_proof_size(5103))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Nfts Collection (r:1 w:0)
// Storage: Nfts CollectionConfigOf (r:1 w:1)
/// Storage: Nfts Collection (r:1 w:0)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts CollectionConfigOf (r:1 w:1)
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
fn update_mint_settings() -> Weight {
// Minimum execution time: 20_000 nanoseconds.
Weight::from_ref_time(21_000_000)
// Proof Size summary in bytes:
// Measured: `333`
// Estimated: `5103`
// Minimum execution time: 17_166 nanoseconds.
Weight::from_ref_time(17_511_000)
.saturating_add(Weight::from_proof_size(5103))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Nfts Item (r:1 w:0)
// Storage: Nfts CollectionConfigOf (r:1 w:0)
// Storage: Nfts ItemConfigOf (r:1 w:0)
// Storage: Nfts ItemPriceOf (r:0 w:1)
/// Storage: Nfts Item (r:1 w:0)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
/// Storage: Nfts ItemConfigOf (r:1 w:0)
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
/// Storage: Nfts ItemPriceOf (r:0 w:1)
/// Proof: Nfts ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
fn set_price() -> Weight {
// Minimum execution time: 25_000 nanoseconds.
Weight::from_ref_time(26_000_000)
// Proof Size summary in bytes:
// Measured: `516`
// Estimated: `8407`
// Minimum execution time: 22_556 nanoseconds.
Weight::from_ref_time(22_839_000)
.saturating_add(Weight::from_proof_size(8407))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Nfts Item (r:1 w:1)
// Storage: Nfts ItemPriceOf (r:1 w:1)
// Storage: Nfts Collection (r:1 w:0)
// Storage: Nfts CollectionConfigOf (r:1 w:0)
// Storage: Nfts ItemConfigOf (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: Nfts Account (r:0 w:2)
// Storage: Nfts PendingSwapOf (r:0 w:1)
/// Storage: Nfts Item (r:1 w:1)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
/// Storage: Nfts ItemPriceOf (r:1 w:1)
/// Proof: Nfts ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
/// Storage: Nfts Collection (r:1 w:0)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
/// Storage: Nfts ItemConfigOf (r:1 w:0)
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Nfts Account (r:0 w:2)
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
/// Storage: Nfts PendingSwapOf (r:0 w:1)
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
fn buy_item() -> Weight {
// Minimum execution time: 60_000 nanoseconds.
Weight::from_ref_time(62_000_000)
// Proof Size summary in bytes:
// Measured: `897`
// Estimated: `16129`
// Minimum execution time: 53_554 nanoseconds.
Weight::from_ref_time(54_285_000)
.saturating_add(Weight::from_proof_size(16129))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
}
/// The range of component `n` is `[0, 10]`.
fn pay_tips(n: u32, ) -> Weight {
// Minimum execution time: 3_000 nanoseconds.
Weight::from_ref_time(7_424_228)
// Standard Error: 21_679
.saturating_add(Weight::from_ref_time(4_176_055).saturating_mul(n.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_031 nanoseconds.
Weight::from_ref_time(3_579_973)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 8_727
.saturating_add(Weight::from_ref_time(3_165_511).saturating_mul(n.into()))
}
// Storage: Nfts Item (r:2 w:0)
// Storage: Nfts PendingSwapOf (r:0 w:1)
/// Storage: Nfts Item (r:2 w:0)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
/// Storage: Nfts PendingSwapOf (r:0 w:1)
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
fn create_swap() -> Weight {
// Minimum execution time: 23_000 nanoseconds.
Weight::from_ref_time(24_000_000)
// Proof Size summary in bytes:
// Measured: `524`
// Estimated: `6672`
// Minimum execution time: 20_161 nanoseconds.
Weight::from_ref_time(20_487_000)
.saturating_add(Weight::from_proof_size(6672))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Nfts PendingSwapOf (r:1 w:1)
// Storage: Nfts Item (r:1 w:0)
/// Storage: Nfts PendingSwapOf (r:1 w:1)
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
/// Storage: Nfts Item (r:1 w:0)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
fn cancel_swap() -> Weight {
// Minimum execution time: 26_000 nanoseconds.
Weight::from_ref_time(27_000_000)
// Proof Size summary in bytes:
// Measured: `511`
// Estimated: `5882`
// Minimum execution time: 19_470 nanoseconds.
Weight::from_ref_time(19_832_000)
.saturating_add(Weight::from_proof_size(5882))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Nfts Item (r:2 w:2)
// Storage: Nfts PendingSwapOf (r:1 w:2)
// Storage: Nfts Collection (r:1 w:0)
// Storage: Nfts CollectionConfigOf (r:1 w:0)
// Storage: Nfts ItemConfigOf (r:2 w:0)
// Storage: System Account (r:1 w:1)
// Storage: Nfts Account (r:0 w:4)
// Storage: Nfts ItemPriceOf (r:0 w:2)
/// Storage: Nfts Item (r:2 w:2)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
/// Storage: Nfts PendingSwapOf (r:1 w:2)
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
/// Storage: Nfts Collection (r:1 w:0)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
/// Storage: Nfts ItemConfigOf (r:2 w:0)
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Nfts Account (r:0 w:4)
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
/// Storage: Nfts ItemPriceOf (r:0 w:2)
/// Proof: Nfts ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
fn claim_swap() -> Weight {
// Minimum execution time: 87_000 nanoseconds.
Weight::from_ref_time(90_000_000)
// Proof Size summary in bytes:
// Measured: `1026`
// Estimated: `21970`
// Minimum execution time: 78_114 nanoseconds.
Weight::from_ref_time(79_459_000)
.saturating_add(Weight::from_proof_size(21970))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(11))
}
@@ -434,25 +721,26 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Nfts Attribute (r:10 w:10)
/// Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, mode: MaxEncodedLen)
/// Proof: Nfts Attribute (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen)
/// Storage: Nfts ItemMetadataOf (r:1 w:1)
/// Proof: Nfts ItemMetadataOf (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
/// Proof: Nfts ItemMetadataOf (max_values: None, max_size: Some(219), added: 2694, mode: MaxEncodedLen)
/// Storage: Nfts Account (r:0 w:1)
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
/// The range of component `n` is `[0, 10]`.
fn mint_pre_signed(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `596`
// Estimated: `16180 + n * (2921 ±0)`
// Minimum execution time: 124_354 nanoseconds.
Weight::from_parts(133_779_491, 16180)
// Standard Error: 38_452
.saturating_add(Weight::from_ref_time(25_110_697).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(6_u64))
// Measured: `525`
// Estimated: `16259 + n * (2729 ±0)`
// Minimum execution time: 108_373 nanoseconds.
Weight::from_ref_time(112_094_892)
.saturating_add(Weight::from_proof_size(16259))
// Standard Error: 27_186
.saturating_add(Weight::from_ref_time(20_710_983).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(6_u64))
.saturating_add(T::DbWeight::get().writes(6))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
.saturating_add(Weight::from_proof_size(2921).saturating_mul(n.into()))
.saturating_add(Weight::from_proof_size(2729).saturating_mul(n.into()))
}
/// Storage: Nfts Item (r:1 w:0)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
@@ -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("westmint-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,119 +47,174 @@ 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_824 nanoseconds.
Weight::from_ref_time(23_388_445)
// Standard Error: 4_840
.saturating_add(Weight::from_ref_time(36_180).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 14_854 nanoseconds.
Weight::from_ref_time(15_600_203)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_181
.saturating_add(Weight::from_ref_time(28_891).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_846 nanoseconds.
Weight::from_ref_time(42_912_891)
// Standard Error: 7_750
.saturating_add(Weight::from_ref_time(155_333).saturating_mul(a.into()))
// Standard Error: 8_007
.saturating_add(Weight::from_ref_time(58_122).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `550 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `11027`
// Minimum execution time: 32_063 nanoseconds.
Weight::from_ref_time(32_624_200)
.saturating_add(Weight::from_proof_size(11027))
// Standard Error: 1_727
.saturating_add(Weight::from_ref_time(113_689).saturating_mul(a.into()))
// Standard Error: 1_785
.saturating_add(Weight::from_ref_time(29_618).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: 28_285 nanoseconds.
Weight::from_ref_time(31_684_355)
// Standard Error: 5_548
.saturating_add(Weight::from_ref_time(104_235).saturating_mul(a.into()))
// Standard Error: 5_732
.saturating_add(Weight::from_ref_time(1_643).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `433 + a * (68 ±0)`
// Estimated: `7311`
// Minimum execution time: 20_449 nanoseconds.
Weight::from_ref_time(21_345_957)
.saturating_add(Weight::from_proof_size(7311))
// Standard Error: 1_390
.saturating_add(Weight::from_ref_time(105_313).saturating_mul(a.into()))
// Standard Error: 1_436
.saturating_add(Weight::from_ref_time(9_437).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: 28_112 nanoseconds.
Weight::from_ref_time(31_257_196)
// Standard Error: 5_788
.saturating_add(Weight::from_ref_time(110_430).saturating_mul(a.into()))
// Standard Error: 5_980
.saturating_add(Weight::from_ref_time(12_700).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `433 + a * (68 ±0)`
// Estimated: `7311`
// Minimum execution time: 20_423 nanoseconds.
Weight::from_ref_time(21_290_701)
.saturating_add(Weight::from_proof_size(7311))
// Standard Error: 1_398
.saturating_add(Weight::from_ref_time(110_034).saturating_mul(a.into()))
// Standard Error: 1_444
.saturating_add(Weight::from_ref_time(9_968).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: 37_947 nanoseconds.
Weight::from_ref_time(40_424_751)
// Standard Error: 6_592
.saturating_add(Weight::from_ref_time(115_919).saturating_mul(a.into()))
// Standard Error: 6_811
.saturating_add(Weight::from_ref_time(37_999).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `482 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `11027`
// Minimum execution time: 28_014 nanoseconds.
Weight::from_ref_time(28_864_371)
.saturating_add(Weight::from_proof_size(11027))
// Standard Error: 1_933
.saturating_add(Weight::from_ref_time(109_536).saturating_mul(a.into()))
// Standard Error: 1_998
.saturating_add(Weight::from_ref_time(43_779).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: 30_343 nanoseconds.
Weight::from_ref_time(33_272_330)
// Standard Error: 5_220
.saturating_add(Weight::from_ref_time(68_430).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 21_285 nanoseconds.
Weight::from_ref_time(22_065_300)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_703
.saturating_add(Weight::from_ref_time(42_186).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: 30_469 nanoseconds.
Weight::from_ref_time(33_147_571)
// Standard Error: 5_971
.saturating_add(Weight::from_ref_time(74_276).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 20_992 nanoseconds.
Weight::from_ref_time(22_026_633)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_663
.saturating_add(Weight::from_ref_time(60_910).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: 26_413 nanoseconds.
Weight::from_ref_time(28_654_279)
// Standard Error: 6_196
.saturating_add(Weight::from_ref_time(72_944).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 16_755 nanoseconds.
Weight::from_ref_time(17_775_492)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_281
.saturating_add(Weight::from_ref_time(28_738).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: 33_050 nanoseconds.
Weight::from_ref_time(37_011_858)
.saturating_add(T::DbWeight::get().reads(2))
// Proof Size summary in bytes:
// Measured: `139`
// Estimated: `3716`
// Minimum execution time: 22_598 nanoseconds.
Weight::from_ref_time(23_639_320)
.saturating_add(Weight::from_proof_size(3716))
.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: 27_594 nanoseconds.
Weight::from_ref_time(30_339_039)
// Standard Error: 5_854
.saturating_add(Weight::from_ref_time(29_216).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `196 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 17_907 nanoseconds.
Weight::from_ref_time(18_737_185)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_069
.saturating_add(Weight::from_ref_time(26_491).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("westmint-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: 23_656 nanoseconds.
Weight::from_ref_time(24_691_000)
// Proof Size summary in bytes:
// Measured: `270`
// Estimated: `5490`
// Minimum execution time: 15_416 nanoseconds.
Weight::from_ref_time(15_764_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: 19_377 nanoseconds.
Weight::from_ref_time(20_527_000)
// Proof Size summary in bytes:
// Measured: `242`
// Estimated: `2959`
// Minimum execution time: 11_720 nanoseconds.
Weight::from_ref_time(12_152_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("westmint-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: 10_135 nanoseconds.
Weight::from_ref_time(10_856_000)
// Proof Size summary in bytes:
// Measured: `86`
// Estimated: `1006`
// Minimum execution time: 8_384 nanoseconds.
Weight::from_ref_time(8_706_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_934 nanoseconds.
Weight::from_ref_time(4_156_000)
// Proof Size summary in bytes:
// Measured: `57`
// Estimated: `0`
// Minimum execution time: 3_110 nanoseconds.
Weight::from_ref_time(3_206_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("westmint-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,240 +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: 31_545 nanoseconds.
Weight::from_ref_time(32_847_000)
// Proof Size summary in bytes:
// Measured: `177`
// Estimated: `2653`
// Minimum execution time: 23_302 nanoseconds.
Weight::from_ref_time(23_817_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_268 nanoseconds.
Weight::from_ref_time(21_052_000)
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `2653`
// Minimum execution time: 12_529 nanoseconds.
Weight::from_ref_time(13_079_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: 3_181_784 nanoseconds.
Weight::from_ref_time(3_263_063_000)
// Standard Error: 52_843
.saturating_add(Weight::from_ref_time(9_291_988).saturating_mul(n.into()))
// Standard Error: 52_843
.saturating_add(Weight::from_ref_time(1_821_907).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_305_045 nanoseconds.
Weight::from_ref_time(2_312_341_000)
.saturating_add(Weight::from_proof_size(5250))
// Standard Error: 26_047
.saturating_add(Weight::from_ref_time(8_440_544).saturating_mul(n.into()))
// Standard Error: 26_047
.saturating_add(Weight::from_ref_time(223_194).saturating_mul(m.into()))
// Standard Error: 26_047
.saturating_add(Weight::from_ref_time(313_891).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_361 nanoseconds.
Weight::from_ref_time(39_665_000)
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `7749`
// Minimum execution time: 28_581 nanoseconds.
Weight::from_ref_time(29_011_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_530 nanoseconds.
Weight::from_ref_time(41_467_000)
// Proof Size summary in bytes:
// Measured: `492`
// Estimated: `5250`
// Minimum execution time: 29_869 nanoseconds.
Weight::from_ref_time(30_206_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: 30_538 nanoseconds.
Weight::from_ref_time(31_601_000)
// Proof Size summary in bytes:
// Measured: `492`
// Estimated: `5250`
// Minimum execution time: 23_945 nanoseconds.
Weight::from_ref_time(24_259_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: 19_630 nanoseconds.
Weight::from_ref_time(19_983_000)
// Standard Error: 16_378
.saturating_add(Weight::from_ref_time(12_854_319).saturating_mul(i.into()))
// Proof Size summary in bytes:
// Measured: `770 + i * (108 ±0)`
// Estimated: `2653 + i * (2597 ±0)`
// Minimum execution time: 13_847 nanoseconds.
Weight::from_ref_time(14_105_000)
.saturating_add(Weight::from_proof_size(2653))
// Standard Error: 12_887
.saturating_add(Weight::from_ref_time(12_017_604).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_487 nanoseconds.
Weight::from_ref_time(24_339_000)
// Proof Size summary in bytes:
// Measured: `492`
// Estimated: `5250`
// Minimum execution time: 17_259 nanoseconds.
Weight::from_ref_time(17_731_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_348 nanoseconds.
Weight::from_ref_time(24_025_000)
// Proof Size summary in bytes:
// Measured: `492`
// Estimated: `5250`
// Minimum execution time: 16_951 nanoseconds.
Weight::from_ref_time(17_177_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: 18_820 nanoseconds.
Weight::from_ref_time(19_440_000)
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `2653`
// Minimum execution time: 12_733 nanoseconds.
Weight::from_ref_time(13_154_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: 18_689 nanoseconds.
Weight::from_ref_time(19_523_000)
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `2653`
// Minimum execution time: 12_624 nanoseconds.
Weight::from_ref_time(12_887_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_486 nanoseconds.
Weight::from_ref_time(27_557_000)
// Proof Size summary in bytes:
// Measured: `388`
// Estimated: `5180`
// Minimum execution time: 20_089 nanoseconds.
Weight::from_ref_time(20_583_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_244 nanoseconds.
Weight::from_ref_time(19_802_000)
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `2653`
// Minimum execution time: 13_647 nanoseconds.
Weight::from_ref_time(13_894_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: 21_746 nanoseconds.
Weight::from_ref_time(23_012_000)
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `2653`
// Minimum execution time: 16_035 nanoseconds.
Weight::from_ref_time(16_232_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_625 nanoseconds.
Weight::from_ref_time(45_781_000)
// Proof Size summary in bytes:
// Measured: `623`
// Estimated: `7962`
// Minimum execution time: 33_357 nanoseconds.
Weight::from_ref_time(34_794_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: 42_627 nanoseconds.
Weight::from_ref_time(44_182_000)
// Proof Size summary in bytes:
// Measured: `851`
// Estimated: `7962`
// Minimum execution time: 32_496 nanoseconds.
Weight::from_ref_time(33_068_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_048 nanoseconds.
Weight::from_ref_time(36_235_000)
// Proof Size summary in bytes:
// Measured: `380`
// Estimated: `5315`
// Minimum execution time: 25_557 nanoseconds.
Weight::from_ref_time(25_923_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_941 nanoseconds.
Weight::from_ref_time(37_566_000)
// Proof Size summary in bytes:
// Measured: `623`
// Estimated: `5315`
// Minimum execution time: 26_147 nanoseconds.
Weight::from_ref_time(26_386_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_684 nanoseconds.
Weight::from_ref_time(35_567_000)
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `5295`
// Minimum execution time: 25_233 nanoseconds.
Weight::from_ref_time(25_665_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_941 nanoseconds.
Weight::from_ref_time(34_608_000)
// Proof Size summary in bytes:
// Measured: `537`
// Estimated: `5295`
// Minimum execution time: 24_311 nanoseconds.
Weight::from_ref_time(24_544_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_003 nanoseconds.
Weight::from_ref_time(25_565_000)
// Proof Size summary in bytes:
// Measured: `492`
// Estimated: `5250`
// Minimum execution time: 18_197 nanoseconds.
Weight::from_ref_time(18_442_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_048 nanoseconds.
Weight::from_ref_time(25_405_000)
// Proof Size summary in bytes:
// Measured: `525`
// Estimated: `5250`
// Minimum execution time: 18_606 nanoseconds.
Weight::from_ref_time(19_032_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_876 nanoseconds.
Weight::from_ref_time(23_841_000)
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `2527`
// Minimum execution time: 14_902 nanoseconds.
Weight::from_ref_time(15_216_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: 21_291 nanoseconds.
Weight::from_ref_time(21_935_000)
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `5152`
// Minimum execution time: 15_771 nanoseconds.
Weight::from_ref_time(16_013_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_637 nanoseconds.
Weight::from_ref_time(22_370_000)
// Proof Size summary in bytes:
// Measured: `291`
// Estimated: `2597`
// Minimum execution time: 15_703 nanoseconds.
Weight::from_ref_time(15_905_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_671 nanoseconds.
Weight::from_ref_time(43_220_000)
// Proof Size summary in bytes:
// Measured: `636`
// Estimated: `7814`
// Minimum execution time: 33_712 nanoseconds.
Weight::from_ref_time(34_365_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("westmint-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: 14_215 nanoseconds.
Weight::from_ref_time(22_724_063)
// Standard Error: 7_906
.saturating_add(Weight::from_ref_time(4_496_582).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_171 nanoseconds.
Weight::from_ref_time(14_264_475)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 3_826
.saturating_add(Weight::from_ref_time(4_102_412).saturating_mul(c.into()))
}
fn as_derivative() -> Weight {
// Minimum execution time: 7_110 nanoseconds.
Weight::from_ref_time(7_386_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 4_750 nanoseconds.
Weight::from_ref_time(4_872_000)
.saturating_add(Weight::from_proof_size(0))
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
// Minimum execution time: 13_043 nanoseconds.
Weight::from_ref_time(31_868_480)
// Standard Error: 8_254
.saturating_add(Weight::from_ref_time(4_663_879).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_448 nanoseconds.
Weight::from_ref_time(20_274_161)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 4_587
.saturating_add(Weight::from_ref_time(4_321_327).saturating_mul(c.into()))
}
fn dispatch_as() -> Weight {
// Minimum execution time: 15_483 nanoseconds.
Weight::from_ref_time(16_088_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_092 nanoseconds.
Weight::from_ref_time(8_417_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: 14_074 nanoseconds.
Weight::from_ref_time(21_194_149)
// Standard Error: 7_967
.saturating_add(Weight::from_ref_time(4_509_461).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_410 nanoseconds.
Weight::from_ref_time(19_538_670)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 4_387
.saturating_add(Weight::from_ref_time(4_098_456).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("westmint-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=westmint-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=westmint-dev
// --extrinsic=*
// --steps=50
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/assets/westmint/src/weights/
// --output=./parachains/runtimes/assets/westmint/src/weights/pallet_xcm.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -47,126 +47,227 @@ 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_623 nanoseconds.
Weight::from_ref_time(28_375_000)
// Proof Size summary in bytes:
// Measured: `75`
// Estimated: `4830`
// Minimum execution time: 26_692 nanoseconds.
Weight::from_ref_time(27_382_000)
.saturating_add(Weight::from_proof_size(4830))
.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_363 nanoseconds.
Weight::from_ref_time(33_942_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `499`
// Minimum execution time: 22_056 nanoseconds.
Weight::from_ref_time(22_401_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: 25_113 nanoseconds.
Weight::from_ref_time(25_549_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `499`
// Minimum execution time: 16_901 nanoseconds.
Weight::from_ref_time(17_262_000)
.saturating_add(Weight::from_proof_size(499))
.saturating_add(T::DbWeight::get().reads(1))
}
fn execute() -> Weight {
// Minimum execution time: 15_464 nanoseconds.
Weight::from_ref_time(15_772_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_467 nanoseconds.
Weight::from_ref_time(8_708_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_375 nanoseconds.
Weight::from_ref_time(15_631_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_532 nanoseconds.
Weight::from_ref_time(8_766_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_575 nanoseconds.
Weight::from_ref_time(4_708_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_399 nanoseconds.
Weight::from_ref_time(2_586_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_521 nanoseconds.
Weight::from_ref_time(32_350_000)
// Proof Size summary in bytes:
// Measured: `75`
// Estimated: `8025`
// Minimum execution time: 30_956 nanoseconds.
Weight::from_ref_time(31_602_000)
.saturating_add(Weight::from_proof_size(8025))
.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_589 nanoseconds.
Weight::from_ref_time(33_282_000)
// Proof Size summary in bytes:
// Measured: `257`
// Estimated: `8729`
// Minimum execution time: 33_283 nanoseconds.
Weight::from_ref_time(34_433_000)
.saturating_add(Weight::from_proof_size(8729))
.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_642 nanoseconds.
Weight::from_ref_time(13_969_000)
// Proof Size summary in bytes:
// Measured: `129`
// Estimated: `10029`
// Minimum execution time: 17_349 nanoseconds.
Weight::from_ref_time(18_701_000)
.saturating_add(Weight::from_proof_size(10029))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: PolkadotXcm VersionNotifiers (r:4 w:2)
/// Storage: PolkadotXcm VersionNotifiers (r:4 w:2)
/// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured)
fn migrate_version_notifiers() -> Weight {
// Minimum execution time: 13_569 nanoseconds.
Weight::from_ref_time(14_168_000)
// Proof Size summary in bytes:
// Measured: `133`
// Estimated: `10033`
// Minimum execution time: 18_574 nanoseconds.
Weight::from_ref_time(19_071_000)
.saturating_add(Weight::from_proof_size(10033))
.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_406 nanoseconds.
Weight::from_ref_time(15_731_000)
// Proof Size summary in bytes:
// Measured: `140`
// Estimated: `12515`
// Minimum execution time: 22_520 nanoseconds.
Weight::from_ref_time(23_083_000)
.saturating_add(Weight::from_proof_size(12515))
.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_357 nanoseconds.
Weight::from_ref_time(27_804_000)
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `10257`
// Minimum execution time: 39_510 nanoseconds.
Weight::from_ref_time(40_272_000)
.saturating_add(Weight::from_proof_size(10257))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: PolkadotXcm VersionNotifyTargets (r:3 w:0)
/// Storage: PolkadotXcm VersionNotifyTargets (r:3 w:0)
/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
fn notify_target_migration_fail() -> Weight {
// Minimum execution time: 6_940 nanoseconds.
Weight::from_ref_time(7_147_000)
// Proof Size summary in bytes:
// Measured: `172`
// Estimated: `7597`
// Minimum execution time: 11_057 nanoseconds.
Weight::from_ref_time(11_408_000)
.saturating_add(Weight::from_proof_size(7597))
.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_204 nanoseconds.
Weight::from_ref_time(14_529_000)
// Proof Size summary in bytes:
// Measured: `140`
// Estimated: `10040`
// Minimum execution time: 22_914 nanoseconds.
Weight::from_ref_time(23_231_000)
.saturating_add(Weight::from_proof_size(10040))
.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: 32_809 nanoseconds.
Weight::from_ref_time(33_346_000)
// Proof Size summary in bytes:
// Measured: `146`
// Estimated: `15231`
// Minimum execution time: 47_637 nanoseconds.
Weight::from_ref_time(48_179_000)
.saturating_add(Weight::from_proof_size(15231))
.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("westmint-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_357_000 as u64)
Weight::from_ref_time(20_735_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_186_000 as u64)
Weight::from_ref_time(28_940_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(60_718_000 as u64)
Weight::from_ref_time(50_175_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_036_000 as u64)
Weight::from_ref_time(4_059_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_201_000 as u64)
Weight::from_ref_time(22_181_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_868_000 as u64)
Weight::from_ref_time(45_905_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(37_484_000 as u64)
Weight::from_ref_time(29_820_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("westmint-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(420_339_000 as u64)
Weight::from_ref_time(360_208_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_826_000 as u64)
Weight::from_ref_time(3_876_000 as u64)
}
// Storage: PolkadotXcm Queries (r:1 w:0)
// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
pub(crate) fn query_response() -> Weight {
Weight::from_ref_time(19_391_000 as u64)
Weight::from_ref_time(11_240_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
pub(crate) fn transact() -> Weight {
Weight::from_ref_time(21_685_000 as u64)
Weight::from_ref_time(12_244_000 as u64)
}
pub(crate) fn refund_surplus() -> Weight {
Weight::from_ref_time(7_031_000 as u64)
Weight::from_ref_time(3_963_000 as u64)
}
pub(crate) fn set_error_handler() -> Weight {
Weight::from_ref_time(6_099_000 as u64)
Weight::from_ref_time(2_871_000 as u64)
}
pub(crate) fn set_appendix() -> Weight {
Weight::from_ref_time(6_025_000 as u64)
Weight::from_ref_time(2_805_000 as u64)
}
pub(crate) fn clear_error() -> Weight {
Weight::from_ref_time(5_969_000 as u64)
Weight::from_ref_time(2_759_000 as u64)
}
pub(crate) fn descend_origin() -> Weight {
Weight::from_ref_time(6_782_000 as u64)
Weight::from_ref_time(3_596_000 as u64)
}
pub(crate) fn clear_origin() -> Weight {
Weight::from_ref_time(6_003_000 as u64)
Weight::from_ref_time(2_750_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_797_000 as u64)
Weight::from_ref_time(24_921_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_831_000 as u64)
Weight::from_ref_time(15_880_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_908_000 as u64)
Weight::from_ref_time(2_771_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_472_000 as u64)
Weight::from_ref_time(27_043_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_655_000 as u64)
Weight::from_ref_time(4_668_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_031_000 as u64)
Weight::from_ref_time(399_081_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(149_963_000 as u64)
Weight::from_ref_time(123_792_000 as u64)
}
pub(crate) fn expect_asset() -> Weight {
Weight::from_ref_time(15_212_000 as u64)
Weight::from_ref_time(13_056_000 as u64)
}
pub(crate) fn expect_origin() -> Weight {
Weight::from_ref_time(6_010_000 as u64)
Weight::from_ref_time(2_780_000 as u64)
}
pub(crate) fn expect_error() -> Weight {
Weight::from_ref_time(5_928_000 as u64)
Weight::from_ref_time(2_839_000 as u64)
}
pub(crate) fn expect_transact_status() -> Weight {
Weight::from_ref_time(6_910_000 as u64)
Weight::from_ref_time(2_951_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_842_000 as u64)
Weight::from_ref_time(28_130_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_899_000 as u64)
Weight::from_ref_time(4_754_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_752_000 as u64)
Weight::from_ref_time(25_584_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(5_895_000 as u64)
Weight::from_ref_time(2_832_000 as u64)
}
pub(crate) fn set_topic() -> Weight {
Weight::from_ref_time(5_921_000 as u64)
Weight::from_ref_time(2_804_000 as u64)
}
pub(crate) fn clear_topic() -> Weight {
Weight::from_ref_time(5_912_000 as u64)
Weight::from_ref_time(2_747_000 as u64)
}
pub(crate) fn set_fees_mode() -> Weight {
Weight::from_ref_time(5_840_000 as u64)
Weight::from_ref_time(2_736_000 as u64)
}
pub(crate) fn unpaid_execution() -> Weight {
Weight::from_ref_time(6_093_000 as u64)
Weight::from_ref_time(2_969_000 as u64)
}
}