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,8 +16,8 @@
//! 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: `[]`
//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024
// Executed Command:
@@ -32,13 +32,13 @@
// --execution=wasm
// --wasm-execution=compiled
// --header=./file_header.txt
// --output=./runtime/westend/src/weights/pallet_identity.rs
// --output=./runtime/westend/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(15_117_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(173_000 as u64).saturating_mul(r as u64))
Weight::from_ref_time(17_318_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(159_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_060_000 as u64)
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(191_000 as u64).saturating_mul(r as u64))
Weight::from_ref_time(32_608_000 as u64)
// Standard Error: 7_000
.saturating_add(Weight::from_ref_time(123_000 as u64).saturating_mul(r as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(334_000 as u64).saturating_mul(x as u64))
.saturating_add(Weight::from_ref_time(298_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_867_000 as u64)
Weight::from_ref_time(29_011_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(2_901_000 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(2_061_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(25_691_000 as u64)
Weight::from_ref_time(29_082_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(913_000 as u64).saturating_mul(p as u64))
.saturating_add(Weight::from_ref_time(881_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_060_000 as u64)
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(80_000 as u64).saturating_mul(r as u64))
Weight::from_ref_time(36_503_000 as u64)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(r as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(902_000 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(873_000 as u64).saturating_mul(s as u64))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(155_000 as u64).saturating_mul(x as u64))
.saturating_add(Weight::from_ref_time(149_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_325_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(154_000 as u64).saturating_mul(r as u64))
Weight::from_ref_time(34_025_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(159_000 as u64).saturating_mul(r as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(339_000 as u64).saturating_mul(x as u64))
.saturating_add(Weight::from_ref_time(312_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(27_573_000 as u64)
Weight::from_ref_time(31_767_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(133_000 as u64).saturating_mul(r as u64))
.saturating_add(Weight::from_ref_time(107_000 as u64).saturating_mul(r as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(329_000 as u64).saturating_mul(x as u64))
.saturating_add(Weight::from_ref_time(307_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(6_656_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(140_000 as u64).saturating_mul(r as u64))
Weight::from_ref_time(9_456_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(137_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_675_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(136_000 as u64).saturating_mul(r as u64))
Weight::from_ref_time(9_695_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))
}
// 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(6_816_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(127_000 as u64).saturating_mul(r as u64))
Weight::from_ref_time(9_441_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(132_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_495_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(113_000 as u64).saturating_mul(r as u64))
Weight::from_ref_time(24_671_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(97_000 as u64).saturating_mul(r as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(335_000 as u64).saturating_mul(x as u64))
.saturating_add(Weight::from_ref_time(306_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,14 +180,10 @@ 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(35_711_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(77_000 as u64).saturating_mul(r as u64))
fn kill_identity(_r: u32, s: u32, _x: u32, ) -> Weight {
Weight::from_ref_time(42_491_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(914_000 as u64).saturating_mul(s as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(x as u64))
.saturating_add(Weight::from_ref_time(878_000 as u64).saturating_mul(s 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)))
@@ -197,9 +193,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(32_948_000 as u64)
Weight::from_ref_time(36_480_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(92_000 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(70_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))
}
@@ -207,9 +203,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(11_895_000 as u64)
Weight::from_ref_time(15_798_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(30_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))
}
@@ -218,9 +214,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(33_683_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(79_000 as u64).saturating_mul(s as u64))
Weight::from_ref_time(37_872_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(64_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))
}
@@ -228,9 +224,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(23_476_000 as u64)
Weight::from_ref_time(28_241_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(s as u64))
.saturating_add(Weight::from_ref_time(59_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))
}