mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 12:51:02 +00:00
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:
@@ -14,8 +14,8 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-24 (Y/M/D)
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! DATE: 2023-02-23 (Y/M/D)
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//!
|
||||
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development`
|
||||
//! WARMUPS: `10`, REPEAT: `100`
|
||||
@@ -42,17 +42,17 @@ parameter_types! {
|
||||
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
|
||||
///
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 11_101_648, 11_377_824
|
||||
/// Average: 11_158_208
|
||||
/// Median: 11_134_153
|
||||
/// Std-Dev: 62437.99
|
||||
/// Min, Max: 9_063_597, 9_605_760
|
||||
/// Average: 9_225_024
|
||||
/// Median: 9_197_375
|
||||
/// Std-Dev: 83325.89
|
||||
///
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 11_368_494
|
||||
/// 95th: 11_302_388
|
||||
/// 75th: 11_151_929
|
||||
/// 99th: 9_437_618
|
||||
/// 95th: 9_402_155
|
||||
/// 75th: 9_250_717
|
||||
pub const BlockExecutionWeight: Weight =
|
||||
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(11_158_208));
|
||||
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(9_225_024));
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-24 (Y/M/D)
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! DATE: 2023-02-23 (Y/M/D)
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//!
|
||||
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development`
|
||||
//! WARMUPS: `10`, REPEAT: `100`
|
||||
@@ -42,17 +42,17 @@ parameter_types! {
|
||||
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
|
||||
///
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 109_996, 111_665
|
||||
/// Average: 110_575
|
||||
/// Median: 110_568
|
||||
/// Std-Dev: 245.27
|
||||
/// Min, Max: 99_280, 101_585
|
||||
/// Average: 99_912
|
||||
/// Median: 99_844
|
||||
/// Std-Dev: 361.48
|
||||
///
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 111_123
|
||||
/// 95th: 110_957
|
||||
/// 75th: 110_703
|
||||
/// 99th: 101_439
|
||||
/// 95th: 100_633
|
||||
/// 75th: 99_966
|
||||
pub const ExtrinsicBaseWeight: Weight =
|
||||
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(110_575));
|
||||
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(99_912));
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
@@ -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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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: 116 nanoseconds.
|
||||
Weight::from_ref_time(148_551)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 115 nanoseconds.
|
||||
Weight::from_ref_time(156_869)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn subtraction(_i: u32, ) -> Weight {
|
||||
// Minimum execution time: 116 nanoseconds.
|
||||
Weight::from_ref_time(146_564)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 126 nanoseconds.
|
||||
Weight::from_ref_time(163_413)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn multiplication(_i: u32, ) -> Weight {
|
||||
// Minimum execution time: 113 nanoseconds.
|
||||
Weight::from_ref_time(147_394)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 125 nanoseconds.
|
||||
Weight::from_ref_time(165_700)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn division(_i: u32, ) -> Weight {
|
||||
// Minimum execution time: 115 nanoseconds.
|
||||
Weight::from_ref_time(147_033)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 114 nanoseconds.
|
||||
Weight::from_ref_time(160_757)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
/// The range of component `i` is `[0, 100]`.
|
||||
fn hashing(_i: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_983_154 nanoseconds.
|
||||
Weight::from_ref_time(24_070_029_392)
|
||||
fn hashing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 20_199_657 nanoseconds.
|
||||
Weight::from_ref_time(20_348_638_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: 130 nanoseconds.
|
||||
Weight::from_ref_time(1_606_463)
|
||||
// Standard Error: 5_589
|
||||
.saturating_add(Weight::from_ref_time(55_538_842).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: 118 nanoseconds.
|
||||
Weight::from_ref_time(136_000)
|
||||
// Standard Error: 2_899
|
||||
.saturating_add(Weight::from_ref_time(2_363_633).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: 119 nanoseconds.
|
||||
Weight::from_ref_time(141_000)
|
||||
// Standard Error: 923
|
||||
.saturating_add(Weight::from_ref_time(386_949).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: 146 nanoseconds.
|
||||
Weight::from_ref_time(181_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 18_837
|
||||
.saturating_add(Weight::from_ref_time(47_289_133).saturating_mul(i.into()))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,9 @@
|
||||
//! Autogenerated weights for `frame_election_provider_support`
|
||||
//!
|
||||
//! 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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -48,22 +49,30 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
/// The range of component `d` is `[5, 16]`.
|
||||
fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight {
|
||||
// Minimum execution time: 5_668_576 nanoseconds.
|
||||
Weight::from_ref_time(5_712_755_000)
|
||||
// Standard Error: 133_923
|
||||
.saturating_add(Weight::from_ref_time(5_516_772).saturating_mul(v.into()))
|
||||
// Standard Error: 13_691_904
|
||||
.saturating_add(Weight::from_ref_time(1_483_939_563).saturating_mul(d.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 5_806_565 nanoseconds.
|
||||
Weight::from_ref_time(5_866_482_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 138_296
|
||||
.saturating_add(Weight::from_ref_time(5_701_761).saturating_mul(v.into()))
|
||||
// Standard Error: 14_138_940
|
||||
.saturating_add(Weight::from_ref_time(1_548_790_171).saturating_mul(d.into()))
|
||||
}
|
||||
/// The range of component `v` is `[1000, 2000]`.
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
/// The range of component `d` is `[5, 16]`.
|
||||
fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight {
|
||||
// Minimum execution time: 3_905_717 nanoseconds.
|
||||
Weight::from_ref_time(3_950_012_000)
|
||||
// Standard Error: 121_037
|
||||
.saturating_add(Weight::from_ref_time(4_593_528).saturating_mul(v.into()))
|
||||
// Standard Error: 12_374_443
|
||||
.saturating_add(Weight::from_ref_time(1_416_607_758).saturating_mul(d.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 4_595_992 nanoseconds.
|
||||
Weight::from_ref_time(4_626_336_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 149_717
|
||||
.saturating_add(Weight::from_ref_time(5_673_749).saturating_mul(v.into()))
|
||||
// Standard Error: 15_306_572
|
||||
.saturating_add(Weight::from_ref_time(1_806_945_095).saturating_mul(d.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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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_479 nanoseconds.
|
||||
Weight::from_ref_time(3_232_796)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 1_670 nanoseconds.
|
||||
Weight::from_ref_time(1_704_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(539).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_ref_time(415).saturating_mul(b.into()))
|
||||
}
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark_with_event(b: u32, ) -> Weight {
|
||||
// Minimum execution time: 13_120 nanoseconds.
|
||||
Weight::from_ref_time(176_550_818)
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(1_915).saturating_mul(b.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_327 nanoseconds.
|
||||
Weight::from_ref_time(6_508_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_777).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_452 nanoseconds.
|
||||
Weight::from_ref_time(8_855_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `495`
|
||||
// Minimum execution time: 3_621 nanoseconds.
|
||||
Weight::from_ref_time(3_764_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_536 nanoseconds.
|
||||
Weight::from_ref_time(3_673_000)
|
||||
// Standard Error: 2_059
|
||||
.saturating_add(Weight::from_ref_time(678_301).saturating_mul(i.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 1_680 nanoseconds.
|
||||
Weight::from_ref_time(1_735_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 1_838
|
||||
.saturating_add(Weight::from_ref_time(587_349).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_390 nanoseconds.
|
||||
Weight::from_ref_time(3_504_000)
|
||||
// Standard Error: 890
|
||||
.saturating_add(Weight::from_ref_time(509_654).saturating_mul(i.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 1_693 nanoseconds.
|
||||
Weight::from_ref_time(1_742_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 858
|
||||
.saturating_add(Weight::from_ref_time(446_600).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_185 nanoseconds.
|
||||
Weight::from_ref_time(5_253_000)
|
||||
// Standard Error: 1_170
|
||||
.saturating_add(Weight::from_ref_time(1_152_577).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `120 + p * (69 ±0)`
|
||||
// Estimated: `121 + p * (70 ±0)`
|
||||
// Minimum execution time: 3_458 nanoseconds.
|
||||
Weight::from_ref_time(3_578_000)
|
||||
.saturating_add(Weight::from_proof_size(121))
|
||||
// Standard Error: 1_106
|
||||
.saturating_add(Weight::from_ref_time(990_233).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_bags_list`
|
||||
//!
|
||||
//! 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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,34 +45,59 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_bags_list`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: VoterList ListNodes (r:4 w:4)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
/// Storage: Staking Bonded (r:1 w:0)
|
||||
/// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Ledger (r:1 w:0)
|
||||
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
|
||||
/// Storage: VoterList ListNodes (r:4 w:4)
|
||||
/// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
|
||||
/// Storage: VoterList ListBags (r:1 w:1)
|
||||
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
|
||||
fn rebag_non_terminal() -> Weight {
|
||||
// Minimum execution time: 64_102 nanoseconds.
|
||||
Weight::from_ref_time(66_882_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1846`
|
||||
// Estimated: `19186`
|
||||
// Minimum execution time: 54_999 nanoseconds.
|
||||
Weight::from_ref_time(55_668_000)
|
||||
.saturating_add(Weight::from_proof_size(19186))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
/// Storage: Staking Bonded (r:1 w:0)
|
||||
/// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Ledger (r:1 w:0)
|
||||
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
|
||||
/// Storage: VoterList ListNodes (r:3 w:3)
|
||||
/// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
|
||||
/// Storage: VoterList ListBags (r:2 w:2)
|
||||
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
|
||||
fn rebag_terminal() -> Weight {
|
||||
// Minimum execution time: 63_969 nanoseconds.
|
||||
Weight::from_ref_time(65_863_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1740`
|
||||
// Estimated: `19114`
|
||||
// Minimum execution time: 54_080 nanoseconds.
|
||||
Weight::from_ref_time(54_660_000)
|
||||
.saturating_add(Weight::from_proof_size(19114))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
// Storage: VoterList ListNodes (r:4 w:4)
|
||||
// Storage: Staking Bonded (r:2 w:0)
|
||||
// Storage: Staking Ledger (r:2 w:0)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
/// Storage: VoterList ListNodes (r:4 w:4)
|
||||
/// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Bonded (r:2 w:0)
|
||||
/// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Ledger (r:2 w:0)
|
||||
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
|
||||
/// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
/// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: VoterList ListBags (r:1 w:1)
|
||||
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
|
||||
fn put_in_front_of() -> Weight {
|
||||
// Minimum execution time: 63_120 nanoseconds.
|
||||
Weight::from_ref_time(64_737_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2081`
|
||||
// Estimated: `25798`
|
||||
// Minimum execution time: 58_444 nanoseconds.
|
||||
Weight::from_ref_time(59_445_000)
|
||||
.saturating_add(Weight::from_proof_size(25798))
|
||||
.saturating_add(T::DbWeight::get().reads(10))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
}
|
||||
|
||||
@@ -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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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: 46_620 nanoseconds.
|
||||
Weight::from_ref_time(47_736_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1884`
|
||||
// Estimated: `8288`
|
||||
// Minimum execution time: 49_883 nanoseconds.
|
||||
Weight::from_ref_time(50_796_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: 32_475 nanoseconds.
|
||||
Weight::from_ref_time(33_360_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1710`
|
||||
// Estimated: `7777`
|
||||
// Minimum execution time: 35_180 nanoseconds.
|
||||
Weight::from_ref_time(36_037_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_317 nanoseconds.
|
||||
Weight::from_ref_time(21_933_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1360`
|
||||
// Estimated: `3098`
|
||||
// Minimum execution time: 23_788 nanoseconds.
|
||||
Weight::from_ref_time(24_661_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_035 nanoseconds.
|
||||
Weight::from_ref_time(31_160_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1918`
|
||||
// Estimated: `5701`
|
||||
// Minimum execution time: 33_223 nanoseconds.
|
||||
Weight::from_ref_time(33_679_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: 45_090 nanoseconds.
|
||||
Weight::from_ref_time(46_780_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1880`
|
||||
// Estimated: `10891`
|
||||
// Minimum execution time: 47_875 nanoseconds.
|
||||
Weight::from_ref_time(49_321_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: 42_326 nanoseconds.
|
||||
Weight::from_ref_time(43_268_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1882`
|
||||
// Estimated: `7777`
|
||||
// Minimum execution time: 44_440 nanoseconds.
|
||||
Weight::from_ref_time(45_714_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_632 nanoseconds.
|
||||
Weight::from_ref_time(20_402_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1358`
|
||||
// Estimated: `2587`
|
||||
// Minimum execution time: 22_362 nanoseconds.
|
||||
Weight::from_ref_time(23_025_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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,107 +45,181 @@ 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_623 nanoseconds.
|
||||
Weight::from_ref_time(31_822_254)
|
||||
// Standard Error: 12
|
||||
.saturating_add(Weight::from_ref_time(897).saturating_mul(d.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `242`
|
||||
// Estimated: `3102`
|
||||
// Minimum execution time: 21_635 nanoseconds.
|
||||
Weight::from_ref_time(23_127_861)
|
||||
.saturating_add(Weight::from_proof_size(3102))
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(775).saturating_mul(d.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
/// Storage: Bounties Bounties (r:1 w:1)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
/// Proof: Bounties BountyApprovals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
|
||||
fn approve_bounty() -> Weight {
|
||||
// Minimum execution time: 11_503 nanoseconds.
|
||||
Weight::from_ref_time(11_905_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `334`
|
||||
// Estimated: `3549`
|
||||
// Minimum execution time: 10_202 nanoseconds.
|
||||
Weight::from_ref_time(10_505_000)
|
||||
.saturating_add(Weight::from_proof_size(3549))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
/// Storage: Bounties Bounties (r:1 w:1)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
fn propose_curator() -> Weight {
|
||||
// Minimum execution time: 10_559 nanoseconds.
|
||||
Weight::from_ref_time(10_904_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `354`
|
||||
// Estimated: `2652`
|
||||
// Minimum execution time: 9_140 nanoseconds.
|
||||
Weight::from_ref_time(9_265_000)
|
||||
.saturating_add(Weight::from_proof_size(2652))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: Bounties Bounties (r:1 w:1)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn unassign_curator() -> Weight {
|
||||
// Minimum execution time: 42_366 nanoseconds.
|
||||
Weight::from_ref_time(43_357_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `562`
|
||||
// Estimated: `5255`
|
||||
// Minimum execution time: 31_336 nanoseconds.
|
||||
Weight::from_ref_time(31_803_000)
|
||||
.saturating_add(Weight::from_proof_size(5255))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: Bounties Bounties (r:1 w:1)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn accept_curator() -> Weight {
|
||||
// Minimum execution time: 29_157 nanoseconds.
|
||||
Weight::from_ref_time(30_677_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `558`
|
||||
// Estimated: `5255`
|
||||
// Minimum execution time: 21_259 nanoseconds.
|
||||
Weight::from_ref_time(21_664_000)
|
||||
.saturating_add(Weight::from_proof_size(5255))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
|
||||
/// 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)
|
||||
fn award_bounty() -> Weight {
|
||||
// Minimum execution time: 24_479 nanoseconds.
|
||||
Weight::from_ref_time(25_270_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `538`
|
||||
// Estimated: `5143`
|
||||
// Minimum execution time: 17_471 nanoseconds.
|
||||
Weight::from_ref_time(17_691_000)
|
||||
.saturating_add(Weight::from_proof_size(5143))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:3 w:3)
|
||||
// Storage: ChildBounties ChildrenCuratorFees (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: System Account (r:3 w:3)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
|
||||
/// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
/// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
|
||||
fn claim_bounty() -> Weight {
|
||||
// Minimum execution time: 75_799 nanoseconds.
|
||||
Weight::from_ref_time(78_144_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `966`
|
||||
// Estimated: `12964`
|
||||
// Minimum execution time: 68_126 nanoseconds.
|
||||
Weight::from_ref_time(69_083_000)
|
||||
.saturating_add(Weight::from_proof_size(12964))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
}
|
||||
// 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: 46_842 nanoseconds.
|
||||
Weight::from_ref_time(47_536_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `614`
|
||||
// Estimated: `7746`
|
||||
// Minimum execution time: 35_780 nanoseconds.
|
||||
Weight::from_ref_time(36_451_000)
|
||||
.saturating_add(Weight::from_proof_size(7746))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// 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:2 w:2)
|
||||
/// 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_active() -> Weight {
|
||||
// Minimum execution time: 58_090 nanoseconds.
|
||||
Weight::from_ref_time(60_188_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `882`
|
||||
// Estimated: `10349`
|
||||
// Minimum execution time: 47_996 nanoseconds.
|
||||
Weight::from_ref_time(49_003_000)
|
||||
.saturating_add(Weight::from_proof_size(10349))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
/// Storage: Bounties Bounties (r:1 w:1)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
fn extend_bounty_expiry() -> Weight {
|
||||
// Minimum execution time: 21_089 nanoseconds.
|
||||
Weight::from_ref_time(21_836_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `390`
|
||||
// Estimated: `2652`
|
||||
// Minimum execution time: 13_706 nanoseconds.
|
||||
Weight::from_ref_time(14_041_000)
|
||||
.saturating_add(Weight::from_proof_size(2652))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
// Storage: Bounties Bounties (r:2 w:2)
|
||||
// Storage: System Account (r:4 w:4)
|
||||
/// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
/// Proof: Bounties BountyApprovals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
|
||||
/// Storage: Bounties Bounties (r:100 w:100)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:200 w:200)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// The range of component `b` is `[0, 100]`.
|
||||
fn spend_funds(b: u32, ) -> Weight {
|
||||
// Minimum execution time: 7_570 nanoseconds.
|
||||
Weight::from_ref_time(19_660_003)
|
||||
// Standard Error: 11_535
|
||||
.saturating_add(Weight::from_ref_time(31_144_972).saturating_mul(b.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0 + b * (360 ±0)`
|
||||
// Estimated: `897 + b * (7858 ±0)`
|
||||
// Minimum execution time: 4_106 nanoseconds.
|
||||
Weight::from_ref_time(4_153_000)
|
||||
.saturating_add(Weight::from_proof_size(897))
|
||||
// Standard Error: 16_153
|
||||
.saturating_add(Weight::from_ref_time(28_990_437).saturating_mul(b.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))
|
||||
.saturating_add(Weight::from_proof_size(7858).saturating_mul(b.into()))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,87 +45,152 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_child_bounties`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T> {
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: ChildBounties ChildBountyCount (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
// Storage: ChildBounties ChildBounties (r:0 w:1)
|
||||
/// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
|
||||
/// Storage: Bounties Bounties (r:1 w:0)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:2 w:2)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBountyCount (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildBountyCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBounties (r:0 w:1)
|
||||
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
|
||||
/// The range of component `d` is `[0, 16384]`.
|
||||
fn add_child_bounty(d: u32, ) -> Weight {
|
||||
// Minimum execution time: 55_323 nanoseconds.
|
||||
Weight::from_ref_time(57_716_941)
|
||||
// Standard Error: 16
|
||||
.saturating_add(Weight::from_ref_time(934).saturating_mul(d.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `710`
|
||||
// Estimated: `10848`
|
||||
// Minimum execution time: 48_061 nanoseconds.
|
||||
Weight::from_ref_time(49_239_456)
|
||||
.saturating_add(Weight::from_proof_size(10848))
|
||||
// Standard Error: 9
|
||||
.saturating_add(Weight::from_ref_time(788).saturating_mul(d.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
/// Storage: Bounties Bounties (r:1 w:0)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
|
||||
fn propose_curator() -> Weight {
|
||||
// Minimum execution time: 18_709 nanoseconds.
|
||||
Weight::from_ref_time(19_319_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `764`
|
||||
// Estimated: `7775`
|
||||
// Minimum execution time: 16_701 nanoseconds.
|
||||
Weight::from_ref_time(17_041_000)
|
||||
.saturating_add(Weight::from_proof_size(7775))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: Bounties Bounties (r:1 w:0)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn accept_curator() -> Weight {
|
||||
// Minimum execution time: 34_386 nanoseconds.
|
||||
Weight::from_ref_time(35_898_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `942`
|
||||
// Estimated: `7875`
|
||||
// Minimum execution time: 28_897 nanoseconds.
|
||||
Weight::from_ref_time(29_291_000)
|
||||
.saturating_add(Weight::from_proof_size(7875))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
|
||||
/// Storage: Bounties Bounties (r:1 w:0)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn unassign_curator() -> Weight {
|
||||
// Minimum execution time: 48_360 nanoseconds.
|
||||
Weight::from_ref_time(49_866_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `942`
|
||||
// Estimated: `7875`
|
||||
// Minimum execution time: 40_320 nanoseconds.
|
||||
Weight::from_ref_time(40_620_000)
|
||||
.saturating_add(Weight::from_proof_size(7875))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
/// Storage: Bounties Bounties (r:1 w:0)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
|
||||
fn award_child_bounty() -> Weight {
|
||||
// Minimum execution time: 28_240 nanoseconds.
|
||||
Weight::from_ref_time(29_435_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `807`
|
||||
// Estimated: `5272`
|
||||
// Minimum execution time: 20_861 nanoseconds.
|
||||
Weight::from_ref_time(21_665_000)
|
||||
.saturating_add(Weight::from_proof_size(5272))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: System Account (r:3 w:3)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
/// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:3 w:3)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
|
||||
fn claim_child_bounty() -> Weight {
|
||||
// Minimum execution time: 75_273 nanoseconds.
|
||||
Weight::from_ref_time(77_122_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `778`
|
||||
// Estimated: `12920`
|
||||
// Minimum execution time: 68_247 nanoseconds.
|
||||
Weight::from_ref_time(69_376_000)
|
||||
.saturating_add(Weight::from_proof_size(12920))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
/// Storage: Bounties Bounties (r:1 w:0)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:2 w:2)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
|
||||
fn close_child_bounty_added() -> Weight {
|
||||
// Minimum execution time: 55_596 nanoseconds.
|
||||
Weight::from_ref_time(57_045_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1074`
|
||||
// Estimated: `15472`
|
||||
// Minimum execution time: 50_591 nanoseconds.
|
||||
Weight::from_ref_time(51_617_000)
|
||||
.saturating_add(Weight::from_proof_size(15472))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: System Account (r:3 w:3)
|
||||
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
/// Storage: Bounties Bounties (r:1 w:0)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:3 w:3)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
|
||||
fn close_child_bounty_active() -> Weight {
|
||||
// Minimum execution time: 66_320 nanoseconds.
|
||||
Weight::from_ref_time(68_259_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1293`
|
||||
// Estimated: `18075`
|
||||
// Minimum execution time: 62_527 nanoseconds.
|
||||
Weight::from_ref_time(63_452_000)
|
||||
.saturating_add(Weight::from_proof_size(18075))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(7))
|
||||
}
|
||||
|
||||
@@ -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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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: 16_648 nanoseconds.
|
||||
Weight::from_ref_time(16_874_000)
|
||||
// Standard Error: 36_550
|
||||
.saturating_add(Weight::from_ref_time(4_155_460).saturating_mul(m.into()))
|
||||
// Standard Error: 36_550
|
||||
.saturating_add(Weight::from_ref_time(6_898_238).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: 15_982 nanoseconds.
|
||||
Weight::from_ref_time(16_149_000)
|
||||
.saturating_add(Weight::from_proof_size(16322))
|
||||
// Standard Error: 48_046
|
||||
.saturating_add(Weight::from_ref_time(5_473_996).saturating_mul(m.into()))
|
||||
// Standard Error: 48_046
|
||||
.saturating_add(Weight::from_ref_time(7_914_849).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: 20_604 nanoseconds.
|
||||
Weight::from_ref_time(20_117_098)
|
||||
// Standard Error: 20
|
||||
.saturating_add(Weight::from_ref_time(1_951).saturating_mul(b.into()))
|
||||
// Standard Error: 213
|
||||
.saturating_add(Weight::from_ref_time(13_087).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `168 + m * (32 ±0)`
|
||||
// Estimated: `664 + m * (32 ±0)`
|
||||
// Minimum execution time: 14_779 nanoseconds.
|
||||
Weight::from_ref_time(13_911_153)
|
||||
.saturating_add(Weight::from_proof_size(664))
|
||||
// Standard Error: 18
|
||||
.saturating_add(Weight::from_ref_time(1_722).saturating_mul(b.into()))
|
||||
// Standard Error: 194
|
||||
.saturating_add(Weight::from_ref_time(16_113).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_005 nanoseconds.
|
||||
Weight::from_ref_time(22_039_338)
|
||||
// Standard Error: 25
|
||||
.saturating_add(Weight::from_ref_time(2_000).saturating_mul(b.into()))
|
||||
// Standard Error: 265
|
||||
.saturating_add(Weight::from_ref_time(21_045).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `168 + m * (32 ±0)`
|
||||
// Estimated: `3308 + m * (64 ±0)`
|
||||
// Minimum execution time: 17_349 nanoseconds.
|
||||
Weight::from_ref_time(16_113_673)
|
||||
.saturating_add(Weight::from_proof_size(3308))
|
||||
// Standard Error: 22
|
||||
.saturating_add(Weight::from_ref_time(1_794).saturating_mul(b.into()))
|
||||
// Standard Error: 231
|
||||
.saturating_add(Weight::from_ref_time(25_859).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: 28_984 nanoseconds.
|
||||
Weight::from_ref_time(27_067_662)
|
||||
// Standard Error: 97
|
||||
.saturating_add(Weight::from_ref_time(4_243).saturating_mul(b.into()))
|
||||
// Standard Error: 1_015
|
||||
.saturating_add(Weight::from_ref_time(29_845).saturating_mul(m.into()))
|
||||
// Standard Error: 1_002
|
||||
.saturating_add(Weight::from_ref_time(197_072).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: 22_245 nanoseconds.
|
||||
Weight::from_ref_time(22_665_027)
|
||||
.saturating_add(Weight::from_proof_size(6025))
|
||||
// Standard Error: 48
|
||||
.saturating_add(Weight::from_ref_time(2_822).saturating_mul(b.into()))
|
||||
// Standard Error: 501
|
||||
.saturating_add(Weight::from_ref_time(17_282).saturating_mul(m.into()))
|
||||
// Standard Error: 495
|
||||
.saturating_add(Weight::from_ref_time(95_897).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_329 nanoseconds.
|
||||
Weight::from_ref_time(36_958_595)
|
||||
// Standard Error: 750
|
||||
.saturating_add(Weight::from_ref_time(45_910).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `940 + m * (64 ±0)`
|
||||
// Estimated: `4848 + m * (128 ±0)`
|
||||
// Minimum execution time: 20_105 nanoseconds.
|
||||
Weight::from_ref_time(20_545_471)
|
||||
.saturating_add(Weight::from_proof_size(4848))
|
||||
// Standard Error: 737
|
||||
.saturating_add(Weight::from_ref_time(49_541).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: 30_842 nanoseconds.
|
||||
Weight::from_ref_time(32_492_766)
|
||||
// Standard Error: 884
|
||||
.saturating_add(Weight::from_ref_time(31_628).saturating_mul(m.into()))
|
||||
// Standard Error: 862
|
||||
.saturating_add(Weight::from_ref_time(186_164).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: 24_515 nanoseconds.
|
||||
Weight::from_ref_time(26_016_776)
|
||||
.saturating_add(Weight::from_proof_size(5629))
|
||||
// Standard Error: 841
|
||||
.saturating_add(Weight::from_ref_time(9_082).saturating_mul(m.into()))
|
||||
// Standard Error: 820
|
||||
.saturating_add(Weight::from_ref_time(114_701).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,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: 41_248 nanoseconds.
|
||||
Weight::from_ref_time(41_974_210)
|
||||
// Standard Error: 97
|
||||
.saturating_add(Weight::from_ref_time(3_399).saturating_mul(b.into()))
|
||||
// Standard Error: 1_032
|
||||
.saturating_add(Weight::from_ref_time(28_568).saturating_mul(m.into()))
|
||||
// Standard Error: 1_006
|
||||
.saturating_add(Weight::from_ref_time(212_759).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: 34_779 nanoseconds.
|
||||
Weight::from_ref_time(38_037_892)
|
||||
.saturating_add(Weight::from_proof_size(8900))
|
||||
// Standard Error: 66
|
||||
.saturating_add(Weight::from_ref_time(1_917).saturating_mul(b.into()))
|
||||
// Standard Error: 706
|
||||
.saturating_add(Weight::from_ref_time(15_325).saturating_mul(m.into()))
|
||||
// Standard Error: 688
|
||||
.saturating_add(Weight::from_ref_time(108_416).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: 34_511 nanoseconds.
|
||||
Weight::from_ref_time(34_445_374)
|
||||
// Standard Error: 820
|
||||
.saturating_add(Weight::from_ref_time(38_784).saturating_mul(m.into()))
|
||||
// Standard Error: 799
|
||||
.saturating_add(Weight::from_ref_time(191_619).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: 27_246 nanoseconds.
|
||||
Weight::from_ref_time(28_726_731)
|
||||
.saturating_add(Weight::from_proof_size(6765))
|
||||
// Standard Error: 855
|
||||
.saturating_add(Weight::from_ref_time(29_438).saturating_mul(m.into()))
|
||||
// Standard Error: 834
|
||||
.saturating_add(Weight::from_ref_time(105_832).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 +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: 43_512 nanoseconds.
|
||||
Weight::from_ref_time(43_763_995)
|
||||
// Standard Error: 108
|
||||
.saturating_add(Weight::from_ref_time(3_663).saturating_mul(b.into()))
|
||||
// Standard Error: 1_143
|
||||
.saturating_add(Weight::from_ref_time(32_094).saturating_mul(m.into()))
|
||||
// Standard Error: 1_114
|
||||
.saturating_add(Weight::from_ref_time(218_006).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: 40_211 nanoseconds.
|
||||
Weight::from_ref_time(41_064_837)
|
||||
.saturating_add(Weight::from_proof_size(10235))
|
||||
// Standard Error: 60
|
||||
.saturating_add(Weight::from_ref_time(1_910).saturating_mul(b.into()))
|
||||
// Standard Error: 643
|
||||
.saturating_add(Weight::from_ref_time(15_864).saturating_mul(m.into()))
|
||||
// Standard Error: 627
|
||||
.saturating_add(Weight::from_ref_time(107_526).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: 19_588 nanoseconds.
|
||||
Weight::from_ref_time(22_092_936)
|
||||
// Standard Error: 912
|
||||
.saturating_add(Weight::from_ref_time(174_551).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `325 + p * (32 ±0)`
|
||||
// Estimated: `1470 + p * (96 ±0)`
|
||||
// Minimum execution time: 13_506 nanoseconds.
|
||||
Weight::from_ref_time(15_355_734)
|
||||
.saturating_add(Weight::from_proof_size(1470))
|
||||
// Standard Error: 440
|
||||
.saturating_add(Weight::from_ref_time(83_215).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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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: 17_364 nanoseconds.
|
||||
Weight::from_ref_time(17_747_000)
|
||||
// Standard Error: 36_695
|
||||
.saturating_add(Weight::from_ref_time(4_154_922).saturating_mul(m.into()))
|
||||
// Standard Error: 36_695
|
||||
.saturating_add(Weight::from_ref_time(6_925_329).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0 + m * (3233 ±0) + p * (3223 ±0)`
|
||||
// Estimated: `16478 + m * (7809 ±16) + p * (10238 ±16)`
|
||||
// Minimum execution time: 16_790 nanoseconds.
|
||||
Weight::from_ref_time(16_995_000)
|
||||
.saturating_add(Weight::from_proof_size(16478))
|
||||
// Standard Error: 48_182
|
||||
.saturating_add(Weight::from_ref_time(5_453_981).saturating_mul(m.into()))
|
||||
// Standard Error: 48_182
|
||||
.saturating_add(Weight::from_ref_time(7_960_093).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_204 nanoseconds.
|
||||
Weight::from_ref_time(20_409_573)
|
||||
// Standard Error: 17
|
||||
.saturating_add(Weight::from_ref_time(2_055).saturating_mul(b.into()))
|
||||
// Standard Error: 179
|
||||
.saturating_add(Weight::from_ref_time(13_580).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `207 + m * (32 ±0)`
|
||||
// Estimated: `703 + m * (32 ±0)`
|
||||
// Minimum execution time: 15_321 nanoseconds.
|
||||
Weight::from_ref_time(14_435_685)
|
||||
.saturating_add(Weight::from_proof_size(703))
|
||||
// Standard Error: 18
|
||||
.saturating_add(Weight::from_ref_time(1_773).saturating_mul(b.into()))
|
||||
// Standard Error: 189
|
||||
.saturating_add(Weight::from_ref_time(14_653).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: 23_743 nanoseconds.
|
||||
Weight::from_ref_time(22_706_099)
|
||||
// Standard Error: 18
|
||||
.saturating_add(Weight::from_ref_time(1_980).saturating_mul(b.into()))
|
||||
// Standard Error: 190
|
||||
.saturating_add(Weight::from_ref_time(19_216).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `207 + m * (32 ±0)`
|
||||
// Estimated: `3386 + m * (64 ±0)`
|
||||
// Minimum execution time: 18_068 nanoseconds.
|
||||
Weight::from_ref_time(16_814_687)
|
||||
.saturating_add(Weight::from_proof_size(3386))
|
||||
// Standard Error: 17
|
||||
.saturating_add(Weight::from_ref_time(1_789).saturating_mul(b.into()))
|
||||
// Standard Error: 178
|
||||
.saturating_add(Weight::from_ref_time(21_690).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: 29_569 nanoseconds.
|
||||
Weight::from_ref_time(27_693_865)
|
||||
// Standard Error: 86
|
||||
.saturating_add(Weight::from_ref_time(4_711).saturating_mul(b.into()))
|
||||
// Standard Error: 903
|
||||
.saturating_add(Weight::from_ref_time(30_048).saturating_mul(m.into()))
|
||||
// Standard Error: 891
|
||||
.saturating_add(Weight::from_ref_time(205_569).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `529 + m * (32 ±0) + p * (36 ±0)`
|
||||
// Estimated: `6220 + m * (165 ±0) + p * (180 ±0)`
|
||||
// Minimum execution time: 22_986 nanoseconds.
|
||||
Weight::from_ref_time(23_451_803)
|
||||
.saturating_add(Weight::from_proof_size(6220))
|
||||
// Standard Error: 52
|
||||
.saturating_add(Weight::from_ref_time(2_807).saturating_mul(b.into()))
|
||||
// Standard Error: 551
|
||||
.saturating_add(Weight::from_ref_time(17_437).saturating_mul(m.into()))
|
||||
// Standard Error: 544
|
||||
.saturating_add(Weight::from_ref_time(97_273).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: 35_170 nanoseconds.
|
||||
Weight::from_ref_time(37_544_583)
|
||||
// Standard Error: 631
|
||||
.saturating_add(Weight::from_ref_time(49_997).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `979 + m * (64 ±0)`
|
||||
// Estimated: `4926 + m * (128 ±0)`
|
||||
// Minimum execution time: 20_921 nanoseconds.
|
||||
Weight::from_ref_time(21_577_981)
|
||||
.saturating_add(Weight::from_proof_size(4926))
|
||||
// Standard Error: 361
|
||||
.saturating_add(Weight::from_ref_time(44_227).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_117 nanoseconds.
|
||||
Weight::from_ref_time(33_433_456)
|
||||
// Standard Error: 822
|
||||
.saturating_add(Weight::from_ref_time(31_987).saturating_mul(m.into()))
|
||||
// Standard Error: 801
|
||||
.saturating_add(Weight::from_ref_time(184_413).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `599 + m * (64 ±0) + p * (36 ±0)`
|
||||
// Estimated: `5785 + m * (260 ±0) + p * (144 ±0)`
|
||||
// Minimum execution time: 25_585 nanoseconds.
|
||||
Weight::from_ref_time(27_510_279)
|
||||
.saturating_add(Weight::from_proof_size(5785))
|
||||
// Standard Error: 840
|
||||
.saturating_add(Weight::from_ref_time(21_073).saturating_mul(m.into()))
|
||||
// Standard Error: 819
|
||||
.saturating_add(Weight::from_ref_time(105_369).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: 42_577 nanoseconds.
|
||||
Weight::from_ref_time(43_196_678)
|
||||
// Standard Error: 95
|
||||
.saturating_add(Weight::from_ref_time(3_166).saturating_mul(b.into()))
|
||||
// Standard Error: 1_009
|
||||
.saturating_add(Weight::from_ref_time(25_748).saturating_mul(m.into()))
|
||||
// Standard Error: 983
|
||||
.saturating_add(Weight::from_ref_time(212_874).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `935 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
|
||||
// Estimated: `9056 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)`
|
||||
// Minimum execution time: 38_408 nanoseconds.
|
||||
Weight::from_ref_time(39_049_584)
|
||||
.saturating_add(Weight::from_proof_size(9056))
|
||||
// Standard Error: 58
|
||||
.saturating_add(Weight::from_ref_time(1_791).saturating_mul(b.into()))
|
||||
// Standard Error: 622
|
||||
.saturating_add(Weight::from_ref_time(15_547).saturating_mul(m.into()))
|
||||
// Standard Error: 607
|
||||
.saturating_add(Weight::from_ref_time(107_265).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: 34_923 nanoseconds.
|
||||
Weight::from_ref_time(34_983_792)
|
||||
// Standard Error: 717
|
||||
.saturating_add(Weight::from_ref_time(39_140).saturating_mul(m.into()))
|
||||
// Standard Error: 699
|
||||
.saturating_add(Weight::from_ref_time(194_907).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `619 + m * (64 ±0) + p * (36 ±0)`
|
||||
// Estimated: `6960 + m * (325 ±0) + p * (180 ±0)`
|
||||
// Minimum execution time: 28_316 nanoseconds.
|
||||
Weight::from_ref_time(30_856_750)
|
||||
.saturating_add(Weight::from_proof_size(6960))
|
||||
// Standard Error: 536
|
||||
.saturating_add(Weight::from_ref_time(26_570).saturating_mul(m.into()))
|
||||
// Standard Error: 523
|
||||
.saturating_add(Weight::from_ref_time(93_141).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: 43_911 nanoseconds.
|
||||
Weight::from_ref_time(44_774_702)
|
||||
// Standard Error: 100
|
||||
.saturating_add(Weight::from_ref_time(3_555).saturating_mul(b.into()))
|
||||
// Standard Error: 1_060
|
||||
.saturating_add(Weight::from_ref_time(29_486).saturating_mul(m.into()))
|
||||
// Standard Error: 1_033
|
||||
.saturating_add(Weight::from_ref_time(218_377).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `955 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
|
||||
// Estimated: `10430 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)`
|
||||
// Minimum execution time: 41_400 nanoseconds.
|
||||
Weight::from_ref_time(41_772_428)
|
||||
.saturating_add(Weight::from_proof_size(10430))
|
||||
// Standard Error: 57
|
||||
.saturating_add(Weight::from_ref_time(1_894).saturating_mul(b.into()))
|
||||
// Standard Error: 605
|
||||
.saturating_add(Weight::from_ref_time(16_640).saturating_mul(m.into()))
|
||||
// Standard Error: 589
|
||||
.saturating_add(Weight::from_ref_time(108_579).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: 20_192 nanoseconds.
|
||||
Weight::from_ref_time(22_521_459)
|
||||
// Standard Error: 892
|
||||
.saturating_add(Weight::from_ref_time(177_568).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `364 + p * (32 ±0)`
|
||||
// Estimated: `1587 + p * (96 ±0)`
|
||||
// Minimum execution time: 14_309 nanoseconds.
|
||||
Weight::from_ref_time(16_007_363)
|
||||
.saturating_add(Weight::from_proof_size(1587))
|
||||
// Standard Error: 391
|
||||
.saturating_add(Weight::from_ref_time(84_034).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_conviction_voting`
|
||||
//!
|
||||
//! 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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,81 +45,137 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_conviction_voting`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_conviction_voting::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: ConvictionVoting VotingFor (r:1 w:1)
|
||||
// Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: ConvictionVoting VotingFor (r:1 w:1)
|
||||
/// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen)
|
||||
/// Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
|
||||
/// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn vote_new() -> Weight {
|
||||
// Minimum execution time: 176_250 nanoseconds.
|
||||
Weight::from_ref_time(183_105_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `13540`
|
||||
// Estimated: `81125`
|
||||
// Minimum execution time: 108_443 nanoseconds.
|
||||
Weight::from_ref_time(111_052_000)
|
||||
.saturating_add(Weight::from_proof_size(81125))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: ConvictionVoting VotingFor (r:1 w:1)
|
||||
// Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: ConvictionVoting VotingFor (r:1 w:1)
|
||||
/// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen)
|
||||
/// Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
|
||||
/// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn vote_existing() -> Weight {
|
||||
// Minimum execution time: 239_904 nanoseconds.
|
||||
Weight::from_ref_time(248_494_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `14292`
|
||||
// Estimated: `122563`
|
||||
// Minimum execution time: 177_568 nanoseconds.
|
||||
Weight::from_ref_time(179_465_000)
|
||||
.saturating_add(Weight::from_proof_size(122563))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
}
|
||||
// Storage: ConvictionVoting VotingFor (r:1 w:1)
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Storage: ConvictionVoting VotingFor (r:1 w:1)
|
||||
/// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn remove_vote() -> Weight {
|
||||
// Minimum execution time: 209_359 nanoseconds.
|
||||
Weight::from_ref_time(222_154_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `14012`
|
||||
// Estimated: `116003`
|
||||
// Minimum execution time: 159_991 nanoseconds.
|
||||
Weight::from_ref_time(162_639_000)
|
||||
.saturating_add(Weight::from_proof_size(116003))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: ConvictionVoting VotingFor (r:1 w:1)
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:0)
|
||||
/// Storage: ConvictionVoting VotingFor (r:1 w:1)
|
||||
/// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:0)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
fn remove_other_vote() -> Weight {
|
||||
// Minimum execution time: 103_052 nanoseconds.
|
||||
Weight::from_ref_time(107_461_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `13067`
|
||||
// Estimated: `33127`
|
||||
// Minimum execution time: 59_647 nanoseconds.
|
||||
Weight::from_ref_time(61_753_000)
|
||||
.saturating_add(Weight::from_proof_size(33127))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: ConvictionVoting VotingFor (r:2 w:2)
|
||||
// Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Referenda ReferendumInfoFor (r:10 w:10)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Storage: ConvictionVoting VotingFor (r:2 w:2)
|
||||
/// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:512 w:512)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
/// Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
|
||||
/// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, 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, 512]`.
|
||||
fn delegate(r: u32, ) -> Weight {
|
||||
// Minimum execution time: 102_070 nanoseconds.
|
||||
Weight::from_ref_time(1_776_040_090)
|
||||
// Standard Error: 149_833
|
||||
.saturating_add(Weight::from_ref_time(38_268_419).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `29734 + r * (397 ±0)`
|
||||
// Estimated: `148868 + r * (3411 ±0)`
|
||||
// Minimum execution time: 45_902 nanoseconds.
|
||||
Weight::from_ref_time(1_827_961_044)
|
||||
.saturating_add(Weight::from_proof_size(148868))
|
||||
// Standard Error: 164_484
|
||||
.saturating_add(Weight::from_ref_time(43_698_724).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
|
||||
.saturating_add(Weight::from_proof_size(3411).saturating_mul(r.into()))
|
||||
}
|
||||
// Storage: ConvictionVoting VotingFor (r:2 w:2)
|
||||
// Storage: Referenda ReferendumInfoFor (r:10 w:10)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Storage: ConvictionVoting VotingFor (r:2 w:2)
|
||||
/// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:512 w:512)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
/// The range of component `r` is `[0, 512]`.
|
||||
fn undelegate(r: u32, ) -> Weight {
|
||||
// Minimum execution time: 75_841 nanoseconds.
|
||||
Weight::from_ref_time(1_698_737_760)
|
||||
// Standard Error: 145_937
|
||||
.saturating_add(Weight::from_ref_time(38_386_704).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `29650 + r * (397 ±0)`
|
||||
// Estimated: `142308 + r * (3411 ±0)`
|
||||
// Minimum execution time: 31_727 nanoseconds.
|
||||
Weight::from_ref_time(1_789_781_378)
|
||||
.saturating_add(Weight::from_proof_size(142308))
|
||||
// Standard Error: 162_421
|
||||
.saturating_add(Weight::from_ref_time(43_745_656).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(3411).saturating_mul(r.into()))
|
||||
}
|
||||
// Storage: ConvictionVoting VotingFor (r:1 w:1)
|
||||
// Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
/// Storage: ConvictionVoting VotingFor (r:1 w:1)
|
||||
/// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen)
|
||||
/// Storage: ConvictionVoting ClassLocksFor (r:1 w:1)
|
||||
/// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
fn unlock() -> Weight {
|
||||
// Minimum execution time: 130_072 nanoseconds.
|
||||
Weight::from_ref_time(132_988_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `12312`
|
||||
// Estimated: `36276`
|
||||
// Minimum execution time: 68_864 nanoseconds.
|
||||
Weight::from_ref_time(71_033_000)
|
||||
.saturating_add(Weight::from_proof_size(36276))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
|
||||
@@ -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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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: 53_031 nanoseconds.
|
||||
Weight::from_ref_time(55_864_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4831`
|
||||
// Estimated: `23409`
|
||||
// Minimum execution time: 32_448 nanoseconds.
|
||||
Weight::from_ref_time(33_263_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: 46_017 nanoseconds.
|
||||
Weight::from_ref_time(47_880_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3587`
|
||||
// Estimated: `5705`
|
||||
// Minimum execution time: 31_130 nanoseconds.
|
||||
Weight::from_ref_time(31_618_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: 57_992 nanoseconds.
|
||||
Weight::from_ref_time(60_252_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3532`
|
||||
// Estimated: `12720`
|
||||
// Minimum execution time: 44_480 nanoseconds.
|
||||
Weight::from_ref_time(45_330_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_354 nanoseconds.
|
||||
Weight::from_ref_time(62_448_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3554`
|
||||
// Estimated: `12720`
|
||||
// Minimum execution time: 44_688 nanoseconds.
|
||||
Weight::from_ref_time(45_422_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_119 nanoseconds.
|
||||
Weight::from_ref_time(22_651_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: 94_424 nanoseconds.
|
||||
Weight::from_ref_time(96_984_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_013 nanoseconds.
|
||||
Weight::from_ref_time(17_572_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: 4_391 nanoseconds.
|
||||
Weight::from_ref_time(4_561_000)
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_default() -> Weight {
|
||||
// Minimum execution time: 4_295 nanoseconds.
|
||||
Weight::from_ref_time(4_586_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: 21_958 nanoseconds.
|
||||
Weight::from_ref_time(22_606_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_007 nanoseconds.
|
||||
Weight::from_ref_time(27_693_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: 80_566 nanoseconds.
|
||||
Weight::from_ref_time(82_175_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `365`
|
||||
// Estimated: `7712`
|
||||
// Minimum execution time: 23_949 nanoseconds.
|
||||
Weight::from_ref_time(24_354_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_105 nanoseconds.
|
||||
Weight::from_ref_time(14_330_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_852 nanoseconds.
|
||||
Weight::from_ref_time(85_197_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: 11_916 nanoseconds.
|
||||
Weight::from_ref_time(12_246_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_099 nanoseconds.
|
||||
Weight::from_ref_time(3_237_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_073 nanoseconds.
|
||||
Weight::from_ref_time(3_218_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: 24_786 nanoseconds.
|
||||
Weight::from_ref_time(25_163_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_863 nanoseconds.
|
||||
Weight::from_ref_time(30_129_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: 68_445 nanoseconds.
|
||||
Weight::from_ref_time(69_434_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_448 nanoseconds.
|
||||
Weight::from_ref_time(18_737_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_648 nanoseconds.
|
||||
Weight::from_ref_time(7_364_590)
|
||||
// Standard Error: 5_128
|
||||
.saturating_add(Weight::from_ref_time(2_510_520).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `211 + r * (117 ±0)`
|
||||
// Estimated: `998 + r * (2676 ±0)`
|
||||
// Minimum execution time: 6_036 nanoseconds.
|
||||
Weight::from_ref_time(8_660_219)
|
||||
.saturating_add(Weight::from_proof_size(998))
|
||||
// Standard Error: 6_378
|
||||
.saturating_add(Weight::from_ref_time(2_616_095).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_093 nanoseconds.
|
||||
Weight::from_ref_time(9_336_059)
|
||||
// Standard Error: 5_350
|
||||
.saturating_add(Weight::from_ref_time(2_532_170).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `211 + r * (117 ±0)`
|
||||
// Estimated: `19318 + r * (2676 ±0)`
|
||||
// Minimum execution time: 8_631 nanoseconds.
|
||||
Weight::from_ref_time(11_561_886)
|
||||
.saturating_add(Weight::from_proof_size(19318))
|
||||
// Standard Error: 7_214
|
||||
.saturating_add(Weight::from_ref_time(2_624_663).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_838 nanoseconds.
|
||||
Weight::from_ref_time(48_205_620)
|
||||
// Standard Error: 6_563
|
||||
.saturating_add(Weight::from_ref_time(3_759_724).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `925 + r * (139 ±0)`
|
||||
// Estimated: `22584 + r * (2676 ±0)`
|
||||
// Minimum execution time: 38_364 nanoseconds.
|
||||
Weight::from_ref_time(40_665_356)
|
||||
.saturating_add(Weight::from_proof_size(22584))
|
||||
// Standard Error: 7_334
|
||||
.saturating_add(Weight::from_ref_time(3_616_029).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: 25_985 nanoseconds.
|
||||
Weight::from_ref_time(26_010_777)
|
||||
// Standard Error: 5_537
|
||||
.saturating_add(Weight::from_ref_time(3_730_949).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `524 + r * (139 ±0)`
|
||||
// Estimated: `12540 + r * (2676 ±0)`
|
||||
// Minimum execution time: 19_499 nanoseconds.
|
||||
Weight::from_ref_time(21_959_820)
|
||||
.saturating_add(Weight::from_proof_size(12540))
|
||||
// Standard Error: 7_005
|
||||
.saturating_add(Weight::from_ref_time(3_586_309).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: 4_740 nanoseconds.
|
||||
Weight::from_ref_time(4_902_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_923 nanoseconds.
|
||||
Weight::from_ref_time(3_101_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: 26_132 nanoseconds.
|
||||
Weight::from_ref_time(32_056_980)
|
||||
// Standard Error: 1_594
|
||||
.saturating_add(Weight::from_ref_time(98_086).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `594`
|
||||
// Estimated: `12647`
|
||||
// Minimum execution time: 18_675 nanoseconds.
|
||||
Weight::from_ref_time(23_931_039)
|
||||
.saturating_add(Weight::from_proof_size(12647))
|
||||
// Standard Error: 1_216
|
||||
.saturating_add(Weight::from_ref_time(19_479).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_655 nanoseconds.
|
||||
Weight::from_ref_time(31_821_090)
|
||||
// Standard Error: 1_353
|
||||
.saturating_add(Weight::from_ref_time(136_551).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `595 + r * (22 ±0)`
|
||||
// Estimated: `12647`
|
||||
// Minimum execution time: 21_945 nanoseconds.
|
||||
Weight::from_ref_time(23_334_960)
|
||||
.saturating_add(Weight::from_proof_size(12647))
|
||||
// Standard Error: 600
|
||||
.saturating_add(Weight::from_ref_time(62_939).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_010 nanoseconds.
|
||||
Weight::from_ref_time(17_557_366)
|
||||
// Standard Error: 1_264
|
||||
.saturating_add(Weight::from_ref_time(126_455).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `758 + r * (26 ±0)`
|
||||
// Estimated: `8946`
|
||||
// Minimum execution time: 14_336 nanoseconds.
|
||||
Weight::from_ref_time(16_654_029)
|
||||
.saturating_add(Weight::from_proof_size(8946))
|
||||
// Standard Error: 1_913
|
||||
.saturating_add(Weight::from_ref_time(89_192).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: 15_954 nanoseconds.
|
||||
Weight::from_ref_time(17_840_992)
|
||||
// Standard Error: 1_036
|
||||
.saturating_add(Weight::from_ref_time(122_167).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `758 + r * (26 ±0)`
|
||||
// Estimated: `8946`
|
||||
// Minimum execution time: 14_394 nanoseconds.
|
||||
Weight::from_ref_time(16_771_177)
|
||||
.saturating_add(Weight::from_proof_size(8946))
|
||||
// Standard Error: 2_019
|
||||
.saturating_add(Weight::from_ref_time(91_328).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: `323`
|
||||
// Estimated: `3193`
|
||||
// Minimum execution time: 16_795 nanoseconds.
|
||||
Weight::from_ref_time(17_014_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: 15_809 nanoseconds.
|
||||
Weight::from_ref_time(16_073_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: `4886`
|
||||
// Estimated: `19763`
|
||||
// Minimum execution time: 30_378 nanoseconds.
|
||||
Weight::from_ref_time(30_713_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_070 nanoseconds.
|
||||
Weight::from_ref_time(28_476_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: `144`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 13_497 nanoseconds.
|
||||
Weight::from_ref_time(13_735_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_343 nanoseconds.
|
||||
Weight::from_ref_time(17_638_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_election_provider_multi_phase`
|
||||
//!
|
||||
//! 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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,132 +45,221 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_election_provider_multi_phase`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking CurrentPlannedSession (r:1 w:0)
|
||||
// Storage: Staking ErasStartSessionIndex (r:1 w:0)
|
||||
// Storage: Babe EpochIndex (r:1 w:0)
|
||||
// Storage: Babe GenesisSlot (r:1 w:0)
|
||||
// Storage: Babe CurrentSlot (r:1 w:0)
|
||||
// Storage: Staking ForceEra (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
/// Storage: Staking CurrentEra (r:1 w:0)
|
||||
/// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking CurrentPlannedSession (r:1 w:0)
|
||||
/// Proof: Staking CurrentPlannedSession (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking ErasStartSessionIndex (r:1 w:0)
|
||||
/// Proof: Staking ErasStartSessionIndex (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
|
||||
/// Storage: Babe EpochIndex (r:1 w:0)
|
||||
/// Proof: Babe EpochIndex (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
|
||||
/// Storage: Babe GenesisSlot (r:1 w:0)
|
||||
/// Proof: Babe GenesisSlot (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)
|
||||
/// Storage: Staking ForceEra (r:1 w:0)
|
||||
/// Proof: Staking ForceEra (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
|
||||
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn on_initialize_nothing() -> Weight {
|
||||
// Minimum execution time: 18_220 nanoseconds.
|
||||
Weight::from_ref_time(18_767_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1027`
|
||||
// Estimated: `7016`
|
||||
// Minimum execution time: 20_218 nanoseconds.
|
||||
Weight::from_ref_time(21_129_000)
|
||||
.saturating_add(Weight::from_proof_size(7016))
|
||||
.saturating_add(T::DbWeight::get().reads(8))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
|
||||
/// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase Round (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn on_initialize_open_signed() -> Weight {
|
||||
// Minimum execution time: 16_645 nanoseconds.
|
||||
Weight::from_ref_time(17_324_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `148`
|
||||
// Estimated: `1286`
|
||||
// Minimum execution time: 12_541 nanoseconds.
|
||||
Weight::from_ref_time(12_859_000)
|
||||
.saturating_add(Weight::from_proof_size(1286))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
|
||||
/// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase Round (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn on_initialize_open_unsigned() -> Weight {
|
||||
// Minimum execution time: 17_613 nanoseconds.
|
||||
Weight::from_ref_time(18_177_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `148`
|
||||
// Estimated: `1286`
|
||||
// Minimum execution time: 13_506 nanoseconds.
|
||||
Weight::from_ref_time(13_834_000)
|
||||
.saturating_add(Weight::from_proof_size(1286))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase QueuedSolution (r:0 w:1)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: ElectionProviderMultiPhase QueuedSolution (r:0 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase QueuedSolution (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn finalize_signed_phase_accept_solution() -> Weight {
|
||||
// Minimum execution time: 31_444 nanoseconds.
|
||||
Weight::from_ref_time(32_013_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `206`
|
||||
// Estimated: `2809`
|
||||
// Minimum execution time: 22_188 nanoseconds.
|
||||
Weight::from_ref_time(22_437_000)
|
||||
.saturating_add(Weight::from_proof_size(2809))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn finalize_signed_phase_reject_solution() -> Weight {
|
||||
// Minimum execution time: 24_552 nanoseconds.
|
||||
Weight::from_ref_time(25_406_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `206`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 15_425 nanoseconds.
|
||||
Weight::from_ref_time(15_785_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:0 w:1)
|
||||
// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
|
||||
// Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1)
|
||||
/// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:0 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase SnapshotMetadata (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase DesiredTargets (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase Snapshot (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// The range of component `v` is `[1000, 2000]`.
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
fn create_snapshot_internal(v: u32, t: u32, ) -> Weight {
|
||||
// Minimum execution time: 714_239 nanoseconds.
|
||||
Weight::from_ref_time(84_470_692)
|
||||
// Standard Error: 6_597
|
||||
.saturating_add(Weight::from_ref_time(613_422).saturating_mul(v.into()))
|
||||
// Standard Error: 13_189
|
||||
.saturating_add(Weight::from_ref_time(67_715).saturating_mul(t.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 611_054 nanoseconds.
|
||||
Weight::from_ref_time(25_448_005)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 2_348
|
||||
.saturating_add(Weight::from_ref_time(553_533).saturating_mul(v.into()))
|
||||
// Standard Error: 4_694
|
||||
.saturating_add(Weight::from_ref_time(76_270).saturating_mul(t.into()))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:1 w:0)
|
||||
// Storage: System BlockWeight (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase QueuedSolution (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
|
||||
// Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1)
|
||||
/// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionIndices (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionNextIndex (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase SnapshotMetadata (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionsMap (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: System BlockWeight (r:1 w:1)
|
||||
/// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)
|
||||
/// Storage: ElectionProviderMultiPhase QueuedSolution (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase QueuedSolution (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase Round (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase Round (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase DesiredTargets (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase Snapshot (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// The range of component `a` is `[500, 800]`.
|
||||
/// The range of component `d` is `[200, 400]`.
|
||||
fn elect_queued(a: u32, _d: u32, ) -> Weight {
|
||||
// Minimum execution time: 555_385 nanoseconds.
|
||||
Weight::from_ref_time(564_798_000)
|
||||
// Standard Error: 7_883
|
||||
.saturating_add(Weight::from_ref_time(558_973).saturating_mul(a.into()))
|
||||
fn elect_queued(a: u32, d: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `930 + a * (1152 ±0) + d * (47 ±0)`
|
||||
// Estimated: `14223 + a * (10368 ±0) + d * (432 ±0)`
|
||||
// Minimum execution time: 355_277 nanoseconds.
|
||||
Weight::from_ref_time(362_563_000)
|
||||
.saturating_add(Weight::from_proof_size(14223))
|
||||
// Standard Error: 8_805
|
||||
.saturating_add(Weight::from_ref_time(602_857).saturating_mul(a.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(8))
|
||||
.saturating_add(T::DbWeight::get().writes(9))
|
||||
.saturating_add(Weight::from_proof_size(10368).saturating_mul(a.into()))
|
||||
.saturating_add(Weight::from_proof_size(432).saturating_mul(d.into()))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:0)
|
||||
// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:0 w:1)
|
||||
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase SnapshotMetadata (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0)
|
||||
/// Proof: TransactionPayment NextFeeMultiplier (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
|
||||
/// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionIndices (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionNextIndex (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:0 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionsMap (max_values: None, max_size: None, mode: Measured)
|
||||
fn submit() -> Weight {
|
||||
// Minimum execution time: 54_820 nanoseconds.
|
||||
Weight::from_ref_time(56_623_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1270`
|
||||
// Estimated: `8841`
|
||||
// Minimum execution time: 42_640 nanoseconds.
|
||||
Weight::from_ref_time(43_830_000)
|
||||
.saturating_add(Weight::from_proof_size(8841))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase QueuedSolution (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0)
|
||||
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase Round (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase DesiredTargets (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase QueuedSolution (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase QueuedSolution (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase SnapshotMetadata (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase MinimumUntrustedScore (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase Snapshot (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// The range of component `v` is `[1000, 2000]`.
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
/// The range of component `a` is `[500, 800]`.
|
||||
/// The range of component `d` is `[200, 400]`.
|
||||
fn submit_unsigned(v: u32, _t: u32, a: u32, _d: u32, ) -> Weight {
|
||||
// Minimum execution time: 8_484_246 nanoseconds.
|
||||
Weight::from_ref_time(8_564_396_000)
|
||||
// Standard Error: 24_321
|
||||
.saturating_add(Weight::from_ref_time(121_513).saturating_mul(v.into()))
|
||||
// Standard Error: 72_073
|
||||
.saturating_add(Weight::from_ref_time(7_383_336).saturating_mul(a.into()))
|
||||
fn submit_unsigned(v: u32, t: u32, a: u32, _d: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `285 + v * (809 ±0) + t * (32 ±0)`
|
||||
// Estimated: `5460 + v * (5663 ±0) + t * (224 ±0)`
|
||||
// Minimum execution time: 7_076_255 nanoseconds.
|
||||
Weight::from_ref_time(7_143_809_000)
|
||||
.saturating_add(Weight::from_proof_size(5460))
|
||||
// Standard Error: 64_098
|
||||
.saturating_add(Weight::from_ref_time(7_244_284).saturating_mul(a.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(Weight::from_proof_size(5663).saturating_mul(v.into()))
|
||||
.saturating_add(Weight::from_proof_size(224).saturating_mul(t.into()))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0)
|
||||
/// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase Round (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase DesiredTargets (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase MinimumUntrustedScore (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase Snapshot (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// The range of component `v` is `[1000, 2000]`.
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
/// The range of component `a` is `[500, 800]`.
|
||||
/// The range of component `d` is `[200, 400]`.
|
||||
fn feasibility_check(v: u32, _t: u32, a: u32, _d: u32, ) -> Weight {
|
||||
// Minimum execution time: 6_730_487 nanoseconds.
|
||||
Weight::from_ref_time(6_792_752_000)
|
||||
// Standard Error: 26_316
|
||||
.saturating_add(Weight::from_ref_time(463_489).saturating_mul(v.into()))
|
||||
// Standard Error: 77_986
|
||||
.saturating_add(Weight::from_ref_time(5_397_852).saturating_mul(a.into()))
|
||||
fn feasibility_check(v: u32, t: u32, a: u32, _d: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `260 + v * (809 ±0) + t * (32 ±0)`
|
||||
// Estimated: `3020 + v * (3236 ±0) + t * (128 ±0)`
|
||||
// Minimum execution time: 5_883_999 nanoseconds.
|
||||
Weight::from_ref_time(5_922_040_000)
|
||||
.saturating_add(Weight::from_proof_size(3020))
|
||||
// Standard Error: 22_843
|
||||
.saturating_add(Weight::from_ref_time(243_391).saturating_mul(v.into()))
|
||||
// Standard Error: 67_692
|
||||
.saturating_add(Weight::from_ref_time(5_418_651).saturating_mul(a.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(Weight::from_proof_size(3236).saturating_mul(v.into()))
|
||||
.saturating_add(Weight::from_proof_size(128).saturating_mul(t.into()))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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: 33_181 nanoseconds.
|
||||
Weight::from_ref_time(34_284_379)
|
||||
// Standard Error: 4_703
|
||||
.saturating_add(Weight::from_ref_time(193_150).saturating_mul(v.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `499 + v * (80 ±0)`
|
||||
// Estimated: `9726 + v * (320 ±0)`
|
||||
// Minimum execution time: 24_124 nanoseconds.
|
||||
Weight::from_ref_time(24_820_145)
|
||||
.saturating_add(Weight::from_proof_size(9726))
|
||||
// Standard Error: 4_601
|
||||
.saturating_add(Weight::from_ref_time(149_084).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: 43_559 nanoseconds.
|
||||
Weight::from_ref_time(45_014_304)
|
||||
// Standard Error: 6_002
|
||||
.saturating_add(Weight::from_ref_time(232_544).saturating_mul(v.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `467 + v * (80 ±0)`
|
||||
// Estimated: `9598 + v * (320 ±0)`
|
||||
// Minimum execution time: 32_530 nanoseconds.
|
||||
Weight::from_ref_time(33_536_886)
|
||||
.saturating_add(Weight::from_proof_size(9598))
|
||||
// Standard Error: 6_592
|
||||
.saturating_add(Weight::from_ref_time(157_802).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_465 nanoseconds.
|
||||
Weight::from_ref_time(45_027_590)
|
||||
// Standard Error: 6_393
|
||||
.saturating_add(Weight::from_ref_time(218_368).saturating_mul(v.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `499 + v * (80 ±0)`
|
||||
// Estimated: `9726 + v * (320 ±0)`
|
||||
// Minimum execution time: 32_815 nanoseconds.
|
||||
Weight::from_ref_time(33_459_507)
|
||||
.saturating_add(Weight::from_proof_size(9726))
|
||||
// Standard Error: 5_272
|
||||
.saturating_add(Weight::from_ref_time(149_556).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: 42_363 nanoseconds.
|
||||
Weight::from_ref_time(43_806_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `989`
|
||||
// Estimated: `7238`
|
||||
// Minimum execution time: 30_494 nanoseconds.
|
||||
Weight::from_ref_time(31_211_000)
|
||||
.saturating_add(Weight::from_proof_size(7238))
|
||||
.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: 43_408 nanoseconds.
|
||||
Weight::from_ref_time(37_013_988)
|
||||
// Standard Error: 1_189
|
||||
.saturating_add(Weight::from_ref_time(111_132).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2839 + c * (48 ±0)`
|
||||
// Estimated: `9996 + c * (144 ±0)`
|
||||
// Minimum execution time: 29_459 nanoseconds.
|
||||
Weight::from_ref_time(22_025_901)
|
||||
.saturating_add(Weight::from_proof_size(9996))
|
||||
// Standard Error: 944
|
||||
.saturating_add(Weight::from_ref_time(85_761).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_256 nanoseconds.
|
||||
Weight::from_ref_time(32_461_064)
|
||||
// Standard Error: 1_225
|
||||
.saturating_add(Weight::from_ref_time(87_968).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `348 + c * (48 ±0)`
|
||||
// Estimated: `830 + c * (48 ±0)`
|
||||
// Minimum execution time: 22_591 nanoseconds.
|
||||
Weight::from_ref_time(15_955_268)
|
||||
.saturating_add(Weight::from_proof_size(830))
|
||||
// Standard Error: 863
|
||||
.saturating_add(Weight::from_ref_time(58_325).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: 54_566 nanoseconds.
|
||||
Weight::from_ref_time(56_705_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3113`
|
||||
// Estimated: `17545`
|
||||
// Minimum execution time: 39_699 nanoseconds.
|
||||
Weight::from_ref_time(40_416_000)
|
||||
.saturating_add(Weight::from_proof_size(17545))
|
||||
.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_417 nanoseconds.
|
||||
Weight::from_ref_time(43_317_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1776`
|
||||
// Estimated: `2271`
|
||||
// Minimum execution time: 25_378 nanoseconds.
|
||||
Weight::from_ref_time(25_887_000)
|
||||
.saturating_add(Weight::from_proof_size(2271))
|
||||
.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: 72_982 nanoseconds.
|
||||
Weight::from_ref_time(74_640_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3113`
|
||||
// Estimated: `20148`
|
||||
// Minimum execution time: 53_927 nanoseconds.
|
||||
Weight::from_ref_time(54_587_000)
|
||||
.saturating_add(Weight::from_proof_size(20148))
|
||||
.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: 306_719_494 nanoseconds.
|
||||
Weight::from_ref_time(307_744_759_000)
|
||||
// Standard Error: 264_406
|
||||
.saturating_add(Weight::from_ref_time(37_950_413).saturating_mul(v.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `35989 + v * (872 ±0)`
|
||||
// Estimated: `149016 + v * (12340 ±0)`
|
||||
// Minimum execution time: 301_660_312 nanoseconds.
|
||||
Weight::from_ref_time(302_331_384_000)
|
||||
.saturating_add(Weight::from_proof_size(149016))
|
||||
// Standard Error: 258_113
|
||||
.saturating_add(Weight::from_ref_time(37_352_809).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: 32_291_015 nanoseconds.
|
||||
Weight::from_ref_time(32_417_150_000)
|
||||
// Standard Error: 470_328
|
||||
.saturating_add(Weight::from_ref_time(40_784_045).saturating_mul(v.into()))
|
||||
// Standard Error: 30_182
|
||||
.saturating_add(Weight::from_ref_time(1_969_474).saturating_mul(e.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0 + v * (639 ±0) + e * (28 ±0)`
|
||||
// Estimated: `5334911 + v * (5714 ±4) + e * (123 ±0) + c * (2560 ±0)`
|
||||
// Minimum execution time: 31_848_053 nanoseconds.
|
||||
Weight::from_ref_time(32_037_795_000)
|
||||
.saturating_add(Weight::from_proof_size(5334911))
|
||||
// Standard Error: 562_406
|
||||
.saturating_add(Weight::from_ref_time(46_112_512).saturating_mul(v.into()))
|
||||
// Standard Error: 36_091
|
||||
.saturating_add(Weight::from_ref_time(2_428_764).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,23 +16,22 @@
|
||||
//! Autogenerated weights for `pallet_fast_unstake`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_fast_unstake
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json
|
||||
// --pallet=pallet-fast-unstake
|
||||
// --chain=kusama-dev
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
|
||||
@@ -46,86 +45,150 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_fast_unstake`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T> {
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
// Storage: Staking ValidatorCount (r:1 w:0)
|
||||
// Storage: FastUnstake Head (r:1 w:1)
|
||||
// Storage: FastUnstake CounterForQueue (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking SlashingSpans (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:0 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
/// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
/// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking ValidatorCount (r:1 w:0)
|
||||
/// Proof: Staking ValidatorCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: FastUnstake Head (r:1 w:1)
|
||||
/// Proof: FastUnstake Head (max_values: Some(1), max_size: Some(3191), added: 3686, mode: MaxEncodedLen)
|
||||
/// Storage: FastUnstake CounterForQueue (r:1 w:0)
|
||||
/// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Staking CurrentEra (r:1 w:0)
|
||||
/// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking SlashingSpans (r:64 w:0)
|
||||
/// Proof Skipped: Staking SlashingSpans (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Staking Bonded (r:64 w:64)
|
||||
/// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Validators (r:64 w:0)
|
||||
/// Proof: Staking Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Nominators (r:64 w:0)
|
||||
/// Proof: Staking Nominators (max_values: None, max_size: Some(814), added: 3289, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:64 w:64)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:64 w:64)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Ledger (r:0 w:64)
|
||||
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Payee (r:0 w:64)
|
||||
/// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
||||
/// The range of component `b` is `[1, 64]`.
|
||||
fn on_idle_unstake(b: u32, ) -> Weight {
|
||||
// Minimum execution time: 77_225 nanoseconds.
|
||||
Weight::from_ref_time(45_851_915)
|
||||
// Standard Error: 27_205
|
||||
.saturating_add(Weight::from_ref_time(34_256_381).saturating_mul(b.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1348 + b * (375 ±0)`
|
||||
// Estimated: `8805 + b * (17962 ±0)`
|
||||
// Minimum execution time: 72_453 nanoseconds.
|
||||
Weight::from_ref_time(36_866_925)
|
||||
.saturating_add(Weight::from_proof_size(8805))
|
||||
// Standard Error: 37_385
|
||||
.saturating_add(Weight::from_ref_time(36_921_980).saturating_mul(b.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(b.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(b.into())))
|
||||
.saturating_add(Weight::from_proof_size(17962).saturating_mul(b.into()))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
// Storage: Staking ValidatorCount (r:1 w:0)
|
||||
// Storage: FastUnstake Head (r:1 w:1)
|
||||
// Storage: FastUnstake CounterForQueue (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking ErasStakers (r:2 w:0)
|
||||
/// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
/// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking ValidatorCount (r:1 w:0)
|
||||
/// Proof: Staking ValidatorCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: FastUnstake Head (r:1 w:1)
|
||||
/// Proof: FastUnstake Head (max_values: Some(1), max_size: Some(3191), added: 3686, mode: MaxEncodedLen)
|
||||
/// Storage: FastUnstake CounterForQueue (r:1 w:0)
|
||||
/// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Staking CurrentEra (r:1 w:0)
|
||||
/// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking ErasStakers (r:257 w:0)
|
||||
/// Proof Skipped: Staking ErasStakers (max_values: None, max_size: None, mode: Measured)
|
||||
/// The range of component `v` is `[1, 256]`.
|
||||
/// The range of component `b` is `[1, 64]`.
|
||||
fn on_idle_check(v: u32, b: u32, ) -> Weight {
|
||||
// Minimum execution time: 1_671_682 nanoseconds.
|
||||
Weight::from_ref_time(1_683_909_000)
|
||||
// Standard Error: 16_637_473
|
||||
.saturating_add(Weight::from_ref_time(533_652_266).saturating_mul(v.into()))
|
||||
// Standard Error: 66_568_424
|
||||
.saturating_add(Weight::from_ref_time(2_085_678_765).saturating_mul(b.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1516 + v * (18519 ±0) + b * (48 ±0)`
|
||||
// Estimated: `11390 + v * (39515 ±0) + b * (98 ±0)`
|
||||
// Minimum execution time: 1_796_062 nanoseconds.
|
||||
Weight::from_ref_time(1_819_911_000)
|
||||
.saturating_add(Weight::from_proof_size(11390))
|
||||
// Standard Error: 18_164_058
|
||||
.saturating_add(Weight::from_ref_time(581_195_072).saturating_mul(v.into()))
|
||||
// Standard Error: 72_676_465
|
||||
.saturating_add(Weight::from_ref_time(2_280_507_183).saturating_mul(b.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(Weight::from_proof_size(39515).saturating_mul(v.into()))
|
||||
.saturating_add(Weight::from_proof_size(98).saturating_mul(b.into()))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: FastUnstake Queue (r:1 w:1)
|
||||
// Storage: FastUnstake Head (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: FastUnstake CounterForQueue (r:1 w:1)
|
||||
/// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
/// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Ledger (r:1 w:1)
|
||||
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
|
||||
/// Storage: FastUnstake Queue (r:1 w:1)
|
||||
/// Proof: FastUnstake Queue (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen)
|
||||
/// Storage: FastUnstake Head (r:1 w:0)
|
||||
/// Proof: FastUnstake Head (max_values: Some(1), max_size: Some(3191), added: 3686, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Bonded (r:1 w:0)
|
||||
/// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Validators (r:1 w:0)
|
||||
/// Proof: Staking Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Nominators (r:1 w:1)
|
||||
/// Proof: Staking Nominators (max_values: None, max_size: Some(814), added: 3289, mode: MaxEncodedLen)
|
||||
/// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
/// Proof: Staking CounterForNominators (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: VoterList ListNodes (r:1 w:1)
|
||||
/// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
|
||||
/// Storage: VoterList ListBags (r:1 w:1)
|
||||
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
|
||||
/// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
/// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking CurrentEra (r:1 w:0)
|
||||
/// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: FastUnstake CounterForQueue (r:1 w:1)
|
||||
/// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
fn register_fast_unstake() -> Weight {
|
||||
// Minimum execution time: 106_509 nanoseconds.
|
||||
Weight::from_ref_time(107_537_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2026`
|
||||
// Estimated: `29594`
|
||||
// Minimum execution time: 102_183 nanoseconds.
|
||||
Weight::from_ref_time(103_295_000)
|
||||
.saturating_add(Weight::from_proof_size(29594))
|
||||
.saturating_add(T::DbWeight::get().reads(14))
|
||||
.saturating_add(T::DbWeight::get().writes(9))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: FastUnstake Queue (r:1 w:1)
|
||||
// Storage: FastUnstake Head (r:1 w:0)
|
||||
// Storage: FastUnstake CounterForQueue (r:1 w:1)
|
||||
/// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
/// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Ledger (r:1 w:0)
|
||||
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
|
||||
/// Storage: FastUnstake Queue (r:1 w:1)
|
||||
/// Proof: FastUnstake Queue (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen)
|
||||
/// Storage: FastUnstake Head (r:1 w:0)
|
||||
/// Proof: FastUnstake Head (max_values: Some(1), max_size: Some(3191), added: 3686, mode: MaxEncodedLen)
|
||||
/// Storage: FastUnstake CounterForQueue (r:1 w:1)
|
||||
/// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
fn deregister() -> Weight {
|
||||
// Minimum execution time: 43_328 nanoseconds.
|
||||
Weight::from_ref_time(43_904_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1220`
|
||||
// Estimated: `10781`
|
||||
// Minimum execution time: 38_964 nanoseconds.
|
||||
Weight::from_ref_time(39_656_000)
|
||||
.saturating_add(Weight::from_proof_size(10781))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:0 w:1)
|
||||
/// Storage: FastUnstake ErasToCheckPerBlock (r:0 w:1)
|
||||
/// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
fn control() -> Weight {
|
||||
// Minimum execution time: 4_153 nanoseconds.
|
||||
Weight::from_ref_time(4_337_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_438 nanoseconds.
|
||||
Weight::from_ref_time(2_581_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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: 17_354 nanoseconds.
|
||||
Weight::from_ref_time(18_441_207)
|
||||
// Standard Error: 2_957
|
||||
.saturating_add(Weight::from_ref_time(141_456).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `64 + r * (57 ±0)`
|
||||
// Estimated: `1636`
|
||||
// Minimum execution time: 11_195 nanoseconds.
|
||||
Weight::from_ref_time(11_765_258)
|
||||
.saturating_add(Weight::from_proof_size(1636))
|
||||
// Standard Error: 1_445
|
||||
.saturating_add(Weight::from_ref_time(95_110).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_054 nanoseconds.
|
||||
Weight::from_ref_time(35_369_164)
|
||||
// Standard Error: 4_776
|
||||
.saturating_add(Weight::from_ref_time(211_183).saturating_mul(r.into()))
|
||||
// Standard Error: 931
|
||||
.saturating_add(Weight::from_ref_time(336_019).saturating_mul(x.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `474 + r * (5 ±0)`
|
||||
// Estimated: `10013`
|
||||
// Minimum execution time: 25_964 nanoseconds.
|
||||
Weight::from_ref_time(25_535_031)
|
||||
.saturating_add(Weight::from_proof_size(10013))
|
||||
// Standard Error: 3_218
|
||||
.saturating_add(Weight::from_ref_time(80_669).saturating_mul(r.into()))
|
||||
// Standard Error: 628
|
||||
.saturating_add(Weight::from_ref_time(354_047).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: 9_977 nanoseconds.
|
||||
Weight::from_ref_time(26_989_253)
|
||||
// Standard Error: 5_046
|
||||
.saturating_add(Weight::from_ref_time(2_628_412).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `101`
|
||||
// Estimated: `15746 + s * (2589 ±0)`
|
||||
// Minimum execution time: 8_088 nanoseconds.
|
||||
Weight::from_ref_time(19_440_138)
|
||||
.saturating_add(Weight::from_proof_size(15746))
|
||||
// Standard Error: 4_097
|
||||
.saturating_add(Weight::from_ref_time(2_322_730).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: 9_876 nanoseconds.
|
||||
Weight::from_ref_time(27_929_667)
|
||||
// Standard Error: 4_272
|
||||
.saturating_add(Weight::from_ref_time(1_168_298).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `226 + p * (32 ±0)`
|
||||
// Estimated: `15746`
|
||||
// Minimum execution time: 7_655 nanoseconds.
|
||||
Weight::from_ref_time(19_696_935)
|
||||
.saturating_add(Weight::from_proof_size(15746))
|
||||
// Standard Error: 3_076
|
||||
.saturating_add(Weight::from_ref_time(948_853).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_136 nanoseconds.
|
||||
Weight::from_ref_time(35_196_644)
|
||||
// Standard Error: 8_850
|
||||
.saturating_add(Weight::from_ref_time(198_541).saturating_mul(r.into()))
|
||||
// Standard Error: 1_728
|
||||
.saturating_add(Weight::from_ref_time(1_165_595).saturating_mul(s.into()))
|
||||
// Standard Error: 1_728
|
||||
.saturating_add(Weight::from_ref_time(193_346).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_677 nanoseconds.
|
||||
Weight::from_ref_time(25_991_211)
|
||||
.saturating_add(Weight::from_proof_size(15746))
|
||||
// Standard Error: 6_465
|
||||
.saturating_add(Weight::from_ref_time(12_989).saturating_mul(r.into()))
|
||||
// Standard Error: 1_262
|
||||
.saturating_add(Weight::from_ref_time(935_907).saturating_mul(s.into()))
|
||||
// Standard Error: 1_262
|
||||
.saturating_add(Weight::from_ref_time(183_603).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_240 nanoseconds.
|
||||
Weight::from_ref_time(36_979_755)
|
||||
// Standard Error: 5_166
|
||||
.saturating_add(Weight::from_ref_time(192_783).saturating_mul(r.into()))
|
||||
// Standard Error: 1_008
|
||||
.saturating_add(Weight::from_ref_time(355_089).saturating_mul(x.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `431 + r * (57 ±0) + x * (66 ±0)`
|
||||
// Estimated: `11649`
|
||||
// Minimum execution time: 27_382 nanoseconds.
|
||||
Weight::from_ref_time(26_616_055)
|
||||
.saturating_add(Weight::from_proof_size(11649))
|
||||
// Standard Error: 3_992
|
||||
.saturating_add(Weight::from_ref_time(82_215).saturating_mul(r.into()))
|
||||
// Standard Error: 779
|
||||
.saturating_add(Weight::from_ref_time(373_281).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_463 nanoseconds.
|
||||
Weight::from_ref_time(33_803_228)
|
||||
// Standard Error: 4_576
|
||||
.saturating_add(Weight::from_ref_time(138_349).saturating_mul(r.into()))
|
||||
// Standard Error: 892
|
||||
.saturating_add(Weight::from_ref_time(357_375).saturating_mul(x.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `430 + x * (66 ±0)`
|
||||
// Estimated: `10013`
|
||||
// Minimum execution time: 23_894 nanoseconds.
|
||||
Weight::from_ref_time(23_658_097)
|
||||
.saturating_add(Weight::from_proof_size(10013))
|
||||
// Standard Error: 3_756
|
||||
.saturating_add(Weight::from_ref_time(74_002).saturating_mul(r.into()))
|
||||
// Standard Error: 732
|
||||
.saturating_add(Weight::from_ref_time(370_777).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: 8_425 nanoseconds.
|
||||
Weight::from_ref_time(9_044_127)
|
||||
// Standard Error: 1_636
|
||||
.saturating_add(Weight::from_ref_time(107_577).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `121 + r * (57 ±0)`
|
||||
// Estimated: `1636`
|
||||
// Minimum execution time: 6_561 nanoseconds.
|
||||
Weight::from_ref_time(7_047_009)
|
||||
.saturating_add(Weight::from_proof_size(1636))
|
||||
// Standard Error: 1_274
|
||||
.saturating_add(Weight::from_ref_time(94_495).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: 8_541 nanoseconds.
|
||||
Weight::from_ref_time(9_308_228)
|
||||
// Standard Error: 1_640
|
||||
.saturating_add(Weight::from_ref_time(96_433).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `121 + r * (57 ±0)`
|
||||
// Estimated: `1636`
|
||||
// Minimum execution time: 6_522 nanoseconds.
|
||||
Weight::from_ref_time(7_090_342)
|
||||
.saturating_add(Weight::from_proof_size(1636))
|
||||
// Standard Error: 1_190
|
||||
.saturating_add(Weight::from_ref_time(90_568).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: 8_501 nanoseconds.
|
||||
Weight::from_ref_time(9_205_910)
|
||||
// Standard Error: 1_661
|
||||
.saturating_add(Weight::from_ref_time(101_137).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `121 + r * (57 ±0)`
|
||||
// Estimated: `1636`
|
||||
// Minimum execution time: 6_544 nanoseconds.
|
||||
Weight::from_ref_time(6_914_393)
|
||||
.saturating_add(Weight::from_proof_size(1636))
|
||||
// Standard Error: 1_187
|
||||
.saturating_add(Weight::from_ref_time(99_100).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: 27_926 nanoseconds.
|
||||
Weight::from_ref_time(26_389_787)
|
||||
// Standard Error: 8_172
|
||||
.saturating_add(Weight::from_ref_time(188_558).saturating_mul(r.into()))
|
||||
// Standard Error: 1_512
|
||||
.saturating_add(Weight::from_ref_time(610_330).saturating_mul(x.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `509 + r * (57 ±0) + x * (66 ±0)`
|
||||
// Estimated: `11649`
|
||||
// Minimum execution time: 21_120 nanoseconds.
|
||||
Weight::from_ref_time(20_888_928)
|
||||
.saturating_add(Weight::from_proof_size(11649))
|
||||
// Standard Error: 7_297
|
||||
.saturating_add(Weight::from_ref_time(61_293).saturating_mul(r.into()))
|
||||
// Standard Error: 1_350
|
||||
.saturating_add(Weight::from_ref_time(621_534).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: 68_482 nanoseconds.
|
||||
Weight::from_ref_time(49_232_241)
|
||||
// Standard Error: 10_120
|
||||
.saturating_add(Weight::from_ref_time(218_005).saturating_mul(r.into()))
|
||||
// Standard Error: 1_976
|
||||
.saturating_add(Weight::from_ref_time(1_168_901).saturating_mul(s.into()))
|
||||
// Standard Error: 1_976
|
||||
.saturating_add(Weight::from_ref_time(189_496).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_559 nanoseconds.
|
||||
Weight::from_ref_time(39_005_377)
|
||||
.saturating_add(Weight::from_proof_size(18349))
|
||||
// Standard Error: 5_126
|
||||
.saturating_add(Weight::from_ref_time(33_077).saturating_mul(r.into()))
|
||||
// Standard Error: 1_001
|
||||
.saturating_add(Weight::from_ref_time(945_425).saturating_mul(s.into()))
|
||||
// Standard Error: 1_001
|
||||
.saturating_add(Weight::from_ref_time(184_103).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_200 nanoseconds.
|
||||
Weight::from_ref_time(38_150_899)
|
||||
// Standard Error: 1_510
|
||||
.saturating_add(Weight::from_ref_time(127_824).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `507 + s * (36 ±0)`
|
||||
// Estimated: `18335`
|
||||
// Minimum execution time: 23_448 nanoseconds.
|
||||
Weight::from_ref_time(28_331_460)
|
||||
.saturating_add(Weight::from_proof_size(18335))
|
||||
// Standard Error: 1_419
|
||||
.saturating_add(Weight::from_ref_time(68_122).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: 13_618 nanoseconds.
|
||||
Weight::from_ref_time(15_021_275)
|
||||
// Standard Error: 670
|
||||
.saturating_add(Weight::from_ref_time(51_155).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `623 + s * (3 ±0)`
|
||||
// Estimated: `12602`
|
||||
// Minimum execution time: 11_087 nanoseconds.
|
||||
Weight::from_ref_time(13_274_177)
|
||||
.saturating_add(Weight::from_proof_size(12602))
|
||||
// Standard Error: 777
|
||||
.saturating_add(Weight::from_ref_time(18_771).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: 37_371 nanoseconds.
|
||||
Weight::from_ref_time(40_000_929)
|
||||
// Standard Error: 1_206
|
||||
.saturating_add(Weight::from_ref_time(112_783).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `702 + s * (35 ±0)`
|
||||
// Estimated: `18335`
|
||||
// Minimum execution time: 26_468 nanoseconds.
|
||||
Weight::from_ref_time(32_702_486)
|
||||
.saturating_add(Weight::from_proof_size(18335))
|
||||
// Standard Error: 1_482
|
||||
.saturating_add(Weight::from_ref_time(56_971).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: 25_933 nanoseconds.
|
||||
Weight::from_ref_time(28_737_270)
|
||||
// Standard Error: 1_234
|
||||
.saturating_add(Weight::from_ref_time(105_581).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `628 + s * (37 ±0)`
|
||||
// Estimated: `8322`
|
||||
// Minimum execution time: 17_228 nanoseconds.
|
||||
Weight::from_ref_time(20_306_990)
|
||||
.saturating_add(Weight::from_proof_size(8322))
|
||||
// Standard Error: 1_365
|
||||
.saturating_add(Weight::from_ref_time(51_564).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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,21 +45,32 @@ 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: 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: 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: 122_387 nanoseconds.
|
||||
Weight::from_ref_time(92_297_457)
|
||||
// Standard Error: 409
|
||||
.saturating_add(Weight::from_ref_time(43_408).saturating_mul(k.into()))
|
||||
// Standard Error: 4_126
|
||||
.saturating_add(Weight::from_ref_time(410_087).saturating_mul(e.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `425 + k * (32 ±0)`
|
||||
// Estimated: `10345844 + e * (25 ±0) + k * (64 ±0)`
|
||||
// Minimum execution time: 89_393 nanoseconds.
|
||||
Weight::from_ref_time(70_533_029)
|
||||
.saturating_add(Weight::from_proof_size(10345844))
|
||||
// Standard Error: 326
|
||||
.saturating_add(Weight::from_ref_time(24_444).saturating_mul(k.into()))
|
||||
// Standard Error: 3_285
|
||||
.saturating_add(Weight::from_ref_time(322_267).saturating_mul(e.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(Weight::from_proof_size(25).saturating_mul(e.into()))
|
||||
.saturating_add(Weight::from_proof_size(64).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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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: 27_604 nanoseconds.
|
||||
Weight::from_ref_time(29_111_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `142`
|
||||
// Estimated: `2544`
|
||||
// Minimum execution time: 17_834 nanoseconds.
|
||||
Weight::from_ref_time(18_267_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: 33_837 nanoseconds.
|
||||
Weight::from_ref_time(34_404_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `405`
|
||||
// Estimated: `5147`
|
||||
// Minimum execution time: 23_205 nanoseconds.
|
||||
Weight::from_ref_time(23_614_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_427 nanoseconds.
|
||||
Weight::from_ref_time(29_210_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `270`
|
||||
// Estimated: `2544`
|
||||
// Minimum execution time: 19_347 nanoseconds.
|
||||
Weight::from_ref_time(19_755_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_980 nanoseconds.
|
||||
Weight::from_ref_time(29_703_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `405`
|
||||
// Estimated: `5147`
|
||||
// Minimum execution time: 21_607 nanoseconds.
|
||||
Weight::from_ref_time(21_934_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_262 nanoseconds.
|
||||
Weight::from_ref_time(35_150_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `270`
|
||||
// Estimated: `2544`
|
||||
// Minimum execution time: 21_265 nanoseconds.
|
||||
Weight::from_ref_time(21_623_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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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_318 nanoseconds.
|
||||
Weight::from_ref_time(22_310_915)
|
||||
// Standard Error: 609
|
||||
.saturating_add(Weight::from_ref_time(34_170).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `272 + m * (64 ±0)`
|
||||
// Estimated: `5005 + m * (192 ±0)`
|
||||
// Minimum execution time: 14_833 nanoseconds.
|
||||
Weight::from_ref_time(15_622_054)
|
||||
.saturating_add(Weight::from_proof_size(5005))
|
||||
// Standard Error: 441
|
||||
.saturating_add(Weight::from_ref_time(39_128).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: 23_414 nanoseconds.
|
||||
Weight::from_ref_time(24_871_975)
|
||||
// Standard Error: 565
|
||||
.saturating_add(Weight::from_ref_time(30_404).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `376 + m * (64 ±0)`
|
||||
// Estimated: `5844 + m * (192 ±0)`
|
||||
// Minimum execution time: 17_676 nanoseconds.
|
||||
Weight::from_ref_time(18_382_549)
|
||||
.saturating_add(Weight::from_proof_size(5844))
|
||||
// Standard Error: 547
|
||||
.saturating_add(Weight::from_ref_time(32_188).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_199 nanoseconds.
|
||||
Weight::from_ref_time(25_105_433)
|
||||
// Standard Error: 693
|
||||
.saturating_add(Weight::from_ref_time(39_937).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `376 + m * (64 ±0)`
|
||||
// Estimated: `5844 + m * (192 ±0)`
|
||||
// Minimum execution time: 17_667 nanoseconds.
|
||||
Weight::from_ref_time(18_574_464)
|
||||
.saturating_add(Weight::from_proof_size(5844))
|
||||
// Standard Error: 536
|
||||
.saturating_add(Weight::from_ref_time(47_803).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_515 nanoseconds.
|
||||
Weight::from_ref_time(24_672_195)
|
||||
// Standard Error: 943
|
||||
.saturating_add(Weight::from_ref_time(142_771).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `376 + m * (64 ±0)`
|
||||
// Estimated: `5844 + m * (192 ±0)`
|
||||
// Minimum execution time: 17_061 nanoseconds.
|
||||
Weight::from_ref_time(18_138_776)
|
||||
.saturating_add(Weight::from_proof_size(5844))
|
||||
// Standard Error: 779
|
||||
.saturating_add(Weight::from_ref_time(165_950).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_598 nanoseconds.
|
||||
Weight::from_ref_time(25_786_600)
|
||||
// Standard Error: 649
|
||||
.saturating_add(Weight::from_ref_time(38_506).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `376 + m * (64 ±0)`
|
||||
// Estimated: `5844 + m * (192 ±0)`
|
||||
// Minimum execution time: 17_997 nanoseconds.
|
||||
Weight::from_ref_time(19_185_070)
|
||||
.saturating_add(Weight::from_proof_size(5844))
|
||||
// Standard Error: 695
|
||||
.saturating_add(Weight::from_ref_time(45_161).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: 7_936 nanoseconds.
|
||||
Weight::from_ref_time(8_522_758)
|
||||
// Standard Error: 253
|
||||
.saturating_add(Weight::from_ref_time(8_317).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `64 + m * (32 ±0)`
|
||||
// Estimated: `3761 + m * (32 ±0)`
|
||||
// Minimum execution time: 6_293 nanoseconds.
|
||||
Weight::from_ref_time(6_598_116)
|
||||
.saturating_add(Weight::from_proof_size(3761))
|
||||
// Standard Error: 163
|
||||
.saturating_add(Weight::from_ref_time(11_399).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: 4_463 nanoseconds.
|
||||
Weight::from_ref_time(4_874_434)
|
||||
fn clear_prime(m: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_689 nanoseconds.
|
||||
Weight::from_ref_time(2_861_104)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 79
|
||||
.saturating_add(Weight::from_ref_time(799).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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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_159 nanoseconds.
|
||||
Weight::from_ref_time(17_175_479)
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(651).saturating_mul(z.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 11_709 nanoseconds.
|
||||
Weight::from_ref_time(12_139_383)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(599).saturating_mul(z.into()))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 49_360 nanoseconds.
|
||||
Weight::from_ref_time(37_020_587)
|
||||
// Standard Error: 1_311
|
||||
.saturating_add(Weight::from_ref_time(153_070).saturating_mul(s.into()))
|
||||
// Standard Error: 12
|
||||
.saturating_add(Weight::from_ref_time(1_922).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `352 + s * (2 ±0)`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 35_352 nanoseconds.
|
||||
Weight::from_ref_time(28_118_450)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
// Standard Error: 664
|
||||
.saturating_add(Weight::from_ref_time(83_685).saturating_mul(s.into()))
|
||||
// Standard Error: 6
|
||||
.saturating_add(Weight::from_ref_time(1_561).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: 38_658 nanoseconds.
|
||||
Weight::from_ref_time(25_186_518)
|
||||
// Standard Error: 897
|
||||
.saturating_add(Weight::from_ref_time(144_299).saturating_mul(s.into()))
|
||||
// Standard Error: 8
|
||||
.saturating_add(Weight::from_ref_time(1_935).saturating_mul(z.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `351`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 26_156 nanoseconds.
|
||||
Weight::from_ref_time(19_125_495)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
// Standard Error: 545
|
||||
.saturating_add(Weight::from_ref_time(74_327).saturating_mul(s.into()))
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(1_649).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: 56_575 nanoseconds.
|
||||
Weight::from_ref_time(38_391_618)
|
||||
// Standard Error: 1_236
|
||||
.saturating_add(Weight::from_ref_time(192_850).saturating_mul(s.into()))
|
||||
// Standard Error: 12
|
||||
.saturating_add(Weight::from_ref_time(2_002).saturating_mul(z.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `489 + s * (33 ±0)`
|
||||
// Estimated: `8424`
|
||||
// Minimum execution time: 42_556 nanoseconds.
|
||||
Weight::from_ref_time(31_748_011)
|
||||
.saturating_add(Weight::from_proof_size(8424))
|
||||
// Standard Error: 1_038
|
||||
.saturating_add(Weight::from_ref_time(111_127).saturating_mul(s.into()))
|
||||
// Standard Error: 10
|
||||
.saturating_add(Weight::from_ref_time(1_681).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_603 nanoseconds.
|
||||
Weight::from_ref_time(35_215_690)
|
||||
// Standard Error: 1_234
|
||||
.saturating_add(Weight::from_ref_time(157_046).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_333 nanoseconds.
|
||||
Weight::from_ref_time(24_230_639)
|
||||
// Standard Error: 1_011
|
||||
.saturating_add(Weight::from_ref_time(139_771).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `359 + s * (2 ±0)`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 24_876 nanoseconds.
|
||||
Weight::from_ref_time(26_575_836)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
// Standard Error: 702
|
||||
.saturating_add(Weight::from_ref_time(75_537).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: `351`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 17_073 nanoseconds.
|
||||
Weight::from_ref_time(17_894_052)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
// Standard Error: 523
|
||||
.saturating_add(Weight::from_ref_time(73_433).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn cancel_as_multi(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 34_207 nanoseconds.
|
||||
Weight::from_ref_time(35_768_409)
|
||||
// Standard Error: 1_147
|
||||
.saturating_add(Weight::from_ref_time(149_225).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `555 + s * (1 ±0)`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 26_183 nanoseconds.
|
||||
Weight::from_ref_time(28_189_731)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
// Standard Error: 1_748
|
||||
.saturating_add(Weight::from_ref_time(106_618).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
@@ -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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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(10002), added: 10497, mode: MaxEncodedLen)
|
||||
/// The range of component `l` is `[0, 999]`.
|
||||
fn place_bid(l: u32, ) -> Weight {
|
||||
// Minimum execution time: 38_870 nanoseconds.
|
||||
Weight::from_ref_time(39_602_991)
|
||||
// Standard Error: 1_085
|
||||
.saturating_add(Weight::from_ref_time(91_818).saturating_mul(l.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `10279 + l * (48 ±0)`
|
||||
// Estimated: `64718`
|
||||
// Minimum execution time: 28_528 nanoseconds.
|
||||
Weight::from_ref_time(31_444_194)
|
||||
.saturating_add(Weight::from_proof_size(64718))
|
||||
// Standard Error: 703
|
||||
.saturating_add(Weight::from_ref_time(81_351).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(10002), added: 10497, mode: MaxEncodedLen)
|
||||
fn place_bid_max() -> Weight {
|
||||
// Minimum execution time: 130_046 nanoseconds.
|
||||
Weight::from_ref_time(134_004_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `58281`
|
||||
// Estimated: `64718`
|
||||
// Minimum execution time: 106_859 nanoseconds.
|
||||
Weight::from_ref_time(108_554_000)
|
||||
.saturating_add(Weight::from_proof_size(64718))
|
||||
.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(10002), added: 10497, 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_356 nanoseconds.
|
||||
Weight::from_ref_time(41_332_958)
|
||||
// Standard Error: 955
|
||||
.saturating_add(Weight::from_ref_time(78_417).saturating_mul(l.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `10279 + l * (48 ±0)`
|
||||
// Estimated: `64718`
|
||||
// Minimum execution time: 36_699 nanoseconds.
|
||||
Weight::from_ref_time(32_538_199)
|
||||
.saturating_add(Weight::from_proof_size(64718))
|
||||
// Standard Error: 705
|
||||
.saturating_add(Weight::from_ref_time(63_013).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: 43_583 nanoseconds.
|
||||
Weight::from_ref_time(44_814_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `256`
|
||||
// Estimated: `3138`
|
||||
// Minimum execution time: 30_998 nanoseconds.
|
||||
Weight::from_ref_time(31_362_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: 58_517 nanoseconds.
|
||||
Weight::from_ref_time(60_162_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `457`
|
||||
// Estimated: `9418`
|
||||
// Minimum execution time: 45_471 nanoseconds.
|
||||
Weight::from_ref_time(46_193_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: 74_288 nanoseconds.
|
||||
Weight::from_ref_time(76_187_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `698`
|
||||
// Estimated: `8792`
|
||||
// Minimum execution time: 59_553 nanoseconds.
|
||||
Weight::from_ref_time(61_402_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: 82_045 nanoseconds.
|
||||
Weight::from_ref_time(84_290_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `760`
|
||||
// Estimated: `12516`
|
||||
// Minimum execution time: 66_969 nanoseconds.
|
||||
Weight::from_ref_time(67_990_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: 71_365 nanoseconds.
|
||||
Weight::from_ref_time(73_197_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `539`
|
||||
// Estimated: `12516`
|
||||
// Minimum execution time: 64_656 nanoseconds.
|
||||
Weight::from_ref_time(65_544_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(10002), added: 10497, mode: MaxEncodedLen)
|
||||
fn process_queues() -> Weight {
|
||||
// Minimum execution time: 46_394 nanoseconds.
|
||||
Weight::from_ref_time(48_354_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `10689`
|
||||
// Estimated: `13635`
|
||||
// Minimum execution time: 24_373 nanoseconds.
|
||||
Weight::from_ref_time(24_724_000)
|
||||
.saturating_add(Weight::from_proof_size(13635))
|
||||
.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_565 nanoseconds.
|
||||
Weight::from_ref_time(4_789_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `76`
|
||||
// Estimated: `50497`
|
||||
// Minimum execution time: 3_740 nanoseconds.
|
||||
Weight::from_ref_time(3_917_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_536 nanoseconds.
|
||||
Weight::from_ref_time(12_013_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_377 nanoseconds.
|
||||
Weight::from_ref_time(6_630_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,9 @@
|
||||
//! Autogenerated weights for `pallet_nomination_pools`
|
||||
//!
|
||||
//! 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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -72,10 +73,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
|
||||
fn join() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3468`
|
||||
// Measured: `3501`
|
||||
// Estimated: `38468`
|
||||
// Minimum execution time: 152_199 nanoseconds.
|
||||
Weight::from_ref_time(157_673_000)
|
||||
// Minimum execution time: 138_497 nanoseconds.
|
||||
Weight::from_ref_time(140_588_000)
|
||||
.saturating_add(Weight::from_proof_size(38468))
|
||||
.saturating_add(T::DbWeight::get().reads(17))
|
||||
.saturating_add(T::DbWeight::get().writes(12))
|
||||
@@ -100,10 +101,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
|
||||
fn bond_extra_transfer() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3510`
|
||||
// Measured: `3543`
|
||||
// Estimated: `39063`
|
||||
// Minimum execution time: 150_270 nanoseconds.
|
||||
Weight::from_ref_time(155_619_000)
|
||||
// Minimum execution time: 135_261 nanoseconds.
|
||||
Weight::from_ref_time(136_884_000)
|
||||
.saturating_add(Weight::from_proof_size(39063))
|
||||
.saturating_add(T::DbWeight::get().reads(14))
|
||||
.saturating_add(T::DbWeight::get().writes(12))
|
||||
@@ -130,10 +131,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
|
||||
fn bond_extra_other() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3393`
|
||||
// Measured: `3389`
|
||||
// Estimated: `38950`
|
||||
// Minimum execution time: 164_700 nanoseconds.
|
||||
Weight::from_ref_time(169_418_000)
|
||||
// Minimum execution time: 147_724 nanoseconds.
|
||||
Weight::from_ref_time(149_274_000)
|
||||
.saturating_add(Weight::from_proof_size(38950))
|
||||
.saturating_add(T::DbWeight::get().reads(14))
|
||||
.saturating_add(T::DbWeight::get().writes(12))
|
||||
@@ -150,10 +151,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn claim_payout() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1220`
|
||||
// Measured: `1254`
|
||||
// Estimated: `13485`
|
||||
// Minimum execution time: 56_711 nanoseconds.
|
||||
Weight::from_ref_time(58_399_000)
|
||||
// Minimum execution time: 54_107 nanoseconds.
|
||||
Weight::from_ref_time(55_084_000)
|
||||
.saturating_add(Weight::from_proof_size(13485))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
@@ -173,7 +174,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// Storage: Staking CurrentEra (r:1 w:0)
|
||||
/// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Nominators (r:1 w:0)
|
||||
/// Proof: Staking Nominators (max_values: None, max_size: Some(558), added: 3033, mode: MaxEncodedLen)
|
||||
/// Proof: Staking Nominators (max_values: None, max_size: Some(814), added: 3289, mode: MaxEncodedLen)
|
||||
/// Storage: Staking MinNominatorBond (r:1 w:0)
|
||||
/// Proof: Staking MinNominatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
@@ -186,17 +187,15 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// Proof: NominationPools SubPoolsStorage (max_values: None, max_size: Some(1197), added: 3672, mode: MaxEncodedLen)
|
||||
/// Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1)
|
||||
/// Proof: NominationPools CounterForSubPoolsStorage (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: NominationPools ClaimPermissions (r:0 w:1)
|
||||
/// Proof: NominationPools ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
|
||||
fn unbond() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3748`
|
||||
// Estimated: `44674`
|
||||
// Minimum execution time: 158_330 nanoseconds.
|
||||
Weight::from_ref_time(164_448_000)
|
||||
.saturating_add(Weight::from_proof_size(44674))
|
||||
// Measured: `3779`
|
||||
// Estimated: `44930`
|
||||
// Minimum execution time: 140_104 nanoseconds.
|
||||
Weight::from_ref_time(140_897_000)
|
||||
.saturating_add(Weight::from_proof_size(44930))
|
||||
.saturating_add(T::DbWeight::get().reads(18))
|
||||
.saturating_add(T::DbWeight::get().writes(14))
|
||||
.saturating_add(T::DbWeight::get().writes(13))
|
||||
}
|
||||
/// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
/// Proof: NominationPools BondedPools (max_values: None, max_size: Some(164), added: 2639, mode: MaxEncodedLen)
|
||||
@@ -211,13 +210,13 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn pool_withdraw_unbonded(s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1672`
|
||||
// Measured: `1700`
|
||||
// Estimated: `13025`
|
||||
// Minimum execution time: 52_454 nanoseconds.
|
||||
Weight::from_ref_time(54_517_406)
|
||||
// Minimum execution time: 48_227 nanoseconds.
|
||||
Weight::from_ref_time(49_988_432)
|
||||
.saturating_add(Weight::from_proof_size(13025))
|
||||
// Standard Error: 1_474
|
||||
.saturating_add(Weight::from_ref_time(55_026).saturating_mul(s.into()))
|
||||
// Standard Error: 706
|
||||
.saturating_add(Weight::from_ref_time(6_209).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -239,18 +238,20 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
|
||||
/// Proof: NominationPools CounterForPoolMembers (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: NominationPools ClaimPermissions (r:0 w:1)
|
||||
/// Proof: NominationPools ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_update(s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2196`
|
||||
// Measured: `2224`
|
||||
// Estimated: `22991`
|
||||
// Minimum execution time: 98_434 nanoseconds.
|
||||
Weight::from_ref_time(103_207_163)
|
||||
// Minimum execution time: 92_484 nanoseconds.
|
||||
Weight::from_ref_time(94_254_505)
|
||||
.saturating_add(Weight::from_proof_size(22991))
|
||||
// Standard Error: 2_701
|
||||
.saturating_add(Weight::from_ref_time(68_680).saturating_mul(s.into()))
|
||||
// Standard Error: 1_446
|
||||
.saturating_add(Weight::from_ref_time(14_097).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(9))
|
||||
.saturating_add(T::DbWeight::get().writes(7))
|
||||
.saturating_add(T::DbWeight::get().writes(8))
|
||||
}
|
||||
/// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
/// Proof: NominationPools PoolMembers (max_values: None, max_size: Some(717), added: 3192, mode: MaxEncodedLen)
|
||||
@@ -269,7 +270,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// Storage: Staking Validators (r:1 w:0)
|
||||
/// Proof: Staking Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Nominators (r:1 w:0)
|
||||
/// Proof: Staking Nominators (max_values: None, max_size: Some(558), added: 3033, mode: MaxEncodedLen)
|
||||
/// Proof: Staking Nominators (max_values: None, max_size: Some(814), added: 3289, 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)
|
||||
@@ -292,18 +293,20 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// Proof: NominationPools CounterForBondedPools (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Payee (r:0 w:1)
|
||||
/// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
||||
/// Storage: NominationPools ClaimPermissions (r:0 w:1)
|
||||
/// Proof: NominationPools ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2584`
|
||||
// Estimated: `46001`
|
||||
// Minimum execution time: 153_991 nanoseconds.
|
||||
Weight::from_ref_time(160_710_694)
|
||||
.saturating_add(Weight::from_proof_size(46001))
|
||||
// Standard Error: 3_944
|
||||
.saturating_add(Weight::from_ref_time(4_851).saturating_mul(s.into()))
|
||||
// Measured: `2614`
|
||||
// Estimated: `46287`
|
||||
// Minimum execution time: 144_956 nanoseconds.
|
||||
Weight::from_ref_time(147_704_997)
|
||||
.saturating_add(Weight::from_proof_size(46287))
|
||||
// Standard Error: 2_422
|
||||
.saturating_add(Weight::from_ref_time(4_931).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(20))
|
||||
.saturating_add(T::DbWeight::get().writes(17))
|
||||
.saturating_add(T::DbWeight::get().writes(18))
|
||||
}
|
||||
/// Storage: NominationPools LastPoolId (r:1 w:1)
|
||||
/// Proof: NominationPools LastPoolId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
@@ -349,10 +352,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
||||
fn create() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1220`
|
||||
// Measured: `1254`
|
||||
// Estimated: `32002`
|
||||
// Minimum execution time: 133_178 nanoseconds.
|
||||
Weight::from_ref_time(139_719_000)
|
||||
// Minimum execution time: 127_089 nanoseconds.
|
||||
Weight::from_ref_time(128_175_000)
|
||||
.saturating_add(Weight::from_proof_size(32002))
|
||||
.saturating_add(T::DbWeight::get().reads(21))
|
||||
.saturating_add(T::DbWeight::get().writes(15))
|
||||
@@ -366,10 +369,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// Storage: Staking MinNominatorBond (r:1 w:0)
|
||||
/// Proof: Staking MinNominatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Nominators (r:1 w:1)
|
||||
/// Proof: Staking Nominators (max_values: None, max_size: Some(558), added: 3033, mode: MaxEncodedLen)
|
||||
/// Proof: Staking Nominators (max_values: None, max_size: Some(814), added: 3289, mode: MaxEncodedLen)
|
||||
/// Storage: Staking MaxNominatorsCount (r:1 w:0)
|
||||
/// Proof: Staking MaxNominatorsCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Validators (r:17 w:0)
|
||||
/// Storage: Staking Validators (r:25 w:0)
|
||||
/// Proof: Staking Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen)
|
||||
/// Storage: Staking CurrentEra (r:1 w:0)
|
||||
/// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
@@ -381,16 +384,16 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
/// Proof: Staking CounterForNominators (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// The range of component `n` is `[1, 16]`.
|
||||
/// The range of component `n` is `[1, 24]`.
|
||||
fn nominate(n: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1805`
|
||||
// Estimated: `21998 + n * (2520 ±0)`
|
||||
// Minimum execution time: 64_454 nanoseconds.
|
||||
Weight::from_ref_time(66_211_268)
|
||||
.saturating_add(Weight::from_proof_size(21998))
|
||||
// Standard Error: 8_856
|
||||
.saturating_add(Weight::from_ref_time(1_214_910).saturating_mul(n.into()))
|
||||
// Measured: `1834`
|
||||
// Estimated: `22254 + n * (2520 ±0)`
|
||||
// Minimum execution time: 59_869 nanoseconds.
|
||||
Weight::from_ref_time(60_705_359)
|
||||
.saturating_add(Weight::from_proof_size(22254))
|
||||
// Standard Error: 5_277
|
||||
.saturating_add(Weight::from_ref_time(1_073_439).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(12))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
@@ -404,10 +407,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
|
||||
fn set_state() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1393`
|
||||
// Measured: `1423`
|
||||
// Estimated: `8752`
|
||||
// Minimum execution time: 32_632 nanoseconds.
|
||||
Weight::from_ref_time(34_156_000)
|
||||
// Minimum execution time: 33_612 nanoseconds.
|
||||
Weight::from_ref_time(34_352_000)
|
||||
.saturating_add(Weight::from_proof_size(8752))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -421,13 +424,13 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// The range of component `n` is `[1, 256]`.
|
||||
fn set_metadata(n: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `525`
|
||||
// Measured: `559`
|
||||
// Estimated: `5883`
|
||||
// Minimum execution time: 13_558 nanoseconds.
|
||||
Weight::from_ref_time(14_425_466)
|
||||
// Minimum execution time: 12_676 nanoseconds.
|
||||
Weight::from_ref_time(13_208_801)
|
||||
.saturating_add(Weight::from_proof_size(5883))
|
||||
// Standard Error: 163
|
||||
.saturating_add(Weight::from_ref_time(1_089).saturating_mul(n.into()))
|
||||
// Standard Error: 112
|
||||
.saturating_add(Weight::from_ref_time(1_428).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -445,8 +448,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 4_500 nanoseconds.
|
||||
Weight::from_ref_time(4_878_000)
|
||||
// Minimum execution time: 4_593 nanoseconds.
|
||||
Weight::from_ref_time(4_772_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
@@ -454,10 +457,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// Proof: NominationPools BondedPools (max_values: None, max_size: Some(164), added: 2639, mode: MaxEncodedLen)
|
||||
fn update_roles() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `525`
|
||||
// Measured: `559`
|
||||
// Estimated: `2639`
|
||||
// Minimum execution time: 18_420 nanoseconds.
|
||||
Weight::from_ref_time(19_058_000)
|
||||
// Minimum execution time: 17_961 nanoseconds.
|
||||
Weight::from_ref_time(18_227_000)
|
||||
.saturating_add(Weight::from_proof_size(2639))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -471,7 +474,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// Storage: Staking Validators (r:1 w:0)
|
||||
/// Proof: Staking Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Nominators (r:1 w:1)
|
||||
/// Proof: Staking Nominators (max_values: None, max_size: Some(558), added: 3033, mode: MaxEncodedLen)
|
||||
/// Proof: Staking Nominators (max_values: None, max_size: Some(814), added: 3289, mode: MaxEncodedLen)
|
||||
/// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
/// Proof: Staking CounterForNominators (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: VoterList ListNodes (r:1 w:1)
|
||||
@@ -482,11 +485,11 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
fn chill() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2032`
|
||||
// Estimated: `20489`
|
||||
// Minimum execution time: 63_588 nanoseconds.
|
||||
Weight::from_ref_time(65_776_000)
|
||||
.saturating_add(Weight::from_proof_size(20489))
|
||||
// Measured: `2061`
|
||||
// Estimated: `20745`
|
||||
// Minimum execution time: 60_831 nanoseconds.
|
||||
Weight::from_ref_time(61_571_000)
|
||||
.saturating_add(Weight::from_proof_size(20745))
|
||||
.saturating_add(T::DbWeight::get().reads(9))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
@@ -496,10 +499,10 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// Proof: NominationPools ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
|
||||
fn set_claim_permission() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `508`
|
||||
// Measured: `542`
|
||||
// Estimated: `5708`
|
||||
// Minimum execution time: 14_303 nanoseconds.
|
||||
Weight::from_ref_time(15_001_000)
|
||||
// Minimum execution time: 13_341 nanoseconds.
|
||||
Weight::from_ref_time(13_892_000)
|
||||
.saturating_add(Weight::from_proof_size(5708))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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: 30_474 nanoseconds.
|
||||
Weight::from_ref_time(257_568_077)
|
||||
// Standard Error: 10
|
||||
.saturating_add(Weight::from_ref_time(2_389).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `175`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 22_273 nanoseconds.
|
||||
Weight::from_ref_time(22_421_000)
|
||||
.saturating_add(Weight::from_proof_size(2566))
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_386).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: 20_918 nanoseconds.
|
||||
Weight::from_ref_time(45_372_004)
|
||||
// Standard Error: 9
|
||||
.saturating_add(Weight::from_ref_time(2_558).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `106`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 14_410 nanoseconds.
|
||||
Weight::from_ref_time(14_494_000)
|
||||
.saturating_add(Weight::from_proof_size(2566))
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_388).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: 19_612 nanoseconds.
|
||||
Weight::from_ref_time(52_472_238)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(2_604).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `106`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 13_482 nanoseconds.
|
||||
Weight::from_ref_time(13_720_000)
|
||||
.saturating_add(Weight::from_proof_size(2566))
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_382).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: 42_913 nanoseconds.
|
||||
Weight::from_ref_time(46_034_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `353`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 30_263 nanoseconds.
|
||||
Weight::from_ref_time(31_033_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: 29_879 nanoseconds.
|
||||
Weight::from_ref_time(31_150_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `144`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 20_026 nanoseconds.
|
||||
Weight::from_ref_time(20_879_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: 28_961 nanoseconds.
|
||||
Weight::from_ref_time(31_556_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `220`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 17_776 nanoseconds.
|
||||
Weight::from_ref_time(18_771_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: 15_395 nanoseconds.
|
||||
Weight::from_ref_time(16_622_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `144`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 10_442 nanoseconds.
|
||||
Weight::from_ref_time(11_551_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: 24_606 nanoseconds.
|
||||
Weight::from_ref_time(26_541_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `42`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 11_527 nanoseconds.
|
||||
Weight::from_ref_time(11_883_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_182 nanoseconds.
|
||||
Weight::from_ref_time(11_199_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `106`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 7_456 nanoseconds.
|
||||
Weight::from_ref_time(7_710_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: 29_305 nanoseconds.
|
||||
Weight::from_ref_time(32_670_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `144`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 18_651 nanoseconds.
|
||||
Weight::from_ref_time(19_136_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_768 nanoseconds.
|
||||
Weight::from_ref_time(10_985_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `106`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 6_824 nanoseconds.
|
||||
Weight::from_ref_time(7_100_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: 9_740 nanoseconds.
|
||||
Weight::from_ref_time(10_905_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `106`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 7_015 nanoseconds.
|
||||
Weight::from_ref_time(7_230_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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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_381 nanoseconds.
|
||||
Weight::from_ref_time(21_365_292)
|
||||
// Standard Error: 1_922
|
||||
.saturating_add(Weight::from_ref_time(40_320).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `259 + p * (37 ±0)`
|
||||
// Estimated: `3716`
|
||||
// Minimum execution time: 13_976 nanoseconds.
|
||||
Weight::from_ref_time(14_696_938)
|
||||
.saturating_add(Weight::from_proof_size(3716))
|
||||
// Standard Error: 1_165
|
||||
.saturating_add(Weight::from_ref_time(33_803).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: 39_291 nanoseconds.
|
||||
Weight::from_ref_time(40_000_210)
|
||||
// Standard Error: 2_473
|
||||
.saturating_add(Weight::from_ref_time(133_893).saturating_mul(a.into()))
|
||||
// Standard Error: 2_555
|
||||
.saturating_add(Weight::from_ref_time(40_978).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `650 + a * (68 ±0) + p * (37 ±0)`
|
||||
// Estimated: `11027`
|
||||
// Minimum execution time: 33_701 nanoseconds.
|
||||
Weight::from_ref_time(34_238_362)
|
||||
.saturating_add(Weight::from_proof_size(11027))
|
||||
// Standard Error: 1_949
|
||||
.saturating_add(Weight::from_ref_time(128_204).saturating_mul(a.into()))
|
||||
// Standard Error: 2_014
|
||||
.saturating_add(Weight::from_ref_time(22_991).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: 26_725 nanoseconds.
|
||||
Weight::from_ref_time(28_314_086)
|
||||
// Standard Error: 2_211
|
||||
.saturating_add(Weight::from_ref_time(131_805).saturating_mul(a.into()))
|
||||
// Standard Error: 2_284
|
||||
.saturating_add(Weight::from_ref_time(10_842).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_093 nanoseconds.
|
||||
Weight::from_ref_time(20_481_879)
|
||||
.saturating_add(Weight::from_proof_size(7311))
|
||||
// Standard Error: 1_357
|
||||
.saturating_add(Weight::from_ref_time(116_669).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_066 nanoseconds.
|
||||
Weight::from_ref_time(28_301_075)
|
||||
// Standard Error: 2_193
|
||||
.saturating_add(Weight::from_ref_time(130_365).saturating_mul(a.into()))
|
||||
// Standard Error: 2_265
|
||||
.saturating_add(Weight::from_ref_time(13_100).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_047 nanoseconds.
|
||||
Weight::from_ref_time(20_169_918)
|
||||
.saturating_add(Weight::from_proof_size(7311))
|
||||
// Standard Error: 1_309
|
||||
.saturating_add(Weight::from_ref_time(123_282).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: 35_608 nanoseconds.
|
||||
Weight::from_ref_time(37_654_280)
|
||||
// Standard Error: 2_569
|
||||
.saturating_add(Weight::from_ref_time(117_205).saturating_mul(a.into()))
|
||||
// Standard Error: 2_654
|
||||
.saturating_add(Weight::from_ref_time(33_113).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `582 + a * (68 ±0) + p * (37 ±0)`
|
||||
// Estimated: `11027`
|
||||
// Minimum execution time: 26_807 nanoseconds.
|
||||
Weight::from_ref_time(30_618_234)
|
||||
.saturating_add(Weight::from_proof_size(11027))
|
||||
// Standard Error: 2_949
|
||||
.saturating_add(Weight::from_ref_time(129_927).saturating_mul(a.into()))
|
||||
// Standard Error: 3_047
|
||||
.saturating_add(Weight::from_ref_time(29_443).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_169 nanoseconds.
|
||||
Weight::from_ref_time(31_630_529)
|
||||
// Standard Error: 2_421
|
||||
.saturating_add(Weight::from_ref_time(51_367).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `259 + p * (37 ±0)`
|
||||
// Estimated: `3716`
|
||||
// Minimum execution time: 20_648 nanoseconds.
|
||||
Weight::from_ref_time(21_019_160)
|
||||
.saturating_add(Weight::from_proof_size(3716))
|
||||
// Standard Error: 2_330
|
||||
.saturating_add(Weight::from_ref_time(69_459).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_449 nanoseconds.
|
||||
Weight::from_ref_time(31_052_891)
|
||||
// Standard Error: 2_796
|
||||
.saturating_add(Weight::from_ref_time(70_680).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `259 + p * (37 ±0)`
|
||||
// Estimated: `3716`
|
||||
// Minimum execution time: 19_741 nanoseconds.
|
||||
Weight::from_ref_time(21_028_196)
|
||||
.saturating_add(Weight::from_proof_size(3716))
|
||||
// Standard Error: 1_677
|
||||
.saturating_add(Weight::from_ref_time(73_249).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_540 nanoseconds.
|
||||
Weight::from_ref_time(26_761_290)
|
||||
// Standard Error: 1_942
|
||||
.saturating_add(Weight::from_ref_time(37_261).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `259 + p * (37 ±0)`
|
||||
// Estimated: `3716`
|
||||
// Minimum execution time: 16_116 nanoseconds.
|
||||
Weight::from_ref_time(16_849_655)
|
||||
.saturating_add(Weight::from_proof_size(3716))
|
||||
// Standard Error: 1_089
|
||||
.saturating_add(Weight::from_ref_time(28_535).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: 32_846 nanoseconds.
|
||||
Weight::from_ref_time(34_585_564)
|
||||
// Standard Error: 2_640
|
||||
.saturating_add(Weight::from_ref_time(21_354).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `239`
|
||||
// Estimated: `3716`
|
||||
// Minimum execution time: 21_680 nanoseconds.
|
||||
Weight::from_ref_time(22_572_277)
|
||||
.saturating_add(Weight::from_proof_size(3716))
|
||||
// Standard Error: 1_333
|
||||
.saturating_add(Weight::from_ref_time(12_315).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
|
||||
/// The range of component `p` is `[0, 30]`.
|
||||
fn kill_pure(p: u32, ) -> Weight {
|
||||
// Minimum execution time: 26_942 nanoseconds.
|
||||
Weight::from_ref_time(28_109_384)
|
||||
// Standard Error: 2_326
|
||||
.saturating_add(Weight::from_ref_time(40_170).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `296 + p * (37 ±0)`
|
||||
// Estimated: `3716`
|
||||
// Minimum execution time: 16_937 nanoseconds.
|
||||
Weight::from_ref_time(17_605_894)
|
||||
.saturating_add(Weight::from_proof_size(3716))
|
||||
// Standard Error: 1_758
|
||||
.saturating_add(Weight::from_ref_time(40_493).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_ranked_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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,77 +45,127 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_ranked_collective`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_ranked_collective::WeightInfo for WeightInfo<T> {
|
||||
// Storage: FellowshipCollective Members (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:1)
|
||||
// Storage: FellowshipCollective IndexToId (r:0 w:1)
|
||||
// Storage: FellowshipCollective IdToIndex (r:0 w:1)
|
||||
/// Storage: FellowshipCollective Members (r:1 w:1)
|
||||
/// Proof: FellowshipCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective MemberCount (r:1 w:1)
|
||||
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective IndexToId (r:0 w:1)
|
||||
/// Proof: FellowshipCollective IndexToId (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective IdToIndex (r:0 w:1)
|
||||
/// Proof: FellowshipCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
|
||||
fn add_member() -> Weight {
|
||||
// Minimum execution time: 21_687 nanoseconds.
|
||||
Weight::from_ref_time(22_505_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `76`
|
||||
// Estimated: `5006`
|
||||
// Minimum execution time: 15_015 nanoseconds.
|
||||
Weight::from_ref_time(15_279_000)
|
||||
.saturating_add(Weight::from_proof_size(5006))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: FellowshipCollective Members (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:1)
|
||||
// Storage: FellowshipCollective IdToIndex (r:1 w:1)
|
||||
// Storage: FellowshipCollective IndexToId (r:1 w:1)
|
||||
/// Storage: FellowshipCollective Members (r:1 w:1)
|
||||
/// Proof: FellowshipCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective MemberCount (r:11 w:11)
|
||||
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective IdToIndex (r:11 w:11)
|
||||
/// Proof: FellowshipCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective IndexToId (r:11 w:11)
|
||||
/// Proof: FellowshipCollective IndexToId (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn remove_member(r: u32, ) -> Weight {
|
||||
// Minimum execution time: 32_770 nanoseconds.
|
||||
Weight::from_ref_time(34_644_917)
|
||||
// Standard Error: 15_325
|
||||
.saturating_add(Weight::from_ref_time(11_355_769).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `550 + r * (281 ±0)`
|
||||
// Estimated: `10064 + r * (7547 ±0)`
|
||||
// Minimum execution time: 24_934 nanoseconds.
|
||||
Weight::from_ref_time(29_372_358)
|
||||
.saturating_add(Weight::from_proof_size(10064))
|
||||
// Standard Error: 28_755
|
||||
.saturating_add(Weight::from_ref_time(10_320_855).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(r.into())))
|
||||
.saturating_add(Weight::from_proof_size(7547).saturating_mul(r.into()))
|
||||
}
|
||||
// Storage: FellowshipCollective Members (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:1)
|
||||
// Storage: FellowshipCollective IndexToId (r:0 w:1)
|
||||
// Storage: FellowshipCollective IdToIndex (r:0 w:1)
|
||||
/// Storage: FellowshipCollective Members (r:1 w:1)
|
||||
/// Proof: FellowshipCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective MemberCount (r:1 w:1)
|
||||
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective IndexToId (r:0 w:1)
|
||||
/// Proof: FellowshipCollective IndexToId (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective IdToIndex (r:0 w:1)
|
||||
/// Proof: FellowshipCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn promote_member(r: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_990 nanoseconds.
|
||||
Weight::from_ref_time(25_072_856)
|
||||
// Standard Error: 5_793
|
||||
.saturating_add(Weight::from_ref_time(404_905).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `248 + r * (17 ±0)`
|
||||
// Estimated: `5006`
|
||||
// Minimum execution time: 17_345 nanoseconds.
|
||||
Weight::from_ref_time(18_369_667)
|
||||
.saturating_add(Weight::from_proof_size(5006))
|
||||
// Standard Error: 5_162
|
||||
.saturating_add(Weight::from_ref_time(317_725).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: FellowshipCollective Members (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:1)
|
||||
// Storage: FellowshipCollective IdToIndex (r:1 w:1)
|
||||
// Storage: FellowshipCollective IndexToId (r:1 w:1)
|
||||
/// Storage: FellowshipCollective Members (r:1 w:1)
|
||||
/// Proof: FellowshipCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective MemberCount (r:1 w:1)
|
||||
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective IdToIndex (r:1 w:1)
|
||||
/// Proof: FellowshipCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective IndexToId (r:1 w:1)
|
||||
/// Proof: FellowshipCollective IndexToId (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn demote_member(r: u32, ) -> Weight {
|
||||
// Minimum execution time: 32_952 nanoseconds.
|
||||
Weight::from_ref_time(35_465_453)
|
||||
// Standard Error: 16_850
|
||||
.saturating_add(Weight::from_ref_time(671_524).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `566 + r * (72 ±0)`
|
||||
// Estimated: `10064`
|
||||
// Minimum execution time: 24_864 nanoseconds.
|
||||
Weight::from_ref_time(29_437_828)
|
||||
.saturating_add(Weight::from_proof_size(10064))
|
||||
// Standard Error: 28_077
|
||||
.saturating_add(Weight::from_ref_time(694_931).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: FellowshipCollective Members (r:1 w:0)
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipCollective Voting (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Storage: FellowshipCollective Members (r:1 w:0)
|
||||
/// Proof: FellowshipCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective Voting (r:1 w:1)
|
||||
/// Proof: FellowshipCollective Voting (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn vote() -> Weight {
|
||||
// Minimum execution time: 50_688 nanoseconds.
|
||||
Weight::from_ref_time(51_397_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `704`
|
||||
// Estimated: `91308`
|
||||
// Minimum execution time: 48_174 nanoseconds.
|
||||
Weight::from_ref_time(48_765_000)
|
||||
.saturating_add(Weight::from_proof_size(91308))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:0)
|
||||
// Storage: FellowshipCollective VotingCleanup (r:1 w:0)
|
||||
// Storage: FellowshipCollective Voting (r:0 w:2)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:0)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective VotingCleanup (r:1 w:0)
|
||||
/// Proof: FellowshipCollective VotingCleanup (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective Voting (r:100 w:100)
|
||||
/// Proof: FellowshipCollective Voting (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
fn cleanup_poll(n: u32, ) -> Weight {
|
||||
// Minimum execution time: 15_422 nanoseconds.
|
||||
Weight::from_ref_time(18_535_259)
|
||||
// Standard Error: 2_621
|
||||
.saturating_add(Weight::from_ref_time(1_164_868).saturating_mul(n.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `500 + n * (50 ±0)`
|
||||
// Estimated: `5964 + n * (2540 ±0)`
|
||||
// Minimum execution time: 13_233 nanoseconds.
|
||||
Weight::from_ref_time(16_859_237)
|
||||
.saturating_add(Weight::from_proof_size(5964))
|
||||
// Standard Error: 1_532
|
||||
.saturating_add(Weight::from_ref_time(910_200).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
|
||||
.saturating_add(Weight::from_proof_size(2540).saturating_mul(n.into()))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,9 @@
|
||||
//! Autogenerated weights for `pallet_referenda`
|
||||
//!
|
||||
//! 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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,263 +45,478 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_referenda`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: FellowshipCollective Members (r:1 w:0)
|
||||
// Storage: FellowshipReferenda ReferendumCount (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:0 w:1)
|
||||
/// Storage: FellowshipCollective Members (r:1 w:0)
|
||||
/// Proof: FellowshipCollective Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda ReferendumCount (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:0 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
fn submit() -> Weight {
|
||||
// Minimum execution time: 33_277 nanoseconds.
|
||||
Weight::from_ref_time(33_960_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `361`
|
||||
// Estimated: `44454`
|
||||
// Minimum execution time: 27_612 nanoseconds.
|
||||
Weight::from_ref_time(28_040_000)
|
||||
.saturating_add(Weight::from_proof_size(44454))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn place_decision_deposit_preparing() -> Weight {
|
||||
// Minimum execution time: 53_029 nanoseconds.
|
||||
Weight::from_ref_time(54_668_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `502`
|
||||
// Estimated: `86251`
|
||||
// Minimum execution time: 45_926 nanoseconds.
|
||||
Weight::from_ref_time(47_307_000)
|
||||
.saturating_add(Weight::from_proof_size(86251))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
|
||||
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
|
||||
/// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
|
||||
fn place_decision_deposit_queued() -> Weight {
|
||||
// Minimum execution time: 90_942 nanoseconds.
|
||||
Weight::from_ref_time(102_908_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1975`
|
||||
// Estimated: `9151`
|
||||
// Minimum execution time: 60_904 nanoseconds.
|
||||
Weight::from_ref_time(63_273_000)
|
||||
.saturating_add(Weight::from_proof_size(9151))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
|
||||
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
|
||||
/// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
|
||||
fn place_decision_deposit_not_queued() -> Weight {
|
||||
// Minimum execution time: 93_418 nanoseconds.
|
||||
Weight::from_ref_time(102_043_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2016`
|
||||
// Estimated: `9151`
|
||||
// Minimum execution time: 60_599 nanoseconds.
|
||||
Weight::from_ref_time(62_731_000)
|
||||
.saturating_add(Weight::from_proof_size(9151))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn place_decision_deposit_passing() -> Weight {
|
||||
// Minimum execution time: 204_407 nanoseconds.
|
||||
Weight::from_ref_time(221_043_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `872`
|
||||
// Estimated: `91229`
|
||||
// Minimum execution time: 117_759 nanoseconds.
|
||||
Weight::from_ref_time(124_843_000)
|
||||
.saturating_add(Weight::from_proof_size(91229))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
fn place_decision_deposit_failing() -> Weight {
|
||||
// Minimum execution time: 46_345 nanoseconds.
|
||||
Weight::from_ref_time(48_000_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `644`
|
||||
// Estimated: `8353`
|
||||
// Minimum execution time: 38_257 nanoseconds.
|
||||
Weight::from_ref_time(38_680_000)
|
||||
.saturating_add(Weight::from_proof_size(8353))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
fn refund_decision_deposit() -> Weight {
|
||||
// Minimum execution time: 32_528 nanoseconds.
|
||||
Weight::from_ref_time(33_923_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `415`
|
||||
// Estimated: `3375`
|
||||
// Minimum execution time: 24_398 nanoseconds.
|
||||
Weight::from_ref_time(24_799_000)
|
||||
.saturating_add(Weight::from_proof_size(3375))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
fn refund_submission_deposit() -> Weight {
|
||||
// Minimum execution time: 21_065 nanoseconds.
|
||||
Weight::from_ref_time(21_947_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `233`
|
||||
// Estimated: `3375`
|
||||
// Minimum execution time: 14_497 nanoseconds.
|
||||
Weight::from_ref_time(14_988_000)
|
||||
.saturating_add(Weight::from_proof_size(3375))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn cancel() -> Weight {
|
||||
// Minimum execution time: 41_541 nanoseconds.
|
||||
Weight::from_ref_time(43_091_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `415`
|
||||
// Estimated: `86251`
|
||||
// Minimum execution time: 35_130 nanoseconds.
|
||||
Weight::from_ref_time(35_735_000)
|
||||
.saturating_add(Weight::from_proof_size(86251))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda MetadataOf (r:1 w:0)
|
||||
/// Proof: FellowshipReferenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
|
||||
fn kill() -> Weight {
|
||||
// Minimum execution time: 75_008 nanoseconds.
|
||||
Weight::from_ref_time(77_437_000)
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `548`
|
||||
// Estimated: `88778`
|
||||
// Minimum execution time: 62_488 nanoseconds.
|
||||
Weight::from_ref_time(64_659_000)
|
||||
.saturating_add(Weight::from_proof_size(88778))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: FellowshipReferenda TrackQueue (r:1 w:0)
|
||||
// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
|
||||
/// Storage: FellowshipReferenda TrackQueue (r:1 w:0)
|
||||
/// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
fn one_fewer_deciding_queue_empty() -> Weight {
|
||||
// Minimum execution time: 10_620 nanoseconds.
|
||||
Weight::from_ref_time(11_309_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `174`
|
||||
// Estimated: `5776`
|
||||
// Minimum execution time: 9_065 nanoseconds.
|
||||
Weight::from_ref_time(9_247_000)
|
||||
.saturating_add(Weight::from_proof_size(5776))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn one_fewer_deciding_failing() -> Weight {
|
||||
// Minimum execution time: 167_988 nanoseconds.
|
||||
Weight::from_ref_time(179_043_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3147`
|
||||
// Estimated: `92027`
|
||||
// Minimum execution time: 142_703 nanoseconds.
|
||||
Weight::from_ref_time(145_933_000)
|
||||
.saturating_add(Weight::from_proof_size(92027))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn one_fewer_deciding_passing() -> Weight {
|
||||
// Minimum execution time: 171_829 nanoseconds.
|
||||
Weight::from_ref_time(183_097_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3147`
|
||||
// Estimated: `92027`
|
||||
// Minimum execution time: 144_435 nanoseconds.
|
||||
Weight::from_ref_time(146_096_000)
|
||||
.saturating_add(Weight::from_proof_size(92027))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:0)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:0)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_requeued_insertion() -> Weight {
|
||||
// Minimum execution time: 99_225 nanoseconds.
|
||||
Weight::from_ref_time(109_234_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2790`
|
||||
// Estimated: `48100`
|
||||
// Minimum execution time: 77_355 nanoseconds.
|
||||
Weight::from_ref_time(79_600_000)
|
||||
.saturating_add(Weight::from_proof_size(48100))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:0)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:0)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_requeued_slide() -> Weight {
|
||||
// Minimum execution time: 100_605 nanoseconds.
|
||||
Weight::from_ref_time(109_740_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2757`
|
||||
// Estimated: `48100`
|
||||
// Minimum execution time: 77_174 nanoseconds.
|
||||
Weight::from_ref_time(79_594_000)
|
||||
.saturating_add(Weight::from_proof_size(48100))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
|
||||
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:0)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
|
||||
/// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:0)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_queued() -> Weight {
|
||||
// Minimum execution time: 105_414 nanoseconds.
|
||||
Weight::from_ref_time(112_810_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2773`
|
||||
// Estimated: `50589`
|
||||
// Minimum execution time: 79_984 nanoseconds.
|
||||
Weight::from_ref_time(82_368_000)
|
||||
.saturating_add(Weight::from_proof_size(50589))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
|
||||
// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:0)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda DecidingCount (r:1 w:0)
|
||||
/// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda TrackQueue (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:0)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_not_queued() -> Weight {
|
||||
// Minimum execution time: 100_969 nanoseconds.
|
||||
Weight::from_ref_time(114_514_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2814`
|
||||
// Estimated: `50589`
|
||||
// Minimum execution time: 80_275 nanoseconds.
|
||||
Weight::from_ref_time(81_559_000)
|
||||
.saturating_add(Weight::from_proof_size(50589))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_no_deposit() -> Weight {
|
||||
// Minimum execution time: 29_982 nanoseconds.
|
||||
Weight::from_ref_time(31_303_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `367`
|
||||
// Estimated: `44813`
|
||||
// Minimum execution time: 24_706 nanoseconds.
|
||||
Weight::from_ref_time(25_344_000)
|
||||
.saturating_add(Weight::from_proof_size(44813))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_preparing() -> Weight {
|
||||
// Minimum execution time: 30_756 nanoseconds.
|
||||
Weight::from_ref_time(31_875_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `415`
|
||||
// Estimated: `44813`
|
||||
// Minimum execution time: 25_032 nanoseconds.
|
||||
Weight::from_ref_time(25_674_000)
|
||||
.saturating_add(Weight::from_proof_size(44813))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_timed_out() -> Weight {
|
||||
// Minimum execution time: 22_922 nanoseconds.
|
||||
Weight::from_ref_time(23_811_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `274`
|
||||
// Estimated: `3375`
|
||||
// Minimum execution time: 16_589 nanoseconds.
|
||||
Weight::from_ref_time(16_941_000)
|
||||
.saturating_add(Weight::from_proof_size(3375))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_begin_deciding_failing() -> Weight {
|
||||
// Minimum execution time: 42_030 nanoseconds.
|
||||
Weight::from_ref_time(43_505_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `650`
|
||||
// Estimated: `49791`
|
||||
// Minimum execution time: 35_891 nanoseconds.
|
||||
Weight::from_ref_time(36_449_000)
|
||||
.saturating_add(Weight::from_proof_size(49791))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda DecidingCount (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_begin_deciding_passing() -> Weight {
|
||||
// Minimum execution time: 95_523 nanoseconds.
|
||||
Weight::from_ref_time(102_104_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `785`
|
||||
// Estimated: `49791`
|
||||
// Minimum execution time: 61_138 nanoseconds.
|
||||
Weight::from_ref_time(62_771_000)
|
||||
.saturating_add(Weight::from_proof_size(49791))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_begin_confirming() -> Weight {
|
||||
// Minimum execution time: 166_858 nanoseconds.
|
||||
Weight::from_ref_time(190_720_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `836`
|
||||
// Estimated: `47302`
|
||||
// Minimum execution time: 85_781 nanoseconds.
|
||||
Weight::from_ref_time(88_954_000)
|
||||
.saturating_add(Weight::from_proof_size(47302))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_end_confirming() -> Weight {
|
||||
// Minimum execution time: 165_354 nanoseconds.
|
||||
Weight::from_ref_time(185_408_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `821`
|
||||
// Estimated: `47302`
|
||||
// Minimum execution time: 86_360 nanoseconds.
|
||||
Weight::from_ref_time(88_983_000)
|
||||
.saturating_add(Weight::from_proof_size(47302))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_continue_not_confirming() -> Weight {
|
||||
// Minimum execution time: 167_797 nanoseconds.
|
||||
Weight::from_ref_time(182_086_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `836`
|
||||
// Estimated: `47302`
|
||||
// Minimum execution time: 85_015 nanoseconds.
|
||||
Weight::from_ref_time(92_600_000)
|
||||
.saturating_add(Weight::from_proof_size(47302))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_continue_confirming() -> Weight {
|
||||
// Minimum execution time: 87_123 nanoseconds.
|
||||
Weight::from_ref_time(94_538_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `842`
|
||||
// Estimated: `47302`
|
||||
// Minimum execution time: 56_622 nanoseconds.
|
||||
Weight::from_ref_time(58_805_000)
|
||||
.saturating_add(Weight::from_proof_size(47302))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
// Storage: Scheduler Lookup (r:1 w:1)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Lookup (r:1 w:1)
|
||||
/// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_approved() -> Weight {
|
||||
// Minimum execution time: 177_202 nanoseconds.
|
||||
Weight::from_ref_time(194_662_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `842`
|
||||
// Estimated: `91263`
|
||||
// Minimum execution time: 104_419 nanoseconds.
|
||||
Weight::from_ref_time(110_105_000)
|
||||
.saturating_add(Weight::from_proof_size(91263))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipCollective MemberCount (r:1 w:0)
|
||||
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_rejected() -> Weight {
|
||||
// Minimum execution time: 154_150 nanoseconds.
|
||||
Weight::from_ref_time(185_014_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `838`
|
||||
// Estimated: `47302`
|
||||
// Minimum execution time: 85_875 nanoseconds.
|
||||
Weight::from_ref_time(89_394_000)
|
||||
.saturating_add(Weight::from_proof_size(47302))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:0)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: Preimage StatusFor (r:1 w:0)
|
||||
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda MetadataOf (r:0 w:1)
|
||||
/// Proof: FellowshipReferenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
|
||||
fn set_some_metadata() -> Weight {
|
||||
Weight::from_parts(20_490_000, 5407)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `418`
|
||||
// Estimated: `5941`
|
||||
// Minimum execution time: 19_459 nanoseconds.
|
||||
Weight::from_ref_time(19_921_000)
|
||||
.saturating_add(Weight::from_proof_size(5941))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:0)
|
||||
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
|
||||
/// Storage: FellowshipReferenda MetadataOf (r:1 w:1)
|
||||
/// Proof: FellowshipReferenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
|
||||
fn clear_metadata() -> Weight {
|
||||
Weight::from_parts(19_917_000, 5368)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `351`
|
||||
// Estimated: `5902`
|
||||
// Minimum execution time: 17_684 nanoseconds.
|
||||
Weight::from_ref_time(18_181_000)
|
||||
.saturating_add(Weight::from_proof_size(5902))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,9 @@
|
||||
//! Autogenerated weights for `pallet_referenda`
|
||||
//!
|
||||
//! 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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,262 +45,476 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_referenda`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Referenda ReferendumCount (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
// Storage: Referenda ReferendumInfoFor (r:0 w:1)
|
||||
/// Storage: Referenda ReferendumCount (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:0 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
fn submit() -> Weight {
|
||||
// Minimum execution time: 38_444 nanoseconds.
|
||||
Weight::from_ref_time(40_157_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `217`
|
||||
// Estimated: `41937`
|
||||
// Minimum execution time: 32_039 nanoseconds.
|
||||
Weight::from_ref_time(33_032_000)
|
||||
.saturating_add(Weight::from_proof_size(41937))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn place_decision_deposit_preparing() -> Weight {
|
||||
// Minimum execution time: 52_464 nanoseconds.
|
||||
Weight::from_ref_time(53_840_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `502`
|
||||
// Estimated: `86287`
|
||||
// Minimum execution time: 46_560 nanoseconds.
|
||||
Weight::from_ref_time(47_198_000)
|
||||
.saturating_add(Weight::from_proof_size(86287))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Referenda DecidingCount (r:1 w:0)
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda DecidingCount (r:1 w:0)
|
||||
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
|
||||
fn place_decision_deposit_queued() -> Weight {
|
||||
// Minimum execution time: 59_684 nanoseconds.
|
||||
Weight::from_ref_time(62_639_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3130`
|
||||
// Estimated: `10387`
|
||||
// Minimum execution time: 41_965 nanoseconds.
|
||||
Weight::from_ref_time(42_897_000)
|
||||
.saturating_add(Weight::from_proof_size(10387))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Referenda DecidingCount (r:1 w:0)
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda DecidingCount (r:1 w:0)
|
||||
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
|
||||
fn place_decision_deposit_not_queued() -> Weight {
|
||||
// Minimum execution time: 59_614 nanoseconds.
|
||||
Weight::from_ref_time(61_921_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3150`
|
||||
// Estimated: `10387`
|
||||
// Minimum execution time: 41_432 nanoseconds.
|
||||
Weight::from_ref_time(42_162_000)
|
||||
.saturating_add(Weight::from_proof_size(10387))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn place_decision_deposit_passing() -> Weight {
|
||||
// Minimum execution time: 67_948 nanoseconds.
|
||||
Weight::from_ref_time(69_857_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `502`
|
||||
// Estimated: `89287`
|
||||
// Minimum execution time: 58_699 nanoseconds.
|
||||
Weight::from_ref_time(59_685_000)
|
||||
.saturating_add(Weight::from_proof_size(89287))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
|
||||
fn place_decision_deposit_failing() -> Weight {
|
||||
// Minimum execution time: 46_712 nanoseconds.
|
||||
Weight::from_ref_time(47_618_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `409`
|
||||
// Estimated: `6411`
|
||||
// Minimum execution time: 35_648 nanoseconds.
|
||||
Weight::from_ref_time(36_259_000)
|
||||
.saturating_add(Weight::from_proof_size(6411))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
fn refund_decision_deposit() -> Weight {
|
||||
// Minimum execution time: 31_886 nanoseconds.
|
||||
Weight::from_ref_time(33_383_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `342`
|
||||
// Estimated: `3411`
|
||||
// Minimum execution time: 23_433 nanoseconds.
|
||||
Weight::from_ref_time(23_925_000)
|
||||
.saturating_add(Weight::from_proof_size(3411))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
fn refund_submission_deposit() -> Weight {
|
||||
// Minimum execution time: 31_464 nanoseconds.
|
||||
Weight::from_ref_time(32_332_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `332`
|
||||
// Estimated: `3411`
|
||||
// Minimum execution time: 23_455 nanoseconds.
|
||||
Weight::from_ref_time(24_140_000)
|
||||
.saturating_add(Weight::from_proof_size(3411))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn cancel() -> Weight {
|
||||
// Minimum execution time: 40_661 nanoseconds.
|
||||
Weight::from_ref_time(42_037_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `378`
|
||||
// Estimated: `86287`
|
||||
// Minimum execution time: 34_573 nanoseconds.
|
||||
Weight::from_ref_time(35_346_000)
|
||||
.saturating_add(Weight::from_proof_size(86287))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda MetadataOf (r:1 w:0)
|
||||
/// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
|
||||
fn kill() -> Weight {
|
||||
// Minimum execution time: 87_937 nanoseconds.
|
||||
Weight::from_ref_time(90_171_000)
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `683`
|
||||
// Estimated: `88814`
|
||||
// Minimum execution time: 81_537 nanoseconds.
|
||||
Weight::from_ref_time(83_433_000)
|
||||
.saturating_add(Weight::from_proof_size(88814))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Referenda TrackQueue (r:1 w:0)
|
||||
// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
/// Storage: Referenda TrackQueue (r:1 w:0)
|
||||
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
fn one_fewer_deciding_queue_empty() -> Weight {
|
||||
// Minimum execution time: 10_962 nanoseconds.
|
||||
Weight::from_ref_time(11_292_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `101`
|
||||
// Estimated: `6976`
|
||||
// Minimum execution time: 8_213 nanoseconds.
|
||||
Weight::from_ref_time(8_488_000)
|
||||
.saturating_add(Weight::from_proof_size(6976))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn one_fewer_deciding_failing() -> Weight {
|
||||
// Minimum execution time: 123_968 nanoseconds.
|
||||
Weight::from_ref_time(132_776_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3899`
|
||||
// Estimated: `91285`
|
||||
// Minimum execution time: 115_785 nanoseconds.
|
||||
Weight::from_ref_time(116_809_000)
|
||||
.saturating_add(Weight::from_proof_size(91285))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn one_fewer_deciding_passing() -> Weight {
|
||||
// Minimum execution time: 124_456 nanoseconds.
|
||||
Weight::from_ref_time(133_803_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3899`
|
||||
// Estimated: `91285`
|
||||
// Minimum execution time: 117_486 nanoseconds.
|
||||
Weight::from_ref_time(118_341_000)
|
||||
.saturating_add(Weight::from_proof_size(91285))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:0)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:0)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_requeued_insertion() -> Weight {
|
||||
// Minimum execution time: 67_800 nanoseconds.
|
||||
Weight::from_ref_time(72_433_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3917`
|
||||
// Estimated: `49336`
|
||||
// Minimum execution time: 61_982 nanoseconds.
|
||||
Weight::from_ref_time(62_462_000)
|
||||
.saturating_add(Weight::from_proof_size(49336))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:0)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:0)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_requeued_slide() -> Weight {
|
||||
// Minimum execution time: 67_119 nanoseconds.
|
||||
Weight::from_ref_time(72_291_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3917`
|
||||
// Estimated: `49336`
|
||||
// Minimum execution time: 61_914 nanoseconds.
|
||||
Weight::from_ref_time(62_419_000)
|
||||
.saturating_add(Weight::from_proof_size(49336))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Referenda DecidingCount (r:1 w:0)
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:0)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda DecidingCount (r:1 w:0)
|
||||
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:0)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_queued() -> Weight {
|
||||
// Minimum execution time: 69_519 nanoseconds.
|
||||
Weight::from_ref_time(75_088_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3891`
|
||||
// Estimated: `51825`
|
||||
// Minimum execution time: 63_641 nanoseconds.
|
||||
Weight::from_ref_time(64_322_000)
|
||||
.saturating_add(Weight::from_proof_size(51825))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Referenda DecidingCount (r:1 w:0)
|
||||
// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:0)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda DecidingCount (r:1 w:0)
|
||||
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda TrackQueue (r:1 w:1)
|
||||
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:0)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_not_queued() -> Weight {
|
||||
// Minimum execution time: 68_612 nanoseconds.
|
||||
Weight::from_ref_time(75_595_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3911`
|
||||
// Estimated: `51825`
|
||||
// Minimum execution time: 63_367 nanoseconds.
|
||||
Weight::from_ref_time(63_894_000)
|
||||
.saturating_add(Weight::from_proof_size(51825))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_no_deposit() -> Weight {
|
||||
// Minimum execution time: 29_767 nanoseconds.
|
||||
Weight::from_ref_time(30_670_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `330`
|
||||
// Estimated: `44849`
|
||||
// Minimum execution time: 23_875 nanoseconds.
|
||||
Weight::from_ref_time(24_475_000)
|
||||
.saturating_add(Weight::from_proof_size(44849))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_preparing() -> Weight {
|
||||
// Minimum execution time: 30_082 nanoseconds.
|
||||
Weight::from_ref_time(31_089_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `378`
|
||||
// Estimated: `44849`
|
||||
// Minimum execution time: 23_799 nanoseconds.
|
||||
Weight::from_ref_time(24_523_000)
|
||||
.saturating_add(Weight::from_proof_size(44849))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_timed_out() -> Weight {
|
||||
// Minimum execution time: 22_203 nanoseconds.
|
||||
Weight::from_ref_time(23_408_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `237`
|
||||
// Estimated: `3411`
|
||||
// Minimum execution time: 15_557 nanoseconds.
|
||||
Weight::from_ref_time(16_044_000)
|
||||
.saturating_add(Weight::from_proof_size(3411))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_begin_deciding_failing() -> Weight {
|
||||
// Minimum execution time: 42_086 nanoseconds.
|
||||
Weight::from_ref_time(44_532_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `378`
|
||||
// Estimated: `47849`
|
||||
// Minimum execution time: 32_573 nanoseconds.
|
||||
Weight::from_ref_time(33_058_000)
|
||||
.saturating_add(Weight::from_proof_size(47849))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda DecidingCount (r:1 w:1)
|
||||
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
|
||||
/// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_begin_deciding_passing() -> Weight {
|
||||
// Minimum execution time: 44_254 nanoseconds.
|
||||
Weight::from_ref_time(45_996_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `378`
|
||||
// Estimated: `47849`
|
||||
// Minimum execution time: 34_404 nanoseconds.
|
||||
Weight::from_ref_time(35_014_000)
|
||||
.saturating_add(Weight::from_proof_size(47849))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_begin_confirming() -> Weight {
|
||||
// Minimum execution time: 40_864 nanoseconds.
|
||||
Weight::from_ref_time(42_518_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `431`
|
||||
// Estimated: `45360`
|
||||
// Minimum execution time: 29_118 nanoseconds.
|
||||
Weight::from_ref_time(29_476_000)
|
||||
.saturating_add(Weight::from_proof_size(45360))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_end_confirming() -> Weight {
|
||||
// Minimum execution time: 41_997 nanoseconds.
|
||||
Weight::from_ref_time(43_555_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `414`
|
||||
// Estimated: `45360`
|
||||
// Minimum execution time: 30_136 nanoseconds.
|
||||
Weight::from_ref_time(31_011_000)
|
||||
.saturating_add(Weight::from_proof_size(45360))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_continue_not_confirming() -> Weight {
|
||||
// Minimum execution time: 39_163 nanoseconds.
|
||||
Weight::from_ref_time(40_633_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `431`
|
||||
// Estimated: `45360`
|
||||
// Minimum execution time: 27_221 nanoseconds.
|
||||
Weight::from_ref_time(27_760_000)
|
||||
.saturating_add(Weight::from_proof_size(45360))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_continue_confirming() -> Weight {
|
||||
// Minimum execution time: 38_260 nanoseconds.
|
||||
Weight::from_ref_time(39_494_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `435`
|
||||
// Estimated: `45360`
|
||||
// Minimum execution time: 26_277 nanoseconds.
|
||||
Weight::from_ref_time(27_291_000)
|
||||
.saturating_add(Weight::from_proof_size(45360))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:2 w:2)
|
||||
// Storage: Scheduler Lookup (r:1 w:1)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:2 w:2)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Lookup (r:1 w:1)
|
||||
/// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_approved() -> Weight {
|
||||
// Minimum execution time: 51_267 nanoseconds.
|
||||
Weight::from_ref_time(54_875_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `435`
|
||||
// Estimated: `89321`
|
||||
// Minimum execution time: 40_428 nanoseconds.
|
||||
Weight::from_ref_time(41_154_000)
|
||||
.saturating_add(Weight::from_proof_size(89321))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Balances InactiveIssuance (r:1 w:0)
|
||||
/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
|
||||
/// Storage: Scheduler Agenda (r:1 w:1)
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
|
||||
fn nudge_referendum_rejected() -> Weight {
|
||||
// Minimum execution time: 41_099 nanoseconds.
|
||||
Weight::from_ref_time(43_408_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `431`
|
||||
// Estimated: `45360`
|
||||
// Minimum execution time: 28_947 nanoseconds.
|
||||
Weight::from_ref_time(29_549_000)
|
||||
.saturating_add(Weight::from_proof_size(45360))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:0)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Preimage StatusFor (r:1 w:0)
|
||||
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda MetadataOf (r:0 w:1)
|
||||
/// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
|
||||
fn set_some_metadata() -> Weight {
|
||||
Weight::from_parts(20_490_000, 5407)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `381`
|
||||
// Estimated: `5977`
|
||||
// Minimum execution time: 18_672 nanoseconds.
|
||||
Weight::from_ref_time(19_161_000)
|
||||
.saturating_add(Weight::from_proof_size(5977))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// Storage: Referenda ReferendumInfoFor (r:1 w:0)
|
||||
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
|
||||
/// Storage: Referenda MetadataOf (r:1 w:1)
|
||||
/// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
|
||||
fn clear_metadata() -> Weight {
|
||||
Weight::from_parts(19_917_000, 5368)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `314`
|
||||
// Estimated: `5938`
|
||||
// Minimum execution time: 16_980 nanoseconds.
|
||||
Weight::from_ref_time(17_224_000)
|
||||
.saturating_add(Weight::from_proof_size(5938))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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_075 nanoseconds.
|
||||
Weight::from_ref_time(5_354_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `69`
|
||||
// Estimated: `499`
|
||||
// Minimum execution time: 3_666 nanoseconds.
|
||||
Weight::from_ref_time(3_818_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_657 nanoseconds.
|
||||
Weight::from_ref_time(6_797_821)
|
||||
// Standard Error: 3_025
|
||||
.saturating_add(Weight::from_ref_time(798_951).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `148 + s * (177 ±0)`
|
||||
// Estimated: `41438`
|
||||
// Minimum execution time: 3_199 nanoseconds.
|
||||
Weight::from_ref_time(5_831_446)
|
||||
.saturating_add(Weight::from_proof_size(41438))
|
||||
// Standard Error: 2_126
|
||||
.saturating_add(Weight::from_ref_time(915_625).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_623 nanoseconds.
|
||||
Weight::from_ref_time(11_011_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 5_223 nanoseconds.
|
||||
Weight::from_ref_time(5_400_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_213 nanoseconds.
|
||||
Weight::from_ref_time(23_605_000)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(1_558).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `211 + s * (1 ±0)`
|
||||
// Estimated: `5252 + s * (1 ±0)`
|
||||
// Minimum execution time: 17_304 nanoseconds.
|
||||
Weight::from_ref_time(17_595_000)
|
||||
.saturating_add(Weight::from_proof_size(5252))
|
||||
// Standard Error: 12
|
||||
.saturating_add(Weight::from_ref_time(1_464).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: 12_071 nanoseconds.
|
||||
Weight::from_ref_time(12_410_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_739 nanoseconds.
|
||||
Weight::from_ref_time(6_946_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
fn service_task_periodic() -> Weight {
|
||||
// Minimum execution time: 10_794 nanoseconds.
|
||||
Weight::from_ref_time(11_240_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 5_265 nanoseconds.
|
||||
Weight::from_ref_time(5_414_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
fn execute_dispatch_signed() -> Weight {
|
||||
// Minimum execution time: 3_969 nanoseconds.
|
||||
Weight::from_ref_time(4_184_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_290 nanoseconds.
|
||||
Weight::from_ref_time(2_400_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
fn execute_dispatch_unsigned() -> Weight {
|
||||
// Minimum execution time: 3_991 nanoseconds.
|
||||
Weight::from_ref_time(4_152_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_276 nanoseconds.
|
||||
Weight::from_ref_time(2_363_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_240 nanoseconds.
|
||||
Weight::from_ref_time(20_823_381)
|
||||
// Standard Error: 3_399
|
||||
.saturating_add(Weight::from_ref_time(869_009).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `148 + s * (177 ±0)`
|
||||
// Estimated: `41438`
|
||||
// Minimum execution time: 12_244 nanoseconds.
|
||||
Weight::from_ref_time(15_510_207)
|
||||
.saturating_add(Weight::from_proof_size(41438))
|
||||
// Standard Error: 2_100
|
||||
.saturating_add(Weight::from_ref_time(908_376).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: 22_711 nanoseconds.
|
||||
Weight::from_ref_time(21_337_116)
|
||||
// Standard Error: 4_073
|
||||
.saturating_add(Weight::from_ref_time(1_483_204).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `148 + s * (177 ±0)`
|
||||
// Estimated: `41438`
|
||||
// Minimum execution time: 16_621 nanoseconds.
|
||||
Weight::from_ref_time(15_775_497)
|
||||
.saturating_add(Weight::from_proof_size(41438))
|
||||
// Standard Error: 2_329
|
||||
.saturating_add(Weight::from_ref_time(1_637_303).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: 21_382 nanoseconds.
|
||||
Weight::from_ref_time(24_695_885)
|
||||
// Standard Error: 4_169
|
||||
.saturating_add(Weight::from_ref_time(884_000).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `325 + s * (185 ±0)`
|
||||
// Estimated: `43961`
|
||||
// Minimum execution time: 15_055 nanoseconds.
|
||||
Weight::from_ref_time(19_107_024)
|
||||
.saturating_add(Weight::from_proof_size(43961))
|
||||
// Standard Error: 3_155
|
||||
.saturating_add(Weight::from_ref_time(940_758).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: 23_558 nanoseconds.
|
||||
Weight::from_ref_time(23_010_637)
|
||||
// Standard Error: 4_345
|
||||
.saturating_add(Weight::from_ref_time(1_505_334).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `351 + s * (185 ±0)`
|
||||
// Estimated: `43961`
|
||||
// Minimum execution time: 17_975 nanoseconds.
|
||||
Weight::from_ref_time(17_825_540)
|
||||
.saturating_add(Weight::from_proof_size(43961))
|
||||
// Standard Error: 3_258
|
||||
.saturating_add(Weight::from_ref_time(1_661_561).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_session`
|
||||
//!
|
||||
//! 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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,21 +45,35 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_session`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:6 w:6)
|
||||
/// Storage: Staking Ledger (r:1 w:0)
|
||||
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
|
||||
/// Storage: Session NextKeys (r:1 w:1)
|
||||
/// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Session KeyOwner (r:6 w:6)
|
||||
/// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured)
|
||||
fn set_keys() -> Weight {
|
||||
// Minimum execution time: 64_073 nanoseconds.
|
||||
Weight::from_ref_time(65_823_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2147`
|
||||
// Estimated: `25185`
|
||||
// Minimum execution time: 47_407 nanoseconds.
|
||||
Weight::from_ref_time(47_929_000)
|
||||
.saturating_add(Weight::from_proof_size(25185))
|
||||
.saturating_add(T::DbWeight::get().reads(8))
|
||||
.saturating_add(T::DbWeight::get().writes(7))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:0 w:6)
|
||||
/// Storage: Staking Ledger (r:1 w:0)
|
||||
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
|
||||
/// Storage: Session NextKeys (r:1 w:1)
|
||||
/// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Session KeyOwner (r:0 w:6)
|
||||
/// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured)
|
||||
fn purge_keys() -> Weight {
|
||||
// Minimum execution time: 49_069 nanoseconds.
|
||||
Weight::from_ref_time(50_671_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2043`
|
||||
// Estimated: `10127`
|
||||
// Minimum execution time: 34_505 nanoseconds.
|
||||
Weight::from_ref_time(35_193_000)
|
||||
.saturating_add(Weight::from_proof_size(10127))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(7))
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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_070 nanoseconds.
|
||||
Weight::from_ref_time(10_380_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `345`
|
||||
// Estimated: `1006`
|
||||
// Minimum execution time: 8_325 nanoseconds.
|
||||
Weight::from_ref_time(8_835_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_354 nanoseconds.
|
||||
Weight::from_ref_time(4_510_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `128`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 3_649 nanoseconds.
|
||||
Weight::from_ref_time(3_766_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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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: 30_548 nanoseconds.
|
||||
Weight::from_ref_time(32_417_643)
|
||||
// Standard Error: 11
|
||||
.saturating_add(Weight::from_ref_time(2_199).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4`
|
||||
// Estimated: `4958`
|
||||
// Minimum execution time: 21_258 nanoseconds.
|
||||
Weight::from_ref_time(22_677_730)
|
||||
.saturating_add(Weight::from_proof_size(4958))
|
||||
// Standard Error: 4
|
||||
.saturating_add(Weight::from_ref_time(1_781).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_031 nanoseconds.
|
||||
Weight::from_ref_time(31_590_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `253`
|
||||
// Estimated: `2981`
|
||||
// Minimum execution time: 20_540 nanoseconds.
|
||||
Weight::from_ref_time(20_832_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_284 nanoseconds.
|
||||
Weight::from_ref_time(21_905_882)
|
||||
// Standard Error: 10
|
||||
.saturating_add(Weight::from_ref_time(2_026).saturating_mul(r.into()))
|
||||
// Standard Error: 9_050
|
||||
.saturating_add(Weight::from_ref_time(189_510).saturating_mul(t.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `140 + t * (64 ±0)`
|
||||
// Estimated: `3390 + t * (192 ±0)`
|
||||
// Minimum execution time: 17_610 nanoseconds.
|
||||
Weight::from_ref_time(15_537_253)
|
||||
.saturating_add(Weight::from_proof_size(3390))
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(1_790).saturating_mul(r.into()))
|
||||
// Standard Error: 5_019
|
||||
.saturating_add(Weight::from_ref_time(157_584).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_194 nanoseconds.
|
||||
Weight::from_ref_time(15_875_059)
|
||||
// Standard Error: 1_541
|
||||
.saturating_add(Weight::from_ref_time(111_040).saturating_mul(t.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `393 + t * (112 ±0)`
|
||||
// Estimated: `3756 + t * (224 ±0)`
|
||||
// Minimum execution time: 12_934 nanoseconds.
|
||||
Weight::from_ref_time(13_428_601)
|
||||
.saturating_add(Weight::from_proof_size(3756))
|
||||
// Standard Error: 1_248
|
||||
.saturating_add(Weight::from_ref_time(139_823).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: 48_059 nanoseconds.
|
||||
Weight::from_ref_time(49_980_313)
|
||||
// Standard Error: 5_880
|
||||
.saturating_add(Weight::from_ref_time(142_553).saturating_mul(t.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `432 + t * (112 ±0)`
|
||||
// Estimated: `6842 + t * (336 ±0)`
|
||||
// Minimum execution time: 38_247 nanoseconds.
|
||||
Weight::from_ref_time(40_221_287)
|
||||
.saturating_add(Weight::from_proof_size(6842))
|
||||
// Standard Error: 7_095
|
||||
.saturating_add(Weight::from_ref_time(68_811).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_280 nanoseconds.
|
||||
Weight::from_ref_time(20_220_621)
|
||||
// Standard Error: 1_858
|
||||
.saturating_add(Weight::from_ref_time(6_328).saturating_mul(t.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `301`
|
||||
// Estimated: `3077`
|
||||
// Minimum execution time: 13_015 nanoseconds.
|
||||
Weight::from_ref_time(13_594_975)
|
||||
.saturating_add(Weight::from_proof_size(3077))
|
||||
// Standard Error: 960
|
||||
.saturating_add(Weight::from_ref_time(9_328).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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,64 +45,105 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_treasury`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Treasury ProposalCount (r:1 w:1)
|
||||
// Storage: Treasury Approvals (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 Approvals (r:1 w:1)
|
||||
/// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
|
||||
/// Storage: Treasury Proposals (r:0 w:1)
|
||||
/// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen)
|
||||
fn spend() -> Weight {
|
||||
// Minimum execution time: 18_551 nanoseconds.
|
||||
Weight::from_ref_time(19_100_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `6`
|
||||
// Estimated: `1396`
|
||||
// Minimum execution time: 12_816 nanoseconds.
|
||||
Weight::from_ref_time(13_035_000)
|
||||
.saturating_add(Weight::from_proof_size(1396))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// 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: 27_449 nanoseconds.
|
||||
Weight::from_ref_time(28_614_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `139`
|
||||
// Estimated: `499`
|
||||
// Minimum execution time: 20_742 nanoseconds.
|
||||
Weight::from_ref_time(21_323_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: 41_099 nanoseconds.
|
||||
Weight::from_ref_time(42_271_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `329`
|
||||
// Estimated: `5186`
|
||||
// Minimum execution time: 31_487 nanoseconds.
|
||||
Weight::from_ref_time(32_288_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_660 nanoseconds.
|
||||
Weight::from_ref_time(11_986_657)
|
||||
// Standard Error: 1_422
|
||||
.saturating_add(Weight::from_ref_time(123_552).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `464 + p * (8 ±0)`
|
||||
// Estimated: `3480`
|
||||
// Minimum execution time: 8_374 nanoseconds.
|
||||
Weight::from_ref_time(11_219_379)
|
||||
.saturating_add(Weight::from_proof_size(3480))
|
||||
// Standard Error: 967
|
||||
.saturating_add(Weight::from_ref_time(30_540).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: 7_880 nanoseconds.
|
||||
Weight::from_ref_time(8_281_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `90`
|
||||
// Estimated: `897`
|
||||
// Minimum execution time: 6_199 nanoseconds.
|
||||
Weight::from_ref_time(6_395_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: 62_209 nanoseconds.
|
||||
Weight::from_ref_time(70_300_386)
|
||||
// Standard Error: 9_890
|
||||
.saturating_add(Weight::from_ref_time(29_775_097).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `326 + p * (314 ±0)`
|
||||
// Estimated: `5419 + p * (7789 ±0)`
|
||||
// Minimum execution time: 51_975 nanoseconds.
|
||||
Weight::from_ref_time(59_018_415)
|
||||
.saturating_add(Weight::from_proof_size(5419))
|
||||
// Standard Error: 26_169
|
||||
.saturating_add(Weight::from_ref_time(28_344_854).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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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_901 nanoseconds.
|
||||
Weight::from_ref_time(14_701_940)
|
||||
// Standard Error: 2_643
|
||||
.saturating_add(Weight::from_ref_time(4_351_994).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_495 nanoseconds.
|
||||
Weight::from_ref_time(8_034_510)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 3_194
|
||||
.saturating_add(Weight::from_ref_time(4_293_124).saturating_mul(c.into()))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
// Minimum execution time: 6_146 nanoseconds.
|
||||
Weight::from_ref_time(6_280_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 4_603 nanoseconds.
|
||||
Weight::from_ref_time(4_879_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_773 nanoseconds.
|
||||
Weight::from_ref_time(14_945_224)
|
||||
// Standard Error: 2_345
|
||||
.saturating_add(Weight::from_ref_time(4_647_764).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_506 nanoseconds.
|
||||
Weight::from_ref_time(14_742_641)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 3_154
|
||||
.saturating_add(Weight::from_ref_time(4_521_901).saturating_mul(c.into()))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
// Minimum execution time: 15_062 nanoseconds.
|
||||
Weight::from_ref_time(15_540_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 8_369 nanoseconds.
|
||||
Weight::from_ref_time(8_698_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_677 nanoseconds.
|
||||
Weight::from_ref_time(21_120_017)
|
||||
// Standard Error: 2_670
|
||||
.saturating_add(Weight::from_ref_time(4_359_587).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_380 nanoseconds.
|
||||
Weight::from_ref_time(8_408_569)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 2_822
|
||||
.saturating_add(Weight::from_ref_time(4_280_704).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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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_949 nanoseconds.
|
||||
Weight::from_ref_time(38_724_432)
|
||||
// Standard Error: 2_059
|
||||
.saturating_add(Weight::from_ref_time(43_640).saturating_mul(l.into()))
|
||||
// Standard Error: 3_663
|
||||
.saturating_add(Weight::from_ref_time(96_813).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `377 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `7306`
|
||||
// Minimum execution time: 27_239 nanoseconds.
|
||||
Weight::from_ref_time(26_207_881)
|
||||
.saturating_add(Weight::from_proof_size(7306))
|
||||
// Standard Error: 759
|
||||
.saturating_add(Weight::from_ref_time(46_779).saturating_mul(l.into()))
|
||||
// Standard Error: 1_351
|
||||
.saturating_add(Weight::from_ref_time(69_555).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_675 nanoseconds.
|
||||
Weight::from_ref_time(38_780_547)
|
||||
// Standard Error: 1_717
|
||||
.saturating_add(Weight::from_ref_time(36_094).saturating_mul(l.into()))
|
||||
// Standard Error: 3_055
|
||||
.saturating_add(Weight::from_ref_time(76_626).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `377 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `7306`
|
||||
// Minimum execution time: 26_815 nanoseconds.
|
||||
Weight::from_ref_time(26_580_193)
|
||||
.saturating_add(Weight::from_proof_size(7306))
|
||||
// Standard Error: 921
|
||||
.saturating_add(Weight::from_ref_time(31_535).saturating_mul(l.into()))
|
||||
// Standard Error: 1_639
|
||||
.saturating_add(Weight::from_ref_time(40_788).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: 39_018 nanoseconds.
|
||||
Weight::from_ref_time(38_307_252)
|
||||
// Standard Error: 1_675
|
||||
.saturating_add(Weight::from_ref_time(43_588).saturating_mul(l.into()))
|
||||
// Standard Error: 2_981
|
||||
.saturating_add(Weight::from_ref_time(96_329).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `512 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `9909`
|
||||
// Minimum execution time: 29_322 nanoseconds.
|
||||
Weight::from_ref_time(28_218_301)
|
||||
.saturating_add(Weight::from_proof_size(9909))
|
||||
// Standard Error: 941
|
||||
.saturating_add(Weight::from_ref_time(44_844).saturating_mul(l.into()))
|
||||
// Standard Error: 1_674
|
||||
.saturating_add(Weight::from_ref_time(74_657).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_518 nanoseconds.
|
||||
Weight::from_ref_time(38_525_734)
|
||||
// Standard Error: 1_946
|
||||
.saturating_add(Weight::from_ref_time(32_000).saturating_mul(l.into()))
|
||||
// Standard Error: 3_463
|
||||
.saturating_add(Weight::from_ref_time(71_440).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `512 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `9909`
|
||||
// Minimum execution time: 28_631 nanoseconds.
|
||||
Weight::from_ref_time(28_364_490)
|
||||
.saturating_add(Weight::from_proof_size(9909))
|
||||
// Standard Error: 924
|
||||
.saturating_add(Weight::from_ref_time(38_331).saturating_mul(l.into()))
|
||||
// Standard Error: 1_645
|
||||
.saturating_add(Weight::from_ref_time(40_831).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: 55_095 nanoseconds.
|
||||
Weight::from_ref_time(56_166_285)
|
||||
// Standard Error: 2_642
|
||||
.saturating_add(Weight::from_ref_time(35_436).saturating_mul(l.into()))
|
||||
// Standard Error: 4_701
|
||||
.saturating_add(Weight::from_ref_time(59_938).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `583 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `9909`
|
||||
// Minimum execution time: 45_634 nanoseconds.
|
||||
Weight::from_ref_time(46_255_132)
|
||||
.saturating_add(Weight::from_proof_size(9909))
|
||||
// Standard Error: 2_652
|
||||
.saturating_add(Weight::from_ref_time(24_658).saturating_mul(l.into()))
|
||||
// Standard Error: 4_719
|
||||
.saturating_add(Weight::from_ref_time(59_871).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: 54_041 nanoseconds.
|
||||
Weight::from_ref_time(55_697_089)
|
||||
// Standard Error: 2_979
|
||||
.saturating_add(Weight::from_ref_time(36_462).saturating_mul(l.into()))
|
||||
// Standard Error: 5_300
|
||||
.saturating_add(Weight::from_ref_time(48_068).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `718 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `12512`
|
||||
// Minimum execution time: 47_059 nanoseconds.
|
||||
Weight::from_ref_time(47_084_382)
|
||||
.saturating_add(Weight::from_proof_size(12512))
|
||||
// Standard Error: 1_411
|
||||
.saturating_add(Weight::from_ref_time(36_808).saturating_mul(l.into()))
|
||||
// Standard Error: 2_512
|
||||
.saturating_add(Weight::from_ref_time(55_819).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: 40_106 nanoseconds.
|
||||
Weight::from_ref_time(39_641_237)
|
||||
// Standard Error: 2_083
|
||||
.saturating_add(Weight::from_ref_time(39_714).saturating_mul(l.into()))
|
||||
// Standard Error: 3_846
|
||||
.saturating_add(Weight::from_ref_time(104_473).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `510 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `9909`
|
||||
// Minimum execution time: 30_076 nanoseconds.
|
||||
Weight::from_ref_time(28_872_544)
|
||||
.saturating_add(Weight::from_proof_size(9909))
|
||||
// Standard Error: 865
|
||||
.saturating_add(Weight::from_ref_time(45_616).saturating_mul(l.into()))
|
||||
// Standard Error: 1_598
|
||||
.saturating_add(Weight::from_ref_time(76_998).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_999 nanoseconds.
|
||||
Weight::from_ref_time(39_997_116)
|
||||
// Standard Error: 1_885
|
||||
.saturating_add(Weight::from_ref_time(47_865).saturating_mul(l.into()))
|
||||
// Standard Error: 3_482
|
||||
.saturating_add(Weight::from_ref_time(85_200).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `510 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `9909`
|
||||
// Minimum execution time: 30_504 nanoseconds.
|
||||
Weight::from_ref_time(29_263_051)
|
||||
.saturating_add(Weight::from_proof_size(9909))
|
||||
// Standard Error: 753
|
||||
.saturating_add(Weight::from_ref_time(42_115).saturating_mul(l.into()))
|
||||
// Standard Error: 1_392
|
||||
.saturating_add(Weight::from_ref_time(71_227).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,9 @@
|
||||
//! Autogenerated weights for `pallet_whitelist`
|
||||
//!
|
||||
//! 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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,42 +45,68 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_whitelist`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_whitelist::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
/// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
/// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
|
||||
/// Storage: Preimage StatusFor (r:1 w:1)
|
||||
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
|
||||
fn whitelist_call() -> Weight {
|
||||
// Minimum execution time: 24_174 nanoseconds.
|
||||
Weight::from_ref_time(25_019_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `151`
|
||||
// Estimated: `5081`
|
||||
// Minimum execution time: 17_343 nanoseconds.
|
||||
Weight::from_ref_time(17_825_000)
|
||||
.saturating_add(Weight::from_proof_size(5081))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
/// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
/// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
|
||||
/// Storage: Preimage StatusFor (r:1 w:1)
|
||||
/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
|
||||
fn remove_whitelisted_call() -> Weight {
|
||||
// Minimum execution time: 22_530 nanoseconds.
|
||||
Weight::from_ref_time(23_064_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `280`
|
||||
// Estimated: `5081`
|
||||
// Minimum execution time: 16_087 nanoseconds.
|
||||
Weight::from_ref_time(16_462_000)
|
||||
.saturating_add(Weight::from_proof_size(5081))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
/// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
/// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
|
||||
/// 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 `n` is `[1, 4194294]`.
|
||||
fn dispatch_whitelisted_call(n: u32, ) -> Weight {
|
||||
// Minimum execution time: 32_957 nanoseconds.
|
||||
Weight::from_ref_time(33_403_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `388 + n * (1 ±0)`
|
||||
// Estimated: `7941 + n * (1 ±0)`
|
||||
// Minimum execution time: 26_589 nanoseconds.
|
||||
Weight::from_ref_time(26_899_000)
|
||||
.saturating_add(Weight::from_proof_size(7941))
|
||||
// Standard Error: 4
|
||||
.saturating_add(Weight::from_ref_time(1_543).saturating_mul(n.into()))
|
||||
.saturating_add(Weight::from_ref_time(1_281).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
.saturating_add(Weight::from_proof_size(1).saturating_mul(n.into()))
|
||||
}
|
||||
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
/// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
/// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
|
||||
/// 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 `n` is `[1, 10000]`.
|
||||
fn dispatch_whitelisted_call_with_preimage(n: u32, ) -> Weight {
|
||||
// Minimum execution time: 26_062 nanoseconds.
|
||||
Weight::from_ref_time(26_997_169)
|
||||
// Standard Error: 6
|
||||
.saturating_add(Weight::from_ref_time(1_906).saturating_mul(n.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `280`
|
||||
// Estimated: `5081`
|
||||
// Minimum execution time: 19_332 nanoseconds.
|
||||
Weight::from_ref_time(20_407_261)
|
||||
.saturating_add(Weight::from_proof_size(5081))
|
||||
// Standard Error: 3
|
||||
.saturating_add(Weight::from_ref_time(1_665).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
|
||||
@@ -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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,122 +45,221 @@ 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: 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 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_739 nanoseconds.
|
||||
Weight::from_ref_time(40_196_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `211`
|
||||
// Estimated: `9470`
|
||||
// Minimum execution time: 30_440 nanoseconds.
|
||||
Weight::from_ref_time(31_156_000)
|
||||
.saturating_add(Weight::from_proof_size(9470))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
fn teleport_assets() -> Weight {
|
||||
// Minimum execution time: 28_185 nanoseconds.
|
||||
Weight::from_ref_time(28_750_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 21_996 nanoseconds.
|
||||
Weight::from_ref_time(22_294_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
fn reserve_transfer_assets() -> Weight {
|
||||
// Minimum execution time: 27_437 nanoseconds.
|
||||
Weight::from_ref_time(28_180_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 20_680 nanoseconds.
|
||||
Weight::from_ref_time(21_080_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
fn execute() -> Weight {
|
||||
// Minimum execution time: 15_160 nanoseconds.
|
||||
Weight::from_ref_time(15_757_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 9_415 nanoseconds.
|
||||
Weight::from_ref_time(9_520_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_190 nanoseconds.
|
||||
Weight::from_ref_time(15_876_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 9_244 nanoseconds.
|
||||
Weight::from_ref_time(9_420_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_114 nanoseconds.
|
||||
Weight::from_ref_time(4_300_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_443 nanoseconds.
|
||||
Weight::from_ref_time(2_617_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: 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: 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: 41_994 nanoseconds.
|
||||
Weight::from_ref_time(43_049_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `211`
|
||||
// Estimated: `13073`
|
||||
// Minimum execution time: 34_146 nanoseconds.
|
||||
Weight::from_ref_time(34_817_000)
|
||||
.saturating_add(Weight::from_proof_size(13073))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
}
|
||||
// Storage: XcmPallet VersionNotifiers (r:1 w:1)
|
||||
// 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 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: 45_517 nanoseconds.
|
||||
Weight::from_ref_time(46_784_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `483`
|
||||
// Estimated: `14271`
|
||||
// Minimum execution time: 36_520 nanoseconds.
|
||||
Weight::from_ref_time(37_185_000)
|
||||
.saturating_add(Weight::from_proof_size(14271))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.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_521 nanoseconds.
|
||||
Weight::from_ref_time(16_022_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `229`
|
||||
// Estimated: `10129`
|
||||
// Minimum execution time: 15_117 nanoseconds.
|
||||
Weight::from_ref_time(15_550_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_477 nanoseconds.
|
||||
Weight::from_ref_time(16_016_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `233`
|
||||
// Estimated: `10133`
|
||||
// Minimum execution time: 14_975 nanoseconds.
|
||||
Weight::from_ref_time(15_464_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_401 nanoseconds.
|
||||
Weight::from_ref_time(18_980_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `243`
|
||||
// Estimated: `12618`
|
||||
// Minimum execution time: 17_893 nanoseconds.
|
||||
Weight::from_ref_time(18_352_000)
|
||||
.saturating_add(Weight::from_proof_size(12618))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
}
|
||||
// Storage: XcmPallet VersionNotifyTargets (r:2 w:1)
|
||||
// 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: 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_154 nanoseconds.
|
||||
Weight::from_ref_time(38_840_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `281`
|
||||
// Estimated: `15051`
|
||||
// Minimum execution time: 31_677 nanoseconds.
|
||||
Weight::from_ref_time(32_094_000)
|
||||
.saturating_add(Weight::from_proof_size(15051))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.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_039 nanoseconds.
|
||||
Weight::from_ref_time(8_398_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `272`
|
||||
// Estimated: `7697`
|
||||
// Minimum execution time: 8_011 nanoseconds.
|
||||
Weight::from_ref_time(8_333_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_070 nanoseconds.
|
||||
Weight::from_ref_time(16_546_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `240`
|
||||
// Estimated: `10140`
|
||||
// Minimum execution time: 15_939 nanoseconds.
|
||||
Weight::from_ref_time(16_272_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: 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: 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_720 nanoseconds.
|
||||
Weight::from_ref_time(46_407_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `285`
|
||||
// Estimated: `20025`
|
||||
// Minimum execution time: 38_275 nanoseconds.
|
||||
Weight::from_ref_time(38_968_000)
|
||||
.saturating_add(Weight::from_proof_size(20025))
|
||||
.saturating_add(T::DbWeight::get().reads(9))
|
||||
.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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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_270 nanoseconds.
|
||||
Weight::from_ref_time(19_220_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4`
|
||||
// Estimated: `1002`
|
||||
// Minimum execution time: 11_101 nanoseconds.
|
||||
Weight::from_ref_time(11_448_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: 84_299 nanoseconds.
|
||||
Weight::from_ref_time(87_771_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `725`
|
||||
// Estimated: `19470`
|
||||
// Minimum execution time: 64_698 nanoseconds.
|
||||
Weight::from_ref_time(68_363_000)
|
||||
.saturating_add(Weight::from_proof_size(19470))
|
||||
.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:7 w:7)
|
||||
// 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:7 w:7)
|
||||
/// 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_495_295 nanoseconds.
|
||||
Weight::from_ref_time(18_895_328_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `7060445`
|
||||
// Estimated: `51339005`
|
||||
// Minimum execution time: 15_573_468 nanoseconds.
|
||||
Weight::from_ref_time(16_010_534_000)
|
||||
.saturating_add(Weight::from_proof_size(51339005))
|
||||
.saturating_add(T::DbWeight::get().reads(3688))
|
||||
.saturating_add(T::DbWeight::get().writes(3683))
|
||||
}
|
||||
// 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_498_604 nanoseconds.
|
||||
Weight::from_ref_time(5_618_259_000)
|
||||
.saturating_add(T::DbWeight::get().reads(73))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `178884`
|
||||
// Estimated: `16009503`
|
||||
// Minimum execution time: 4_760_615 nanoseconds.
|
||||
Weight::from_ref_time(4_889_892_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: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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: 195_244 nanoseconds.
|
||||
Weight::from_ref_time(216_165_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `652`
|
||||
// Estimated: `20437`
|
||||
// Minimum execution time: 139_066 nanoseconds.
|
||||
Weight::from_ref_time(143_633_000)
|
||||
.saturating_add(Weight::from_proof_size(20437))
|
||||
.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: 13_255 nanoseconds.
|
||||
Weight::from_ref_time(16_332_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `216`
|
||||
// Estimated: `1359`
|
||||
// Minimum execution time: 9_252 nanoseconds.
|
||||
Weight::from_ref_time(9_659_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: 203_931 nanoseconds.
|
||||
Weight::from_ref_time(222_105_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `652`
|
||||
// Estimated: `20437`
|
||||
// Minimum execution time: 142_016 nanoseconds.
|
||||
Weight::from_ref_time(148_875_000)
|
||||
.saturating_add(Weight::from_proof_size(20437))
|
||||
.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: 97_520 nanoseconds.
|
||||
Weight::from_ref_time(116_830_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `726`
|
||||
// Estimated: `23934`
|
||||
// Minimum execution time: 62_567 nanoseconds.
|
||||
Weight::from_ref_time(67_330_000)
|
||||
.saturating_add(Weight::from_proof_size(23934))
|
||||
.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: 26_214 nanoseconds.
|
||||
Weight::from_ref_time(30_142_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `472`
|
||||
// Estimated: `11788`
|
||||
// Minimum execution time: 19_308 nanoseconds.
|
||||
Weight::from_ref_time(19_636_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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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: 54_286 nanoseconds.
|
||||
Weight::from_ref_time(56_236_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `395`
|
||||
// Estimated: `9500`
|
||||
// Minimum execution time: 35_921 nanoseconds.
|
||||
Weight::from_ref_time(37_271_000)
|
||||
.saturating_add(Weight::from_proof_size(9500))
|
||||
.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: 140_373 nanoseconds.
|
||||
Weight::from_ref_time(143_644_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `407`
|
||||
// Estimated: `14067`
|
||||
// Minimum execution time: 110_509 nanoseconds.
|
||||
Weight::from_ref_time(111_274_000)
|
||||
.saturating_add(Weight::from_proof_size(14067))
|
||||
.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: 70_608 nanoseconds.
|
||||
Weight::from_ref_time(73_373_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `786`
|
||||
// Estimated: `12239`
|
||||
// Minimum execution time: 51_867 nanoseconds.
|
||||
Weight::from_ref_time(52_732_000)
|
||||
.saturating_add(Weight::from_proof_size(12239))
|
||||
.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: 57_032 nanoseconds.
|
||||
Weight::from_ref_time(58_617_000)
|
||||
// Standard Error: 12_611
|
||||
.saturating_add(Weight::from_ref_time(22_033_988).saturating_mul(k.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `191 + k * (221 ±0)`
|
||||
// Estimated: `196 + k * (221 ±0)`
|
||||
// Minimum execution time: 37_549 nanoseconds.
|
||||
Weight::from_ref_time(51_844_000)
|
||||
.saturating_add(Weight::from_proof_size(196))
|
||||
// Standard Error: 14_250
|
||||
.saturating_add(Weight::from_ref_time(20_982_895).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: 42_758 nanoseconds.
|
||||
Weight::from_ref_time(44_228_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `439`
|
||||
// Estimated: `5517`
|
||||
// Minimum execution time: 28_045 nanoseconds.
|
||||
Weight::from_ref_time(28_512_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: 29_859 nanoseconds.
|
||||
Weight::from_ref_time(30_613_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `267`
|
||||
// Estimated: `2742`
|
||||
// Minimum execution time: 16_551 nanoseconds.
|
||||
Weight::from_ref_time(17_236_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: 39_866 nanoseconds.
|
||||
Weight::from_ref_time(41_166_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `444`
|
||||
// Estimated: `5838`
|
||||
// Minimum execution time: 23_640 nanoseconds.
|
||||
Weight::from_ref_time(24_167_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: 30_953 nanoseconds.
|
||||
Weight::from_ref_time(31_855_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `271`
|
||||
// Estimated: `3512`
|
||||
// Minimum execution time: 16_066 nanoseconds.
|
||||
Weight::from_ref_time(16_485_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: 121_273 nanoseconds.
|
||||
Weight::from_ref_time(21_565_688)
|
||||
// Standard Error: 28_400
|
||||
.saturating_add(Weight::from_ref_time(47_751_285).saturating_mul(n.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `157 + n * (420 ±0)`
|
||||
// Estimated: `7142 + n * (14663 ±0)`
|
||||
// Minimum execution time: 101_731 nanoseconds.
|
||||
Weight::from_ref_time(102_235_000)
|
||||
.saturating_add(Weight::from_proof_size(7142))
|
||||
// Standard Error: 48_373
|
||||
.saturating_add(Weight::from_ref_time(44_236_114).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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,96 +45,169 @@ 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_167 nanoseconds.
|
||||
Weight::from_ref_time(34_454_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `70`
|
||||
// Estimated: `5655`
|
||||
// Minimum execution time: 23_044 nanoseconds.
|
||||
Weight::from_ref_time(23_564_000)
|
||||
.saturating_add(Weight::from_proof_size(5655))
|
||||
.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: 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: 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_419_378 nanoseconds.
|
||||
Weight::from_ref_time(7_455_813_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `302`
|
||||
// Estimated: `18063`
|
||||
// Minimum execution time: 7_575_920 nanoseconds.
|
||||
Weight::from_ref_time(7_702_605_000)
|
||||
.saturating_add(Weight::from_proof_size(18063))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(7))
|
||||
}
|
||||
// Storage: Registrar Paras (r:1 w:1)
|
||||
// Storage: Paras ParaLifecycles (r:1 w:1)
|
||||
// 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: 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_392_499 nanoseconds.
|
||||
Weight::from_ref_time(7_409_280_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `160`
|
||||
// Estimated: `16785`
|
||||
// Minimum execution time: 7_593_602 nanoseconds.
|
||||
Weight::from_ref_time(7_729_768_000)
|
||||
.saturating_add(Weight::from_proof_size(16785))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.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: 55_644 nanoseconds.
|
||||
Weight::from_ref_time(59_704_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `467`
|
||||
// Estimated: `13197`
|
||||
// Minimum execution time: 37_217 nanoseconds.
|
||||
Weight::from_ref_time(38_162_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: 50_279 nanoseconds.
|
||||
Weight::from_ref_time(52_213_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `707`
|
||||
// Estimated: `27719`
|
||||
// Minimum execution time: 43_960 nanoseconds.
|
||||
Weight::from_ref_time(47_759_000)
|
||||
.saturating_add(Weight::from_proof_size(27719))
|
||||
.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: 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: 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: 44_936 nanoseconds.
|
||||
Weight::from_ref_time(53_803_079)
|
||||
// Standard Error: 4
|
||||
.saturating_add(Weight::from_ref_time(2_674).saturating_mul(b.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `28`
|
||||
// Estimated: `16615`
|
||||
// Minimum execution time: 34_177 nanoseconds.
|
||||
Weight::from_ref_time(34_383_000)
|
||||
.saturating_add(Weight::from_proof_size(16615))
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_391).saturating_mul(b.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(9))
|
||||
.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_230 nanoseconds.
|
||||
Weight::from_ref_time(11_617_333)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 8_030 nanoseconds.
|
||||
Weight::from_ref_time(8_147_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(1_109).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_ref_time(970).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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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: 33_489 nanoseconds.
|
||||
Weight::from_ref_time(34_575_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `252`
|
||||
// Estimated: `5330`
|
||||
// Minimum execution time: 24_091 nanoseconds.
|
||||
Weight::from_ref_time(24_480_000)
|
||||
.saturating_add(Weight::from_proof_size(5330))
|
||||
.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: 633_723 nanoseconds.
|
||||
Weight::from_ref_time(651_294_000)
|
||||
// Standard Error: 88_803
|
||||
.saturating_add(Weight::from_ref_time(2_814_340).saturating_mul(c.into()))
|
||||
// Standard Error: 88_803
|
||||
.saturating_add(Weight::from_ref_time(15_441_192).saturating_mul(t.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `41 + c * (47 ±0) + t * (370 ±0)`
|
||||
// Estimated: `269050 + t * (7960 ±1) + c * (1073 ±0)`
|
||||
// Minimum execution time: 554_132 nanoseconds.
|
||||
Weight::from_ref_time(559_251_000)
|
||||
.saturating_add(Weight::from_proof_size(269050))
|
||||
// Standard Error: 74_532
|
||||
.saturating_add(Weight::from_ref_time(2_426_152).saturating_mul(c.into()))
|
||||
// Standard Error: 74_532
|
||||
.saturating_add(Weight::from_ref_time(13_006_248).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(7960).saturating_mul(t.into()))
|
||||
.saturating_add(Weight::from_proof_size(1073).saturating_mul(c.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: 115_727 nanoseconds.
|
||||
Weight::from_ref_time(118_892_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2980`
|
||||
// Estimated: `26279`
|
||||
// Minimum execution time: 89_195 nanoseconds.
|
||||
Weight::from_ref_time(90_117_000)
|
||||
.saturating_add(Weight::from_proof_size(26279))
|
||||
.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: 33_959 nanoseconds.
|
||||
Weight::from_ref_time(34_834_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `644`
|
||||
// Estimated: `13615`
|
||||
// Minimum execution time: 28_188 nanoseconds.
|
||||
Weight::from_ref_time(29_309_000)
|
||||
.saturating_add(Weight::from_proof_size(13615))
|
||||
.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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,53 +45,93 @@ 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 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 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: 12_659 nanoseconds.
|
||||
Weight::from_ref_time(13_272_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `90`
|
||||
// Estimated: `1755`
|
||||
// Minimum execution time: 8_375 nanoseconds.
|
||||
Weight::from_ref_time(8_718_000)
|
||||
.saturating_add(Weight::from_proof_size(1755))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
// 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 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: 12_626 nanoseconds.
|
||||
Weight::from_ref_time(13_182_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `90`
|
||||
// Estimated: `1755`
|
||||
// Minimum execution time: 8_306 nanoseconds.
|
||||
Weight::from_ref_time(8_611_000)
|
||||
.saturating_add(Weight::from_proof_size(1755))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
// 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 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: 12_317 nanoseconds.
|
||||
Weight::from_ref_time(13_130_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `90`
|
||||
// Estimated: `1755`
|
||||
// Minimum execution time: 8_147 nanoseconds.
|
||||
Weight::from_ref_time(8_458_000)
|
||||
.saturating_add(Weight::from_proof_size(1755))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Configuration PendingConfigs (r:1 w:1)
|
||||
// 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 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: 12_759 nanoseconds.
|
||||
Weight::from_ref_time(13_084_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `90`
|
||||
// Estimated: `1755`
|
||||
// Minimum execution time: 8_357 nanoseconds.
|
||||
Weight::from_ref_time(8_545_000)
|
||||
.saturating_add(Weight::from_proof_size(1755))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.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 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 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: 12_664 nanoseconds.
|
||||
Weight::from_ref_time(13_307_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `90`
|
||||
// Estimated: `1755`
|
||||
// Minimum execution time: 8_180 nanoseconds.
|
||||
Weight::from_ref_time(8_450_000)
|
||||
.saturating_add(Weight::from_proof_size(1755))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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: 3_977 nanoseconds.
|
||||
Weight::from_ref_time(4_134_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_324 nanoseconds.
|
||||
Weight::from_ref_time(2_458_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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,139 +45,235 @@ 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: 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: 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: 44_648 nanoseconds.
|
||||
Weight::from_ref_time(46_135_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `350`
|
||||
// Estimated: `23095`
|
||||
// Minimum execution time: 33_287 nanoseconds.
|
||||
Weight::from_ref_time(33_526_000)
|
||||
.saturating_add(Weight::from_proof_size(23095))
|
||||
.saturating_add(T::DbWeight::get().reads(9))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
// Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1)
|
||||
// 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: 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_801 nanoseconds.
|
||||
Weight::from_ref_time(44_817_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `614`
|
||||
// Estimated: `18534`
|
||||
// Minimum execution time: 36_813 nanoseconds.
|
||||
Weight::from_ref_time(37_132_000)
|
||||
.saturating_add(Weight::from_proof_size(18534))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.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: 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: 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: 40_524 nanoseconds.
|
||||
Weight::from_ref_time(41_687_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `485`
|
||||
// Estimated: `12820`
|
||||
// Minimum execution time: 29_604 nanoseconds.
|
||||
Weight::from_ref_time(29_972_000)
|
||||
.saturating_add(Weight::from_proof_size(12820))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.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_062_813 nanoseconds.
|
||||
Weight::from_ref_time(1_071_047_000)
|
||||
// Standard Error: 94_970
|
||||
.saturating_add(Weight::from_ref_time(3_183_704).saturating_mul(i.into()))
|
||||
// Standard Error: 94_970
|
||||
.saturating_add(Weight::from_ref_time(3_195_135).saturating_mul(e.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `254 + i * (131 ±0) + e * (131 ±0)`
|
||||
// Estimated: `6354 + i * (5742 ±0) + e * (5736 ±0)`
|
||||
// Minimum execution time: 1_004_274 nanoseconds.
|
||||
Weight::from_ref_time(1_007_891_000)
|
||||
.saturating_add(Weight::from_proof_size(6354))
|
||||
// Standard Error: 90_961
|
||||
.saturating_add(Weight::from_ref_time(2_973_407).saturating_mul(i.into()))
|
||||
// Standard Error: 90_961
|
||||
.saturating_add(Weight::from_ref_time(2_992_477).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: 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: 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_556 nanoseconds.
|
||||
Weight::from_ref_time(5_257_898)
|
||||
// Standard Error: 13_645
|
||||
.saturating_add(Weight::from_ref_time(19_000_331).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `466 + c * (166 ±0)`
|
||||
// Estimated: `4116 + c * (18661 ±0)`
|
||||
// Minimum execution time: 6_359 nanoseconds.
|
||||
Weight::from_ref_time(265_964)
|
||||
.saturating_add(Weight::from_proof_size(4116))
|
||||
// Standard Error: 20_756
|
||||
.saturating_add(Weight::from_ref_time(17_236_963).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.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(18661).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: 6_706 nanoseconds.
|
||||
Weight::from_ref_time(5_175_624)
|
||||
// Standard Error: 8_346
|
||||
.saturating_add(Weight::from_ref_time(11_645_579).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `307 + c * (155 ±0)`
|
||||
// Estimated: `2232 + c * (8361 ±0)`
|
||||
// Minimum execution time: 4_812 nanoseconds.
|
||||
Weight::from_ref_time(2_084_340)
|
||||
.saturating_add(Weight::from_proof_size(2232))
|
||||
// Standard Error: 12_805
|
||||
.saturating_add(Weight::from_ref_time(10_574_663).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_675 nanoseconds.
|
||||
Weight::from_ref_time(37_542_768)
|
||||
// Standard Error: 3_018
|
||||
.saturating_add(Weight::from_ref_time(170_426).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1022 + c * (13 ±0)`
|
||||
// Estimated: `7911 + c * (45 ±0)`
|
||||
// Minimum execution time: 19_258 nanoseconds.
|
||||
Weight::from_ref_time(23_538_330)
|
||||
.saturating_add(Weight::from_proof_size(7911))
|
||||
// Standard Error: 1_477
|
||||
.saturating_add(Weight::from_ref_time(80_226).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_144 nanoseconds.
|
||||
Weight::from_ref_time(1_711_686)
|
||||
// Standard Error: 4_348
|
||||
.saturating_add(Weight::from_ref_time(3_237_177).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `217 + c * (94 ±0)`
|
||||
// Estimated: `912 + c * (2664 ±0)`
|
||||
// Minimum execution time: 4_101 nanoseconds.
|
||||
Weight::from_ref_time(2_386_514)
|
||||
.saturating_add(Weight::from_proof_size(912))
|
||||
// Standard Error: 4_307
|
||||
.saturating_add(Weight::from_ref_time(2_885_334).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: 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: 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: 57_590 nanoseconds.
|
||||
Weight::from_ref_time(59_930_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `350`
|
||||
// Estimated: `33695`
|
||||
// Minimum execution time: 44_689 nanoseconds.
|
||||
Weight::from_ref_time(45_069_000)
|
||||
.saturating_add(Weight::from_proof_size(33695))
|
||||
.saturating_add(T::DbWeight::get().reads(13))
|
||||
.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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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_246 nanoseconds.
|
||||
Weight::from_ref_time(8_587_000)
|
||||
// Standard Error: 16
|
||||
.saturating_add(Weight::from_ref_time(2_247).saturating_mul(d.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `28 + d * (11 ±0)`
|
||||
// Estimated: `519 + d * (11 ±0)`
|
||||
// Minimum execution time: 3_384 nanoseconds.
|
||||
Weight::from_ref_time(5_455_420)
|
||||
.saturating_add(Weight::from_proof_size(519))
|
||||
// Standard Error: 4
|
||||
.saturating_add(Weight::from_ref_time(1_312).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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,136 +45,231 @@ 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: 37_698 nanoseconds.
|
||||
Weight::from_ref_time(92_541_581)
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(2_563).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `8341`
|
||||
// Estimated: `57966`
|
||||
// Minimum execution time: 30_828 nanoseconds.
|
||||
Weight::from_ref_time(31_137_000)
|
||||
.saturating_add(Weight::from_proof_size(57966))
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_371).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: 13_643 nanoseconds.
|
||||
Weight::from_ref_time(4_740_176)
|
||||
// Standard Error: 3
|
||||
.saturating_add(Weight::from_ref_time(1_132).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 7_421 nanoseconds.
|
||||
Weight::from_ref_time(7_577_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(969).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// 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: 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: 64_369 nanoseconds.
|
||||
Weight::from_ref_time(95_993_323)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `16526`
|
||||
// Estimated: `179120`
|
||||
// Minimum execution time: 55_598 nanoseconds.
|
||||
Weight::from_ref_time(55_905_000)
|
||||
.saturating_add(Weight::from_proof_size(179120))
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_612).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_ref_time(2_391).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(8))
|
||||
.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: 19_642 nanoseconds.
|
||||
Weight::from_ref_time(17_834_450)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(1_102).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `95`
|
||||
// Estimated: `2760`
|
||||
// Minimum execution time: 12_448 nanoseconds.
|
||||
Weight::from_ref_time(12_697_000)
|
||||
.saturating_add(Weight::from_proof_size(2760))
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(974).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: 24_947 nanoseconds.
|
||||
Weight::from_ref_time(25_902_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4283`
|
||||
// Estimated: `11536`
|
||||
// Minimum execution time: 17_737 nanoseconds.
|
||||
Weight::from_ref_time(18_266_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_173 nanoseconds.
|
||||
Weight::from_ref_time(20_019_172)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `28`
|
||||
// Estimated: `5006`
|
||||
// Minimum execution time: 6_820 nanoseconds.
|
||||
Weight::from_ref_time(6_967_000)
|
||||
.saturating_add(Weight::from_proof_size(5006))
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_606).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_ref_time(2_381).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_053 nanoseconds.
|
||||
Weight::from_ref_time(7_456_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `28`
|
||||
// Estimated: `2531`
|
||||
// Minimum execution time: 4_868 nanoseconds.
|
||||
Weight::from_ref_time(5_043_000)
|
||||
.saturating_add(Weight::from_proof_size(2531))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
|
||||
/// 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: 122_490 nanoseconds.
|
||||
Weight::from_ref_time(129_980_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `26709`
|
||||
// Estimated: `83592`
|
||||
// Minimum execution time: 87_032 nanoseconds.
|
||||
Weight::from_ref_time(89_300_000)
|
||||
.saturating_add(Weight::from_proof_size(83592))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// 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: 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: 789_304 nanoseconds.
|
||||
Weight::from_ref_time(797_651_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `27295`
|
||||
// Estimated: `196015`
|
||||
// Minimum execution time: 696_941 nanoseconds.
|
||||
Weight::from_ref_time(709_933_000)
|
||||
.saturating_add(Weight::from_proof_size(196015))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().writes(104))
|
||||
}
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
|
||||
/// 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: 120_013 nanoseconds.
|
||||
Weight::from_ref_time(126_801_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `27241`
|
||||
// Estimated: `85188`
|
||||
// Minimum execution time: 86_529 nanoseconds.
|
||||
Weight::from_ref_time(88_055_000)
|
||||
.saturating_add(Weight::from_proof_size(85188))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// 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: 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: 603_051 nanoseconds.
|
||||
Weight::from_ref_time(621_272_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `26763`
|
||||
// Estimated: `140250`
|
||||
// Minimum execution time: 562_148 nanoseconds.
|
||||
Weight::from_ref_time(570_083_000)
|
||||
.saturating_add(Weight::from_proof_size(140250))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Paras PvfActiveVoteMap (r:1 w:1)
|
||||
/// 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: 116_243 nanoseconds.
|
||||
Weight::from_ref_time(124_623_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `26709`
|
||||
// Estimated: `83592`
|
||||
// Minimum execution time: 86_054 nanoseconds.
|
||||
Weight::from_ref_time(87_327_000)
|
||||
.saturating_add(Weight::from_proof_size(83592))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,9 @@
|
||||
//! Autogenerated weights for `runtime_parachains::paras_inherent`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,157 +45,300 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `runtime_parachains::paras_inherent`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for WeightInfo<T> {
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Babe AuthorVrfRandomness (r:1 w:0)
|
||||
// Storage: ParaSessionInfo Sessions (r:1 w:0)
|
||||
// Storage: ParasDisputes Disputes (r:1 w:0)
|
||||
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
// Storage: ParasDisputes Frozen (r:1 w:0)
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
// Storage: Paras Parachains (r:1 w:0)
|
||||
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
// Storage: Session Validators (r:1 w:0)
|
||||
// Storage: Staking ActiveEra (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
// Storage: Hrmp HrmpChannelDigests (r:1 w:1)
|
||||
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
// Storage: ParaInherent OnChainVotes (r:1 w:1)
|
||||
// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
|
||||
// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
|
||||
// Storage: ParaScheduler Scheduled (r:1 w:1)
|
||||
// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
|
||||
// Storage: Ump NeedsDispatch (r:1 w:1)
|
||||
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
|
||||
// Storage: ParasDisputes Included (r:0 w:1)
|
||||
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
/// Storage: ParaInherent Included (r:1 w:1)
|
||||
/// Proof Skipped: ParaInherent Included (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: System ParentHash (r:1 w:0)
|
||||
/// Proof: System ParentHash (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
|
||||
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Babe AuthorVrfRandomness (r:1 w:0)
|
||||
/// Proof: Babe AuthorVrfRandomness (max_values: Some(1), max_size: Some(33), added: 528, mode: MaxEncodedLen)
|
||||
/// Storage: ParaSessionInfo Sessions (r:1 w:0)
|
||||
/// Proof Skipped: ParaSessionInfo Sessions (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes Disputes (r:1 w:1)
|
||||
/// Proof Skipped: ParasDisputes Disputes (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes BackersOnDisputes (r:1 w:1)
|
||||
/// Proof Skipped: ParasDisputes BackersOnDisputes (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler AvailabilityCores (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes Included (r:1 w:1)
|
||||
/// Proof Skipped: ParasDisputes Included (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
/// Proof Skipped: ParaSessionInfo AccountKeys (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Session Validators (r:1 w:0)
|
||||
/// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Staking ActiveEra (r:1 w:0)
|
||||
/// Proof: Staking ActiveEra (max_values: Some(1), max_size: Some(13), added: 508, mode: MaxEncodedLen)
|
||||
/// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
/// Proof Skipped: Staking ErasRewardPoints (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes Frozen (r:1 w:0)
|
||||
/// Proof Skipped: ParasDisputes Frozen (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
/// Proof Skipped: ParaInclusion PendingAvailability (max_values: None, 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: Paras Parachains (r:1 w:0)
|
||||
/// Proof Skipped: Paras Parachains (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
/// Proof Skipped: ParaInclusion PendingAvailabilityCommitments (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: Hrmp HrmpChannelDigests (r:1 w:1)
|
||||
/// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
/// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaInherent OnChainVotes (r:1 w:1)
|
||||
/// Proof Skipped: ParaInherent OnChainVotes (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
|
||||
/// Proof Skipped: ParaScheduler SessionStartBlock (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler ParathreadQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler Scheduled (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler Scheduled (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
|
||||
/// Proof Skipped: ParaScheduler ValidatorGroups (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// 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: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
/// Proof Skipped: Hrmp HrmpWatermarks (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 `v` is `[10, 200]`.
|
||||
fn enter_variable_disputes(v: u32, ) -> Weight {
|
||||
// Minimum execution time: 963_342 nanoseconds.
|
||||
Weight::from_ref_time(422_800_158)
|
||||
// Standard Error: 16_077
|
||||
.saturating_add(Weight::from_ref_time(56_668_445).saturating_mul(v.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(27))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `51031`
|
||||
// Estimated: `1464637 + v * (16 ±0)`
|
||||
// Minimum execution time: 777_373 nanoseconds.
|
||||
Weight::from_ref_time(307_777_453)
|
||||
.saturating_add(Weight::from_proof_size(1464637))
|
||||
// Standard Error: 24_778
|
||||
.saturating_add(Weight::from_ref_time(48_438_469).saturating_mul(v.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(28))
|
||||
.saturating_add(T::DbWeight::get().writes(16))
|
||||
.saturating_add(Weight::from_proof_size(16).saturating_mul(v.into()))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Babe AuthorVrfRandomness (r:1 w:0)
|
||||
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
// Storage: ParasDisputes Frozen (r:1 w:0)
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
// Storage: Paras Parachains (r:1 w:0)
|
||||
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
// Storage: Session Validators (r:1 w:0)
|
||||
// Storage: Staking ActiveEra (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
// Storage: Hrmp HrmpChannelDigests (r:1 w:1)
|
||||
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
// Storage: ParaInherent OnChainVotes (r:1 w:1)
|
||||
// Storage: ParasDisputes Disputes (r:1 w:0)
|
||||
// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
|
||||
// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
|
||||
// Storage: ParaScheduler Scheduled (r:1 w:1)
|
||||
// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
|
||||
// Storage: Ump NeedsDispatch (r:1 w:1)
|
||||
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
|
||||
// Storage: ParaInclusion AvailabilityBitfields (r:0 w:1)
|
||||
// Storage: ParasDisputes Included (r:0 w:1)
|
||||
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
/// Storage: ParaInherent Included (r:1 w:1)
|
||||
/// Proof Skipped: ParaInherent Included (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: System ParentHash (r:1 w:0)
|
||||
/// Proof: System ParentHash (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
|
||||
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Babe AuthorVrfRandomness (r:1 w:0)
|
||||
/// Proof: Babe AuthorVrfRandomness (max_values: Some(1), max_size: Some(33), added: 528, mode: MaxEncodedLen)
|
||||
/// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler AvailabilityCores (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes Frozen (r:1 w:0)
|
||||
/// Proof Skipped: ParasDisputes Frozen (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: Paras Parachains (r:1 w:0)
|
||||
/// Proof Skipped: Paras Parachains (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
/// Proof Skipped: ParaInclusion PendingAvailability (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
/// Proof Skipped: ParaInclusion PendingAvailabilityCommitments (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
/// Proof Skipped: ParaSessionInfo AccountKeys (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Session Validators (r:1 w:0)
|
||||
/// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Staking ActiveEra (r:1 w:0)
|
||||
/// Proof: Staking ActiveEra (max_values: Some(1), max_size: Some(13), added: 508, mode: MaxEncodedLen)
|
||||
/// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
/// Proof Skipped: Staking ErasRewardPoints (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: Hrmp HrmpChannelDigests (r:1 w:1)
|
||||
/// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
/// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaInherent OnChainVotes (r:1 w:1)
|
||||
/// Proof Skipped: ParaInherent OnChainVotes (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes Disputes (r:1 w:0)
|
||||
/// Proof Skipped: ParasDisputes Disputes (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
|
||||
/// Proof Skipped: ParaScheduler SessionStartBlock (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler ParathreadQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler Scheduled (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler Scheduled (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
|
||||
/// Proof Skipped: ParaScheduler ValidatorGroups (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// 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: ParaInclusion AvailabilityBitfields (r:0 w:1)
|
||||
/// Proof Skipped: ParaInclusion AvailabilityBitfields (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes Included (r:0 w:1)
|
||||
/// Proof Skipped: ParasDisputes Included (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
/// Proof Skipped: Hrmp HrmpWatermarks (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)
|
||||
fn enter_bitfields() -> Weight {
|
||||
// Minimum execution time: 450_975 nanoseconds.
|
||||
Weight::from_ref_time(469_943_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `42834`
|
||||
// Estimated: `1187286`
|
||||
// Minimum execution time: 341_171 nanoseconds.
|
||||
Weight::from_ref_time(351_334_000)
|
||||
.saturating_add(Weight::from_proof_size(1187286))
|
||||
.saturating_add(T::DbWeight::get().reads(26))
|
||||
.saturating_add(T::DbWeight::get().writes(17))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Babe AuthorVrfRandomness (r:1 w:0)
|
||||
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
// Storage: ParasDisputes Frozen (r:1 w:0)
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
// Storage: Paras Parachains (r:1 w:0)
|
||||
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
// Storage: Session Validators (r:1 w:0)
|
||||
// Storage: Staking ActiveEra (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
// Storage: Hrmp HrmpChannelDigests (r:1 w:1)
|
||||
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
// Storage: ParaInherent OnChainVotes (r:1 w:1)
|
||||
// Storage: ParasDisputes Disputes (r:2 w:0)
|
||||
// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
|
||||
// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
|
||||
// Storage: ParaScheduler Scheduled (r:1 w:1)
|
||||
// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
|
||||
// Storage: Paras CurrentCodeHash (r:1 w:0)
|
||||
// Storage: Ump RelayDispatchQueueSize (r:1 w:0)
|
||||
// Storage: Ump NeedsDispatch (r:1 w:1)
|
||||
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
|
||||
// Storage: ParasDisputes Included (r:0 w:1)
|
||||
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
/// Storage: ParaInherent Included (r:1 w:1)
|
||||
/// Proof Skipped: ParaInherent Included (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: System ParentHash (r:1 w:0)
|
||||
/// Proof: System ParentHash (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
|
||||
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Babe AuthorVrfRandomness (r:1 w:0)
|
||||
/// Proof: Babe AuthorVrfRandomness (max_values: Some(1), max_size: Some(33), added: 528, mode: MaxEncodedLen)
|
||||
/// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler AvailabilityCores (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes Frozen (r:1 w:0)
|
||||
/// Proof Skipped: ParasDisputes Frozen (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: Paras Parachains (r:1 w:0)
|
||||
/// Proof Skipped: Paras Parachains (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
/// Proof Skipped: ParaInclusion PendingAvailability (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
/// Proof Skipped: ParaInclusion PendingAvailabilityCommitments (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
/// Proof Skipped: ParaSessionInfo AccountKeys (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Session Validators (r:1 w:0)
|
||||
/// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Staking ActiveEra (r:1 w:0)
|
||||
/// Proof: Staking ActiveEra (max_values: Some(1), max_size: Some(13), added: 508, mode: MaxEncodedLen)
|
||||
/// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
/// Proof Skipped: Staking ErasRewardPoints (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: Hrmp HrmpChannelDigests (r:1 w:1)
|
||||
/// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
/// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaInherent OnChainVotes (r:1 w:1)
|
||||
/// Proof Skipped: ParaInherent OnChainVotes (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes Disputes (r:2 w:0)
|
||||
/// Proof Skipped: ParasDisputes Disputes (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
|
||||
/// Proof Skipped: ParaScheduler SessionStartBlock (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler ParathreadQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler Scheduled (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler Scheduled (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
|
||||
/// Proof Skipped: ParaScheduler ValidatorGroups (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: Ump RelayDispatchQueueSize (r:1 w:0)
|
||||
/// Proof Skipped: Ump RelayDispatchQueueSize (max_values: None, max_size: None, mode: Measured)
|
||||
/// 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: ParasDisputes Included (r:0 w:1)
|
||||
/// Proof Skipped: ParasDisputes Included (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
/// Proof Skipped: Hrmp HrmpWatermarks (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 `v` is `[101, 200]`.
|
||||
fn enter_backed_candidates_variable(v: u32, ) -> Weight {
|
||||
// Minimum execution time: 6_744_406 nanoseconds.
|
||||
Weight::from_ref_time(1_090_385_708)
|
||||
// Standard Error: 20_590
|
||||
.saturating_add(Weight::from_ref_time(56_359_319).saturating_mul(v.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `42865`
|
||||
// Estimated: `1238413`
|
||||
// Minimum execution time: 5_628_012 nanoseconds.
|
||||
Weight::from_ref_time(902_017_094)
|
||||
.saturating_add(Weight::from_proof_size(1238413))
|
||||
// Standard Error: 46_806
|
||||
.saturating_add(Weight::from_ref_time(47_804_829).saturating_mul(v.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(29))
|
||||
.saturating_add(T::DbWeight::get().writes(16))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Babe AuthorVrfRandomness (r:1 w:0)
|
||||
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
// Storage: ParasDisputes Frozen (r:1 w:0)
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
// Storage: Paras Parachains (r:1 w:0)
|
||||
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
// Storage: Session Validators (r:1 w:0)
|
||||
// Storage: Staking ActiveEra (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
// Storage: Hrmp HrmpChannelDigests (r:1 w:1)
|
||||
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
// Storage: ParaInherent OnChainVotes (r:1 w:1)
|
||||
// Storage: ParasDisputes Disputes (r:2 w:0)
|
||||
// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
|
||||
// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
|
||||
// Storage: ParaScheduler Scheduled (r:1 w:1)
|
||||
// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
|
||||
// Storage: Paras CurrentCodeHash (r:1 w:0)
|
||||
// Storage: Paras FutureCodeHash (r:1 w:0)
|
||||
// Storage: Paras UpgradeRestrictionSignal (r:1 w:0)
|
||||
// Storage: Ump RelayDispatchQueueSize (r:1 w:0)
|
||||
// Storage: Ump NeedsDispatch (r:1 w:1)
|
||||
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
|
||||
// Storage: ParasDisputes Included (r:0 w:1)
|
||||
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
/// Storage: ParaInherent Included (r:1 w:1)
|
||||
/// Proof Skipped: ParaInherent Included (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: System ParentHash (r:1 w:0)
|
||||
/// Proof: System ParentHash (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
|
||||
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
/// Proof Skipped: ParasShared CurrentSessionIndex (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Babe AuthorVrfRandomness (r:1 w:0)
|
||||
/// Proof: Babe AuthorVrfRandomness (max_values: Some(1), max_size: Some(33), added: 528, mode: MaxEncodedLen)
|
||||
/// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler AvailabilityCores (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes Frozen (r:1 w:0)
|
||||
/// Proof Skipped: ParasDisputes Frozen (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: Paras Parachains (r:1 w:0)
|
||||
/// Proof Skipped: Paras Parachains (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
/// Proof Skipped: ParaInclusion PendingAvailability (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
/// Proof Skipped: ParaInclusion PendingAvailabilityCommitments (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
/// Proof Skipped: ParaSessionInfo AccountKeys (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Session Validators (r:1 w:0)
|
||||
/// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Staking ActiveEra (r:1 w:0)
|
||||
/// Proof: Staking ActiveEra (max_values: Some(1), max_size: Some(13), added: 508, mode: MaxEncodedLen)
|
||||
/// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
/// Proof Skipped: Staking ErasRewardPoints (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: Hrmp HrmpChannelDigests (r:1 w:1)
|
||||
/// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
/// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaInherent OnChainVotes (r:1 w:1)
|
||||
/// Proof Skipped: ParaInherent OnChainVotes (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes Disputes (r:2 w:0)
|
||||
/// Proof Skipped: ParasDisputes Disputes (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
|
||||
/// Proof Skipped: ParaScheduler SessionStartBlock (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler ParathreadQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler Scheduled (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler Scheduled (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
|
||||
/// Proof Skipped: ParaScheduler ValidatorGroups (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 FutureCodeHash (r:1 w:0)
|
||||
/// Proof Skipped: Paras FutureCodeHash (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Paras UpgradeRestrictionSignal (r:1 w:0)
|
||||
/// Proof Skipped: Paras UpgradeRestrictionSignal (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Ump RelayDispatchQueueSize (r:1 w:0)
|
||||
/// Proof Skipped: Ump RelayDispatchQueueSize (max_values: None, max_size: None, mode: Measured)
|
||||
/// 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: ParasDisputes Included (r:0 w:1)
|
||||
/// Proof Skipped: ParasDisputes Included (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
/// Proof Skipped: Hrmp HrmpWatermarks (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)
|
||||
fn enter_backed_candidate_code_upgrade() -> Weight {
|
||||
// Minimum execution time: 46_519_107 nanoseconds.
|
||||
Weight::from_ref_time(46_970_255_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `42892`
|
||||
// Estimated: `1329903`
|
||||
// Minimum execution time: 38_896_184 nanoseconds.
|
||||
Weight::from_ref_time(39_158_275_000)
|
||||
.saturating_add(Weight::from_proof_size(1329903))
|
||||
.saturating_add(T::DbWeight::get().reads(31))
|
||||
.saturating_add(T::DbWeight::get().writes(16))
|
||||
}
|
||||
|
||||
@@ -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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-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_988 nanoseconds.
|
||||
Weight::from_ref_time(2_555_693)
|
||||
// Standard Error: 15
|
||||
.saturating_add(Weight::from_ref_time(2_393).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 5_801 nanoseconds.
|
||||
Weight::from_ref_time(5_856_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 8
|
||||
.saturating_add(Weight::from_ref_time(1_770).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: 9_226 nanoseconds.
|
||||
Weight::from_ref_time(9_749_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `272`
|
||||
// Estimated: `2078`
|
||||
// Minimum execution time: 8_932 nanoseconds.
|
||||
Weight::from_ref_time(9_110_000)
|
||||
.saturating_add(Weight::from_proof_size(2078))
|
||||
.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: 29_394 nanoseconds.
|
||||
Weight::from_ref_time(30_165_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `257`
|
||||
// Estimated: `3231`
|
||||
// Minimum execution time: 22_080 nanoseconds.
|
||||
Weight::from_ref_time(22_520_000)
|
||||
.saturating_add(Weight::from_proof_size(3231))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-24 (Y/M/D)
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! DATE: 2023-02-23 (Y/M/D)
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//!
|
||||
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development`
|
||||
//! WARMUPS: `10`, REPEAT: `100`
|
||||
@@ -42,17 +42,17 @@ parameter_types! {
|
||||
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
|
||||
///
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 9_854_902, 10_203_210
|
||||
/// Average: 9_957_528
|
||||
/// Median: 9_949_787
|
||||
/// Std-Dev: 70460.64
|
||||
/// Min, Max: 8_006_649, 8_375_190
|
||||
/// Average: 8_124_755
|
||||
/// Median: 8_120_369
|
||||
/// Std-Dev: 62360.45
|
||||
///
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 10_172_856
|
||||
/// 95th: 10_062_101
|
||||
/// 75th: 9_987_603
|
||||
/// 99th: 8_290_659
|
||||
/// 95th: 8_235_376
|
||||
/// 75th: 8_155_802
|
||||
pub const BlockExecutionWeight: Weight =
|
||||
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(9_957_528));
|
||||
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(8_124_755));
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-24 (Y/M/D)
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! DATE: 2023-02-23 (Y/M/D)
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//!
|
||||
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development`
|
||||
//! WARMUPS: `10`, REPEAT: `100`
|
||||
@@ -42,17 +42,17 @@ parameter_types! {
|
||||
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
|
||||
///
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 109_691, 110_998
|
||||
/// Average: 110_336
|
||||
/// Median: 110_316
|
||||
/// Std-Dev: 256.64
|
||||
/// Min, Max: 97_776, 99_516
|
||||
/// Average: 98_255
|
||||
/// Median: 98_189
|
||||
/// Std-Dev: 298.88
|
||||
///
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 110_961
|
||||
/// 95th: 110_751
|
||||
/// 75th: 110_522
|
||||
/// 99th: 99_472
|
||||
/// 95th: 98_754
|
||||
/// 75th: 98_351
|
||||
pub const ExtrinsicBaseWeight: Weight =
|
||||
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(110_336));
|
||||
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(98_255));
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
@@ -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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -46,54 +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: 113 nanoseconds.
|
||||
Weight::from_ref_time(144_272)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 111 nanoseconds.
|
||||
Weight::from_ref_time(146_902)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn subtraction(_i: u32, ) -> Weight {
|
||||
// Minimum execution time: 113 nanoseconds.
|
||||
Weight::from_ref_time(149_024)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 107 nanoseconds.
|
||||
Weight::from_ref_time(138_386)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn multiplication(_i: u32, ) -> Weight {
|
||||
// Minimum execution time: 113 nanoseconds.
|
||||
Weight::from_ref_time(149_977)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 106 nanoseconds.
|
||||
Weight::from_ref_time(137_438)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn division(_i: u32, ) -> Weight {
|
||||
// Minimum execution time: 111 nanoseconds.
|
||||
Weight::from_ref_time(143_401)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 104 nanoseconds.
|
||||
Weight::from_ref_time(136_458)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
/// The range of component `i` is `[0, 100]`.
|
||||
fn hashing(i: u32, ) -> Weight {
|
||||
// Minimum execution time: 24_005_194 nanoseconds.
|
||||
Weight::from_ref_time(24_049_452_700)
|
||||
// Standard Error: 88_954
|
||||
.saturating_add(Weight::from_ref_time(71_380).saturating_mul(i.into()))
|
||||
fn hashing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 20_318_442 nanoseconds.
|
||||
Weight::from_ref_time(20_562_948_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: 154 nanoseconds.
|
||||
Weight::from_ref_time(1_295_545)
|
||||
// Standard Error: 6_905
|
||||
.saturating_add(Weight::from_ref_time(55_595_381).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: 122 nanoseconds.
|
||||
Weight::from_ref_time(132_000)
|
||||
// Standard Error: 6_486
|
||||
.saturating_add(Weight::from_ref_time(2_458_058).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: 126 nanoseconds.
|
||||
Weight::from_ref_time(136_000)
|
||||
// Standard Error: 1_202
|
||||
.saturating_add(Weight::from_ref_time(388_630).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: 140 nanoseconds.
|
||||
Weight::from_ref_time(179_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 16_734
|
||||
.saturating_add(Weight::from_ref_time(47_228_463).saturating_mul(i.into()))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,9 @@
|
||||
//! Autogenerated weights for `frame_election_provider_support`
|
||||
//!
|
||||
//! 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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -48,22 +49,30 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
/// The range of component `d` is `[5, 16]`.
|
||||
fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight {
|
||||
// Minimum execution time: 5_627_198 nanoseconds.
|
||||
Weight::from_ref_time(5_686_803_000)
|
||||
// Standard Error: 137_788
|
||||
.saturating_add(Weight::from_ref_time(5_694_991).saturating_mul(v.into()))
|
||||
// Standard Error: 14_087_005
|
||||
.saturating_add(Weight::from_ref_time(1_499_313_180).saturating_mul(d.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 5_660_027 nanoseconds.
|
||||
Weight::from_ref_time(5_720_525_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 139_752
|
||||
.saturating_add(Weight::from_ref_time(5_709_285).saturating_mul(v.into()))
|
||||
// Standard Error: 14_287_763
|
||||
.saturating_add(Weight::from_ref_time(1_568_460_126).saturating_mul(d.into()))
|
||||
}
|
||||
/// The range of component `v` is `[1000, 2000]`.
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
/// The range of component `d` is `[5, 16]`.
|
||||
fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight {
|
||||
// Minimum execution time: 3_886_400 nanoseconds.
|
||||
Weight::from_ref_time(3_947_165_000)
|
||||
// Standard Error: 122_734
|
||||
.saturating_add(Weight::from_ref_time(4_643_100).saturating_mul(v.into()))
|
||||
// Standard Error: 12_547_948
|
||||
.saturating_add(Weight::from_ref_time(1_435_136_176).saturating_mul(d.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 4_385_527 nanoseconds.
|
||||
Weight::from_ref_time(4_426_903_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 147_786
|
||||
.saturating_add(Weight::from_ref_time(5_547_872).saturating_mul(v.into()))
|
||||
// Standard Error: 15_109_138
|
||||
.saturating_add(Weight::from_ref_time(1_786_783_254).saturating_mul(d.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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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_234 nanoseconds.
|
||||
Weight::from_ref_time(1_691_898)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 1_744 nanoseconds.
|
||||
Weight::from_ref_time(1_772_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(539).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_ref_time(369).saturating_mul(b.into()))
|
||||
}
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark_with_event(b: u32, ) -> Weight {
|
||||
// Minimum execution time: 13_035 nanoseconds.
|
||||
Weight::from_ref_time(154_395_333)
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(1_964).saturating_mul(b.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_529 nanoseconds.
|
||||
Weight::from_ref_time(6_651_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_728).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_199 nanoseconds.
|
||||
Weight::from_ref_time(8_494_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `495`
|
||||
// Minimum execution time: 3_725 nanoseconds.
|
||||
Weight::from_ref_time(3_841_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_460 nanoseconds.
|
||||
Weight::from_ref_time(3_563_000)
|
||||
// Standard Error: 2_239
|
||||
.saturating_add(Weight::from_ref_time(683_724).saturating_mul(i.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 1_793 nanoseconds.
|
||||
Weight::from_ref_time(1_835_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 1_985
|
||||
.saturating_add(Weight::from_ref_time(581_345).saturating_mul(i.into()))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
|
||||
}
|
||||
// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// Storage: Skipped Metadata (r:0 w:0)
|
||||
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
|
||||
/// The range of component `i` is `[0, 1000]`.
|
||||
fn kill_storage(i: u32, ) -> Weight {
|
||||
// Minimum execution time: 3_560 nanoseconds.
|
||||
Weight::from_ref_time(3_670_000)
|
||||
// Standard Error: 996
|
||||
.saturating_add(Weight::from_ref_time(511_114).saturating_mul(i.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 1_865 nanoseconds.
|
||||
Weight::from_ref_time(1_912_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 992
|
||||
.saturating_add(Weight::from_ref_time(443_467).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_250 nanoseconds.
|
||||
Weight::from_ref_time(5_367_000)
|
||||
// Standard Error: 1_480
|
||||
.saturating_add(Weight::from_ref_time(1_164_759).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `131 + p * (69 ±0)`
|
||||
// Estimated: `117 + p * (70 ±0)`
|
||||
// Minimum execution time: 3_570 nanoseconds.
|
||||
Weight::from_ref_time(3_679_000)
|
||||
.saturating_add(Weight::from_proof_size(117))
|
||||
// Standard Error: 1_118
|
||||
.saturating_add(Weight::from_ref_time(992_588).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_bags_list`
|
||||
//!
|
||||
//! 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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,34 +45,59 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_bags_list`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: VoterList ListNodes (r:4 w:4)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
/// Storage: Staking Bonded (r:1 w:0)
|
||||
/// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Ledger (r:1 w:0)
|
||||
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
|
||||
/// Storage: VoterList ListNodes (r:4 w:4)
|
||||
/// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
|
||||
/// Storage: VoterList ListBags (r:1 w:1)
|
||||
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
|
||||
fn rebag_non_terminal() -> Weight {
|
||||
// Minimum execution time: 64_362 nanoseconds.
|
||||
Weight::from_ref_time(66_830_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1814`
|
||||
// Estimated: `19186`
|
||||
// Minimum execution time: 56_708 nanoseconds.
|
||||
Weight::from_ref_time(57_562_000)
|
||||
.saturating_add(Weight::from_proof_size(19186))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: VoterList ListNodes (r:3 w:3)
|
||||
// Storage: VoterList ListBags (r:2 w:2)
|
||||
/// Storage: Staking Bonded (r:1 w:0)
|
||||
/// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Ledger (r:1 w:0)
|
||||
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
|
||||
/// Storage: VoterList ListNodes (r:3 w:3)
|
||||
/// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
|
||||
/// Storage: VoterList ListBags (r:2 w:2)
|
||||
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
|
||||
fn rebag_terminal() -> Weight {
|
||||
// Minimum execution time: 62_658 nanoseconds.
|
||||
Weight::from_ref_time(64_567_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1708`
|
||||
// Estimated: `19114`
|
||||
// Minimum execution time: 55_031 nanoseconds.
|
||||
Weight::from_ref_time(55_723_000)
|
||||
.saturating_add(Weight::from_proof_size(19114))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
// Storage: VoterList ListNodes (r:4 w:4)
|
||||
// Storage: Staking Bonded (r:2 w:0)
|
||||
// Storage: Staking Ledger (r:2 w:0)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
/// Storage: VoterList ListNodes (r:4 w:4)
|
||||
/// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Bonded (r:2 w:0)
|
||||
/// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Ledger (r:2 w:0)
|
||||
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
|
||||
/// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
/// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: VoterList ListBags (r:1 w:1)
|
||||
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
|
||||
fn put_in_front_of() -> Weight {
|
||||
// Minimum execution time: 63_382 nanoseconds.
|
||||
Weight::from_ref_time(64_950_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2051`
|
||||
// Estimated: `25798`
|
||||
// Minimum execution time: 61_048 nanoseconds.
|
||||
Weight::from_ref_time(61_795_000)
|
||||
.saturating_add(Weight::from_proof_size(25798))
|
||||
.saturating_add(T::DbWeight::get().reads(10))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
}
|
||||
|
||||
@@ -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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,52 +45,87 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_balances`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn transfer() -> Weight {
|
||||
// Minimum execution time: 44_823 nanoseconds.
|
||||
Weight::from_ref_time(46_097_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1819`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 46_645 nanoseconds.
|
||||
Weight::from_ref_time(47_161_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn transfer_keep_alive() -> Weight {
|
||||
// Minimum execution time: 33_212 nanoseconds.
|
||||
Weight::from_ref_time(34_472_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1636`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 35_213 nanoseconds.
|
||||
Weight::from_ref_time(35_826_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn set_balance_creating() -> Weight {
|
||||
// Minimum execution time: 23_897 nanoseconds.
|
||||
Weight::from_ref_time(24_339_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1853`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 26_732 nanoseconds.
|
||||
Weight::from_ref_time(27_166_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn set_balance_killing() -> Weight {
|
||||
// Minimum execution time: 26_641 nanoseconds.
|
||||
Weight::from_ref_time(27_359_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1853`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 29_677 nanoseconds.
|
||||
Weight::from_ref_time(30_381_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: System Account (r:2 w:2)
|
||||
/// Storage: System Account (r:2 w:2)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn force_transfer() -> Weight {
|
||||
// Minimum execution time: 44_413 nanoseconds.
|
||||
Weight::from_ref_time(46_289_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1815`
|
||||
// Estimated: `5206`
|
||||
// Minimum execution time: 45_839 nanoseconds.
|
||||
Weight::from_ref_time(46_327_000)
|
||||
.saturating_add(Weight::from_proof_size(5206))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn transfer_all() -> Weight {
|
||||
// Minimum execution time: 39_045 nanoseconds.
|
||||
Weight::from_ref_time(40_123_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1636`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 40_252 nanoseconds.
|
||||
Weight::from_ref_time(41_007_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn force_unreserve() -> Weight {
|
||||
// Minimum execution time: 20_564 nanoseconds.
|
||||
Weight::from_ref_time(21_085_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1670`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 23_159 nanoseconds.
|
||||
Weight::from_ref_time(23_459_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
.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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,107 +45,181 @@ 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: 30_261 nanoseconds.
|
||||
Weight::from_ref_time(31_396_439)
|
||||
// Standard Error: 11
|
||||
.saturating_add(Weight::from_ref_time(914).saturating_mul(d.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `175`
|
||||
// Estimated: `3102`
|
||||
// Minimum execution time: 22_871 nanoseconds.
|
||||
Weight::from_ref_time(27_436_557)
|
||||
.saturating_add(Weight::from_proof_size(3102))
|
||||
// Standard Error: 27
|
||||
.saturating_add(Weight::from_ref_time(428).saturating_mul(d.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
/// Storage: Bounties Bounties (r:1 w:1)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
/// Proof: Bounties BountyApprovals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
|
||||
fn approve_bounty() -> Weight {
|
||||
// Minimum execution time: 11_189 nanoseconds.
|
||||
Weight::from_ref_time(11_654_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `267`
|
||||
// Estimated: `3549`
|
||||
// Minimum execution time: 11_276 nanoseconds.
|
||||
Weight::from_ref_time(11_470_000)
|
||||
.saturating_add(Weight::from_proof_size(3549))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
/// Storage: Bounties Bounties (r:1 w:1)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
fn propose_curator() -> Weight {
|
||||
// Minimum execution time: 10_381 nanoseconds.
|
||||
Weight::from_ref_time(10_757_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `287`
|
||||
// Estimated: `2652`
|
||||
// Minimum execution time: 10_019 nanoseconds.
|
||||
Weight::from_ref_time(10_269_000)
|
||||
.saturating_add(Weight::from_proof_size(2652))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: Bounties Bounties (r:1 w:1)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn unassign_curator() -> Weight {
|
||||
// Minimum execution time: 41_290 nanoseconds.
|
||||
Weight::from_ref_time(43_800_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `495`
|
||||
// Estimated: `5255`
|
||||
// Minimum execution time: 31_565 nanoseconds.
|
||||
Weight::from_ref_time(32_618_000)
|
||||
.saturating_add(Weight::from_proof_size(5255))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: Bounties Bounties (r:1 w:1)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn accept_curator() -> Weight {
|
||||
// Minimum execution time: 28_936 nanoseconds.
|
||||
Weight::from_ref_time(30_585_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `491`
|
||||
// Estimated: `5255`
|
||||
// Minimum execution time: 22_292 nanoseconds.
|
||||
Weight::from_ref_time(22_508_000)
|
||||
.saturating_add(Weight::from_proof_size(5255))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
|
||||
/// 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)
|
||||
fn award_bounty() -> Weight {
|
||||
// Minimum execution time: 24_213 nanoseconds.
|
||||
Weight::from_ref_time(25_564_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `437`
|
||||
// Estimated: `5143`
|
||||
// Minimum execution time: 18_378 nanoseconds.
|
||||
Weight::from_ref_time(18_750_000)
|
||||
.saturating_add(Weight::from_proof_size(5143))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: System Account (r:3 w:3)
|
||||
// Storage: ChildBounties ChildrenCuratorFees (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: System Account (r:3 w:3)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
|
||||
/// Storage: Bounties BountyDescriptions (r:0 w:1)
|
||||
/// Proof: Bounties BountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
|
||||
fn claim_bounty() -> Weight {
|
||||
// Minimum execution time: 75_375 nanoseconds.
|
||||
Weight::from_ref_time(77_781_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `865`
|
||||
// Estimated: `12964`
|
||||
// Minimum execution time: 65_107 nanoseconds.
|
||||
Weight::from_ref_time(65_915_000)
|
||||
.saturating_add(Weight::from_proof_size(12964))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
}
|
||||
// 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: 46_577 nanoseconds.
|
||||
Weight::from_ref_time(47_864_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `513`
|
||||
// Estimated: `7746`
|
||||
// Minimum execution time: 36_233 nanoseconds.
|
||||
Weight::from_ref_time(36_525_000)
|
||||
.saturating_add(Weight::from_proof_size(7746))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:0)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// 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:2 w:2)
|
||||
/// 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_active() -> Weight {
|
||||
// Minimum execution time: 56_694 nanoseconds.
|
||||
Weight::from_ref_time(58_720_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `781`
|
||||
// Estimated: `10349`
|
||||
// Minimum execution time: 46_136 nanoseconds.
|
||||
Weight::from_ref_time(46_626_000)
|
||||
.saturating_add(Weight::from_proof_size(10349))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:1)
|
||||
/// Storage: Bounties Bounties (r:1 w:1)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
fn extend_bounty_expiry() -> Weight {
|
||||
// Minimum execution time: 21_448 nanoseconds.
|
||||
Weight::from_ref_time(21_871_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `323`
|
||||
// Estimated: `2652`
|
||||
// Minimum execution time: 15_064 nanoseconds.
|
||||
Weight::from_ref_time(15_577_000)
|
||||
.saturating_add(Weight::from_proof_size(2652))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
// Storage: Bounties Bounties (r:2 w:2)
|
||||
// Storage: System Account (r:4 w:4)
|
||||
/// Storage: Bounties BountyApprovals (r:1 w:1)
|
||||
/// Proof: Bounties BountyApprovals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
|
||||
/// Storage: Bounties Bounties (r:100 w:100)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:200 w:200)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// The range of component `b` is `[0, 100]`.
|
||||
fn spend_funds(b: u32, ) -> Weight {
|
||||
// Minimum execution time: 7_240 nanoseconds.
|
||||
Weight::from_ref_time(11_854_294)
|
||||
// Standard Error: 14_092
|
||||
.saturating_add(Weight::from_ref_time(31_478_261).saturating_mul(b.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0 + b * (360 ±0)`
|
||||
// Estimated: `897 + b * (7858 ±0)`
|
||||
// Minimum execution time: 4_860 nanoseconds.
|
||||
Weight::from_ref_time(4_950_000)
|
||||
.saturating_add(Weight::from_proof_size(897))
|
||||
// Standard Error: 13_616
|
||||
.saturating_add(Weight::from_ref_time(28_265_664).saturating_mul(b.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))
|
||||
.saturating_add(Weight::from_proof_size(7858).saturating_mul(b.into()))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,87 +45,152 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_child_bounties`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T> {
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: ChildBounties ChildBountyCount (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
// Storage: ChildBounties ChildBounties (r:0 w:1)
|
||||
/// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
|
||||
/// Storage: Bounties Bounties (r:1 w:0)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:2 w:2)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBountyCount (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildBountyCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBounties (r:0 w:1)
|
||||
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
|
||||
/// The range of component `d` is `[0, 16384]`.
|
||||
fn add_child_bounty(d: u32, ) -> Weight {
|
||||
// Minimum execution time: 55_313 nanoseconds.
|
||||
Weight::from_ref_time(57_124_143)
|
||||
// Standard Error: 8
|
||||
.saturating_add(Weight::from_ref_time(959).saturating_mul(d.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `609`
|
||||
// Estimated: `10848`
|
||||
// Minimum execution time: 46_573 nanoseconds.
|
||||
Weight::from_ref_time(47_710_036)
|
||||
.saturating_add(Weight::from_proof_size(10848))
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(725).saturating_mul(d.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
/// Storage: Bounties Bounties (r:1 w:0)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
|
||||
fn propose_curator() -> Weight {
|
||||
// Minimum execution time: 18_678 nanoseconds.
|
||||
Weight::from_ref_time(19_251_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `663`
|
||||
// Estimated: `7775`
|
||||
// Minimum execution time: 17_341 nanoseconds.
|
||||
Weight::from_ref_time(17_661_000)
|
||||
.saturating_add(Weight::from_proof_size(7775))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: Bounties Bounties (r:1 w:0)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn accept_curator() -> Weight {
|
||||
// Minimum execution time: 34_753 nanoseconds.
|
||||
Weight::from_ref_time(36_004_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `841`
|
||||
// Estimated: `7875`
|
||||
// Minimum execution time: 27_063 nanoseconds.
|
||||
Weight::from_ref_time(27_498_000)
|
||||
.saturating_add(Weight::from_proof_size(7875))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
|
||||
/// Storage: Bounties Bounties (r:1 w:0)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn unassign_curator() -> Weight {
|
||||
// Minimum execution time: 48_476 nanoseconds.
|
||||
Weight::from_ref_time(50_607_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `841`
|
||||
// Estimated: `7875`
|
||||
// Minimum execution time: 36_789 nanoseconds.
|
||||
Weight::from_ref_time(37_469_000)
|
||||
.saturating_add(Weight::from_proof_size(7875))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
/// Storage: Bounties Bounties (r:1 w:0)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
|
||||
fn award_child_bounty() -> Weight {
|
||||
// Minimum execution time: 28_468 nanoseconds.
|
||||
Weight::from_ref_time(29_189_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `706`
|
||||
// Estimated: `5272`
|
||||
// Minimum execution time: 20_652 nanoseconds.
|
||||
Weight::from_ref_time(21_136_000)
|
||||
.saturating_add(Weight::from_proof_size(5272))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: System Account (r:3 w:3)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
/// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:3 w:3)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
|
||||
fn claim_child_bounty() -> Weight {
|
||||
// Minimum execution time: 75_994 nanoseconds.
|
||||
Weight::from_ref_time(77_808_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `744`
|
||||
// Estimated: `12920`
|
||||
// Minimum execution time: 63_360 nanoseconds.
|
||||
Weight::from_ref_time(63_883_000)
|
||||
.saturating_add(Weight::from_proof_size(12920))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
/// Storage: Bounties Bounties (r:1 w:0)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:2 w:2)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
|
||||
fn close_child_bounty_added() -> Weight {
|
||||
// Minimum execution time: 55_094 nanoseconds.
|
||||
Weight::from_ref_time(57_168_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `973`
|
||||
// Estimated: `15472`
|
||||
// Minimum execution time: 49_408 nanoseconds.
|
||||
Weight::from_ref_time(50_703_000)
|
||||
.saturating_add(Weight::from_proof_size(15472))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
}
|
||||
// Storage: Bounties Bounties (r:1 w:0)
|
||||
// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
// Storage: System Account (r:3 w:3)
|
||||
// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
/// Storage: Bounties Bounties (r:1 w:0)
|
||||
/// Proof: Bounties Bounties (max_values: None, max_size: Some(177), added: 2652, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildBounties (max_values: None, max_size: Some(145), added: 2620, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:3 w:3)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildrenCuratorFees (r:1 w:1)
|
||||
/// Proof: ChildBounties ChildrenCuratorFees (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ParentChildBounties (r:1 w:1)
|
||||
/// Proof: ChildBounties ParentChildBounties (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
|
||||
/// Storage: ChildBounties ChildBountyDescriptions (r:0 w:1)
|
||||
/// Proof: ChildBounties ChildBountyDescriptions (max_values: None, max_size: Some(16400), added: 18875, mode: MaxEncodedLen)
|
||||
fn close_child_bounty_active() -> Weight {
|
||||
// Minimum execution time: 66_606 nanoseconds.
|
||||
Weight::from_ref_time(68_654_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1192`
|
||||
// Estimated: `18075`
|
||||
// Minimum execution time: 60_334 nanoseconds.
|
||||
Weight::from_ref_time(62_054_000)
|
||||
.saturating_add(Weight::from_proof_size(18075))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(7))
|
||||
}
|
||||
|
||||
@@ -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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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: 16_452 nanoseconds.
|
||||
Weight::from_ref_time(16_963_000)
|
||||
// Standard Error: 39_111
|
||||
.saturating_add(Weight::from_ref_time(4_315_513).saturating_mul(m.into()))
|
||||
// Standard Error: 39_111
|
||||
.saturating_add(Weight::from_ref_time(7_271_296).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0 + m * (3233 ±0) + p * (3223 ±0)`
|
||||
// Estimated: `16054 + m * (7809 ±16) + p * (10238 ±16)`
|
||||
// Minimum execution time: 16_977 nanoseconds.
|
||||
Weight::from_ref_time(17_264_000)
|
||||
.saturating_add(Weight::from_proof_size(16054))
|
||||
// Standard Error: 47_984
|
||||
.saturating_add(Weight::from_ref_time(5_491_508).saturating_mul(m.into()))
|
||||
// Standard Error: 47_984
|
||||
.saturating_add(Weight::from_ref_time(7_895_249).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: 20_389 nanoseconds.
|
||||
Weight::from_ref_time(19_950_479)
|
||||
// Standard Error: 28
|
||||
.saturating_add(Weight::from_ref_time(1_937).saturating_mul(b.into()))
|
||||
// Standard Error: 293
|
||||
.saturating_add(Weight::from_ref_time(13_967).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `101 + m * (32 ±0)`
|
||||
// Estimated: `597 + m * (32 ±0)`
|
||||
// Minimum execution time: 15_072 nanoseconds.
|
||||
Weight::from_ref_time(14_211_059)
|
||||
.saturating_add(Weight::from_proof_size(597))
|
||||
// Standard Error: 23
|
||||
.saturating_add(Weight::from_ref_time(1_603).saturating_mul(b.into()))
|
||||
// Standard Error: 242
|
||||
.saturating_add(Weight::from_ref_time(17_712).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: 22_990 nanoseconds.
|
||||
Weight::from_ref_time(21_952_005)
|
||||
// Standard Error: 25
|
||||
.saturating_add(Weight::from_ref_time(1_925).saturating_mul(b.into()))
|
||||
// Standard Error: 264
|
||||
.saturating_add(Weight::from_ref_time(20_800).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `101 + m * (32 ±0)`
|
||||
// Estimated: `3174 + m * (64 ±0)`
|
||||
// Minimum execution time: 17_130 nanoseconds.
|
||||
Weight::from_ref_time(16_211_186)
|
||||
.saturating_add(Weight::from_proof_size(3174))
|
||||
// Standard Error: 30
|
||||
.saturating_add(Weight::from_ref_time(1_785).saturating_mul(b.into()))
|
||||
// Standard Error: 318
|
||||
.saturating_add(Weight::from_ref_time(25_434).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: 28_776 nanoseconds.
|
||||
Weight::from_ref_time(26_841_702)
|
||||
// Standard Error: 97
|
||||
.saturating_add(Weight::from_ref_time(4_471).saturating_mul(b.into()))
|
||||
// Standard Error: 1_016
|
||||
.saturating_add(Weight::from_ref_time(33_192).saturating_mul(m.into()))
|
||||
// Standard Error: 1_003
|
||||
.saturating_add(Weight::from_ref_time(195_581).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `423 + m * (32 ±0) + p * (36 ±0)`
|
||||
// Estimated: `5690 + m * (165 ±0) + p * (180 ±0)`
|
||||
// Minimum execution time: 22_253 nanoseconds.
|
||||
Weight::from_ref_time(23_501_095)
|
||||
.saturating_add(Weight::from_proof_size(5690))
|
||||
// Standard Error: 51
|
||||
.saturating_add(Weight::from_ref_time(2_472).saturating_mul(b.into()))
|
||||
// Standard Error: 541
|
||||
.saturating_add(Weight::from_ref_time(18_687).saturating_mul(m.into()))
|
||||
// Standard Error: 534
|
||||
.saturating_add(Weight::from_ref_time(93_359).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_690 nanoseconds.
|
||||
Weight::from_ref_time(36_830_139)
|
||||
// Standard Error: 818
|
||||
.saturating_add(Weight::from_ref_time(48_710).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `873 + m * (64 ±0)`
|
||||
// Estimated: `4714 + m * (128 ±0)`
|
||||
// Minimum execution time: 20_932 nanoseconds.
|
||||
Weight::from_ref_time(21_526_308)
|
||||
.saturating_add(Weight::from_proof_size(4714))
|
||||
// Standard Error: 221
|
||||
.saturating_add(Weight::from_ref_time(40_562).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: 30_919 nanoseconds.
|
||||
Weight::from_ref_time(33_034_269)
|
||||
// Standard Error: 921
|
||||
.saturating_add(Weight::from_ref_time(30_501).saturating_mul(m.into()))
|
||||
// Standard Error: 898
|
||||
.saturating_add(Weight::from_ref_time(179_826).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `493 + m * (64 ±0) + p * (36 ±0)`
|
||||
// Estimated: `5361 + m * (260 ±0) + p * (144 ±0)`
|
||||
// Minimum execution time: 25_034 nanoseconds.
|
||||
Weight::from_ref_time(26_214_468)
|
||||
.saturating_add(Weight::from_proof_size(5361))
|
||||
// Standard Error: 408
|
||||
.saturating_add(Weight::from_ref_time(20_710).saturating_mul(m.into()))
|
||||
// Standard Error: 398
|
||||
.saturating_add(Weight::from_ref_time(86_893).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: 41_917 nanoseconds.
|
||||
Weight::from_ref_time(41_266_391)
|
||||
// Standard Error: 98
|
||||
.saturating_add(Weight::from_ref_time(3_540).saturating_mul(b.into()))
|
||||
// Standard Error: 1_039
|
||||
.saturating_add(Weight::from_ref_time(31_567).saturating_mul(m.into()))
|
||||
// Standard Error: 1_013
|
||||
.saturating_add(Weight::from_ref_time(215_684).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `829 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
|
||||
// Estimated: `8632 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)`
|
||||
// Minimum execution time: 34_338 nanoseconds.
|
||||
Weight::from_ref_time(37_215_148)
|
||||
.saturating_add(Weight::from_proof_size(8632))
|
||||
// Standard Error: 124
|
||||
.saturating_add(Weight::from_ref_time(2_091).saturating_mul(b.into()))
|
||||
// Standard Error: 1_277
|
||||
.saturating_add(Weight::from_ref_time(121_586).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_279 nanoseconds.
|
||||
Weight::from_ref_time(34_323_279)
|
||||
// Standard Error: 851
|
||||
.saturating_add(Weight::from_ref_time(44_043).saturating_mul(m.into()))
|
||||
// Standard Error: 829
|
||||
.saturating_add(Weight::from_ref_time(188_865).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `513 + m * (64 ±0) + p * (36 ±0)`
|
||||
// Estimated: `6430 + m * (325 ±0) + p * (180 ±0)`
|
||||
// Minimum execution time: 27_556 nanoseconds.
|
||||
Weight::from_ref_time(28_644_244)
|
||||
.saturating_add(Weight::from_proof_size(6430))
|
||||
// Standard Error: 439
|
||||
.saturating_add(Weight::from_ref_time(25_115).saturating_mul(m.into()))
|
||||
// Standard Error: 428
|
||||
.saturating_add(Weight::from_ref_time(86_845).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: 44_239 nanoseconds.
|
||||
Weight::from_ref_time(44_762_393)
|
||||
// Standard Error: 104
|
||||
.saturating_add(Weight::from_ref_time(3_122).saturating_mul(b.into()))
|
||||
// Standard Error: 1_109
|
||||
.saturating_add(Weight::from_ref_time(28_580).saturating_mul(m.into()))
|
||||
// Standard Error: 1_081
|
||||
.saturating_add(Weight::from_ref_time(213_868).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `849 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
|
||||
// Estimated: `9900 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)`
|
||||
// Minimum execution time: 37_125 nanoseconds.
|
||||
Weight::from_ref_time(38_591_779)
|
||||
.saturating_add(Weight::from_proof_size(9900))
|
||||
// Standard Error: 83
|
||||
.saturating_add(Weight::from_ref_time(2_325).saturating_mul(b.into()))
|
||||
// Standard Error: 886
|
||||
.saturating_add(Weight::from_ref_time(22_146).saturating_mul(m.into()))
|
||||
// Standard Error: 864
|
||||
.saturating_add(Weight::from_ref_time(118_663).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: 19_753 nanoseconds.
|
||||
Weight::from_ref_time(22_424_569)
|
||||
// Standard Error: 1_113
|
||||
.saturating_add(Weight::from_ref_time(177_131).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `258 + p * (32 ±0)`
|
||||
// Estimated: `1269 + p * (96 ±0)`
|
||||
// Minimum execution time: 14_192 nanoseconds.
|
||||
Weight::from_ref_time(16_135_343)
|
||||
.saturating_add(Weight::from_proof_size(1269))
|
||||
// Standard Error: 439
|
||||
.saturating_add(Weight::from_ref_time(82_641).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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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: 17_320 nanoseconds.
|
||||
Weight::from_ref_time(17_540_000)
|
||||
// Standard Error: 39_330
|
||||
.saturating_add(Weight::from_ref_time(4_304_829).saturating_mul(m.into()))
|
||||
// Standard Error: 39_330
|
||||
.saturating_add(Weight::from_ref_time(7_335_854).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0 + m * (3233 ±0) + p * (3223 ±0)`
|
||||
// Estimated: `16342 + m * (7809 ±17) + p * (10238 ±17)`
|
||||
// Minimum execution time: 17_676 nanoseconds.
|
||||
Weight::from_ref_time(17_858_000)
|
||||
.saturating_add(Weight::from_proof_size(16342))
|
||||
// Standard Error: 47_058
|
||||
.saturating_add(Weight::from_ref_time(5_352_886).saturating_mul(m.into()))
|
||||
// Standard Error: 47_058
|
||||
.saturating_add(Weight::from_ref_time(7_869_114).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_094 nanoseconds.
|
||||
Weight::from_ref_time(20_403_658)
|
||||
// Standard Error: 17
|
||||
.saturating_add(Weight::from_ref_time(2_001).saturating_mul(b.into()))
|
||||
// Standard Error: 182
|
||||
.saturating_add(Weight::from_ref_time(13_039).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `173 + m * (32 ±0)`
|
||||
// Estimated: `669 + m * (32 ±0)`
|
||||
// Minimum execution time: 15_574 nanoseconds.
|
||||
Weight::from_ref_time(14_728_666)
|
||||
.saturating_add(Weight::from_proof_size(669))
|
||||
// Standard Error: 21
|
||||
.saturating_add(Weight::from_ref_time(1_604).saturating_mul(b.into()))
|
||||
// Standard Error: 222
|
||||
.saturating_add(Weight::from_ref_time(15_759).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: 23_542 nanoseconds.
|
||||
Weight::from_ref_time(22_747_784)
|
||||
// Standard Error: 21
|
||||
.saturating_add(Weight::from_ref_time(1_833).saturating_mul(b.into()))
|
||||
// Standard Error: 220
|
||||
.saturating_add(Weight::from_ref_time(19_480).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `173 + m * (32 ±0)`
|
||||
// Estimated: `3318 + m * (64 ±0)`
|
||||
// Minimum execution time: 17_995 nanoseconds.
|
||||
Weight::from_ref_time(16_803_043)
|
||||
.saturating_add(Weight::from_proof_size(3318))
|
||||
// Standard Error: 36
|
||||
.saturating_add(Weight::from_ref_time(1_664).saturating_mul(b.into()))
|
||||
// Standard Error: 377
|
||||
.saturating_add(Weight::from_ref_time(25_717).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: 29_676 nanoseconds.
|
||||
Weight::from_ref_time(27_583_820)
|
||||
// Standard Error: 87
|
||||
.saturating_add(Weight::from_ref_time(4_973).saturating_mul(b.into()))
|
||||
// Standard Error: 913
|
||||
.saturating_add(Weight::from_ref_time(30_872).saturating_mul(m.into()))
|
||||
// Standard Error: 901
|
||||
.saturating_add(Weight::from_ref_time(205_973).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `495 + m * (32 ±0) + p * (36 ±0)`
|
||||
// Estimated: `6050 + m * (165 ±0) + p * (180 ±0)`
|
||||
// Minimum execution time: 23_343 nanoseconds.
|
||||
Weight::from_ref_time(24_423_202)
|
||||
.saturating_add(Weight::from_proof_size(6050))
|
||||
// Standard Error: 50
|
||||
.saturating_add(Weight::from_ref_time(2_498).saturating_mul(b.into()))
|
||||
// Standard Error: 526
|
||||
.saturating_add(Weight::from_ref_time(19_234).saturating_mul(m.into()))
|
||||
// Standard Error: 519
|
||||
.saturating_add(Weight::from_ref_time(94_479).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: 35_320 nanoseconds.
|
||||
Weight::from_ref_time(37_470_580)
|
||||
// Standard Error: 687
|
||||
.saturating_add(Weight::from_ref_time(50_158).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `945 + m * (64 ±0)`
|
||||
// Estimated: `4858 + m * (128 ±0)`
|
||||
// Minimum execution time: 21_985 nanoseconds.
|
||||
Weight::from_ref_time(22_528_905)
|
||||
.saturating_add(Weight::from_proof_size(4858))
|
||||
// Standard Error: 261
|
||||
.saturating_add(Weight::from_ref_time(40_877).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: 32_840 nanoseconds.
|
||||
Weight::from_ref_time(33_709_970)
|
||||
// Standard Error: 856
|
||||
.saturating_add(Weight::from_ref_time(32_065).saturating_mul(m.into()))
|
||||
// Standard Error: 835
|
||||
.saturating_add(Weight::from_ref_time(180_728).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `565 + m * (64 ±0) + p * (36 ±0)`
|
||||
// Estimated: `5649 + m * (260 ±0) + p * (144 ±0)`
|
||||
// Minimum execution time: 26_228 nanoseconds.
|
||||
Weight::from_ref_time(27_376_581)
|
||||
.saturating_add(Weight::from_proof_size(5649))
|
||||
// Standard Error: 388
|
||||
.saturating_add(Weight::from_ref_time(19_762).saturating_mul(m.into()))
|
||||
// Standard Error: 378
|
||||
.saturating_add(Weight::from_ref_time(87_103).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_178 nanoseconds.
|
||||
Weight::from_ref_time(42_272_289)
|
||||
// Standard Error: 98
|
||||
.saturating_add(Weight::from_ref_time(3_643).saturating_mul(b.into()))
|
||||
// Standard Error: 1_046
|
||||
.saturating_add(Weight::from_ref_time(29_510).saturating_mul(m.into()))
|
||||
// Standard Error: 1_019
|
||||
.saturating_add(Weight::from_ref_time(215_754).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `901 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
|
||||
// Estimated: `8920 + b * (4 ±0) + m * (264 ±0) + p * (160 ±0)`
|
||||
// Minimum execution time: 35_964 nanoseconds.
|
||||
Weight::from_ref_time(37_233_216)
|
||||
.saturating_add(Weight::from_proof_size(8920))
|
||||
// Standard Error: 84
|
||||
.saturating_add(Weight::from_ref_time(2_315).saturating_mul(b.into()))
|
||||
// Standard Error: 891
|
||||
.saturating_add(Weight::from_ref_time(21_458).saturating_mul(m.into()))
|
||||
// Standard Error: 869
|
||||
.saturating_add(Weight::from_ref_time(117_788).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: 35_653 nanoseconds.
|
||||
Weight::from_ref_time(35_554_475)
|
||||
// Standard Error: 838
|
||||
.saturating_add(Weight::from_ref_time(40_497).saturating_mul(m.into()))
|
||||
// Standard Error: 817
|
||||
.saturating_add(Weight::from_ref_time(185_416).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `585 + m * (64 ±0) + p * (36 ±0)`
|
||||
// Estimated: `6790 + m * (325 ±0) + p * (180 ±0)`
|
||||
// Minimum execution time: 29_008 nanoseconds.
|
||||
Weight::from_ref_time(29_672_068)
|
||||
.saturating_add(Weight::from_proof_size(6790))
|
||||
// Standard Error: 412
|
||||
.saturating_add(Weight::from_ref_time(25_483).saturating_mul(m.into()))
|
||||
// Standard Error: 402
|
||||
.saturating_add(Weight::from_ref_time(89_167).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: 45_429 nanoseconds.
|
||||
Weight::from_ref_time(44_872_284)
|
||||
// Standard Error: 101
|
||||
.saturating_add(Weight::from_ref_time(3_364).saturating_mul(b.into()))
|
||||
// Standard Error: 1_074
|
||||
.saturating_add(Weight::from_ref_time(32_421).saturating_mul(m.into()))
|
||||
// Standard Error: 1_047
|
||||
.saturating_add(Weight::from_ref_time(216_140).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `921 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)`
|
||||
// Estimated: `10260 + b * (5 ±0) + m * (330 ±0) + p * (200 ±0)`
|
||||
// Minimum execution time: 38_285 nanoseconds.
|
||||
Weight::from_ref_time(39_788_837)
|
||||
.saturating_add(Weight::from_proof_size(10260))
|
||||
// Standard Error: 81
|
||||
.saturating_add(Weight::from_ref_time(2_125).saturating_mul(b.into()))
|
||||
// Standard Error: 864
|
||||
.saturating_add(Weight::from_ref_time(22_376).saturating_mul(m.into()))
|
||||
// Standard Error: 842
|
||||
.saturating_add(Weight::from_ref_time(119_698).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: 20_087 nanoseconds.
|
||||
Weight::from_ref_time(22_855_430)
|
||||
// Standard Error: 953
|
||||
.saturating_add(Weight::from_ref_time(176_064).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `330 + p * (32 ±0)`
|
||||
// Estimated: `1485 + p * (96 ±0)`
|
||||
// Minimum execution time: 15_012 nanoseconds.
|
||||
Weight::from_ref_time(16_806_327)
|
||||
.saturating_add(Weight::from_proof_size(1485))
|
||||
// Standard Error: 416
|
||||
.saturating_add(Weight::from_ref_time(85_010).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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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: 53_077 nanoseconds.
|
||||
Weight::from_ref_time(54_881_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4831`
|
||||
// Estimated: `23409`
|
||||
// Minimum execution time: 32_455 nanoseconds.
|
||||
Weight::from_ref_time(33_104_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: 44_667 nanoseconds.
|
||||
Weight::from_ref_time(47_167_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3587`
|
||||
// Estimated: `5705`
|
||||
// Minimum execution time: 29_703 nanoseconds.
|
||||
Weight::from_ref_time(31_118_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: 58_657 nanoseconds.
|
||||
Weight::from_ref_time(61_208_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3532`
|
||||
// Estimated: `12720`
|
||||
// Minimum execution time: 42_165 nanoseconds.
|
||||
Weight::from_ref_time(42_685_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: 57_103 nanoseconds.
|
||||
Weight::from_ref_time(60_702_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3554`
|
||||
// Estimated: `12720`
|
||||
// Minimum execution time: 42_202 nanoseconds.
|
||||
Weight::from_ref_time(42_967_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_100 nanoseconds.
|
||||
Weight::from_ref_time(22_984_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: 93_674 nanoseconds.
|
||||
Weight::from_ref_time(96_225_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: 16_927 nanoseconds.
|
||||
Weight::from_ref_time(17_480_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: 4_457 nanoseconds.
|
||||
Weight::from_ref_time(4_545_000)
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_default() -> Weight {
|
||||
// Minimum execution time: 4_346 nanoseconds.
|
||||
Weight::from_ref_time(4_549_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: 21_827 nanoseconds.
|
||||
Weight::from_ref_time(22_464_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_106 nanoseconds.
|
||||
Weight::from_ref_time(27_621_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: 79_797 nanoseconds.
|
||||
Weight::from_ref_time(82_240_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `365`
|
||||
// Estimated: `7712`
|
||||
// Minimum execution time: 24_268 nanoseconds.
|
||||
Weight::from_ref_time(25_097_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_081 nanoseconds.
|
||||
Weight::from_ref_time(14_493_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: 82_151 nanoseconds.
|
||||
Weight::from_ref_time(83_325_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_972 nanoseconds.
|
||||
Weight::from_ref_time(13_483_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_123 nanoseconds.
|
||||
Weight::from_ref_time(3_294_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_108 nanoseconds.
|
||||
Weight::from_ref_time(3_238_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_263 nanoseconds.
|
||||
Weight::from_ref_time(26_765_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_716 nanoseconds.
|
||||
Weight::from_ref_time(29_973_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: 66_025 nanoseconds.
|
||||
Weight::from_ref_time(66_897_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_538 nanoseconds.
|
||||
Weight::from_ref_time(19_228_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_678 nanoseconds.
|
||||
Weight::from_ref_time(6_547_619)
|
||||
// Standard Error: 5_257
|
||||
.saturating_add(Weight::from_ref_time(2_502_589).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `211 + r * (117 ±0)`
|
||||
// Estimated: `998 + r * (2676 ±0)`
|
||||
// Minimum execution time: 6_901 nanoseconds.
|
||||
Weight::from_ref_time(9_907_508)
|
||||
.saturating_add(Weight::from_proof_size(998))
|
||||
// Standard Error: 6_122
|
||||
.saturating_add(Weight::from_ref_time(2_533_042).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_202 nanoseconds.
|
||||
Weight::from_ref_time(9_356_035)
|
||||
// Standard Error: 5_424
|
||||
.saturating_add(Weight::from_ref_time(2_510_329).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `211 + r * (117 ±0)`
|
||||
// Estimated: `19318 + r * (2676 ±0)`
|
||||
// Minimum execution time: 9_282 nanoseconds.
|
||||
Weight::from_ref_time(12_515_202)
|
||||
.saturating_add(Weight::from_proof_size(19318))
|
||||
// Standard Error: 6_387
|
||||
.saturating_add(Weight::from_ref_time(2_531_621).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_347 nanoseconds.
|
||||
Weight::from_ref_time(47_476_209)
|
||||
// Standard Error: 6_351
|
||||
.saturating_add(Weight::from_ref_time(3_778_561).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `925 + r * (139 ±0)`
|
||||
// Estimated: `22584 + r * (2676 ±0)`
|
||||
// Minimum execution time: 34_693 nanoseconds.
|
||||
Weight::from_ref_time(40_617_239)
|
||||
.saturating_add(Weight::from_proof_size(22584))
|
||||
// Standard Error: 7_497
|
||||
.saturating_add(Weight::from_ref_time(3_530_532).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_056 nanoseconds.
|
||||
Weight::from_ref_time(26_557_071)
|
||||
// Standard Error: 5_848
|
||||
.saturating_add(Weight::from_ref_time(3_697_474).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `524 + r * (139 ±0)`
|
||||
// Estimated: `12540 + r * (2676 ±0)`
|
||||
// Minimum execution time: 20_013 nanoseconds.
|
||||
Weight::from_ref_time(22_408_625)
|
||||
.saturating_add(Weight::from_proof_size(12540))
|
||||
// Standard Error: 6_431
|
||||
.saturating_add(Weight::from_ref_time(3_497_325).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: 4_684 nanoseconds.
|
||||
Weight::from_ref_time(4_898_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_897 nanoseconds.
|
||||
Weight::from_ref_time(3_041_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_808 nanoseconds.
|
||||
Weight::from_ref_time(32_696_578)
|
||||
// Standard Error: 1_879
|
||||
.saturating_add(Weight::from_ref_time(90_360).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `594`
|
||||
// Estimated: `12647`
|
||||
// Minimum execution time: 19_128 nanoseconds.
|
||||
Weight::from_ref_time(25_199_888)
|
||||
.saturating_add(Weight::from_proof_size(12647))
|
||||
// Standard Error: 1_360
|
||||
.saturating_add(Weight::from_ref_time(23_598).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_941 nanoseconds.
|
||||
Weight::from_ref_time(32_446_484)
|
||||
// Standard Error: 1_374
|
||||
.saturating_add(Weight::from_ref_time(127_738).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `595 + r * (22 ±0)`
|
||||
// Estimated: `12647`
|
||||
// Minimum execution time: 23_292 nanoseconds.
|
||||
Weight::from_ref_time(24_935_036)
|
||||
.saturating_add(Weight::from_proof_size(12647))
|
||||
// Standard Error: 657
|
||||
.saturating_add(Weight::from_ref_time(60_253).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: 15_763 nanoseconds.
|
||||
Weight::from_ref_time(17_927_839)
|
||||
// Standard Error: 1_234
|
||||
.saturating_add(Weight::from_ref_time(121_012).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `758 + r * (26 ±0)`
|
||||
// Estimated: `8946`
|
||||
// Minimum execution time: 14_952 nanoseconds.
|
||||
Weight::from_ref_time(17_820_451)
|
||||
.saturating_add(Weight::from_proof_size(8946))
|
||||
// Standard Error: 1_013
|
||||
.saturating_add(Weight::from_ref_time(71_228).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: 15_591 nanoseconds.
|
||||
Weight::from_ref_time(17_754_018)
|
||||
// Standard Error: 1_446
|
||||
.saturating_add(Weight::from_ref_time(124_505).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `758 + r * (26 ±0)`
|
||||
// Estimated: `8946`
|
||||
// Minimum execution time: 15_307 nanoseconds.
|
||||
Weight::from_ref_time(18_031_432)
|
||||
.saturating_add(Weight::from_proof_size(8946))
|
||||
// Standard Error: 1_031
|
||||
.saturating_add(Weight::from_ref_time(71_291).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: `323`
|
||||
// Estimated: `3193`
|
||||
// Minimum execution time: 17_459 nanoseconds.
|
||||
Weight::from_ref_time(17_976_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_550 nanoseconds.
|
||||
Weight::from_ref_time(16_814_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: `4886`
|
||||
// Estimated: `19763`
|
||||
// Minimum execution time: 29_293 nanoseconds.
|
||||
Weight::from_ref_time(29_792_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: 27_418 nanoseconds.
|
||||
Weight::from_ref_time(27_878_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: `144`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 13_858 nanoseconds.
|
||||
Weight::from_ref_time(14_326_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: 18_303 nanoseconds.
|
||||
Weight::from_ref_time(18_565_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_election_provider_multi_phase`
|
||||
//!
|
||||
//! 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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,132 +45,223 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_election_provider_multi_phase`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking CurrentPlannedSession (r:1 w:0)
|
||||
// Storage: Staking ErasStartSessionIndex (r:1 w:0)
|
||||
// Storage: Babe EpochIndex (r:1 w:0)
|
||||
// Storage: Babe GenesisSlot (r:1 w:0)
|
||||
// Storage: Babe CurrentSlot (r:1 w:0)
|
||||
// Storage: Staking ForceEra (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
/// Storage: Staking CurrentEra (r:1 w:0)
|
||||
/// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking CurrentPlannedSession (r:1 w:0)
|
||||
/// Proof: Staking CurrentPlannedSession (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking ErasStartSessionIndex (r:1 w:0)
|
||||
/// Proof: Staking ErasStartSessionIndex (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
|
||||
/// Storage: Babe EpochIndex (r:1 w:0)
|
||||
/// Proof: Babe EpochIndex (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
|
||||
/// Storage: Babe GenesisSlot (r:1 w:0)
|
||||
/// Proof: Babe GenesisSlot (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)
|
||||
/// Storage: Staking ForceEra (r:1 w:0)
|
||||
/// Proof: Staking ForceEra (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
|
||||
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn on_initialize_nothing() -> Weight {
|
||||
// Minimum execution time: 18_492 nanoseconds.
|
||||
Weight::from_ref_time(19_069_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `993`
|
||||
// Estimated: `6982`
|
||||
// Minimum execution time: 18_403 nanoseconds.
|
||||
Weight::from_ref_time(18_766_000)
|
||||
.saturating_add(Weight::from_proof_size(6982))
|
||||
.saturating_add(T::DbWeight::get().reads(8))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
|
||||
/// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase Round (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn on_initialize_open_signed() -> Weight {
|
||||
// Minimum execution time: 16_448 nanoseconds.
|
||||
Weight::from_ref_time(17_165_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `114`
|
||||
// Estimated: `1218`
|
||||
// Minimum execution time: 12_696 nanoseconds.
|
||||
Weight::from_ref_time(12_991_000)
|
||||
.saturating_add(Weight::from_proof_size(1218))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
|
||||
/// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase Round (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn on_initialize_open_unsigned() -> Weight {
|
||||
// Minimum execution time: 17_477 nanoseconds.
|
||||
Weight::from_ref_time(18_090_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `114`
|
||||
// Estimated: `1218`
|
||||
// Minimum execution time: 13_874 nanoseconds.
|
||||
Weight::from_ref_time(14_403_000)
|
||||
.saturating_add(Weight::from_proof_size(1218))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase QueuedSolution (r:0 w:1)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: ElectionProviderMultiPhase QueuedSolution (r:0 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase QueuedSolution (max_values: Some(1), max_size: None, mode: Measured)
|
||||
fn finalize_signed_phase_accept_solution() -> Weight {
|
||||
// Minimum execution time: 31_576 nanoseconds.
|
||||
Weight::from_ref_time(32_501_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `206`
|
||||
// Estimated: `2809`
|
||||
// Minimum execution time: 22_783 nanoseconds.
|
||||
Weight::from_ref_time(23_390_000)
|
||||
.saturating_add(Weight::from_proof_size(2809))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
fn finalize_signed_phase_reject_solution() -> Weight {
|
||||
// Minimum execution time: 24_211 nanoseconds.
|
||||
Weight::from_ref_time(25_437_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `206`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 16_457 nanoseconds.
|
||||
Weight::from_ref_time(16_793_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:0 w:1)
|
||||
// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
|
||||
// Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1)
|
||||
/// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:0 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase SnapshotMetadata (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase DesiredTargets (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase Snapshot (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// The range of component `v` is `[1000, 2000]`.
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
fn create_snapshot_internal(v: u32, _t: u32, ) -> Weight {
|
||||
// Minimum execution time: 557_265 nanoseconds.
|
||||
Weight::from_ref_time(584_626_000)
|
||||
// Standard Error: 3_005
|
||||
.saturating_add(Weight::from_ref_time(336_932).saturating_mul(v.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 424_209 nanoseconds.
|
||||
Weight::from_ref_time(431_389_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 2_458
|
||||
.saturating_add(Weight::from_ref_time(262_474).saturating_mul(v.into()))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:1 w:0)
|
||||
// Storage: System BlockWeight (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase QueuedSolution (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
|
||||
// Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1)
|
||||
/// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionIndices (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionNextIndex (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase SnapshotMetadata (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionsMap (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: System BlockWeight (r:1 w:1)
|
||||
/// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)
|
||||
/// Storage: ElectionProviderMultiPhase QueuedSolution (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase QueuedSolution (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase Round (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase Round (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase DesiredTargets (r:0 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase DesiredTargets (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase Snapshot (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// The range of component `a` is `[500, 800]`.
|
||||
/// The range of component `d` is `[200, 400]`.
|
||||
fn elect_queued(a: u32, d: u32, ) -> Weight {
|
||||
// Minimum execution time: 443_968 nanoseconds.
|
||||
Weight::from_ref_time(92_327_257)
|
||||
// Standard Error: 9_377
|
||||
.saturating_add(Weight::from_ref_time(634_434).saturating_mul(a.into()))
|
||||
// Standard Error: 14_056
|
||||
.saturating_add(Weight::from_ref_time(227_206).saturating_mul(d.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `368 + a * (768 ±0) + d * (48 ±0)`
|
||||
// Estimated: `10083 + a * (6912 ±0) + d * (441 ±0)`
|
||||
// Minimum execution time: 269_359 nanoseconds.
|
||||
Weight::from_ref_time(74_782_984)
|
||||
.saturating_add(Weight::from_proof_size(10083))
|
||||
// Standard Error: 3_910
|
||||
.saturating_add(Weight::from_ref_time(317_418).saturating_mul(a.into()))
|
||||
// Standard Error: 5_861
|
||||
.saturating_add(Weight::from_ref_time(137_414).saturating_mul(d.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(8))
|
||||
.saturating_add(T::DbWeight::get().writes(9))
|
||||
.saturating_add(Weight::from_proof_size(6912).saturating_mul(a.into()))
|
||||
.saturating_add(Weight::from_proof_size(441).saturating_mul(d.into()))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:0)
|
||||
// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:0 w:1)
|
||||
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase SnapshotMetadata (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0)
|
||||
/// Proof: TransactionPayment NextFeeMultiplier (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
|
||||
/// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionIndices (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionNextIndex (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:0 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase SignedSubmissionsMap (max_values: None, max_size: None, mode: Measured)
|
||||
fn submit() -> Weight {
|
||||
// Minimum execution time: 53_600 nanoseconds.
|
||||
Weight::from_ref_time(55_308_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1236`
|
||||
// Estimated: `8671`
|
||||
// Minimum execution time: 40_601 nanoseconds.
|
||||
Weight::from_ref_time(41_302_000)
|
||||
.saturating_add(Weight::from_proof_size(8671))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase QueuedSolution (r:1 w:1)
|
||||
// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0)
|
||||
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase Round (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase DesiredTargets (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase QueuedSolution (r:1 w:1)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase QueuedSolution (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase SnapshotMetadata (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase SnapshotMetadata (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase MinimumUntrustedScore (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase Snapshot (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// The range of component `v` is `[1000, 2000]`.
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
/// The range of component `a` is `[500, 800]`.
|
||||
/// The range of component `d` is `[200, 400]`.
|
||||
fn submit_unsigned(v: u32, _t: u32, a: u32, _d: u32, ) -> Weight {
|
||||
// Minimum execution time: 5_921_018 nanoseconds.
|
||||
Weight::from_ref_time(6_045_046_000)
|
||||
// Standard Error: 20_028
|
||||
.saturating_add(Weight::from_ref_time(139_664).saturating_mul(v.into()))
|
||||
// Standard Error: 59_351
|
||||
.saturating_add(Weight::from_ref_time(5_539_786).saturating_mul(a.into()))
|
||||
fn submit_unsigned(v: u32, t: u32, a: u32, _d: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `251 + v * (553 ±0) + t * (32 ±0)`
|
||||
// Estimated: `5222 + v * (3871 ±0) + t * (224 ±0)`
|
||||
// Minimum execution time: 4_752_547 nanoseconds.
|
||||
Weight::from_ref_time(4_805_907_000)
|
||||
.saturating_add(Weight::from_proof_size(5222))
|
||||
// Standard Error: 17_168
|
||||
.saturating_add(Weight::from_ref_time(148_492).saturating_mul(v.into()))
|
||||
// Standard Error: 50_876
|
||||
.saturating_add(Weight::from_ref_time(4_540_784).saturating_mul(a.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(Weight::from_proof_size(3871).saturating_mul(v.into()))
|
||||
.saturating_add(Weight::from_proof_size(224).saturating_mul(t.into()))
|
||||
}
|
||||
// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0)
|
||||
/// Storage: ElectionProviderMultiPhase Round (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase Round (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase DesiredTargets (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase DesiredTargets (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase MinimumUntrustedScore (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase MinimumUntrustedScore (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ElectionProviderMultiPhase Snapshot (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase Snapshot (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// The range of component `v` is `[1000, 2000]`.
|
||||
/// The range of component `t` is `[500, 1000]`.
|
||||
/// The range of component `a` is `[500, 800]`.
|
||||
/// The range of component `d` is `[200, 400]`.
|
||||
fn feasibility_check(v: u32, _t: u32, a: u32, _d: u32, ) -> Weight {
|
||||
// Minimum execution time: 4_806_817 nanoseconds.
|
||||
Weight::from_ref_time(4_935_057_000)
|
||||
// Standard Error: 14_025
|
||||
.saturating_add(Weight::from_ref_time(324_592).saturating_mul(v.into()))
|
||||
// Standard Error: 41_563
|
||||
.saturating_add(Weight::from_ref_time(3_230_713).saturating_mul(a.into()))
|
||||
fn feasibility_check(v: u32, t: u32, a: u32, _d: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `226 + v * (553 ±0) + t * (32 ±0)`
|
||||
// Estimated: `2884 + v * (2212 ±0) + t * (128 ±0)`
|
||||
// Minimum execution time: 3_993_047 nanoseconds.
|
||||
Weight::from_ref_time(4_010_241_000)
|
||||
.saturating_add(Weight::from_proof_size(2884))
|
||||
// Standard Error: 19_833
|
||||
.saturating_add(Weight::from_ref_time(348_014).saturating_mul(v.into()))
|
||||
// Standard Error: 58_774
|
||||
.saturating_add(Weight::from_ref_time(3_409_027).saturating_mul(a.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(Weight::from_proof_size(2212).saturating_mul(v.into()))
|
||||
.saturating_add(Weight::from_proof_size(128).saturating_mul(t.into()))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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: 33_028 nanoseconds.
|
||||
Weight::from_ref_time(34_249_263)
|
||||
// Standard Error: 4_359
|
||||
.saturating_add(Weight::from_ref_time(197_850).saturating_mul(v.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `465 + v * (80 ±0)`
|
||||
// Estimated: `9590 + v * (320 ±0)`
|
||||
// Minimum execution time: 25_501 nanoseconds.
|
||||
Weight::from_ref_time(26_481_743)
|
||||
.saturating_add(Weight::from_proof_size(9590))
|
||||
// Standard Error: 3_489
|
||||
.saturating_add(Weight::from_ref_time(114_542).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: 43_609 nanoseconds.
|
||||
Weight::from_ref_time(44_790_462)
|
||||
// Standard Error: 5_497
|
||||
.saturating_add(Weight::from_ref_time(254_670).saturating_mul(v.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `433 + v * (80 ±0)`
|
||||
// Estimated: `9462 + v * (320 ±0)`
|
||||
// Minimum execution time: 34_411 nanoseconds.
|
||||
Weight::from_ref_time(34_836_113)
|
||||
.saturating_add(Weight::from_proof_size(9462))
|
||||
// Standard Error: 3_826
|
||||
.saturating_add(Weight::from_ref_time(166_356).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_798 nanoseconds.
|
||||
Weight::from_ref_time(45_376_726)
|
||||
// Standard Error: 7_406
|
||||
.saturating_add(Weight::from_ref_time(232_447).saturating_mul(v.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `465 + v * (80 ±0)`
|
||||
// Estimated: `9590 + v * (320 ±0)`
|
||||
// Minimum execution time: 34_045 nanoseconds.
|
||||
Weight::from_ref_time(34_935_612)
|
||||
.saturating_add(Weight::from_proof_size(9590))
|
||||
// Standard Error: 4_134
|
||||
.saturating_add(Weight::from_ref_time(144_811).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: 42_805 nanoseconds.
|
||||
Weight::from_ref_time(44_893_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `955`
|
||||
// Estimated: `7204`
|
||||
// Minimum execution time: 31_044 nanoseconds.
|
||||
Weight::from_ref_time(31_420_000)
|
||||
.saturating_add(Weight::from_proof_size(7204))
|
||||
.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: 42_193 nanoseconds.
|
||||
Weight::from_ref_time(31_305_306)
|
||||
// Standard Error: 1_675
|
||||
.saturating_add(Weight::from_ref_time(144_200).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2485 + c * (48 ±0)`
|
||||
// Estimated: `8934 + c * (144 ±0)`
|
||||
// Minimum execution time: 26_818 nanoseconds.
|
||||
Weight::from_ref_time(20_236_278)
|
||||
.saturating_add(Weight::from_proof_size(8934))
|
||||
// Standard Error: 869
|
||||
.saturating_add(Weight::from_ref_time(82_655).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: 39_026 nanoseconds.
|
||||
Weight::from_ref_time(27_601_841)
|
||||
// Standard Error: 1_622
|
||||
.saturating_add(Weight::from_ref_time(119_085).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `314 + c * (48 ±0)`
|
||||
// Estimated: `796 + c * (48 ±0)`
|
||||
// Minimum execution time: 22_804 nanoseconds.
|
||||
Weight::from_ref_time(15_746_411)
|
||||
.saturating_add(Weight::from_proof_size(796))
|
||||
// Standard Error: 889
|
||||
.saturating_add(Weight::from_ref_time(58_344).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: 53_511 nanoseconds.
|
||||
Weight::from_ref_time(54_665_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2692`
|
||||
// Estimated: `15440`
|
||||
// Minimum execution time: 39_555 nanoseconds.
|
||||
Weight::from_ref_time(40_645_000)
|
||||
.saturating_add(Weight::from_proof_size(15440))
|
||||
.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: 40_723 nanoseconds.
|
||||
Weight::from_ref_time(42_456_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1806`
|
||||
// Estimated: `2301`
|
||||
// Minimum execution time: 25_415 nanoseconds.
|
||||
Weight::from_ref_time(25_678_000)
|
||||
.saturating_add(Weight::from_proof_size(2301))
|
||||
.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: 71_818 nanoseconds.
|
||||
Weight::from_ref_time(73_287_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2692`
|
||||
// Estimated: `18043`
|
||||
// Minimum execution time: 53_351 nanoseconds.
|
||||
Weight::from_ref_time(54_906_000)
|
||||
.saturating_add(Weight::from_proof_size(18043))
|
||||
.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: 315_527_160 nanoseconds.
|
||||
Weight::from_ref_time(321_578_347_000)
|
||||
// Standard Error: 272_043
|
||||
.saturating_add(Weight::from_ref_time(39_776_161).saturating_mul(v.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `36028 + v * (872 ±0)`
|
||||
// Estimated: `149172 + v * (12340 ±0)`
|
||||
// Minimum execution time: 300_272_594 nanoseconds.
|
||||
Weight::from_ref_time(300_710_357_000)
|
||||
.saturating_add(Weight::from_proof_size(149172))
|
||||
// Standard Error: 258_959
|
||||
.saturating_add(Weight::from_ref_time(37_381_041).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:8 w:8)
|
||||
/// 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:967 w:967)
|
||||
/// 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: 33_164_171 nanoseconds.
|
||||
Weight::from_ref_time(33_641_166_000)
|
||||
// Standard Error: 428_315
|
||||
.saturating_add(Weight::from_ref_time(39_350_303).saturating_mul(v.into()))
|
||||
// Standard Error: 27_486
|
||||
.saturating_add(Weight::from_ref_time(1_824_447).saturating_mul(e.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0 + v * (639 ±0) + e * (28 ±0)`
|
||||
// Estimated: `5352462 + v * (5714 ±4) + e * (123 ±0) + c * (2560 ±0)`
|
||||
// Minimum execution time: 30_435_755 nanoseconds.
|
||||
Weight::from_ref_time(30_515_828_000)
|
||||
.saturating_add(Weight::from_proof_size(5352462))
|
||||
// Standard Error: 423_686
|
||||
.saturating_add(Weight::from_ref_time(37_991_243).saturating_mul(v.into()))
|
||||
// Standard Error: 27_189
|
||||
.saturating_add(Weight::from_ref_time(1_855_718).saturating_mul(e.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(269))
|
||||
.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,23 +16,22 @@
|
||||
//! Autogenerated weights for `pallet_fast_unstake`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/production/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=polkadot-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_fast_unstake
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/builds/parity/mirrors/polkadot/.git/.artifacts/bench.json
|
||||
// --pallet=pallet-fast-unstake
|
||||
// --chain=polkadot-dev
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/polkadot/src/weights/
|
||||
|
||||
@@ -46,86 +45,150 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_fast_unstake`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_fast_unstake::WeightInfo for WeightInfo<T> {
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
// Storage: Staking ValidatorCount (r:1 w:0)
|
||||
// Storage: FastUnstake Head (r:1 w:1)
|
||||
// Storage: FastUnstake CounterForQueue (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking SlashingSpans (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:1)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:0)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: Staking Ledger (r:0 w:1)
|
||||
// Storage: Staking Payee (r:0 w:1)
|
||||
/// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
/// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking ValidatorCount (r:1 w:0)
|
||||
/// Proof: Staking ValidatorCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: FastUnstake Head (r:1 w:1)
|
||||
/// Proof: FastUnstake Head (max_values: Some(1), max_size: Some(886), added: 1381, mode: MaxEncodedLen)
|
||||
/// Storage: FastUnstake CounterForQueue (r:1 w:0)
|
||||
/// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Staking CurrentEra (r:1 w:0)
|
||||
/// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking SlashingSpans (r:16 w:0)
|
||||
/// Proof Skipped: Staking SlashingSpans (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Staking Bonded (r:16 w:16)
|
||||
/// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Validators (r:16 w:0)
|
||||
/// Proof: Staking Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Nominators (r:16 w:0)
|
||||
/// Proof: Staking Nominators (max_values: None, max_size: Some(558), added: 3033, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:16 w:16)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:16 w:16)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Ledger (r:0 w:16)
|
||||
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Payee (r:0 w:16)
|
||||
/// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
||||
/// The range of component `b` is `[1, 16]`.
|
||||
fn on_idle_unstake(b: u32, ) -> Weight {
|
||||
// Minimum execution time: 83_164 nanoseconds.
|
||||
Weight::from_ref_time(49_648_955)
|
||||
// Standard Error: 32_056
|
||||
.saturating_add(Weight::from_ref_time(39_756_465).saturating_mul(b.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1127 + b * (391 ±0)`
|
||||
// Estimated: `6126 + b * (17736 ±0)`
|
||||
// Minimum execution time: 73_500 nanoseconds.
|
||||
Weight::from_ref_time(40_085_054)
|
||||
.saturating_add(Weight::from_proof_size(6126))
|
||||
// Standard Error: 54_434
|
||||
.saturating_add(Weight::from_ref_time(36_862_209).saturating_mul(b.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(b.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(b.into())))
|
||||
.saturating_add(Weight::from_proof_size(17736).saturating_mul(b.into()))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
// Storage: Staking ValidatorCount (r:1 w:0)
|
||||
// Storage: FastUnstake Head (r:1 w:1)
|
||||
// Storage: FastUnstake CounterForQueue (r:1 w:0)
|
||||
// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Staking ErasStakers (r:2 w:0)
|
||||
/// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
/// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking ValidatorCount (r:1 w:0)
|
||||
/// Proof: Staking ValidatorCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: FastUnstake Head (r:1 w:1)
|
||||
/// Proof: FastUnstake Head (max_values: Some(1), max_size: Some(886), added: 1381, mode: MaxEncodedLen)
|
||||
/// Storage: FastUnstake CounterForQueue (r:1 w:0)
|
||||
/// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0)
|
||||
/// Proof Skipped: ElectionProviderMultiPhase CurrentPhase (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Staking CurrentEra (r:1 w:0)
|
||||
/// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking ErasStakers (r:257 w:0)
|
||||
/// Proof Skipped: Staking ErasStakers (max_values: None, max_size: None, mode: Measured)
|
||||
/// The range of component `v` is `[1, 256]`.
|
||||
/// The range of component `b` is `[1, 16]`.
|
||||
fn on_idle_check(v: u32, b: u32, ) -> Weight {
|
||||
// Minimum execution time: 717_323 nanoseconds.
|
||||
Weight::from_ref_time(720_850_000)
|
||||
// Standard Error: 6_820_833
|
||||
.saturating_add(Weight::from_ref_time(227_516_069).saturating_mul(v.into()))
|
||||
// Standard Error: 109_453_890
|
||||
.saturating_add(Weight::from_ref_time(3_407_382_031).saturating_mul(b.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1481 + v * (19543 ±0) + b * (48 ±0)`
|
||||
// Estimated: `9009 + v * (41563 ±0) + b * (104 ±0)`
|
||||
// Minimum execution time: 671_218 nanoseconds.
|
||||
Weight::from_ref_time(673_197_000)
|
||||
.saturating_add(Weight::from_proof_size(9009))
|
||||
// Standard Error: 6_626_048
|
||||
.saturating_add(Weight::from_ref_time(221_255_401).saturating_mul(v.into()))
|
||||
// Standard Error: 106_328_169
|
||||
.saturating_add(Weight::from_ref_time(3_303_176_545).saturating_mul(b.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(Weight::from_proof_size(41563).saturating_mul(v.into()))
|
||||
.saturating_add(Weight::from_proof_size(104).saturating_mul(b.into()))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:1)
|
||||
// Storage: FastUnstake Queue (r:1 w:1)
|
||||
// Storage: FastUnstake Head (r:1 w:0)
|
||||
// Storage: Staking Bonded (r:1 w:0)
|
||||
// Storage: Staking Validators (r:1 w:0)
|
||||
// Storage: Staking Nominators (r:1 w:1)
|
||||
// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
// Storage: VoterList ListNodes (r:2 w:2)
|
||||
// Storage: VoterList ListBags (r:1 w:1)
|
||||
// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
// Storage: Staking CurrentEra (r:1 w:0)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: FastUnstake CounterForQueue (r:1 w:1)
|
||||
/// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
/// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Ledger (r:1 w:1)
|
||||
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
|
||||
/// Storage: FastUnstake Queue (r:1 w:1)
|
||||
/// Proof: FastUnstake Queue (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen)
|
||||
/// Storage: FastUnstake Head (r:1 w:0)
|
||||
/// Proof: FastUnstake Head (max_values: Some(1), max_size: Some(886), added: 1381, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Bonded (r:1 w:0)
|
||||
/// Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Validators (r:1 w:0)
|
||||
/// Proof: Staking Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Nominators (r:1 w:1)
|
||||
/// Proof: Staking Nominators (max_values: None, max_size: Some(558), added: 3033, mode: MaxEncodedLen)
|
||||
/// Storage: Staking CounterForNominators (r:1 w:1)
|
||||
/// Proof: Staking CounterForNominators (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: VoterList ListNodes (r:2 w:2)
|
||||
/// Proof: VoterList ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen)
|
||||
/// Storage: VoterList ListBags (r:1 w:1)
|
||||
/// Proof: VoterList ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)
|
||||
/// Storage: VoterList CounterForListNodes (r:1 w:1)
|
||||
/// Proof: VoterList CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking CurrentEra (r:1 w:0)
|
||||
/// Proof: Staking CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: FastUnstake CounterForQueue (r:1 w:1)
|
||||
/// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
fn register_fast_unstake() -> Weight {
|
||||
// Minimum execution time: 117_697 nanoseconds.
|
||||
Weight::from_ref_time(121_765_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2117`
|
||||
// Estimated: `29662`
|
||||
// Minimum execution time: 110_062 nanoseconds.
|
||||
Weight::from_ref_time(112_129_000)
|
||||
.saturating_add(Weight::from_proof_size(29662))
|
||||
.saturating_add(T::DbWeight::get().reads(15))
|
||||
.saturating_add(T::DbWeight::get().writes(10))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: FastUnstake Queue (r:1 w:1)
|
||||
// Storage: FastUnstake Head (r:1 w:0)
|
||||
// Storage: FastUnstake CounterForQueue (r:1 w:1)
|
||||
/// Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0)
|
||||
/// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Ledger (r:1 w:0)
|
||||
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
|
||||
/// Storage: FastUnstake Queue (r:1 w:1)
|
||||
/// Proof: FastUnstake Queue (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen)
|
||||
/// Storage: FastUnstake Head (r:1 w:0)
|
||||
/// Proof: FastUnstake Head (max_values: Some(1), max_size: Some(886), added: 1381, mode: MaxEncodedLen)
|
||||
/// Storage: FastUnstake CounterForQueue (r:1 w:1)
|
||||
/// Proof: FastUnstake CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
fn deregister() -> Weight {
|
||||
// Minimum execution time: 43_159 nanoseconds.
|
||||
Weight::from_ref_time(44_550_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1220`
|
||||
// Estimated: `8476`
|
||||
// Minimum execution time: 39_823 nanoseconds.
|
||||
Weight::from_ref_time(40_479_000)
|
||||
.saturating_add(Weight::from_proof_size(8476))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: FastUnstake ErasToCheckPerBlock (r:0 w:1)
|
||||
/// Storage: FastUnstake ErasToCheckPerBlock (r:0 w:1)
|
||||
/// Proof: FastUnstake ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
fn control() -> Weight {
|
||||
// Minimum execution time: 3_898 nanoseconds.
|
||||
Weight::from_ref_time(4_344_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_486 nanoseconds.
|
||||
Weight::from_ref_time(2_630_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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: 17_605 nanoseconds.
|
||||
Weight::from_ref_time(18_619_749)
|
||||
// Standard Error: 2_772
|
||||
.saturating_add(Weight::from_ref_time(149_667).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `64 + r * (57 ±0)`
|
||||
// Estimated: `1636`
|
||||
// Minimum execution time: 11_644 nanoseconds.
|
||||
Weight::from_ref_time(12_337_654)
|
||||
.saturating_add(Weight::from_proof_size(1636))
|
||||
// Standard Error: 2_075
|
||||
.saturating_add(Weight::from_ref_time(48_870).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_551 nanoseconds.
|
||||
Weight::from_ref_time(35_672_852)
|
||||
// Standard Error: 5_563
|
||||
.saturating_add(Weight::from_ref_time(235_243).saturating_mul(r.into()))
|
||||
// Standard Error: 1_085
|
||||
.saturating_add(Weight::from_ref_time(344_921).saturating_mul(x.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `474 + r * (5 ±0)`
|
||||
// Estimated: `10013`
|
||||
// Minimum execution time: 26_828 nanoseconds.
|
||||
Weight::from_ref_time(26_869_635)
|
||||
.saturating_add(Weight::from_proof_size(10013))
|
||||
// Standard Error: 3_058
|
||||
.saturating_add(Weight::from_ref_time(54_123).saturating_mul(r.into()))
|
||||
// Standard Error: 596
|
||||
.saturating_add(Weight::from_ref_time(352_390).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: 9_912 nanoseconds.
|
||||
Weight::from_ref_time(27_369_033)
|
||||
// Standard Error: 4_743
|
||||
.saturating_add(Weight::from_ref_time(2_626_576).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `101`
|
||||
// Estimated: `15746 + s * (2589 ±0)`
|
||||
// Minimum execution time: 8_247 nanoseconds.
|
||||
Weight::from_ref_time(21_029_403)
|
||||
.saturating_add(Weight::from_proof_size(15746))
|
||||
// Standard Error: 4_055
|
||||
.saturating_add(Weight::from_ref_time(2_354_272).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: 9_959 nanoseconds.
|
||||
Weight::from_ref_time(27_992_335)
|
||||
// Standard Error: 4_410
|
||||
.saturating_add(Weight::from_ref_time(1_161_159).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `226 + p * (32 ±0)`
|
||||
// Estimated: `15746`
|
||||
// Minimum execution time: 7_925 nanoseconds.
|
||||
Weight::from_ref_time(20_042_455)
|
||||
.saturating_add(Weight::from_proof_size(15746))
|
||||
// Standard Error: 2_978
|
||||
.saturating_add(Weight::from_ref_time(964_381).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_700 nanoseconds.
|
||||
Weight::from_ref_time(37_407_654)
|
||||
// Standard Error: 11_240
|
||||
.saturating_add(Weight::from_ref_time(213_884).saturating_mul(r.into()))
|
||||
// Standard Error: 2_195
|
||||
.saturating_add(Weight::from_ref_time(1_136_242).saturating_mul(s.into()))
|
||||
// Standard Error: 2_195
|
||||
.saturating_add(Weight::from_ref_time(188_509).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_646 nanoseconds.
|
||||
Weight::from_ref_time(26_256_140)
|
||||
.saturating_add(Weight::from_proof_size(15746))
|
||||
// Standard Error: 4_834
|
||||
.saturating_add(Weight::from_ref_time(31_007).saturating_mul(r.into()))
|
||||
// Standard Error: 944
|
||||
.saturating_add(Weight::from_ref_time(951_693).saturating_mul(s.into()))
|
||||
// Standard Error: 944
|
||||
.saturating_add(Weight::from_ref_time(179_160).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_561 nanoseconds.
|
||||
Weight::from_ref_time(36_579_723)
|
||||
// Standard Error: 6_657
|
||||
.saturating_add(Weight::from_ref_time(255_250).saturating_mul(r.into()))
|
||||
// Standard Error: 1_298
|
||||
.saturating_add(Weight::from_ref_time(368_736).saturating_mul(x.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `431 + r * (57 ±0) + x * (66 ±0)`
|
||||
// Estimated: `11649`
|
||||
// Minimum execution time: 27_585 nanoseconds.
|
||||
Weight::from_ref_time(27_019_383)
|
||||
.saturating_add(Weight::from_proof_size(11649))
|
||||
// Standard Error: 4_215
|
||||
.saturating_add(Weight::from_ref_time(92_906).saturating_mul(r.into()))
|
||||
// Standard Error: 822
|
||||
.saturating_add(Weight::from_ref_time(368_455).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: 35_525 nanoseconds.
|
||||
Weight::from_ref_time(33_983_426)
|
||||
// Standard Error: 5_967
|
||||
.saturating_add(Weight::from_ref_time(180_994).saturating_mul(r.into()))
|
||||
// Standard Error: 1_164
|
||||
.saturating_add(Weight::from_ref_time(358_930).saturating_mul(x.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `430 + x * (66 ±0)`
|
||||
// Estimated: `10013`
|
||||
// Minimum execution time: 24_389 nanoseconds.
|
||||
Weight::from_ref_time(24_757_500)
|
||||
.saturating_add(Weight::from_proof_size(10013))
|
||||
// Standard Error: 3_437
|
||||
.saturating_add(Weight::from_ref_time(51_608).saturating_mul(r.into()))
|
||||
// Standard Error: 670
|
||||
.saturating_add(Weight::from_ref_time(363_610).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: 8_525 nanoseconds.
|
||||
Weight::from_ref_time(9_213_981)
|
||||
// Standard Error: 2_308
|
||||
.saturating_add(Weight::from_ref_time(117_392).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `121 + r * (57 ±0)`
|
||||
// Estimated: `1636`
|
||||
// Minimum execution time: 6_979 nanoseconds.
|
||||
Weight::from_ref_time(7_349_215)
|
||||
.saturating_add(Weight::from_proof_size(1636))
|
||||
// Standard Error: 1_313
|
||||
.saturating_add(Weight::from_ref_time(77_905).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: 8_704 nanoseconds.
|
||||
Weight::from_ref_time(9_223_187)
|
||||
// Standard Error: 2_396
|
||||
.saturating_add(Weight::from_ref_time(119_687).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `121 + r * (57 ±0)`
|
||||
// Estimated: `1636`
|
||||
// Minimum execution time: 6_692 nanoseconds.
|
||||
Weight::from_ref_time(7_239_470)
|
||||
.saturating_add(Weight::from_proof_size(1636))
|
||||
// Standard Error: 1_291
|
||||
.saturating_add(Weight::from_ref_time(80_813).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: 8_604 nanoseconds.
|
||||
Weight::from_ref_time(9_162_103)
|
||||
// Standard Error: 2_052
|
||||
.saturating_add(Weight::from_ref_time(123_878).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `121 + r * (57 ±0)`
|
||||
// Estimated: `1636`
|
||||
// Minimum execution time: 6_610 nanoseconds.
|
||||
Weight::from_ref_time(7_174_482)
|
||||
.saturating_add(Weight::from_proof_size(1636))
|
||||
// Standard Error: 1_772
|
||||
.saturating_add(Weight::from_ref_time(84_494).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_317 nanoseconds.
|
||||
Weight::from_ref_time(27_692_441)
|
||||
// Standard Error: 6_501
|
||||
.saturating_add(Weight::from_ref_time(190_903).saturating_mul(r.into()))
|
||||
// Standard Error: 1_202
|
||||
.saturating_add(Weight::from_ref_time(616_544).saturating_mul(x.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `509 + r * (57 ±0) + x * (66 ±0)`
|
||||
// Estimated: `11649`
|
||||
// Minimum execution time: 21_066 nanoseconds.
|
||||
Weight::from_ref_time(21_462_613)
|
||||
.saturating_add(Weight::from_proof_size(11649))
|
||||
// Standard Error: 3_937
|
||||
.saturating_add(Weight::from_ref_time(52_386).saturating_mul(r.into()))
|
||||
// Standard Error: 728
|
||||
.saturating_add(Weight::from_ref_time(616_935).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: 68_323 nanoseconds.
|
||||
Weight::from_ref_time(50_236_400)
|
||||
// Standard Error: 11_746
|
||||
.saturating_add(Weight::from_ref_time(216_324).saturating_mul(r.into()))
|
||||
// Standard Error: 2_293
|
||||
.saturating_add(Weight::from_ref_time(1_162_141).saturating_mul(s.into()))
|
||||
// Standard Error: 2_293
|
||||
.saturating_add(Weight::from_ref_time(187_970).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_980 nanoseconds.
|
||||
Weight::from_ref_time(40_001_513)
|
||||
.saturating_add(Weight::from_proof_size(18349))
|
||||
// Standard Error: 8_034
|
||||
.saturating_add(Weight::from_ref_time(30_080).saturating_mul(r.into()))
|
||||
// Standard Error: 1_568
|
||||
.saturating_add(Weight::from_ref_time(969_011).saturating_mul(s.into()))
|
||||
// Standard Error: 1_568
|
||||
.saturating_add(Weight::from_ref_time(175_540).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_665 nanoseconds.
|
||||
Weight::from_ref_time(39_111_033)
|
||||
// Standard Error: 1_882
|
||||
.saturating_add(Weight::from_ref_time(124_998).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `507 + s * (36 ±0)`
|
||||
// Estimated: `18335`
|
||||
// Minimum execution time: 23_301 nanoseconds.
|
||||
Weight::from_ref_time(28_745_724)
|
||||
.saturating_add(Weight::from_proof_size(18335))
|
||||
// Standard Error: 1_483
|
||||
.saturating_add(Weight::from_ref_time(61_335).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: 13_748 nanoseconds.
|
||||
Weight::from_ref_time(15_167_605)
|
||||
// Standard Error: 770
|
||||
.saturating_add(Weight::from_ref_time(55_402).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `623 + s * (3 ±0)`
|
||||
// Estimated: `12602`
|
||||
// Minimum execution time: 11_478 nanoseconds.
|
||||
Weight::from_ref_time(13_548_994)
|
||||
.saturating_add(Weight::from_proof_size(12602))
|
||||
// Standard Error: 555
|
||||
.saturating_add(Weight::from_ref_time(15_465).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: 37_729 nanoseconds.
|
||||
Weight::from_ref_time(40_567_971)
|
||||
// Standard Error: 1_359
|
||||
.saturating_add(Weight::from_ref_time(113_958).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `702 + s * (35 ±0)`
|
||||
// Estimated: `18335`
|
||||
// Minimum execution time: 27_008 nanoseconds.
|
||||
Weight::from_ref_time(30_315_595)
|
||||
.saturating_add(Weight::from_proof_size(18335))
|
||||
// Standard Error: 1_043
|
||||
.saturating_add(Weight::from_ref_time(50_177).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: 26_054 nanoseconds.
|
||||
Weight::from_ref_time(29_572_962)
|
||||
// Standard Error: 1_493
|
||||
.saturating_add(Weight::from_ref_time(100_129).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `628 + s * (37 ±0)`
|
||||
// Estimated: `8322`
|
||||
// Minimum execution time: 18_684 nanoseconds.
|
||||
Weight::from_ref_time(21_361_443)
|
||||
.saturating_add(Weight::from_proof_size(8322))
|
||||
// Standard Error: 917
|
||||
.saturating_add(Weight::from_ref_time(51_165).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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,21 +45,32 @@ 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: 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: 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: 124_896 nanoseconds.
|
||||
Weight::from_ref_time(104_116_040)
|
||||
// Standard Error: 428
|
||||
.saturating_add(Weight::from_ref_time(34_415).saturating_mul(k.into()))
|
||||
// Standard Error: 4_319
|
||||
.saturating_add(Weight::from_ref_time(405_429).saturating_mul(e.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `425 + k * (32 ±0)`
|
||||
// Estimated: `10345844 + k * (64 ±0) + e * (25 ±0)`
|
||||
// Minimum execution time: 91_243 nanoseconds.
|
||||
Weight::from_ref_time(72_475_606)
|
||||
.saturating_add(Weight::from_proof_size(10345844))
|
||||
// Standard Error: 317
|
||||
.saturating_add(Weight::from_ref_time(23_804).saturating_mul(k.into()))
|
||||
// Standard Error: 3_201
|
||||
.saturating_add(Weight::from_ref_time(311_133).saturating_mul(e.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(Weight::from_proof_size(64).saturating_mul(k.into()))
|
||||
.saturating_add(Weight::from_proof_size(25).saturating_mul(e.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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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: 27_669 nanoseconds.
|
||||
Weight::from_ref_time(28_358_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `142`
|
||||
// Estimated: `2544`
|
||||
// Minimum execution time: 17_872 nanoseconds.
|
||||
Weight::from_ref_time(18_573_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: 33_979 nanoseconds.
|
||||
Weight::from_ref_time(34_847_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `405`
|
||||
// Estimated: `5147`
|
||||
// Minimum execution time: 22_981 nanoseconds.
|
||||
Weight::from_ref_time(23_391_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_378 nanoseconds.
|
||||
Weight::from_ref_time(29_124_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `270`
|
||||
// Estimated: `2544`
|
||||
// Minimum execution time: 18_986 nanoseconds.
|
||||
Weight::from_ref_time(19_539_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_502 nanoseconds.
|
||||
Weight::from_ref_time(29_094_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `405`
|
||||
// Estimated: `5147`
|
||||
// Minimum execution time: 23_289 nanoseconds.
|
||||
Weight::from_ref_time(24_394_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_308 nanoseconds.
|
||||
Weight::from_ref_time(35_061_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `270`
|
||||
// Estimated: `2544`
|
||||
// Minimum execution time: 24_028 nanoseconds.
|
||||
Weight::from_ref_time(24_623_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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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_353 nanoseconds.
|
||||
Weight::from_ref_time(22_534_657)
|
||||
// Standard Error: 573
|
||||
.saturating_add(Weight::from_ref_time(36_169).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `238 + m * (64 ±0)`
|
||||
// Estimated: `4903 + m * (192 ±0)`
|
||||
// Minimum execution time: 15_858 nanoseconds.
|
||||
Weight::from_ref_time(16_808_745)
|
||||
.saturating_add(Weight::from_proof_size(4903))
|
||||
// Standard Error: 398
|
||||
.saturating_add(Weight::from_ref_time(31_356).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_162 nanoseconds.
|
||||
Weight::from_ref_time(25_407_892)
|
||||
// Standard Error: 790
|
||||
.saturating_add(Weight::from_ref_time(30_791).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `342 + m * (64 ±0)`
|
||||
// Estimated: `5742 + m * (192 ±0)`
|
||||
// Minimum execution time: 18_512 nanoseconds.
|
||||
Weight::from_ref_time(19_140_527)
|
||||
.saturating_add(Weight::from_proof_size(5742))
|
||||
// Standard Error: 416
|
||||
.saturating_add(Weight::from_ref_time(33_120).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_375 nanoseconds.
|
||||
Weight::from_ref_time(25_405_639)
|
||||
// Standard Error: 684
|
||||
.saturating_add(Weight::from_ref_time(40_175).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `342 + m * (64 ±0)`
|
||||
// Estimated: `5742 + m * (192 ±0)`
|
||||
// Minimum execution time: 18_790 nanoseconds.
|
||||
Weight::from_ref_time(20_112_394)
|
||||
.saturating_add(Weight::from_proof_size(5742))
|
||||
// Standard Error: 1_198
|
||||
.saturating_add(Weight::from_ref_time(36_555).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_719 nanoseconds.
|
||||
Weight::from_ref_time(25_268_482)
|
||||
// Standard Error: 1_134
|
||||
.saturating_add(Weight::from_ref_time(141_130).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `342 + m * (64 ±0)`
|
||||
// Estimated: `5742 + m * (192 ±0)`
|
||||
// Minimum execution time: 17_554 nanoseconds.
|
||||
Weight::from_ref_time(19_095_383)
|
||||
.saturating_add(Weight::from_proof_size(5742))
|
||||
// Standard Error: 658
|
||||
.saturating_add(Weight::from_ref_time(155_665).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_596 nanoseconds.
|
||||
Weight::from_ref_time(25_979_170)
|
||||
// Standard Error: 737
|
||||
.saturating_add(Weight::from_ref_time(39_884).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `342 + m * (64 ±0)`
|
||||
// Estimated: `5742 + m * (192 ±0)`
|
||||
// Minimum execution time: 18_735 nanoseconds.
|
||||
Weight::from_ref_time(19_659_609)
|
||||
.saturating_add(Weight::from_proof_size(5742))
|
||||
// Standard Error: 1_716
|
||||
.saturating_add(Weight::from_ref_time(50_826).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_193 nanoseconds.
|
||||
Weight::from_ref_time(8_684_759)
|
||||
// Standard Error: 256
|
||||
.saturating_add(Weight::from_ref_time(8_597).saturating_mul(m.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `64 + m * (32 ±0)`
|
||||
// Estimated: `3761 + m * (32 ±0)`
|
||||
// Minimum execution time: 7_515 nanoseconds.
|
||||
Weight::from_ref_time(7_939_425)
|
||||
.saturating_add(Weight::from_proof_size(3761))
|
||||
// Standard Error: 209
|
||||
.saturating_add(Weight::from_ref_time(9_931).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: 4_544 nanoseconds.
|
||||
Weight::from_ref_time(5_058_811)
|
||||
fn clear_prime(m: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_948 nanoseconds.
|
||||
Weight::from_ref_time(3_204_566)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 81
|
||||
.saturating_add(Weight::from_ref_time(698).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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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: 15_906 nanoseconds.
|
||||
Weight::from_ref_time(16_994_846)
|
||||
// Standard Error: 6
|
||||
.saturating_add(Weight::from_ref_time(664).saturating_mul(z.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 11_363 nanoseconds.
|
||||
Weight::from_ref_time(11_897_735)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(488).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: 51_048 nanoseconds.
|
||||
Weight::from_ref_time(37_390_960)
|
||||
// Standard Error: 1_365
|
||||
.saturating_add(Weight::from_ref_time(154_054).saturating_mul(s.into()))
|
||||
// Standard Error: 13
|
||||
.saturating_add(Weight::from_ref_time(1_989).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `318 + s * (2 ±0)`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 34_276 nanoseconds.
|
||||
Weight::from_ref_time(27_774_222)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
// Standard Error: 572
|
||||
.saturating_add(Weight::from_ref_time(72_628).saturating_mul(s.into()))
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(1_520).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_546 nanoseconds.
|
||||
Weight::from_ref_time(25_169_963)
|
||||
// Standard Error: 1_128
|
||||
.saturating_add(Weight::from_ref_time(146_631).saturating_mul(s.into()))
|
||||
// Standard Error: 11
|
||||
.saturating_add(Weight::from_ref_time(1_991).saturating_mul(z.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `317`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 26_382 nanoseconds.
|
||||
Weight::from_ref_time(20_069_044)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
// Standard Error: 465
|
||||
.saturating_add(Weight::from_ref_time(69_194).saturating_mul(s.into()))
|
||||
// Standard Error: 4
|
||||
.saturating_add(Weight::from_ref_time(1_475).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
/// The range of component `z` is `[0, 10000]`.
|
||||
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
||||
// Minimum execution time: 55_443 nanoseconds.
|
||||
Weight::from_ref_time(39_207_697)
|
||||
// Standard Error: 1_555
|
||||
.saturating_add(Weight::from_ref_time(181_070).saturating_mul(s.into()))
|
||||
// Standard Error: 15
|
||||
.saturating_add(Weight::from_ref_time(2_002).saturating_mul(z.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `455 + s * (33 ±0)`
|
||||
// Estimated: `8424`
|
||||
// Minimum execution time: 39_034 nanoseconds.
|
||||
Weight::from_ref_time(31_465_196)
|
||||
.saturating_add(Weight::from_proof_size(8424))
|
||||
// Standard Error: 468
|
||||
.saturating_add(Weight::from_ref_time(83_996).saturating_mul(s.into()))
|
||||
// Standard Error: 4
|
||||
.saturating_add(Weight::from_ref_time(1_529).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||
/// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_create(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 34_561 nanoseconds.
|
||||
Weight::from_ref_time(37_133_873)
|
||||
// Standard Error: 1_713
|
||||
.saturating_add(Weight::from_ref_time(147_916).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_505 nanoseconds.
|
||||
Weight::from_ref_time(24_874_604)
|
||||
// Standard Error: 1_443
|
||||
.saturating_add(Weight::from_ref_time(141_186).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `325 + s * (2 ±0)`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 25_565 nanoseconds.
|
||||
Weight::from_ref_time(26_551_634)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
// Standard Error: 630
|
||||
.saturating_add(Weight::from_ref_time(74_629).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: `317`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 17_875 nanoseconds.
|
||||
Weight::from_ref_time(18_315_145)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
// Standard Error: 608
|
||||
.saturating_add(Weight::from_ref_time(73_312).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
|
||||
/// The range of component `s` is `[2, 100]`.
|
||||
fn cancel_as_multi(s: u32, ) -> Weight {
|
||||
// Minimum execution time: 34_332 nanoseconds.
|
||||
Weight::from_ref_time(36_490_558)
|
||||
// Standard Error: 1_593
|
||||
.saturating_add(Weight::from_ref_time(147_918).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `521 + s * (1 ±0)`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 26_936 nanoseconds.
|
||||
Weight::from_ref_time(28_031_097)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
// Standard Error: 746
|
||||
.saturating_add(Weight::from_ref_time(75_056).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
@@ -16,24 +16,22 @@
|
||||
//! Autogenerated weights for `pallet_nomination_pools`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2023-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `runner-ehxwxxsd-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/production/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=polkadot-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_nomination_pools
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/builds/parity/mirrors/polkadot/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_nomination_pools
|
||||
// --chain=polkadot-dev
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/polkadot/src/weights/
|
||||
|
||||
@@ -77,8 +75,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3468`
|
||||
// Estimated: `38468`
|
||||
// Minimum execution time: 152_199 nanoseconds.
|
||||
Weight::from_ref_time(157_673_000)
|
||||
// Minimum execution time: 138_821 nanoseconds.
|
||||
Weight::from_ref_time(141_643_000)
|
||||
.saturating_add(Weight::from_proof_size(38468))
|
||||
.saturating_add(T::DbWeight::get().reads(17))
|
||||
.saturating_add(T::DbWeight::get().writes(12))
|
||||
@@ -105,8 +103,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3510`
|
||||
// Estimated: `39063`
|
||||
// Minimum execution time: 150_270 nanoseconds.
|
||||
Weight::from_ref_time(155_619_000)
|
||||
// Minimum execution time: 136_347 nanoseconds.
|
||||
Weight::from_ref_time(138_251_000)
|
||||
.saturating_add(Weight::from_proof_size(39063))
|
||||
.saturating_add(T::DbWeight::get().reads(14))
|
||||
.saturating_add(T::DbWeight::get().writes(12))
|
||||
@@ -135,8 +133,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3393`
|
||||
// Estimated: `38950`
|
||||
// Minimum execution time: 164_700 nanoseconds.
|
||||
Weight::from_ref_time(169_418_000)
|
||||
// Minimum execution time: 148_871 nanoseconds.
|
||||
Weight::from_ref_time(150_708_000)
|
||||
.saturating_add(Weight::from_proof_size(38950))
|
||||
.saturating_add(T::DbWeight::get().reads(14))
|
||||
.saturating_add(T::DbWeight::get().writes(12))
|
||||
@@ -155,8 +153,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1220`
|
||||
// Estimated: `13485`
|
||||
// Minimum execution time: 56_711 nanoseconds.
|
||||
Weight::from_ref_time(58_399_000)
|
||||
// Minimum execution time: 55_263 nanoseconds.
|
||||
Weight::from_ref_time(56_758_000)
|
||||
.saturating_add(Weight::from_proof_size(13485))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
@@ -189,17 +187,15 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// Proof: NominationPools SubPoolsStorage (max_values: None, max_size: Some(1197), added: 3672, mode: MaxEncodedLen)
|
||||
/// Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1)
|
||||
/// Proof: NominationPools CounterForSubPoolsStorage (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: NominationPools ClaimPermissions (r:0 w:1)
|
||||
/// Proof: NominationPools ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
|
||||
fn unbond() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3748`
|
||||
// Estimated: `44674`
|
||||
// Minimum execution time: 158_330 nanoseconds.
|
||||
Weight::from_ref_time(164_448_000)
|
||||
// Minimum execution time: 141_538 nanoseconds.
|
||||
Weight::from_ref_time(145_982_000)
|
||||
.saturating_add(Weight::from_proof_size(44674))
|
||||
.saturating_add(T::DbWeight::get().reads(18))
|
||||
.saturating_add(T::DbWeight::get().writes(14))
|
||||
.saturating_add(T::DbWeight::get().writes(13))
|
||||
}
|
||||
/// Storage: NominationPools BondedPools (r:1 w:0)
|
||||
/// Proof: NominationPools BondedPools (max_values: None, max_size: Some(164), added: 2639, mode: MaxEncodedLen)
|
||||
@@ -216,11 +212,11 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1672`
|
||||
// Estimated: `13025`
|
||||
// Minimum execution time: 52_454 nanoseconds.
|
||||
Weight::from_ref_time(54_517_406)
|
||||
// Minimum execution time: 50_576 nanoseconds.
|
||||
Weight::from_ref_time(51_661_297)
|
||||
.saturating_add(Weight::from_proof_size(13025))
|
||||
// Standard Error: 1_474
|
||||
.saturating_add(Weight::from_ref_time(55_026).saturating_mul(s.into()))
|
||||
// Standard Error: 890
|
||||
.saturating_add(Weight::from_ref_time(9_936).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -242,18 +238,20 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: NominationPools CounterForPoolMembers (r:1 w:1)
|
||||
/// Proof: NominationPools CounterForPoolMembers (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: NominationPools ClaimPermissions (r:0 w:1)
|
||||
/// Proof: NominationPools ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_update(s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2196`
|
||||
// Estimated: `22991`
|
||||
// Minimum execution time: 98_434 nanoseconds.
|
||||
Weight::from_ref_time(103_207_163)
|
||||
// Minimum execution time: 93_998 nanoseconds.
|
||||
Weight::from_ref_time(95_463_915)
|
||||
.saturating_add(Weight::from_proof_size(22991))
|
||||
// Standard Error: 2_701
|
||||
.saturating_add(Weight::from_ref_time(68_680).saturating_mul(s.into()))
|
||||
// Standard Error: 1_047
|
||||
.saturating_add(Weight::from_ref_time(17_510).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(9))
|
||||
.saturating_add(T::DbWeight::get().writes(7))
|
||||
.saturating_add(T::DbWeight::get().writes(8))
|
||||
}
|
||||
/// Storage: NominationPools PoolMembers (r:1 w:1)
|
||||
/// Proof: NominationPools PoolMembers (max_values: None, max_size: Some(717), added: 3192, mode: MaxEncodedLen)
|
||||
@@ -295,18 +293,18 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
/// Proof: NominationPools CounterForBondedPools (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
/// Storage: Staking Payee (r:0 w:1)
|
||||
/// Proof: Staking Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
||||
/// Storage: NominationPools ClaimPermissions (r:0 w:1)
|
||||
/// Proof: NominationPools ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
|
||||
/// The range of component `s` is `[0, 100]`.
|
||||
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
|
||||
fn withdraw_unbonded_kill(_s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2584`
|
||||
// Estimated: `46001`
|
||||
// Minimum execution time: 153_991 nanoseconds.
|
||||
Weight::from_ref_time(160_710_694)
|
||||
// Minimum execution time: 145_214 nanoseconds.
|
||||
Weight::from_ref_time(148_632_571)
|
||||
.saturating_add(Weight::from_proof_size(46001))
|
||||
// Standard Error: 3_944
|
||||
.saturating_add(Weight::from_ref_time(4_851).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(20))
|
||||
.saturating_add(T::DbWeight::get().writes(17))
|
||||
.saturating_add(T::DbWeight::get().writes(18))
|
||||
}
|
||||
/// Storage: NominationPools LastPoolId (r:1 w:1)
|
||||
/// Proof: NominationPools LastPoolId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
@@ -354,8 +352,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1220`
|
||||
// Estimated: `32002`
|
||||
// Minimum execution time: 133_178 nanoseconds.
|
||||
Weight::from_ref_time(139_719_000)
|
||||
// Minimum execution time: 128_238 nanoseconds.
|
||||
Weight::from_ref_time(130_135_000)
|
||||
.saturating_add(Weight::from_proof_size(32002))
|
||||
.saturating_add(T::DbWeight::get().reads(21))
|
||||
.saturating_add(T::DbWeight::get().writes(15))
|
||||
@@ -389,11 +387,11 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1805`
|
||||
// Estimated: `21998 + n * (2520 ±0)`
|
||||
// Minimum execution time: 64_454 nanoseconds.
|
||||
Weight::from_ref_time(66_211_268)
|
||||
// Minimum execution time: 61_163 nanoseconds.
|
||||
Weight::from_ref_time(61_795_451)
|
||||
.saturating_add(Weight::from_proof_size(21998))
|
||||
// Standard Error: 8_856
|
||||
.saturating_add(Weight::from_ref_time(1_214_910).saturating_mul(n.into()))
|
||||
// Standard Error: 10_555
|
||||
.saturating_add(Weight::from_ref_time(1_112_812).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(12))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
@@ -409,8 +407,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1393`
|
||||
// Estimated: `8752`
|
||||
// Minimum execution time: 32_632 nanoseconds.
|
||||
Weight::from_ref_time(34_156_000)
|
||||
// Minimum execution time: 31_553 nanoseconds.
|
||||
Weight::from_ref_time(32_021_000)
|
||||
.saturating_add(Weight::from_proof_size(8752))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -426,11 +424,11 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `525`
|
||||
// Estimated: `5883`
|
||||
// Minimum execution time: 13_558 nanoseconds.
|
||||
Weight::from_ref_time(14_425_466)
|
||||
// Minimum execution time: 13_537 nanoseconds.
|
||||
Weight::from_ref_time(14_140_818)
|
||||
.saturating_add(Weight::from_proof_size(5883))
|
||||
// Standard Error: 163
|
||||
.saturating_add(Weight::from_ref_time(1_089).saturating_mul(n.into()))
|
||||
// Standard Error: 108
|
||||
.saturating_add(Weight::from_ref_time(1_394).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -448,8 +446,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 4_500 nanoseconds.
|
||||
Weight::from_ref_time(4_878_000)
|
||||
// Minimum execution time: 4_626 nanoseconds.
|
||||
Weight::from_ref_time(4_783_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
@@ -459,8 +457,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `525`
|
||||
// Estimated: `2639`
|
||||
// Minimum execution time: 18_420 nanoseconds.
|
||||
Weight::from_ref_time(19_058_000)
|
||||
// Minimum execution time: 18_428 nanoseconds.
|
||||
Weight::from_ref_time(18_781_000)
|
||||
.saturating_add(Weight::from_proof_size(2639))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -487,8 +485,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2032`
|
||||
// Estimated: `20489`
|
||||
// Minimum execution time: 63_588 nanoseconds.
|
||||
Weight::from_ref_time(65_776_000)
|
||||
// Minimum execution time: 60_522 nanoseconds.
|
||||
Weight::from_ref_time(61_308_000)
|
||||
.saturating_add(Weight::from_proof_size(20489))
|
||||
.saturating_add(T::DbWeight::get().reads(9))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
@@ -501,8 +499,8 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `508`
|
||||
// Estimated: `5708`
|
||||
// Minimum execution time: 14_303 nanoseconds.
|
||||
Weight::from_ref_time(15_001_000)
|
||||
// Minimum execution time: 14_159 nanoseconds.
|
||||
Weight::from_ref_time(14_475_000)
|
||||
.saturating_add(Weight::from_proof_size(5708))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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: 30_920 nanoseconds.
|
||||
Weight::from_ref_time(243_888_362)
|
||||
// Standard Error: 11
|
||||
.saturating_add(Weight::from_ref_time(2_471).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `175`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 23_420 nanoseconds.
|
||||
Weight::from_ref_time(23_601_000)
|
||||
.saturating_add(Weight::from_proof_size(2566))
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_291).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: 21_061 nanoseconds.
|
||||
Weight::from_ref_time(66_637_860)
|
||||
// Standard Error: 9
|
||||
.saturating_add(Weight::from_ref_time(2_684).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `106`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 15_466 nanoseconds.
|
||||
Weight::from_ref_time(15_631_000)
|
||||
.saturating_add(Weight::from_proof_size(2566))
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_291).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: 19_890 nanoseconds.
|
||||
Weight::from_ref_time(20_389_000)
|
||||
// Standard Error: 4
|
||||
.saturating_add(Weight::from_ref_time(2_803).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `106`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 14_425 nanoseconds.
|
||||
Weight::from_ref_time(14_815_000)
|
||||
.saturating_add(Weight::from_proof_size(2566))
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(2_298).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: 54_864 nanoseconds.
|
||||
Weight::from_ref_time(64_377_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `353`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 33_965 nanoseconds.
|
||||
Weight::from_ref_time(37_296_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: 40_679 nanoseconds.
|
||||
Weight::from_ref_time(45_704_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `144`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 20_975 nanoseconds.
|
||||
Weight::from_ref_time(21_973_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: 34_255 nanoseconds.
|
||||
Weight::from_ref_time(45_595_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `220`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 18_736 nanoseconds.
|
||||
Weight::from_ref_time(19_671_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: 20_682 nanoseconds.
|
||||
Weight::from_ref_time(25_215_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `144`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 11_788 nanoseconds.
|
||||
Weight::from_ref_time(12_505_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_085 nanoseconds.
|
||||
Weight::from_ref_time(31_699_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `42`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 12_785 nanoseconds.
|
||||
Weight::from_ref_time(13_444_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: 11_209 nanoseconds.
|
||||
Weight::from_ref_time(12_533_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `106`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 8_098 nanoseconds.
|
||||
Weight::from_ref_time(8_414_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: 39_265 nanoseconds.
|
||||
Weight::from_ref_time(48_641_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `144`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 19_761 nanoseconds.
|
||||
Weight::from_ref_time(20_594_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_661 nanoseconds.
|
||||
Weight::from_ref_time(11_562_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `106`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 8_100 nanoseconds.
|
||||
Weight::from_ref_time(8_519_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: 9_726 nanoseconds.
|
||||
Weight::from_ref_time(11_510_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `106`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 8_142 nanoseconds.
|
||||
Weight::from_ref_time(8_398_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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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_749 nanoseconds.
|
||||
Weight::from_ref_time(21_852_992)
|
||||
// Standard Error: 2_405
|
||||
.saturating_add(Weight::from_ref_time(24_871).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `259 + p * (37 ±0)`
|
||||
// Estimated: `3716`
|
||||
// Minimum execution time: 13_832 nanoseconds.
|
||||
Weight::from_ref_time(14_442_520)
|
||||
.saturating_add(Weight::from_proof_size(3716))
|
||||
// Standard Error: 1_021
|
||||
.saturating_add(Weight::from_ref_time(28_863).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: 39_182 nanoseconds.
|
||||
Weight::from_ref_time(40_925_864)
|
||||
// Standard Error: 2_922
|
||||
.saturating_add(Weight::from_ref_time(119_707).saturating_mul(a.into()))
|
||||
// Standard Error: 3_019
|
||||
.saturating_add(Weight::from_ref_time(28_938).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `650 + a * (68 ±0) + p * (37 ±0)`
|
||||
// Estimated: `11027`
|
||||
// Minimum execution time: 30_796 nanoseconds.
|
||||
Weight::from_ref_time(31_227_638)
|
||||
.saturating_add(Weight::from_proof_size(11027))
|
||||
// Standard Error: 1_869
|
||||
.saturating_add(Weight::from_ref_time(113_806).saturating_mul(a.into()))
|
||||
// Standard Error: 1_931
|
||||
.saturating_add(Weight::from_ref_time(27_022).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_243 nanoseconds.
|
||||
Weight::from_ref_time(28_801_723)
|
||||
// Standard Error: 2_606
|
||||
.saturating_add(Weight::from_ref_time(136_830).saturating_mul(a.into()))
|
||||
// Standard Error: 2_692
|
||||
.saturating_add(Weight::from_ref_time(1_102).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: 18_958 nanoseconds.
|
||||
Weight::from_ref_time(20_239_017)
|
||||
.saturating_add(Weight::from_proof_size(7311))
|
||||
// Standard Error: 1_355
|
||||
.saturating_add(Weight::from_ref_time(113_650).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_089 nanoseconds.
|
||||
Weight::from_ref_time(28_057_611)
|
||||
// Standard Error: 2_737
|
||||
.saturating_add(Weight::from_ref_time(141_298).saturating_mul(a.into()))
|
||||
// Standard Error: 2_827
|
||||
.saturating_add(Weight::from_ref_time(28_157).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: 18_995 nanoseconds.
|
||||
Weight::from_ref_time(20_199_358)
|
||||
.saturating_add(Weight::from_proof_size(7311))
|
||||
// Standard Error: 1_342
|
||||
.saturating_add(Weight::from_ref_time(116_272).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: 35_661 nanoseconds.
|
||||
Weight::from_ref_time(37_543_831)
|
||||
// Standard Error: 2_993
|
||||
.saturating_add(Weight::from_ref_time(138_950).saturating_mul(a.into()))
|
||||
// Standard Error: 3_093
|
||||
.saturating_add(Weight::from_ref_time(42_513).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `582 + a * (68 ±0) + p * (37 ±0)`
|
||||
// Estimated: `11027`
|
||||
// Minimum execution time: 26_534 nanoseconds.
|
||||
Weight::from_ref_time(28_201_035)
|
||||
.saturating_add(Weight::from_proof_size(11027))
|
||||
// Standard Error: 1_726
|
||||
.saturating_add(Weight::from_ref_time(105_990).saturating_mul(a.into()))
|
||||
// Standard Error: 1_784
|
||||
.saturating_add(Weight::from_ref_time(24_130).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_001 nanoseconds.
|
||||
Weight::from_ref_time(31_427_610)
|
||||
// Standard Error: 1_982
|
||||
.saturating_add(Weight::from_ref_time(61_157).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `259 + p * (37 ±0)`
|
||||
// Estimated: `3716`
|
||||
// Minimum execution time: 19_916 nanoseconds.
|
||||
Weight::from_ref_time(20_748_217)
|
||||
.saturating_add(Weight::from_proof_size(3716))
|
||||
// Standard Error: 1_323
|
||||
.saturating_add(Weight::from_ref_time(53_613).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: 28_976 nanoseconds.
|
||||
Weight::from_ref_time(30_915_733)
|
||||
// Standard Error: 2_440
|
||||
.saturating_add(Weight::from_ref_time(77_826).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `259 + p * (37 ±0)`
|
||||
// Estimated: `3716`
|
||||
// Minimum execution time: 19_835 nanoseconds.
|
||||
Weight::from_ref_time(20_703_384)
|
||||
.saturating_add(Weight::from_proof_size(3716))
|
||||
// Standard Error: 1_701
|
||||
.saturating_add(Weight::from_ref_time(59_140).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_360 nanoseconds.
|
||||
Weight::from_ref_time(26_850_611)
|
||||
// Standard Error: 2_438
|
||||
.saturating_add(Weight::from_ref_time(33_850).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `259 + p * (37 ±0)`
|
||||
// Estimated: `3716`
|
||||
// Minimum execution time: 15_890 nanoseconds.
|
||||
Weight::from_ref_time(16_581_204)
|
||||
.saturating_add(Weight::from_proof_size(3716))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add(Weight::from_ref_time(31_311).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_030 nanoseconds.
|
||||
Weight::from_ref_time(34_749_579)
|
||||
// Standard Error: 2_317
|
||||
.saturating_add(Weight::from_ref_time(19_577).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `239`
|
||||
// Estimated: `3716`
|
||||
// Minimum execution time: 21_585 nanoseconds.
|
||||
Weight::from_ref_time(22_389_421)
|
||||
.saturating_add(Weight::from_proof_size(3716))
|
||||
// Standard Error: 1_248
|
||||
.saturating_add(Weight::from_ref_time(6_385).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// Storage: Proxy Proxies (r:1 w:1)
|
||||
/// Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen)
|
||||
/// The range of component `p` is `[0, 30]`.
|
||||
fn kill_pure(p: u32, ) -> Weight {
|
||||
// Minimum execution time: 26_732 nanoseconds.
|
||||
Weight::from_ref_time(28_055_090)
|
||||
// Standard Error: 2_142
|
||||
.saturating_add(Weight::from_ref_time(39_034).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `296 + p * (37 ±0)`
|
||||
// Estimated: `3716`
|
||||
// Minimum execution time: 16_870 nanoseconds.
|
||||
Weight::from_ref_time(17_419_351)
|
||||
.saturating_add(Weight::from_proof_size(3716))
|
||||
// Standard Error: 938
|
||||
.saturating_add(Weight::from_ref_time(36_477).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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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: 4_982 nanoseconds.
|
||||
Weight::from_ref_time(5_281_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `69`
|
||||
// Estimated: `499`
|
||||
// Minimum execution time: 4_806 nanoseconds.
|
||||
Weight::from_ref_time(5_035_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_553 nanoseconds.
|
||||
Weight::from_ref_time(6_922_848)
|
||||
// Standard Error: 2_117
|
||||
.saturating_add(Weight::from_ref_time(805_874).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `148 + s * (177 ±0)`
|
||||
// Estimated: `41438`
|
||||
// Minimum execution time: 4_118 nanoseconds.
|
||||
Weight::from_ref_time(8_762_405)
|
||||
.saturating_add(Weight::from_proof_size(41438))
|
||||
// Standard Error: 5_025
|
||||
.saturating_add(Weight::from_ref_time(693_418).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_784 nanoseconds.
|
||||
Weight::from_ref_time(11_050_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 5_240 nanoseconds.
|
||||
Weight::from_ref_time(5_505_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_776 nanoseconds.
|
||||
Weight::from_ref_time(24_041_000)
|
||||
// Standard Error: 3
|
||||
.saturating_add(Weight::from_ref_time(1_675).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `211 + s * (1 ±0)`
|
||||
// Estimated: `5252 + s * (1 ±0)`
|
||||
// Minimum execution time: 17_995 nanoseconds.
|
||||
Weight::from_ref_time(18_211_000)
|
||||
.saturating_add(Weight::from_proof_size(5252))
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(1_168).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: 12_175 nanoseconds.
|
||||
Weight::from_ref_time(12_662_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_542 nanoseconds.
|
||||
Weight::from_ref_time(6_839_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
fn service_task_periodic() -> Weight {
|
||||
// Minimum execution time: 10_733 nanoseconds.
|
||||
Weight::from_ref_time(11_107_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 5_129 nanoseconds.
|
||||
Weight::from_ref_time(5_321_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
fn execute_dispatch_signed() -> Weight {
|
||||
// Minimum execution time: 3_944 nanoseconds.
|
||||
Weight::from_ref_time(4_069_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_473 nanoseconds.
|
||||
Weight::from_ref_time(2_555_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
fn execute_dispatch_unsigned() -> Weight {
|
||||
// Minimum execution time: 3_948 nanoseconds.
|
||||
Weight::from_ref_time(4_092_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_331 nanoseconds.
|
||||
Weight::from_ref_time(2_494_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_594 nanoseconds.
|
||||
Weight::from_ref_time(21_305_847)
|
||||
// Standard Error: 3_395
|
||||
.saturating_add(Weight::from_ref_time(863_487).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `148 + s * (177 ±0)`
|
||||
// Estimated: `41438`
|
||||
// Minimum execution time: 13_241 nanoseconds.
|
||||
Weight::from_ref_time(16_391_558)
|
||||
.saturating_add(Weight::from_proof_size(41438))
|
||||
// Standard Error: 2_240
|
||||
.saturating_add(Weight::from_ref_time(738_603).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: 22_178 nanoseconds.
|
||||
Weight::from_ref_time(21_547_752)
|
||||
// Standard Error: 3_349
|
||||
.saturating_add(Weight::from_ref_time(1_489_602).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `148 + s * (177 ±0)`
|
||||
// Estimated: `41438`
|
||||
// Minimum execution time: 17_945 nanoseconds.
|
||||
Weight::from_ref_time(17_048_555)
|
||||
.saturating_add(Weight::from_proof_size(41438))
|
||||
// Standard Error: 2_701
|
||||
.saturating_add(Weight::from_ref_time(1_319_435).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: 21_462 nanoseconds.
|
||||
Weight::from_ref_time(24_799_593)
|
||||
// Standard Error: 3_553
|
||||
.saturating_add(Weight::from_ref_time(905_524).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `325 + s * (185 ±0)`
|
||||
// Estimated: `43961`
|
||||
// Minimum execution time: 15_926 nanoseconds.
|
||||
Weight::from_ref_time(20_243_204)
|
||||
.saturating_add(Weight::from_proof_size(43961))
|
||||
// Standard Error: 3_696
|
||||
.saturating_add(Weight::from_ref_time(765_081).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: 23_536 nanoseconds.
|
||||
Weight::from_ref_time(23_724_872)
|
||||
// Standard Error: 3_494
|
||||
.saturating_add(Weight::from_ref_time(1_499_897).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `351 + s * (185 ±0)`
|
||||
// Estimated: `43961`
|
||||
// Minimum execution time: 18_110 nanoseconds.
|
||||
Weight::from_ref_time(18_859_126)
|
||||
.saturating_add(Weight::from_proof_size(43961))
|
||||
// Standard Error: 2_249
|
||||
.saturating_add(Weight::from_ref_time(1_329_477).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_session`
|
||||
//!
|
||||
//! 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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,21 +45,35 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_session`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:6 w:6)
|
||||
/// Storage: Staking Ledger (r:1 w:0)
|
||||
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
|
||||
/// Storage: Session NextKeys (r:1 w:1)
|
||||
/// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Session KeyOwner (r:6 w:6)
|
||||
/// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured)
|
||||
fn set_keys() -> Weight {
|
||||
// Minimum execution time: 62_631 nanoseconds.
|
||||
Weight::from_ref_time(64_606_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1951`
|
||||
// Estimated: `24793`
|
||||
// Minimum execution time: 48_227 nanoseconds.
|
||||
Weight::from_ref_time(48_750_000)
|
||||
.saturating_add(Weight::from_proof_size(24793))
|
||||
.saturating_add(T::DbWeight::get().reads(8))
|
||||
.saturating_add(T::DbWeight::get().writes(7))
|
||||
}
|
||||
// Storage: Staking Ledger (r:1 w:0)
|
||||
// Storage: Session NextKeys (r:1 w:1)
|
||||
// Storage: Session KeyOwner (r:0 w:6)
|
||||
/// Storage: Staking Ledger (r:1 w:0)
|
||||
/// Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)
|
||||
/// Storage: Session NextKeys (r:1 w:1)
|
||||
/// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Session KeyOwner (r:0 w:6)
|
||||
/// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured)
|
||||
fn purge_keys() -> Weight {
|
||||
// Minimum execution time: 47_344 nanoseconds.
|
||||
Weight::from_ref_time(48_577_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1847`
|
||||
// Estimated: `9735`
|
||||
// Minimum execution time: 34_776 nanoseconds.
|
||||
Weight::from_ref_time(35_555_000)
|
||||
.saturating_add(Weight::from_proof_size(9735))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(7))
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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: 9_879 nanoseconds.
|
||||
Weight::from_ref_time(10_493_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `345`
|
||||
// Estimated: `1006`
|
||||
// Minimum execution time: 9_477 nanoseconds.
|
||||
Weight::from_ref_time(9_745_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_325 nanoseconds.
|
||||
Weight::from_ref_time(4_459_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `128`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 4_592 nanoseconds.
|
||||
Weight::from_ref_time(4_786_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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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: 30_971 nanoseconds.
|
||||
Weight::from_ref_time(32_661_165)
|
||||
// Standard Error: 9
|
||||
.saturating_add(Weight::from_ref_time(2_208).saturating_mul(r.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4`
|
||||
// Estimated: `4958`
|
||||
// Minimum execution time: 21_264 nanoseconds.
|
||||
Weight::from_ref_time(21_991_013)
|
||||
.saturating_add(Weight::from_proof_size(4958))
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(1_793).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_323 nanoseconds.
|
||||
Weight::from_ref_time(31_539_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `253`
|
||||
// Estimated: `2981`
|
||||
// Minimum execution time: 21_014 nanoseconds.
|
||||
Weight::from_ref_time(21_265_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, 13]`.
|
||||
fn tip_new(r: u32, t: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_101 nanoseconds.
|
||||
Weight::from_ref_time(21_413_574)
|
||||
// Standard Error: 10
|
||||
.saturating_add(Weight::from_ref_time(2_048).saturating_mul(r.into()))
|
||||
// Standard Error: 13_189
|
||||
.saturating_add(Weight::from_ref_time(290_540).saturating_mul(t.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `106 + t * (64 ±0)`
|
||||
// Estimated: `3288 + t * (192 ±0)`
|
||||
// Minimum execution time: 18_407 nanoseconds.
|
||||
Weight::from_ref_time(16_892_035)
|
||||
.saturating_add(Weight::from_proof_size(3288))
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(1_653).saturating_mul(r.into()))
|
||||
// Standard Error: 10_236
|
||||
.saturating_add(Weight::from_ref_time(216_771).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, 13]`.
|
||||
fn tip(t: u32, ) -> Weight {
|
||||
// Minimum execution time: 15_132 nanoseconds.
|
||||
Weight::from_ref_time(15_779_311)
|
||||
// Standard Error: 2_493
|
||||
.saturating_add(Weight::from_ref_time(160_275).saturating_mul(t.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `359 + t * (112 ±0)`
|
||||
// Estimated: `3688 + t * (224 ±0)`
|
||||
// Minimum execution time: 14_440 nanoseconds.
|
||||
Weight::from_ref_time(14_823_159)
|
||||
.saturating_add(Weight::from_proof_size(3688))
|
||||
// Standard Error: 1_912
|
||||
.saturating_add(Weight::from_ref_time(110_888).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, 13]`.
|
||||
fn close_tip(t: u32, ) -> Weight {
|
||||
// Minimum execution time: 48_794 nanoseconds.
|
||||
Weight::from_ref_time(50_936_973)
|
||||
// Standard Error: 9_234
|
||||
.saturating_add(Weight::from_ref_time(166_623).saturating_mul(t.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `398 + t * (112 ±0)`
|
||||
// Estimated: `6740 + t * (336 ±0)`
|
||||
// Minimum execution time: 38_879 nanoseconds.
|
||||
Weight::from_ref_time(40_518_687)
|
||||
.saturating_add(Weight::from_proof_size(6740))
|
||||
// Standard Error: 7_525
|
||||
.saturating_add(Weight::from_ref_time(120_106).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, 13]`.
|
||||
fn slash_tip(t: u32, ) -> Weight {
|
||||
// Minimum execution time: 19_287 nanoseconds.
|
||||
Weight::from_ref_time(20_337_768)
|
||||
// Standard Error: 3_066
|
||||
.saturating_add(Weight::from_ref_time(5_463).saturating_mul(t.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `301`
|
||||
// Estimated: `3077`
|
||||
// Minimum execution time: 13_724 nanoseconds.
|
||||
Weight::from_ref_time(14_455_797)
|
||||
.saturating_add(Weight::from_proof_size(3077))
|
||||
// Standard Error: 1_799
|
||||
.saturating_add(Weight::from_ref_time(18_372).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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,64 +45,105 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_treasury`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
|
||||
// Storage: Treasury ProposalCount (r:1 w:1)
|
||||
// Storage: Treasury Approvals (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 Approvals (r:1 w:1)
|
||||
/// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen)
|
||||
/// Storage: Treasury Proposals (r:0 w:1)
|
||||
/// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen)
|
||||
fn spend() -> Weight {
|
||||
// Minimum execution time: 18_833 nanoseconds.
|
||||
Weight::from_ref_time(19_399_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `6`
|
||||
// Estimated: `1396`
|
||||
// Minimum execution time: 13_846 nanoseconds.
|
||||
Weight::from_ref_time(14_168_000)
|
||||
.saturating_add(Weight::from_proof_size(1396))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// 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: 27_913 nanoseconds.
|
||||
Weight::from_ref_time(28_405_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `139`
|
||||
// Estimated: `499`
|
||||
// Minimum execution time: 21_587 nanoseconds.
|
||||
Weight::from_ref_time(22_144_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: 40_413 nanoseconds.
|
||||
Weight::from_ref_time(41_585_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `329`
|
||||
// Estimated: `5186`
|
||||
// Minimum execution time: 31_655 nanoseconds.
|
||||
Weight::from_ref_time(32_143_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_312 nanoseconds.
|
||||
Weight::from_ref_time(12_390_551)
|
||||
// Standard Error: 1_381
|
||||
.saturating_add(Weight::from_ref_time(104_919).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `464 + p * (8 ±0)`
|
||||
// Estimated: `3480`
|
||||
// Minimum execution time: 9_197 nanoseconds.
|
||||
Weight::from_ref_time(11_264_743)
|
||||
.saturating_add(Weight::from_proof_size(3480))
|
||||
// Standard Error: 777
|
||||
.saturating_add(Weight::from_ref_time(28_550).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: 7_853 nanoseconds.
|
||||
Weight::from_ref_time(8_207_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `90`
|
||||
// Estimated: `897`
|
||||
// Minimum execution time: 6_894 nanoseconds.
|
||||
Weight::from_ref_time(7_116_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: Treasury Proposals (r:2 w:2)
|
||||
// Storage: System Account (r:4 w:4)
|
||||
/// 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:200 w:200)
|
||||
/// 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: 45_445 nanoseconds.
|
||||
Weight::from_ref_time(53_324_539)
|
||||
// Standard Error: 10_658
|
||||
.saturating_add(Weight::from_ref_time(30_232_100).saturating_mul(p.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `245 + p * (314 ±0)`
|
||||
// Estimated: `2816 + p * (7789 ±0)`
|
||||
// Minimum execution time: 35_204 nanoseconds.
|
||||
Weight::from_ref_time(38_900_415)
|
||||
.saturating_add(Weight::from_proof_size(2816))
|
||||
// Standard Error: 24_841
|
||||
.saturating_add(Weight::from_ref_time(27_980_186).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
.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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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_477 nanoseconds.
|
||||
Weight::from_ref_time(19_701_610)
|
||||
// Standard Error: 3_487
|
||||
.saturating_add(Weight::from_ref_time(4_222_264).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_069 nanoseconds.
|
||||
Weight::from_ref_time(16_259_285)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 2_427
|
||||
.saturating_add(Weight::from_ref_time(3_853_967).saturating_mul(c.into()))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
// Minimum execution time: 5_818 nanoseconds.
|
||||
Weight::from_ref_time(6_052_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 4_315 nanoseconds.
|
||||
Weight::from_ref_time(4_505_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_742 nanoseconds.
|
||||
Weight::from_ref_time(21_587_185)
|
||||
// Standard Error: 2_987
|
||||
.saturating_add(Weight::from_ref_time(4_349_988).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_114 nanoseconds.
|
||||
Weight::from_ref_time(4_214_513)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 3_604
|
||||
.saturating_add(Weight::from_ref_time(4_114_619).saturating_mul(c.into()))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
// Minimum execution time: 14_581 nanoseconds.
|
||||
Weight::from_ref_time(15_256_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 7_990 nanoseconds.
|
||||
Weight::from_ref_time(8_278_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_732 nanoseconds.
|
||||
Weight::from_ref_time(12_971_397)
|
||||
// Standard Error: 3_490
|
||||
.saturating_add(Weight::from_ref_time(4_228_147).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_056 nanoseconds.
|
||||
Weight::from_ref_time(14_335_074)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 2_479
|
||||
.saturating_add(Weight::from_ref_time(3_851_747).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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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: 39_630 nanoseconds.
|
||||
Weight::from_ref_time(38_793_491)
|
||||
// Standard Error: 2_193
|
||||
.saturating_add(Weight::from_ref_time(56_758).saturating_mul(l.into()))
|
||||
// Standard Error: 3_902
|
||||
.saturating_add(Weight::from_ref_time(104_209).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `377 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `7306`
|
||||
// Minimum execution time: 27_096 nanoseconds.
|
||||
Weight::from_ref_time(26_684_614)
|
||||
.saturating_add(Weight::from_proof_size(7306))
|
||||
// Standard Error: 1_046
|
||||
.saturating_add(Weight::from_ref_time(34_776).saturating_mul(l.into()))
|
||||
// Standard Error: 1_861
|
||||
.saturating_add(Weight::from_ref_time(53_969).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: 39_009 nanoseconds.
|
||||
Weight::from_ref_time(39_516_539)
|
||||
// Standard Error: 2_449
|
||||
.saturating_add(Weight::from_ref_time(32_505).saturating_mul(l.into()))
|
||||
// Standard Error: 4_358
|
||||
.saturating_add(Weight::from_ref_time(73_752).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `377 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `7306`
|
||||
// Minimum execution time: 26_359 nanoseconds.
|
||||
Weight::from_ref_time(25_956_410)
|
||||
.saturating_add(Weight::from_proof_size(7306))
|
||||
// Standard Error: 693
|
||||
.saturating_add(Weight::from_ref_time(32_857).saturating_mul(l.into()))
|
||||
// Standard Error: 1_233
|
||||
.saturating_add(Weight::from_ref_time(47_251).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: 39_443 nanoseconds.
|
||||
Weight::from_ref_time(38_915_099)
|
||||
// Standard Error: 2_174
|
||||
.saturating_add(Weight::from_ref_time(48_144).saturating_mul(l.into()))
|
||||
// Standard Error: 3_868
|
||||
.saturating_add(Weight::from_ref_time(101_392).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `512 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `9909`
|
||||
// Minimum execution time: 29_713 nanoseconds.
|
||||
Weight::from_ref_time(29_046_299)
|
||||
.saturating_add(Weight::from_proof_size(9909))
|
||||
// Standard Error: 810
|
||||
.saturating_add(Weight::from_ref_time(40_118).saturating_mul(l.into()))
|
||||
// Standard Error: 1_442
|
||||
.saturating_add(Weight::from_ref_time(62_030).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_830 nanoseconds.
|
||||
Weight::from_ref_time(38_771_924)
|
||||
// Standard Error: 2_448
|
||||
.saturating_add(Weight::from_ref_time(32_979).saturating_mul(l.into()))
|
||||
// Standard Error: 4_356
|
||||
.saturating_add(Weight::from_ref_time(103_057).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `512 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `9909`
|
||||
// Minimum execution time: 29_153 nanoseconds.
|
||||
Weight::from_ref_time(28_820_750)
|
||||
.saturating_add(Weight::from_proof_size(9909))
|
||||
// Standard Error: 810
|
||||
.saturating_add(Weight::from_ref_time(35_059).saturating_mul(l.into()))
|
||||
// Standard Error: 1_441
|
||||
.saturating_add(Weight::from_ref_time(50_463).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: 55_587 nanoseconds.
|
||||
Weight::from_ref_time(56_398_819)
|
||||
// Standard Error: 2_992
|
||||
.saturating_add(Weight::from_ref_time(38_787).saturating_mul(l.into()))
|
||||
// Standard Error: 5_324
|
||||
.saturating_add(Weight::from_ref_time(91_047).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `583 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `9909`
|
||||
// Minimum execution time: 42_065 nanoseconds.
|
||||
Weight::from_ref_time(42_576_844)
|
||||
.saturating_add(Weight::from_proof_size(9909))
|
||||
// Standard Error: 1_749
|
||||
.saturating_add(Weight::from_ref_time(31_852).saturating_mul(l.into()))
|
||||
// Standard Error: 3_112
|
||||
.saturating_add(Weight::from_ref_time(42_738).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: 55_058 nanoseconds.
|
||||
Weight::from_ref_time(54_757_286)
|
||||
// Standard Error: 3_122
|
||||
.saturating_add(Weight::from_ref_time(61_367).saturating_mul(l.into()))
|
||||
// Standard Error: 5_556
|
||||
.saturating_add(Weight::from_ref_time(103_123).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `718 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `12512`
|
||||
// Minimum execution time: 44_430 nanoseconds.
|
||||
Weight::from_ref_time(45_216_403)
|
||||
.saturating_add(Weight::from_proof_size(12512))
|
||||
// Standard Error: 1_992
|
||||
.saturating_add(Weight::from_ref_time(39_729).saturating_mul(l.into()))
|
||||
// Standard Error: 3_545
|
||||
.saturating_add(Weight::from_ref_time(26_160).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: 40_458 nanoseconds.
|
||||
Weight::from_ref_time(40_670_966)
|
||||
// Standard Error: 2_267
|
||||
.saturating_add(Weight::from_ref_time(43_310).saturating_mul(l.into()))
|
||||
// Standard Error: 4_187
|
||||
.saturating_add(Weight::from_ref_time(95_586).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `510 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `9909`
|
||||
// Minimum execution time: 30_393 nanoseconds.
|
||||
Weight::from_ref_time(29_900_846)
|
||||
.saturating_add(Weight::from_proof_size(9909))
|
||||
// Standard Error: 916
|
||||
.saturating_add(Weight::from_ref_time(43_710).saturating_mul(l.into()))
|
||||
// Standard Error: 1_691
|
||||
.saturating_add(Weight::from_ref_time(60_655).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: 40_594 nanoseconds.
|
||||
Weight::from_ref_time(39_865_351)
|
||||
// Standard Error: 2_044
|
||||
.saturating_add(Weight::from_ref_time(62_001).saturating_mul(l.into()))
|
||||
// Standard Error: 3_775
|
||||
.saturating_add(Weight::from_ref_time(107_785).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `510 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `9909`
|
||||
// Minimum execution time: 30_576 nanoseconds.
|
||||
Weight::from_ref_time(29_641_109)
|
||||
.saturating_add(Weight::from_proof_size(9909))
|
||||
// Standard Error: 799
|
||||
.saturating_add(Weight::from_ref_time(44_042).saturating_mul(l.into()))
|
||||
// Standard Error: 1_475
|
||||
.saturating_add(Weight::from_ref_time(72_210).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
|
||||
@@ -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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,128 +45,233 @@ 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: 36_044 nanoseconds.
|
||||
Weight::from_ref_time(37_236_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `470`
|
||||
// Estimated: `11730`
|
||||
// Minimum execution time: 32_382 nanoseconds.
|
||||
Weight::from_ref_time(33_218_000)
|
||||
.saturating_add(Weight::from_proof_size(11730))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
fn teleport_assets() -> Weight {
|
||||
// Minimum execution time: 29_267 nanoseconds.
|
||||
Weight::from_ref_time(29_981_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 21_569 nanoseconds.
|
||||
Weight::from_ref_time(21_923_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
fn reserve_transfer_assets() -> Weight {
|
||||
// Minimum execution time: 27_566 nanoseconds.
|
||||
Weight::from_ref_time(28_901_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 20_126 nanoseconds.
|
||||
Weight::from_ref_time(20_454_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
// Storage: Benchmark Override (r:0 w:0)
|
||||
/// Storage: Benchmark Override (r:0 w:0)
|
||||
/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
|
||||
fn execute() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 18_446_744_073_709_551 nanoseconds.
|
||||
Weight::from_ref_time(18_446_744_073_709_551_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
}
|
||||
// Storage: 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_231 nanoseconds.
|
||||
Weight::from_ref_time(15_699_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 8_850 nanoseconds.
|
||||
Weight::from_ref_time(9_217_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: 3_903 nanoseconds.
|
||||
Weight::from_ref_time(4_116_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_378 nanoseconds.
|
||||
Weight::from_ref_time(2_561_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: 41_188 nanoseconds.
|
||||
Weight::from_ref_time(42_818_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `470`
|
||||
// Estimated: `16110`
|
||||
// Minimum execution time: 36_997 nanoseconds.
|
||||
Weight::from_ref_time(37_702_000)
|
||||
.saturating_add(Weight::from_proof_size(16110))
|
||||
.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: 44_431 nanoseconds.
|
||||
Weight::from_ref_time(45_268_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `742`
|
||||
// Estimated: `17321`
|
||||
// Minimum execution time: 40_398 nanoseconds.
|
||||
Weight::from_ref_time(40_920_000)
|
||||
.saturating_add(Weight::from_proof_size(17321))
|
||||
.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_211 nanoseconds.
|
||||
Weight::from_ref_time(15_658_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `229`
|
||||
// Estimated: `10129`
|
||||
// Minimum execution time: 15_848 nanoseconds.
|
||||
Weight::from_ref_time(16_392_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_546 nanoseconds.
|
||||
Weight::from_ref_time(15_849_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `233`
|
||||
// Estimated: `10133`
|
||||
// Minimum execution time: 15_850 nanoseconds.
|
||||
Weight::from_ref_time(16_357_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_178 nanoseconds.
|
||||
Weight::from_ref_time(18_883_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `243`
|
||||
// Estimated: `12618`
|
||||
// Minimum execution time: 18_189 nanoseconds.
|
||||
Weight::from_ref_time(18_602_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: 37_284 nanoseconds.
|
||||
Weight::from_ref_time(38_411_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `540`
|
||||
// Estimated: `17640`
|
||||
// Minimum execution time: 35_182 nanoseconds.
|
||||
Weight::from_ref_time(35_754_000)
|
||||
.saturating_add(Weight::from_proof_size(17640))
|
||||
.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_251 nanoseconds.
|
||||
Weight::from_ref_time(8_661_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `272`
|
||||
// Estimated: `7697`
|
||||
// Minimum execution time: 7_610 nanoseconds.
|
||||
Weight::from_ref_time(7_767_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: 15_947 nanoseconds.
|
||||
Weight::from_ref_time(16_360_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `240`
|
||||
// Estimated: `10140`
|
||||
// Minimum execution time: 16_339 nanoseconds.
|
||||
Weight::from_ref_time(16_675_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: 43_765 nanoseconds.
|
||||
Weight::from_ref_time(44_704_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `544`
|
||||
// Estimated: `22618`
|
||||
// Minimum execution time: 40_418 nanoseconds.
|
||||
Weight::from_ref_time(41_557_000)
|
||||
.saturating_add(Weight::from_proof_size(22618))
|
||||
.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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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_501 nanoseconds.
|
||||
Weight::from_ref_time(19_027_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4`
|
||||
// Estimated: `1002`
|
||||
// Minimum execution time: 11_978 nanoseconds.
|
||||
Weight::from_ref_time(12_196_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: 91_282 nanoseconds.
|
||||
Weight::from_ref_time(96_314_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `725`
|
||||
// Estimated: `19470`
|
||||
// Minimum execution time: 63_143 nanoseconds.
|
||||
Weight::from_ref_time(66_970_000)
|
||||
.saturating_add(Weight::from_proof_size(19470))
|
||||
.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:7 w:7)
|
||||
// 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:7 w:7)
|
||||
/// 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: 19_434_286 nanoseconds.
|
||||
Weight::from_ref_time(19_898_691_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `7060445`
|
||||
// Estimated: `51339005`
|
||||
// Minimum execution time: 15_974_151 nanoseconds.
|
||||
Weight::from_ref_time(16_296_082_000)
|
||||
.saturating_add(Weight::from_proof_size(51339005))
|
||||
.saturating_add(T::DbWeight::get().reads(3688))
|
||||
.saturating_add(T::DbWeight::get().writes(3683))
|
||||
}
|
||||
// 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_864_966 nanoseconds.
|
||||
Weight::from_ref_time(6_074_294_000)
|
||||
.saturating_add(T::DbWeight::get().reads(73))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `178884`
|
||||
// Estimated: `16009503`
|
||||
// Minimum execution time: 4_723_167 nanoseconds.
|
||||
Weight::from_ref_time(4_854_142_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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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: 201_756 nanoseconds.
|
||||
Weight::from_ref_time(221_823_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `618`
|
||||
// Estimated: `20301`
|
||||
// Minimum execution time: 137_183 nanoseconds.
|
||||
Weight::from_ref_time(139_321_000)
|
||||
.saturating_add(Weight::from_proof_size(20301))
|
||||
.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: 15_170 nanoseconds.
|
||||
Weight::from_ref_time(19_117_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `182`
|
||||
// Estimated: `1223`
|
||||
// Minimum execution time: 10_434 nanoseconds.
|
||||
Weight::from_ref_time(11_123_000)
|
||||
.saturating_add(Weight::from_proof_size(1223))
|
||||
.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: 209_541 nanoseconds.
|
||||
Weight::from_ref_time(229_246_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `618`
|
||||
// Estimated: `20301`
|
||||
// Minimum execution time: 139_457 nanoseconds.
|
||||
Weight::from_ref_time(142_470_000)
|
||||
.saturating_add(Weight::from_proof_size(20301))
|
||||
.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: 98_728 nanoseconds.
|
||||
Weight::from_ref_time(122_241_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `692`
|
||||
// Estimated: `23764`
|
||||
// Minimum execution time: 63_575 nanoseconds.
|
||||
Weight::from_ref_time(66_845_000)
|
||||
.saturating_add(Weight::from_proof_size(23764))
|
||||
.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: 26_466 nanoseconds.
|
||||
Weight::from_ref_time(31_398_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `438`
|
||||
// Estimated: `11652`
|
||||
// Minimum execution time: 21_552 nanoseconds.
|
||||
Weight::from_ref_time(22_075_000)
|
||||
.saturating_add(Weight::from_proof_size(11652))
|
||||
.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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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: 64_086 nanoseconds.
|
||||
Weight::from_ref_time(67_361_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `395`
|
||||
// Estimated: `9500`
|
||||
// Minimum execution time: 36_780 nanoseconds.
|
||||
Weight::from_ref_time(37_915_000)
|
||||
.saturating_add(Weight::from_proof_size(9500))
|
||||
.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: 155_768 nanoseconds.
|
||||
Weight::from_ref_time(174_371_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `407`
|
||||
// Estimated: `14067`
|
||||
// Minimum execution time: 109_803 nanoseconds.
|
||||
Weight::from_ref_time(110_947_000)
|
||||
.saturating_add(Weight::from_proof_size(14067))
|
||||
.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: 80_425 nanoseconds.
|
||||
Weight::from_ref_time(96_226_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `786`
|
||||
// Estimated: `12239`
|
||||
// Minimum execution time: 52_339 nanoseconds.
|
||||
Weight::from_ref_time(53_666_000)
|
||||
.saturating_add(Weight::from_proof_size(12239))
|
||||
.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: 78_607 nanoseconds.
|
||||
Weight::from_ref_time(84_810_000)
|
||||
// Standard Error: 18_697
|
||||
.saturating_add(Weight::from_ref_time(22_921_029).saturating_mul(k.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `191 + k * (221 ±0)`
|
||||
// Estimated: `196 + k * (221 ±0)`
|
||||
// Minimum execution time: 39_620 nanoseconds.
|
||||
Weight::from_ref_time(52_767_000)
|
||||
.saturating_add(Weight::from_proof_size(196))
|
||||
// Standard Error: 13_608
|
||||
.saturating_add(Weight::from_ref_time(21_010_388).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: 56_442 nanoseconds.
|
||||
Weight::from_ref_time(61_810_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `439`
|
||||
// Estimated: `5517`
|
||||
// Minimum execution time: 26_037 nanoseconds.
|
||||
Weight::from_ref_time(27_102_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: 32_818 nanoseconds.
|
||||
Weight::from_ref_time(37_323_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `267`
|
||||
// Estimated: `2742`
|
||||
// Minimum execution time: 16_050 nanoseconds.
|
||||
Weight::from_ref_time(16_435_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: 55_940 nanoseconds.
|
||||
Weight::from_ref_time(63_611_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `444`
|
||||
// Estimated: `5838`
|
||||
// Minimum execution time: 22_722 nanoseconds.
|
||||
Weight::from_ref_time(23_639_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: 40_671 nanoseconds.
|
||||
Weight::from_ref_time(44_678_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `271`
|
||||
// Estimated: `3512`
|
||||
// Minimum execution time: 16_099 nanoseconds.
|
||||
Weight::from_ref_time(16_567_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: 137_696 nanoseconds.
|
||||
Weight::from_ref_time(33_843_007)
|
||||
// Standard Error: 40_554
|
||||
.saturating_add(Weight::from_ref_time(49_768_413).saturating_mul(n.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `157 + n * (420 ±0)`
|
||||
// Estimated: `7142 + n * (14663 ±0)`
|
||||
// Minimum execution time: 99_698 nanoseconds.
|
||||
Weight::from_ref_time(103_197_000)
|
||||
.saturating_add(Weight::from_proof_size(7142))
|
||||
// Standard Error: 44_542
|
||||
.saturating_add(Weight::from_ref_time(43_367_932).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: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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_686 nanoseconds.
|
||||
Weight::from_ref_time(35_013_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `70`
|
||||
// Estimated: `5655`
|
||||
// Minimum execution time: 23_670 nanoseconds.
|
||||
Weight::from_ref_time(24_303_000)
|
||||
.saturating_add(Weight::from_proof_size(5655))
|
||||
.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_615_484 nanoseconds.
|
||||
Weight::from_ref_time(7_835_913_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `561`
|
||||
// Estimated: `21450`
|
||||
// Minimum execution time: 7_219_077 nanoseconds.
|
||||
Weight::from_ref_time(7_360_310_000)
|
||||
.saturating_add(Weight::from_proof_size(21450))
|
||||
.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_452_688 nanoseconds.
|
||||
Weight::from_ref_time(7_586_138_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `419`
|
||||
// Estimated: `20030`
|
||||
// Minimum execution time: 7_229_972 nanoseconds.
|
||||
Weight::from_ref_time(7_347_025_000)
|
||||
.saturating_add(Weight::from_proof_size(20030))
|
||||
.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: 56_782 nanoseconds.
|
||||
Weight::from_ref_time(66_549_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `467`
|
||||
// Estimated: `13197`
|
||||
// Minimum execution time: 38_249 nanoseconds.
|
||||
Weight::from_ref_time(39_403_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: 57_787 nanoseconds.
|
||||
Weight::from_ref_time(63_950_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `707`
|
||||
// Estimated: `27719`
|
||||
// Minimum execution time: 44_364 nanoseconds.
|
||||
Weight::from_ref_time(48_346_000)
|
||||
.saturating_add(Weight::from_proof_size(27719))
|
||||
.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_394 nanoseconds.
|
||||
Weight::from_ref_time(46_249_000)
|
||||
// Standard Error: 3
|
||||
.saturating_add(Weight::from_ref_time(2_817).saturating_mul(b.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `287`
|
||||
// Estimated: `19987`
|
||||
// Minimum execution time: 38_205 nanoseconds.
|
||||
Weight::from_ref_time(38_694_000)
|
||||
.saturating_add(Weight::from_proof_size(19987))
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_286).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_809 nanoseconds.
|
||||
Weight::from_ref_time(10_357_328)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 8_117 nanoseconds.
|
||||
Weight::from_ref_time(8_315_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(1_100).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_ref_time(865).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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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: 33_399 nanoseconds.
|
||||
Weight::from_ref_time(34_116_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `252`
|
||||
// Estimated: `5330`
|
||||
// Minimum execution time: 23_102 nanoseconds.
|
||||
Weight::from_ref_time(23_518_000)
|
||||
.saturating_add(Weight::from_proof_size(5330))
|
||||
.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: 639_890 nanoseconds.
|
||||
Weight::from_ref_time(667_066_000)
|
||||
// Standard Error: 83_039
|
||||
.saturating_add(Weight::from_ref_time(2_745_068).saturating_mul(c.into()))
|
||||
// Standard Error: 83_039
|
||||
.saturating_add(Weight::from_ref_time(15_811_649).saturating_mul(t.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `7 + c * (47 ±0) + t * (370 ±0)`
|
||||
// Estimated: `268843 + c * (1073 ±0) + t * (7960 ±0)`
|
||||
// Minimum execution time: 557_310 nanoseconds.
|
||||
Weight::from_ref_time(565_607_000)
|
||||
.saturating_add(Weight::from_proof_size(268843))
|
||||
// Standard Error: 73_454
|
||||
.saturating_add(Weight::from_ref_time(2_313_258).saturating_mul(c.into()))
|
||||
// Standard Error: 73_454
|
||||
.saturating_add(Weight::from_ref_time(13_030_484).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(1073).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_proof_size(7960).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_729 nanoseconds.
|
||||
Weight::from_ref_time(123_803_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2980`
|
||||
// Estimated: `26279`
|
||||
// Minimum execution time: 88_390 nanoseconds.
|
||||
Weight::from_ref_time(89_158_000)
|
||||
.saturating_add(Weight::from_proof_size(26279))
|
||||
.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: 35_789 nanoseconds.
|
||||
Weight::from_ref_time(37_534_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `644`
|
||||
// Estimated: `13615`
|
||||
// Minimum execution time: 26_353 nanoseconds.
|
||||
Weight::from_ref_time(27_407_000)
|
||||
.saturating_add(Weight::from_proof_size(13615))
|
||||
.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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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: 11_821 nanoseconds.
|
||||
Weight::from_ref_time(12_290_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `349`
|
||||
// Estimated: `3376`
|
||||
// Minimum execution time: 11_399 nanoseconds.
|
||||
Weight::from_ref_time(11_874_000)
|
||||
.saturating_add(Weight::from_proof_size(3376))
|
||||
.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: 11_794 nanoseconds.
|
||||
Weight::from_ref_time(12_219_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `349`
|
||||
// Estimated: `3376`
|
||||
// Minimum execution time: 11_612 nanoseconds.
|
||||
Weight::from_ref_time(12_074_000)
|
||||
.saturating_add(Weight::from_proof_size(3376))
|
||||
.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: 11_797 nanoseconds.
|
||||
Weight::from_ref_time(12_180_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `349`
|
||||
// Estimated: `3376`
|
||||
// Minimum execution time: 11_487 nanoseconds.
|
||||
Weight::from_ref_time(11_881_000)
|
||||
.saturating_add(Weight::from_proof_size(3376))
|
||||
.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: 11_853 nanoseconds.
|
||||
Weight::from_ref_time(12_301_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `349`
|
||||
// Estimated: `3376`
|
||||
// Minimum execution time: 11_436 nanoseconds.
|
||||
Weight::from_ref_time(11_875_000)
|
||||
.saturating_add(Weight::from_proof_size(3376))
|
||||
.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: 11_700 nanoseconds.
|
||||
Weight::from_ref_time(12_189_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `349`
|
||||
// Estimated: `3376`
|
||||
// Minimum execution time: 11_657 nanoseconds.
|
||||
Weight::from_ref_time(12_045_000)
|
||||
.saturating_add(Weight::from_proof_size(3376))
|
||||
.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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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_105 nanoseconds.
|
||||
Weight::from_ref_time(4_327_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_393 nanoseconds.
|
||||
Weight::from_ref_time(2_478_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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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_536 nanoseconds.
|
||||
Weight::from_ref_time(44_980_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `609`
|
||||
// Estimated: `26271`
|
||||
// Minimum execution time: 37_126 nanoseconds.
|
||||
Weight::from_ref_time(37_611_000)
|
||||
.saturating_add(Weight::from_proof_size(26271))
|
||||
.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: 42_267 nanoseconds.
|
||||
Weight::from_ref_time(43_633_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `873`
|
||||
// Estimated: `21456`
|
||||
// Minimum execution time: 37_288 nanoseconds.
|
||||
Weight::from_ref_time(37_828_000)
|
||||
.saturating_add(Weight::from_proof_size(21456))
|
||||
.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_289 nanoseconds.
|
||||
Weight::from_ref_time(40_868_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `744`
|
||||
// Estimated: `15354`
|
||||
// Minimum execution time: 32_896 nanoseconds.
|
||||
Weight::from_ref_time(33_321_000)
|
||||
.saturating_add(Weight::from_proof_size(15354))
|
||||
.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_047_882 nanoseconds.
|
||||
Weight::from_ref_time(1_059_705_000)
|
||||
// Standard Error: 99_305
|
||||
.saturating_add(Weight::from_ref_time(3_327_972).saturating_mul(i.into()))
|
||||
// Standard Error: 99_305
|
||||
.saturating_add(Weight::from_ref_time(3_340_689).saturating_mul(e.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `254 + i * (131 ±0) + e * (131 ±0)`
|
||||
// Estimated: `6354 + i * (5742 ±0) + e * (5736 ±0)`
|
||||
// Minimum execution time: 967_997 nanoseconds.
|
||||
Weight::from_ref_time(980_896_000)
|
||||
.saturating_add(Weight::from_proof_size(6354))
|
||||
// Standard Error: 87_592
|
||||
.saturating_add(Weight::from_ref_time(2_862_200).saturating_mul(i.into()))
|
||||
// Standard Error: 87_592
|
||||
.saturating_add(Weight::from_ref_time(2_875_639).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: 9_951 nanoseconds.
|
||||
Weight::from_ref_time(10_146_000)
|
||||
// Standard Error: 11_178
|
||||
.saturating_add(Weight::from_ref_time(18_818_787).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `725 + c * (166 ±0)`
|
||||
// Estimated: `7371 + c * (18828 ±0)`
|
||||
// Minimum execution time: 9_148 nanoseconds.
|
||||
Weight::from_ref_time(5_196_521)
|
||||
.saturating_add(Weight::from_proof_size(7371))
|
||||
// Standard Error: 17_281
|
||||
.saturating_add(Weight::from_ref_time(17_104_192).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: 6_607 nanoseconds.
|
||||
Weight::from_ref_time(6_759_000)
|
||||
// Standard Error: 11_202
|
||||
.saturating_add(Weight::from_ref_time(11_699_042).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `307 + c * (155 ±0)`
|
||||
// Estimated: `2232 + c * (8361 ±0)`
|
||||
// Minimum execution time: 5_965 nanoseconds.
|
||||
Weight::from_ref_time(5_482_693)
|
||||
.saturating_add(Weight::from_proof_size(2232))
|
||||
// Standard Error: 12_249
|
||||
.saturating_add(Weight::from_ref_time(10_492_540).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_131 nanoseconds.
|
||||
Weight::from_ref_time(35_778_008)
|
||||
// Standard Error: 3_491
|
||||
.saturating_add(Weight::from_ref_time(210_196).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1022 + c * (13 ±0)`
|
||||
// Estimated: `7911 + c * (45 ±0)`
|
||||
// Minimum execution time: 19_829 nanoseconds.
|
||||
Weight::from_ref_time(25_037_128)
|
||||
.saturating_add(Weight::from_proof_size(7911))
|
||||
// Standard Error: 1_267
|
||||
.saturating_add(Weight::from_ref_time(56_124).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: 4_894 nanoseconds.
|
||||
Weight::from_ref_time(5_023_000)
|
||||
// Standard Error: 3_379
|
||||
.saturating_add(Weight::from_ref_time(3_206_344).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `217 + c * (94 ±0)`
|
||||
// Estimated: `912 + c * (2664 ±0)`
|
||||
// Minimum execution time: 5_151 nanoseconds.
|
||||
Weight::from_ref_time(4_098_858)
|
||||
.saturating_add(Weight::from_proof_size(912))
|
||||
// Standard Error: 3_342
|
||||
.saturating_add(Weight::from_ref_time(2_871_971).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_318 nanoseconds.
|
||||
Weight::from_ref_time(57_275_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `609`
|
||||
// Estimated: `37389`
|
||||
// Minimum execution time: 48_544 nanoseconds.
|
||||
Weight::from_ref_time(49_857_000)
|
||||
.saturating_add(Weight::from_proof_size(37389))
|
||||
.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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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_055 nanoseconds.
|
||||
Weight::from_ref_time(8_449_000)
|
||||
// Standard Error: 24
|
||||
.saturating_add(Weight::from_ref_time(3_034).saturating_mul(d.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `28 + d * (11 ±0)`
|
||||
// Estimated: `519 + d * (11 ±0)`
|
||||
// Minimum execution time: 3_322 nanoseconds.
|
||||
Weight::from_ref_time(6_436_391)
|
||||
.saturating_add(Weight::from_proof_size(519))
|
||||
// Standard Error: 9
|
||||
.saturating_add(Weight::from_ref_time(1_348).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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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: 37_965 nanoseconds.
|
||||
Weight::from_ref_time(38_880_000)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(2_733).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `8341`
|
||||
// Estimated: `57966`
|
||||
// Minimum execution time: 30_005 nanoseconds.
|
||||
Weight::from_ref_time(30_189_000)
|
||||
.saturating_add(Weight::from_proof_size(57966))
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_269).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_212 nanoseconds.
|
||||
Weight::from_ref_time(1_426_791)
|
||||
// Standard Error: 3
|
||||
.saturating_add(Weight::from_ref_time(1_139).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 7_200 nanoseconds.
|
||||
Weight::from_ref_time(7_282_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(866).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: 64_418 nanoseconds.
|
||||
Weight::from_ref_time(65_273_000)
|
||||
// Standard Error: 3
|
||||
.saturating_add(Weight::from_ref_time(2_771).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `16785`
|
||||
// Estimated: `198990`
|
||||
// Minimum execution time: 55_445 nanoseconds.
|
||||
Weight::from_ref_time(55_859_000)
|
||||
.saturating_add(Weight::from_proof_size(198990))
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_299).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: 19_585 nanoseconds.
|
||||
Weight::from_ref_time(19_277_389)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `95`
|
||||
// Estimated: `2760`
|
||||
// Minimum execution time: 12_977 nanoseconds.
|
||||
Weight::from_ref_time(13_103_000)
|
||||
.saturating_add(Weight::from_proof_size(2760))
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_ref_time(1_094).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_ref_time(867).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_195 nanoseconds.
|
||||
Weight::from_ref_time(25_846_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4283`
|
||||
// Estimated: `11536`
|
||||
// Minimum execution time: 18_572 nanoseconds.
|
||||
Weight::from_ref_time(19_144_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_120 nanoseconds.
|
||||
Weight::from_ref_time(9_320_000)
|
||||
// Standard Error: 3
|
||||
.saturating_add(Weight::from_ref_time(2_748).saturating_mul(c.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `28`
|
||||
// Estimated: `5006`
|
||||
// Minimum execution time: 7_666 nanoseconds.
|
||||
Weight::from_ref_time(7_948_000)
|
||||
.saturating_add(Weight::from_proof_size(5006))
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(2_283).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: 8_503 nanoseconds.
|
||||
Weight::from_ref_time(8_985_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `28`
|
||||
// Estimated: `2531`
|
||||
// Minimum execution time: 5_761 nanoseconds.
|
||||
Weight::from_ref_time(6_033_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: 127_360 nanoseconds.
|
||||
Weight::from_ref_time(133_874_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `26968`
|
||||
// Estimated: `111832`
|
||||
// Minimum execution time: 89_759 nanoseconds.
|
||||
Weight::from_ref_time(92_179_000)
|
||||
.saturating_add(Weight::from_proof_size(111832))
|
||||
.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: 809_562 nanoseconds.
|
||||
Weight::from_ref_time(834_810_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `27554`
|
||||
// Estimated: `225877`
|
||||
// Minimum execution time: 684_399 nanoseconds.
|
||||
Weight::from_ref_time(689_918_000)
|
||||
.saturating_add(Weight::from_proof_size(225877))
|
||||
.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: 127_891 nanoseconds.
|
||||
Weight::from_ref_time(135_753_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `27500`
|
||||
// Estimated: `113960`
|
||||
// Minimum execution time: 90_043 nanoseconds.
|
||||
Weight::from_ref_time(91_849_000)
|
||||
.saturating_add(Weight::from_proof_size(113960))
|
||||
.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: 620_842 nanoseconds.
|
||||
Weight::from_ref_time(635_900_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `27022`
|
||||
// Estimated: `169062`
|
||||
// Minimum execution time: 539_764 nanoseconds.
|
||||
Weight::from_ref_time(548_966_000)
|
||||
.saturating_add(Weight::from_proof_size(169062))
|
||||
.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: 122_580 nanoseconds.
|
||||
Weight::from_ref_time(131_172_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `26968`
|
||||
// Estimated: `111832`
|
||||
// Minimum execution time: 89_191 nanoseconds.
|
||||
Weight::from_ref_time(90_694_000)
|
||||
.saturating_add(Weight::from_proof_size(111832))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
@@ -16,8 +16,9 @@
|
||||
//! Autogenerated weights for `runtime_parachains::paras_inherent`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,161 +45,308 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `runtime_parachains::paras_inherent`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for WeightInfo<T> {
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Babe AuthorVrfRandomness (r:1 w:0)
|
||||
// Storage: ParaSessionInfo Sessions (r:1 w:0)
|
||||
// Storage: ParasDisputes Disputes (r:1 w:0)
|
||||
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
// Storage: ParasDisputes Frozen (r:1 w:0)
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
// Storage: Paras Parachains (r:1 w:0)
|
||||
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
// Storage: Session Validators (r:1 w:0)
|
||||
// Storage: Staking ActiveEra (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
// Storage: Hrmp HrmpChannelDigests (r:1 w:1)
|
||||
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
// Storage: ParaInherent OnChainVotes (r:1 w:1)
|
||||
// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
|
||||
// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
|
||||
// Storage: ParaScheduler Scheduled (r:1 w:1)
|
||||
// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
|
||||
// Storage: Ump NeedsDispatch (r:1 w:1)
|
||||
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
|
||||
// Storage: ParasDisputes Included (r:0 w:1)
|
||||
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
/// Storage: ParaInherent Included (r:1 w:1)
|
||||
/// Proof Skipped: ParaInherent Included (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: System ParentHash (r:1 w:0)
|
||||
/// Proof: System ParentHash (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
|
||||
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
/// Proof Skipped: ParasShared CurrentSessionIndex (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: Babe AuthorVrfRandomness (r:1 w:0)
|
||||
/// Proof: Babe AuthorVrfRandomness (max_values: Some(1), max_size: Some(33), added: 528, mode: MaxEncodedLen)
|
||||
/// Storage: ParaSessionInfo Sessions (r:1 w:0)
|
||||
/// Proof Skipped: ParaSessionInfo Sessions (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes Disputes (r:1 w:1)
|
||||
/// Proof Skipped: ParasDisputes Disputes (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes BackersOnDisputes (r:1 w:1)
|
||||
/// Proof Skipped: ParasDisputes BackersOnDisputes (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler AvailabilityCores (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes Included (r:1 w:1)
|
||||
/// Proof Skipped: ParasDisputes Included (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes Frozen (r:1 w:0)
|
||||
/// Proof Skipped: ParasDisputes Frozen (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
/// Proof Skipped: ParaInclusion PendingAvailability (max_values: None, 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: Paras Parachains (r:1 w:0)
|
||||
/// Proof Skipped: Paras Parachains (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
/// Proof Skipped: ParaInclusion PendingAvailabilityCommitments (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
/// Proof Skipped: ParaSessionInfo AccountKeys (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Session Validators (r:1 w:0)
|
||||
/// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Staking ActiveEra (r:1 w:0)
|
||||
/// Proof: Staking ActiveEra (max_values: Some(1), max_size: Some(13), added: 508, mode: MaxEncodedLen)
|
||||
/// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
/// Proof Skipped: Staking ErasRewardPoints (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: Hrmp HrmpChannelDigests (r:1 w:1)
|
||||
/// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
/// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaInherent OnChainVotes (r:1 w:1)
|
||||
/// Proof Skipped: ParaInherent OnChainVotes (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
|
||||
/// Proof Skipped: ParaScheduler SessionStartBlock (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler ParathreadQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler Scheduled (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler Scheduled (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
|
||||
/// Proof Skipped: ParaScheduler ValidatorGroups (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// 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: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
/// Proof Skipped: Hrmp HrmpWatermarks (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 `v` is `[10, 200]`.
|
||||
fn enter_variable_disputes(v: u32, ) -> Weight {
|
||||
// Minimum execution time: 1_006_974 nanoseconds.
|
||||
Weight::from_ref_time(467_173_816)
|
||||
// Standard Error: 15_368
|
||||
.saturating_add(Weight::from_ref_time(56_795_076).saturating_mul(v.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(28))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `51185`
|
||||
// Estimated: `1520629 + v * (16 ±0)`
|
||||
// Minimum execution time: 769_548 nanoseconds.
|
||||
Weight::from_ref_time(298_527_621)
|
||||
.saturating_add(Weight::from_proof_size(1520629))
|
||||
// Standard Error: 24_210
|
||||
.saturating_add(Weight::from_ref_time(48_364_882).saturating_mul(v.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(29))
|
||||
.saturating_add(T::DbWeight::get().writes(16))
|
||||
.saturating_add(Weight::from_proof_size(16).saturating_mul(v.into()))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Babe AuthorVrfRandomness (r:1 w:0)
|
||||
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
// Storage: ParasDisputes Frozen (r:1 w:0)
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
// Storage: Paras Parachains (r:1 w:0)
|
||||
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
// Storage: Session Validators (r:1 w:0)
|
||||
// Storage: Staking ActiveEra (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
// Storage: Hrmp HrmpChannelDigests (r:1 w:1)
|
||||
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
// Storage: ParaInherent OnChainVotes (r:1 w:1)
|
||||
// Storage: ParasDisputes Disputes (r:1 w:0)
|
||||
// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
|
||||
// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
|
||||
// Storage: ParaScheduler Scheduled (r:1 w:1)
|
||||
// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
|
||||
// Storage: Ump NeedsDispatch (r:1 w:1)
|
||||
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
|
||||
// Storage: ParaInclusion AvailabilityBitfields (r:0 w:1)
|
||||
// Storage: ParasDisputes Included (r:0 w:1)
|
||||
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
/// Storage: ParaInherent Included (r:1 w:1)
|
||||
/// Proof Skipped: ParaInherent Included (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: System ParentHash (r:1 w:0)
|
||||
/// Proof: System ParentHash (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
|
||||
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
/// Proof Skipped: ParasShared CurrentSessionIndex (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: Babe AuthorVrfRandomness (r:1 w:0)
|
||||
/// Proof: Babe AuthorVrfRandomness (max_values: Some(1), max_size: Some(33), added: 528, mode: MaxEncodedLen)
|
||||
/// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler AvailabilityCores (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes Frozen (r:1 w:0)
|
||||
/// Proof Skipped: ParasDisputes Frozen (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: Paras Parachains (r:1 w:0)
|
||||
/// Proof Skipped: Paras Parachains (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
/// Proof Skipped: ParaInclusion PendingAvailability (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
/// Proof Skipped: ParaInclusion PendingAvailabilityCommitments (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
/// Proof Skipped: ParaSessionInfo AccountKeys (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Session Validators (r:1 w:0)
|
||||
/// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Staking ActiveEra (r:1 w:0)
|
||||
/// Proof: Staking ActiveEra (max_values: Some(1), max_size: Some(13), added: 508, mode: MaxEncodedLen)
|
||||
/// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
/// Proof Skipped: Staking ErasRewardPoints (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: Hrmp HrmpChannelDigests (r:1 w:1)
|
||||
/// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
/// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaInherent OnChainVotes (r:1 w:1)
|
||||
/// Proof Skipped: ParaInherent OnChainVotes (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes Disputes (r:1 w:0)
|
||||
/// Proof Skipped: ParasDisputes Disputes (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
|
||||
/// Proof Skipped: ParaScheduler SessionStartBlock (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler ParathreadQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler Scheduled (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler Scheduled (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
|
||||
/// Proof Skipped: ParaScheduler ValidatorGroups (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// 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: ParaInclusion AvailabilityBitfields (r:0 w:1)
|
||||
/// Proof Skipped: ParaInclusion AvailabilityBitfields (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes Included (r:0 w:1)
|
||||
/// Proof Skipped: ParasDisputes Included (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
/// Proof Skipped: Hrmp HrmpWatermarks (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)
|
||||
fn enter_bitfields() -> Weight {
|
||||
// Minimum execution time: 473_028 nanoseconds.
|
||||
Weight::from_ref_time(509_926_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `42987`
|
||||
// Estimated: `1234899`
|
||||
// Minimum execution time: 331_224 nanoseconds.
|
||||
Weight::from_ref_time(339_587_000)
|
||||
.saturating_add(Weight::from_proof_size(1234899))
|
||||
.saturating_add(T::DbWeight::get().reads(27))
|
||||
.saturating_add(T::DbWeight::get().writes(17))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Babe AuthorVrfRandomness (r:1 w:0)
|
||||
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
// Storage: ParasDisputes Frozen (r:1 w:0)
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
// Storage: Paras Parachains (r:1 w:0)
|
||||
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
// Storage: Session Validators (r:1 w:0)
|
||||
// Storage: Staking ActiveEra (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
// Storage: Hrmp HrmpChannelDigests (r:1 w:1)
|
||||
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
// Storage: ParaInherent OnChainVotes (r:1 w:1)
|
||||
// Storage: ParasDisputes Disputes (r:2 w:0)
|
||||
// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
|
||||
// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
|
||||
// Storage: ParaScheduler Scheduled (r:1 w:1)
|
||||
// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
|
||||
// Storage: Paras CurrentCodeHash (r:1 w:0)
|
||||
// Storage: Ump RelayDispatchQueueSize (r:1 w:0)
|
||||
// Storage: Ump NeedsDispatch (r:1 w:1)
|
||||
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
|
||||
// Storage: ParasDisputes Included (r:0 w:1)
|
||||
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
/// Storage: ParaInherent Included (r:1 w:1)
|
||||
/// Proof Skipped: ParaInherent Included (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: System ParentHash (r:1 w:0)
|
||||
/// Proof: System ParentHash (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
|
||||
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
/// Proof Skipped: ParasShared CurrentSessionIndex (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: Babe AuthorVrfRandomness (r:1 w:0)
|
||||
/// Proof: Babe AuthorVrfRandomness (max_values: Some(1), max_size: Some(33), added: 528, mode: MaxEncodedLen)
|
||||
/// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler AvailabilityCores (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes Frozen (r:1 w:0)
|
||||
/// Proof Skipped: ParasDisputes Frozen (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: Paras Parachains (r:1 w:0)
|
||||
/// Proof Skipped: Paras Parachains (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
/// Proof Skipped: ParaInclusion PendingAvailability (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
/// Proof Skipped: ParaInclusion PendingAvailabilityCommitments (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
/// Proof Skipped: ParaSessionInfo AccountKeys (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Session Validators (r:1 w:0)
|
||||
/// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Staking ActiveEra (r:1 w:0)
|
||||
/// Proof: Staking ActiveEra (max_values: Some(1), max_size: Some(13), added: 508, mode: MaxEncodedLen)
|
||||
/// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
/// Proof Skipped: Staking ErasRewardPoints (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: Hrmp HrmpChannelDigests (r:1 w:1)
|
||||
/// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
/// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaInherent OnChainVotes (r:1 w:1)
|
||||
/// Proof Skipped: ParaInherent OnChainVotes (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes Disputes (r:2 w:0)
|
||||
/// Proof Skipped: ParasDisputes Disputes (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
|
||||
/// Proof Skipped: ParaScheduler SessionStartBlock (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler ParathreadQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler Scheduled (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler Scheduled (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
|
||||
/// Proof Skipped: ParaScheduler ValidatorGroups (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: Ump RelayDispatchQueueSize (r:1 w:0)
|
||||
/// Proof Skipped: Ump RelayDispatchQueueSize (max_values: None, max_size: None, mode: Measured)
|
||||
/// 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: ParasDisputes Included (r:0 w:1)
|
||||
/// Proof Skipped: ParasDisputes Included (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
/// Proof Skipped: Hrmp HrmpWatermarks (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 `v` is `[101, 200]`.
|
||||
fn enter_backed_candidates_variable(v: u32, ) -> Weight {
|
||||
// Minimum execution time: 6_809_307 nanoseconds.
|
||||
Weight::from_ref_time(1_155_296_200)
|
||||
// Standard Error: 21_529
|
||||
.saturating_add(Weight::from_ref_time(56_241_083).saturating_mul(v.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `43019`
|
||||
// Estimated: `1286239`
|
||||
// Minimum execution time: 5_614_853 nanoseconds.
|
||||
Weight::from_ref_time(890_805_370)
|
||||
.saturating_add(Weight::from_proof_size(1286239))
|
||||
// Standard Error: 49_474
|
||||
.saturating_add(Weight::from_ref_time(47_722_849).saturating_mul(v.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(30))
|
||||
.saturating_add(T::DbWeight::get().writes(16))
|
||||
}
|
||||
// Storage: ParaInherent Included (r:1 w:1)
|
||||
// Storage: System ParentHash (r:1 w:0)
|
||||
// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
// Storage: Configuration ActiveConfig (r:1 w:0)
|
||||
// Storage: Babe AuthorVrfRandomness (r:1 w:0)
|
||||
// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
// Storage: ParasDisputes Frozen (r:1 w:0)
|
||||
// Storage: ParasShared ActiveValidatorKeys (r:1 w:0)
|
||||
// Storage: Paras Parachains (r:1 w:0)
|
||||
// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
// Storage: Session Validators (r:1 w:0)
|
||||
// Storage: Staking ActiveEra (r:1 w:0)
|
||||
// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
// Storage: Dmp DownwardMessageQueues (r:1 w:1)
|
||||
// Storage: Hrmp HrmpChannelDigests (r:1 w:1)
|
||||
// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
// Storage: ParaInherent OnChainVotes (r:1 w:1)
|
||||
// Storage: ParasDisputes Disputes (r:2 w:0)
|
||||
// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
|
||||
// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
|
||||
// Storage: ParaScheduler Scheduled (r:1 w:1)
|
||||
// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
|
||||
// Storage: Paras CurrentCodeHash (r:1 w:0)
|
||||
// Storage: Paras FutureCodeHash (r:1 w:0)
|
||||
// Storage: Paras UpgradeRestrictionSignal (r:1 w:0)
|
||||
// Storage: Ump RelayDispatchQueueSize (r:1 w:0)
|
||||
// Storage: Ump NeedsDispatch (r:1 w:1)
|
||||
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
|
||||
// Storage: ParasDisputes Included (r:0 w:1)
|
||||
// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
// Storage: Paras Heads (r:0 w:1)
|
||||
// Storage: Paras UpgradeGoAheadSignal (r:0 w:1)
|
||||
/// Storage: ParaInherent Included (r:1 w:1)
|
||||
/// Proof Skipped: ParaInherent Included (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: System ParentHash (r:1 w:0)
|
||||
/// Proof: System ParentHash (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
|
||||
/// Storage: ParasShared CurrentSessionIndex (r:1 w:0)
|
||||
/// Proof Skipped: ParasShared CurrentSessionIndex (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: Babe AuthorVrfRandomness (r:1 w:0)
|
||||
/// Proof: Babe AuthorVrfRandomness (max_values: Some(1), max_size: Some(33), added: 528, mode: MaxEncodedLen)
|
||||
/// Storage: ParaScheduler AvailabilityCores (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler AvailabilityCores (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes Frozen (r:1 w:0)
|
||||
/// Proof Skipped: ParasDisputes Frozen (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: Paras Parachains (r:1 w:0)
|
||||
/// Proof Skipped: Paras Parachains (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaInclusion PendingAvailability (r:2 w:1)
|
||||
/// Proof Skipped: ParaInclusion PendingAvailability (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1)
|
||||
/// Proof Skipped: ParaInclusion PendingAvailabilityCommitments (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaSessionInfo AccountKeys (r:1 w:0)
|
||||
/// Proof Skipped: ParaSessionInfo AccountKeys (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Session Validators (r:1 w:0)
|
||||
/// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: Staking ActiveEra (r:1 w:0)
|
||||
/// Proof: Staking ActiveEra (max_values: Some(1), max_size: Some(13), added: 508, mode: MaxEncodedLen)
|
||||
/// Storage: Staking ErasRewardPoints (r:1 w:1)
|
||||
/// Proof Skipped: Staking ErasRewardPoints (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: Hrmp HrmpChannelDigests (r:1 w:1)
|
||||
/// Proof Skipped: Hrmp HrmpChannelDigests (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Paras FutureCodeUpgrades (r:1 w:0)
|
||||
/// Proof Skipped: Paras FutureCodeUpgrades (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaInherent OnChainVotes (r:1 w:1)
|
||||
/// Proof Skipped: ParaInherent OnChainVotes (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParasDisputes Disputes (r:2 w:0)
|
||||
/// Proof Skipped: ParasDisputes Disputes (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler SessionStartBlock (r:1 w:0)
|
||||
/// Proof Skipped: ParaScheduler SessionStartBlock (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler ParathreadQueue (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler ParathreadQueue (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler Scheduled (r:1 w:1)
|
||||
/// Proof Skipped: ParaScheduler Scheduled (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// Storage: ParaScheduler ValidatorGroups (r:1 w:0)
|
||||
/// Proof Skipped: ParaScheduler ValidatorGroups (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 FutureCodeHash (r:1 w:0)
|
||||
/// Proof Skipped: Paras FutureCodeHash (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Paras UpgradeRestrictionSignal (r:1 w:0)
|
||||
/// Proof Skipped: Paras UpgradeRestrictionSignal (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Ump RelayDispatchQueueSize (r:1 w:0)
|
||||
/// Proof Skipped: Ump RelayDispatchQueueSize (max_values: None, max_size: None, mode: Measured)
|
||||
/// 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: ParasDisputes Included (r:0 w:1)
|
||||
/// Proof Skipped: ParasDisputes Included (max_values: None, max_size: None, mode: Measured)
|
||||
/// Storage: Hrmp HrmpWatermarks (r:0 w:1)
|
||||
/// Proof Skipped: Hrmp HrmpWatermarks (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)
|
||||
fn enter_backed_candidate_code_upgrade() -> Weight {
|
||||
// Minimum execution time: 44_922_675 nanoseconds.
|
||||
Weight::from_ref_time(47_835_866_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `43046`
|
||||
// Estimated: `1378064`
|
||||
// Minimum execution time: 37_862_663 nanoseconds.
|
||||
Weight::from_ref_time(38_153_182_000)
|
||||
.saturating_add(Weight::from_proof_size(1378064))
|
||||
.saturating_add(T::DbWeight::get().reads(32))
|
||||
.saturating_add(T::DbWeight::get().writes(16))
|
||||
}
|
||||
|
||||
@@ -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-24, 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-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-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_819 nanoseconds.
|
||||
Weight::from_ref_time(2_400_246)
|
||||
// Standard Error: 16
|
||||
.saturating_add(Weight::from_ref_time(2_405).saturating_mul(s.into()))
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 5_556 nanoseconds.
|
||||
Weight::from_ref_time(5_656_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
// Standard Error: 8
|
||||
.saturating_add(Weight::from_ref_time(1_697).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: 9_197 nanoseconds.
|
||||
Weight::from_ref_time(9_717_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `272`
|
||||
// Estimated: `2078`
|
||||
// Minimum execution time: 8_932 nanoseconds.
|
||||
Weight::from_ref_time(9_271_000)
|
||||
.saturating_add(Weight::from_proof_size(2078))
|
||||
.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: 29_721 nanoseconds.
|
||||
Weight::from_ref_time(30_376_000)
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `257`
|
||||
// Estimated: `3231`
|
||||
// Minimum execution time: 21_961 nanoseconds.
|
||||
Weight::from_ref_time(22_329_000)
|
||||
.saturating_add(Weight::from_proof_size(3231))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-23 (Y/M/D)
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! DATE: 2023-02-22 (Y/M/D)
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//!
|
||||
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development`
|
||||
//! WARMUPS: `10`, REPEAT: `100`
|
||||
@@ -42,17 +42,17 @@ parameter_types! {
|
||||
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
|
||||
///
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 542_431, 584_808
|
||||
/// Average: 555_715
|
||||
/// Median: 554_397
|
||||
/// Std-Dev: 7935.99
|
||||
/// Min, Max: 440_047, 482_087
|
||||
/// Average: 446_121
|
||||
/// Median: 443_277
|
||||
/// Std-Dev: 8570.83
|
||||
///
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 576_591
|
||||
/// 95th: 571_435
|
||||
/// 75th: 559_921
|
||||
/// 99th: 478_541
|
||||
/// 95th: 473_143
|
||||
/// 75th: 445_072
|
||||
pub const BlockExecutionWeight: Weight =
|
||||
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(555_715));
|
||||
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(446_121));
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-23 (Y/M/D)
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! DATE: 2023-02-22 (Y/M/D)
|
||||
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//!
|
||||
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development`
|
||||
//! WARMUPS: `10`, REPEAT: `100`
|
||||
@@ -42,17 +42,17 @@ parameter_types! {
|
||||
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
|
||||
///
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 103_048, 104_418
|
||||
/// Average: 103_770
|
||||
/// Median: 103_775
|
||||
/// Std-Dev: 237.51
|
||||
/// Min, Max: 89_080, 94_881
|
||||
/// Average: 89_587
|
||||
/// Median: 89_452
|
||||
/// Std-Dev: 667.8
|
||||
///
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 104_335
|
||||
/// 95th: 104_168
|
||||
/// 75th: 103_913
|
||||
/// 99th: 92_068
|
||||
/// 95th: 90_430
|
||||
/// 75th: 89_588
|
||||
pub const ExtrinsicBaseWeight: Weight =
|
||||
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(103_770));
|
||||
Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(89_587));
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user