people_westend_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/people-westend-runtime/people_westend_runtime.wasm
31// --pallet=pallet_multisig
32// --header=/__w/polkadot-sdk/polkadot-sdk/cumulus/file_header.txt
33// --output=./cumulus/parachains/runtimes/people/people-westend/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_547_000 picoseconds.
59 Weight::from_parts(17_016_393, 0)
60 .saturating_add(Weight::from_parts(0, 0))
61 // Standard Error: 11
62 .saturating_add(Weight::from_parts(451, 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: 46_205_000 picoseconds.
73 Weight::from_parts(32_709_232, 0)
74 .saturating_add(Weight::from_parts(0, 6811))
75 // Standard Error: 1_436
76 .saturating_add(Weight::from_parts(155_664, 0).saturating_mul(s.into()))
77 // Standard Error: 14
78 .saturating_add(Weight::from_parts(1_961, 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: 31_191_000 picoseconds.
91 Weight::from_parts(18_049_741, 0)
92 .saturating_add(Weight::from_parts(0, 6811))
93 // Standard Error: 3_281
94 .saturating_add(Weight::from_parts(191_717, 0).saturating_mul(s.into()))
95 // Standard Error: 32
96 .saturating_add(Weight::from_parts(1_870, 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: 51_144_000 picoseconds.
111 Weight::from_parts(39_814_896, 0)
112 .saturating_add(Weight::from_parts(0, 6811))
113 // Standard Error: 5_503
114 .saturating_add(Weight::from_parts(129_151, 0).saturating_mul(s.into()))
115 // Standard Error: 53
116 .saturating_add(Weight::from_parts(2_606, 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_407_000 picoseconds.
128 Weight::from_parts(31_348_384, 0)
129 .saturating_add(Weight::from_parts(0, 6811))
130 // Standard Error: 1_745
131 .saturating_add(Weight::from_parts(166_419, 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: 16_850_000 picoseconds.
143 Weight::from_parts(17_798_580, 0)
144 .saturating_add(Weight::from_parts(0, 6811))
145 // Standard Error: 997
146 .saturating_add(Weight::from_parts(136_483, 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: 30_358_000 picoseconds.
158 Weight::from_parts(32_907_172, 0)
159 .saturating_add(Weight::from_parts(0, 6811))
160 // Standard Error: 1_729
161 .saturating_add(Weight::from_parts(142_934, 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: 28_252_000 picoseconds.
173 Weight::from_parts(30_269_886, 0)
174 .saturating_add(Weight::from_parts(0, 6811))
175 // Standard Error: 1_802
176 .saturating_add(Weight::from_parts(161_973, 0).saturating_mul(s.into()))
177 .saturating_add(T::DbWeight::get().reads(1))
178 .saturating_add(T::DbWeight::get().writes(1))
179 }
180}