referrerpolicy=no-referrer-when-downgrade

coretime_rococo_runtime/weights/
pallet_multisig.rs

1// Copyright (C) Parity Technologies (UK) Ltd.
2// SPDX-License-Identifier: Apache-2.0
3
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// 	http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16//! Autogenerated weights for `pallet_multisig`
17//!
18//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
19//! DATE: 2025-02-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
20//! WORST CASE MAP SIZE: `1000000`
21//! HOSTNAME: `c8c7296f7413`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
22//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
23
24// Executed Command:
25// frame-omni-bencher
26// v1
27// benchmark
28// pallet
29// --extrinsic=*
30// --runtime=target/production/wbuild/coretime-rococo-runtime/coretime_rococo_runtime.wasm
31// --pallet=pallet_multisig
32// --header=/__w/polkadot-sdk/polkadot-sdk/cumulus/file_header.txt
33// --output=./cumulus/parachains/runtimes/coretime/coretime-rococo/src/weights
34// --wasm-execution=compiled
35// --steps=50
36// --repeat=20
37// --heap-pages=4096
38// --no-storage-info
39// --no-min-squares
40// --no-median-slopes
41
42#![cfg_attr(rustfmt, rustfmt_skip)]
43#![allow(unused_parens)]
44#![allow(unused_imports)]
45#![allow(missing_docs)]
46
47use frame_support::{traits::Get, weights::Weight};
48use core::marker::PhantomData;
49
50/// Weight functions for `pallet_multisig`.
51pub struct WeightInfo<T>(PhantomData<T>);
52impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
53	/// The range of component `z` is `[0, 10000]`.
54	fn as_multi_threshold_1(z: u32, ) -> Weight {
55		// Proof Size summary in bytes:
56		//  Measured:  `0`
57		//  Estimated: `0`
58		// Minimum execution time: 15_641_000 picoseconds.
59		Weight::from_parts(16_253_264, 0)
60			.saturating_add(Weight::from_parts(0, 0))
61			// Standard Error: 9
62			.saturating_add(Weight::from_parts(490, 0).saturating_mul(z.into()))
63	}
64	/// Storage: `Multisig::Multisigs` (r:1 w:1)
65	/// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`)
66	/// The range of component `s` is `[2, 100]`.
67	/// The range of component `z` is `[0, 10000]`.
68	fn as_multi_create(s: u32, z: u32, ) -> Weight {
69		// Proof Size summary in bytes:
70		//  Measured:  `262 + s * (2 ±0)`
71		//  Estimated: `6811`
72		// Minimum execution time: 45_641_000 picoseconds.
73		Weight::from_parts(32_463_659, 0)
74			.saturating_add(Weight::from_parts(0, 6811))
75			// Standard Error: 1_746
76			.saturating_add(Weight::from_parts(154_624, 0).saturating_mul(s.into()))
77			// Standard Error: 17
78			.saturating_add(Weight::from_parts(1_972, 0).saturating_mul(z.into()))
79			.saturating_add(T::DbWeight::get().reads(1))
80			.saturating_add(T::DbWeight::get().writes(1))
81	}
82	/// Storage: `Multisig::Multisigs` (r:1 w:1)
83	/// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`)
84	/// The range of component `s` is `[3, 100]`.
85	/// The range of component `z` is `[0, 10000]`.
86	fn as_multi_approve(s: u32, z: u32, ) -> Weight {
87		// Proof Size summary in bytes:
88		//  Measured:  `282`
89		//  Estimated: `6811`
90		// Minimum execution time: 30_242_000 picoseconds.
91		Weight::from_parts(18_657_028, 0)
92			.saturating_add(Weight::from_parts(0, 6811))
93			// Standard Error: 1_726
94			.saturating_add(Weight::from_parts(135_426, 0).saturating_mul(s.into()))
95			// Standard Error: 16
96			.saturating_add(Weight::from_parts(1_960, 0).saturating_mul(z.into()))
97			.saturating_add(T::DbWeight::get().reads(1))
98			.saturating_add(T::DbWeight::get().writes(1))
99	}
100	/// Storage: `Multisig::Multisigs` (r:1 w:1)
101	/// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`)
102	/// Storage: `System::Account` (r:1 w:1)
103	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
104	/// The range of component `s` is `[2, 100]`.
105	/// The range of component `z` is `[0, 10000]`.
106	fn as_multi_complete(s: u32, z: u32, ) -> Weight {
107		// Proof Size summary in bytes:
108		//  Measured:  `385 + s * (33 ±0)`
109		//  Estimated: `6811`
110		// Minimum execution time: 52_084_000 picoseconds.
111		Weight::from_parts(32_454_224, 0)
112			.saturating_add(Weight::from_parts(0, 6811))
113			// Standard Error: 2_509
114			.saturating_add(Weight::from_parts(214_513, 0).saturating_mul(s.into()))
115			// Standard Error: 24
116			.saturating_add(Weight::from_parts(2_247, 0).saturating_mul(z.into()))
117			.saturating_add(T::DbWeight::get().reads(2))
118			.saturating_add(T::DbWeight::get().writes(2))
119	}
120	/// Storage: `Multisig::Multisigs` (r:1 w:1)
121	/// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`)
122	/// The range of component `s` is `[2, 100]`.
123	fn approve_as_multi_create(s: u32, ) -> Weight {
124		// Proof Size summary in bytes:
125		//  Measured:  `263 + s * (2 ±0)`
126		//  Estimated: `6811`
127		// Minimum execution time: 29_600_000 picoseconds.
128		Weight::from_parts(30_597_949, 0)
129			.saturating_add(Weight::from_parts(0, 6811))
130			// Standard Error: 2_117
131			.saturating_add(Weight::from_parts(191_486, 0).saturating_mul(s.into()))
132			.saturating_add(T::DbWeight::get().reads(1))
133			.saturating_add(T::DbWeight::get().writes(1))
134	}
135	/// Storage: `Multisig::Multisigs` (r:1 w:1)
136	/// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`)
137	/// The range of component `s` is `[2, 100]`.
138	fn approve_as_multi_approve(s: u32, ) -> Weight {
139		// Proof Size summary in bytes:
140		//  Measured:  `282`
141		//  Estimated: `6811`
142		// Minimum execution time: 17_839_000 picoseconds.
143		Weight::from_parts(18_672_161, 0)
144			.saturating_add(Weight::from_parts(0, 6811))
145			// Standard Error: 2_491
146			.saturating_add(Weight::from_parts(172_942, 0).saturating_mul(s.into()))
147			.saturating_add(T::DbWeight::get().reads(1))
148			.saturating_add(T::DbWeight::get().writes(1))
149	}
150	/// Storage: `Multisig::Multisigs` (r:1 w:1)
151	/// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`)
152	/// The range of component `s` is `[2, 100]`.
153	fn cancel_as_multi(s: u32, ) -> Weight {
154		// Proof Size summary in bytes:
155		//  Measured:  `454 + s * (1 ±0)`
156		//  Estimated: `6811`
157		// Minimum execution time: 31_824_000 picoseconds.
158		Weight::from_parts(35_736_587, 0)
159			.saturating_add(Weight::from_parts(0, 6811))
160			// Standard Error: 3_833
161			.saturating_add(Weight::from_parts(187_839, 0).saturating_mul(s.into()))
162			.saturating_add(T::DbWeight::get().reads(1))
163			.saturating_add(T::DbWeight::get().writes(1))
164	}
165	/// Storage: `Multisig::Multisigs` (r:1 w:1)
166	/// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`)
167	/// The range of component `s` is `[2, 100]`.
168	fn poke_deposit(s: u32, ) -> Weight {
169		// Proof Size summary in bytes:
170		//  Measured:  `454 + s * (1 ±0)`
171		//  Estimated: `6811`
172		// Minimum execution time: 29_796_000 picoseconds.
173		Weight::from_parts(35_859_134, 0)
174			.saturating_add(Weight::from_parts(0, 6811))
175			// Standard Error: 3_720
176			.saturating_add(Weight::from_parts(82_222, 0).saturating_mul(s.into()))
177			.saturating_add(T::DbWeight::get().reads(1))
178			.saturating_add(T::DbWeight::get().writes(1))
179	}
180}