pallet_collective_proxy/
weights.rs

1
2// This file is part of Astar.
3
4// Copyright (C) Stake Technologies Pte.Ltd.
5// SPDX-License-Identifier: GPL-3.0-or-later
6
7// Astar is free software: you can redistribute it and/or modify
8// it under the terms of the GNU General Public License as published by
9// the Free Software Foundation, either version 3 of the License, or
10// (at your option) any later version.
11
12// Astar is distributed in the hope that it will be useful,
13// but WITHOUT ANY WARRANTY; without even the implied warranty of
14// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15// GNU General Public License for more details.
16
17// You should have received a copy of the GNU General Public License
18// along with Astar. If not, see <http://www.gnu.org/licenses/>.
19
20//! Autogenerated weights for pallet_collective_proxy
21//!
22//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
23//! DATE: 2024-07-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
24//! WORST CASE MAP SIZE: `1000000`
25//! HOSTNAME: `gh-runner-01-ovh`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz`
26//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("shibuya-dev"), DB CACHE: 1024
27
28// Executed Command:
29// ./target/release/astar-collator
30// benchmark
31// pallet
32// --chain=shibuya-dev
33// --steps=50
34// --repeat=20
35// --pallet=pallet-collective-proxy
36// --extrinsic=*
37// --execution=wasm
38// --wasm-execution=compiled
39// --heap-pages=4096
40// --output=./benchmark-results/shibuya-dev/pallet-collective-proxy_weights.rs
41// --template=./scripts/templates/weight-template.hbs
42
43#![cfg_attr(rustfmt, rustfmt_skip)]
44#![allow(unused_parens)]
45#![allow(unused_imports)]
46
47use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
48use core::marker::PhantomData;
49
50/// Weight functions needed for pallet_collective_proxy.
51pub trait WeightInfo {
52	fn execute_call() -> Weight;
53}
54
55/// Weights for pallet_collective_proxy using the Substrate node and recommended hardware.
56pub struct SubstrateWeight<T>(PhantomData<T>);
57impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
58	fn execute_call() -> Weight {
59		// Proof Size summary in bytes:
60		//  Measured:  `0`
61		//  Estimated: `0`
62		// Minimum execution time: 7_732_000 picoseconds.
63		Weight::from_parts(7_950_000, 0)
64	}
65}
66
67// For backwards compatibility and tests
68impl WeightInfo for () {
69	fn execute_call() -> Weight {
70		// Proof Size summary in bytes:
71		//  Measured:  `0`
72		//  Estimated: `0`
73		// Minimum execution time: 7_732_000 picoseconds.
74		Weight::from_parts(7_950_000, 0)
75	}
76}