git.delta.rocks / unique-network / refs/commits / d8de1b3c39fb

difftreelog

source

pallets/identity/src/weights.rs24.5 KiBsourcehistory
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.2// This file is part of Unique Network.34// Unique Network is free software: you can redistribute it and/or modify5// it under the terms of the GNU General Public License as published by6// the Free Software Foundation, either version 3 of the License, or7// (at your option) any later version.89// Unique Network is distributed in the hope that it will be useful,10// but WITHOUT ANY WARRANTY; without even the implied warranty of11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the12// GNU General Public License for more details.1314// You should have received a copy of the GNU General Public License15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.1617// Original license:18// This file is part of Substrate.1920// Copyright (C) 2022 Parity Technologies (UK) Ltd.21// SPDX-License-Identifier: Apache-2.02223// Licensed under the Apache License, Version 2.0 (the "License");24// you may not use this file except in compliance with the License.25// You may obtain a copy of the License at26//27// 	http://www.apache.org/licenses/LICENSE-2.028//29// Unless required by applicable law or agreed to in writing, software30// distributed under the License is distributed on an "AS IS" BASIS,31// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.32// See the License for the specific language governing permissions and33// limitations under the License.3435//! Autogenerated weights for pallet_identity36//!37//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev38//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`39//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`40//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 10244142// Executed Command:43// ./target/production/substrate44// benchmark45// pallet46// --chain=dev47// --steps=5048// --repeat=2049// --pallet=pallet_identity50// --extrinsic=*51// --execution=wasm52// --wasm-execution=compiled53// --heap-pages=409654// --output=./frame/identity/src/weights.rs55// --header=./HEADER-APACHE256// --template=./.maintain/frame-weight-template.hbs5758#![cfg_attr(rustfmt, rustfmt_skip)]59#![allow(unused_parens)]60#![allow(unused_imports)]6162use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};63use sp_std::marker::PhantomData;6465/// Weight functions needed for pallet_identity.66pub trait WeightInfo {67	fn add_registrar(r: u32, ) -> Weight;68	fn set_identity(r: u32, x: u32, ) -> Weight;69	fn set_subs_new(s: u32, ) -> Weight;70	fn set_subs_old(p: u32, ) -> Weight;71	fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight;72	fn request_judgement(r: u32, x: u32, ) -> Weight;73	fn cancel_request(r: u32, x: u32, ) -> Weight;74	fn set_fee(r: u32, ) -> Weight;75	fn set_account_id(r: u32, ) -> Weight;76	fn set_fields(r: u32, ) -> Weight;77	fn provide_judgement(r: u32, x: u32, ) -> Weight;78	fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight;79	fn force_insert_identities(x: u32, n: u32, ) -> Weight;80	fn force_remove_identities(x: u32, n: u32, ) -> Weight;81	fn add_sub(s: u32, ) -> Weight;82	fn rename_sub(s: u32, ) -> Weight;83	fn remove_sub(s: u32, ) -> Weight;84	fn quit_sub(s: u32, ) -> Weight;85}8687/// Weights for pallet_identity using the Substrate node and recommended hardware.88pub struct SubstrateWeight<T>(PhantomData<T>);89impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {90	// Storage: Identity Registrars (r:1 w:1)91	/// The range of component `r` is `[1, 19]`.92	fn add_registrar(r: u32, ) -> Weight {93		// Minimum execution time: 20_269 nanoseconds.94		Weight::from_ref_time(21_910_543 as u64)95			// Standard Error: 4_60496			.saturating_add(Weight::from_ref_time(223_104 as u64).saturating_mul(r as u64))97			.saturating_add(T::DbWeight::get().reads(1 as u64))98			.saturating_add(T::DbWeight::get().writes(1 as u64))99	}100	// Storage: Identity IdentityOf (r:1 w:1)101	/// The range of component `r` is `[1, 20]`.102	/// The range of component `x` is `[0, 100]`.103	fn set_identity(r: u32, x: u32, ) -> Weight {104		// Minimum execution time: 41_872 nanoseconds.105		Weight::from_ref_time(40_230_216 as u64)106			// Standard Error: 2_342107			.saturating_add(Weight::from_ref_time(145_168 as u64).saturating_mul(r as u64))108			// Standard Error: 457109			.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))110			.saturating_add(T::DbWeight::get().reads(1 as u64))111			.saturating_add(T::DbWeight::get().writes(1 as u64))112	}113	// Storage: Identity IdentityOf (r:1 w:0)114	// Storage: Identity SubsOf (r:1 w:1)115	// Storage: Identity SuperOf (r:2 w:2)116	/// The range of component `s` is `[0, 100]`.117	fn set_subs_new(s: u32, ) -> Weight {118		// Minimum execution time: 12_024 nanoseconds.119		Weight::from_ref_time(32_550_819 as u64)120			// Standard Error: 5_057121			.saturating_add(Weight::from_ref_time(2_521_245 as u64).saturating_mul(s as u64))122			.saturating_add(T::DbWeight::get().reads(2 as u64))123			.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))124			.saturating_add(T::DbWeight::get().writes(1 as u64))125			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))126	}127	// Storage: Identity IdentityOf (r:1 w:0)128	// Storage: Identity SubsOf (r:1 w:1)129	// Storage: Identity SuperOf (r:0 w:2)130	/// The range of component `p` is `[0, 100]`.131	fn set_subs_old(p: u32, ) -> Weight {132		// Minimum execution time: 12_232 nanoseconds.133		Weight::from_ref_time(34_009_761 as u64)134			// Standard Error: 5_047135			.saturating_add(Weight::from_ref_time(1_113_100 as u64).saturating_mul(p as u64))136			.saturating_add(T::DbWeight::get().reads(2 as u64))137			.saturating_add(T::DbWeight::get().writes(1 as u64))138			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))139	}140	// Storage: Identity SubsOf (r:1 w:1)141	// Storage: Identity IdentityOf (r:1 w:1)142	// Storage: Identity SuperOf (r:0 w:100)143	/// The range of component `r` is `[1, 20]`.144	/// The range of component `s` is `[0, 100]`.145	/// The range of component `x` is `[0, 100]`.146	fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {147		// Minimum execution time: 57_144 nanoseconds.148		Weight::from_ref_time(41_559_247 as u64)149			// Standard Error: 9_996150			.saturating_add(Weight::from_ref_time(146_770 as u64).saturating_mul(r as u64))151			// Standard Error: 1_952152			.saturating_add(Weight::from_ref_time(1_086_673 as u64).saturating_mul(s as u64))153			// Standard Error: 1_952154			.saturating_add(Weight::from_ref_time(162_481 as u64).saturating_mul(x as u64))155			.saturating_add(T::DbWeight::get().reads(2 as u64))156			.saturating_add(T::DbWeight::get().writes(2 as u64))157			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))158	}159	// Storage: Identity Registrars (r:1 w:0)160	// Storage: Identity IdentityOf (r:1 w:1)161	/// The range of component `r` is `[1, 20]`.162	/// The range of component `x` is `[0, 100]`.163	fn request_judgement(r: u32, x: u32, ) -> Weight {164		// Minimum execution time: 44_726 nanoseconds.165		Weight::from_ref_time(41_637_308 as u64)166			// Standard Error: 1_907167			.saturating_add(Weight::from_ref_time(219_078 as u64).saturating_mul(r as u64))168			// Standard Error: 372169			.saturating_add(Weight::from_ref_time(309_888 as u64).saturating_mul(x as u64))170			.saturating_add(T::DbWeight::get().reads(2 as u64))171			.saturating_add(T::DbWeight::get().writes(1 as u64))172	}173	// Storage: Identity IdentityOf (r:1 w:1)174	/// The range of component `r` is `[1, 20]`.175	/// The range of component `x` is `[0, 100]`.176	fn cancel_request(r: u32, x: u32, ) -> Weight {177		// Minimum execution time: 39_719 nanoseconds.178		Weight::from_ref_time(38_008_751 as u64)179			// Standard Error: 2_394180			.saturating_add(Weight::from_ref_time(181_870 as u64).saturating_mul(r as u64))181			// Standard Error: 467182			.saturating_add(Weight::from_ref_time(314_990 as u64).saturating_mul(x as u64))183			.saturating_add(T::DbWeight::get().reads(1 as u64))184			.saturating_add(T::DbWeight::get().writes(1 as u64))185	}186	// Storage: Identity Registrars (r:1 w:1)187	/// The range of component `r` is `[1, 19]`.188	fn set_fee(r: u32, ) -> Weight {189		// Minimum execution time: 10_634 nanoseconds.190		Weight::from_ref_time(11_383_704 as u64)191			// Standard Error: 2_250192			.saturating_add(Weight::from_ref_time(193_094 as u64).saturating_mul(r as u64))193			.saturating_add(T::DbWeight::get().reads(1 as u64))194			.saturating_add(T::DbWeight::get().writes(1 as u64))195	}196	// Storage: Identity Registrars (r:1 w:1)197	/// The range of component `r` is `[1, 19]`.198	fn set_account_id(r: u32, ) -> Weight {199		// Minimum execution time: 10_840 nanoseconds.200		Weight::from_ref_time(11_638_740 as u64)201			// Standard Error: 1_985202			.saturating_add(Weight::from_ref_time(193_016 as u64).saturating_mul(r as u64))203			.saturating_add(T::DbWeight::get().reads(1 as u64))204			.saturating_add(T::DbWeight::get().writes(1 as u64))205	}206	// Storage: Identity Registrars (r:1 w:1)207	/// The range of component `r` is `[1, 19]`.208	fn set_fields(r: u32, ) -> Weight {209		// Minimum execution time: 10_748 nanoseconds.210		Weight::from_ref_time(11_346_901 as u64)211			// Standard Error: 2_132212			.saturating_add(Weight::from_ref_time(196_630 as u64).saturating_mul(r as u64))213			.saturating_add(T::DbWeight::get().reads(1 as u64))214			.saturating_add(T::DbWeight::get().writes(1 as u64))215	}216	// Storage: Identity Registrars (r:1 w:0)217	// Storage: Identity IdentityOf (r:1 w:1)218	/// The range of component `r` is `[1, 19]`.219	/// The range of component `x` is `[0, 100]`.220	fn provide_judgement(r: u32, x: u32, ) -> Weight {221		// Minimum execution time: 33_682 nanoseconds.222		Weight::from_ref_time(31_336_603 as u64)223			// Standard Error: 3_056224			.saturating_add(Weight::from_ref_time(200_403 as u64).saturating_mul(r as u64))225			// Standard Error: 565226			.saturating_add(Weight::from_ref_time(525_142 as u64).saturating_mul(x as u64))227			.saturating_add(T::DbWeight::get().reads(2 as u64))228			.saturating_add(T::DbWeight::get().writes(1 as u64))229	}230	// Storage: Identity SubsOf (r:1 w:1)231	// Storage: Identity IdentityOf (r:1 w:1)232	// Storage: System Account (r:1 w:1)233	// Storage: Identity SuperOf (r:0 w:100)234	/// The range of component `r` is `[1, 20]`.235	/// The range of component `s` is `[0, 100]`.236	/// The range of component `x` is `[0, 100]`.237	fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {238		// Minimum execution time: 68_794 nanoseconds.239		Weight::from_ref_time(52_114_486 as u64)240			// Standard Error: 4_808241			.saturating_add(Weight::from_ref_time(153_462 as u64).saturating_mul(r as u64))242			// Standard Error: 939243			.saturating_add(Weight::from_ref_time(1_084_612 as u64).saturating_mul(s as u64))244			// Standard Error: 939245			.saturating_add(Weight::from_ref_time(170_112 as u64).saturating_mul(x as u64))246			.saturating_add(T::DbWeight::get().reads(3 as u64))247			.saturating_add(T::DbWeight::get().writes(3 as u64))248			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))249	}250	// Storage: Identity IdentityOf (r:1 w:1)251	/// The range of component `x` is `[0, 100]`.252	/// The range of component `n` is `[0, 600]`.253	fn force_insert_identities(x: u32, n: u32) -> Weight {254		// Minimum execution time: 41_872 nanoseconds.255		Weight::from_ref_time(40_230_216 as u64)256			// Standard Error: 2_342257			.saturating_add(Weight::from_ref_time(145_168 as u64))258			// Standard Error: 457259			.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))260			.saturating_add(T::DbWeight::get().reads(1 as u64))261			.saturating_add(T::DbWeight::get().writes(1 as u64).saturating_mul(n as u64))262	}263	// Storage: Identity IdentityOf (r:1 w:1)264	/// The range of component `x` is `[0, 100]`.265	/// The range of component `n` is `[0, 600]`.266	fn force_remove_identities(x: u32, n: u32) -> Weight {267		// Minimum execution time: 41_872 nanoseconds.268		Weight::from_ref_time(40_230_216 as u64)269			// Standard Error: 2_342270			.saturating_add(Weight::from_ref_time(145_168 as u64))271			// Standard Error: 457272			.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))273			.saturating_add(T::DbWeight::get().reads(1 as u64))274			.saturating_add(T::DbWeight::get().writes(1 as u64).saturating_mul(n as u64))275	}276	// Storage: Identity IdentityOf (r:1 w:0)277	// Storage: Identity SuperOf (r:1 w:1)278	// Storage: Identity SubsOf (r:1 w:1)279	/// The range of component `s` is `[0, 99]`.280	fn add_sub(s: u32, ) -> Weight {281		// Minimum execution time: 37_914 nanoseconds.282		Weight::from_ref_time(43_488_083 as u64)283			// Standard Error: 1_631284			.saturating_add(Weight::from_ref_time(118_845 as u64).saturating_mul(s as u64))285			.saturating_add(T::DbWeight::get().reads(3 as u64))286			.saturating_add(T::DbWeight::get().writes(2 as u64))287	}288	// Storage: Identity IdentityOf (r:1 w:0)289	// Storage: Identity SuperOf (r:1 w:1)290	/// The range of component `s` is `[1, 100]`.291	fn rename_sub(s: u32, ) -> Weight {292		// Minimum execution time: 16_124 nanoseconds.293		Weight::from_ref_time(18_580_462 as u64)294			// Standard Error: 688295			.saturating_add(Weight::from_ref_time(67_220 as u64).saturating_mul(s as u64))296			.saturating_add(T::DbWeight::get().reads(2 as u64))297			.saturating_add(T::DbWeight::get().writes(1 as u64))298	}299	// Storage: Identity IdentityOf (r:1 w:0)300	// Storage: Identity SuperOf (r:1 w:1)301	// Storage: Identity SubsOf (r:1 w:1)302	/// The range of component `s` is `[1, 100]`.303	fn remove_sub(s: u32, ) -> Weight {304		// Minimum execution time: 41_517 nanoseconds.305		Weight::from_ref_time(45_123_530 as u64)306			// Standard Error: 1_530307			.saturating_add(Weight::from_ref_time(105_429 as u64).saturating_mul(s as u64))308			.saturating_add(T::DbWeight::get().reads(3 as u64))309			.saturating_add(T::DbWeight::get().writes(2 as u64))310	}311	// Storage: Identity SuperOf (r:1 w:1)312	// Storage: Identity SubsOf (r:1 w:1)313	/// The range of component `s` is `[0, 99]`.314	fn quit_sub(s: u32, ) -> Weight {315		// Minimum execution time: 30_171 nanoseconds.316		Weight::from_ref_time(33_355_514 as u64)317			// Standard Error: 1_286318			.saturating_add(Weight::from_ref_time(114_716 as u64).saturating_mul(s as u64))319			.saturating_add(T::DbWeight::get().reads(2 as u64))320			.saturating_add(T::DbWeight::get().writes(2 as u64))321	}322}323324// For backwards compatibility and tests325impl WeightInfo for () {326	// Storage: Identity Registrars (r:1 w:1)327	/// The range of component `r` is `[1, 19]`.328	fn add_registrar(r: u32, ) -> Weight {329		// Minimum execution time: 20_269 nanoseconds.330		Weight::from_ref_time(21_910_543 as u64)331			// Standard Error: 4_604332			.saturating_add(Weight::from_ref_time(223_104 as u64).saturating_mul(r as u64))333			.saturating_add(RocksDbWeight::get().reads(1 as u64))334			.saturating_add(RocksDbWeight::get().writes(1 as u64))335	}336	// Storage: Identity IdentityOf (r:1 w:1)337	/// The range of component `r` is `[1, 20]`.338	/// The range of component `x` is `[0, 100]`.339	fn set_identity(r: u32, x: u32, ) -> Weight {340		// Minimum execution time: 41_872 nanoseconds.341		Weight::from_ref_time(40_230_216 as u64)342			// Standard Error: 2_342343			.saturating_add(Weight::from_ref_time(145_168 as u64).saturating_mul(r as u64))344			// Standard Error: 457345			.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))346			.saturating_add(RocksDbWeight::get().reads(1 as u64))347			.saturating_add(RocksDbWeight::get().writes(1 as u64))348	}349	// Storage: Identity IdentityOf (r:1 w:0)350	// Storage: Identity SubsOf (r:1 w:1)351	// Storage: Identity SuperOf (r:2 w:2)352	/// The range of component `s` is `[0, 100]`.353	fn set_subs_new(s: u32, ) -> Weight {354		// Minimum execution time: 12_024 nanoseconds.355		Weight::from_ref_time(32_550_819 as u64)356			// Standard Error: 5_057357			.saturating_add(Weight::from_ref_time(2_521_245 as u64).saturating_mul(s as u64))358			.saturating_add(RocksDbWeight::get().reads(2 as u64))359			.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(s as u64)))360			.saturating_add(RocksDbWeight::get().writes(1 as u64))361			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))362	}363	// Storage: Identity IdentityOf (r:1 w:0)364	// Storage: Identity SubsOf (r:1 w:1)365	// Storage: Identity SuperOf (r:0 w:2)366	/// The range of component `p` is `[0, 100]`.367	fn set_subs_old(p: u32, ) -> Weight {368		// Minimum execution time: 12_232 nanoseconds.369		Weight::from_ref_time(34_009_761 as u64)370			// Standard Error: 5_047371			.saturating_add(Weight::from_ref_time(1_113_100 as u64).saturating_mul(p as u64))372			.saturating_add(RocksDbWeight::get().reads(2 as u64))373			.saturating_add(RocksDbWeight::get().writes(1 as u64))374			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(p as u64)))375	}376	// Storage: Identity SubsOf (r:1 w:1)377	// Storage: Identity IdentityOf (r:1 w:1)378	// Storage: Identity SuperOf (r:0 w:100)379	/// The range of component `r` is `[1, 20]`.380	/// The range of component `s` is `[0, 100]`.381	/// The range of component `x` is `[0, 100]`.382	fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {383		// Minimum execution time: 57_144 nanoseconds.384		Weight::from_ref_time(41_559_247 as u64)385			// Standard Error: 9_996386			.saturating_add(Weight::from_ref_time(146_770 as u64).saturating_mul(r as u64))387			// Standard Error: 1_952388			.saturating_add(Weight::from_ref_time(1_086_673 as u64).saturating_mul(s as u64))389			// Standard Error: 1_952390			.saturating_add(Weight::from_ref_time(162_481 as u64).saturating_mul(x as u64))391			.saturating_add(RocksDbWeight::get().reads(2 as u64))392			.saturating_add(RocksDbWeight::get().writes(2 as u64))393			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))394	}395	// Storage: Identity Registrars (r:1 w:0)396	// Storage: Identity IdentityOf (r:1 w:1)397	/// The range of component `r` is `[1, 20]`.398	/// The range of component `x` is `[0, 100]`.399	fn request_judgement(r: u32, x: u32, ) -> Weight {400		// Minimum execution time: 44_726 nanoseconds.401		Weight::from_ref_time(41_637_308 as u64)402			// Standard Error: 1_907403			.saturating_add(Weight::from_ref_time(219_078 as u64).saturating_mul(r as u64))404			// Standard Error: 372405			.saturating_add(Weight::from_ref_time(309_888 as u64).saturating_mul(x as u64))406			.saturating_add(RocksDbWeight::get().reads(2 as u64))407			.saturating_add(RocksDbWeight::get().writes(1 as u64))408	}409	// Storage: Identity IdentityOf (r:1 w:1)410	/// The range of component `r` is `[1, 20]`.411	/// The range of component `x` is `[0, 100]`.412	fn cancel_request(r: u32, x: u32, ) -> Weight {413		// Minimum execution time: 39_719 nanoseconds.414		Weight::from_ref_time(38_008_751 as u64)415			// Standard Error: 2_394416			.saturating_add(Weight::from_ref_time(181_870 as u64).saturating_mul(r as u64))417			// Standard Error: 467418			.saturating_add(Weight::from_ref_time(314_990 as u64).saturating_mul(x as u64))419			.saturating_add(RocksDbWeight::get().reads(1 as u64))420			.saturating_add(RocksDbWeight::get().writes(1 as u64))421	}422	// Storage: Identity Registrars (r:1 w:1)423	/// The range of component `r` is `[1, 19]`.424	fn set_fee(r: u32, ) -> Weight {425		// Minimum execution time: 10_634 nanoseconds.426		Weight::from_ref_time(11_383_704 as u64)427			// Standard Error: 2_250428			.saturating_add(Weight::from_ref_time(193_094 as u64).saturating_mul(r as u64))429			.saturating_add(RocksDbWeight::get().reads(1 as u64))430			.saturating_add(RocksDbWeight::get().writes(1 as u64))431	}432	// Storage: Identity Registrars (r:1 w:1)433	/// The range of component `r` is `[1, 19]`.434	fn set_account_id(r: u32, ) -> Weight {435		// Minimum execution time: 10_840 nanoseconds.436		Weight::from_ref_time(11_638_740 as u64)437			// Standard Error: 1_985438			.saturating_add(Weight::from_ref_time(193_016 as u64).saturating_mul(r as u64))439			.saturating_add(RocksDbWeight::get().reads(1 as u64))440			.saturating_add(RocksDbWeight::get().writes(1 as u64))441	}442	// Storage: Identity Registrars (r:1 w:1)443	/// The range of component `r` is `[1, 19]`.444	fn set_fields(r: u32, ) -> Weight {445		// Minimum execution time: 10_748 nanoseconds.446		Weight::from_ref_time(11_346_901 as u64)447			// Standard Error: 2_132448			.saturating_add(Weight::from_ref_time(196_630 as u64).saturating_mul(r as u64))449			.saturating_add(RocksDbWeight::get().reads(1 as u64))450			.saturating_add(RocksDbWeight::get().writes(1 as u64))451	}452	// Storage: Identity Registrars (r:1 w:0)453	// Storage: Identity IdentityOf (r:1 w:1)454	/// The range of component `r` is `[1, 19]`.455	/// The range of component `x` is `[0, 100]`.456	fn provide_judgement(r: u32, x: u32, ) -> Weight {457		// Minimum execution time: 33_682 nanoseconds.458		Weight::from_ref_time(31_336_603 as u64)459			// Standard Error: 3_056460			.saturating_add(Weight::from_ref_time(200_403 as u64).saturating_mul(r as u64))461			// Standard Error: 565462			.saturating_add(Weight::from_ref_time(525_142 as u64).saturating_mul(x as u64))463			.saturating_add(RocksDbWeight::get().reads(2 as u64))464			.saturating_add(RocksDbWeight::get().writes(1 as u64))465	}466	// Storage: Identity SubsOf (r:1 w:1)467	// Storage: Identity IdentityOf (r:1 w:1)468	// Storage: System Account (r:1 w:1)469	// Storage: Identity SuperOf (r:0 w:100)470	/// The range of component `r` is `[1, 20]`.471	/// The range of component `s` is `[0, 100]`.472	/// The range of component `x` is `[0, 100]`.473	fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {474		// Minimum execution time: 68_794 nanoseconds.475		Weight::from_ref_time(52_114_486 as u64)476			// Standard Error: 4_808477			.saturating_add(Weight::from_ref_time(153_462 as u64).saturating_mul(r as u64))478			// Standard Error: 939479			.saturating_add(Weight::from_ref_time(1_084_612 as u64).saturating_mul(s as u64))480			// Standard Error: 939481			.saturating_add(Weight::from_ref_time(170_112 as u64).saturating_mul(x as u64))482			.saturating_add(RocksDbWeight::get().reads(3 as u64))483			.saturating_add(RocksDbWeight::get().writes(3 as u64))484			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))485	}486	// Storage: Identity IdentityOf (r:1 w:1)487	/// The range of component `x` is `[0, 100]`.488	/// The range of component `n` is `[0, 600]`.489	fn force_insert_identities(x: u32, n: u32) -> Weight {490		// Minimum execution time: 41_872 nanoseconds.491		Weight::from_ref_time(40_230_216 as u64)492			// Standard Error: 2_342493			.saturating_add(Weight::from_ref_time(145_168 as u64))494			// Standard Error: 457495			.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))496			.saturating_add(RocksDbWeight::get().reads(1 as u64))497			.saturating_add(RocksDbWeight::get().writes(1 as u64).saturating_mul(n as u64))498	}499	// Storage: Identity IdentityOf (r:1 w:1)500	/// The range of component `x` is `[0, 100]`.501	/// The range of component `n` is `[0, 600]`.502	fn force_remove_identities(x: u32, n: u32) -> Weight {503		// Minimum execution time: 41_872 nanoseconds.504		Weight::from_ref_time(40_230_216 as u64)505			// Standard Error: 2_342506			.saturating_add(Weight::from_ref_time(145_168 as u64))507			// Standard Error: 457508			.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))509			.saturating_add(RocksDbWeight::get().reads(1 as u64))510			.saturating_add(RocksDbWeight::get().writes(1 as u64).saturating_mul(n as u64))511	}512	// Storage: Identity IdentityOf (r:1 w:0)513	// Storage: Identity SuperOf (r:1 w:1)514	// Storage: Identity SubsOf (r:1 w:1)515	/// The range of component `s` is `[0, 99]`.516	fn add_sub(s: u32, ) -> Weight {517		// Minimum execution time: 37_914 nanoseconds.518		Weight::from_ref_time(43_488_083 as u64)519			// Standard Error: 1_631520			.saturating_add(Weight::from_ref_time(118_845 as u64).saturating_mul(s as u64))521			.saturating_add(RocksDbWeight::get().reads(3 as u64))522			.saturating_add(RocksDbWeight::get().writes(2 as u64))523	}524	// Storage: Identity IdentityOf (r:1 w:0)525	// Storage: Identity SuperOf (r:1 w:1)526	/// The range of component `s` is `[1, 100]`.527	fn rename_sub(s: u32, ) -> Weight {528		// Minimum execution time: 16_124 nanoseconds.529		Weight::from_ref_time(18_580_462 as u64)530			// Standard Error: 688531			.saturating_add(Weight::from_ref_time(67_220 as u64).saturating_mul(s as u64))532			.saturating_add(RocksDbWeight::get().reads(2 as u64))533			.saturating_add(RocksDbWeight::get().writes(1 as u64))534	}535	// Storage: Identity IdentityOf (r:1 w:0)536	// Storage: Identity SuperOf (r:1 w:1)537	// Storage: Identity SubsOf (r:1 w:1)538	/// The range of component `s` is `[1, 100]`.539	fn remove_sub(s: u32, ) -> Weight {540		// Minimum execution time: 41_517 nanoseconds.541		Weight::from_ref_time(45_123_530 as u64)542			// Standard Error: 1_530543			.saturating_add(Weight::from_ref_time(105_429 as u64).saturating_mul(s as u64))544			.saturating_add(RocksDbWeight::get().reads(3 as u64))545			.saturating_add(RocksDbWeight::get().writes(2 as u64))546	}547	// Storage: Identity SuperOf (r:1 w:1)548	// Storage: Identity SubsOf (r:1 w:1)549	/// The range of component `s` is `[0, 99]`.550	fn quit_sub(s: u32, ) -> Weight {551		// Minimum execution time: 30_171 nanoseconds.552		Weight::from_ref_time(33_355_514 as u64)553			// Standard Error: 1_286554			.saturating_add(Weight::from_ref_time(114_716 as u64).saturating_mul(s as u64))555			.saturating_add(RocksDbWeight::get().reads(2 as u64))556			.saturating_add(RocksDbWeight::get().writes(2 as u64))557	}558}