people_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/people-rococo-runtime/people_rococo_runtime.wasm
31// --pallet=pallet_multisig
32// --header=/__w/polkadot-sdk/polkadot-sdk/cumulus/file_header.txt
33// --output=./cumulus/parachains/runtimes/people/people-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_740_000 picoseconds.
59 Weight::from_parts(16_129_400, 0)
60 .saturating_add(Weight::from_parts(0, 0))
61 // Standard Error: 18
62 .saturating_add(Weight::from_parts(949, 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: 47_726_000 picoseconds.
73 Weight::from_parts(42_770_458, 0)
74 .saturating_add(Weight::from_parts(0, 6811))
75 // Standard Error: 5_216
76 .saturating_add(Weight::from_parts(92_088, 0).saturating_mul(s.into()))
77 // Standard Error: 51
78 .saturating_add(Weight::from_parts(1_836, 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_839_000 picoseconds.
91 Weight::from_parts(17_024_830, 0)
92 .saturating_add(Weight::from_parts(0, 6811))
93 // Standard Error: 1_897
94 .saturating_add(Weight::from_parts(152_893, 0).saturating_mul(s.into()))
95 // Standard Error: 18
96 .saturating_add(Weight::from_parts(2_077, 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_336_000 picoseconds.
111 Weight::from_parts(33_150_111, 0)
112 .saturating_add(Weight::from_parts(0, 6811))
113 // Standard Error: 2_792
114 .saturating_add(Weight::from_parts(210_323, 0).saturating_mul(s.into()))
115 // Standard Error: 27
116 .saturating_add(Weight::from_parts(2_275, 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_377_000 picoseconds.
128 Weight::from_parts(31_278_890, 0)
129 .saturating_add(Weight::from_parts(0, 6811))
130 // Standard Error: 1_426
131 .saturating_add(Weight::from_parts(167_735, 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_734_000 picoseconds.
143 Weight::from_parts(18_265_217, 0)
144 .saturating_add(Weight::from_parts(0, 6811))
145 // Standard Error: 1_209
146 .saturating_add(Weight::from_parts(133_740, 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_167_000 picoseconds.
158 Weight::from_parts(32_070_456, 0)
159 .saturating_add(Weight::from_parts(0, 6811))
160 // Standard Error: 1_666
161 .saturating_add(Weight::from_parts(163_065, 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_156_000 picoseconds.
173 Weight::from_parts(30_828_857, 0)
174 .saturating_add(Weight::from_parts(0, 6811))
175 // Standard Error: 1_194
176 .saturating_add(Weight::from_parts(145_508, 0).saturating_mul(s.into()))
177 .saturating_add(T::DbWeight::get().reads(1))
178 .saturating_add(T::DbWeight::get().writes(1))
179 }
180}