update weights (#5704)

* westend: update weights

* kusama: update weights

* polkadot: update weights

* rococo: update weights
This commit is contained in:
Mara Robin B
2022-06-21 12:58:01 +02:00
committed by GitHub
parent 5c2da4e4d8
commit 8ef2b701c1
127 changed files with 2614 additions and 1951 deletions
@@ -16,7 +16,8 @@
//! Autogenerated weights for `pallet_identity`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-05-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-06-20, 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:
@@ -30,7 +31,6 @@
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --header=./file_header.txt
// --output=./runtime/westend/src/weights/pallet_identity.rs
@@ -45,30 +45,34 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>);
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 {
(11_840_000 as Weight)
(15_643_000 as Weight)
// Standard Error: 4_000
.saturating_add((211_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Identity IdentityOf (r:1 w:1)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[1, 100]`.
fn set_identity(r: u32, x: u32, ) -> Weight {
(25_546_000 as Weight)
(29_261_000 as Weight)
// Standard Error: 8_000
.saturating_add((189_000 as Weight).saturating_mul(r as Weight))
.saturating_add((217_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 1_000
.saturating_add((376_000 as Weight).saturating_mul(x as Weight))
.saturating_add((343_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity SuperOf (r:1 w:1)
/// The range of component `s` is `[1, 100]`.
fn set_subs_new(s: u32, ) -> Weight {
(22_648_000 as Weight)
// Standard Error: 1_000
.saturating_add((2_684_000 as Weight).saturating_mul(s as Weight))
(27_385_000 as Weight)
// Standard Error: 3_000
.saturating_add((2_934_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
@@ -77,10 +81,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity SuperOf (r:0 w:1)
/// The range of component `p` is `[1, 100]`.
fn set_subs_old(p: u32, ) -> Weight {
(22_046_000 as Weight)
(27_126_000 as Weight)
// Standard Error: 0
.saturating_add((753_000 as Weight).saturating_mul(p as Weight))
.saturating_add((933_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
@@ -88,71 +93,83 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity IdentityOf (r:1 w:1)
// Storage: Identity SuperOf (r:0 w:100)
/// 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 clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
(27_828_000 as Weight)
// Standard Error: 5_000
.saturating_add((91_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0
.saturating_add((741_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0
.saturating_add((235_000 as Weight).saturating_mul(x as Weight))
(34_178_000 as Weight)
// Standard Error: 9_000
.saturating_add((60_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 1_000
.saturating_add((928_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 1_000
.saturating_add((214_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
}
// Storage: Identity Registrars (r:1 w:0)
// Storage: Identity IdentityOf (r:1 w:1)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[1, 100]`.
fn request_judgement(r: u32, x: u32, ) -> Weight {
(27_359_000 as Weight)
(31_373_000 as Weight)
// Standard Error: 5_000
.saturating_add((168_000 as Weight).saturating_mul(r as Weight))
.saturating_add((187_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0
.saturating_add((442_000 as Weight).saturating_mul(x as Weight))
.saturating_add((400_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Identity IdentityOf (r:1 w:1)
/// The range of component `r` is `[1, 20]`.
/// The range of component `x` is `[1, 100]`.
fn cancel_request(r: u32, x: u32, ) -> Weight {
(24_103_000 as Weight)
// Standard Error: 6_000
.saturating_add((142_000 as Weight).saturating_mul(r as Weight))
(28_981_000 as Weight)
// Standard Error: 5_000
.saturating_add((121_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0
.saturating_add((430_000 as Weight).saturating_mul(x as Weight))
.saturating_add((395_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Identity Registrars (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
fn set_fee(r: u32, ) -> Weight {
(4_514_000 as Weight)
// Standard Error: 2_000
.saturating_add((171_000 as Weight).saturating_mul(r as Weight))
(7_177_000 as Weight)
// Standard Error: 3_000
.saturating_add((183_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Identity Registrars (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
fn set_account_id(r: u32, ) -> Weight {
(4_297_000 as Weight)
(7_354_000 as Weight)
// Standard Error: 2_000
.saturating_add((167_000 as Weight).saturating_mul(r as Weight))
.saturating_add((172_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Identity Registrars (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
fn set_fields(r: u32, ) -> Weight {
(4_684_000 as Weight)
// Standard Error: 2_000
.saturating_add((163_000 as Weight).saturating_mul(r as Weight))
(7_190_000 as Weight)
// Standard Error: 3_000
.saturating_add((186_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Identity Registrars (r:1 w:0)
// Storage: Identity IdentityOf (r:1 w:1)
/// The range of component `r` is `[1, 19]`.
/// The range of component `x` is `[1, 100]`.
fn provide_judgement(r: u32, x: u32, ) -> Weight {
(19_485_000 as Weight)
// Standard Error: 10_000
.saturating_add((110_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 1_000
.saturating_add((434_000 as Weight).saturating_mul(x as Weight))
(22_231_000 as Weight)
// Standard Error: 5_000
.saturating_add((132_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0
.saturating_add((400_000 as Weight).saturating_mul(x as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
@@ -160,14 +177,15 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity IdentityOf (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: Identity SuperOf (r:0 w:100)
fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {
(31_568_000 as Weight)
// Standard Error: 6_000
.saturating_add((92_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0
.saturating_add((750_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0
.saturating_add((5_000 as Weight).saturating_mul(x as Weight))
/// 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 {
(38_841_000 as Weight)
// Standard Error: 21_000
.saturating_add((72_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 2_000
.saturating_add((927_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
@@ -175,38 +193,42 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
/// The range of component `s` is `[1, 99]`.
fn add_sub(s: u32, ) -> Weight {
(28_775_000 as Weight)
(33_776_000 as Weight)
// Standard Error: 0
.saturating_add((119_000 as Weight).saturating_mul(s as Weight))
.saturating_add((114_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SuperOf (r:1 w:1)
/// The range of component `s` is `[1, 100]`.
fn rename_sub(s: u32, ) -> Weight {
(8_906_000 as Weight)
(12_513_000 as Weight)
// Standard Error: 0
.saturating_add((21_000 as Weight).saturating_mul(s as Weight))
.saturating_add((27_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
/// The range of component `s` is `[1, 100]`.
fn remove_sub(s: u32, ) -> Weight {
(29_815_000 as Weight)
(34_936_000 as Weight)
// Standard Error: 0
.saturating_add((101_000 as Weight).saturating_mul(s as Weight))
.saturating_add((97_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
/// The range of component `s` is `[1, 99]`.
fn quit_sub(s: u32, ) -> Weight {
(19_452_000 as Weight)
// Standard Error: 1_000
.saturating_add((107_000 as Weight).saturating_mul(s as Weight))
(24_565_000 as Weight)
// Standard Error: 0
.saturating_add((95_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}