update weights (#5361)

* polkadot: update weights

* kusama: update weights

* rococo: update weights

* westend: update weights
This commit is contained in:
Mara Robin B
2022-04-22 11:26:19 +02:00
committed by GitHub
parent 42cbfba5d3
commit bb3cc7b041
128 changed files with 2150 additions and 1954 deletions
@@ -16,12 +16,13 @@
//! Autogenerated weights for `pallet_identity`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-03-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-04-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot
// benchmark
// pallet
// --chain=kusama-dev
// --steps=50
// --repeat=20
@@ -45,19 +46,19 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity Registrars (r:1 w:1)
fn add_registrar(r: u32, ) -> Weight {
(11_701_000 as Weight)
// Standard Error: 5_000
.saturating_add((227_000 as Weight).saturating_mul(r as Weight))
(12_102_000 as Weight)
// Standard Error: 4_000
.saturating_add((187_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)
fn set_identity(r: u32, x: u32, ) -> Weight {
(25_210_000 as Weight)
// Standard Error: 9_000
.saturating_add((148_000 as Weight).saturating_mul(r as Weight))
(25_783_000 as Weight)
// Standard Error: 8_000
.saturating_add((175_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 1_000
.saturating_add((363_000 as Weight).saturating_mul(x as Weight))
.saturating_add((357_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))
}
@@ -65,9 +66,9 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity SuperOf (r:1 w:1)
fn set_subs_new(s: u32, ) -> Weight {
(24_287_000 as Weight)
// Standard Error: 3_000
.saturating_add((2_755_000 as Weight).saturating_mul(s as Weight))
(22_890_000 as Weight)
// Standard Error: 1_000
.saturating_add((2_668_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,9 +78,9 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity SubsOf (r:1 w:1)
// Storage: Identity SuperOf (r:0 w:1)
fn set_subs_old(p: u32, ) -> Weight {
(21_748_000 as Weight)
(22_215_000 as Weight)
// Standard Error: 0
.saturating_add((743_000 as Weight).saturating_mul(p as Weight))
.saturating_add((753_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)))
@@ -87,14 +88,12 @@ 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)
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
(27_190_000 as Weight)
// Standard Error: 4_000
.saturating_add((79_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0
.saturating_add((722_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0
.saturating_add((225_000 as Weight).saturating_mul(x as Weight))
fn clear_identity(_r: u32, s: u32, x: u32, ) -> Weight {
(33_494_000 as Weight)
// Standard Error: 1_000
.saturating_add((735_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 1_000
.saturating_add((223_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)))
@@ -102,56 +101,56 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity Registrars (r:1 w:0)
// Storage: Identity IdentityOf (r:1 w:1)
fn request_judgement(r: u32, x: u32, ) -> Weight {
(26_469_000 as Weight)
(26_639_000 as Weight)
// Standard Error: 4_000
.saturating_add((169_000 as Weight).saturating_mul(r as Weight))
.saturating_add((189_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0
.saturating_add((408_000 as Weight).saturating_mul(x as Weight))
.saturating_add((416_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)
fn cancel_request(r: u32, x: u32, ) -> Weight {
(23_404_000 as Weight)
(24_765_000 as Weight)
// Standard Error: 5_000
.saturating_add((139_000 as Weight).saturating_mul(r as Weight))
.saturating_add((108_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0
.saturating_add((404_000 as Weight).saturating_mul(x as Weight))
.saturating_add((407_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)
fn set_fee(r: u32, ) -> Weight {
(4_677_000 as Weight)
(4_355_000 as Weight)
// Standard Error: 2_000
.saturating_add((152_000 as Weight).saturating_mul(r as Weight))
.saturating_add((153_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)
fn set_account_id(r: u32, ) -> Weight {
(4_460_000 as Weight)
(4_303_000 as Weight)
// Standard Error: 2_000
.saturating_add((150_000 as Weight).saturating_mul(r as Weight))
.saturating_add((148_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)
fn set_fields(r: u32, ) -> Weight {
(4_571_000 as Weight)
(4_465_000 as Weight)
// Standard Error: 2_000
.saturating_add((153_000 as Weight).saturating_mul(r as Weight))
.saturating_add((146_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)
fn provide_judgement(r: u32, x: u32, ) -> Weight {
(18_344_000 as Weight)
(18_515_000 as Weight)
// Standard Error: 4_000
.saturating_add((124_000 as Weight).saturating_mul(r as Weight))
.saturating_add((140_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0
.saturating_add((404_000 as Weight).saturating_mul(x as Weight))
.saturating_add((408_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))
}
@@ -159,12 +158,14 @@ 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 {
(40_297_000 as Weight)
// Standard Error: 12_000
.saturating_add((70_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 1_000
.saturating_add((724_000 as Weight).saturating_mul(s as Weight))
fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight {
(41_060_000 as Weight)
// Standard Error: 7_000
.saturating_add((71_000 as Weight).saturating_mul(r as Weight))
// Standard Error: 0
.saturating_add((744_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 0
.saturating_add((7_000 as Weight).saturating_mul(x 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)))
@@ -173,7 +174,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
fn add_sub(s: u32, ) -> Weight {
(28_599_000 as Weight)
(28_969_000 as Weight)
// Standard Error: 0
.saturating_add((102_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
@@ -182,9 +183,9 @@ 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)
fn rename_sub(s: u32, ) -> Weight {
(9_070_000 as Weight)
(8_968_000 as Weight)
// Standard Error: 0
.saturating_add((20_000 as Weight).saturating_mul(s as Weight))
.saturating_add((19_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))
}
@@ -192,18 +193,18 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
fn remove_sub(s: u32, ) -> Weight {
(29_544_000 as Weight)
(29_930_000 as Weight)
// Standard Error: 0
.saturating_add((89_000 as Weight).saturating_mul(s as Weight))
.saturating_add((93_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)
fn quit_sub(s: u32, ) -> Weight {
(19_341_000 as Weight)
(19_684_000 as Weight)
// Standard Error: 0
.saturating_add((88_000 as Weight).saturating_mul(s as Weight))
.saturating_add((90_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))
}