update weights (sync with v0.9.29) (#5989)

* kusama: update weights

* polkadot: update weights

* westend: update weights

* rococo: update weights

* fixup

* revert block weights
This commit is contained in:
Mara Robin B
2022-09-12 13:48:27 +02:00
committed by GitHub
parent 69aefab456
commit db0fc60344
128 changed files with 2705 additions and 2540 deletions
@@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_identity`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
@@ -32,13 +32,13 @@
// --execution=wasm
// --wasm-execution=compiled
// --header=./file_header.txt
// --output=./runtime/kusama/src/weights/pallet_identity.rs
// --output=./runtime/kusama/src/weights/
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
use frame_support::{traits::Get, weights::Weight};
use frame_support::{traits::Get, weights::{Weight}};
use sp_std::marker::PhantomData;
/// Weight functions for `pallet_identity`.
@@ -47,9 +47,9 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity Registrars (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
fn add_registrar(r: u32, ) -> Weight {
Weight::from_ref_time(16_146_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(164_000 as u64).saturating_mul(r as u64))
Weight::from_ref_time(16_780_000 as u64)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(193_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -57,11 +57,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[1, 100]`.
fn set_identity(r: u32, x: u32, ) -> Weight {
Weight::from_ref_time(28_556_000 as u64)
Weight::from_ref_time(32_514_000 as u64)
// Standard Error: 7_000
.saturating_add(Weight::from_ref_time(208_000 as u64).saturating_mul(r as u64))
.saturating_add(Weight::from_ref_time(129_000 as u64).saturating_mul(r as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(371_000 as u64).saturating_mul(x as u64))
.saturating_add(Weight::from_ref_time(323_000 as u64).saturating_mul(x as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -70,9 +70,9 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity SuperOf (r:1 w:1)
/// The range of component `s` is `[1, 100]`.
fn set_subs_new(s: u32, ) -> Weight {
Weight::from_ref_time(25_214_000 as u64)
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(3_032_000 as u64).saturating_mul(s as u64))
Weight::from_ref_time(28_130_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(2_089_000 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
@@ -83,9 +83,9 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity SuperOf (r:0 w:1)
/// The range of component `p` is `[1, 100]`.
fn set_subs_old(p: u32, ) -> Weight {
Weight::from_ref_time(26_402_000 as u64)
Weight::from_ref_time(28_597_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(916_000 as u64).saturating_mul(p as u64))
.saturating_add(Weight::from_ref_time(891_000 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
@@ -97,13 +97,13 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[1, 100]`.
/// The range of component `x` is `[1, 100]`.
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
Weight::from_ref_time(32_822_000 as u64)
Weight::from_ref_time(35_657_000 as u64)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(74_000 as u64).saturating_mul(r as u64))
.saturating_add(Weight::from_ref_time(48_000 as u64).saturating_mul(r as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(909_000 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(889_000 as u64).saturating_mul(s as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(166_000 as u64).saturating_mul(x as u64))
.saturating_add(Weight::from_ref_time(160_000 as u64).saturating_mul(x as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
@@ -113,11 +113,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[1, 100]`.
fn request_judgement(r: u32, x: u32, ) -> Weight {
Weight::from_ref_time(30_696_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(163_000 as u64).saturating_mul(r as u64))
Weight::from_ref_time(34_656_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(129_000 as u64).saturating_mul(r as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(377_000 as u64).saturating_mul(x as u64))
.saturating_add(Weight::from_ref_time(332_000 as u64).saturating_mul(x as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -125,38 +125,38 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[1, 100]`.
fn cancel_request(r: u32, x: u32, ) -> Weight {
Weight::from_ref_time(28_144_000 as u64)
Weight::from_ref_time(31_048_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(144_000 as u64).saturating_mul(r as u64))
.saturating_add(Weight::from_ref_time(133_000 as u64).saturating_mul(r as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(363_000 as u64).saturating_mul(x as u64))
.saturating_add(Weight::from_ref_time(334_000 as u64).saturating_mul(x as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Identity Registrars (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
fn set_fee(r: u32, ) -> Weight {
Weight::from_ref_time(7_135_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(135_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Identity Registrars (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
fn set_account_id(r: u32, ) -> Weight {
Weight::from_ref_time(6_861_000 as u64)
// Standard Error: 1_000
Weight::from_ref_time(8_975_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(140_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Identity Registrars (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
fn set_account_id(r: u32, ) -> Weight {
Weight::from_ref_time(9_212_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(138_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Identity Registrars (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
fn set_fields(r: u32, ) -> Weight {
Weight::from_ref_time(7_143_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(133_000 as u64).saturating_mul(r as u64))
Weight::from_ref_time(9_088_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(131_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -165,11 +165,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
/// The range of component `r` is `[1, 19]`.
/// The range of component `x` is `[1, 100]`.
fn provide_judgement(r: u32, x: u32, ) -> Weight {
Weight::from_ref_time(21_902_000 as u64)
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(109_000 as u64).saturating_mul(r as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(378_000 as u64).saturating_mul(x as u64))
Weight::from_ref_time(23_324_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(133_000 as u64).saturating_mul(r as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(334_000 as u64).saturating_mul(x as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -180,10 +180,14 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
/// The range of component `r` is `[1, 20]`.
/// The range of component `s` is `[1, 100]`.
/// The range of component `x` is `[1, 100]`.
fn kill_identity(_r: u32, s: u32, _x: u32, ) -> Weight {
Weight::from_ref_time(48_712_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(903_000 as u64).saturating_mul(s as u64))
fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {
Weight::from_ref_time(46_896_000 as u64)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(115_000 as u64).saturating_mul(r as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(892_000 as u64).saturating_mul(s as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(x as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
@@ -193,9 +197,9 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity SubsOf (r:1 w:1)
/// The range of component `s` is `[1, 99]`.
fn add_sub(s: u32, ) -> Weight {
Weight::from_ref_time(33_860_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(97_000 as u64).saturating_mul(s as u64))
Weight::from_ref_time(35_814_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(78_000 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -203,9 +207,9 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity SuperOf (r:1 w:1)
/// The range of component `s` is `[1, 100]`.
fn rename_sub(s: u32, ) -> Weight {
Weight::from_ref_time(12_063_000 as u64)
Weight::from_ref_time(15_348_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -214,9 +218,9 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity SubsOf (r:1 w:1)
/// The range of component `s` is `[1, 100]`.
fn remove_sub(s: u32, ) -> Weight {
Weight::from_ref_time(34_418_000 as u64)
Weight::from_ref_time(37_193_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(84_000 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(69_000 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -224,9 +228,9 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity SubsOf (r:1 w:1)
/// The range of component `s` is `[1, 99]`.
fn quit_sub(s: u32, ) -> Weight {
Weight::from_ref_time(24_186_000 as u64)
Weight::from_ref_time(27_633_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(77_000 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(62_000 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}