git.delta.rocks / unique-network / refs/commits / 4176e4ddae02

difftreelog

source

pallets/identity/src/weights.rs23.3 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 set_identities(x: u32, n: u32, ) -> Weight;80	fn add_sub(s: u32, ) -> Weight;81	fn rename_sub(s: u32, ) -> Weight;82	fn remove_sub(s: u32, ) -> Weight;83	fn quit_sub(s: u32, ) -> Weight;84}8586/// Weights for pallet_identity using the Substrate node and recommended hardware.87pub struct SubstrateWeight<T>(PhantomData<T>);88impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {89	// Storage: Identity Registrars (r:1 w:1)90	/// The range of component `r` is `[1, 19]`.91	fn add_registrar(r: u32, ) -> Weight {92		// Minimum execution time: 20_269 nanoseconds.93		Weight::from_ref_time(21_910_543 as u64)94			// Standard Error: 4_60495			.saturating_add(Weight::from_ref_time(223_104 as u64).saturating_mul(r as u64))96			.saturating_add(T::DbWeight::get().reads(1 as u64))97			.saturating_add(T::DbWeight::get().writes(1 as u64))98	}99	// Storage: Identity IdentityOf (r:1 w:1)100	/// The range of component `r` is `[1, 20]`.101	/// The range of component `x` is `[0, 100]`.102	fn set_identity(r: u32, x: u32, ) -> Weight {103		// Minimum execution time: 41_872 nanoseconds.104		Weight::from_ref_time(40_230_216 as u64)105			// Standard Error: 2_342106			.saturating_add(Weight::from_ref_time(145_168 as u64).saturating_mul(r as u64))107			// Standard Error: 457108			.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))109			.saturating_add(T::DbWeight::get().reads(1 as u64))110			.saturating_add(T::DbWeight::get().writes(1 as u64))111	}112	// Storage: Identity IdentityOf (r:1 w:0)113	// Storage: Identity SubsOf (r:1 w:1)114	// Storage: Identity SuperOf (r:2 w:2)115	/// The range of component `s` is `[0, 100]`.116	fn set_subs_new(s: u32, ) -> Weight {117		// Minimum execution time: 12_024 nanoseconds.118		Weight::from_ref_time(32_550_819 as u64)119			// Standard Error: 5_057120			.saturating_add(Weight::from_ref_time(2_521_245 as u64).saturating_mul(s as u64))121			.saturating_add(T::DbWeight::get().reads(2 as u64))122			.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))123			.saturating_add(T::DbWeight::get().writes(1 as u64))124			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))125	}126	// Storage: Identity IdentityOf (r:1 w:0)127	// Storage: Identity SubsOf (r:1 w:1)128	// Storage: Identity SuperOf (r:0 w:2)129	/// The range of component `p` is `[0, 100]`.130	fn set_subs_old(p: u32, ) -> Weight {131		// Minimum execution time: 12_232 nanoseconds.132		Weight::from_ref_time(34_009_761 as u64)133			// Standard Error: 5_047134			.saturating_add(Weight::from_ref_time(1_113_100 as u64).saturating_mul(p as u64))135			.saturating_add(T::DbWeight::get().reads(2 as u64))136			.saturating_add(T::DbWeight::get().writes(1 as u64))137			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))138	}139	// Storage: Identity SubsOf (r:1 w:1)140	// Storage: Identity IdentityOf (r:1 w:1)141	// Storage: Identity SuperOf (r:0 w:100)142	/// The range of component `r` is `[1, 20]`.143	/// The range of component `s` is `[0, 100]`.144	/// The range of component `x` is `[0, 100]`.145	fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {146		// Minimum execution time: 57_144 nanoseconds.147		Weight::from_ref_time(41_559_247 as u64)148			// Standard Error: 9_996149			.saturating_add(Weight::from_ref_time(146_770 as u64).saturating_mul(r as u64))150			// Standard Error: 1_952151			.saturating_add(Weight::from_ref_time(1_086_673 as u64).saturating_mul(s as u64))152			// Standard Error: 1_952153			.saturating_add(Weight::from_ref_time(162_481 as u64).saturating_mul(x as u64))154			.saturating_add(T::DbWeight::get().reads(2 as u64))155			.saturating_add(T::DbWeight::get().writes(2 as u64))156			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))157	}158	// Storage: Identity Registrars (r:1 w:0)159	// Storage: Identity IdentityOf (r:1 w:1)160	/// The range of component `r` is `[1, 20]`.161	/// The range of component `x` is `[0, 100]`.162	fn request_judgement(r: u32, x: u32, ) -> Weight {163		// Minimum execution time: 44_726 nanoseconds.164		Weight::from_ref_time(41_637_308 as u64)165			// Standard Error: 1_907166			.saturating_add(Weight::from_ref_time(219_078 as u64).saturating_mul(r as u64))167			// Standard Error: 372168			.saturating_add(Weight::from_ref_time(309_888 as u64).saturating_mul(x as u64))169			.saturating_add(T::DbWeight::get().reads(2 as u64))170			.saturating_add(T::DbWeight::get().writes(1 as u64))171	}172	// Storage: Identity IdentityOf (r:1 w:1)173	/// The range of component `r` is `[1, 20]`.174	/// The range of component `x` is `[0, 100]`.175	fn cancel_request(r: u32, x: u32, ) -> Weight {176		// Minimum execution time: 39_719 nanoseconds.177		Weight::from_ref_time(38_008_751 as u64)178			// Standard Error: 2_394179			.saturating_add(Weight::from_ref_time(181_870 as u64).saturating_mul(r as u64))180			// Standard Error: 467181			.saturating_add(Weight::from_ref_time(314_990 as u64).saturating_mul(x as u64))182			.saturating_add(T::DbWeight::get().reads(1 as u64))183			.saturating_add(T::DbWeight::get().writes(1 as u64))184	}185	// Storage: Identity Registrars (r:1 w:1)186	/// The range of component `r` is `[1, 19]`.187	fn set_fee(r: u32, ) -> Weight {188		// Minimum execution time: 10_634 nanoseconds.189		Weight::from_ref_time(11_383_704 as u64)190			// Standard Error: 2_250191			.saturating_add(Weight::from_ref_time(193_094 as u64).saturating_mul(r as u64))192			.saturating_add(T::DbWeight::get().reads(1 as u64))193			.saturating_add(T::DbWeight::get().writes(1 as u64))194	}195	// Storage: Identity Registrars (r:1 w:1)196	/// The range of component `r` is `[1, 19]`.197	fn set_account_id(r: u32, ) -> Weight {198		// Minimum execution time: 10_840 nanoseconds.199		Weight::from_ref_time(11_638_740 as u64)200			// Standard Error: 1_985201			.saturating_add(Weight::from_ref_time(193_016 as u64).saturating_mul(r as u64))202			.saturating_add(T::DbWeight::get().reads(1 as u64))203			.saturating_add(T::DbWeight::get().writes(1 as u64))204	}205	// Storage: Identity Registrars (r:1 w:1)206	/// The range of component `r` is `[1, 19]`.207	fn set_fields(r: u32, ) -> Weight {208		// Minimum execution time: 10_748 nanoseconds.209		Weight::from_ref_time(11_346_901 as u64)210			// Standard Error: 2_132211			.saturating_add(Weight::from_ref_time(196_630 as u64).saturating_mul(r as u64))212			.saturating_add(T::DbWeight::get().reads(1 as u64))213			.saturating_add(T::DbWeight::get().writes(1 as u64))214	}215	// Storage: Identity Registrars (r:1 w:0)216	// Storage: Identity IdentityOf (r:1 w:1)217	/// The range of component `r` is `[1, 19]`.218	/// The range of component `x` is `[0, 100]`.219	fn provide_judgement(r: u32, x: u32, ) -> Weight {220		// Minimum execution time: 33_682 nanoseconds.221		Weight::from_ref_time(31_336_603 as u64)222			// Standard Error: 3_056223			.saturating_add(Weight::from_ref_time(200_403 as u64).saturating_mul(r as u64))224			// Standard Error: 565225			.saturating_add(Weight::from_ref_time(525_142 as u64).saturating_mul(x as u64))226			.saturating_add(T::DbWeight::get().reads(2 as u64))227			.saturating_add(T::DbWeight::get().writes(1 as u64))228	}229	// Storage: Identity SubsOf (r:1 w:1)230	// Storage: Identity IdentityOf (r:1 w:1)231	// Storage: System Account (r:1 w:1)232	// Storage: Identity SuperOf (r:0 w:100)233	/// The range of component `r` is `[1, 20]`.234	/// The range of component `s` is `[0, 100]`.235	/// The range of component `x` is `[0, 100]`.236	fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {237		// Minimum execution time: 68_794 nanoseconds.238		Weight::from_ref_time(52_114_486 as u64)239			// Standard Error: 4_808240			.saturating_add(Weight::from_ref_time(153_462 as u64).saturating_mul(r as u64))241			// Standard Error: 939242			.saturating_add(Weight::from_ref_time(1_084_612 as u64).saturating_mul(s as u64))243			// Standard Error: 939244			.saturating_add(Weight::from_ref_time(170_112 as u64).saturating_mul(x as u64))245			.saturating_add(T::DbWeight::get().reads(3 as u64))246			.saturating_add(T::DbWeight::get().writes(3 as u64))247			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))248	}249	// Storage: Identity IdentityOf (r:1 w:1)250	/// The range of component `x` is `[0, 100]`.251	/// The range of component `n` is `[0, 600]`.252	fn set_identities(x: u32, n: u32) -> Weight {253		// Minimum execution time: 41_872 nanoseconds.254		Weight::from_ref_time(40_230_216 as u64)255			// Standard Error: 2_342256			.saturating_add(Weight::from_ref_time(145_168 as u64))257			// Standard Error: 457258			.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))259			.saturating_add(T::DbWeight::get().reads(1 as u64))260			.saturating_add(T::DbWeight::get().writes(1 as u64).saturating_mul(n as u64))261	}262	// Storage: Identity IdentityOf (r:1 w:0)263	// Storage: Identity SuperOf (r:1 w:1)264	// Storage: Identity SubsOf (r:1 w:1)265	/// The range of component `s` is `[0, 99]`.266	fn add_sub(s: u32, ) -> Weight {267		// Minimum execution time: 37_914 nanoseconds.268		Weight::from_ref_time(43_488_083 as u64)269			// Standard Error: 1_631270			.saturating_add(Weight::from_ref_time(118_845 as u64).saturating_mul(s as u64))271			.saturating_add(T::DbWeight::get().reads(3 as u64))272			.saturating_add(T::DbWeight::get().writes(2 as u64))273	}274	// Storage: Identity IdentityOf (r:1 w:0)275	// Storage: Identity SuperOf (r:1 w:1)276	/// The range of component `s` is `[1, 100]`.277	fn rename_sub(s: u32, ) -> Weight {278		// Minimum execution time: 16_124 nanoseconds.279		Weight::from_ref_time(18_580_462 as u64)280			// Standard Error: 688281			.saturating_add(Weight::from_ref_time(67_220 as u64).saturating_mul(s as u64))282			.saturating_add(T::DbWeight::get().reads(2 as u64))283			.saturating_add(T::DbWeight::get().writes(1 as u64))284	}285	// Storage: Identity IdentityOf (r:1 w:0)286	// Storage: Identity SuperOf (r:1 w:1)287	// Storage: Identity SubsOf (r:1 w:1)288	/// The range of component `s` is `[1, 100]`.289	fn remove_sub(s: u32, ) -> Weight {290		// Minimum execution time: 41_517 nanoseconds.291		Weight::from_ref_time(45_123_530 as u64)292			// Standard Error: 1_530293			.saturating_add(Weight::from_ref_time(105_429 as u64).saturating_mul(s as u64))294			.saturating_add(T::DbWeight::get().reads(3 as u64))295			.saturating_add(T::DbWeight::get().writes(2 as u64))296	}297	// Storage: Identity SuperOf (r:1 w:1)298	// Storage: Identity SubsOf (r:1 w:1)299	/// The range of component `s` is `[0, 99]`.300	fn quit_sub(s: u32, ) -> Weight {301		// Minimum execution time: 30_171 nanoseconds.302		Weight::from_ref_time(33_355_514 as u64)303			// Standard Error: 1_286304			.saturating_add(Weight::from_ref_time(114_716 as u64).saturating_mul(s as u64))305			.saturating_add(T::DbWeight::get().reads(2 as u64))306			.saturating_add(T::DbWeight::get().writes(2 as u64))307	}308}309310// For backwards compatibility and tests311impl WeightInfo for () {312	// Storage: Identity Registrars (r:1 w:1)313	/// The range of component `r` is `[1, 19]`.314	fn add_registrar(r: u32, ) -> Weight {315		// Minimum execution time: 20_269 nanoseconds.316		Weight::from_ref_time(21_910_543 as u64)317			// Standard Error: 4_604318			.saturating_add(Weight::from_ref_time(223_104 as u64).saturating_mul(r as u64))319			.saturating_add(RocksDbWeight::get().reads(1 as u64))320			.saturating_add(RocksDbWeight::get().writes(1 as u64))321	}322	// Storage: Identity IdentityOf (r:1 w:1)323	/// The range of component `r` is `[1, 20]`.324	/// The range of component `x` is `[0, 100]`.325	fn set_identity(r: u32, x: u32, ) -> Weight {326		// Minimum execution time: 41_872 nanoseconds.327		Weight::from_ref_time(40_230_216 as u64)328			// Standard Error: 2_342329			.saturating_add(Weight::from_ref_time(145_168 as u64).saturating_mul(r as u64))330			// Standard Error: 457331			.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))332			.saturating_add(RocksDbWeight::get().reads(1 as u64))333			.saturating_add(RocksDbWeight::get().writes(1 as u64))334	}335	// Storage: Identity IdentityOf (r:1 w:0)336	// Storage: Identity SubsOf (r:1 w:1)337	// Storage: Identity SuperOf (r:2 w:2)338	/// The range of component `s` is `[0, 100]`.339	fn set_subs_new(s: u32, ) -> Weight {340		// Minimum execution time: 12_024 nanoseconds.341		Weight::from_ref_time(32_550_819 as u64)342			// Standard Error: 5_057343			.saturating_add(Weight::from_ref_time(2_521_245 as u64).saturating_mul(s as u64))344			.saturating_add(RocksDbWeight::get().reads(2 as u64))345			.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(s as u64)))346			.saturating_add(RocksDbWeight::get().writes(1 as u64))347			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))348	}349	// Storage: Identity IdentityOf (r:1 w:0)350	// Storage: Identity SubsOf (r:1 w:1)351	// Storage: Identity SuperOf (r:0 w:2)352	/// The range of component `p` is `[0, 100]`.353	fn set_subs_old(p: u32, ) -> Weight {354		// Minimum execution time: 12_232 nanoseconds.355		Weight::from_ref_time(34_009_761 as u64)356			// Standard Error: 5_047357			.saturating_add(Weight::from_ref_time(1_113_100 as u64).saturating_mul(p as u64))358			.saturating_add(RocksDbWeight::get().reads(2 as u64))359			.saturating_add(RocksDbWeight::get().writes(1 as u64))360			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(p as u64)))361	}362	// Storage: Identity SubsOf (r:1 w:1)363	// Storage: Identity IdentityOf (r:1 w:1)364	// Storage: Identity SuperOf (r:0 w:100)365	/// The range of component `r` is `[1, 20]`.366	/// The range of component `s` is `[0, 100]`.367	/// The range of component `x` is `[0, 100]`.368	fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {369		// Minimum execution time: 57_144 nanoseconds.370		Weight::from_ref_time(41_559_247 as u64)371			// Standard Error: 9_996372			.saturating_add(Weight::from_ref_time(146_770 as u64).saturating_mul(r as u64))373			// Standard Error: 1_952374			.saturating_add(Weight::from_ref_time(1_086_673 as u64).saturating_mul(s as u64))375			// Standard Error: 1_952376			.saturating_add(Weight::from_ref_time(162_481 as u64).saturating_mul(x as u64))377			.saturating_add(RocksDbWeight::get().reads(2 as u64))378			.saturating_add(RocksDbWeight::get().writes(2 as u64))379			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))380	}381	// Storage: Identity Registrars (r:1 w:0)382	// Storage: Identity IdentityOf (r:1 w:1)383	/// The range of component `r` is `[1, 20]`.384	/// The range of component `x` is `[0, 100]`.385	fn request_judgement(r: u32, x: u32, ) -> Weight {386		// Minimum execution time: 44_726 nanoseconds.387		Weight::from_ref_time(41_637_308 as u64)388			// Standard Error: 1_907389			.saturating_add(Weight::from_ref_time(219_078 as u64).saturating_mul(r as u64))390			// Standard Error: 372391			.saturating_add(Weight::from_ref_time(309_888 as u64).saturating_mul(x as u64))392			.saturating_add(RocksDbWeight::get().reads(2 as u64))393			.saturating_add(RocksDbWeight::get().writes(1 as u64))394	}395	// Storage: Identity IdentityOf (r:1 w:1)396	/// The range of component `r` is `[1, 20]`.397	/// The range of component `x` is `[0, 100]`.398	fn cancel_request(r: u32, x: u32, ) -> Weight {399		// Minimum execution time: 39_719 nanoseconds.400		Weight::from_ref_time(38_008_751 as u64)401			// Standard Error: 2_394402			.saturating_add(Weight::from_ref_time(181_870 as u64).saturating_mul(r as u64))403			// Standard Error: 467404			.saturating_add(Weight::from_ref_time(314_990 as u64).saturating_mul(x as u64))405			.saturating_add(RocksDbWeight::get().reads(1 as u64))406			.saturating_add(RocksDbWeight::get().writes(1 as u64))407	}408	// Storage: Identity Registrars (r:1 w:1)409	/// The range of component `r` is `[1, 19]`.410	fn set_fee(r: u32, ) -> Weight {411		// Minimum execution time: 10_634 nanoseconds.412		Weight::from_ref_time(11_383_704 as u64)413			// Standard Error: 2_250414			.saturating_add(Weight::from_ref_time(193_094 as u64).saturating_mul(r as u64))415			.saturating_add(RocksDbWeight::get().reads(1 as u64))416			.saturating_add(RocksDbWeight::get().writes(1 as u64))417	}418	// Storage: Identity Registrars (r:1 w:1)419	/// The range of component `r` is `[1, 19]`.420	fn set_account_id(r: u32, ) -> Weight {421		// Minimum execution time: 10_840 nanoseconds.422		Weight::from_ref_time(11_638_740 as u64)423			// Standard Error: 1_985424			.saturating_add(Weight::from_ref_time(193_016 as u64).saturating_mul(r as u64))425			.saturating_add(RocksDbWeight::get().reads(1 as u64))426			.saturating_add(RocksDbWeight::get().writes(1 as u64))427	}428	// Storage: Identity Registrars (r:1 w:1)429	/// The range of component `r` is `[1, 19]`.430	fn set_fields(r: u32, ) -> Weight {431		// Minimum execution time: 10_748 nanoseconds.432		Weight::from_ref_time(11_346_901 as u64)433			// Standard Error: 2_132434			.saturating_add(Weight::from_ref_time(196_630 as u64).saturating_mul(r as u64))435			.saturating_add(RocksDbWeight::get().reads(1 as u64))436			.saturating_add(RocksDbWeight::get().writes(1 as u64))437	}438	// Storage: Identity Registrars (r:1 w:0)439	// Storage: Identity IdentityOf (r:1 w:1)440	/// The range of component `r` is `[1, 19]`.441	/// The range of component `x` is `[0, 100]`.442	fn provide_judgement(r: u32, x: u32, ) -> Weight {443		// Minimum execution time: 33_682 nanoseconds.444		Weight::from_ref_time(31_336_603 as u64)445			// Standard Error: 3_056446			.saturating_add(Weight::from_ref_time(200_403 as u64).saturating_mul(r as u64))447			// Standard Error: 565448			.saturating_add(Weight::from_ref_time(525_142 as u64).saturating_mul(x as u64))449			.saturating_add(RocksDbWeight::get().reads(2 as u64))450			.saturating_add(RocksDbWeight::get().writes(1 as u64))451	}452	// Storage: Identity SubsOf (r:1 w:1)453	// Storage: Identity IdentityOf (r:1 w:1)454	// Storage: System Account (r:1 w:1)455	// Storage: Identity SuperOf (r:0 w:100)456	/// The range of component `r` is `[1, 20]`.457	/// The range of component `s` is `[0, 100]`.458	/// The range of component `x` is `[0, 100]`.459	fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {460		// Minimum execution time: 68_794 nanoseconds.461		Weight::from_ref_time(52_114_486 as u64)462			// Standard Error: 4_808463			.saturating_add(Weight::from_ref_time(153_462 as u64).saturating_mul(r as u64))464			// Standard Error: 939465			.saturating_add(Weight::from_ref_time(1_084_612 as u64).saturating_mul(s as u64))466			// Standard Error: 939467			.saturating_add(Weight::from_ref_time(170_112 as u64).saturating_mul(x as u64))468			.saturating_add(RocksDbWeight::get().reads(3 as u64))469			.saturating_add(RocksDbWeight::get().writes(3 as u64))470			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))471	}472	// Storage: Identity IdentityOf (r:1 w:1)473	/// The range of component `x` is `[0, 100]`.474	/// The range of component `n` is `[0, 600]`.475	fn set_identities(x: u32, n: u32) -> Weight {476		// Minimum execution time: 41_872 nanoseconds.477		Weight::from_ref_time(40_230_216 as u64)478			// Standard Error: 2_342479			.saturating_add(Weight::from_ref_time(145_168 as u64))480			// Standard Error: 457481			.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))482			.saturating_add(RocksDbWeight::get().reads(1 as u64))483			.saturating_add(RocksDbWeight::get().writes(1 as u64).saturating_mul(n as u64))484	}485	// Storage: Identity IdentityOf (r:1 w:0)486	// Storage: Identity SuperOf (r:1 w:1)487	// Storage: Identity SubsOf (r:1 w:1)488	/// The range of component `s` is `[0, 99]`.489	fn add_sub(s: u32, ) -> Weight {490		// Minimum execution time: 37_914 nanoseconds.491		Weight::from_ref_time(43_488_083 as u64)492			// Standard Error: 1_631493			.saturating_add(Weight::from_ref_time(118_845 as u64).saturating_mul(s as u64))494			.saturating_add(RocksDbWeight::get().reads(3 as u64))495			.saturating_add(RocksDbWeight::get().writes(2 as u64))496	}497	// Storage: Identity IdentityOf (r:1 w:0)498	// Storage: Identity SuperOf (r:1 w:1)499	/// The range of component `s` is `[1, 100]`.500	fn rename_sub(s: u32, ) -> Weight {501		// Minimum execution time: 16_124 nanoseconds.502		Weight::from_ref_time(18_580_462 as u64)503			// Standard Error: 688504			.saturating_add(Weight::from_ref_time(67_220 as u64).saturating_mul(s as u64))505			.saturating_add(RocksDbWeight::get().reads(2 as u64))506			.saturating_add(RocksDbWeight::get().writes(1 as u64))507	}508	// Storage: Identity IdentityOf (r:1 w:0)509	// Storage: Identity SuperOf (r:1 w:1)510	// Storage: Identity SubsOf (r:1 w:1)511	/// The range of component `s` is `[1, 100]`.512	fn remove_sub(s: u32, ) -> Weight {513		// Minimum execution time: 41_517 nanoseconds.514		Weight::from_ref_time(45_123_530 as u64)515			// Standard Error: 1_530516			.saturating_add(Weight::from_ref_time(105_429 as u64).saturating_mul(s as u64))517			.saturating_add(RocksDbWeight::get().reads(3 as u64))518			.saturating_add(RocksDbWeight::get().writes(2 as u64))519	}520	// Storage: Identity SuperOf (r:1 w:1)521	// Storage: Identity SubsOf (r:1 w:1)522	/// The range of component `s` is `[0, 99]`.523	fn quit_sub(s: u32, ) -> Weight {524		// Minimum execution time: 30_171 nanoseconds.525		Weight::from_ref_time(33_355_514 as u64)526			// Standard Error: 1_286527			.saturating_add(Weight::from_ref_time(114_716 as u64).saturating_mul(s as u64))528			.saturating_add(RocksDbWeight::get().reads(2 as u64))529			.saturating_add(RocksDbWeight::get().writes(2 as u64))530	}531}