referrerpolicy=no-referrer-when-downgrade

coretime_rococo_runtime/weights/
pallet_utility.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_utility`
17//!
18//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
19//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
20//! WORST CASE MAP SIZE: `1000000`
21//! HOSTNAME: `731f893ee36e`, 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_utility
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_utility`.
51pub struct WeightInfo<T>(PhantomData<T>);
52impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
53	/// The range of component `c` is `[0, 1000]`.
54	fn batch(c: u32, ) -> Weight {
55		// Proof Size summary in bytes:
56		//  Measured:  `0`
57		//  Estimated: `0`
58		// Minimum execution time: 4_976_000 picoseconds.
59		Weight::from_parts(6_862_599, 0)
60			.saturating_add(Weight::from_parts(0, 0))
61			// Standard Error: 3_359
62			.saturating_add(Weight::from_parts(3_016_767, 0).saturating_mul(c.into()))
63	}
64	fn as_derivative() -> Weight {
65		// Proof Size summary in bytes:
66		//  Measured:  `0`
67		//  Estimated: `0`
68		// Minimum execution time: 4_476_000 picoseconds.
69		Weight::from_parts(4_633_000, 0)
70			.saturating_add(Weight::from_parts(0, 0))
71	}
72	/// The range of component `c` is `[0, 1000]`.
73	fn batch_all(c: u32, ) -> Weight {
74		// Proof Size summary in bytes:
75		//  Measured:  `0`
76		//  Estimated: `0`
77		// Minimum execution time: 5_002_000 picoseconds.
78		Weight::from_parts(1_748_813, 0)
79			.saturating_add(Weight::from_parts(0, 0))
80			// Standard Error: 3_837
81			.saturating_add(Weight::from_parts(3_247_545, 0).saturating_mul(c.into()))
82	}
83	fn dispatch_as() -> Weight {
84		// Proof Size summary in bytes:
85		//  Measured:  `0`
86		//  Estimated: `0`
87		// Minimum execution time: 6_845_000 picoseconds.
88		Weight::from_parts(7_178_000, 0)
89			.saturating_add(Weight::from_parts(0, 0))
90	}
91	/// The range of component `c` is `[0, 1000]`.
92	fn force_batch(c: u32, ) -> Weight {
93		// Proof Size summary in bytes:
94		//  Measured:  `0`
95		//  Estimated: `0`
96		// Minimum execution time: 5_086_000 picoseconds.
97		Weight::from_parts(5_214_000, 0)
98			.saturating_add(Weight::from_parts(0, 0))
99			// Standard Error: 2_197
100			.saturating_add(Weight::from_parts(3_033_800, 0).saturating_mul(c.into()))
101	}
102	fn dispatch_as_fallible() -> Weight {
103		// Proof Size summary in bytes:
104		//  Measured:  `0`
105		//  Estimated: `0`
106		// Minimum execution time: 6_782_000 picoseconds.
107		Weight::from_parts(7_084_000, 0)
108			.saturating_add(Weight::from_parts(0, 0))
109	}
110	fn if_else() -> Weight {
111		// Proof Size summary in bytes:
112		//  Measured:  `0`
113		//  Estimated: `0`
114		// Minimum execution time: 8_384_000 picoseconds.
115		Weight::from_parts(8_737_000, 0)
116			.saturating_add(Weight::from_parts(0, 0))
117	}
118}