git.delta.rocks / unique-network / refs/commits / 9206f91cff29

difftreelog

source

pallets/identity/src/weights.rs22.0 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 add_sub(s: u32, ) -> Weight;80	fn rename_sub(s: u32, ) -> Weight;81	fn remove_sub(s: u32, ) -> Weight;82	fn quit_sub(s: u32, ) -> Weight;83}8485/// Weights for pallet_identity using the Substrate node and recommended hardware.86pub struct SubstrateWeight<T>(PhantomData<T>);87impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {88	// Storage: Identity Registrars (r:1 w:1)89	/// The range of component `r` is `[1, 19]`.90	fn add_registrar(r: u32, ) -> Weight {91		// Minimum execution time: 20_269 nanoseconds.92		Weight::from_ref_time(21_910_543 as u64)93			// Standard Error: 4_60494			.saturating_add(Weight::from_ref_time(223_104 as u64).saturating_mul(r as u64))95			.saturating_add(T::DbWeight::get().reads(1 as u64))96			.saturating_add(T::DbWeight::get().writes(1 as u64))97	}98	// Storage: Identity IdentityOf (r:1 w:1)99	/// The range of component `r` is `[1, 20]`.100	/// The range of component `x` is `[0, 100]`.101	fn set_identity(r: u32, x: u32, ) -> Weight {102		// Minimum execution time: 41_872 nanoseconds.103		Weight::from_ref_time(40_230_216 as u64)104			// Standard Error: 2_342105			.saturating_add(Weight::from_ref_time(145_168 as u64).saturating_mul(r as u64))106			// Standard Error: 457107			.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))108			.saturating_add(T::DbWeight::get().reads(1 as u64))109			.saturating_add(T::DbWeight::get().writes(1 as u64))110	}111	// Storage: Identity IdentityOf (r:1 w:0)112	// Storage: Identity SubsOf (r:1 w:1)113	// Storage: Identity SuperOf (r:2 w:2)114	/// The range of component `s` is `[0, 100]`.115	fn set_subs_new(s: u32, ) -> Weight {116		// Minimum execution time: 12_024 nanoseconds.117		Weight::from_ref_time(32_550_819 as u64)118			// Standard Error: 5_057119			.saturating_add(Weight::from_ref_time(2_521_245 as u64).saturating_mul(s as u64))120			.saturating_add(T::DbWeight::get().reads(2 as u64))121			.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))122			.saturating_add(T::DbWeight::get().writes(1 as u64))123			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))124	}125	// Storage: Identity IdentityOf (r:1 w:0)126	// Storage: Identity SubsOf (r:1 w:1)127	// Storage: Identity SuperOf (r:0 w:2)128	/// The range of component `p` is `[0, 100]`.129	fn set_subs_old(p: u32, ) -> Weight {130		// Minimum execution time: 12_232 nanoseconds.131		Weight::from_ref_time(34_009_761 as u64)132			// Standard Error: 5_047133			.saturating_add(Weight::from_ref_time(1_113_100 as u64).saturating_mul(p as u64))134			.saturating_add(T::DbWeight::get().reads(2 as u64))135			.saturating_add(T::DbWeight::get().writes(1 as u64))136			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))137	}138	// Storage: Identity SubsOf (r:1 w:1)139	// Storage: Identity IdentityOf (r:1 w:1)140	// Storage: Identity SuperOf (r:0 w:100)141	/// The range of component `r` is `[1, 20]`.142	/// The range of component `s` is `[0, 100]`.143	/// The range of component `x` is `[0, 100]`.144	fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {145		// Minimum execution time: 57_144 nanoseconds.146		Weight::from_ref_time(41_559_247 as u64)147			// Standard Error: 9_996148			.saturating_add(Weight::from_ref_time(146_770 as u64).saturating_mul(r as u64))149			// Standard Error: 1_952150			.saturating_add(Weight::from_ref_time(1_086_673 as u64).saturating_mul(s as u64))151			// Standard Error: 1_952152			.saturating_add(Weight::from_ref_time(162_481 as u64).saturating_mul(x as u64))153			.saturating_add(T::DbWeight::get().reads(2 as u64))154			.saturating_add(T::DbWeight::get().writes(2 as u64))155			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))156	}157	// Storage: Identity Registrars (r:1 w:0)158	// Storage: Identity IdentityOf (r:1 w:1)159	/// The range of component `r` is `[1, 20]`.160	/// The range of component `x` is `[0, 100]`.161	fn request_judgement(r: u32, x: u32, ) -> Weight {162		// Minimum execution time: 44_726 nanoseconds.163		Weight::from_ref_time(41_637_308 as u64)164			// Standard Error: 1_907165			.saturating_add(Weight::from_ref_time(219_078 as u64).saturating_mul(r as u64))166			// Standard Error: 372167			.saturating_add(Weight::from_ref_time(309_888 as u64).saturating_mul(x as u64))168			.saturating_add(T::DbWeight::get().reads(2 as u64))169			.saturating_add(T::DbWeight::get().writes(1 as u64))170	}171	// Storage: Identity IdentityOf (r:1 w:1)172	/// The range of component `r` is `[1, 20]`.173	/// The range of component `x` is `[0, 100]`.174	fn cancel_request(r: u32, x: u32, ) -> Weight {175		// Minimum execution time: 39_719 nanoseconds.176		Weight::from_ref_time(38_008_751 as u64)177			// Standard Error: 2_394178			.saturating_add(Weight::from_ref_time(181_870 as u64).saturating_mul(r as u64))179			// Standard Error: 467180			.saturating_add(Weight::from_ref_time(314_990 as u64).saturating_mul(x as u64))181			.saturating_add(T::DbWeight::get().reads(1 as u64))182			.saturating_add(T::DbWeight::get().writes(1 as u64))183	}184	// Storage: Identity Registrars (r:1 w:1)185	/// The range of component `r` is `[1, 19]`.186	fn set_fee(r: u32, ) -> Weight {187		// Minimum execution time: 10_634 nanoseconds.188		Weight::from_ref_time(11_383_704 as u64)189			// Standard Error: 2_250190			.saturating_add(Weight::from_ref_time(193_094 as u64).saturating_mul(r as u64))191			.saturating_add(T::DbWeight::get().reads(1 as u64))192			.saturating_add(T::DbWeight::get().writes(1 as u64))193	}194	// Storage: Identity Registrars (r:1 w:1)195	/// The range of component `r` is `[1, 19]`.196	fn set_account_id(r: u32, ) -> Weight {197		// Minimum execution time: 10_840 nanoseconds.198		Weight::from_ref_time(11_638_740 as u64)199			// Standard Error: 1_985200			.saturating_add(Weight::from_ref_time(193_016 as u64).saturating_mul(r as u64))201			.saturating_add(T::DbWeight::get().reads(1 as u64))202			.saturating_add(T::DbWeight::get().writes(1 as u64))203	}204	// Storage: Identity Registrars (r:1 w:1)205	/// The range of component `r` is `[1, 19]`.206	fn set_fields(r: u32, ) -> Weight {207		// Minimum execution time: 10_748 nanoseconds.208		Weight::from_ref_time(11_346_901 as u64)209			// Standard Error: 2_132210			.saturating_add(Weight::from_ref_time(196_630 as u64).saturating_mul(r as u64))211			.saturating_add(T::DbWeight::get().reads(1 as u64))212			.saturating_add(T::DbWeight::get().writes(1 as u64))213	}214	// Storage: Identity Registrars (r:1 w:0)215	// Storage: Identity IdentityOf (r:1 w:1)216	/// The range of component `r` is `[1, 19]`.217	/// The range of component `x` is `[0, 100]`.218	fn provide_judgement(r: u32, x: u32, ) -> Weight {219		// Minimum execution time: 33_682 nanoseconds.220		Weight::from_ref_time(31_336_603 as u64)221			// Standard Error: 3_056222			.saturating_add(Weight::from_ref_time(200_403 as u64).saturating_mul(r as u64))223			// Standard Error: 565224			.saturating_add(Weight::from_ref_time(525_142 as u64).saturating_mul(x as u64))225			.saturating_add(T::DbWeight::get().reads(2 as u64))226			.saturating_add(T::DbWeight::get().writes(1 as u64))227	}228	// Storage: Identity SubsOf (r:1 w:1)229	// Storage: Identity IdentityOf (r:1 w:1)230	// Storage: System Account (r:1 w:1)231	// Storage: Identity SuperOf (r:0 w:100)232	/// The range of component `r` is `[1, 20]`.233	/// The range of component `s` is `[0, 100]`.234	/// The range of component `x` is `[0, 100]`.235	fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {236		// Minimum execution time: 68_794 nanoseconds.237		Weight::from_ref_time(52_114_486 as u64)238			// Standard Error: 4_808239			.saturating_add(Weight::from_ref_time(153_462 as u64).saturating_mul(r as u64))240			// Standard Error: 939241			.saturating_add(Weight::from_ref_time(1_084_612 as u64).saturating_mul(s as u64))242			// Standard Error: 939243			.saturating_add(Weight::from_ref_time(170_112 as u64).saturating_mul(x as u64))244			.saturating_add(T::DbWeight::get().reads(3 as u64))245			.saturating_add(T::DbWeight::get().writes(3 as u64))246			.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))247	}248	// Storage: Identity IdentityOf (r:1 w:0)249	// Storage: Identity SuperOf (r:1 w:1)250	// Storage: Identity SubsOf (r:1 w:1)251	/// The range of component `s` is `[0, 99]`.252	fn add_sub(s: u32, ) -> Weight {253		// Minimum execution time: 37_914 nanoseconds.254		Weight::from_ref_time(43_488_083 as u64)255			// Standard Error: 1_631256			.saturating_add(Weight::from_ref_time(118_845 as u64).saturating_mul(s as u64))257			.saturating_add(T::DbWeight::get().reads(3 as u64))258			.saturating_add(T::DbWeight::get().writes(2 as u64))259	}260	// Storage: Identity IdentityOf (r:1 w:0)261	// Storage: Identity SuperOf (r:1 w:1)262	/// The range of component `s` is `[1, 100]`.263	fn rename_sub(s: u32, ) -> Weight {264		// Minimum execution time: 16_124 nanoseconds.265		Weight::from_ref_time(18_580_462 as u64)266			// Standard Error: 688267			.saturating_add(Weight::from_ref_time(67_220 as u64).saturating_mul(s as u64))268			.saturating_add(T::DbWeight::get().reads(2 as u64))269			.saturating_add(T::DbWeight::get().writes(1 as u64))270	}271	// Storage: Identity IdentityOf (r:1 w:0)272	// Storage: Identity SuperOf (r:1 w:1)273	// Storage: Identity SubsOf (r:1 w:1)274	/// The range of component `s` is `[1, 100]`.275	fn remove_sub(s: u32, ) -> Weight {276		// Minimum execution time: 41_517 nanoseconds.277		Weight::from_ref_time(45_123_530 as u64)278			// Standard Error: 1_530279			.saturating_add(Weight::from_ref_time(105_429 as u64).saturating_mul(s as u64))280			.saturating_add(T::DbWeight::get().reads(3 as u64))281			.saturating_add(T::DbWeight::get().writes(2 as u64))282	}283	// Storage: Identity SuperOf (r:1 w:1)284	// Storage: Identity SubsOf (r:1 w:1)285	/// The range of component `s` is `[0, 99]`.286	fn quit_sub(s: u32, ) -> Weight {287		// Minimum execution time: 30_171 nanoseconds.288		Weight::from_ref_time(33_355_514 as u64)289			// Standard Error: 1_286290			.saturating_add(Weight::from_ref_time(114_716 as u64).saturating_mul(s as u64))291			.saturating_add(T::DbWeight::get().reads(2 as u64))292			.saturating_add(T::DbWeight::get().writes(2 as u64))293	}294}295296// For backwards compatibility and tests297impl WeightInfo for () {298	// Storage: Identity Registrars (r:1 w:1)299	/// The range of component `r` is `[1, 19]`.300	fn add_registrar(r: u32, ) -> Weight {301		// Minimum execution time: 20_269 nanoseconds.302		Weight::from_ref_time(21_910_543 as u64)303			// Standard Error: 4_604304			.saturating_add(Weight::from_ref_time(223_104 as u64).saturating_mul(r as u64))305			.saturating_add(RocksDbWeight::get().reads(1 as u64))306			.saturating_add(RocksDbWeight::get().writes(1 as u64))307	}308	// Storage: Identity IdentityOf (r:1 w:1)309	/// The range of component `r` is `[1, 20]`.310	/// The range of component `x` is `[0, 100]`.311	fn set_identity(r: u32, x: u32, ) -> Weight {312		// Minimum execution time: 41_872 nanoseconds.313		Weight::from_ref_time(40_230_216 as u64)314			// Standard Error: 2_342315			.saturating_add(Weight::from_ref_time(145_168 as u64).saturating_mul(r as u64))316			// Standard Error: 457317			.saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))318			.saturating_add(RocksDbWeight::get().reads(1 as u64))319			.saturating_add(RocksDbWeight::get().writes(1 as u64))320	}321	// Storage: Identity IdentityOf (r:1 w:0)322	// Storage: Identity SubsOf (r:1 w:1)323	// Storage: Identity SuperOf (r:2 w:2)324	/// The range of component `s` is `[0, 100]`.325	fn set_subs_new(s: u32, ) -> Weight {326		// Minimum execution time: 12_024 nanoseconds.327		Weight::from_ref_time(32_550_819 as u64)328			// Standard Error: 5_057329			.saturating_add(Weight::from_ref_time(2_521_245 as u64).saturating_mul(s as u64))330			.saturating_add(RocksDbWeight::get().reads(2 as u64))331			.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(s as u64)))332			.saturating_add(RocksDbWeight::get().writes(1 as u64))333			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))334	}335	// Storage: Identity IdentityOf (r:1 w:0)336	// Storage: Identity SubsOf (r:1 w:1)337	// Storage: Identity SuperOf (r:0 w:2)338	/// The range of component `p` is `[0, 100]`.339	fn set_subs_old(p: u32, ) -> Weight {340		// Minimum execution time: 12_232 nanoseconds.341		Weight::from_ref_time(34_009_761 as u64)342			// Standard Error: 5_047343			.saturating_add(Weight::from_ref_time(1_113_100 as u64).saturating_mul(p as u64))344			.saturating_add(RocksDbWeight::get().reads(2 as u64))345			.saturating_add(RocksDbWeight::get().writes(1 as u64))346			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(p as u64)))347	}348	// Storage: Identity SubsOf (r:1 w:1)349	// Storage: Identity IdentityOf (r:1 w:1)350	// Storage: Identity SuperOf (r:0 w:100)351	/// The range of component `r` is `[1, 20]`.352	/// The range of component `s` is `[0, 100]`.353	/// The range of component `x` is `[0, 100]`.354	fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {355		// Minimum execution time: 57_144 nanoseconds.356		Weight::from_ref_time(41_559_247 as u64)357			// Standard Error: 9_996358			.saturating_add(Weight::from_ref_time(146_770 as u64).saturating_mul(r as u64))359			// Standard Error: 1_952360			.saturating_add(Weight::from_ref_time(1_086_673 as u64).saturating_mul(s as u64))361			// Standard Error: 1_952362			.saturating_add(Weight::from_ref_time(162_481 as u64).saturating_mul(x as u64))363			.saturating_add(RocksDbWeight::get().reads(2 as u64))364			.saturating_add(RocksDbWeight::get().writes(2 as u64))365			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))366	}367	// Storage: Identity Registrars (r:1 w:0)368	// Storage: Identity IdentityOf (r:1 w:1)369	/// The range of component `r` is `[1, 20]`.370	/// The range of component `x` is `[0, 100]`.371	fn request_judgement(r: u32, x: u32, ) -> Weight {372		// Minimum execution time: 44_726 nanoseconds.373		Weight::from_ref_time(41_637_308 as u64)374			// Standard Error: 1_907375			.saturating_add(Weight::from_ref_time(219_078 as u64).saturating_mul(r as u64))376			// Standard Error: 372377			.saturating_add(Weight::from_ref_time(309_888 as u64).saturating_mul(x as u64))378			.saturating_add(RocksDbWeight::get().reads(2 as u64))379			.saturating_add(RocksDbWeight::get().writes(1 as u64))380	}381	// Storage: Identity IdentityOf (r:1 w:1)382	/// The range of component `r` is `[1, 20]`.383	/// The range of component `x` is `[0, 100]`.384	fn cancel_request(r: u32, x: u32, ) -> Weight {385		// Minimum execution time: 39_719 nanoseconds.386		Weight::from_ref_time(38_008_751 as u64)387			// Standard Error: 2_394388			.saturating_add(Weight::from_ref_time(181_870 as u64).saturating_mul(r as u64))389			// Standard Error: 467390			.saturating_add(Weight::from_ref_time(314_990 as u64).saturating_mul(x as u64))391			.saturating_add(RocksDbWeight::get().reads(1 as u64))392			.saturating_add(RocksDbWeight::get().writes(1 as u64))393	}394	// Storage: Identity Registrars (r:1 w:1)395	/// The range of component `r` is `[1, 19]`.396	fn set_fee(r: u32, ) -> Weight {397		// Minimum execution time: 10_634 nanoseconds.398		Weight::from_ref_time(11_383_704 as u64)399			// Standard Error: 2_250400			.saturating_add(Weight::from_ref_time(193_094 as u64).saturating_mul(r as u64))401			.saturating_add(RocksDbWeight::get().reads(1 as u64))402			.saturating_add(RocksDbWeight::get().writes(1 as u64))403	}404	// Storage: Identity Registrars (r:1 w:1)405	/// The range of component `r` is `[1, 19]`.406	fn set_account_id(r: u32, ) -> Weight {407		// Minimum execution time: 10_840 nanoseconds.408		Weight::from_ref_time(11_638_740 as u64)409			// Standard Error: 1_985410			.saturating_add(Weight::from_ref_time(193_016 as u64).saturating_mul(r as u64))411			.saturating_add(RocksDbWeight::get().reads(1 as u64))412			.saturating_add(RocksDbWeight::get().writes(1 as u64))413	}414	// Storage: Identity Registrars (r:1 w:1)415	/// The range of component `r` is `[1, 19]`.416	fn set_fields(r: u32, ) -> Weight {417		// Minimum execution time: 10_748 nanoseconds.418		Weight::from_ref_time(11_346_901 as u64)419			// Standard Error: 2_132420			.saturating_add(Weight::from_ref_time(196_630 as u64).saturating_mul(r as u64))421			.saturating_add(RocksDbWeight::get().reads(1 as u64))422			.saturating_add(RocksDbWeight::get().writes(1 as u64))423	}424	// Storage: Identity Registrars (r:1 w:0)425	// Storage: Identity IdentityOf (r:1 w:1)426	/// The range of component `r` is `[1, 19]`.427	/// The range of component `x` is `[0, 100]`.428	fn provide_judgement(r: u32, x: u32, ) -> Weight {429		// Minimum execution time: 33_682 nanoseconds.430		Weight::from_ref_time(31_336_603 as u64)431			// Standard Error: 3_056432			.saturating_add(Weight::from_ref_time(200_403 as u64).saturating_mul(r as u64))433			// Standard Error: 565434			.saturating_add(Weight::from_ref_time(525_142 as u64).saturating_mul(x as u64))435			.saturating_add(RocksDbWeight::get().reads(2 as u64))436			.saturating_add(RocksDbWeight::get().writes(1 as u64))437	}438	// Storage: Identity SubsOf (r:1 w:1)439	// Storage: Identity IdentityOf (r:1 w:1)440	// Storage: System Account (r:1 w:1)441	// Storage: Identity SuperOf (r:0 w:100)442	/// The range of component `r` is `[1, 20]`.443	/// The range of component `s` is `[0, 100]`.444	/// The range of component `x` is `[0, 100]`.445	fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {446		// Minimum execution time: 68_794 nanoseconds.447		Weight::from_ref_time(52_114_486 as u64)448			// Standard Error: 4_808449			.saturating_add(Weight::from_ref_time(153_462 as u64).saturating_mul(r as u64))450			// Standard Error: 939451			.saturating_add(Weight::from_ref_time(1_084_612 as u64).saturating_mul(s as u64))452			// Standard Error: 939453			.saturating_add(Weight::from_ref_time(170_112 as u64).saturating_mul(x as u64))454			.saturating_add(RocksDbWeight::get().reads(3 as u64))455			.saturating_add(RocksDbWeight::get().writes(3 as u64))456			.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))457	}458	// Storage: Identity IdentityOf (r:1 w:0)459	// Storage: Identity SuperOf (r:1 w:1)460	// Storage: Identity SubsOf (r:1 w:1)461	/// The range of component `s` is `[0, 99]`.462	fn add_sub(s: u32, ) -> Weight {463		// Minimum execution time: 37_914 nanoseconds.464		Weight::from_ref_time(43_488_083 as u64)465			// Standard Error: 1_631466			.saturating_add(Weight::from_ref_time(118_845 as u64).saturating_mul(s as u64))467			.saturating_add(RocksDbWeight::get().reads(3 as u64))468			.saturating_add(RocksDbWeight::get().writes(2 as u64))469	}470	// Storage: Identity IdentityOf (r:1 w:0)471	// Storage: Identity SuperOf (r:1 w:1)472	/// The range of component `s` is `[1, 100]`.473	fn rename_sub(s: u32, ) -> Weight {474		// Minimum execution time: 16_124 nanoseconds.475		Weight::from_ref_time(18_580_462 as u64)476			// Standard Error: 688477			.saturating_add(Weight::from_ref_time(67_220 as u64).saturating_mul(s as u64))478			.saturating_add(RocksDbWeight::get().reads(2 as u64))479			.saturating_add(RocksDbWeight::get().writes(1 as u64))480	}481	// Storage: Identity IdentityOf (r:1 w:0)482	// Storage: Identity SuperOf (r:1 w:1)483	// Storage: Identity SubsOf (r:1 w:1)484	/// The range of component `s` is `[1, 100]`.485	fn remove_sub(s: u32, ) -> Weight {486		// Minimum execution time: 41_517 nanoseconds.487		Weight::from_ref_time(45_123_530 as u64)488			// Standard Error: 1_530489			.saturating_add(Weight::from_ref_time(105_429 as u64).saturating_mul(s as u64))490			.saturating_add(RocksDbWeight::get().reads(3 as u64))491			.saturating_add(RocksDbWeight::get().writes(2 as u64))492	}493	// Storage: Identity SuperOf (r:1 w:1)494	// Storage: Identity SubsOf (r:1 w:1)495	/// The range of component `s` is `[0, 99]`.496	fn quit_sub(s: u32, ) -> Weight {497		// Minimum execution time: 30_171 nanoseconds.498		Weight::from_ref_time(33_355_514 as u64)499			// Standard Error: 1_286500			.saturating_add(Weight::from_ref_time(114_716 as u64).saturating_mul(s as u64))501			.saturating_add(RocksDbWeight::get().reads(2 as u64))502			.saturating_add(RocksDbWeight::get().writes(2 as u64))503	}504}