Revert back to bare metal runners for weights generation (#6762)

* Revert back to bare metal runners for weights generation

* new old weights

---------

Co-authored-by: alvicsam <alvicsam@gmail.com>
This commit is contained in:
Oleg Plakida
2023-02-23 10:50:43 +00:00
committed by GitHub
parent e5f65865fe
commit 5e7ade9037
132 changed files with 15202 additions and 7243 deletions
@@ -16,8 +16,9 @@
//! Autogenerated weights for `frame_benchmarking::baseline`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,52 +47,57 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for WeightInfo<T> {
/// The range of component `i` is `[0, 1000000]`.
fn addition(_i: u32, ) -> Weight {
// Minimum execution time: 111 nanoseconds.
Weight::from_ref_time(125_746)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 136 nanoseconds.
Weight::from_ref_time(173_394)
.saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 1000000]`.
fn subtraction(_i: u32, ) -> Weight {
// Minimum execution time: 108 nanoseconds.
Weight::from_ref_time(127_834)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 133 nanoseconds.
Weight::from_ref_time(169_437)
.saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 1000000]`.
fn multiplication(_i: u32, ) -> Weight {
// Minimum execution time: 110 nanoseconds.
Weight::from_ref_time(133_152)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 141 nanoseconds.
Weight::from_ref_time(171_315)
.saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 1000000]`.
fn division(_i: u32, ) -> Weight {
// Minimum execution time: 110 nanoseconds.
Weight::from_ref_time(128_930)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 121 nanoseconds.
Weight::from_ref_time(171_703)
.saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 100]`.
fn hashing(_i: u32, ) -> Weight {
// Minimum execution time: 23_879_119 nanoseconds.
Weight::from_ref_time(23_953_239_689)
fn hashing() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 20_283_085 nanoseconds.
Weight::from_ref_time(20_363_497_000)
.saturating_add(Weight::from_proof_size(0))
}
/// The range of component `i` is `[0, 100]`.
fn sr25519_verification(i: u32, ) -> Weight {
// Minimum execution time: 136 nanoseconds.
Weight::from_ref_time(2_453_545)
// Standard Error: 6_526
.saturating_add(Weight::from_ref_time(55_601_782).saturating_mul(i.into()))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn storage_read(i: u32, ) -> Weight {
// Minimum execution time: 121 nanoseconds.
Weight::from_ref_time(127_000)
// Standard Error: 8_321
.saturating_add(Weight::from_ref_time(2_538_099).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn storage_write(i: u32, ) -> Weight {
// Minimum execution time: 115 nanoseconds.
Weight::from_ref_time(122_000)
// Standard Error: 1_010
.saturating_add(Weight::from_ref_time(388_054).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 185 nanoseconds.
Weight::from_ref_time(201_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 9_391
.saturating_add(Weight::from_ref_time(46_947_397).saturating_mul(i.into()))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,51 +47,82 @@ 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_782 nanoseconds.
Weight::from_ref_time(2_142_077)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_597 nanoseconds.
Weight::from_ref_time(1_632_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(481).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_557 nanoseconds.
Weight::from_ref_time(194_218_997)
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_891).saturating_mul(b.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_740 nanoseconds.
Weight::from_ref_time(6_844_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_715).saturating_mul(b.into()))
}
// Storage: System Digest (r:1 w:1)
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: unknown `0x3a686561707061676573` (r:0 w:1)
/// Proof Skipped: unknown `0x3a686561707061676573` (r:0 w:1)
fn set_heap_pages() -> Weight {
// Minimum execution time: 8_533 nanoseconds.
Weight::from_ref_time(9_115_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `495`
// Minimum execution time: 3_264 nanoseconds.
Weight::from_ref_time(3_451_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_819 nanoseconds.
Weight::from_ref_time(3_954_000)
// Standard Error: 2_051
.saturating_add(Weight::from_ref_time(686_836).saturating_mul(i.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_711 nanoseconds.
Weight::from_ref_time(1_744_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 1_730
.saturating_add(Weight::from_ref_time(578_514).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_780 nanoseconds.
Weight::from_ref_time(3_934_000)
// Standard Error: 944
.saturating_add(Weight::from_ref_time(512_590).saturating_mul(i.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_757 nanoseconds.
Weight::from_ref_time(1_823_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 758
.saturating_add(Weight::from_ref_time(442_154).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_580 nanoseconds.
Weight::from_ref_time(5_629_000)
// Standard Error: 1_287
.saturating_add(Weight::from_ref_time(1_167_339).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `131 + p * (69 ±0)`
// Estimated: `126 + p * (70 ±0)`
// Minimum execution time: 3_710 nanoseconds.
Weight::from_ref_time(3_764_000)
.saturating_add(Weight::from_proof_size(126))
// Standard Error: 931
.saturating_add(Weight::from_ref_time(983_509).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).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()))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_balances`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,61 +45,105 @@ 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: NisCounterpartBalances Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
/// Storage: NisCounterpartBalances Account (r:2 w:2)
/// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
/// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
fn transfer() -> Weight {
// Minimum execution time: 47_238 nanoseconds.
Weight::from_ref_time(48_885_000)
// Proof Size summary in bytes:
// Measured: `1876`
// Estimated: `8288`
// Minimum execution time: 50_750 nanoseconds.
Weight::from_ref_time(51_393_000)
.saturating_add(Weight::from_proof_size(8288))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: NisCounterpartBalances Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
/// Storage: NisCounterpartBalances Account (r:2 w:2)
/// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, 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: 33_152 nanoseconds.
Weight::from_ref_time(34_119_000)
// Proof Size summary in bytes:
// Measured: `1702`
// Estimated: `7777`
// Minimum execution time: 35_835 nanoseconds.
Weight::from_ref_time(36_209_000)
.saturating_add(Weight::from_proof_size(7777))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: NisCounterpartBalances Account (r:1 w:1)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
/// Storage: NisCounterpartBalances Account (r:1 w:1)
/// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen)
/// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
/// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
fn set_balance_creating() -> Weight {
// Minimum execution time: 21_670 nanoseconds.
Weight::from_ref_time(22_809_000)
// Proof Size summary in bytes:
// Measured: `1352`
// Estimated: `3098`
// Minimum execution time: 23_811 nanoseconds.
Weight::from_ref_time(24_588_000)
.saturating_add(Weight::from_proof_size(3098))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: NisCounterpartBalances Account (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
/// Storage: NisCounterpartBalances Account (r:1 w:1)
/// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
/// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
fn set_balance_killing() -> Weight {
// Minimum execution time: 30_300 nanoseconds.
Weight::from_ref_time(31_513_000)
// Proof Size summary in bytes:
// Measured: `1910`
// Estimated: `5701`
// Minimum execution time: 32_587 nanoseconds.
Weight::from_ref_time(33_915_000)
.saturating_add(Weight::from_proof_size(5701))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: NisCounterpartBalances Account (r:2 w:2)
// Storage: System Account (r:2 w:2)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
/// Storage: NisCounterpartBalances Account (r:2 w:2)
/// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen)
/// Storage: System Account (r:2 w:2)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
/// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
fn force_transfer() -> Weight {
// Minimum execution time: 46_348 nanoseconds.
Weight::from_ref_time(47_821_000)
// Proof Size summary in bytes:
// Measured: `1872`
// Estimated: `10891`
// Minimum execution time: 47_705 nanoseconds.
Weight::from_ref_time(48_232_000)
.saturating_add(Weight::from_proof_size(10891))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: NisCounterpartBalances Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
/// Storage: NisCounterpartBalances Account (r:2 w:2)
/// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, 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_all() -> Weight {
// Minimum execution time: 43_167 nanoseconds.
Weight::from_ref_time(44_523_000)
// Proof Size summary in bytes:
// Measured: `1874`
// Estimated: `7777`
// Minimum execution time: 45_138 nanoseconds.
Weight::from_ref_time(45_872_000)
.saturating_add(Weight::from_proof_size(7777))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: NisCounterpartBalances Account (r:1 w:1)
/// Storage: NisCounterpartBalances Account (r:1 w:1)
/// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen)
fn force_unreserve() -> Weight {
// Minimum execution time: 19_977 nanoseconds.
Weight::from_ref_time(20_793_000)
// Proof Size summary in bytes:
// Measured: `1350`
// Estimated: `2587`
// Minimum execution time: 22_672 nanoseconds.
Weight::from_ref_time(23_024_000)
.saturating_add(Weight::from_proof_size(2587))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_bounties`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,65 +45,118 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_bounties`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
// Storage: Bounties BountyCount (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: Bounties BountyDescriptions (r:0 w:1)
// Storage: Bounties Bounties (r:0 w:1)
/// Storage: Bounties BountyCount (r:1 w:1)
/// Proof: Bounties BountyCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Bounties BountyDescriptions (r:0 w:1)
/// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
/// Storage: Bounties Bounties (r:0 w:1)
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
/// The range of component `d` is `[0, 16384]`.
fn propose_bounty(d: u32, ) -> Weight {
// Minimum execution time: 29_855 nanoseconds.
Weight::from_ref_time(32_084_917)
// Standard Error: 8
.saturating_add(Weight::from_ref_time(877).saturating_mul(d.into()))
// Proof Size summary in bytes:
// Measured: `242`
// Estimated: `3102`
// Minimum execution time: 23_024 nanoseconds.
Weight::from_ref_time(23_785_473)
.saturating_add(Weight::from_proof_size(3102))
// Standard Error: 4
.saturating_add(Weight::from_ref_time(740).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
fn approve_bounty() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
.saturating_add(Weight::from_proof_size(0))
}
fn propose_curator() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
.saturating_add(Weight::from_proof_size(0))
}
fn unassign_curator() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
.saturating_add(Weight::from_proof_size(0))
}
fn accept_curator() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
.saturating_add(Weight::from_proof_size(0))
}
fn award_bounty() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
.saturating_add(Weight::from_proof_size(0))
}
fn claim_bounty() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
.saturating_add(Weight::from_proof_size(0))
}
// Storage: Bounties Bounties (r:1 w:1)
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: Bounties BountyDescriptions (r:0 w:1)
/// Storage: Bounties Bounties (r:1 w:1)
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
/// Storage: ChildBounties ParentChildBounties (r:1 w:0)
/// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Bounties BountyDescriptions (r:0 w:1)
/// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
fn close_bounty_proposed() -> Weight {
// Minimum execution time: 47_203 nanoseconds.
Weight::from_ref_time(48_590_000)
// Proof Size summary in bytes:
// Measured: `546`
// Estimated: `7746`
// Minimum execution time: 37_558 nanoseconds.
Weight::from_ref_time(38_135_000)
.saturating_add(Weight::from_proof_size(7746))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
fn close_bounty_active() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
.saturating_add(Weight::from_proof_size(0))
}
fn extend_bounty_expiry() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
.saturating_add(Weight::from_proof_size(0))
}
// Storage: Bounties BountyApprovals (r:1 w:1)
/// Storage: Bounties BountyApprovals (r:1 w:1)
/// Proof: Bounties BountyApprovals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
/// The range of component `b` is `[0, 100]`.
fn spend_funds(_b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `897`
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(3_564_251)
Weight::from_ref_time(2_344_646)
.saturating_add(Weight::from_proof_size(897))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_child_bounties`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,35 +47,67 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T> {
/// The range of component `d` is `[0, 16384]`.
fn add_child_bounty(_d: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
.saturating_add(Weight::from_proof_size(0))
}
fn propose_curator() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
.saturating_add(Weight::from_proof_size(0))
}
fn accept_curator() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
.saturating_add(Weight::from_proof_size(0))
}
fn unassign_curator() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
.saturating_add(Weight::from_proof_size(0))
}
fn award_child_bounty() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
.saturating_add(Weight::from_proof_size(0))
}
fn claim_child_bounty() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
.saturating_add(Weight::from_proof_size(0))
}
fn close_child_bounty_added() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
.saturating_add(Weight::from_proof_size(0))
}
fn close_child_bounty_active() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 0 nanoseconds.
Weight::from_ref_time(0)
.saturating_add(Weight::from_proof_size(0))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_collective`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,10 +45,14 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_collective`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
// Storage: Council Members (r:1 w:1)
// Storage: Council Proposals (r:1 w:0)
// Storage: Council Prime (r:0 w:1)
// Storage: Council Voting (r:100 w:100)
/// Storage: Council Members (r:1 w:1)
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council Proposals (r:1 w:0)
/// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council Voting (r:100 w:100)
/// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: Council Prime (r:0 w:1)
/// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[0, 100]`.
/// The range of component `n` is `[0, 100]`.
/// The range of component `p` is `[0, 100]`.
@@ -55,51 +60,75 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `n` is `[0, 100]`.
/// The range of component `p` is `[0, 100]`.
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
// Minimum execution time: 17_925 nanoseconds.
Weight::from_ref_time(18_181_000)
// Standard Error: 43_836
.saturating_add(Weight::from_ref_time(4_863_956).saturating_mul(m.into()))
// Standard Error: 43_836
.saturating_add(Weight::from_ref_time(7_922_306).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `0 + m * (3233 ±0) + p * (3223 ±0)`
// Estimated: `16322 + m * (7809 ±16) + p * (10238 ±16)`
// Minimum execution time: 17_010 nanoseconds.
Weight::from_ref_time(17_499_000)
.saturating_add(Weight::from_proof_size(16322))
// Standard Error: 52_116
.saturating_add(Weight::from_ref_time(5_962_797).saturating_mul(m.into()))
// Standard Error: 52_116
.saturating_add(Weight::from_ref_time(8_377_905).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
.saturating_add(Weight::from_proof_size(7809).saturating_mul(m.into()))
.saturating_add(Weight::from_proof_size(10238).saturating_mul(p.into()))
}
// Storage: Council Members (r:1 w:0)
/// Storage: Council Members (r:1 w:0)
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn execute(b: u32, m: u32, ) -> Weight {
// Minimum execution time: 21_057 nanoseconds.
Weight::from_ref_time(20_952_200)
// Standard Error: 26
.saturating_add(Weight::from_ref_time(1_847).saturating_mul(b.into()))
// Standard Error: 270
.saturating_add(Weight::from_ref_time(11_814).saturating_mul(m.into()))
// Proof Size summary in bytes:
// Measured: `168 + m * (32 ±0)`
// Estimated: `664 + m * (32 ±0)`
// Minimum execution time: 15_964 nanoseconds.
Weight::from_ref_time(15_142_034)
.saturating_add(Weight::from_proof_size(664))
// Standard Error: 21
.saturating_add(Weight::from_ref_time(1_734).saturating_mul(b.into()))
// Standard Error: 216
.saturating_add(Weight::from_ref_time(15_845).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(Weight::from_proof_size(32).saturating_mul(m.into()))
}
// Storage: Council Members (r:1 w:0)
// Storage: Council ProposalOf (r:1 w:0)
/// Storage: Council Members (r:1 w:0)
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council ProposalOf (r:1 w:0)
/// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn propose_execute(b: u32, m: u32, ) -> Weight {
// Minimum execution time: 23_644 nanoseconds.
Weight::from_ref_time(22_531_253)
// Standard Error: 31
.saturating_add(Weight::from_ref_time(2_093).saturating_mul(b.into()))
// Standard Error: 323
.saturating_add(Weight::from_ref_time(22_500).saturating_mul(m.into()))
// Proof Size summary in bytes:
// Measured: `168 + m * (32 ±0)`
// Estimated: `3308 + m * (64 ±0)`
// Minimum execution time: 17_982 nanoseconds.
Weight::from_ref_time(16_922_914)
.saturating_add(Weight::from_proof_size(3308))
// Standard Error: 23
.saturating_add(Weight::from_ref_time(1_831).saturating_mul(b.into()))
// Standard Error: 243
.saturating_add(Weight::from_ref_time(24_952).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(Weight::from_proof_size(64).saturating_mul(m.into()))
}
// Storage: Council Members (r:1 w:0)
// Storage: Council ProposalOf (r:1 w:1)
// Storage: Council Proposals (r:1 w:1)
// Storage: Council ProposalCount (r:1 w:1)
// Storage: Council Voting (r:0 w:1)
/// Storage: Council Members (r:1 w:0)
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council ProposalOf (r:1 w:1)
/// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
/// Storage: Council Proposals (r:1 w:1)
/// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council ProposalCount (r:1 w:1)
/// Proof Skipped: Council ProposalCount (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council Voting (r:0 w:1)
/// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
@@ -107,51 +136,78 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 29_657 nanoseconds.
Weight::from_ref_time(27_909_474)
// Standard Error: 103
.saturating_add(Weight::from_ref_time(4_354).saturating_mul(b.into()))
// Standard Error: 1_081
.saturating_add(Weight::from_ref_time(30_636).saturating_mul(m.into()))
// Standard Error: 1_068
.saturating_add(Weight::from_ref_time(202_594).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `490 + m * (32 ±0) + p * (36 ±0)`
// Estimated: `6025 + m * (165 ±0) + p * (180 ±0)`
// Minimum execution time: 23_369 nanoseconds.
Weight::from_ref_time(24_046_612)
.saturating_add(Weight::from_proof_size(6025))
// Standard Error: 48
.saturating_add(Weight::from_ref_time(2_712).saturating_mul(b.into()))
// Standard Error: 504
.saturating_add(Weight::from_ref_time(18_489).saturating_mul(m.into()))
// Standard Error: 497
.saturating_add(Weight::from_ref_time(97_209).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(Weight::from_proof_size(165).saturating_mul(m.into()))
.saturating_add(Weight::from_proof_size(180).saturating_mul(p.into()))
}
// Storage: Council Members (r:1 w:0)
// Storage: Council Voting (r:1 w:1)
/// Storage: Council Members (r:1 w:0)
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council Voting (r:1 w:1)
/// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
/// The range of component `m` is `[5, 100]`.
/// The range of component `m` is `[5, 100]`.
fn vote(m: u32, ) -> Weight {
// Minimum execution time: 34_950 nanoseconds.
Weight::from_ref_time(37_589_486)
// Standard Error: 969
.saturating_add(Weight::from_ref_time(58_213).saturating_mul(m.into()))
// Proof Size summary in bytes:
// Measured: `940 + m * (64 ±0)`
// Estimated: `4848 + m * (128 ±0)`
// Minimum execution time: 21_131 nanoseconds.
Weight::from_ref_time(21_685_424)
.saturating_add(Weight::from_proof_size(4848))
// Standard Error: 611
.saturating_add(Weight::from_ref_time(52_976).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_proof_size(128).saturating_mul(m.into()))
}
// Storage: Council Voting (r:1 w:1)
// Storage: Council Members (r:1 w:0)
// Storage: Council Proposals (r:1 w:1)
// Storage: Council ProposalOf (r:0 w:1)
/// Storage: Council Voting (r:1 w:1)
/// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: Council Members (r:1 w:0)
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council Proposals (r:1 w:1)
/// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council ProposalOf (r:0 w:1)
/// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
// Minimum execution time: 32_189 nanoseconds.
Weight::from_ref_time(33_688_931)
// Standard Error: 895
.saturating_add(Weight::from_ref_time(35_236).saturating_mul(m.into()))
// Standard Error: 873
.saturating_add(Weight::from_ref_time(180_058).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `560 + m * (64 ±0) + p * (36 ±0)`
// Estimated: `5629 + m * (260 ±0) + p * (144 ±0)`
// Minimum execution time: 25_507 nanoseconds.
Weight::from_ref_time(27_020_885)
.saturating_add(Weight::from_proof_size(5629))
// Standard Error: 448
.saturating_add(Weight::from_ref_time(19_496).saturating_mul(m.into()))
// Standard Error: 437
.saturating_add(Weight::from_ref_time(88_809).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_proof_size(260).saturating_mul(m.into()))
.saturating_add(Weight::from_proof_size(144).saturating_mul(p.into()))
}
// Storage: Council Voting (r:1 w:1)
// Storage: Council Members (r:1 w:0)
// Storage: Council ProposalOf (r:1 w:1)
// Storage: Council Proposals (r:1 w:1)
/// Storage: Council Voting (r:1 w:1)
/// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: Council Members (r:1 w:0)
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council ProposalOf (r:1 w:1)
/// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
/// Storage: Council Proposals (r:1 w:1)
/// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
@@ -159,41 +215,62 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 42_866 nanoseconds.
Weight::from_ref_time(42_607_292)
// Standard Error: 115
.saturating_add(Weight::from_ref_time(3_444).saturating_mul(b.into()))
// Standard Error: 1_225
.saturating_add(Weight::from_ref_time(35_350).saturating_mul(m.into()))
// Standard Error: 1_194
.saturating_add(Weight::from_ref_time(223_215).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `896 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
// Estimated: `8900 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)`
// Minimum execution time: 35_900 nanoseconds.
Weight::from_ref_time(38_441_572)
.saturating_add(Weight::from_proof_size(8900))
// Standard Error: 124
.saturating_add(Weight::from_ref_time(2_048).saturating_mul(b.into()))
// Standard Error: 1_278
.saturating_add(Weight::from_ref_time(125_417).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_proof_size(4).saturating_mul(b.into()))
.saturating_add(Weight::from_proof_size(264).saturating_mul(m.into()))
.saturating_add(Weight::from_proof_size(160).saturating_mul(p.into()))
}
// Storage: Council Voting (r:1 w:1)
// Storage: Council Members (r:1 w:0)
// Storage: Council Prime (r:1 w:0)
// Storage: Council Proposals (r:1 w:1)
// Storage: Council ProposalOf (r:0 w:1)
/// Storage: Council Voting (r:1 w:1)
/// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: Council Members (r:1 w:0)
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council Prime (r:1 w:0)
/// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council Proposals (r:1 w:1)
/// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council ProposalOf (r:0 w:1)
/// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_disapproved(m: u32, p: u32, ) -> Weight {
// Minimum execution time: 35_200 nanoseconds.
Weight::from_ref_time(35_984_937)
// Standard Error: 947
.saturating_add(Weight::from_ref_time(39_163).saturating_mul(m.into()))
// Standard Error: 923
.saturating_add(Weight::from_ref_time(186_666).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `580 + m * (64 ±0) + p * (36 ±0)`
// Estimated: `6765 + m * (325 ±0) + p * (180 ±0)`
// Minimum execution time: 28_671 nanoseconds.
Weight::from_ref_time(29_067_640)
.saturating_add(Weight::from_proof_size(6765))
// Standard Error: 413
.saturating_add(Weight::from_ref_time(25_553).saturating_mul(m.into()))
// Standard Error: 403
.saturating_add(Weight::from_ref_time(89_405).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_proof_size(325).saturating_mul(m.into()))
.saturating_add(Weight::from_proof_size(180).saturating_mul(p.into()))
}
// Storage: Council Voting (r:1 w:1)
// Storage: Council Members (r:1 w:0)
// Storage: Council Prime (r:1 w:0)
// Storage: Council ProposalOf (r:1 w:1)
// Storage: Council Proposals (r:1 w:1)
/// Storage: Council Voting (r:1 w:1)
/// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: Council Members (r:1 w:0)
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council Prime (r:1 w:0)
/// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council ProposalOf (r:1 w:1)
/// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
/// Storage: Council Proposals (r:1 w:1)
/// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
@@ -201,28 +278,43 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 45_539 nanoseconds.
Weight::from_ref_time(45_484_159)
// Standard Error: 122
.saturating_add(Weight::from_ref_time(3_642).saturating_mul(b.into()))
// Standard Error: 1_297
.saturating_add(Weight::from_ref_time(32_947).saturating_mul(m.into()))
// Standard Error: 1_264
.saturating_add(Weight::from_ref_time(223_458).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `916 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
// Estimated: `10235 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)`
// Minimum execution time: 38_368 nanoseconds.
Weight::from_ref_time(40_072_266)
.saturating_add(Weight::from_proof_size(10235))
// Standard Error: 87
.saturating_add(Weight::from_ref_time(2_205).saturating_mul(b.into()))
// Standard Error: 921
.saturating_add(Weight::from_ref_time(21_418).saturating_mul(m.into()))
// Standard Error: 897
.saturating_add(Weight::from_ref_time(120_540).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_proof_size(5).saturating_mul(b.into()))
.saturating_add(Weight::from_proof_size(330).saturating_mul(m.into()))
.saturating_add(Weight::from_proof_size(200).saturating_mul(p.into()))
}
// Storage: Council Proposals (r:1 w:1)
// Storage: Council Voting (r:0 w:1)
// Storage: Council ProposalOf (r:0 w:1)
/// Storage: Council Proposals (r:1 w:1)
/// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council Voting (r:0 w:1)
/// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: Council ProposalOf (r:0 w:1)
/// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured)
/// The range of component `p` is `[1, 100]`.
/// The range of component `p` is `[1, 100]`.
fn disapprove_proposal(p: u32, ) -> Weight {
// Minimum execution time: 20_289 nanoseconds.
Weight::from_ref_time(23_108_163)
// Standard Error: 1_194
.saturating_add(Weight::from_ref_time(179_054).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `325 + p * (32 ±0)`
// Estimated: `1470 + p * (96 ±0)`
// Minimum execution time: 14_315 nanoseconds.
Weight::from_ref_time(16_570_810)
.saturating_add(Weight::from_proof_size(1470))
// Standard Error: 471
.saturating_add(Weight::from_ref_time(84_258).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_proof_size(96).saturating_mul(p.into()))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_collective`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,10 +45,14 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_collective`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
// Storage: TechnicalCommittee Members (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:0)
// Storage: TechnicalCommittee Prime (r:0 w:1)
// Storage: TechnicalCommittee Voting (r:100 w:100)
/// Storage: TechnicalCommittee Members (r:1 w:1)
/// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Proposals (r:1 w:0)
/// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Voting (r:100 w:100)
/// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Prime (r:0 w:1)
/// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[0, 100]`.
/// The range of component `n` is `[0, 100]`.
/// The range of component `p` is `[0, 100]`.
@@ -55,51 +60,75 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `n` is `[0, 100]`.
/// The range of component `p` is `[0, 100]`.
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
// Minimum execution time: 18_467 nanoseconds.
Weight::from_ref_time(18_767_000)
// Standard Error: 44_297
.saturating_add(Weight::from_ref_time(4_997_368).saturating_mul(m.into()))
// Standard Error: 44_297
.saturating_add(Weight::from_ref_time(8_086_426).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `0 + m * (3233 ±0) + p * (3223 ±0)`
// Estimated: `16206 + m * (7809 ±16) + p * (10238 ±16)`
// Minimum execution time: 17_490 nanoseconds.
Weight::from_ref_time(17_812_000)
.saturating_add(Weight::from_proof_size(16206))
// Standard Error: 52_570
.saturating_add(Weight::from_ref_time(5_970_628).saturating_mul(m.into()))
// Standard Error: 52_570
.saturating_add(Weight::from_ref_time(8_442_965).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
.saturating_add(Weight::from_proof_size(7809).saturating_mul(m.into()))
.saturating_add(Weight::from_proof_size(10238).saturating_mul(p.into()))
}
// Storage: TechnicalCommittee Members (r:1 w:0)
/// Storage: TechnicalCommittee Members (r:1 w:0)
/// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn execute(b: u32, m: u32, ) -> Weight {
// Minimum execution time: 21_574 nanoseconds.
Weight::from_ref_time(21_359_288)
// Standard Error: 22
.saturating_add(Weight::from_ref_time(1_804).saturating_mul(b.into()))
// Standard Error: 231
.saturating_add(Weight::from_ref_time(13_172).saturating_mul(m.into()))
// Proof Size summary in bytes:
// Measured: `139 + m * (32 ±0)`
// Estimated: `635 + m * (32 ±0)`
// Minimum execution time: 16_507 nanoseconds.
Weight::from_ref_time(15_656_846)
.saturating_add(Weight::from_proof_size(635))
// Standard Error: 16
.saturating_add(Weight::from_ref_time(1_848).saturating_mul(b.into()))
// Standard Error: 171
.saturating_add(Weight::from_ref_time(14_642).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(Weight::from_proof_size(32).saturating_mul(m.into()))
}
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee ProposalOf (r:1 w:0)
/// Storage: TechnicalCommittee Members (r:1 w:0)
/// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee ProposalOf (r:1 w:0)
/// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
fn propose_execute(b: u32, m: u32, ) -> Weight {
// Minimum execution time: 24_260 nanoseconds.
Weight::from_ref_time(23_163_195)
// Standard Error: 25
.saturating_add(Weight::from_ref_time(2_117).saturating_mul(b.into()))
// Standard Error: 262
.saturating_add(Weight::from_ref_time(21_327).saturating_mul(m.into()))
// Proof Size summary in bytes:
// Measured: `139 + m * (32 ±0)`
// Estimated: `3250 + m * (64 ±0)`
// Minimum execution time: 18_348 nanoseconds.
Weight::from_ref_time(17_412_463)
.saturating_add(Weight::from_proof_size(3250))
// Standard Error: 19
.saturating_add(Weight::from_ref_time(1_783).saturating_mul(b.into()))
// Standard Error: 202
.saturating_add(Weight::from_ref_time(23_933).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(Weight::from_proof_size(64).saturating_mul(m.into()))
}
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee ProposalOf (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:1)
// Storage: TechnicalCommittee ProposalCount (r:1 w:1)
// Storage: TechnicalCommittee Voting (r:0 w:1)
/// Storage: TechnicalCommittee Members (r:1 w:0)
/// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee ProposalOf (r:1 w:1)
/// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Proposals (r:1 w:1)
/// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee ProposalCount (r:1 w:1)
/// Proof Skipped: TechnicalCommittee ProposalCount (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Voting (r:0 w:1)
/// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
@@ -107,51 +136,78 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 30_609 nanoseconds.
Weight::from_ref_time(28_648_528)
// Standard Error: 95
.saturating_add(Weight::from_ref_time(4_982).saturating_mul(b.into()))
// Standard Error: 997
.saturating_add(Weight::from_ref_time(31_950).saturating_mul(m.into()))
// Standard Error: 984
.saturating_add(Weight::from_ref_time(207_125).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `461 + m * (32 ±0) + p * (36 ±0)`
// Estimated: `5880 + m * (165 ±0) + p * (180 ±0)`
// Minimum execution time: 24_209 nanoseconds.
Weight::from_ref_time(24_797_325)
.saturating_add(Weight::from_proof_size(5880))
// Standard Error: 47
.saturating_add(Weight::from_ref_time(2_637).saturating_mul(b.into()))
// Standard Error: 499
.saturating_add(Weight::from_ref_time(18_477).saturating_mul(m.into()))
// Standard Error: 493
.saturating_add(Weight::from_ref_time(98_937).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(Weight::from_proof_size(165).saturating_mul(m.into()))
.saturating_add(Weight::from_proof_size(180).saturating_mul(p.into()))
}
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee Voting (r:1 w:1)
/// Storage: TechnicalCommittee Members (r:1 w:0)
/// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Voting (r:1 w:1)
/// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured)
/// The range of component `m` is `[5, 100]`.
/// The range of component `m` is `[5, 100]`.
fn vote(m: u32, ) -> Weight {
// Minimum execution time: 34_745 nanoseconds.
Weight::from_ref_time(38_288_358)
// Standard Error: 902
.saturating_add(Weight::from_ref_time(52_450).saturating_mul(m.into()))
// Proof Size summary in bytes:
// Measured: `911 + m * (64 ±0)`
// Estimated: `4790 + m * (128 ±0)`
// Minimum execution time: 21_974 nanoseconds.
Weight::from_ref_time(22_456_460)
.saturating_add(Weight::from_proof_size(4790))
// Standard Error: 611
.saturating_add(Weight::from_ref_time(51_856).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_proof_size(128).saturating_mul(m.into()))
}
// Storage: TechnicalCommittee Voting (r:1 w:1)
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee Proposals (r:1 w:1)
// Storage: TechnicalCommittee ProposalOf (r:0 w:1)
/// Storage: TechnicalCommittee Voting (r:1 w:1)
/// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Members (r:1 w:0)
/// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Proposals (r:1 w:1)
/// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee ProposalOf (r:0 w:1)
/// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured)
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
// Minimum execution time: 33_516 nanoseconds.
Weight::from_ref_time(33_949_601)
// Standard Error: 806
.saturating_add(Weight::from_ref_time(35_238).saturating_mul(m.into()))
// Standard Error: 786
.saturating_add(Weight::from_ref_time(185_097).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `531 + m * (64 ±0) + p * (36 ±0)`
// Estimated: `5513 + m * (260 ±0) + p * (144 ±0)`
// Minimum execution time: 26_446 nanoseconds.
Weight::from_ref_time(28_061_456)
.saturating_add(Weight::from_proof_size(5513))
// Standard Error: 549
.saturating_add(Weight::from_ref_time(17_104).saturating_mul(m.into()))
// Standard Error: 535
.saturating_add(Weight::from_ref_time(89_314).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_proof_size(260).saturating_mul(m.into()))
.saturating_add(Weight::from_proof_size(144).saturating_mul(p.into()))
}
// Storage: TechnicalCommittee Voting (r:1 w:1)
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee ProposalOf (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:1)
/// Storage: TechnicalCommittee Voting (r:1 w:1)
/// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Members (r:1 w:0)
/// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee ProposalOf (r:1 w:1)
/// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Proposals (r:1 w:1)
/// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
@@ -159,41 +215,64 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 43_880 nanoseconds.
Weight::from_ref_time(43_521_872)
// Standard Error: 106
.saturating_add(Weight::from_ref_time(3_540).saturating_mul(b.into()))
// Standard Error: 1_129
.saturating_add(Weight::from_ref_time(30_685).saturating_mul(m.into()))
// Standard Error: 1_100
.saturating_add(Weight::from_ref_time(220_013).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `867 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
// Estimated: `8784 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)`
// Minimum execution time: 36_960 nanoseconds.
Weight::from_ref_time(38_532_650)
.saturating_add(Weight::from_proof_size(8784))
// Standard Error: 82
.saturating_add(Weight::from_ref_time(2_171).saturating_mul(b.into()))
// Standard Error: 876
.saturating_add(Weight::from_ref_time(21_279).saturating_mul(m.into()))
// Standard Error: 854
.saturating_add(Weight::from_ref_time(120_364).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_proof_size(4).saturating_mul(b.into()))
.saturating_add(Weight::from_proof_size(264).saturating_mul(m.into()))
.saturating_add(Weight::from_proof_size(160).saturating_mul(p.into()))
}
// Storage: TechnicalCommittee Voting (r:1 w:1)
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee Prime (r:1 w:0)
// Storage: TechnicalCommittee Proposals (r:1 w:1)
// Storage: TechnicalCommittee ProposalOf (r:0 w:1)
/// Storage: TechnicalCommittee Voting (r:1 w:1)
/// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Members (r:1 w:0)
/// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Prime (r:1 w:0)
/// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Proposals (r:1 w:1)
/// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee ProposalOf (r:0 w:1)
/// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured)
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_disapproved(m: u32, p: u32, ) -> Weight {
// Minimum execution time: 36_245 nanoseconds.
Weight::from_ref_time(36_588_565)
// Standard Error: 871
.saturating_add(Weight::from_ref_time(40_011).saturating_mul(m.into()))
// Standard Error: 849
.saturating_add(Weight::from_ref_time(189_599).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `551 + m * (64 ±0) + p * (36 ±0)`
// Estimated: `6620 + m * (325 ±0) + p * (180 ±0)`
// Minimum execution time: 29_154 nanoseconds.
Weight::from_ref_time(29_815_989)
.saturating_add(Weight::from_proof_size(6620))
// Standard Error: 394
.saturating_add(Weight::from_ref_time(25_714).saturating_mul(m.into()))
// Standard Error: 384
.saturating_add(Weight::from_ref_time(91_672).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_proof_size(325).saturating_mul(m.into()))
.saturating_add(Weight::from_proof_size(180).saturating_mul(p.into()))
}
// Storage: TechnicalCommittee Voting (r:1 w:1)
// Storage: TechnicalCommittee Members (r:1 w:0)
// Storage: TechnicalCommittee Prime (r:1 w:0)
// Storage: TechnicalCommittee ProposalOf (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:1)
/// Storage: TechnicalCommittee Voting (r:1 w:1)
/// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Members (r:1 w:0)
/// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Prime (r:1 w:0)
/// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee ProposalOf (r:1 w:1)
/// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Proposals (r:1 w:1)
/// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
@@ -201,28 +280,43 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
// Minimum execution time: 46_412 nanoseconds.
Weight::from_ref_time(45_574_288)
// Standard Error: 112
.saturating_add(Weight::from_ref_time(3_774).saturating_mul(b.into()))
// Standard Error: 1_188
.saturating_add(Weight::from_ref_time(35_962).saturating_mul(m.into()))
// Standard Error: 1_158
.saturating_add(Weight::from_ref_time(225_413).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `887 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
// Estimated: `10090 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)`
// Minimum execution time: 39_673 nanoseconds.
Weight::from_ref_time(41_299_924)
.saturating_add(Weight::from_proof_size(10090))
// Standard Error: 82
.saturating_add(Weight::from_ref_time(1_965).saturating_mul(b.into()))
// Standard Error: 875
.saturating_add(Weight::from_ref_time(21_924).saturating_mul(m.into()))
// Standard Error: 853
.saturating_add(Weight::from_ref_time(121_244).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_proof_size(5).saturating_mul(b.into()))
.saturating_add(Weight::from_proof_size(330).saturating_mul(m.into()))
.saturating_add(Weight::from_proof_size(200).saturating_mul(p.into()))
}
// Storage: TechnicalCommittee Proposals (r:1 w:1)
// Storage: TechnicalCommittee Voting (r:0 w:1)
// Storage: TechnicalCommittee ProposalOf (r:0 w:1)
/// Storage: TechnicalCommittee Proposals (r:1 w:1)
/// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Voting (r:0 w:1)
/// Proof Skipped: TechnicalCommittee Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: TechnicalCommittee ProposalOf (r:0 w:1)
/// Proof Skipped: TechnicalCommittee ProposalOf (max_values: None, max_size: None, mode: Measured)
/// The range of component `p` is `[1, 100]`.
/// The range of component `p` is `[1, 100]`.
fn disapprove_proposal(p: u32, ) -> Weight {
// Minimum execution time: 21_008 nanoseconds.
Weight::from_ref_time(23_373_668)
// Standard Error: 1_006
.saturating_add(Weight::from_ref_time(179_623).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `296 + p * (32 ±0)`
// Estimated: `1383 + p * (96 ±0)`
// Minimum execution time: 15_065 nanoseconds.
Weight::from_ref_time(17_118_339)
.saturating_add(Weight::from_proof_size(1383))
// Standard Error: 471
.saturating_add(Weight::from_ref_time(86_165).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_proof_size(96).saturating_mul(p.into()))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_democracy`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,249 +45,469 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_democracy`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
// Storage: Democracy PublicPropCount (r:1 w:1)
// Storage: Democracy PublicProps (r:1 w:1)
// Storage: Democracy Blacklist (r:1 w:0)
// Storage: Democracy DepositOf (r:0 w:1)
/// Storage: Democracy PublicPropCount (r:1 w:1)
/// Proof: Democracy PublicPropCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Democracy PublicProps (r:1 w:1)
/// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen)
/// Storage: Democracy Blacklist (r:1 w:0)
/// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen)
/// Storage: Democracy DepositOf (r:0 w:1)
/// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen)
fn propose() -> Weight {
// Minimum execution time: 52_790 nanoseconds.
Weight::from_ref_time(54_752_000)
// Proof Size summary in bytes:
// Measured: `4831`
// Estimated: `23409`
// Minimum execution time: 32_657 nanoseconds.
Weight::from_ref_time(33_404_000)
.saturating_add(Weight::from_proof_size(23409))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy DepositOf (r:1 w:1)
/// Storage: Democracy DepositOf (r:1 w:1)
/// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen)
fn second() -> Weight {
// Minimum execution time: 45_259 nanoseconds.
Weight::from_ref_time(48_365_000)
// Proof Size summary in bytes:
// Measured: `3587`
// Estimated: `5705`
// Minimum execution time: 31_060 nanoseconds.
Weight::from_ref_time(31_872_000)
.saturating_add(Weight::from_proof_size(5705))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
/// Storage: Democracy ReferendumInfoOf (r:1 w:1)
/// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
/// Storage: Democracy VotingOf (r:1 w:1)
/// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
fn vote_new() -> Weight {
// Minimum execution time: 59_441 nanoseconds.
Weight::from_ref_time(61_696_000)
// Proof Size summary in bytes:
// Measured: `3494`
// Estimated: `12720`
// Minimum execution time: 41_718 nanoseconds.
Weight::from_ref_time(42_346_000)
.saturating_add(Weight::from_proof_size(12720))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
/// Storage: Democracy ReferendumInfoOf (r:1 w:1)
/// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
/// Storage: Democracy VotingOf (r:1 w:1)
/// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
fn vote_existing() -> Weight {
// Minimum execution time: 60_522 nanoseconds.
Weight::from_ref_time(62_995_000)
// Proof Size summary in bytes:
// Measured: `3516`
// Estimated: `12720`
// Minimum execution time: 42_085 nanoseconds.
Weight::from_ref_time(42_852_000)
.saturating_add(Weight::from_proof_size(12720))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy Cancellations (r:1 w:1)
/// Storage: Democracy ReferendumInfoOf (r:1 w:1)
/// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
/// Storage: Democracy Cancellations (r:1 w:1)
/// Proof: Democracy Cancellations (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen)
/// Storage: Democracy MetadataOf (r:1 w:1)
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
fn emergency_cancel() -> Weight {
// Minimum execution time: 22_301 nanoseconds.
Weight::from_ref_time(22_900_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Democracy PublicProps (r:1 w:1)
// Storage: Democracy DepositOf (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy Blacklist (r:0 w:1)
fn blacklist() -> Weight {
// Minimum execution time: 96_444 nanoseconds.
Weight::from_ref_time(99_441_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy Blacklist (r:1 w:0)
fn external_propose() -> Weight {
// Minimum execution time: 17_583 nanoseconds.
Weight::from_ref_time(18_423_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy NextExternal (r:0 w:1)
fn external_propose_majority() -> Weight {
// Minimum execution time: 5_180 nanoseconds.
Weight::from_ref_time(5_463_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy NextExternal (r:0 w:1)
fn external_propose_default() -> Weight {
// Minimum execution time: 4_834 nanoseconds.
Weight::from_ref_time(5_249_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy ReferendumCount (r:1 w:1)
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
fn fast_track() -> Weight {
// Minimum execution time: 22_042 nanoseconds.
Weight::from_ref_time(22_757_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy Blacklist (r:1 w:1)
fn veto_external() -> Weight {
// Minimum execution time: 27_437 nanoseconds.
Weight::from_ref_time(28_606_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Democracy PublicProps (r:1 w:1)
// Storage: Democracy DepositOf (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn cancel_proposal() -> Weight {
// Minimum execution time: 81_906 nanoseconds.
Weight::from_ref_time(86_110_000)
// Proof Size summary in bytes:
// Measured: `365`
// Estimated: `7712`
// Minimum execution time: 25_524 nanoseconds.
Weight::from_ref_time(26_168_000)
.saturating_add(Weight::from_proof_size(7712))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
fn cancel_referendum() -> Weight {
// Minimum execution time: 14_329 nanoseconds.
Weight::from_ref_time(14_853_000)
/// Storage: Democracy PublicProps (r:1 w:1)
/// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen)
/// Storage: Democracy DepositOf (r:1 w:1)
/// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Democracy MetadataOf (r:3 w:1)
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
/// Storage: Democracy NextExternal (r:1 w:1)
/// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen)
/// Storage: Democracy ReferendumInfoOf (r:1 w:1)
/// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
/// Storage: Democracy Blacklist (r:0 w:1)
/// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen)
fn blacklist() -> Weight {
// Proof Size summary in bytes:
// Measured: `6003`
// Estimated: `36392`
// Minimum execution time: 83_609 nanoseconds.
Weight::from_ref_time(84_687_000)
.saturating_add(Weight::from_proof_size(36392))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(7))
}
/// Storage: Democracy NextExternal (r:1 w:1)
/// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen)
/// Storage: Democracy Blacklist (r:1 w:0)
/// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen)
fn external_propose() -> Weight {
// Proof Size summary in bytes:
// Measured: `3415`
// Estimated: `6340`
// Minimum execution time: 12_887 nanoseconds.
Weight::from_ref_time(13_514_000)
.saturating_add(Weight::from_proof_size(6340))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy LowestUnbaked (r:1 w:1)
// Storage: Democracy ReferendumCount (r:1 w:0)
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
/// Storage: Democracy NextExternal (r:0 w:1)
/// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen)
fn external_propose_majority() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_145 nanoseconds.
Weight::from_ref_time(3_255_000)
.saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: Democracy NextExternal (r:0 w:1)
/// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen)
fn external_propose_default() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_223 nanoseconds.
Weight::from_ref_time(3_298_000)
.saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: Democracy NextExternal (r:1 w:1)
/// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen)
/// Storage: Democracy ReferendumCount (r:1 w:1)
/// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Democracy MetadataOf (r:1 w:2)
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
/// Storage: Democracy ReferendumInfoOf (r:0 w:1)
/// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
fn fast_track() -> Weight {
// Proof Size summary in bytes:
// Measured: `253`
// Estimated: `3654`
// Minimum execution time: 26_088 nanoseconds.
Weight::from_ref_time(26_562_000)
.saturating_add(Weight::from_proof_size(3654))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(5))
}
/// Storage: Democracy NextExternal (r:1 w:1)
/// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen)
/// Storage: Democracy Blacklist (r:1 w:1)
/// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen)
/// Storage: Democracy MetadataOf (r:1 w:1)
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
fn veto_external() -> Weight {
// Proof Size summary in bytes:
// Measured: `3518`
// Estimated: `8868`
// Minimum execution time: 29_980 nanoseconds.
Weight::from_ref_time(31_039_000)
.saturating_add(Weight::from_proof_size(8868))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: Democracy PublicProps (r:1 w:1)
/// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen)
/// Storage: Democracy DepositOf (r:1 w:1)
/// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Democracy MetadataOf (r:1 w:1)
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
fn cancel_proposal() -> Weight {
// Proof Size summary in bytes:
// Measured: `5882`
// Estimated: `28033`
// Minimum execution time: 67_545 nanoseconds.
Weight::from_ref_time(68_409_000)
.saturating_add(Weight::from_proof_size(28033))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
/// Storage: Democracy MetadataOf (r:1 w:1)
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
/// Storage: Democracy ReferendumInfoOf (r:0 w:1)
/// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
fn cancel_referendum() -> Weight {
// Proof Size summary in bytes:
// Measured: `238`
// Estimated: `2528`
// Minimum execution time: 18_661 nanoseconds.
Weight::from_ref_time(19_073_000)
.saturating_add(Weight::from_proof_size(2528))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: Democracy LowestUnbaked (r:1 w:1)
/// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Democracy ReferendumCount (r:1 w:0)
/// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Democracy ReferendumInfoOf (r:99 w:0)
/// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
/// The range of component `r` is `[0, 99]`.
fn on_initialize_base(r: u32, ) -> Weight {
// Minimum execution time: 6_672 nanoseconds.
Weight::from_ref_time(6_649_252)
// Standard Error: 5_909
.saturating_add(Weight::from_ref_time(2_597_196).saturating_mul(r.into()))
// Proof Size summary in bytes:
// Measured: `211 + r * (117 ±0)`
// Estimated: `998 + r * (2676 ±0)`
// Minimum execution time: 6_764 nanoseconds.
Weight::from_ref_time(9_629_215)
.saturating_add(Weight::from_proof_size(998))
// Standard Error: 5_661
.saturating_add(Weight::from_ref_time(2_550_601).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_proof_size(2676).saturating_mul(r.into()))
}
// Storage: Democracy LowestUnbaked (r:1 w:1)
// Storage: Democracy ReferendumCount (r:1 w:0)
// Storage: Democracy LastTabledWasExternal (r:1 w:0)
// Storage: Democracy NextExternal (r:1 w:0)
// Storage: Democracy PublicProps (r:1 w:0)
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
/// Storage: Democracy LowestUnbaked (r:1 w:1)
/// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Democracy ReferendumCount (r:1 w:0)
/// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Democracy LastTabledWasExternal (r:1 w:0)
/// Proof: Democracy LastTabledWasExternal (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
/// Storage: Democracy NextExternal (r:1 w:0)
/// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen)
/// Storage: Democracy PublicProps (r:1 w:0)
/// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen)
/// Storage: Democracy ReferendumInfoOf (r:99 w:0)
/// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
/// The range of component `r` is `[0, 99]`.
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
// Minimum execution time: 9_163 nanoseconds.
Weight::from_ref_time(9_527_961)
// Standard Error: 6_495
.saturating_add(Weight::from_ref_time(2_595_826).saturating_mul(r.into()))
// Proof Size summary in bytes:
// Measured: `211 + r * (117 ±0)`
// Estimated: `19318 + r * (2676 ±0)`
// Minimum execution time: 9_134 nanoseconds.
Weight::from_ref_time(12_473_497)
.saturating_add(Weight::from_proof_size(19318))
// Standard Error: 6_349
.saturating_add(Weight::from_ref_time(2_548_244).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_proof_size(2676).saturating_mul(r.into()))
}
// Storage: Democracy VotingOf (r:3 w:3)
// Storage: Balances Locks (r:1 w:1)
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
/// Storage: Democracy VotingOf (r:3 w:3)
/// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen)
/// Storage: Democracy ReferendumInfoOf (r:99 w:99)
/// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// The range of component `r` is `[0, 99]`.
fn delegate(r: u32, ) -> Weight {
// Minimum execution time: 43_971 nanoseconds.
Weight::from_ref_time(48_177_424)
// Standard Error: 7_687
.saturating_add(Weight::from_ref_time(3_825_037).saturating_mul(r.into()))
// Proof Size summary in bytes:
// Measured: `891 + r * (139 ±0)`
// Estimated: `22584 + r * (2676 ±0)`
// Minimum execution time: 33_397 nanoseconds.
Weight::from_ref_time(39_857_242)
.saturating_add(Weight::from_proof_size(22584))
// Standard Error: 6_468
.saturating_add(Weight::from_ref_time(3_540_125).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_proof_size(2676).saturating_mul(r.into()))
}
// Storage: Democracy VotingOf (r:2 w:2)
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
/// Storage: Democracy VotingOf (r:2 w:2)
/// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen)
/// Storage: Democracy ReferendumInfoOf (r:99 w:99)
/// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
/// The range of component `r` is `[0, 99]`.
fn undelegate(r: u32, ) -> Weight {
// Minimum execution time: 26_297 nanoseconds.
Weight::from_ref_time(26_805_688)
// Standard Error: 6_248
.saturating_add(Weight::from_ref_time(3_780_649).saturating_mul(r.into()))
// Proof Size summary in bytes:
// Measured: `524 + r * (139 ±0)`
// Estimated: `12540 + r * (2676 ±0)`
// Minimum execution time: 20_279 nanoseconds.
Weight::from_ref_time(22_365_478)
.saturating_add(Weight::from_proof_size(12540))
// Standard Error: 5_748
.saturating_add(Weight::from_ref_time(3_521_416).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_proof_size(2676).saturating_mul(r.into()))
}
// Storage: Democracy PublicProps (r:0 w:1)
/// Storage: Democracy PublicProps (r:0 w:1)
/// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen)
fn clear_public_proposals() -> Weight {
// Minimum execution time: 5_382 nanoseconds.
Weight::from_ref_time(5_610_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_052 nanoseconds.
Weight::from_ref_time(3_140_000)
.saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Democracy VotingOf (r:1 w:1)
/// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, 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 `r` is `[0, 99]`.
fn unlock_remove(r: u32, ) -> Weight {
// Minimum execution time: 25_335 nanoseconds.
Weight::from_ref_time(31_939_462)
// Standard Error: 1_885
.saturating_add(Weight::from_ref_time(93_824).saturating_mul(r.into()))
// Proof Size summary in bytes:
// Measured: `556`
// Estimated: `12647`
// Minimum execution time: 18_419 nanoseconds.
Weight::from_ref_time(24_349_956)
.saturating_add(Weight::from_proof_size(12647))
// Standard Error: 1_354
.saturating_add(Weight::from_ref_time(21_800).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Democracy VotingOf (r:1 w:1)
/// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, 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 `r` is `[0, 99]`.
fn unlock_set(r: u32, ) -> Weight {
// Minimum execution time: 30_340 nanoseconds.
Weight::from_ref_time(31_636_621)
// Standard Error: 1_625
.saturating_add(Weight::from_ref_time(133_508).saturating_mul(r.into()))
// Proof Size summary in bytes:
// Measured: `557 + r * (22 ±0)`
// Estimated: `12647`
// Minimum execution time: 22_735 nanoseconds.
Weight::from_ref_time(24_098_906)
.saturating_add(Weight::from_proof_size(12647))
// Standard Error: 821
.saturating_add(Weight::from_ref_time(64_731).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy VotingOf (r:1 w:1)
/// Storage: Democracy ReferendumInfoOf (r:1 w:1)
/// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
/// Storage: Democracy VotingOf (r:1 w:1)
/// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 100]`.
fn remove_vote(r: u32, ) -> Weight {
// Minimum execution time: 16_834 nanoseconds.
Weight::from_ref_time(18_056_579)
// Standard Error: 1_477
.saturating_add(Weight::from_ref_time(137_607).saturating_mul(r.into()))
// Proof Size summary in bytes:
// Measured: `758 + r * (26 ±0)`
// Estimated: `8946`
// Minimum execution time: 15_351 nanoseconds.
Weight::from_ref_time(18_051_547)
.saturating_add(Weight::from_proof_size(8946))
// Standard Error: 1_021
.saturating_add(Weight::from_ref_time(75_522).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy VotingOf (r:1 w:1)
/// Storage: Democracy ReferendumInfoOf (r:1 w:1)
/// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
/// Storage: Democracy VotingOf (r:1 w:1)
/// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 100]`.
fn remove_other_vote(r: u32, ) -> Weight {
// Minimum execution time: 16_165 nanoseconds.
Weight::from_ref_time(18_301_612)
// Standard Error: 1_417
.saturating_add(Weight::from_ref_time(133_792).saturating_mul(r.into()))
// Proof Size summary in bytes:
// Measured: `758 + r * (26 ±0)`
// Estimated: `8946`
// Minimum execution time: 15_216 nanoseconds.
Weight::from_ref_time(18_117_657)
.saturating_add(Weight::from_proof_size(8946))
// Standard Error: 1_132
.saturating_add(Weight::from_ref_time(76_255).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: Democracy NextExternal (r:1 w:0)
/// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen)
/// Storage: Preimage StatusFor (r:1 w:0)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// Storage: Democracy MetadataOf (r:0 w:1)
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
fn set_external_metadata() -> Weight {
Weight::from_parts(17_946_000, 3193)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
// Proof Size summary in bytes:
// Measured: `395`
// Estimated: `3193`
// Minimum execution time: 18_792 nanoseconds.
Weight::from_ref_time(19_158_000)
.saturating_add(Weight::from_proof_size(3193))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: Democracy NextExternal (r:1 w:0)
/// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen)
/// Storage: Democracy MetadataOf (r:1 w:1)
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
fn clear_external_metadata() -> Weight {
Weight::from_parts(15_990_000, 3155)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
// Proof Size summary in bytes:
// Measured: `253`
// Estimated: `3155`
// Minimum execution time: 16_758 nanoseconds.
Weight::from_ref_time(17_128_000)
.saturating_add(Weight::from_proof_size(3155))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: Democracy PublicProps (r:1 w:0)
/// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen)
/// Storage: Preimage StatusFor (r:1 w:0)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// Storage: Democracy MetadataOf (r:0 w:1)
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
fn set_proposal_metadata() -> Weight {
Weight::from_parts(37_778_000, 19763)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
// Proof Size summary in bytes:
// Measured: `4958`
// Estimated: `19763`
// Minimum execution time: 30_905 nanoseconds.
Weight::from_ref_time(31_384_000)
.saturating_add(Weight::from_proof_size(19763))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: Democracy PublicProps (r:1 w:0)
/// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen)
/// Storage: Democracy MetadataOf (r:1 w:1)
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
fn clear_proposal_metadata() -> Weight {
Weight::from_parts(34_737_000, 19725)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
// Proof Size summary in bytes:
// Measured: `4820`
// Estimated: `19725`
// Minimum execution time: 28_146 nanoseconds.
Weight::from_ref_time(28_679_000)
.saturating_add(Weight::from_proof_size(19725))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: Preimage StatusFor (r:1 w:0)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// Storage: Democracy MetadataOf (r:0 w:1)
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
fn set_referendum_metadata() -> Weight {
Weight::from_parts(13_463_000, 2566)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
// Proof Size summary in bytes:
// Measured: `216`
// Estimated: `2566`
// Minimum execution time: 14_567 nanoseconds.
Weight::from_ref_time(14_878_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: Democracy ReferendumInfoOf (r:1 w:0)
/// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen)
/// Storage: Democracy MetadataOf (r:1 w:1)
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
fn clear_referendum_metadata() -> Weight {
Weight::from_parts(18_399_000, 5204)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
// Proof Size summary in bytes:
// Measured: `269`
// Estimated: `5204`
// Minimum execution time: 17_867 nanoseconds.
Weight::from_ref_time(18_218_000)
.saturating_add(Weight::from_proof_size(5204))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_elections_phragmen`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,153 +45,259 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_elections_phragmen`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightInfo<T> {
// Storage: PhragmenElection Candidates (r:1 w:0)
// Storage: PhragmenElection Members (r:1 w:0)
// Storage: PhragmenElection RunnersUp (r:1 w:0)
// Storage: PhragmenElection Voting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
/// Storage: PhragmenElection Candidates (r:1 w:0)
/// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PhragmenElection Members (r:1 w:0)
/// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PhragmenElection RunnersUp (r:1 w:0)
/// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PhragmenElection Voting (r:1 w:1)
/// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// The range of component `v` is `[1, 16]`.
fn vote_equal(v: u32, ) -> Weight {
// Minimum execution time: 32_677 nanoseconds.
Weight::from_ref_time(34_227_352)
// Standard Error: 5_345
.saturating_add(Weight::from_ref_time(224_235).saturating_mul(v.into()))
// Proof Size summary in bytes:
// Measured: `427 + v * (80 ±0)`
// Estimated: `9438 + v * (320 ±0)`
// Minimum execution time: 24_582 nanoseconds.
Weight::from_ref_time(25_601_833)
.saturating_add(Weight::from_proof_size(9438))
// Standard Error: 2_778
.saturating_add(Weight::from_ref_time(98_028).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(Weight::from_proof_size(320).saturating_mul(v.into()))
}
// Storage: PhragmenElection Candidates (r:1 w:0)
// Storage: PhragmenElection Members (r:1 w:0)
// Storage: PhragmenElection RunnersUp (r:1 w:0)
// Storage: PhragmenElection Voting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
/// Storage: PhragmenElection Candidates (r:1 w:0)
/// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PhragmenElection Members (r:1 w:0)
/// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PhragmenElection RunnersUp (r:1 w:0)
/// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PhragmenElection Voting (r:1 w:1)
/// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// The range of component `v` is `[2, 16]`.
fn vote_more(v: u32, ) -> Weight {
// Minimum execution time: 44_181 nanoseconds.
Weight::from_ref_time(45_320_635)
// Standard Error: 7_484
.saturating_add(Weight::from_ref_time(266_913).saturating_mul(v.into()))
// Proof Size summary in bytes:
// Measured: `395 + v * (80 ±0)`
// Estimated: `9310 + v * (320 ±0)`
// Minimum execution time: 33_162 nanoseconds.
Weight::from_ref_time(34_408_894)
.saturating_add(Weight::from_proof_size(9310))
// Standard Error: 3_459
.saturating_add(Weight::from_ref_time(107_049).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(Weight::from_proof_size(320).saturating_mul(v.into()))
}
// Storage: PhragmenElection Candidates (r:1 w:0)
// Storage: PhragmenElection Members (r:1 w:0)
// Storage: PhragmenElection RunnersUp (r:1 w:0)
// Storage: PhragmenElection Voting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
/// Storage: PhragmenElection Candidates (r:1 w:0)
/// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PhragmenElection Members (r:1 w:0)
/// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PhragmenElection RunnersUp (r:1 w:0)
/// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PhragmenElection Voting (r:1 w:1)
/// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// The range of component `v` is `[2, 16]`.
fn vote_less(v: u32, ) -> Weight {
// Minimum execution time: 43_404 nanoseconds.
Weight::from_ref_time(45_277_395)
// Standard Error: 8_628
.saturating_add(Weight::from_ref_time(281_032).saturating_mul(v.into()))
// Proof Size summary in bytes:
// Measured: `427 + v * (80 ±0)`
// Estimated: `9438 + v * (320 ±0)`
// Minimum execution time: 33_075 nanoseconds.
Weight::from_ref_time(34_558_830)
.saturating_add(Weight::from_proof_size(9438))
// Standard Error: 7_844
.saturating_add(Weight::from_ref_time(93_110).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(Weight::from_proof_size(320).saturating_mul(v.into()))
}
// Storage: PhragmenElection Voting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
/// Storage: PhragmenElection Voting (r:1 w:1)
/// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
fn remove_voter() -> Weight {
// Minimum execution time: 43_044 nanoseconds.
Weight::from_ref_time(45_495_000)
// Proof Size summary in bytes:
// Measured: `917`
// Estimated: `7166`
// Minimum execution time: 29_431 nanoseconds.
Weight::from_ref_time(29_743_000)
.saturating_add(Weight::from_proof_size(7166))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: PhragmenElection Candidates (r:1 w:1)
// Storage: PhragmenElection Members (r:1 w:0)
// Storage: PhragmenElection RunnersUp (r:1 w:0)
/// Storage: PhragmenElection Candidates (r:1 w:1)
/// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PhragmenElection Members (r:1 w:0)
/// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PhragmenElection RunnersUp (r:1 w:0)
/// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `c` is `[1, 1000]`.
fn submit_candidacy(c: u32, ) -> Weight {
// Minimum execution time: 45_448 nanoseconds.
Weight::from_ref_time(34_113_986)
// Standard Error: 1_620
.saturating_add(Weight::from_ref_time(140_766).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `2805 + c * (48 ±0)`
// Estimated: `9894 + c * (144 ±0)`
// Minimum execution time: 27_507 nanoseconds.
Weight::from_ref_time(20_235_171)
.saturating_add(Weight::from_proof_size(9894))
// Standard Error: 877
.saturating_add(Weight::from_ref_time(87_558).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_proof_size(144).saturating_mul(c.into()))
}
// Storage: PhragmenElection Candidates (r:1 w:1)
/// Storage: PhragmenElection Candidates (r:1 w:1)
/// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `c` is `[1, 1000]`.
fn renounce_candidacy_candidate(c: u32, ) -> Weight {
// Minimum execution time: 40_252 nanoseconds.
Weight::from_ref_time(31_471_189)
// Standard Error: 1_493
.saturating_add(Weight::from_ref_time(113_030).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `314 + c * (48 ±0)`
// Estimated: `796 + c * (48 ±0)`
// Minimum execution time: 22_940 nanoseconds.
Weight::from_ref_time(15_989_682)
.saturating_add(Weight::from_proof_size(796))
// Standard Error: 876
.saturating_add(Weight::from_ref_time(57_772).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_proof_size(48).saturating_mul(c.into()))
}
// Storage: PhragmenElection Members (r:1 w:1)
// Storage: PhragmenElection RunnersUp (r:1 w:1)
// Storage: Council Prime (r:1 w:1)
// Storage: Council Proposals (r:1 w:0)
// Storage: Council Members (r:0 w:1)
/// Storage: PhragmenElection Members (r:1 w:1)
/// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PhragmenElection RunnersUp (r:1 w:1)
/// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council Prime (r:1 w:1)
/// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council Proposals (r:1 w:0)
/// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council Members (r:0 w:1)
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
fn renounce_candidacy_members() -> Weight {
// Minimum execution time: 55_915 nanoseconds.
Weight::from_ref_time(57_846_000)
// Proof Size summary in bytes:
// Measured: `3079`
// Estimated: `17375`
// Minimum execution time: 40_172 nanoseconds.
Weight::from_ref_time(40_681_000)
.saturating_add(Weight::from_proof_size(17375))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: PhragmenElection RunnersUp (r:1 w:1)
/// Storage: PhragmenElection RunnersUp (r:1 w:1)
/// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured)
fn renounce_candidacy_runners_up() -> Weight {
// Minimum execution time: 42_213 nanoseconds.
Weight::from_ref_time(43_554_000)
// Proof Size summary in bytes:
// Measured: `1742`
// Estimated: `2237`
// Minimum execution time: 25_522 nanoseconds.
Weight::from_ref_time(26_206_000)
.saturating_add(Weight::from_proof_size(2237))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Benchmark Override (r:0 w:0)
/// Storage: Benchmark Override (r:0 w:0)
/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
fn remove_member_without_replacement() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_000_000_000 nanoseconds.
Weight::from_ref_time(2_000_000_000_000)
.saturating_add(Weight::from_proof_size(0))
}
// Storage: PhragmenElection Members (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: PhragmenElection RunnersUp (r:1 w:1)
// Storage: Council Prime (r:1 w:1)
// Storage: Council Proposals (r:1 w:0)
// Storage: Council Members (r:0 w:1)
/// Storage: PhragmenElection Members (r:1 w:1)
/// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: PhragmenElection RunnersUp (r:1 w:1)
/// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council Prime (r:1 w:1)
/// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council Proposals (r:1 w:0)
/// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council Members (r:0 w:1)
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
fn remove_member_with_replacement() -> Weight {
// Minimum execution time: 74_919 nanoseconds.
Weight::from_ref_time(77_262_000)
// Proof Size summary in bytes:
// Measured: `3079`
// Estimated: `19978`
// Minimum execution time: 54_309 nanoseconds.
Weight::from_ref_time(55_097_000)
.saturating_add(Weight::from_proof_size(19978))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: PhragmenElection Voting (r:5001 w:5000)
// Storage: PhragmenElection Members (r:1 w:0)
// Storage: PhragmenElection RunnersUp (r:1 w:0)
// Storage: PhragmenElection Candidates (r:1 w:0)
// Storage: Balances Locks (r:5000 w:5000)
// Storage: System Account (r:5000 w:5000)
/// Storage: PhragmenElection Voting (r:10001 w:10000)
/// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: PhragmenElection Members (r:1 w:0)
/// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PhragmenElection RunnersUp (r:1 w:0)
/// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PhragmenElection Candidates (r:1 w:0)
/// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Balances Locks (r:10000 w:10000)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// Storage: System Account (r:10000 w:10000)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `v` is `[5000, 10000]`.
/// The range of component `d` is `[0, 5000]`.
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
// Minimum execution time: 322_078_105 nanoseconds.
Weight::from_ref_time(324_383_527_000)
// Standard Error: 275_673
.saturating_add(Weight::from_ref_time(40_225_987).saturating_mul(v.into()))
// Proof Size summary in bytes:
// Measured: `35961 + v * (872 ±0)`
// Estimated: `148908 + v * (12340 ±0)`
// Minimum execution time: 296_803_791 nanoseconds.
Weight::from_ref_time(298_351_085_000)
.saturating_add(Weight::from_proof_size(148908))
// Standard Error: 257_135
.saturating_add(Weight::from_ref_time(37_138_623).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into())))
.saturating_add(Weight::from_proof_size(12340).saturating_mul(v.into()))
}
// Storage: PhragmenElection Candidates (r:1 w:1)
// Storage: PhragmenElection Members (r:1 w:1)
// Storage: PhragmenElection RunnersUp (r:1 w:1)
// Storage: PhragmenElection Voting (r:10001 w:0)
// Storage: Council Proposals (r:1 w:0)
// Storage: PhragmenElection ElectionRounds (r:1 w:1)
// Storage: Council Members (r:0 w:1)
// Storage: Council Prime (r:0 w:1)
// Storage: System Account (r:3 w:3)
/// Storage: PhragmenElection Candidates (r:1 w:1)
/// Proof Skipped: PhragmenElection Candidates (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PhragmenElection Members (r:1 w:1)
/// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PhragmenElection RunnersUp (r:1 w:1)
/// Proof Skipped: PhragmenElection RunnersUp (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: PhragmenElection Voting (r:10001 w:0)
/// Proof Skipped: PhragmenElection Voting (max_values: None, max_size: None, mode: Measured)
/// Storage: Council Proposals (r:1 w:0)
/// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: System Account (r:962 w:962)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: PhragmenElection ElectionRounds (r:1 w:1)
/// Proof Skipped: PhragmenElection ElectionRounds (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council Members (r:0 w:1)
/// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Council Prime (r:0 w:1)
/// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `c` is `[1, 1000]`.
/// The range of component `v` is `[1, 10000]`.
/// The range of component `e` is `[10000, 160000]`.
fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight {
// Minimum execution time: 34_971_691 nanoseconds.
Weight::from_ref_time(35_553_879_000)
// Standard Error: 497_428
.saturating_add(Weight::from_ref_time(42_656_388).saturating_mul(v.into()))
// Standard Error: 31_921
.saturating_add(Weight::from_ref_time(2_044_392).saturating_mul(e.into()))
// Proof Size summary in bytes:
// Measured: `0 + v * (639 ±0) + e * (28 ±0)`
// Estimated: `5334639 + v * (5714 ±4) + e * (123 ±0) + c * (2560 ±0)`
// Minimum execution time: 31_537_372 nanoseconds.
Weight::from_ref_time(31_663_201_000)
.saturating_add(Weight::from_proof_size(5334639))
// Standard Error: 540_619
.saturating_add(Weight::from_ref_time(44_981_688).saturating_mul(v.into()))
// Standard Error: 34_693
.saturating_add(Weight::from_ref_time(2_335_777).saturating_mul(e.into()))
.saturating_add(T::DbWeight::get().reads(265))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().writes(6))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
.saturating_add(Weight::from_proof_size(5714).saturating_mul(v.into()))
.saturating_add(Weight::from_proof_size(123).saturating_mul(e.into()))
.saturating_add(Weight::from_proof_size(2560).saturating_mul(c.into()))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_identity`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,209 +45,307 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_identity`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity Registrars (r:1 w:1)
/// Storage: Identity Registrars (r:1 w:1)
/// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 19]`.
fn add_registrar(r: u32, ) -> Weight {
// Minimum execution time: 18_050 nanoseconds.
Weight::from_ref_time(19_099_537)
// Standard Error: 3_507
.saturating_add(Weight::from_ref_time(153_839).saturating_mul(r.into()))
// Proof Size summary in bytes:
// Measured: `64 + r * (57 ±0)`
// Estimated: `1636`
// Minimum execution time: 11_484 nanoseconds.
Weight::from_ref_time(11_740_457)
.saturating_add(Weight::from_proof_size(1636))
// Standard Error: 1_350
.saturating_add(Weight::from_ref_time(92_095).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity IdentityOf (r:1 w:1)
/// Storage: Identity IdentityOf (r:1 w:1)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[0, 100]`.
fn set_identity(r: u32, x: u32, ) -> Weight {
// Minimum execution time: 37_894 nanoseconds.
Weight::from_ref_time(35_797_961)
// Standard Error: 6_226
.saturating_add(Weight::from_ref_time(243_817).saturating_mul(r.into()))
// Standard Error: 1_214
.saturating_add(Weight::from_ref_time(339_426).saturating_mul(x.into()))
// Proof Size summary in bytes:
// Measured: `474 + r * (5 ±0)`
// Estimated: `10013`
// Minimum execution time: 26_188 nanoseconds.
Weight::from_ref_time(25_756_775)
.saturating_add(Weight::from_proof_size(10013))
// Standard Error: 3_875
.saturating_add(Weight::from_ref_time(70_887).saturating_mul(r.into()))
// Standard Error: 756
.saturating_add(Weight::from_ref_time(350_640).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity SuperOf (r:2 w:2)
/// Storage: Identity IdentityOf (r:1 w:0)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// Storage: Identity SubsOf (r:1 w:1)
/// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
/// Storage: Identity SuperOf (r:100 w:100)
/// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 100]`.
fn set_subs_new(s: u32, ) -> Weight {
// Minimum execution time: 10_742 nanoseconds.
Weight::from_ref_time(28_861_840)
// Standard Error: 5_212
.saturating_add(Weight::from_ref_time(2_612_382).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `101`
// Estimated: `15746 + s * (2589 ±0)`
// Minimum execution time: 8_016 nanoseconds.
Weight::from_ref_time(20_090_309)
.saturating_add(Weight::from_proof_size(15746))
// Standard Error: 3_655
.saturating_add(Weight::from_ref_time(2_283_335).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
.saturating_add(Weight::from_proof_size(2589).saturating_mul(s.into()))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity SuperOf (r:0 w:2)
/// Storage: Identity IdentityOf (r:1 w:0)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// Storage: Identity SubsOf (r:1 w:1)
/// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
/// Storage: Identity SuperOf (r:0 w:100)
/// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
/// The range of component `p` is `[0, 100]`.
fn set_subs_old(p: u32, ) -> Weight {
// Minimum execution time: 10_758 nanoseconds.
Weight::from_ref_time(28_876_790)
// Standard Error: 4_432
.saturating_add(Weight::from_ref_time(1_167_813).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `226 + p * (32 ±0)`
// Estimated: `15746`
// Minimum execution time: 8_035 nanoseconds.
Weight::from_ref_time(19_576_879)
.saturating_add(Weight::from_proof_size(15746))
// Standard Error: 2_917
.saturating_add(Weight::from_ref_time(951_283).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity IdentityOf (r:1 w:1)
// Storage: Identity SuperOf (r:0 w:100)
/// Storage: Identity SubsOf (r:1 w:1)
/// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
/// Storage: Identity IdentityOf (r:1 w:1)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// Storage: Identity SuperOf (r:0 w:100)
/// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 20]`.
/// The range of component `s` is `[0, 100]`.
/// The range of component `x` is `[0, 100]`.
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
// Minimum execution time: 54_937 nanoseconds.
Weight::from_ref_time(37_163_527)
// Standard Error: 10_657
.saturating_add(Weight::from_ref_time(226_196).saturating_mul(r.into()))
// Standard Error: 2_081
.saturating_add(Weight::from_ref_time(1_146_551).saturating_mul(s.into()))
// Standard Error: 2_081
.saturating_add(Weight::from_ref_time(186_218).saturating_mul(x.into()))
// Proof Size summary in bytes:
// Measured: `533 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)`
// Estimated: `15746`
// Minimum execution time: 41_620 nanoseconds.
Weight::from_ref_time(26_578_691)
.saturating_add(Weight::from_proof_size(15746))
// Standard Error: 3_970
.saturating_add(Weight::from_ref_time(10_060).saturating_mul(r.into()))
// Standard Error: 775
.saturating_add(Weight::from_ref_time(932_578).saturating_mul(s.into()))
// Standard Error: 775
.saturating_add(Weight::from_ref_time(179_164).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
}
// Storage: Identity Registrars (r:1 w:0)
// Storage: Identity IdentityOf (r:1 w:1)
/// Storage: Identity Registrars (r:1 w:0)
/// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
/// Storage: Identity IdentityOf (r:1 w:1)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[0, 100]`.
fn request_judgement(r: u32, x: u32, ) -> Weight {
// Minimum execution time: 39_900 nanoseconds.
Weight::from_ref_time(37_527_482)
// Standard Error: 6_804
.saturating_add(Weight::from_ref_time(232_221).saturating_mul(r.into()))
// Standard Error: 1_327
.saturating_add(Weight::from_ref_time(353_611).saturating_mul(x.into()))
// Proof Size summary in bytes:
// Measured: `431 + r * (57 ±0) + x * (66 ±0)`
// Estimated: `11649`
// Minimum execution time: 27_111 nanoseconds.
Weight::from_ref_time(25_663_051)
.saturating_add(Weight::from_proof_size(11649))
// Standard Error: 4_323
.saturating_add(Weight::from_ref_time(122_984).saturating_mul(r.into()))
// Standard Error: 843
.saturating_add(Weight::from_ref_time(372_656).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity IdentityOf (r:1 w:1)
/// Storage: Identity IdentityOf (r:1 w:1)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[0, 100]`.
fn cancel_request(r: u32, x: u32, ) -> Weight {
// Minimum execution time: 34_633 nanoseconds.
Weight::from_ref_time(35_325_047)
// Standard Error: 6_588
.saturating_add(Weight::from_ref_time(165_512).saturating_mul(r.into()))
// Standard Error: 1_285
.saturating_add(Weight::from_ref_time(342_476).saturating_mul(x.into()))
// Proof Size summary in bytes:
// Measured: `430 + x * (66 ±0)`
// Estimated: `10013`
// Minimum execution time: 24_282 nanoseconds.
Weight::from_ref_time(23_903_496)
.saturating_add(Weight::from_proof_size(10013))
// Standard Error: 3_985
.saturating_add(Weight::from_ref_time(65_397).saturating_mul(r.into()))
// Standard Error: 777
.saturating_add(Weight::from_ref_time(364_635).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity Registrars (r:1 w:1)
/// Storage: Identity Registrars (r:1 w:1)
/// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 19]`.
fn set_fee(r: u32, ) -> Weight {
// Minimum execution time: 9_038 nanoseconds.
Weight::from_ref_time(9_775_885)
// Standard Error: 1_976
.saturating_add(Weight::from_ref_time(111_168).saturating_mul(r.into()))
// Proof Size summary in bytes:
// Measured: `121 + r * (57 ±0)`
// Estimated: `1636`
// Minimum execution time: 6_853 nanoseconds.
Weight::from_ref_time(7_235_281)
.saturating_add(Weight::from_proof_size(1636))
// Standard Error: 1_905
.saturating_add(Weight::from_ref_time(86_483).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity Registrars (r:1 w:1)
/// Storage: Identity Registrars (r:1 w:1)
/// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 19]`.
fn set_account_id(r: u32, ) -> Weight {
// Minimum execution time: 9_448 nanoseconds.
Weight::from_ref_time(10_163_483)
// Standard Error: 2_470
.saturating_add(Weight::from_ref_time(108_455).saturating_mul(r.into()))
// Proof Size summary in bytes:
// Measured: `121 + r * (57 ±0)`
// Estimated: `1636`
// Minimum execution time: 6_630 nanoseconds.
Weight::from_ref_time(7_143_367)
.saturating_add(Weight::from_proof_size(1636))
// Standard Error: 1_174
.saturating_add(Weight::from_ref_time(89_603).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity Registrars (r:1 w:1)
/// Storage: Identity Registrars (r:1 w:1)
/// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 19]`.
fn set_fields(r: u32, ) -> Weight {
// Minimum execution time: 9_225 nanoseconds.
Weight::from_ref_time(10_055_521)
// Standard Error: 2_827
.saturating_add(Weight::from_ref_time(109_981).saturating_mul(r.into()))
// Proof Size summary in bytes:
// Measured: `121 + r * (57 ±0)`
// Estimated: `1636`
// Minimum execution time: 6_425 nanoseconds.
Weight::from_ref_time(6_948_996)
.saturating_add(Weight::from_proof_size(1636))
// Standard Error: 1_179
.saturating_add(Weight::from_ref_time(88_332).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity Registrars (r:1 w:0)
// Storage: Identity IdentityOf (r:1 w:1)
/// Storage: Identity Registrars (r:1 w:0)
/// Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen)
/// Storage: Identity IdentityOf (r:1 w:1)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 19]`.
/// The range of component `x` is `[0, 100]`.
fn provide_judgement(r: u32, x: u32, ) -> Weight {
// Minimum execution time: 28_546 nanoseconds.
Weight::from_ref_time(28_703_647)
// Standard Error: 6_629
.saturating_add(Weight::from_ref_time(136_425).saturating_mul(r.into()))
// Standard Error: 1_226
.saturating_add(Weight::from_ref_time(598_279).saturating_mul(x.into()))
// Proof Size summary in bytes:
// Measured: `509 + r * (57 ±0) + x * (66 ±0)`
// Estimated: `11649`
// Minimum execution time: 20_752 nanoseconds.
Weight::from_ref_time(21_143_987)
.saturating_add(Weight::from_proof_size(11649))
// Standard Error: 5_492
.saturating_add(Weight::from_ref_time(72_568).saturating_mul(r.into()))
// Standard Error: 1_016
.saturating_add(Weight::from_ref_time(608_754).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity IdentityOf (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: Identity SuperOf (r:0 w:100)
/// Storage: Identity SubsOf (r:1 w:1)
/// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
/// Storage: Identity IdentityOf (r:1 w:1)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Identity SuperOf (r:0 w:100)
/// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
/// The range of component `r` is `[1, 20]`.
/// The range of component `s` is `[0, 100]`.
/// The range of component `x` is `[0, 100]`.
fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {
// Minimum execution time: 70_327 nanoseconds.
Weight::from_ref_time(49_590_782)
// Standard Error: 11_218
.saturating_add(Weight::from_ref_time(231_936).saturating_mul(r.into()))
// Standard Error: 2_190
.saturating_add(Weight::from_ref_time(1_162_176).saturating_mul(s.into()))
// Standard Error: 2_190
.saturating_add(Weight::from_ref_time(202_465).saturating_mul(x.into()))
// Proof Size summary in bytes:
// Measured: `772 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)`
// Estimated: `18349`
// Minimum execution time: 54_134 nanoseconds.
Weight::from_ref_time(39_967_952)
.saturating_add(Weight::from_proof_size(18349))
// Standard Error: 5_009
.saturating_add(Weight::from_ref_time(7_852).saturating_mul(r.into()))
// Standard Error: 978
.saturating_add(Weight::from_ref_time(938_504).saturating_mul(s.into()))
// Standard Error: 978
.saturating_add(Weight::from_ref_time(175_557).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
/// Storage: Identity IdentityOf (r:1 w:0)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// Storage: Identity SuperOf (r:1 w:1)
/// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
/// Storage: Identity SubsOf (r:1 w:1)
/// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 99]`.
fn add_sub(s: u32, ) -> Weight {
// Minimum execution time: 33_939 nanoseconds.
Weight::from_ref_time(39_839_659)
// Standard Error: 1_997
.saturating_add(Weight::from_ref_time(125_657).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `507 + s * (36 ±0)`
// Estimated: `18335`
// Minimum execution time: 23_153 nanoseconds.
Weight::from_ref_time(27_781_318)
.saturating_add(Weight::from_proof_size(18335))
// Standard Error: 1_330
.saturating_add(Weight::from_ref_time(76_925).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SuperOf (r:1 w:1)
/// Storage: Identity IdentityOf (r:1 w:0)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// Storage: Identity SuperOf (r:1 w:1)
/// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
/// The range of component `s` is `[1, 100]`.
fn rename_sub(s: u32, ) -> Weight {
// Minimum execution time: 14_478 nanoseconds.
Weight::from_ref_time(16_138_721)
// Standard Error: 859
.saturating_add(Weight::from_ref_time(55_065).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `623 + s * (3 ±0)`
// Estimated: `12602`
// Minimum execution time: 11_203 nanoseconds.
Weight::from_ref_time(13_352_816)
.saturating_add(Weight::from_proof_size(12602))
// Standard Error: 582
.saturating_add(Weight::from_ref_time(16_080).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
/// Storage: Identity IdentityOf (r:1 w:0)
/// Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen)
/// Storage: Identity SuperOf (r:1 w:1)
/// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
/// Storage: Identity SubsOf (r:1 w:1)
/// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
/// The range of component `s` is `[1, 100]`.
fn remove_sub(s: u32, ) -> Weight {
// Minimum execution time: 38_929 nanoseconds.
Weight::from_ref_time(41_549_387)
// Standard Error: 1_574
.saturating_add(Weight::from_ref_time(116_053).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `702 + s * (35 ±0)`
// Estimated: `18335`
// Minimum execution time: 26_415 nanoseconds.
Weight::from_ref_time(30_414_158)
.saturating_add(Weight::from_proof_size(18335))
// Standard Error: 1_304
.saturating_add(Weight::from_ref_time(48_499).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
/// Storage: Identity SuperOf (r:1 w:1)
/// Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
/// Storage: Identity SubsOf (r:1 w:1)
/// Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 99]`.
fn quit_sub(s: u32, ) -> Weight {
// Minimum execution time: 27_185 nanoseconds.
Weight::from_ref_time(29_827_240)
// Standard Error: 1_486
.saturating_add(Weight::from_ref_time(105_510).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `628 + s * (37 ±0)`
// Estimated: `8322`
// Minimum execution time: 18_109 nanoseconds.
Weight::from_ref_time(20_718_865)
.saturating_add(Weight::from_proof_size(8322))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(59_385).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_im_online`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,22 +45,34 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_im_online`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> {
// Storage: Session Validators (r:1 w:0)
// Storage: Session CurrentIndex (r:1 w:0)
// Storage: ImOnline ReceivedHeartbeats (r:1 w:1)
// Storage: ImOnline AuthoredBlocks (r:1 w:0)
// Storage: ImOnline Keys (r:1 w:0)
// Storage: unknown [0x39e295d143ed41353167609a3d816584] (r:1 w:0)
/// Storage: Session Validators (r:1 w:0)
/// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Session CurrentIndex (r:1 w:0)
/// Proof Skipped: Session CurrentIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ImOnline Keys (r:1 w:0)
/// Proof: ImOnline Keys (max_values: Some(1), max_size: Some(320002), added: 320497, mode: MaxEncodedLen)
/// Storage: unknown `0x39e295d143ed41353167609a3d816584` (r:1 w:0)
/// Proof Skipped: unknown `0x39e295d143ed41353167609a3d816584` (r:1 w:0)
/// Storage: ImOnline ReceivedHeartbeats (r:1 w:1)
/// Proof: ImOnline ReceivedHeartbeats (max_values: None, max_size: Some(10021032), added: 10023507, mode: MaxEncodedLen)
/// Storage: ImOnline AuthoredBlocks (r:1 w:0)
/// Proof: ImOnline AuthoredBlocks (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen)
/// The range of component `k` is `[1, 1000]`.
/// The range of component `e` is `[1, 100]`.
fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight {
// Minimum execution time: 123_796 nanoseconds.
Weight::from_ref_time(104_073_855)
// Standard Error: 453
.saturating_add(Weight::from_ref_time(35_993).saturating_mul(k.into()))
// Standard Error: 4_567
.saturating_add(Weight::from_ref_time(399_291).saturating_mul(e.into()))
// Proof Size summary in bytes:
// Measured: `458 + k * (32 ±0)`
// Estimated: `10348843 + e * (25 ±0) + k * (96 ±0)`
// Minimum execution time: 90_362 nanoseconds.
Weight::from_ref_time(74_312_496)
.saturating_add(Weight::from_proof_size(10348843))
// Standard Error: 346
.saturating_add(Weight::from_ref_time(23_681).saturating_mul(k.into()))
// Standard Error: 3_496
.saturating_add(Weight::from_ref_time(310_557).saturating_mul(e.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_proof_size(25).saturating_mul(e.into()))
.saturating_add(Weight::from_proof_size(96).saturating_mul(k.into()))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_indices`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,40 +45,67 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_indices`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_indices::WeightInfo for WeightInfo<T> {
// Storage: Indices Accounts (r:1 w:1)
/// Storage: Indices Accounts (r:1 w:1)
/// Proof: Indices Accounts (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
fn claim() -> Weight {
// Minimum execution time: 28_482 nanoseconds.
Weight::from_ref_time(29_129_000)
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `2544`
// Minimum execution time: 17_955 nanoseconds.
Weight::from_ref_time(18_262_000)
.saturating_add(Weight::from_proof_size(2544))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Indices Accounts (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Indices Accounts (r:1 w:1)
/// Proof: Indices Accounts (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)
fn transfer() -> Weight {
// Minimum execution time: 34_660 nanoseconds.
Weight::from_ref_time(35_677_000)
// Proof Size summary in bytes:
// Measured: `405`
// Estimated: `5147`
// Minimum execution time: 23_690 nanoseconds.
Weight::from_ref_time(24_058_000)
.saturating_add(Weight::from_proof_size(5147))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Indices Accounts (r:1 w:1)
/// Storage: Indices Accounts (r:1 w:1)
/// Proof: Indices Accounts (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
fn free() -> Weight {
// Minimum execution time: 28_758 nanoseconds.
Weight::from_ref_time(29_865_000)
// Proof Size summary in bytes:
// Measured: `270`
// Estimated: `2544`
// Minimum execution time: 19_452 nanoseconds.
Weight::from_ref_time(19_649_000)
.saturating_add(Weight::from_proof_size(2544))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Indices Accounts (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Indices Accounts (r:1 w:1)
/// Proof: Indices Accounts (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)
fn force_transfer() -> Weight {
// Minimum execution time: 28_676 nanoseconds.
Weight::from_ref_time(30_082_000)
// Proof Size summary in bytes:
// Measured: `405`
// Estimated: `5147`
// Minimum execution time: 22_612 nanoseconds.
Weight::from_ref_time(23_037_000)
.saturating_add(Weight::from_proof_size(5147))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Indices Accounts (r:1 w:1)
/// Storage: Indices Accounts (r:1 w:1)
/// Proof: Indices Accounts (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
fn freeze() -> Weight {
// Minimum execution time: 34_024 nanoseconds.
Weight::from_ref_time(35_547_000)
// Proof Size summary in bytes:
// Measured: `270`
// Estimated: `2544`
// Minimum execution time: 21_868 nanoseconds.
Weight::from_ref_time(23_092_000)
.saturating_add(Weight::from_proof_size(2544))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_membership`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,93 +45,158 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_membership`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
// Storage: TechnicalMembership Members (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:0)
// Storage: TechnicalCommittee Members (r:0 w:1)
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// Storage: TechnicalMembership Members (r:1 w:1)
/// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
/// Storage: TechnicalCommittee Proposals (r:1 w:0)
/// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Members (r:0 w:1)
/// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Prime (r:0 w:1)
/// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[1, 99]`.
fn add_member(m: u32, ) -> Weight {
// Minimum execution time: 21_714 nanoseconds.
Weight::from_ref_time(22_733_685)
// Standard Error: 1_206
.saturating_add(Weight::from_ref_time(38_088).saturating_mul(m.into()))
// Proof Size summary in bytes:
// Measured: `204 + m * (64 ±0)`
// Estimated: `4801 + m * (192 ±0)`
// Minimum execution time: 16_090 nanoseconds.
Weight::from_ref_time(17_059_461)
.saturating_add(Weight::from_proof_size(4801))
// Standard Error: 455
.saturating_add(Weight::from_ref_time(37_850).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_proof_size(192).saturating_mul(m.into()))
}
// Storage: TechnicalMembership Members (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:0)
// Storage: TechnicalMembership Prime (r:1 w:0)
// Storage: TechnicalCommittee Members (r:0 w:1)
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// Storage: TechnicalMembership Members (r:1 w:1)
/// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
/// Storage: TechnicalCommittee Proposals (r:1 w:0)
/// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalMembership Prime (r:1 w:0)
/// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
/// Storage: TechnicalCommittee Members (r:0 w:1)
/// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Prime (r:0 w:1)
/// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[2, 100]`.
fn remove_member(m: u32, ) -> Weight {
// Minimum execution time: 24_217 nanoseconds.
Weight::from_ref_time(25_444_716)
// Standard Error: 685
.saturating_add(Weight::from_ref_time(31_952).saturating_mul(m.into()))
// Proof Size summary in bytes:
// Measured: `308 + m * (64 ±0)`
// Estimated: `5640 + m * (192 ±0)`
// Minimum execution time: 19_056 nanoseconds.
Weight::from_ref_time(19_552_391)
.saturating_add(Weight::from_proof_size(5640))
// Standard Error: 444
.saturating_add(Weight::from_ref_time(33_461).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_proof_size(192).saturating_mul(m.into()))
}
// Storage: TechnicalMembership Members (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:0)
// Storage: TechnicalMembership Prime (r:1 w:0)
// Storage: TechnicalCommittee Members (r:0 w:1)
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// Storage: TechnicalMembership Members (r:1 w:1)
/// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
/// Storage: TechnicalCommittee Proposals (r:1 w:0)
/// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalMembership Prime (r:1 w:0)
/// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
/// Storage: TechnicalCommittee Members (r:0 w:1)
/// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Prime (r:0 w:1)
/// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[2, 100]`.
fn swap_member(m: u32, ) -> Weight {
// Minimum execution time: 24_426 nanoseconds.
Weight::from_ref_time(25_522_861)
// Standard Error: 799
.saturating_add(Weight::from_ref_time(44_426).saturating_mul(m.into()))
// Proof Size summary in bytes:
// Measured: `308 + m * (64 ±0)`
// Estimated: `5640 + m * (192 ±0)`
// Minimum execution time: 18_985 nanoseconds.
Weight::from_ref_time(19_687_632)
.saturating_add(Weight::from_proof_size(5640))
// Standard Error: 494
.saturating_add(Weight::from_ref_time(49_503).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_proof_size(192).saturating_mul(m.into()))
}
// Storage: TechnicalMembership Members (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:0)
// Storage: TechnicalMembership Prime (r:1 w:0)
// Storage: TechnicalCommittee Members (r:0 w:1)
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// Storage: TechnicalMembership Members (r:1 w:1)
/// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
/// Storage: TechnicalCommittee Proposals (r:1 w:0)
/// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalMembership Prime (r:1 w:0)
/// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
/// Storage: TechnicalCommittee Members (r:0 w:1)
/// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Prime (r:0 w:1)
/// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[1, 100]`.
fn reset_member(m: u32, ) -> Weight {
// Minimum execution time: 23_735 nanoseconds.
Weight::from_ref_time(25_259_554)
// Standard Error: 1_322
.saturating_add(Weight::from_ref_time(153_396).saturating_mul(m.into()))
// Proof Size summary in bytes:
// Measured: `308 + m * (64 ±0)`
// Estimated: `5640 + m * (192 ±0)`
// Minimum execution time: 17_991 nanoseconds.
Weight::from_ref_time(19_446_757)
.saturating_add(Weight::from_proof_size(5640))
// Standard Error: 825
.saturating_add(Weight::from_ref_time(162_485).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_proof_size(192).saturating_mul(m.into()))
}
// Storage: TechnicalMembership Members (r:1 w:1)
// Storage: TechnicalCommittee Proposals (r:1 w:0)
// Storage: TechnicalMembership Prime (r:1 w:1)
// Storage: TechnicalCommittee Members (r:0 w:1)
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// Storage: TechnicalMembership Members (r:1 w:1)
/// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
/// Storage: TechnicalCommittee Proposals (r:1 w:0)
/// Proof Skipped: TechnicalCommittee Proposals (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalMembership Prime (r:1 w:1)
/// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
/// Storage: TechnicalCommittee Members (r:0 w:1)
/// Proof Skipped: TechnicalCommittee Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TechnicalCommittee Prime (r:0 w:1)
/// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[1, 100]`.
fn change_key(m: u32, ) -> Weight {
// Minimum execution time: 24_948 nanoseconds.
Weight::from_ref_time(26_225_060)
// Standard Error: 1_467
.saturating_add(Weight::from_ref_time(42_107).saturating_mul(m.into()))
// Proof Size summary in bytes:
// Measured: `308 + m * (64 ±0)`
// Estimated: `5640 + m * (192 ±0)`
// Minimum execution time: 19_453 nanoseconds.
Weight::from_ref_time(20_134_267)
.saturating_add(Weight::from_proof_size(5640))
// Standard Error: 552
.saturating_add(Weight::from_ref_time(47_143).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(Weight::from_proof_size(192).saturating_mul(m.into()))
}
// Storage: TechnicalMembership Members (r:1 w:0)
// Storage: TechnicalMembership Prime (r:0 w:1)
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// Storage: TechnicalMembership Members (r:1 w:0)
/// Proof: TechnicalMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen)
/// Storage: TechnicalMembership Prime (r:0 w:1)
/// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
/// Storage: TechnicalCommittee Prime (r:0 w:1)
/// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[1, 100]`.
fn set_prime(m: u32, ) -> Weight {
// Minimum execution time: 8_883 nanoseconds.
Weight::from_ref_time(9_313_090)
// Standard Error: 291
.saturating_add(Weight::from_ref_time(8_854).saturating_mul(m.into()))
// Proof Size summary in bytes:
// Measured: `64 + m * (32 ±0)`
// Estimated: `3761 + m * (32 ±0)`
// Minimum execution time: 7_625 nanoseconds.
Weight::from_ref_time(8_037_114)
.saturating_add(Weight::from_proof_size(3761))
// Standard Error: 199
.saturating_add(Weight::from_ref_time(10_858).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(Weight::from_proof_size(32).saturating_mul(m.into()))
}
// Storage: TechnicalMembership Prime (r:0 w:1)
// Storage: TechnicalCommittee Prime (r:0 w:1)
/// Storage: TechnicalMembership Prime (r:0 w:1)
/// Proof: TechnicalMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
/// Storage: TechnicalCommittee Prime (r:0 w:1)
/// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `m` is `[1, 100]`.
fn clear_prime(_m: u32, ) -> Weight {
// Minimum execution time: 5_174 nanoseconds.
Weight::from_ref_time(5_708_105)
fn clear_prime(m: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_149 nanoseconds.
Weight::from_ref_time(3_321_517)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 77
.saturating_add(Weight::from_ref_time(832).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().writes(2))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_multisig`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,80 +47,113 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
/// The range of component `z` is `[0, 10000]`.
fn as_multi_threshold_1(z: u32, ) -> Weight {
// Minimum execution time: 16_544 nanoseconds.
Weight::from_ref_time(18_309_933)
// Standard Error: 9
.saturating_add(Weight::from_ref_time(610).saturating_mul(z.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 11_954 nanoseconds.
Weight::from_ref_time(12_356_423)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(545).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_623 nanoseconds.
Weight::from_ref_time(36_061_466)
// Standard Error: 1_626
.saturating_add(Weight::from_ref_time(160_741).saturating_mul(s.into()))
// Standard Error: 15
.saturating_add(Weight::from_ref_time(1_962).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
// Proof Size summary in bytes:
// Measured: `244 + s * (2 ±0)`
// Estimated: `5821`
// Minimum execution time: 33_155 nanoseconds.
Weight::from_ref_time(27_412_722)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 567
.saturating_add(Weight::from_ref_time(68_014).saturating_mul(s.into()))
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_542).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_458 nanoseconds.
Weight::from_ref_time(25_419_081)
// Standard Error: 1_320
.saturating_add(Weight::from_ref_time(141_766).saturating_mul(s.into()))
// Standard Error: 12
.saturating_add(Weight::from_ref_time(1_891).saturating_mul(z.into()))
// Proof Size summary in bytes:
// Measured: `242`
// Estimated: `5821`
// Minimum execution time: 25_675 nanoseconds.
Weight::from_ref_time(19_465_181)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 462
.saturating_add(Weight::from_ref_time(71_417).saturating_mul(s.into()))
// Standard Error: 4
.saturating_add(Weight::from_ref_time(1_497).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: 53_942 nanoseconds.
Weight::from_ref_time(37_373_893)
// Standard Error: 1_504
.saturating_add(Weight::from_ref_time(189_355).saturating_mul(s.into()))
// Standard Error: 14
.saturating_add(Weight::from_ref_time(2_025).saturating_mul(z.into()))
// Proof Size summary in bytes:
// Measured: `380 + s * (33 ±0)`
// Estimated: `8424`
// Minimum execution time: 38_864 nanoseconds.
Weight::from_ref_time(31_068_973)
.saturating_add(Weight::from_proof_size(8424))
// Standard Error: 377
.saturating_add(Weight::from_ref_time(84_568).saturating_mul(s.into()))
// Standard Error: 3
.saturating_add(Weight::from_ref_time(1_569).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_create(s: u32, ) -> Weight {
// Minimum execution time: 33_208 nanoseconds.
Weight::from_ref_time(35_116_014)
// Standard Error: 1_471
.saturating_add(Weight::from_ref_time(156_831).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_approve(s: u32, ) -> Weight {
// Minimum execution time: 22_822 nanoseconds.
Weight::from_ref_time(23_714_943)
// Standard Error: 1_325
.saturating_add(Weight::from_ref_time(137_562).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `251 + s * (2 ±0)`
// Estimated: `5821`
// Minimum execution time: 24_468 nanoseconds.
Weight::from_ref_time(25_268_813)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 551
.saturating_add(Weight::from_ref_time(76_622).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: `242`
// Estimated: `5821`
// Minimum execution time: 16_489 nanoseconds.
Weight::from_ref_time(17_200_447)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 592
.saturating_add(Weight::from_ref_time(70_276).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
/// The range of component `s` is `[2, 100]`.
fn cancel_as_multi(s: u32, ) -> Weight {
// Minimum execution time: 32_642 nanoseconds.
Weight::from_ref_time(34_360_224)
// Standard Error: 1_531
.saturating_add(Weight::from_ref_time(145_598).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `446 + s * (1 ±0)`
// Estimated: `5821`
// Minimum execution time: 25_945 nanoseconds.
Weight::from_ref_time(26_519_398)
.saturating_add(Weight::from_proof_size(5821))
// Standard Error: 593
.saturating_add(Weight::from_ref_time(75_038).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
+147 -65
View File
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_nis`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,112 +45,193 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_nis`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_nis::WeightInfo for WeightInfo<T> {
// Storage: Nis Queues (r:1 w:1)
// Storage: Balances Reserves (r:1 w:1)
// Storage: Nis QueueTotals (r:1 w:1)
/// Storage: Nis Queues (r:1 w:1)
/// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
/// Storage: Balances Reserves (r:1 w:1)
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
/// Storage: Nis QueueTotals (r:1 w:1)
/// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(6002), added: 6497, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 999]`.
fn place_bid(l: u32, ) -> Weight {
// Minimum execution time: 39_300 nanoseconds.
Weight::from_ref_time(37_860_776)
// Standard Error: 1_149
.saturating_add(Weight::from_ref_time(107_779).saturating_mul(l.into()))
// Proof Size summary in bytes:
// Measured: `6278 + l * (48 ±0)`
// Estimated: `60718`
// Minimum execution time: 26_651 nanoseconds.
Weight::from_ref_time(28_993_951)
.saturating_add(Weight::from_proof_size(60718))
// Standard Error: 675
.saturating_add(Weight::from_ref_time(80_545).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Nis Queues (r:1 w:1)
// Storage: Balances Reserves (r:1 w:1)
// Storage: Nis QueueTotals (r:1 w:1)
/// Storage: Nis Queues (r:1 w:1)
/// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
/// Storage: Balances Reserves (r:1 w:1)
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
/// Storage: Nis QueueTotals (r:1 w:1)
/// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(6002), added: 6497, mode: MaxEncodedLen)
fn place_bid_max() -> Weight {
// Minimum execution time: 141_883 nanoseconds.
Weight::from_ref_time(145_745_000)
// Proof Size summary in bytes:
// Measured: `54280`
// Estimated: `60718`
// Minimum execution time: 103_774 nanoseconds.
Weight::from_ref_time(105_111_000)
.saturating_add(Weight::from_proof_size(60718))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Nis Queues (r:1 w:1)
// Storage: Nis QueueTotals (r:1 w:1)
// Storage: Balances Reserves (r:1 w:1)
/// Storage: Nis Queues (r:1 w:1)
/// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
/// Storage: Nis QueueTotals (r:1 w:1)
/// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(6002), added: 6497, mode: MaxEncodedLen)
/// Storage: Balances Reserves (r:1 w:1)
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
/// The range of component `l` is `[1, 1000]`.
fn retract_bid(l: u32, ) -> Weight {
// Minimum execution time: 46_575 nanoseconds.
Weight::from_ref_time(39_340_663)
// Standard Error: 1_163
.saturating_add(Weight::from_ref_time(91_453).saturating_mul(l.into()))
// Proof Size summary in bytes:
// Measured: `6278 + l * (48 ±0)`
// Estimated: `60718`
// Minimum execution time: 34_113 nanoseconds.
Weight::from_ref_time(30_119_340)
.saturating_add(Weight::from_proof_size(60718))
// Standard Error: 672
.saturating_add(Weight::from_ref_time(61_739).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Nis Summary (r:1 w:0)
// Storage: System Account (r:1 w:1)
/// Storage: Nis Summary (r:1 w:0)
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn fund_deficit() -> Weight {
// Minimum execution time: 45_167 nanoseconds.
Weight::from_ref_time(46_296_000)
// Proof Size summary in bytes:
// Measured: `256`
// Estimated: `3138`
// Minimum execution time: 31_298 nanoseconds.
Weight::from_ref_time(31_769_000)
.saturating_add(Weight::from_proof_size(3138))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Nis Receipts (r:1 w:1)
// Storage: Nis Summary (r:1 w:1)
// Storage: System Account (r:1 w:0)
// Storage: Balances Reserves (r:1 w:1)
/// Storage: Nis Receipts (r:1 w:1)
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
/// Storage: Nis Summary (r:1 w:1)
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:0)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances Reserves (r:1 w:1)
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
fn thaw_private() -> Weight {
// Minimum execution time: 60_402 nanoseconds.
Weight::from_ref_time(61_465_000)
// Proof Size summary in bytes:
// Measured: `456`
// Estimated: `9418`
// Minimum execution time: 42_385 nanoseconds.
Weight::from_ref_time(42_901_000)
.saturating_add(Weight::from_proof_size(9418))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Nis Receipts (r:1 w:1)
// Storage: Nis Summary (r:1 w:1)
// Storage: NisCounterpartBalances Account (r:1 w:1)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Nis Receipts (r:1 w:1)
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
/// Storage: Nis Summary (r:1 w:1)
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
/// Storage: NisCounterpartBalances Account (r:1 w:1)
/// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen)
/// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
/// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn thaw_communal() -> Weight {
// Minimum execution time: 75_199 nanoseconds.
Weight::from_ref_time(77_640_000)
// Proof Size summary in bytes:
// Measured: `698`
// Estimated: `8792`
// Minimum execution time: 59_372 nanoseconds.
Weight::from_ref_time(59_992_000)
.saturating_add(Weight::from_proof_size(8792))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Nis Receipts (r:1 w:1)
// Storage: Nis Summary (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: NisCounterpartBalances Account (r:1 w:1)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
// Storage: Balances Reserves (r:1 w:1)
/// Storage: Nis Receipts (r:1 w:1)
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
/// Storage: Nis Summary (r:1 w:1)
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: NisCounterpartBalances Account (r:1 w:1)
/// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen)
/// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
/// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: Balances Reserves (r:1 w:1)
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
fn privatize() -> Weight {
// Minimum execution time: 83_739 nanoseconds.
Weight::from_ref_time(86_239_000)
// Proof Size summary in bytes:
// Measured: `759`
// Estimated: `12516`
// Minimum execution time: 66_981 nanoseconds.
Weight::from_ref_time(67_647_000)
.saturating_add(Weight::from_proof_size(12516))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Nis Receipts (r:1 w:1)
// Storage: Balances Reserves (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: Nis Summary (r:1 w:1)
// Storage: NisCounterpartBalances Account (r:1 w:1)
// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
/// Storage: Nis Receipts (r:1 w:1)
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
/// Storage: Balances Reserves (r:1 w:1)
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Nis Summary (r:1 w:1)
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
/// Storage: NisCounterpartBalances Account (r:1 w:1)
/// Proof: NisCounterpartBalances Account (max_values: None, max_size: Some(112), added: 2587, mode: MaxEncodedLen)
/// Storage: NisCounterpartBalances TotalIssuance (r:1 w:1)
/// Proof: NisCounterpartBalances TotalIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
fn communify() -> Weight {
// Minimum execution time: 73_649 nanoseconds.
Weight::from_ref_time(75_624_000)
// Proof Size summary in bytes:
// Measured: `538`
// Estimated: `12516`
// Minimum execution time: 60_920 nanoseconds.
Weight::from_ref_time(61_706_000)
.saturating_add(Weight::from_proof_size(12516))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Nis Summary (r:1 w:1)
// Storage: System Account (r:1 w:0)
// Storage: Nis QueueTotals (r:1 w:1)
/// Storage: Nis Summary (r:1 w:1)
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:0)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Nis QueueTotals (r:1 w:1)
/// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(6002), added: 6497, mode: MaxEncodedLen)
fn process_queues() -> Weight {
// Minimum execution time: 47_254 nanoseconds.
Weight::from_ref_time(52_358_000)
// Proof Size summary in bytes:
// Measured: `6689`
// Estimated: `9635`
// Minimum execution time: 21_884 nanoseconds.
Weight::from_ref_time(22_308_000)
.saturating_add(Weight::from_proof_size(9635))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Nis Queues (r:1 w:1)
/// Storage: Nis Queues (r:1 w:1)
/// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
fn process_queue() -> Weight {
// Minimum execution time: 4_635 nanoseconds.
Weight::from_ref_time(4_822_000)
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `50497`
// Minimum execution time: 4_646 nanoseconds.
Weight::from_ref_time(4_812_000)
.saturating_add(Weight::from_proof_size(50497))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Nis Receipts (r:0 w:1)
/// Storage: Nis Receipts (r:0 w:1)
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
fn process_bid() -> Weight {
// Minimum execution time: 11_589 nanoseconds.
Weight::from_ref_time(11_947_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_183 nanoseconds.
Weight::from_ref_time(6_420_000)
.saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_preimage`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,102 +45,168 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_preimage`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// Storage: Preimage PreimageFor (r:0 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 4194304]`.
fn note_preimage(s: u32, ) -> Weight {
// Minimum execution time: 31_024 nanoseconds.
Weight::from_ref_time(178_076_512)
// Standard Error: 8
.saturating_add(Weight::from_ref_time(2_488).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `247`
// Estimated: `2566`
// Minimum execution time: 24_126 nanoseconds.
Weight::from_ref_time(24_440_000)
.saturating_add(Weight::from_proof_size(2566))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_334).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// Storage: Preimage PreimageFor (r:0 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 4194304]`.
fn note_requested_preimage(s: u32, ) -> Weight {
// Minimum execution time: 22_182 nanoseconds.
Weight::from_ref_time(22_515_000)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(2_749).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `178`
// Estimated: `2566`
// Minimum execution time: 15_804 nanoseconds.
Weight::from_ref_time(16_153_000)
.saturating_add(Weight::from_proof_size(2566))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_326).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// Storage: Preimage PreimageFor (r:0 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 4194304]`.
fn note_no_deposit_preimage(s: u32, ) -> Weight {
// Minimum execution time: 20_737 nanoseconds.
Weight::from_ref_time(21_042_000)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(2_744).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `178`
// Estimated: `2566`
// Minimum execution time: 14_982 nanoseconds.
Weight::from_ref_time(15_223_000)
.saturating_add(Weight::from_proof_size(2566))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_328).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// Storage: Preimage PreimageFor (r:0 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
fn unnote_preimage() -> Weight {
// Minimum execution time: 45_423 nanoseconds.
Weight::from_ref_time(55_379_000)
// Proof Size summary in bytes:
// Measured: `425`
// Estimated: `2566`
// Minimum execution time: 31_529 nanoseconds.
Weight::from_ref_time(32_749_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// Storage: Preimage PreimageFor (r:0 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
fn unnote_no_deposit_preimage() -> Weight {
// Minimum execution time: 35_708 nanoseconds.
Weight::from_ref_time(47_121_000)
// Proof Size summary in bytes:
// Measured: `216`
// Estimated: `2566`
// Minimum execution time: 21_379 nanoseconds.
Weight::from_ref_time(22_759_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
fn request_preimage() -> Weight {
// Minimum execution time: 38_528 nanoseconds.
Weight::from_ref_time(45_328_000)
// Proof Size summary in bytes:
// Measured: `292`
// Estimated: `2566`
// Minimum execution time: 18_806 nanoseconds.
Weight::from_ref_time(19_596_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
fn request_no_deposit_preimage() -> Weight {
// Minimum execution time: 22_631 nanoseconds.
Weight::from_ref_time(28_215_000)
// Proof Size summary in bytes:
// Measured: `216`
// Estimated: `2566`
// Minimum execution time: 12_277 nanoseconds.
Weight::from_ref_time(12_986_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
fn request_unnoted_preimage() -> Weight {
// Minimum execution time: 26_069 nanoseconds.
Weight::from_ref_time(37_642_000)
// Proof Size summary in bytes:
// Measured: `114`
// Estimated: `2566`
// Minimum execution time: 13_177 nanoseconds.
Weight::from_ref_time(14_002_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
fn request_requested_preimage() -> Weight {
// Minimum execution time: 10_775 nanoseconds.
Weight::from_ref_time(12_392_000)
// Proof Size summary in bytes:
// Measured: `178`
// Estimated: `2566`
// Minimum execution time: 8_583 nanoseconds.
Weight::from_ref_time(8_971_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// Storage: Preimage PreimageFor (r:0 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
fn unrequest_preimage() -> Weight {
// Minimum execution time: 33_617 nanoseconds.
Weight::from_ref_time(48_394_000)
// Proof Size summary in bytes:
// Measured: `216`
// Estimated: `2566`
// Minimum execution time: 19_548 nanoseconds.
Weight::from_ref_time(20_979_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
fn unrequest_unnoted_preimage() -> Weight {
// Minimum execution time: 10_675 nanoseconds.
Weight::from_ref_time(12_489_000)
// Proof Size summary in bytes:
// Measured: `178`
// Estimated: `2566`
// Minimum execution time: 8_336 nanoseconds.
Weight::from_ref_time(8_547_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
fn unrequest_multi_referenced_preimage() -> Weight {
// Minimum execution time: 10_544 nanoseconds.
Weight::from_ref_time(12_620_000)
// Proof Size summary in bytes:
// Measured: `178`
// Estimated: `2566`
// Minimum execution time: 8_489 nanoseconds.
Weight::from_ref_time(8_881_000)
.saturating_add(Weight::from_proof_size(2566))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_proxy`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,121 +45,172 @@ 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_754 nanoseconds.
Weight::from_ref_time(21_673_847)
// Standard Error: 2_291
.saturating_add(Weight::from_ref_time(45_665).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `259 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 13_961 nanoseconds.
Weight::from_ref_time(14_521_977)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_117
.saturating_add(Weight::from_ref_time(39_900).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_830 nanoseconds.
Weight::from_ref_time(40_953_561)
// Standard Error: 2_851
.saturating_add(Weight::from_ref_time(128_295).saturating_mul(a.into()))
// Standard Error: 2_946
.saturating_add(Weight::from_ref_time(51_681).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `650 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `11027`
// Minimum execution time: 31_905 nanoseconds.
Weight::from_ref_time(31_732_246)
.saturating_add(Weight::from_proof_size(11027))
// Standard Error: 1_694
.saturating_add(Weight::from_ref_time(119_106).saturating_mul(a.into()))
// Standard Error: 1_751
.saturating_add(Weight::from_ref_time(39_749).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Proxy Announcements (r:1 w:1)
/// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn remove_announcement(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 27_474 nanoseconds.
Weight::from_ref_time(29_038_533)
// Standard Error: 2_596
.saturating_add(Weight::from_ref_time(138_084).saturating_mul(a.into()))
// Standard Error: 2_682
.saturating_add(Weight::from_ref_time(4_513).saturating_mul(p.into()))
fn remove_announcement(a: u32, _p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `533 + a * (68 ±0)`
// Estimated: `7311`
// Minimum execution time: 19_120 nanoseconds.
Weight::from_ref_time(20_385_408)
.saturating_add(Weight::from_proof_size(7311))
// Standard Error: 1_375
.saturating_add(Weight::from_ref_time(124_212).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Proxy Announcements (r:1 w:1)
/// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn reject_announcement(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 27_565 nanoseconds.
Weight::from_ref_time(29_565_723)
// Standard Error: 2_781
.saturating_add(Weight::from_ref_time(121_941).saturating_mul(a.into()))
// Standard Error: 2_873
.saturating_add(Weight::from_ref_time(30).saturating_mul(p.into()))
fn reject_announcement(a: u32, _p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `533 + a * (68 ±0)`
// Estimated: `7311`
// Minimum execution time: 19_146 nanoseconds.
Weight::from_ref_time(20_349_264)
.saturating_add(Weight::from_proof_size(7311))
// Standard Error: 1_369
.saturating_add(Weight::from_ref_time(120_544).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Proxy Proxies (r:1 w:0)
// Storage: Proxy Announcements (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:0)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// Storage: Proxy Announcements (r:1 w:1)
/// Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`.
fn announce(a: u32, p: u32, ) -> Weight {
// Minimum execution time: 36_106 nanoseconds.
Weight::from_ref_time(37_855_961)
// Standard Error: 2_902
.saturating_add(Weight::from_ref_time(133_243).saturating_mul(a.into()))
// Standard Error: 2_999
.saturating_add(Weight::from_ref_time(39_754).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `582 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `11027`
// Minimum execution time: 26_894 nanoseconds.
Weight::from_ref_time(28_182_107)
.saturating_add(Weight::from_proof_size(11027))
// Standard Error: 1_783
.saturating_add(Weight::from_ref_time(117_371).saturating_mul(a.into()))
// Standard Error: 1_843
.saturating_add(Weight::from_ref_time(29_985).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_690 nanoseconds.
Weight::from_ref_time(31_764_944)
// Standard Error: 2_357
.saturating_add(Weight::from_ref_time(73_706).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `259 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 19_955 nanoseconds.
Weight::from_ref_time(20_990_396)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_683
.saturating_add(Weight::from_ref_time(59_405).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn remove_proxy(p: u32, ) -> Weight {
// Minimum execution time: 29_786 nanoseconds.
Weight::from_ref_time(31_477_593)
// Standard Error: 2_473
.saturating_add(Weight::from_ref_time(84_636).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `259 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 19_687 nanoseconds.
Weight::from_ref_time(20_716_246)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_590
.saturating_add(Weight::from_ref_time(65_700).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[1, 31]`.
fn remove_proxies(p: u32, ) -> Weight {
// Minimum execution time: 25_530 nanoseconds.
Weight::from_ref_time(27_232_687)
// Standard Error: 1_979
.saturating_add(Weight::from_ref_time(38_012).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `259 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 15_862 nanoseconds.
Weight::from_ref_time(16_513_068)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_275
.saturating_add(Weight::from_ref_time(32_574).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_560 nanoseconds.
Weight::from_ref_time(35_010_132)
// Standard Error: 2_705
.saturating_add(Weight::from_ref_time(22_801).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
// Proof Size summary in bytes:
// Measured: `239`
// Estimated: `3716`
// Minimum execution time: 21_627 nanoseconds.
Weight::from_ref_time(22_580_683)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_277
.saturating_add(Weight::from_ref_time(4_258).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Proxy Proxies (r:1 w:1)
/// Storage: Proxy Proxies (r:1 w:1)
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
/// The range of component `p` is `[0, 30]`.
fn kill_pure(p: u32, ) -> Weight {
// Minimum execution time: 27_178 nanoseconds.
Weight::from_ref_time(28_399_298)
// Standard Error: 1_987
.saturating_add(Weight::from_ref_time(49_361).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `296 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 17_024 nanoseconds.
Weight::from_ref_time(17_777_391)
.saturating_add(Weight::from_proof_size(3716))
// Standard Error: 1_104
.saturating_add(Weight::from_ref_time(36_818).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_scheduler`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,96 +45,157 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_scheduler`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// Storage: Scheduler IncompleteSince (r:1 w:1)
/// Storage: Scheduler IncompleteSince (r:1 w:1)
/// Proof: Scheduler IncompleteSince (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn service_agendas_base() -> Weight {
// Minimum execution time: 5_396 nanoseconds.
Weight::from_ref_time(5_614_000)
// Proof Size summary in bytes:
// Measured: `69`
// Estimated: `499`
// Minimum execution time: 4_764 nanoseconds.
Weight::from_ref_time(4_951_000)
.saturating_add(Weight::from_proof_size(499))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Scheduler Agenda (r:1 w:1)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 50]`.
fn service_agenda_base(s: u32, ) -> Weight {
// Minimum execution time: 4_800 nanoseconds.
Weight::from_ref_time(7_392_128)
// Standard Error: 2_024
.saturating_add(Weight::from_ref_time(855_609).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `148 + s * (177 ±0)`
// Estimated: `41438`
// Minimum execution time: 4_280 nanoseconds.
Weight::from_ref_time(7_209_195)
.saturating_add(Weight::from_proof_size(41438))
// Standard Error: 2_248
.saturating_add(Weight::from_ref_time(905_928).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
fn service_task_base() -> Weight {
// Minimum execution time: 10_455 nanoseconds.
Weight::from_ref_time(10_780_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_526 nanoseconds.
Weight::from_ref_time(5_786_000)
.saturating_add(Weight::from_proof_size(0))
}
// Storage: Preimage PreimageFor (r:1 w:1)
// Storage: Preimage StatusFor (r:1 w:1)
/// Storage: Preimage PreimageFor (r:1 w:1)
/// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured)
/// Storage: Preimage StatusFor (r:1 w:1)
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
/// The range of component `s` is `[128, 4194304]`.
fn service_task_fetched(s: u32, ) -> Weight {
// Minimum execution time: 23_822 nanoseconds.
Weight::from_ref_time(24_168_000)
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_595).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `283 + s * (1 ±0)`
// Estimated: `5324 + s * (1 ±0)`
// Minimum execution time: 18_976 nanoseconds.
Weight::from_ref_time(19_177_000)
.saturating_add(Weight::from_proof_size(5324))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(1_169).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(Weight::from_proof_size(1).saturating_mul(s.into()))
}
// Storage: Scheduler Lookup (r:0 w:1)
/// Storage: Scheduler Lookup (r:0 w:1)
/// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
fn service_task_named() -> Weight {
// Minimum execution time: 14_677 nanoseconds.
Weight::from_ref_time(15_068_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_826 nanoseconds.
Weight::from_ref_time(7_001_000)
.saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
fn service_task_periodic() -> Weight {
// Minimum execution time: 10_435 nanoseconds.
Weight::from_ref_time(10_892_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_554 nanoseconds.
Weight::from_ref_time(5_754_000)
.saturating_add(Weight::from_proof_size(0))
}
fn execute_dispatch_signed() -> Weight {
// Minimum execution time: 4_540 nanoseconds.
Weight::from_ref_time(4_741_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_382 nanoseconds.
Weight::from_ref_time(2_475_000)
.saturating_add(Weight::from_proof_size(0))
}
fn execute_dispatch_unsigned() -> Weight {
// Minimum execution time: 4_467 nanoseconds.
Weight::from_ref_time(4_769_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_402 nanoseconds.
Weight::from_ref_time(2_533_000)
.saturating_add(Weight::from_proof_size(0))
}
// Storage: Scheduler Agenda (r:1 w:1)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 49]`.
fn schedule(s: u32, ) -> Weight {
// Minimum execution time: 18_588 nanoseconds.
Weight::from_ref_time(22_165_335)
// Standard Error: 3_451
.saturating_add(Weight::from_ref_time(905_858).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `148 + s * (177 ±0)`
// Estimated: `41438`
// Minimum execution time: 13_703 nanoseconds.
Weight::from_ref_time(16_346_086)
.saturating_add(Weight::from_proof_size(41438))
// Standard Error: 1_988
.saturating_add(Weight::from_ref_time(907_672).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Scheduler Agenda (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
/// Storage: Scheduler Lookup (r:0 w:1)
/// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
/// The range of component `s` is `[1, 50]`.
fn cancel(s: u32, ) -> Weight {
// Minimum execution time: 23_347 nanoseconds.
Weight::from_ref_time(22_216_295)
// Standard Error: 4_539
.saturating_add(Weight::from_ref_time(1_586_206).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `148 + s * (177 ±0)`
// Estimated: `41438`
// Minimum execution time: 17_812 nanoseconds.
Weight::from_ref_time(17_048_848)
.saturating_add(Weight::from_proof_size(41438))
// Standard Error: 2_239
.saturating_add(Weight::from_ref_time(1_617_551).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
/// Storage: Scheduler Lookup (r:1 w:1)
/// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
/// The range of component `s` is `[0, 49]`.
fn schedule_named(s: u32, ) -> Weight {
// Minimum execution time: 22_193 nanoseconds.
Weight::from_ref_time(25_965_802)
// Standard Error: 3_961
.saturating_add(Weight::from_ref_time(933_085).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `325 + s * (185 ±0)`
// Estimated: `43961`
// Minimum execution time: 16_499 nanoseconds.
Weight::from_ref_time(20_270_755)
.saturating_add(Weight::from_proof_size(43961))
// Standard Error: 2_748
.saturating_add(Weight::from_ref_time(936_539).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
/// Storage: Scheduler Lookup (r:1 w:1)
/// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
/// The range of component `s` is `[1, 50]`.
fn cancel_named(s: u32, ) -> Weight {
// Minimum execution time: 24_106 nanoseconds.
Weight::from_ref_time(24_094_306)
// Standard Error: 2_925
.saturating_add(Weight::from_ref_time(1_593_222).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `351 + s * (185 ±0)`
// Estimated: `43961`
// Minimum execution time: 19_166 nanoseconds.
Weight::from_ref_time(18_804_378)
.saturating_add(Weight::from_proof_size(43961))
// Standard Error: 2_712
.saturating_add(Weight::from_ref_time(1_648_462).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_timestamp`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,16 +45,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: Babe 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: Babe CurrentSlot (r:1 w:0)
/// Proof: Babe CurrentSlot (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
fn set() -> Weight {
// Minimum execution time: 10_610 nanoseconds.
Weight::from_ref_time(10_851_000)
// Proof Size summary in bytes:
// Measured: `345`
// Estimated: `1006`
// Minimum execution time: 9_427 nanoseconds.
Weight::from_ref_time(9_794_000)
.saturating_add(Weight::from_proof_size(1006))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
fn on_finalize() -> Weight {
// Minimum execution time: 4_331 nanoseconds.
Weight::from_ref_time(4_482_000)
// Proof Size summary in bytes:
// Measured: `128`
// Estimated: `0`
// Minimum execution time: 4_505 nanoseconds.
Weight::from_ref_time(4_792_000)
.saturating_add(Weight::from_proof_size(0))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_tips`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,72 +45,114 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_tips`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
// Storage: Tips Reasons (r:1 w:1)
// Storage: Tips Tips (r:1 w:1)
/// Storage: Tips Reasons (r:1 w:1)
/// Proof Skipped: Tips Reasons (max_values: None, max_size: None, mode: Measured)
/// Storage: Tips Tips (r:1 w:1)
/// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured)
/// The range of component `r` is `[0, 16384]`.
fn report_awesome(r: u32, ) -> Weight {
// Minimum execution time: 32_143 nanoseconds.
Weight::from_ref_time(33_161_986)
// Standard Error: 9
.saturating_add(Weight::from_ref_time(2_168).saturating_mul(r.into()))
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `4958`
// Minimum execution time: 21_346 nanoseconds.
Weight::from_ref_time(22_419_409)
.saturating_add(Weight::from_proof_size(4958))
// Standard Error: 4
.saturating_add(Weight::from_ref_time(1_802).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Tips Tips (r:1 w:1)
// Storage: Tips Reasons (r:0 w:1)
/// Storage: Tips Tips (r:1 w:1)
/// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured)
/// Storage: Tips Reasons (r:0 w:1)
/// Proof Skipped: Tips Reasons (max_values: None, max_size: None, mode: Measured)
fn retract_tip() -> Weight {
// Minimum execution time: 30_767 nanoseconds.
Weight::from_ref_time(31_913_000)
// Proof Size summary in bytes:
// Measured: `253`
// Estimated: `2981`
// Minimum execution time: 21_124 nanoseconds.
Weight::from_ref_time(21_611_000)
.saturating_add(Weight::from_proof_size(2981))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: PhragmenElection Members (r:1 w:0)
// Storage: Tips Reasons (r:1 w:1)
// Storage: Tips Tips (r:0 w:1)
/// Storage: PhragmenElection Members (r:1 w:0)
/// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Tips Reasons (r:1 w:1)
/// Proof Skipped: Tips Reasons (max_values: None, max_size: None, mode: Measured)
/// Storage: Tips Tips (r:0 w:1)
/// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured)
/// The range of component `r` is `[0, 16384]`.
/// The range of component `t` is `[1, 19]`.
fn tip_new(r: u32, t: u32, ) -> Weight {
// Minimum execution time: 23_234 nanoseconds.
Weight::from_ref_time(21_806_702)
// Standard Error: 8
.saturating_add(Weight::from_ref_time(2_000).saturating_mul(r.into()))
// Standard Error: 7_342
.saturating_add(Weight::from_ref_time(197_780).saturating_mul(t.into()))
// Proof Size summary in bytes:
// Measured: `106 + t * (64 ±0)`
// Estimated: `3288 + t * (192 ±0)`
// Minimum execution time: 18_905 nanoseconds.
Weight::from_ref_time(17_679_692)
.saturating_add(Weight::from_proof_size(3288))
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_687).saturating_mul(r.into()))
// Standard Error: 5_551
.saturating_add(Weight::from_ref_time(117_206).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(Weight::from_proof_size(192).saturating_mul(t.into()))
}
// Storage: PhragmenElection Members (r:1 w:0)
// Storage: Tips Tips (r:1 w:1)
/// Storage: PhragmenElection Members (r:1 w:0)
/// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Tips Tips (r:1 w:1)
/// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured)
/// The range of component `t` is `[1, 19]`.
fn tip(t: u32, ) -> Weight {
// Minimum execution time: 15_883 nanoseconds.
Weight::from_ref_time(16_513_046)
// Standard Error: 2_374
.saturating_add(Weight::from_ref_time(131_931).saturating_mul(t.into()))
// Proof Size summary in bytes:
// Measured: `359 + t * (112 ±0)`
// Estimated: `3688 + t * (224 ±0)`
// Minimum execution time: 14_034 nanoseconds.
Weight::from_ref_time(14_659_563)
.saturating_add(Weight::from_proof_size(3688))
// Standard Error: 1_435
.saturating_add(Weight::from_ref_time(137_685).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_proof_size(224).saturating_mul(t.into()))
}
// Storage: Tips Tips (r:1 w:1)
// Storage: PhragmenElection Members (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: Tips Reasons (r:0 w:1)
/// Storage: Tips Tips (r:1 w:1)
/// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured)
/// Storage: PhragmenElection Members (r:1 w:0)
/// Proof Skipped: PhragmenElection Members (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Tips Reasons (r:0 w:1)
/// Proof Skipped: Tips Reasons (max_values: None, max_size: None, mode: Measured)
/// The range of component `t` is `[1, 19]`.
fn close_tip(t: u32, ) -> Weight {
// Minimum execution time: 50_228 nanoseconds.
Weight::from_ref_time(52_862_263)
// Standard Error: 7_479
.saturating_add(Weight::from_ref_time(141_454).saturating_mul(t.into()))
// Proof Size summary in bytes:
// Measured: `398 + t * (112 ±0)`
// Estimated: `6740 + t * (336 ±0)`
// Minimum execution time: 39_378 nanoseconds.
Weight::from_ref_time(40_903_902)
.saturating_add(Weight::from_proof_size(6740))
// Standard Error: 4_890
.saturating_add(Weight::from_ref_time(127_148).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_proof_size(336).saturating_mul(t.into()))
}
// Storage: Tips Tips (r:1 w:1)
// Storage: Tips Reasons (r:0 w:1)
/// Storage: Tips Tips (r:1 w:1)
/// Proof Skipped: Tips Tips (max_values: None, max_size: None, mode: Measured)
/// Storage: Tips Reasons (r:0 w:1)
/// Proof Skipped: Tips Reasons (max_values: None, max_size: None, mode: Measured)
/// The range of component `t` is `[1, 19]`.
fn slash_tip(t: u32, ) -> Weight {
// Minimum execution time: 19_791 nanoseconds.
Weight::from_ref_time(20_985_764)
// Standard Error: 2_536
.saturating_add(Weight::from_ref_time(10_114).saturating_mul(t.into()))
// Proof Size summary in bytes:
// Measured: `301`
// Estimated: `3077`
// Minimum execution time: 14_080 nanoseconds.
Weight::from_ref_time(14_660_927)
.saturating_add(Weight::from_proof_size(3077))
// Standard Error: 1_257
.saturating_add(Weight::from_ref_time(4_596).saturating_mul(t.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_treasury`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -45,58 +46,96 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
fn spend() -> Weight {
// Minimum execution time: 137 nanoseconds.
Weight::from_ref_time(162_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 227 nanoseconds.
Weight::from_ref_time(240_000)
.saturating_add(Weight::from_proof_size(0))
}
// Storage: Treasury ProposalCount (r:1 w:1)
// Storage: Treasury Proposals (r:0 w:1)
/// Storage: Treasury ProposalCount (r:1 w:1)
/// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Treasury Proposals (r:0 w:1)
/// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen)
fn propose_spend() -> Weight {
// Minimum execution time: 28_809 nanoseconds.
Weight::from_ref_time(31_089_000)
// Proof Size summary in bytes:
// Measured: `139`
// Estimated: `499`
// Minimum execution time: 21_213 nanoseconds.
Weight::from_ref_time(21_759_000)
.saturating_add(Weight::from_proof_size(499))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Treasury Proposals (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Treasury Proposals (r:1 w:1)
/// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn reject_proposal() -> Weight {
// Minimum execution time: 42_572 nanoseconds.
Weight::from_ref_time(43_309_000)
// Proof Size summary in bytes:
// Measured: `329`
// Estimated: `5186`
// Minimum execution time: 31_471 nanoseconds.
Weight::from_ref_time(32_666_000)
.saturating_add(Weight::from_proof_size(5186))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Treasury Proposals (r:1 w:0)
// Storage: Treasury Approvals (r:1 w:1)
/// Storage: Treasury Proposals (r:1 w:0)
/// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen)
/// Storage: Treasury Approvals (r:1 w:1)
/// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
/// The range of component `p` is `[0, 99]`.
fn approve_proposal(p: u32, ) -> Weight {
// Minimum execution time: 9_769 nanoseconds.
Weight::from_ref_time(13_116_481)
// Standard Error: 1_690
.saturating_add(Weight::from_ref_time(111_932).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `464 + p * (8 ±0)`
// Estimated: `3480`
// Minimum execution time: 9_351 nanoseconds.
Weight::from_ref_time(11_440_314)
.saturating_add(Weight::from_proof_size(3480))
// Standard Error: 800
.saturating_add(Weight::from_ref_time(25_874).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Treasury Approvals (r:1 w:1)
/// Storage: Treasury Approvals (r:1 w:1)
/// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
fn remove_approval() -> Weight {
// Minimum execution time: 8_512 nanoseconds.
Weight::from_ref_time(8_681_000)
// Proof Size summary in bytes:
// Measured: `90`
// Estimated: `897`
// Minimum execution time: 6_975 nanoseconds.
Weight::from_ref_time(7_191_000)
.saturating_add(Weight::from_proof_size(897))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Treasury Deactivated (r:1 w:1)
// Storage: Balances InactiveIssuance (r:1 w:1)
// Storage: Treasury Approvals (r:1 w:1)
// Storage: Bounties BountyApprovals (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: Treasury Proposals (r:2 w:2)
/// Storage: Treasury Deactivated (r:1 w:1)
/// Proof: Treasury Deactivated (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: Balances InactiveIssuance (r:1 w:1)
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: Treasury Approvals (r:1 w:1)
/// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
/// Storage: Treasury Proposals (r:100 w:100)
/// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen)
/// Storage: System Account (r:201 w:201)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Bounties BountyApprovals (r:1 w:1)
/// Proof: Bounties BountyApprovals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
/// The range of component `p` is `[0, 100]`.
fn on_initialize_proposals(p: u32, ) -> Weight {
// Minimum execution time: 64_821 nanoseconds.
Weight::from_ref_time(69_780_248)
// Standard Error: 12_532
.saturating_add(Weight::from_ref_time(31_395_370).saturating_mul(p.into()))
// Proof Size summary in bytes:
// Measured: `326 + p * (314 ±0)`
// Estimated: `5419 + p * (7789 ±0)`
// Minimum execution time: 53_749 nanoseconds.
Weight::from_ref_time(58_420_767)
.saturating_add(Weight::from_proof_size(5419))
// Standard Error: 20_636
.saturating_add(Weight::from_ref_time(28_515_184).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(5))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into())))
.saturating_add(Weight::from_proof_size(7789).saturating_mul(p.into()))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_utility`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,31 +47,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: 12_735 nanoseconds.
Weight::from_ref_time(25_784_287)
// Standard Error: 3_250
.saturating_add(Weight::from_ref_time(4_497_732).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_328 nanoseconds.
Weight::from_ref_time(13_537_888)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 2_017
.saturating_add(Weight::from_ref_time(4_382_647).saturating_mul(c.into()))
}
fn as_derivative() -> Weight {
// Minimum execution time: 6_410 nanoseconds.
Weight::from_ref_time(6_766_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 4_374 nanoseconds.
Weight::from_ref_time(4_526_000)
.saturating_add(Weight::from_proof_size(0))
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
// Minimum execution time: 12_841 nanoseconds.
Weight::from_ref_time(18_877_705)
// Standard Error: 3_363
.saturating_add(Weight::from_ref_time(4_708_446).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_386 nanoseconds.
Weight::from_ref_time(12_573_669)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 2_338
.saturating_add(Weight::from_ref_time(4_605_788).saturating_mul(c.into()))
}
fn dispatch_as() -> Weight {
// Minimum execution time: 14_830 nanoseconds.
Weight::from_ref_time(15_549_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_380 nanoseconds.
Weight::from_ref_time(8_681_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: 12_963 nanoseconds.
Weight::from_ref_time(21_797_288)
// Standard Error: 2_754
.saturating_add(Weight::from_ref_time(4_525_992).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_340 nanoseconds.
Weight::from_ref_time(11_475_235)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 4_641
.saturating_add(Weight::from_ref_time(4_413_145).saturating_mul(c.into()))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_vesting`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,121 +45,175 @@ use sp_std::marker::PhantomData;
/// Weight functions for `pallet_vesting`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[1, 28]`.
fn vest_locked(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 38_900 nanoseconds.
Weight::from_ref_time(38_372_323)
// Standard Error: 3_080
.saturating_add(Weight::from_ref_time(50_727).saturating_mul(l.into()))
// Standard Error: 5_480
.saturating_add(Weight::from_ref_time(117_941).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `339 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `7306`
// Minimum execution time: 26_429 nanoseconds.
Weight::from_ref_time(25_867_277)
.saturating_add(Weight::from_proof_size(7306))
// Standard Error: 1_281
.saturating_add(Weight::from_ref_time(41_324).saturating_mul(l.into()))
// Standard Error: 2_279
.saturating_add(Weight::from_ref_time(51_826).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[1, 28]`.
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 38_461 nanoseconds.
Weight::from_ref_time(38_867_531)
// Standard Error: 2_507
.saturating_add(Weight::from_ref_time(36_949).saturating_mul(l.into()))
// Standard Error: 4_460
.saturating_add(Weight::from_ref_time(84_703).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `339 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `7306`
// Minimum execution time: 25_715 nanoseconds.
Weight::from_ref_time(24_829_164)
.saturating_add(Weight::from_proof_size(7306))
// Standard Error: 868
.saturating_add(Weight::from_ref_time(40_310).saturating_mul(l.into()))
// Standard Error: 1_544
.saturating_add(Weight::from_ref_time(58_002).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, 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 `l` is `[0, 49]`.
/// The range of component `s` is `[1, 28]`.
fn vest_other_locked(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 37_821 nanoseconds.
Weight::from_ref_time(37_896_454)
// Standard Error: 2_886
.saturating_add(Weight::from_ref_time(51_865).saturating_mul(l.into()))
// Standard Error: 5_135
.saturating_add(Weight::from_ref_time(112_185).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `474 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `9909`
// Minimum execution time: 28_817 nanoseconds.
Weight::from_ref_time(27_720_923)
.saturating_add(Weight::from_proof_size(9909))
// Standard Error: 829
.saturating_add(Weight::from_ref_time(46_675).saturating_mul(l.into()))
// Standard Error: 1_475
.saturating_add(Weight::from_ref_time(73_942).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, 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 `l` is `[0, 49]`.
/// The range of component `s` is `[1, 28]`.
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 38_023 nanoseconds.
Weight::from_ref_time(38_873_673)
// Standard Error: 2_715
.saturating_add(Weight::from_ref_time(27_420).saturating_mul(l.into()))
// Standard Error: 4_831
.saturating_add(Weight::from_ref_time(72_807).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `474 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `9909`
// Minimum execution time: 28_287 nanoseconds.
Weight::from_ref_time(27_753_422)
.saturating_add(Weight::from_proof_size(9909))
// Standard Error: 885
.saturating_add(Weight::from_ref_time(37_298).saturating_mul(l.into()))
// Standard Error: 1_574
.saturating_add(Weight::from_ref_time(45_945).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[0, 27]`.
fn vested_transfer(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 53_800 nanoseconds.
Weight::from_ref_time(55_483_956)
// Standard Error: 3_291
.saturating_add(Weight::from_ref_time(44_862).saturating_mul(l.into()))
// Standard Error: 5_856
.saturating_add(Weight::from_ref_time(90_291).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `545 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `9909`
// Minimum execution time: 41_278 nanoseconds.
Weight::from_ref_time(41_638_725)
.saturating_add(Weight::from_proof_size(9909))
// Standard Error: 1_985
.saturating_add(Weight::from_ref_time(39_233).saturating_mul(l.into()))
// Standard Error: 3_532
.saturating_add(Weight::from_ref_time(35_483).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: System Account (r:2 w:2)
// Storage: Balances Locks (r:1 w:1)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: System Account (r:2 w:2)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
/// The range of component `l` is `[0, 49]`.
/// The range of component `s` is `[0, 27]`.
fn force_vested_transfer(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 53_913 nanoseconds.
Weight::from_ref_time(55_030_721)
// Standard Error: 3_520
.saturating_add(Weight::from_ref_time(41_292).saturating_mul(l.into()))
// Standard Error: 6_263
.saturating_add(Weight::from_ref_time(96_350).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `680 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `12512`
// Minimum execution time: 43_484 nanoseconds.
Weight::from_ref_time(43_298_257)
.saturating_add(Weight::from_proof_size(12512))
// Standard Error: 1_845
.saturating_add(Weight::from_ref_time(44_193).saturating_mul(l.into()))
// Standard Error: 3_283
.saturating_add(Weight::from_ref_time(57_066).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, 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 `l` is `[0, 49]`.
/// The range of component `s` is `[2, 28]`.
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 39_714 nanoseconds.
Weight::from_ref_time(39_434_667)
// Standard Error: 2_888
.saturating_add(Weight::from_ref_time(53_066).saturating_mul(l.into()))
// Standard Error: 5_334
.saturating_add(Weight::from_ref_time(106_278).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `472 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `9909`
// Minimum execution time: 29_486 nanoseconds.
Weight::from_ref_time(28_880_566)
.saturating_add(Weight::from_proof_size(9909))
// Standard Error: 966
.saturating_add(Weight::from_ref_time(48_145).saturating_mul(l.into()))
// Standard Error: 1_784
.saturating_add(Weight::from_ref_time(65_770).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Vesting Vesting (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, 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 `l` is `[0, 49]`.
/// The range of component `s` is `[2, 28]`.
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
// Minimum execution time: 39_864 nanoseconds.
Weight::from_ref_time(38_885_244)
// Standard Error: 2_649
.saturating_add(Weight::from_ref_time(60_039).saturating_mul(l.into()))
// Standard Error: 4_893
.saturating_add(Weight::from_ref_time(126_047).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `472 + l * (25 ±0) + s * (36 ±0)`
// Estimated: `9909`
// Minimum execution time: 29_912 nanoseconds.
Weight::from_ref_time(29_018_747)
.saturating_add(Weight::from_proof_size(9909))
// Standard Error: 936
.saturating_add(Weight::from_ref_time(47_780).saturating_mul(l.into()))
// Standard Error: 1_729
.saturating_add(Weight::from_ref_time(66_390).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
+181 -76
View File
@@ -16,8 +16,9 @@
//! Autogenerated weights for `pallet_xcm`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,127 +45,231 @@ 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: Configuration ActiveConfig (r:1 w:0)
// Storage: XcmPallet SupportedVersion (r:1 w:0)
// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: XcmPallet SupportedVersion (r:1 w:0)
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
/// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
/// Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured)
fn send() -> Weight {
// Minimum execution time: 38_577 nanoseconds.
Weight::from_ref_time(39_129_000)
// Proof Size summary in bytes:
// Measured: `612`
// Estimated: `12582`
// Minimum execution time: 35_057 nanoseconds.
Weight::from_ref_time(35_743_000)
.saturating_add(Weight::from_proof_size(12582))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(3))
}
fn teleport_assets() -> Weight {
// Minimum execution time: 29_341 nanoseconds.
Weight::from_ref_time(30_152_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 22_277 nanoseconds.
Weight::from_ref_time(22_668_000)
.saturating_add(Weight::from_proof_size(0))
}
fn reserve_transfer_assets() -> Weight {
// Minimum execution time: 28_444 nanoseconds.
Weight::from_ref_time(29_071_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 21_013 nanoseconds.
Weight::from_ref_time(21_507_000)
.saturating_add(Weight::from_proof_size(0))
}
fn execute() -> Weight {
// Minimum execution time: 15_306 nanoseconds.
Weight::from_ref_time(15_742_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 9_443 nanoseconds.
Weight::from_ref_time(9_663_000)
.saturating_add(Weight::from_proof_size(0))
}
// Storage: XcmPallet SupportedVersion (r:0 w:1)
/// Storage: XcmPallet SupportedVersion (r:0 w:1)
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
fn force_xcm_version() -> Weight {
// Minimum execution time: 15_675 nanoseconds.
Weight::from_ref_time(16_181_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 9_464 nanoseconds.
Weight::from_ref_time(9_672_000)
.saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: XcmPallet SafeXcmVersion (r:0 w:1)
/// Storage: XcmPallet SafeXcmVersion (r:0 w:1)
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
fn force_default_xcm_version() -> Weight {
// Minimum execution time: 4_555 nanoseconds.
Weight::from_ref_time(4_749_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_522 nanoseconds.
Weight::from_ref_time(2_588_000)
.saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: XcmPallet VersionNotifiers (r:1 w:1)
// Storage: XcmPallet QueryCounter (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: XcmPallet SupportedVersion (r:1 w:0)
// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
// Storage: XcmPallet Queries (r:0 w:1)
/// Storage: XcmPallet VersionNotifiers (r:1 w:1)
/// Proof Skipped: XcmPallet VersionNotifiers (max_values: None, max_size: None, mode: Measured)
/// Storage: XcmPallet QueryCounter (r:1 w:1)
/// Proof Skipped: XcmPallet QueryCounter (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: XcmPallet SupportedVersion (r:1 w:0)
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
/// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
/// Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured)
/// Storage: XcmPallet Queries (r:0 w:1)
/// Proof Skipped: XcmPallet Queries (max_values: None, max_size: None, mode: Measured)
fn force_subscribe_version_notify() -> Weight {
// Minimum execution time: 42_354 nanoseconds.
Weight::from_ref_time(43_728_000)
// Proof Size summary in bytes:
// Measured: `612`
// Estimated: `17388`
// Minimum execution time: 39_251 nanoseconds.
Weight::from_ref_time(39_789_000)
.saturating_add(Weight::from_proof_size(17388))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: XcmPallet VersionNotifiers (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: XcmPallet SupportedVersion (r:1 w:0)
// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
// Storage: XcmPallet Queries (r:0 w:1)
/// Storage: XcmPallet VersionNotifiers (r:1 w:1)
/// Proof Skipped: XcmPallet VersionNotifiers (max_values: None, max_size: None, mode: Measured)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: XcmPallet SupportedVersion (r:1 w:0)
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
/// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
/// Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured)
/// Storage: XcmPallet Queries (r:0 w:1)
/// Proof Skipped: XcmPallet Queries (max_values: None, max_size: None, mode: Measured)
fn force_unsubscribe_version_notify() -> Weight {
// Minimum execution time: 46_799 nanoseconds.
Weight::from_ref_time(48_112_000)
// Proof Size summary in bytes:
// Measured: `884`
// Estimated: `18457`
// Minimum execution time: 45_729 nanoseconds.
Weight::from_ref_time(46_352_000)
.saturating_add(Weight::from_proof_size(18457))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: XcmPallet SupportedVersion (r:4 w:2)
/// Storage: XcmPallet SupportedVersion (r:4 w:2)
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
fn migrate_supported_version() -> Weight {
// Minimum execution time: 15_380 nanoseconds.
Weight::from_ref_time(16_088_000)
// Proof Size summary in bytes:
// Measured: `229`
// Estimated: `10129`
// Minimum execution time: 19_141 nanoseconds.
Weight::from_ref_time(19_648_000)
.saturating_add(Weight::from_proof_size(10129))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: XcmPallet VersionNotifiers (r:4 w:2)
/// Storage: XcmPallet VersionNotifiers (r:4 w:2)
/// Proof Skipped: XcmPallet VersionNotifiers (max_values: None, max_size: None, mode: Measured)
fn migrate_version_notifiers() -> Weight {
// Minimum execution time: 15_822 nanoseconds.
Weight::from_ref_time(16_301_000)
// Proof Size summary in bytes:
// Measured: `233`
// Estimated: `10133`
// Minimum execution time: 21_034 nanoseconds.
Weight::from_ref_time(21_414_000)
.saturating_add(Weight::from_proof_size(10133))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: XcmPallet VersionNotifyTargets (r:5 w:0)
/// Storage: XcmPallet VersionNotifyTargets (r:5 w:0)
/// Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
fn already_notified_target() -> Weight {
// Minimum execution time: 18_929 nanoseconds.
Weight::from_ref_time(19_524_000)
// Proof Size summary in bytes:
// Measured: `243`
// Estimated: `12618`
// Minimum execution time: 25_970 nanoseconds.
Weight::from_ref_time(26_402_000)
.saturating_add(Weight::from_proof_size(12618))
.saturating_add(T::DbWeight::get().reads(5))
}
// Storage: XcmPallet VersionNotifyTargets (r:2 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: XcmPallet SupportedVersion (r:1 w:0)
// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Storage: XcmPallet VersionNotifyTargets (r:2 w:1)
/// Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: XcmPallet SupportedVersion (r:1 w:0)
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
/// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
/// Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured)
fn notify_current_targets() -> Weight {
// Minimum execution time: 38_235 nanoseconds.
Weight::from_ref_time(39_286_000)
// Proof Size summary in bytes:
// Measured: `682`
// Estimated: `18634`
// Minimum execution time: 49_972 nanoseconds.
Weight::from_ref_time(51_043_000)
.saturating_add(Weight::from_proof_size(18634))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: XcmPallet VersionNotifyTargets (r:3 w:0)
/// Storage: XcmPallet VersionNotifyTargets (r:3 w:0)
/// Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
fn notify_target_migration_fail() -> Weight {
// Minimum execution time: 8_143 nanoseconds.
Weight::from_ref_time(8_552_000)
// Proof Size summary in bytes:
// Measured: `272`
// Estimated: `7697`
// Minimum execution time: 10_855 nanoseconds.
Weight::from_ref_time(11_273_000)
.saturating_add(Weight::from_proof_size(7697))
.saturating_add(T::DbWeight::get().reads(3))
}
// Storage: XcmPallet VersionNotifyTargets (r:4 w:2)
/// Storage: XcmPallet VersionNotifyTargets (r:4 w:2)
/// Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
fn migrate_version_notify_targets() -> Weight {
// Minimum execution time: 16_409 nanoseconds.
Weight::from_ref_time(16_785_000)
// Proof Size summary in bytes:
// Measured: `240`
// Estimated: `10140`
// Minimum execution time: 23_874 nanoseconds.
Weight::from_ref_time(24_585_000)
.saturating_add(Weight::from_proof_size(10140))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: XcmPallet VersionNotifyTargets (r:4 w:2)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: XcmPallet SupportedVersion (r:1 w:0)
// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Storage: XcmPallet VersionNotifyTargets (r:4 w:2)
/// Proof Skipped: XcmPallet VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: XcmPallet SupportedVersion (r:1 w:0)
/// Proof Skipped: XcmPallet SupportedVersion (max_values: None, max_size: None, mode: Measured)
/// Storage: XcmPallet VersionDiscoveryQueue (r:1 w:1)
/// Proof Skipped: XcmPallet VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: XcmPallet SafeXcmVersion (r:1 w:0)
/// Proof Skipped: XcmPallet SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured)
fn migrate_and_notify_old_targets() -> Weight {
// Minimum execution time: 44_941 nanoseconds.
Weight::from_ref_time(47_953_000)
// Proof Size summary in bytes:
// Measured: `686`
// Estimated: `23612`
// Minimum execution time: 59_123 nanoseconds.
Weight::from_ref_time(60_220_000)
.saturating_add(Weight::from_proof_size(23612))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(5))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_common::auctions`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,53 +45,94 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_common::auctions`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInfo<T> {
// Storage: Auctions AuctionInfo (r:1 w:1)
// Storage: Auctions AuctionCounter (r:1 w:1)
/// Storage: Auctions AuctionInfo (r:1 w:1)
/// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: Auctions AuctionCounter (r:1 w:1)
/// Proof: Auctions AuctionCounter (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn new_auction() -> Weight {
// Minimum execution time: 18_671 nanoseconds.
Weight::from_ref_time(19_227_000)
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `1002`
// Minimum execution time: 12_160 nanoseconds.
Weight::from_ref_time(12_503_000)
.saturating_add(Weight::from_proof_size(1002))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Paras ParaLifecycles (r:1 w:0)
// Storage: Auctions AuctionCounter (r:1 w:0)
// Storage: Auctions AuctionInfo (r:1 w:0)
// Storage: Slots Leases (r:1 w:0)
// Storage: Auctions Winning (r:1 w:1)
// Storage: Auctions ReservedAmounts (r:2 w:2)
// Storage: System Account (r:1 w:1)
/// Storage: Paras ParaLifecycles (r:1 w:0)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: Auctions AuctionCounter (r:1 w:0)
/// Proof: Auctions AuctionCounter (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Auctions AuctionInfo (r:1 w:0)
/// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: Slots Leases (r:1 w:0)
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
/// Storage: Auctions Winning (r:1 w:1)
/// Proof: Auctions Winning (max_values: None, max_size: Some(1920), added: 4395, mode: MaxEncodedLen)
/// Storage: Auctions ReservedAmounts (r:2 w:2)
/// Proof: Auctions ReservedAmounts (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn bid() -> Weight {
// Minimum execution time: 97_059 nanoseconds.
Weight::from_ref_time(107_163_000)
// Proof Size summary in bytes:
// Measured: `792`
// Estimated: `19604`
// Minimum execution time: 65_701 nanoseconds.
Weight::from_ref_time(69_280_000)
.saturating_add(Weight::from_proof_size(19604))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Auctions AuctionInfo (r:1 w:1)
// Storage: Babe NextRandomness (r:1 w:0)
// Storage: Babe EpochStart (r:1 w:0)
// Storage: Auctions AuctionCounter (r:1 w:0)
// Storage: Auctions Winning (r:3600 w:3600)
// Storage: Auctions ReservedAmounts (r:37 w:36)
// Storage: System Account (r:36 w:36)
// Storage: Slots Leases (r:2 w:2)
// Storage: Paras ParaLifecycles (r:1 w:1)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Registrar Paras (r:1 w:1)
/// Storage: Auctions AuctionInfo (r:1 w:1)
/// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: Babe NextRandomness (r:1 w:0)
/// Proof: Babe NextRandomness (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
/// Storage: Babe EpochStart (r:1 w:0)
/// Proof: Babe EpochStart (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: Auctions AuctionCounter (r:1 w:0)
/// Proof: Auctions AuctionCounter (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Auctions Winning (r:3600 w:3600)
/// Proof: Auctions Winning (max_values: None, max_size: Some(1920), added: 4395, mode: MaxEncodedLen)
/// Storage: Auctions ReservedAmounts (r:37 w:36)
/// Proof: Auctions ReservedAmounts (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen)
/// Storage: System Account (r:36 w:36)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Slots Leases (r:2 w:2)
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:1 w:1)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras ActionsQueue (r:1 w:1)
/// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured)
/// Storage: Registrar Paras (r:1 w:1)
/// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured)
fn on_initialize() -> Weight {
// Minimum execution time: 18_607_508 nanoseconds.
Weight::from_ref_time(19_280_523_000)
// Proof Size summary in bytes:
// Measured: `7060535`
// Estimated: `51327080`
// Minimum execution time: 15_949_007 nanoseconds.
Weight::from_ref_time(16_290_428_000)
.saturating_add(Weight::from_proof_size(51327080))
.saturating_add(T::DbWeight::get().reads(3683))
.saturating_add(T::DbWeight::get().writes(3678))
}
// Storage: Auctions ReservedAmounts (r:37 w:36)
// Storage: System Account (r:36 w:36)
// Storage: Auctions Winning (r:0 w:3600)
// Storage: Auctions AuctionInfo (r:0 w:1)
/// Storage: Auctions ReservedAmounts (r:37 w:36)
/// Proof: Auctions ReservedAmounts (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen)
/// Storage: System Account (r:36 w:36)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Auctions Winning (r:3600 w:3600)
/// Proof: Auctions Winning (max_values: None, max_size: Some(1920), added: 4395, mode: MaxEncodedLen)
/// Storage: Auctions AuctionInfo (r:0 w:1)
/// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
fn cancel_auction() -> Weight {
// Minimum execution time: 5_682_998 nanoseconds.
Weight::from_ref_time(5_990_328_000)
.saturating_add(T::DbWeight::get().reads(73))
// Proof Size summary in bytes:
// Measured: `178884`
// Estimated: `16009503`
// Minimum execution time: 4_736_510 nanoseconds.
Weight::from_ref_time(4_892_297_000)
.saturating_add(Weight::from_proof_size(16009503))
.saturating_add(T::DbWeight::get().reads(3673))
.saturating_add(T::DbWeight::get().writes(3673))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_common::claims`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,63 +45,113 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_common::claims`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<T> {
// Storage: Claims Claims (r:1 w:1)
// Storage: Claims Signing (r:1 w:1)
// Storage: Claims Total (r:1 w:1)
// Storage: Claims Vesting (r:1 w:1)
// Storage: Vesting Vesting (r:1 w:1)
// Storage: System Account (r:1 w:0)
// Storage: Balances Locks (r:1 w:1)
/// Storage: Claims Claims (r:1 w:1)
/// Proof Skipped: Claims Claims (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Signing (r:1 w:1)
/// Proof Skipped: Claims Signing (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Total (r:1 w:1)
/// Proof Skipped: Claims Total (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Claims Vesting (r:1 w:1)
/// Proof Skipped: Claims Vesting (max_values: None, max_size: None, mode: Measured)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:0)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
fn claim() -> Weight {
// Minimum execution time: 197_662 nanoseconds.
Weight::from_ref_time(223_369_000)
// Proof Size summary in bytes:
// Measured: `590`
// Estimated: `20189`
// Minimum execution time: 135_426 nanoseconds.
Weight::from_ref_time(137_403_000)
.saturating_add(Weight::from_proof_size(20189))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Claims Total (r:1 w:1)
// Storage: Claims Vesting (r:0 w:1)
// Storage: Claims Claims (r:0 w:1)
// Storage: Claims Signing (r:0 w:1)
/// Storage: Claims Total (r:1 w:1)
/// Proof Skipped: Claims Total (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Claims Vesting (r:0 w:1)
/// Proof Skipped: Claims Vesting (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Claims (r:0 w:1)
/// Proof Skipped: Claims Claims (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Signing (r:0 w:1)
/// Proof Skipped: Claims Signing (max_values: None, max_size: None, mode: Measured)
fn mint_claim() -> Weight {
// Minimum execution time: 14_892 nanoseconds.
Weight::from_ref_time(18_615_000)
// Proof Size summary in bytes:
// Measured: `216`
// Estimated: `1359`
// Minimum execution time: 10_453 nanoseconds.
Weight::from_ref_time(10_753_000)
.saturating_add(Weight::from_proof_size(1359))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Claims Claims (r:1 w:1)
// Storage: Claims Signing (r:1 w:1)
// Storage: Claims Total (r:1 w:1)
// Storage: Claims Vesting (r:1 w:1)
// Storage: Vesting Vesting (r:1 w:1)
// Storage: System Account (r:1 w:0)
// Storage: Balances Locks (r:1 w:1)
/// Storage: Claims Claims (r:1 w:1)
/// Proof Skipped: Claims Claims (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Signing (r:1 w:1)
/// Proof Skipped: Claims Signing (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Total (r:1 w:1)
/// Proof Skipped: Claims Total (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Claims Vesting (r:1 w:1)
/// Proof Skipped: Claims Vesting (max_values: None, max_size: None, mode: Measured)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:0)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
fn claim_attest() -> Weight {
// Minimum execution time: 207_374 nanoseconds.
Weight::from_ref_time(228_927_000)
// Proof Size summary in bytes:
// Measured: `590`
// Estimated: `20189`
// Minimum execution time: 138_169 nanoseconds.
Weight::from_ref_time(140_476_000)
.saturating_add(Weight::from_proof_size(20189))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Claims Preclaims (r:1 w:1)
// Storage: Claims Signing (r:1 w:1)
// Storage: Claims Claims (r:1 w:1)
// Storage: Claims Total (r:1 w:1)
// Storage: Claims Vesting (r:1 w:1)
// Storage: Vesting Vesting (r:1 w:1)
// Storage: System Account (r:1 w:0)
// Storage: Balances Locks (r:1 w:1)
/// Storage: Claims Preclaims (r:1 w:1)
/// Proof Skipped: Claims Preclaims (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Signing (r:1 w:1)
/// Proof Skipped: Claims Signing (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Claims (r:1 w:1)
/// Proof Skipped: Claims Claims (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Total (r:1 w:1)
/// Proof Skipped: Claims Total (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Claims Vesting (r:1 w:1)
/// Proof Skipped: Claims Vesting (max_values: None, max_size: None, mode: Measured)
/// Storage: Vesting Vesting (r:1 w:1)
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:0)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances Locks (r:1 w:1)
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
fn attest() -> Weight {
// Minimum execution time: 108_369 nanoseconds.
Weight::from_ref_time(122_575_000)
// Proof Size summary in bytes:
// Measured: `664`
// Estimated: `23624`
// Minimum execution time: 59_632 nanoseconds.
Weight::from_ref_time(65_149_000)
.saturating_add(Weight::from_proof_size(23624))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(7))
}
// Storage: Claims Claims (r:1 w:2)
// Storage: Claims Vesting (r:1 w:2)
// Storage: Claims Signing (r:1 w:2)
// Storage: Claims Preclaims (r:1 w:1)
/// Storage: Claims Claims (r:1 w:2)
/// Proof Skipped: Claims Claims (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Vesting (r:1 w:2)
/// Proof Skipped: Claims Vesting (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Signing (r:1 w:2)
/// Proof Skipped: Claims Signing (max_values: None, max_size: None, mode: Measured)
/// Storage: Claims Preclaims (r:1 w:1)
/// Proof Skipped: Claims Preclaims (max_values: None, max_size: None, mode: Measured)
fn move_claim() -> Weight {
// Minimum execution time: 27_022 nanoseconds.
Weight::from_ref_time(31_725_000)
// Proof Size summary in bytes:
// Measured: `472`
// Estimated: `11788`
// Minimum execution time: 20_813 nanoseconds.
Weight::from_ref_time(21_153_000)
.saturating_add(Weight::from_proof_size(11788))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(7))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_common::crowdloan`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,102 +45,174 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_common::crowdloan`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightInfo<T> {
// Storage: Crowdloan Funds (r:1 w:1)
// Storage: Registrar Paras (r:1 w:1)
// Storage: Paras ParaLifecycles (r:1 w:0)
// Storage: Crowdloan NextFundIndex (r:1 w:1)
/// Storage: Crowdloan Funds (r:1 w:1)
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
/// Storage: Registrar Paras (r:1 w:1)
/// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:1 w:0)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: Crowdloan NextFundIndex (r:1 w:1)
/// Proof Skipped: Crowdloan NextFundIndex (max_values: Some(1), max_size: None, mode: Measured)
fn create() -> Weight {
// Minimum execution time: 56_635 nanoseconds.
Weight::from_ref_time(72_929_000)
// Proof Size summary in bytes:
// Measured: `418`
// Estimated: `9592`
// Minimum execution time: 37_497 nanoseconds.
Weight::from_ref_time(37_976_000)
.saturating_add(Weight::from_proof_size(9592))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Crowdloan Funds (r:1 w:1)
// Storage: Slots Leases (r:1 w:0)
// Storage: Auctions AuctionInfo (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: Balances InactiveIssuance (r:1 w:1)
// Storage: Crowdloan EndingsCount (r:1 w:0)
// Storage: Crowdloan NewRaise (r:1 w:1)
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
/// Storage: Crowdloan Funds (r:1 w:1)
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
/// Storage: Slots Leases (r:1 w:0)
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
/// Storage: Auctions AuctionInfo (r:1 w:0)
/// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances InactiveIssuance (r:1 w:1)
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: Crowdloan EndingsCount (r:1 w:0)
/// Proof Skipped: Crowdloan EndingsCount (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Crowdloan NewRaise (r:1 w:1)
/// Proof Skipped: Crowdloan NewRaise (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1)
/// Proof Skipped: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1)
fn contribute() -> Weight {
// Minimum execution time: 146_622 nanoseconds.
Weight::from_ref_time(165_170_000)
// Proof Size summary in bytes:
// Measured: `474`
// Estimated: `14402`
// Minimum execution time: 105_856 nanoseconds.
Weight::from_ref_time(107_837_000)
.saturating_add(Weight::from_proof_size(14402))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Crowdloan Funds (r:1 w:1)
// Storage: System Account (r:2 w:2)
// Storage: Balances InactiveIssuance (r:1 w:1)
// Storage: unknown [0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0] (r:1 w:1)
/// Storage: Crowdloan Funds (r:1 w:1)
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
/// Storage: System Account (r:2 w:2)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// Storage: Balances InactiveIssuance (r:1 w:1)
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
/// Storage: unknown `0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0` (r:1 w:1)
/// Proof Skipped: unknown `0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0` (r:1 w:1)
fn withdraw() -> Weight {
// Minimum execution time: 71_796 nanoseconds.
Weight::from_ref_time(83_853_000)
// Proof Size summary in bytes:
// Measured: `785`
// Estimated: `12237`
// Minimum execution time: 50_494 nanoseconds.
Weight::from_ref_time(51_312_000)
.saturating_add(Weight::from_proof_size(12237))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// 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 `k` is `[0, 1000]`.
fn refund(k: u32, ) -> Weight {
// Minimum execution time: 55_878 nanoseconds.
Weight::from_ref_time(66_089_000)
// Standard Error: 16_328
.saturating_add(Weight::from_ref_time(23_466_663).saturating_mul(k.into()))
// Proof Size summary in bytes:
// Measured: `190 + k * (221 ±0)`
// Estimated: `195 + k * (221 ±0)`
// Minimum execution time: 42_573 nanoseconds.
Weight::from_ref_time(43_588_000)
.saturating_add(Weight::from_proof_size(195))
// Standard Error: 13_705
.saturating_add(Weight::from_ref_time(21_149_494).saturating_mul(k.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into())))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(k.into())))
.saturating_add(Weight::from_proof_size(221).saturating_mul(k.into()))
}
// Storage: Crowdloan Funds (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Crowdloan Funds (r:1 w:1)
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn dissolve() -> Weight {
// Minimum execution time: 53_669 nanoseconds.
Weight::from_ref_time(60_682_000)
// Proof Size summary in bytes:
// Measured: `439`
// Estimated: `5517`
// Minimum execution time: 29_208 nanoseconds.
Weight::from_ref_time(30_378_000)
.saturating_add(Weight::from_proof_size(5517))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Crowdloan Funds (r:1 w:1)
/// Storage: Crowdloan Funds (r:1 w:1)
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
fn edit() -> Weight {
// Minimum execution time: 36_010 nanoseconds.
Weight::from_ref_time(43_693_000)
// Proof Size summary in bytes:
// Measured: `267`
// Estimated: `2742`
// Minimum execution time: 17_112 nanoseconds.
Weight::from_ref_time(17_805_000)
.saturating_add(Weight::from_proof_size(2742))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Crowdloan Funds (r:1 w:0)
// Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1)
/// Storage: Crowdloan Funds (r:1 w:0)
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
/// Storage: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1)
/// Proof Skipped: unknown `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1)
fn add_memo() -> Weight {
// Minimum execution time: 48_748 nanoseconds.
Weight::from_ref_time(60_903_000)
// Proof Size summary in bytes:
// Measured: `444`
// Estimated: `5838`
// Minimum execution time: 23_471 nanoseconds.
Weight::from_ref_time(24_285_000)
.saturating_add(Weight::from_proof_size(5838))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Crowdloan Funds (r:1 w:0)
// Storage: Crowdloan NewRaise (r:1 w:1)
/// Storage: Crowdloan Funds (r:1 w:0)
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
/// Storage: Crowdloan NewRaise (r:1 w:1)
/// Proof Skipped: Crowdloan NewRaise (max_values: Some(1), max_size: None, mode: Measured)
fn poke() -> Weight {
// Minimum execution time: 35_635 nanoseconds.
Weight::from_ref_time(43_066_000)
// Proof Size summary in bytes:
// Measured: `271`
// Estimated: `3512`
// Minimum execution time: 16_659 nanoseconds.
Weight::from_ref_time(17_489_000)
.saturating_add(Weight::from_proof_size(3512))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Auctions AuctionInfo (r:1 w:0)
// Storage: Crowdloan EndingsCount (r:1 w:1)
// Storage: Crowdloan NewRaise (r:1 w:1)
// Storage: Crowdloan Funds (r:2 w:0)
// Storage: Auctions AuctionCounter (r:1 w:0)
// Storage: Paras ParaLifecycles (r:2 w:0)
// Storage: Slots Leases (r:2 w:0)
// Storage: Auctions Winning (r:1 w:1)
// Storage: Auctions ReservedAmounts (r:2 w:2)
// Storage: System Account (r:2 w:2)
/// Storage: Auctions AuctionInfo (r:1 w:0)
/// Proof: Auctions AuctionInfo (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: Crowdloan EndingsCount (r:1 w:1)
/// Proof Skipped: Crowdloan EndingsCount (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Crowdloan NewRaise (r:1 w:1)
/// Proof Skipped: Crowdloan NewRaise (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Crowdloan Funds (r:100 w:0)
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
/// Storage: Auctions AuctionCounter (r:1 w:0)
/// Proof: Auctions AuctionCounter (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
/// Storage: Paras ParaLifecycles (r:100 w:0)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: Slots Leases (r:100 w:0)
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
/// Storage: Auctions Winning (r:1 w:1)
/// Proof: Auctions Winning (max_values: None, max_size: Some(1920), added: 4395, mode: MaxEncodedLen)
/// Storage: Auctions ReservedAmounts (r:100 w:100)
/// Proof: Auctions ReservedAmounts (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen)
/// Storage: System Account (r:100 w:100)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
/// The range of component `n` is `[2, 100]`.
fn on_initialize(n: u32, ) -> Weight {
// Minimum execution time: 135_282 nanoseconds.
Weight::from_ref_time(36_362_030)
// Standard Error: 43_364
.saturating_add(Weight::from_ref_time(51_344_009).saturating_mul(n.into()))
// Proof Size summary in bytes:
// Measured: `224 + n * (420 ±0)`
// Estimated: `7477 + n * (14663 ±0)`
// Minimum execution time: 105_092 nanoseconds.
Weight::from_ref_time(106_031_000)
.saturating_add(Weight::from_proof_size(7477))
// Standard Error: 46_593
.saturating_add(Weight::from_ref_time(44_742_533).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into())))
.saturating_add(Weight::from_proof_size(14663).saturating_mul(n.into()))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_common::paras_registrar`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,99 +45,175 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_common::paras_registrar`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_common::paras_registrar::WeightInfo for WeightInfo<T> {
// Storage: Registrar NextFreeParaId (r:1 w:1)
// Storage: Registrar Paras (r:1 w:1)
// Storage: Paras ParaLifecycles (r:1 w:0)
/// Storage: Registrar NextFreeParaId (r:1 w:1)
/// Proof Skipped: Registrar NextFreeParaId (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Registrar Paras (r:1 w:1)
/// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:1 w:0)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
fn reserve() -> Weight {
// Minimum execution time: 33_875 nanoseconds.
Weight::from_ref_time(34_787_000)
// Proof Size summary in bytes:
// Measured: `97`
// Estimated: `5736`
// Minimum execution time: 24_169 nanoseconds.
Weight::from_ref_time(24_502_000)
.saturating_add(Weight::from_proof_size(5736))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Registrar Paras (r:1 w:1)
// Storage: Paras ParaLifecycles (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Paras PvfActiveVoteMap (r:1 w:0)
// Storage: Paras CodeByHash (r:1 w:1)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Paras CodeByHashRefs (r:1 w:1)
// Storage: Paras CurrentCodeHash (r:0 w:1)
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
/// Storage: Registrar Paras (r:1 w:1)
/// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:1 w:1)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras PvfActiveVoteMap (r:1 w:0)
/// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras CodeByHash (r:1 w:1)
/// Proof Skipped: Paras CodeByHash (max_values: None, max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras ActionsQueue (r:1 w:1)
/// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras CodeByHashRefs (r:1 w:1)
/// Proof Skipped: Paras CodeByHashRefs (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras CurrentCodeHash (r:0 w:1)
/// Proof Skipped: Paras CurrentCodeHash (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras UpcomingParasGenesis (r:0 w:1)
/// Proof Skipped: Paras UpcomingParasGenesis (max_values: None, max_size: None, mode: Measured)
fn register() -> Weight {
// Minimum execution time: 7_326_027 nanoseconds.
Weight::from_ref_time(7_577_872_000)
// Proof Size summary in bytes:
// Measured: `636`
// Estimated: `22200`
// Minimum execution time: 7_389_259 nanoseconds.
Weight::from_ref_time(7_432_628_000)
.saturating_add(Weight::from_proof_size(22200))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(7))
}
// Storage: Registrar Paras (r:1 w:1)
// Storage: Paras ParaLifecycles (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Paras PvfActiveVoteMap (r:1 w:0)
// Storage: Paras CodeByHash (r:1 w:1)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Paras CodeByHashRefs (r:1 w:1)
// Storage: Paras CurrentCodeHash (r:0 w:1)
// Storage: Paras UpcomingParasGenesis (r:0 w:1)
/// Storage: Registrar Paras (r:1 w:1)
/// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:1 w:1)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras PvfActiveVoteMap (r:1 w:0)
/// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras CodeByHash (r:1 w:1)
/// Proof Skipped: Paras CodeByHash (max_values: None, max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras ActionsQueue (r:1 w:1)
/// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras CodeByHashRefs (r:1 w:1)
/// Proof Skipped: Paras CodeByHashRefs (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras CurrentCodeHash (r:0 w:1)
/// Proof Skipped: Paras CurrentCodeHash (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras UpcomingParasGenesis (r:0 w:1)
/// Proof Skipped: Paras UpcomingParasGenesis (max_values: None, max_size: None, mode: Measured)
fn force_register() -> Weight {
// Minimum execution time: 7_423_148 nanoseconds.
Weight::from_ref_time(7_765_597_000)
// Proof Size summary in bytes:
// Measured: `521`
// Estimated: `21050`
// Minimum execution time: 7_365_015 nanoseconds.
Weight::from_ref_time(7_431_155_000)
.saturating_add(Weight::from_proof_size(21050))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(7))
}
// Storage: Registrar Paras (r:1 w:1)
// Storage: Paras ParaLifecycles (r:1 w:1)
// Storage: Paras FutureCodeHash (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Registrar PendingSwap (r:0 w:1)
/// Storage: Registrar Paras (r:1 w:1)
/// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:1 w:1)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras FutureCodeHash (r:1 w:0)
/// Proof Skipped: Paras FutureCodeHash (max_values: None, max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras ActionsQueue (r:1 w:1)
/// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured)
/// Storage: Registrar PendingSwap (r:0 w:1)
/// Proof Skipped: Registrar PendingSwap (max_values: None, max_size: None, mode: Measured)
fn deregister() -> Weight {
// Minimum execution time: 58_632 nanoseconds.
Weight::from_ref_time(65_277_000)
// Proof Size summary in bytes:
// Measured: `467`
// Estimated: `13197`
// Minimum execution time: 37_563 nanoseconds.
Weight::from_ref_time(38_238_000)
.saturating_add(Weight::from_proof_size(13197))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Registrar Paras (r:1 w:0)
// Storage: Paras ParaLifecycles (r:2 w:2)
// Storage: Registrar PendingSwap (r:1 w:1)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Crowdloan Funds (r:2 w:2)
// Storage: Slots Leases (r:2 w:2)
/// Storage: Registrar Paras (r:1 w:0)
/// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:2 w:2)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: Registrar PendingSwap (r:1 w:1)
/// Proof Skipped: Registrar PendingSwap (max_values: None, max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras ActionsQueue (r:1 w:1)
/// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured)
/// Storage: Crowdloan Funds (r:2 w:2)
/// Proof Skipped: Crowdloan Funds (max_values: None, max_size: None, mode: Measured)
/// Storage: Slots Leases (r:2 w:2)
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
fn swap() -> Weight {
// Minimum execution time: 52_502 nanoseconds.
Weight::from_ref_time(63_357_000)
// Proof Size summary in bytes:
// Measured: `774`
// Estimated: `28188`
// Minimum execution time: 44_257 nanoseconds.
Weight::from_ref_time(45_741_000)
.saturating_add(Weight::from_proof_size(28188))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(8))
}
// Storage: Paras FutureCodeHash (r:1 w:1)
// Storage: Paras UpgradeRestrictionSignal (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Paras CurrentCodeHash (r:1 w:0)
// Storage: Paras UpgradeCooldowns (r:1 w:1)
// Storage: Paras PvfActiveVoteMap (r:1 w:0)
// Storage: Paras CodeByHash (r:1 w:1)
// Storage: Paras UpcomingUpgrades (r:1 w:1)
// Storage: System Digest (r:1 w:1)
// Storage: Paras CodeByHashRefs (r:1 w:1)
// Storage: Paras FutureCodeUpgrades (r:0 w:1)
/// Storage: Paras FutureCodeHash (r:1 w:1)
/// Proof Skipped: Paras FutureCodeHash (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras UpgradeRestrictionSignal (r:1 w:1)
/// Proof Skipped: Paras UpgradeRestrictionSignal (max_values: None, max_size: None, mode: Measured)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras CurrentCodeHash (r:1 w:0)
/// Proof Skipped: Paras CurrentCodeHash (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras UpgradeCooldowns (r:1 w:1)
/// Proof Skipped: Paras UpgradeCooldowns (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras PvfActiveVoteMap (r:1 w:0)
/// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras CodeByHash (r:1 w:1)
/// Proof Skipped: Paras CodeByHash (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras UpcomingUpgrades (r:1 w:1)
/// Proof Skipped: Paras UpcomingUpgrades (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras CodeByHashRefs (r:1 w:1)
/// Proof Skipped: Paras CodeByHashRefs (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras FutureCodeUpgrades (r:0 w:1)
/// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured)
/// The range of component `b` is `[1, 3145728]`.
fn schedule_code_upgrade(b: u32, ) -> Weight {
// Minimum execution time: 45_626 nanoseconds.
Weight::from_ref_time(46_144_000)
// Standard Error: 3
.saturating_add(Weight::from_ref_time(2_763).saturating_mul(b.into()))
// Proof Size summary in bytes:
// Measured: `362`
// Estimated: `20812`
// Minimum execution time: 38_828 nanoseconds.
Weight::from_ref_time(39_506_000)
.saturating_add(Weight::from_proof_size(20812))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_322).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(8))
}
// Storage: Paras Heads (r:0 w:1)
/// Storage: Paras Heads (r:0 w:1)
/// Proof Skipped: Paras Heads (max_values: None, max_size: None, mode: Measured)
/// The range of component `b` is `[1, 1048576]`.
fn set_current_head(b: u32, ) -> Weight {
// Minimum execution time: 14_458 nanoseconds.
Weight::from_ref_time(12_242_391)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(1_067).saturating_mul(b.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_918 nanoseconds.
Weight::from_ref_time(8_119_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 2
.saturating_add(Weight::from_ref_time(922).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_common::slots`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,52 +45,85 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_common::slots`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T> {
// Storage: Slots Leases (r:1 w:1)
// Storage: System Account (r:1 w:1)
/// Storage: Slots Leases (r:1 w:1)
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
/// Storage: System Account (r:1 w:1)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn force_lease() -> Weight {
// Minimum execution time: 34_510 nanoseconds.
Weight::from_ref_time(35_577_000)
// Proof Size summary in bytes:
// Measured: `319`
// Estimated: `5397`
// Minimum execution time: 23_913 nanoseconds.
Weight::from_ref_time(24_365_000)
.saturating_add(Weight::from_proof_size(5397))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Paras Parachains (r:1 w:0)
// Storage: Slots Leases (r:101 w:100)
// Storage: Paras ParaLifecycles (r:100 w:100)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Registrar Paras (r:100 w:100)
/// Storage: Paras Parachains (r:1 w:0)
/// Proof Skipped: Paras Parachains (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Slots Leases (r:101 w:100)
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:200 w:200)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras ActionsQueue (r:1 w:1)
/// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured)
/// Storage: Registrar Paras (r:100 w:100)
/// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured)
/// The range of component `c` is `[0, 100]`.
/// The range of component `t` is `[0, 100]`.
fn manage_lease_period_start(c: u32, t: u32, ) -> Weight {
// Minimum execution time: 673_062 nanoseconds.
Weight::from_ref_time(686_758_000)
// Standard Error: 82_664
.saturating_add(Weight::from_ref_time(2_674_745).saturating_mul(c.into()))
// Standard Error: 82_664
.saturating_add(Weight::from_ref_time(15_950_615).saturating_mul(t.into()))
// Proof Size summary in bytes:
// Measured: `21 + c * (47 ±0) + t * (370 ±0)`
// Estimated: `268854 + c * (1076 ±0) + t * (7963 ±0)`
// Minimum execution time: 560_308 nanoseconds.
Weight::from_ref_time(566_492_000)
.saturating_add(Weight::from_proof_size(268854))
// Standard Error: 71_860
.saturating_add(Weight::from_ref_time(2_278_418).saturating_mul(c.into()))
// Standard Error: 71_860
.saturating_add(Weight::from_ref_time(13_049_980).saturating_mul(t.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().reads((3_u64).saturating_mul(t.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(t.into())))
.saturating_add(Weight::from_proof_size(1076).saturating_mul(c.into()))
.saturating_add(Weight::from_proof_size(7963).saturating_mul(t.into()))
}
// Storage: Slots Leases (r:1 w:1)
// Storage: System Account (r:8 w:8)
/// Storage: Slots Leases (r:1 w:1)
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
/// Storage: System Account (r:8 w:8)
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
fn clear_all_leases() -> Weight {
// Minimum execution time: 117_549 nanoseconds.
Weight::from_ref_time(132_308_000)
// Proof Size summary in bytes:
// Measured: `3047`
// Estimated: `26346`
// Minimum execution time: 89_090 nanoseconds.
Weight::from_ref_time(90_253_000)
.saturating_add(Weight::from_proof_size(26346))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(9))
}
// Storage: Slots Leases (r:1 w:0)
// Storage: Paras ParaLifecycles (r:1 w:1)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
// Storage: Registrar Paras (r:1 w:1)
/// Storage: Slots Leases (r:1 w:0)
/// Proof Skipped: Slots Leases (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:1 w:1)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras ActionsQueue (r:1 w:1)
/// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured)
/// Storage: Registrar Paras (r:1 w:1)
/// Proof Skipped: Registrar Paras (max_values: None, max_size: None, mode: Measured)
fn trigger_onboard() -> Weight {
// Minimum execution time: 38_987 nanoseconds.
Weight::from_ref_time(47_758_000)
// Proof Size summary in bytes:
// Measured: `734`
// Estimated: `14065`
// Minimum execution time: 26_619 nanoseconds.
Weight::from_ref_time(27_173_000)
.saturating_add(Weight::from_proof_size(14065))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_parachains::configuration`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,58 +45,103 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_parachains::configuration`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_parachains::configuration::WeightInfo for WeightInfo<T> {
// Storage: Configuration PendingConfigs (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Storage: Configuration PendingConfigs (r:1 w:1)
/// Proof Skipped: Configuration PendingConfigs (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
/// Proof Skipped: Configuration BypassConsistencyCheck (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
fn set_config_with_block_number() -> Weight {
// Minimum execution time: 13_220 nanoseconds.
Weight::from_ref_time(13_982_000)
// Proof Size summary in bytes:
// Measured: `424`
// Estimated: `3676`
// Minimum execution time: 12_009 nanoseconds.
Weight::from_ref_time(12_593_000)
.saturating_add(Weight::from_proof_size(3676))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Configuration PendingConfigs (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Storage: Configuration PendingConfigs (r:1 w:1)
/// Proof Skipped: Configuration PendingConfigs (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
/// Proof Skipped: Configuration BypassConsistencyCheck (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
fn set_config_with_u32() -> Weight {
// Minimum execution time: 13_397 nanoseconds.
Weight::from_ref_time(13_700_000)
// Proof Size summary in bytes:
// Measured: `424`
// Estimated: `3676`
// Minimum execution time: 12_196 nanoseconds.
Weight::from_ref_time(12_625_000)
.saturating_add(Weight::from_proof_size(3676))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Configuration PendingConfigs (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Storage: Configuration PendingConfigs (r:1 w:1)
/// Proof Skipped: Configuration PendingConfigs (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
/// Proof Skipped: Configuration BypassConsistencyCheck (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
fn set_config_with_option_u32() -> Weight {
// Minimum execution time: 13_143 nanoseconds.
Weight::from_ref_time(13_710_000)
// Proof Size summary in bytes:
// Measured: `424`
// Estimated: `3676`
// Minimum execution time: 12_233 nanoseconds.
Weight::from_ref_time(12_740_000)
.saturating_add(Weight::from_proof_size(3676))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Configuration PendingConfigs (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Storage: Configuration PendingConfigs (r:1 w:1)
/// Proof Skipped: Configuration PendingConfigs (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
/// Proof Skipped: Configuration BypassConsistencyCheck (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
fn set_config_with_weight() -> Weight {
// Minimum execution time: 13_410 nanoseconds.
Weight::from_ref_time(13_777_000)
// Proof Size summary in bytes:
// Measured: `424`
// Estimated: `3676`
// Minimum execution time: 12_158 nanoseconds.
Weight::from_ref_time(12_672_000)
.saturating_add(Weight::from_proof_size(3676))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Benchmark Override (r:0 w:0)
/// Storage: Benchmark Override (r:0 w:0)
/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
fn set_hrmp_open_request_ttl() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_000_000_000 nanoseconds.
Weight::from_ref_time(2_000_000_000_000)
.saturating_add(Weight::from_proof_size(0))
}
// Storage: Configuration PendingConfigs (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Storage: Configuration PendingConfigs (r:1 w:1)
/// Proof Skipped: Configuration PendingConfigs (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Configuration BypassConsistencyCheck (r:1 w:0)
/// Proof Skipped: Configuration BypassConsistencyCheck (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
fn set_config_with_balance() -> Weight {
// Minimum execution time: 13_335 nanoseconds.
Weight::from_ref_time(13_824_000)
// Proof Size summary in bytes:
// Measured: `424`
// Estimated: `3676`
// Minimum execution time: 12_158 nanoseconds.
Weight::from_ref_time(12_669_000)
.saturating_add(Weight::from_proof_size(3676))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_parachains::disputes`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,10 +45,15 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_parachains::disputes`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_parachains::disputes::WeightInfo for WeightInfo<T> {
// Storage: ParasDisputes Frozen (r:0 w:1)
/// Storage: ParasDisputes Frozen (r:0 w:1)
/// Proof Skipped: ParasDisputes Frozen (max_values: Some(1), max_size: None, mode: Measured)
fn force_unfreeze() -> Weight {
// Minimum execution time: 4_532 nanoseconds.
Weight::from_ref_time(4_980_000)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_339 nanoseconds.
Weight::from_ref_time(2_443_000)
.saturating_add(Weight::from_proof_size(0))
.saturating_add(T::DbWeight::get().writes(1))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_parachains::hrmp`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,144 +45,245 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_parachains::hrmp`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInfo<T> {
// Storage: Paras ParaLifecycles (r:2 w:0)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
// Storage: Hrmp HrmpChannels (r:1 w:0)
// Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:0)
// Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1)
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Storage: Paras ParaLifecycles (r:2 w:0)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequests (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpChannels (r:1 w:0)
/// Proof Skipped: Hrmp HrmpChannels (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:0)
/// Proof Skipped: Hrmp HrmpEgressChannelsIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequestCount (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured)
fn hrmp_init_open_channel() -> Weight {
// Minimum execution time: 43_454 nanoseconds.
Weight::from_ref_time(44_923_000)
// Proof Size summary in bytes:
// Measured: `751`
// Estimated: `27549`
// Minimum execution time: 37_001 nanoseconds.
Weight::from_ref_time(37_486_000)
.saturating_add(Weight::from_proof_size(27549))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Paras ParaLifecycles (r:1 w:0)
// Storage: Hrmp HrmpIngressChannelsIndex (r:1 w:0)
// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:1 w:1)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequests (max_values: None, max_size: None, mode: Measured)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:1 w:0)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpIngressChannelsIndex (r:1 w:0)
/// Proof Skipped: Hrmp HrmpIngressChannelsIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:1 w:1)
/// Proof Skipped: Hrmp HrmpAcceptedChannelRequestCount (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured)
fn hrmp_accept_open_channel() -> Weight {
// Minimum execution time: 43_222 nanoseconds.
Weight::from_ref_time(44_760_000)
// Proof Size summary in bytes:
// Measured: `1015`
// Estimated: `22450`
// Minimum execution time: 41_720 nanoseconds.
Weight::from_ref_time(42_162_000)
.saturating_add(Weight::from_proof_size(22450))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Hrmp HrmpChannels (r:1 w:0)
// Storage: Hrmp HrmpCloseChannelRequests (r:1 w:1)
// Storage: Hrmp HrmpCloseChannelRequestsList (r:1 w:1)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Storage: Hrmp HrmpChannels (r:1 w:0)
/// Proof Skipped: Hrmp HrmpChannels (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpCloseChannelRequests (r:1 w:1)
/// Proof Skipped: Hrmp HrmpCloseChannelRequests (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpCloseChannelRequestsList (r:1 w:1)
/// Proof Skipped: Hrmp HrmpCloseChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueueHeads (r:1 w:1)
/// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured)
fn hrmp_close_channel() -> Weight {
// Minimum execution time: 39_732 nanoseconds.
Weight::from_ref_time(41_351_000)
// Proof Size summary in bytes:
// Measured: `886`
// Estimated: `16206`
// Minimum execution time: 34_128 nanoseconds.
Weight::from_ref_time(34_626_000)
.saturating_add(Weight::from_proof_size(16206))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Hrmp HrmpIngressChannelsIndex (r:128 w:127)
// Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:1)
// Storage: Hrmp HrmpChannels (r:127 w:127)
// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:0 w:1)
// Storage: Hrmp HrmpChannelContents (r:0 w:127)
// Storage: Hrmp HrmpOpenChannelRequestCount (r:0 w:1)
/// Storage: Hrmp HrmpIngressChannelsIndex (r:128 w:128)
/// Proof Skipped: Hrmp HrmpIngressChannelsIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpEgressChannelsIndex (r:128 w:128)
/// Proof Skipped: Hrmp HrmpEgressChannelsIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpChannels (r:254 w:254)
/// Proof Skipped: Hrmp HrmpChannels (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:0 w:1)
/// Proof Skipped: Hrmp HrmpAcceptedChannelRequestCount (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpChannelContents (r:0 w:254)
/// Proof Skipped: Hrmp HrmpChannelContents (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequestCount (r:0 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequestCount (max_values: None, max_size: None, mode: Measured)
/// The range of component `i` is `[0, 127]`.
/// The range of component `e` is `[0, 127]`.
fn force_clean_hrmp(i: u32, e: u32, ) -> Weight {
// Minimum execution time: 1_044_572 nanoseconds.
Weight::from_ref_time(1_051_676_000)
// Standard Error: 96_937
.saturating_add(Weight::from_ref_time(3_317_018).saturating_mul(i.into()))
// Standard Error: 96_937
.saturating_add(Weight::from_ref_time(3_348_012).saturating_mul(e.into()))
// Proof Size summary in bytes:
// Measured: `321 + i * (131 ±0) + e * (131 ±0)`
// Estimated: `6756 + i * (5742 ±0) + e * (5736 ±0)`
// Minimum execution time: 992_322 nanoseconds.
Weight::from_ref_time(996_254_000)
.saturating_add(Weight::from_proof_size(6756))
// Standard Error: 88_959
.saturating_add(Weight::from_ref_time(2_896_128).saturating_mul(i.into()))
// Standard Error: 88_959
.saturating_add(Weight::from_ref_time(2_924_587).saturating_mul(e.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into())))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(e.into())))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(i.into())))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(e.into())))
.saturating_add(Weight::from_proof_size(5742).saturating_mul(i.into()))
.saturating_add(Weight::from_proof_size(5736).saturating_mul(e.into()))
}
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:0)
// Storage: Hrmp HrmpOpenChannelRequests (r:2 w:2)
// Storage: Paras ParaLifecycles (r:4 w:0)
// Storage: Hrmp HrmpIngressChannelsIndex (r:2 w:2)
// Storage: Hrmp HrmpEgressChannelsIndex (r:2 w:2)
// Storage: Hrmp HrmpOpenChannelRequestCount (r:2 w:2)
// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:2 w:2)
// Storage: Hrmp HrmpChannels (r:0 w:2)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequests (r:128 w:128)
/// Proof Skipped: Hrmp HrmpOpenChannelRequests (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras ParaLifecycles (r:256 w:0)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpIngressChannelsIndex (r:128 w:128)
/// Proof Skipped: Hrmp HrmpIngressChannelsIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpEgressChannelsIndex (r:128 w:128)
/// Proof Skipped: Hrmp HrmpEgressChannelsIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequestCount (r:128 w:128)
/// Proof Skipped: Hrmp HrmpOpenChannelRequestCount (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:128 w:128)
/// Proof Skipped: Hrmp HrmpAcceptedChannelRequestCount (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpChannels (r:0 w:128)
/// Proof Skipped: Hrmp HrmpChannels (max_values: None, max_size: None, mode: Measured)
/// The range of component `c` is `[0, 128]`.
fn force_process_hrmp_open(c: u32, ) -> Weight {
// Minimum execution time: 10_903 nanoseconds.
Weight::from_ref_time(1_219_805)
// Standard Error: 19_959
.saturating_add(Weight::from_ref_time(18_892_545).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `867 + c * (166 ±0)`
// Estimated: `8649 + c * (18828 ±0)`
// Minimum execution time: 9_744 nanoseconds.
Weight::from_ref_time(4_462_524)
.saturating_add(Weight::from_proof_size(8649))
// Standard Error: 17_315
.saturating_add(Weight::from_ref_time(17_156_344).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(c.into())))
.saturating_add(Weight::from_proof_size(18828).saturating_mul(c.into()))
}
// Storage: Hrmp HrmpCloseChannelRequestsList (r:1 w:0)
// Storage: Hrmp HrmpChannels (r:2 w:2)
// Storage: Hrmp HrmpEgressChannelsIndex (r:2 w:2)
// Storage: Hrmp HrmpIngressChannelsIndex (r:2 w:2)
// Storage: Hrmp HrmpCloseChannelRequests (r:0 w:2)
// Storage: Hrmp HrmpChannelContents (r:0 w:2)
/// Storage: Hrmp HrmpCloseChannelRequestsList (r:1 w:1)
/// Proof Skipped: Hrmp HrmpCloseChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Hrmp HrmpChannels (r:128 w:128)
/// Proof Skipped: Hrmp HrmpChannels (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpEgressChannelsIndex (r:128 w:128)
/// Proof Skipped: Hrmp HrmpEgressChannelsIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpIngressChannelsIndex (r:128 w:128)
/// Proof Skipped: Hrmp HrmpIngressChannelsIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpCloseChannelRequests (r:0 w:128)
/// Proof Skipped: Hrmp HrmpCloseChannelRequests (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpChannelContents (r:0 w:128)
/// Proof Skipped: Hrmp HrmpChannelContents (max_values: None, max_size: None, mode: Measured)
/// The range of component `c` is `[0, 128]`.
fn force_process_hrmp_close(c: u32, ) -> Weight {
// Minimum execution time: 7_315 nanoseconds.
Weight::from_ref_time(1_359_089)
// Standard Error: 15_125
.saturating_add(Weight::from_ref_time(11_676_589).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `374 + c * (155 ±0)`
// Estimated: `2634 + c * (8361 ±0)`
// Minimum execution time: 5_958 nanoseconds.
Weight::from_ref_time(5_082_835)
.saturating_add(Weight::from_proof_size(2634))
// Standard Error: 8_583
.saturating_add(Weight::from_ref_time(10_520_417).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(c.into())))
.saturating_add(Weight::from_proof_size(8361).saturating_mul(c.into()))
}
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
// Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1)
/// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequests (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequestCount (max_values: None, max_size: None, mode: Measured)
/// The range of component `c` is `[0, 128]`.
fn hrmp_cancel_open_request(c: u32, ) -> Weight {
// Minimum execution time: 26_413 nanoseconds.
Weight::from_ref_time(35_401_924)
// Standard Error: 3_242
.saturating_add(Weight::from_ref_time(228_592).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `1089 + c * (13 ±0)`
// Estimated: `8112 + c * (45 ±0)`
// Minimum execution time: 20_364 nanoseconds.
Weight::from_ref_time(25_315_886)
.saturating_add(Weight::from_proof_size(8112))
// Standard Error: 1_241
.saturating_add(Weight::from_ref_time(56_123).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_proof_size(45).saturating_mul(c.into()))
}
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
// Storage: Hrmp HrmpOpenChannelRequests (r:2 w:2)
/// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequests (r:128 w:128)
/// Proof Skipped: Hrmp HrmpOpenChannelRequests (max_values: None, max_size: None, mode: Measured)
/// The range of component `c` is `[0, 128]`.
fn clean_open_channel_requests(c: u32, ) -> Weight {
// Minimum execution time: 5_120 nanoseconds.
Weight::from_ref_time(735_035)
// Standard Error: 5_328
.saturating_add(Weight::from_ref_time(3_270_409).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `284 + c * (94 ±0)`
// Estimated: `1046 + c * (2664 ±0)`
// Minimum execution time: 5_201 nanoseconds.
Weight::from_ref_time(4_352_888)
.saturating_add(Weight::from_proof_size(1046))
// Standard Error: 2_816
.saturating_add(Weight::from_ref_time(2_877_652).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1))
.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(2664).saturating_mul(c.into()))
}
// Storage: Paras ParaLifecycles (r:2 w:0)
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
// Storage: Hrmp HrmpChannels (r:1 w:0)
// Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:0)
// Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1)
// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
// Storage: Dmp DownwardMessageQueues (r:2 w:2)
// Storage: Dmp DownwardMessageQueueHeads (r:2 w:2)
// Storage: Hrmp HrmpIngressChannelsIndex (r:1 w:0)
// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:1 w:1)
/// Storage: Paras ParaLifecycles (r:2 w:0)
/// Proof Skipped: Paras ParaLifecycles (max_values: None, max_size: None, mode: Measured)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequests (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpChannels (r:1 w:0)
/// Proof Skipped: Hrmp HrmpChannels (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:0)
/// Proof Skipped: Hrmp HrmpEgressChannelsIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequestCount (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1)
/// Proof Skipped: Hrmp HrmpOpenChannelRequestsList (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueues (r:2 w:2)
/// Proof Skipped: Dmp DownwardMessageQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Dmp DownwardMessageQueueHeads (r:2 w:2)
/// Proof Skipped: Dmp DownwardMessageQueueHeads (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpIngressChannelsIndex (r:1 w:0)
/// Proof Skipped: Hrmp HrmpIngressChannelsIndex (max_values: None, max_size: None, mode: Measured)
/// Storage: Hrmp HrmpAcceptedChannelRequestCount (r:1 w:1)
/// Proof Skipped: Hrmp HrmpAcceptedChannelRequestCount (max_values: None, max_size: None, mode: Measured)
fn force_open_hrmp_channel() -> Weight {
// Minimum execution time: 56_970 nanoseconds.
Weight::from_ref_time(58_788_000)
// Proof Size summary in bytes:
// Measured: `751`
// Estimated: `38951`
// Minimum execution time: 50_660 nanoseconds.
Weight::from_ref_time(50_987_000)
.saturating_add(Weight::from_proof_size(38951))
.saturating_add(T::DbWeight::get().reads(14))
.saturating_add(T::DbWeight::get().writes(8))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_parachains::initializer`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,14 +45,20 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_parachains::initializer`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_parachains::initializer::WeightInfo for WeightInfo<T> {
// Storage: System Digest (r:1 w:1)
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
/// The range of component `d` is `[0, 65536]`.
fn force_approve(d: u32, ) -> Weight {
// Minimum execution time: 8_196 nanoseconds.
Weight::from_ref_time(8_488_000)
// Standard Error: 20
.saturating_add(Weight::from_ref_time(2_817).saturating_mul(d.into()))
// Proof Size summary in bytes:
// Measured: `28 + d * (11 ±0)`
// Estimated: `519 + d * (11 ±0)`
// Minimum execution time: 3_279 nanoseconds.
Weight::from_ref_time(7_114_950)
.saturating_add(Weight::from_proof_size(519))
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_318).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_proof_size(11).saturating_mul(d.into()))
}
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_parachains::paras`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -44,142 +45,243 @@ use sp_std::marker::PhantomData;
/// Weight functions for `runtime_parachains::paras`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightInfo<T> {
// Storage: Paras CurrentCodeHash (r:1 w:1)
// Storage: Paras CodeByHashRefs (r:1 w:1)
// Storage: Paras PastCodeMeta (r:1 w:1)
// Storage: Paras PastCodePruning (r:1 w:1)
// Storage: Paras PastCodeHash (r:0 w:1)
// Storage: Paras CodeByHash (r:0 w:1)
/// Storage: Paras CurrentCodeHash (r:1 w:1)
/// Proof Skipped: Paras CurrentCodeHash (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras CodeByHashRefs (r:1 w:1)
/// Proof Skipped: Paras CodeByHashRefs (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras PastCodeMeta (r:1 w:1)
/// Proof Skipped: Paras PastCodeMeta (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras PastCodePruning (r:1 w:1)
/// Proof Skipped: Paras PastCodePruning (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras PastCodeHash (r:0 w:1)
/// Proof Skipped: Paras PastCodeHash (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras CodeByHash (r:0 w:1)
/// Proof Skipped: Paras CodeByHash (max_values: None, max_size: None, mode: Measured)
/// The range of component `c` is `[1, 3145728]`.
fn force_set_current_code(c: u32, ) -> Weight {
// Minimum execution time: 38_922 nanoseconds.
Weight::from_ref_time(56_697_065)
// Standard Error: 14
.saturating_add(Weight::from_ref_time(2_617).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `8341`
// Estimated: `57966`
// Minimum execution time: 31_134 nanoseconds.
Weight::from_ref_time(31_451_000)
.saturating_add(Weight::from_proof_size(57966))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_310).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Paras Heads (r:0 w:1)
/// Storage: Paras Heads (r:0 w:1)
/// Proof Skipped: Paras Heads (max_values: None, max_size: None, mode: Measured)
/// The range of component `s` is `[1, 1048576]`.
fn force_set_current_head(s: u32, ) -> Weight {
// Minimum execution time: 14_358 nanoseconds.
Weight::from_ref_time(10_296_435)
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_504 nanoseconds.
Weight::from_ref_time(7_539_000)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 2
.saturating_add(Weight::from_ref_time(1_074).saturating_mul(s.into()))
.saturating_add(Weight::from_ref_time(916).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: Paras FutureCodeHash (r:1 w:1)
// Storage: Paras CurrentCodeHash (r:1 w:0)
// Storage: Paras UpgradeCooldowns (r:1 w:1)
// Storage: Paras PvfActiveVoteMap (r:1 w:0)
// Storage: Paras CodeByHash (r:1 w:1)
// Storage: Paras UpcomingUpgrades (r:1 w:1)
// Storage: System Digest (r:1 w:1)
// Storage: Paras CodeByHashRefs (r:1 w:1)
// Storage: Paras FutureCodeUpgrades (r:0 w:1)
// Storage: Paras UpgradeRestrictionSignal (r:0 w:1)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras FutureCodeHash (r:1 w:1)
/// Proof Skipped: Paras FutureCodeHash (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras CurrentCodeHash (r:1 w:0)
/// Proof Skipped: Paras CurrentCodeHash (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras UpgradeCooldowns (r:1 w:1)
/// Proof Skipped: Paras UpgradeCooldowns (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras PvfActiveVoteMap (r:1 w:0)
/// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras CodeByHash (r:1 w:1)
/// Proof Skipped: Paras CodeByHash (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras UpcomingUpgrades (r:1 w:1)
/// Proof Skipped: Paras UpcomingUpgrades (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras CodeByHashRefs (r:1 w:1)
/// Proof Skipped: Paras CodeByHashRefs (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras FutureCodeUpgrades (r:0 w:1)
/// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras UpgradeRestrictionSignal (r:0 w:1)
/// Proof Skipped: Paras UpgradeRestrictionSignal (max_values: None, max_size: None, mode: Measured)
/// The range of component `c` is `[1, 3145728]`.
fn force_schedule_code_upgrade(c: u32, ) -> Weight {
// Minimum execution time: 66_499 nanoseconds.
Weight::from_ref_time(67_287_000)
// Standard Error: 3
.saturating_add(Weight::from_ref_time(2_713).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `16860`
// Estimated: `199815`
// Minimum execution time: 58_089 nanoseconds.
Weight::from_ref_time(58_849_000)
.saturating_add(Weight::from_proof_size(199815))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_336).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(8))
}
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
// Storage: Paras Heads (r:0 w:1)
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
/// Storage: Paras FutureCodeUpgrades (r:1 w:0)
/// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras Heads (r:0 w:1)
/// Proof Skipped: Paras Heads (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
/// Proof Skipped: Paras UpgradeGoAheadSignal (max_values: None, max_size: None, mode: Measured)
/// The range of component `s` is `[1, 1048576]`.
fn force_note_new_head(s: u32, ) -> Weight {
// Minimum execution time: 20_123 nanoseconds.
Weight::from_ref_time(22_232_263)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(1_058).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `95`
// Estimated: `2760`
// Minimum execution time: 13_457 nanoseconds.
Weight::from_ref_time(13_762_000)
.saturating_add(Weight::from_proof_size(2760))
// Standard Error: 2
.saturating_add(Weight::from_ref_time(919).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras ActionsQueue (r:1 w:1)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras ActionsQueue (r:1 w:1)
/// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured)
fn force_queue_action() -> Weight {
// Minimum execution time: 25_083 nanoseconds.
Weight::from_ref_time(26_054_000)
// Proof Size summary in bytes:
// Measured: `4283`
// Estimated: `11536`
// Minimum execution time: 19_281 nanoseconds.
Weight::from_ref_time(20_093_000)
.saturating_add(Weight::from_proof_size(11536))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Paras PvfActiveVoteMap (r:1 w:0)
// Storage: Paras CodeByHash (r:1 w:1)
/// Storage: Paras PvfActiveVoteMap (r:1 w:0)
/// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras CodeByHash (r:1 w:1)
/// Proof Skipped: Paras CodeByHash (max_values: None, max_size: None, mode: Measured)
/// The range of component `c` is `[1, 3145728]`.
fn add_trusted_validation_code(c: u32, ) -> Weight {
// Minimum execution time: 9_450 nanoseconds.
Weight::from_ref_time(9_734_000)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(2_710).saturating_mul(c.into()))
// Proof Size summary in bytes:
// Measured: `28`
// Estimated: `5006`
// Minimum execution time: 7_602 nanoseconds.
Weight::from_ref_time(7_829_000)
.saturating_add(Weight::from_proof_size(5006))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(2_322).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Paras CodeByHashRefs (r:1 w:0)
// Storage: Paras CodeByHash (r:0 w:1)
/// Storage: Paras CodeByHashRefs (r:1 w:0)
/// Proof Skipped: Paras CodeByHashRefs (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras CodeByHash (r:0 w:1)
/// Proof Skipped: Paras CodeByHash (max_values: None, max_size: None, mode: Measured)
fn poke_unused_validation_code() -> Weight {
// Minimum execution time: 7_616 nanoseconds.
Weight::from_ref_time(8_066_000)
// Proof Size summary in bytes:
// Measured: `28`
// Estimated: `2531`
// Minimum execution time: 5_725 nanoseconds.
Weight::from_ref_time(6_106_000)
.saturating_add(Weight::from_proof_size(2531))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
/// Proof Skipped: ParasShared ActiveValidatorKeys (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras PvfActiveVoteMap (r:1 w:1)
/// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured)
fn include_pvf_check_statement() -> Weight {
// Minimum execution time: 130_700 nanoseconds.
Weight::from_ref_time(138_727_000)
// Proof Size summary in bytes:
// Measured: `27043`
// Estimated: `112132`
// Minimum execution time: 91_532 nanoseconds.
Weight::from_ref_time(94_793_000)
.saturating_add(Weight::from_proof_size(112132))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
// Storage: Paras PvfActiveVoteList (r:1 w:1)
// Storage: Paras UpcomingUpgrades (r:1 w:1)
// Storage: System Digest (r:1 w:1)
// Storage: Paras FutureCodeUpgrades (r:0 w:100)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
/// Proof Skipped: ParasShared ActiveValidatorKeys (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras PvfActiveVoteMap (r:1 w:1)
/// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras PvfActiveVoteList (r:1 w:1)
/// Proof Skipped: Paras PvfActiveVoteList (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras UpcomingUpgrades (r:1 w:1)
/// Proof Skipped: Paras UpcomingUpgrades (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras FutureCodeUpgrades (r:0 w:100)
/// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured)
fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight {
// Minimum execution time: 808_758 nanoseconds.
Weight::from_ref_time(836_844_000)
// Proof Size summary in bytes:
// Measured: `27629`
// Estimated: `226477`
// Minimum execution time: 710_822 nanoseconds.
Weight::from_ref_time(720_925_000)
.saturating_add(Weight::from_proof_size(226477))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(104))
}
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
/// Proof Skipped: ParasShared ActiveValidatorKeys (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras PvfActiveVoteMap (r:1 w:1)
/// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured)
fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight {
// Minimum execution time: 124_850 nanoseconds.
Weight::from_ref_time(135_227_000)
// Proof Size summary in bytes:
// Measured: `27575`
// Estimated: `114260`
// Minimum execution time: 91_539 nanoseconds.
Weight::from_ref_time(92_426_000)
.saturating_add(Weight::from_proof_size(114260))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
// Storage: Paras PvfActiveVoteList (r:1 w:1)
// Storage: Paras ActionsQueue (r:1 w:1)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
/// Proof Skipped: ParasShared ActiveValidatorKeys (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras PvfActiveVoteMap (r:1 w:1)
/// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured)
/// Storage: Paras PvfActiveVoteList (r:1 w:1)
/// Proof Skipped: Paras PvfActiveVoteList (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras ActionsQueue (r:1 w:1)
/// Proof Skipped: Paras ActionsQueue (max_values: None, max_size: None, mode: Measured)
fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight {
// Minimum execution time: 630_541 nanoseconds.
Weight::from_ref_time(642_748_000)
// Proof Size summary in bytes:
// Measured: `27097`
// Estimated: `169512`
// Minimum execution time: 571_297 nanoseconds.
Weight::from_ref_time(575_767_000)
.saturating_add(Weight::from_proof_size(169512))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Configuration ActiveConfig (r:1 w:0)
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
/// Storage: Configuration ActiveConfig (r:1 w:0)
/// Proof Skipped: Configuration ActiveConfig (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
/// Proof Skipped: ParasShared ActiveValidatorKeys (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Paras PvfActiveVoteMap (r:1 w:1)
/// Proof Skipped: Paras PvfActiveVoteMap (max_values: None, max_size: None, mode: Measured)
fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight {
// Minimum execution time: 123_066 nanoseconds.
Weight::from_ref_time(132_022_000)
// Proof Size summary in bytes:
// Measured: `27043`
// Estimated: `112132`
// Minimum execution time: 90_298 nanoseconds.
Weight::from_ref_time(91_202_000)
.saturating_add(Weight::from_proof_size(112132))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -16,8 +16,9 @@
//! Autogenerated weights for `runtime_parachains::ump`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-01-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -46,26 +47,44 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_parachains::ump::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[0, 51200]`.
fn process_upward_message(s: u32, ) -> Weight {
// Minimum execution time: 10_641 nanoseconds.
Weight::from_ref_time(1_992_129)
// Standard Error: 16
.saturating_add(Weight::from_ref_time(2_373).saturating_mul(s.into()))
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_914 nanoseconds.
Weight::from_ref_time(327_280)
.saturating_add(Weight::from_proof_size(0))
// Standard Error: 11
.saturating_add(Weight::from_ref_time(1_915).saturating_mul(s.into()))
}
// Storage: Ump NeedsDispatch (r:1 w:1)
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
// Storage: Ump RelayDispatchQueues (r:0 w:1)
// Storage: Ump RelayDispatchQueueSize (r:0 w:1)
/// Storage: Ump NeedsDispatch (r:1 w:1)
/// Proof Skipped: Ump NeedsDispatch (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
/// Proof Skipped: Ump NextDispatchRoundStartWith (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: Ump RelayDispatchQueues (r:0 w:1)
/// Proof Skipped: Ump RelayDispatchQueues (max_values: None, max_size: None, mode: Measured)
/// Storage: Ump RelayDispatchQueueSize (r:0 w:1)
/// Proof Skipped: Ump RelayDispatchQueueSize (max_values: None, max_size: None, mode: Measured)
fn clean_ump_after_outgoing() -> Weight {
// Minimum execution time: 8_510 nanoseconds.
Weight::from_ref_time(9_067_000)
// Proof Size summary in bytes:
// Measured: `234`
// Estimated: `1926`
// Minimum execution time: 8_076 nanoseconds.
Weight::from_ref_time(8_374_000)
.saturating_add(Weight::from_proof_size(1926))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Ump Overweight (r:1 w:1)
// Storage: Ump CounterForOverweight (r:1 w:1)
/// Storage: Ump Overweight (r:1 w:1)
/// Proof Skipped: Ump Overweight (max_values: None, max_size: None, mode: Measured)
/// Storage: Ump CounterForOverweight (r:1 w:1)
/// Proof: Ump CounterForOverweight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
fn service_overweight() -> Weight {
// Minimum execution time: 28_966 nanoseconds.
Weight::from_ref_time(29_910_000)
// Proof Size summary in bytes:
// Measured: `219`
// Estimated: `3193`
// Minimum execution time: 21_625 nanoseconds.
Weight::from_ref_time(21_892_000)
.saturating_add(Weight::from_proof_size(3193))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}