mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 22:11:02 +00:00
update weights (#5097)
* westend: update weights * kusama: update weights * polkadot: update weights * westend: update weights (production profile) * kusama: update weights (production profile) * polkadot: update weights (production profile) * kusama: update weights (production profile pt 2) * westend: update weights (production profile pt 2) * fixup * fixup * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/ * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/ * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/ Co-authored-by: Parity Bot <admin@parity.io>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2020 Parity Technologies (UK) Ltd.
|
||||
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
|
||||
// This file is part of Polkadot.
|
||||
|
||||
// Polkadot is free software: you can redistribute it and/or modify
|
||||
@@ -15,12 +15,12 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Autogenerated weights for `pallet_identity`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
//! 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: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/release/polkadot
|
||||
// ./target/production/polkadot
|
||||
// benchmark
|
||||
// --chain=kusama-dev
|
||||
// --steps=50
|
||||
@@ -31,8 +31,9 @@
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/kusama/src/weights/pallet_identity.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
@@ -42,136 +43,167 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_identity`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
fn add_registrar(r: u32) -> Weight {
|
||||
(21_339_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((236_000 as Weight).saturating_mul(r as Weight))
|
||||
// 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))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn set_identity(r: u32, x: u32) -> Weight {
|
||||
(50_839_000 as Weight)
|
||||
// Standard Error: 14_000
|
||||
.saturating_add((223_000 as Weight).saturating_mul(r 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))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((954_000 as Weight).saturating_mul(x as Weight))
|
||||
.saturating_add((363_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))
|
||||
}
|
||||
fn set_subs_new(s: u32) -> Weight {
|
||||
(40_807_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((6_374_000 as Weight).saturating_mul(s as Weight))
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// 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))
|
||||
.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))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
|
||||
}
|
||||
fn set_subs_old(p: u32) -> Weight {
|
||||
(40_924_000 as Weight)
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// 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)
|
||||
// Standard Error: 0
|
||||
.saturating_add((2_059_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add((743_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)))
|
||||
}
|
||||
fn clear_identity(r: u32, s: u32, x: u32) -> Weight {
|
||||
(51_123_000 as Weight)
|
||||
// Standard Error: 7_000
|
||||
.saturating_add((110_000 as Weight).saturating_mul(r as Weight))
|
||||
// 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((2_042_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((722_000 as Weight).saturating_mul(s as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((595_000 as Weight).saturating_mul(x as Weight))
|
||||
.saturating_add((225_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)))
|
||||
}
|
||||
fn request_judgement(r: u32, x: u32) -> Weight {
|
||||
(53_230_000 as Weight)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add((223_000 as Weight).saturating_mul(r as Weight))
|
||||
// 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)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add((169_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_169_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))
|
||||
}
|
||||
fn cancel_request(r: u32, x: u32) -> Weight {
|
||||
(48_425_000 as Weight)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add((161_000 as Weight).saturating_mul(r as Weight))
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
fn cancel_request(r: u32, x: u32, ) -> Weight {
|
||||
(23_404_000 as Weight)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add((139_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_161_000 as Weight).saturating_mul(x as Weight))
|
||||
.saturating_add((404_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))
|
||||
}
|
||||
fn set_fee(r: u32) -> Weight {
|
||||
(8_028_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((202_000 as Weight).saturating_mul(r as Weight))
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
fn set_fee(r: u32, ) -> Weight {
|
||||
(4_677_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((152_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))
|
||||
}
|
||||
fn set_account_id(r: u32) -> Weight {
|
||||
(8_682_000 as Weight)
|
||||
// Storage: Identity Registrars (r:1 w:1)
|
||||
fn set_account_id(r: u32, ) -> Weight {
|
||||
(4_460_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((150_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)
|
||||
// Standard Error: 2_000
|
||||
.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:0)
|
||||
// Storage: Identity IdentityOf (r:1 w:1)
|
||||
fn provide_judgement(r: u32, x: u32, ) -> Weight {
|
||||
(18_344_000 as Weight)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add((124_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((404_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 SubsOf (r:1 w:1)
|
||||
// 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((203_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))
|
||||
}
|
||||
fn set_fields(r: u32) -> Weight {
|
||||
(8_010_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((203_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))
|
||||
}
|
||||
fn provide_judgement(r: u32, x: u32) -> Weight {
|
||||
(34_291_000 as Weight)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add((203_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_164_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))
|
||||
}
|
||||
fn kill_identity(r: u32, s: u32, x: u32) -> Weight {
|
||||
(62_644_000 as Weight)
|
||||
// Standard Error: 6_000
|
||||
.saturating_add((111_000 as Weight).saturating_mul(r as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((2_048_000 as Weight).saturating_mul(s as Weight))
|
||||
// Standard Error: 0
|
||||
.saturating_add((3_000 as Weight).saturating_mul(x as Weight))
|
||||
.saturating_add((724_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)))
|
||||
}
|
||||
fn add_sub(s: u32) -> Weight {
|
||||
(54_234_000 as Weight)
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// 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)
|
||||
// Standard Error: 0
|
||||
.saturating_add((154_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((102_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))
|
||||
}
|
||||
fn rename_sub(s: u32) -> Weight {
|
||||
(16_622_000 as Weight)
|
||||
// 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)
|
||||
// Standard Error: 0
|
||||
.saturating_add((21_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((20_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))
|
||||
}
|
||||
fn remove_sub(s: u32) -> Weight {
|
||||
(55_325_000 as Weight)
|
||||
// Storage: Identity IdentityOf (r:1 w:0)
|
||||
// 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)
|
||||
// Standard Error: 0
|
||||
.saturating_add((138_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((89_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))
|
||||
}
|
||||
fn quit_sub(s: u32) -> Weight {
|
||||
(34_002_000 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)
|
||||
// Standard Error: 0
|
||||
.saturating_add((138_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((88_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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user