mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 17:31:03 +00:00
New Weights v0.8.26 (#1889)
* new polkadot weights * kusama weights * update for westend * cargo update -p sp-io * cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_session --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/ * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_session --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/ * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_session --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/ Co-authored-by: Parity Benchmarking Bot <admin@parity.io>
This commit is contained in:
@@ -15,7 +15,25 @@
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
//! Weights for pallet_identity
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
|
||||
//! DATE: 2020-09-28, STEPS: [50], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! DATE: 2020-10-30, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
|
||||
// Executed Command:
|
||||
// ./target/release/polkadot
|
||||
// benchmark
|
||||
// --chain
|
||||
// kusama-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_identity
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --header
|
||||
// ./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
|
||||
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
@@ -23,114 +41,114 @@
|
||||
use frame_support::{traits::Get, weights::Weight};
|
||||
use sp_std::marker::PhantomData;
|
||||
|
||||
/// Weight functions for pallet_identity.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Trait> pallet_identity::WeightInfo for WeightInfo<T> {
|
||||
fn add_registrar(r: u32, ) -> Weight {
|
||||
(26_389_000 as Weight)
|
||||
.saturating_add((287_000 as Weight).saturating_mul(r as Weight))
|
||||
(26_618_000 as Weight)
|
||||
.saturating_add((318_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 {
|
||||
(70_587_000 as Weight)
|
||||
.saturating_add((238_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((1_729_000 as Weight).saturating_mul(x as Weight))
|
||||
(71_033_000 as Weight)
|
||||
.saturating_add((297_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((1_751_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 {
|
||||
(50_147_000 as Weight)
|
||||
.saturating_add((9_266_000 as Weight).saturating_mul(s as Weight))
|
||||
(51_338_000 as Weight)
|
||||
.saturating_add((9_514_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 {
|
||||
(46_920_000 as Weight)
|
||||
.saturating_add((3_242_000 as Weight).saturating_mul(p as Weight))
|
||||
(47_288_000 as Weight)
|
||||
.saturating_add((3_313_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 {
|
||||
(60_595_000 as Weight)
|
||||
.saturating_add((147_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((3_267_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((1_033_000 as Weight).saturating_mul(x as Weight))
|
||||
(60_350_000 as Weight)
|
||||
.saturating_add((187_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((3_328_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((1_009_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 {
|
||||
(70_072_000 as Weight)
|
||||
.saturating_add((355_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((2_011_000 as Weight).saturating_mul(x as Weight))
|
||||
(72_162_000 as Weight)
|
||||
.saturating_add((338_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((2_007_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 {
|
||||
(60_845_000 as Weight)
|
||||
.saturating_add((220_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((1_993_000 as Weight).saturating_mul(x as Weight))
|
||||
(62_007_000 as Weight)
|
||||
.saturating_add((199_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((1_985_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 {
|
||||
(10_250_000 as Weight)
|
||||
.saturating_add((255_000 as Weight).saturating_mul(r as Weight))
|
||||
(10_371_000 as Weight)
|
||||
.saturating_add((261_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 {
|
||||
(11_514_000 as Weight)
|
||||
.saturating_add((259_000 as Weight).saturating_mul(r as Weight))
|
||||
(11_728_000 as Weight)
|
||||
.saturating_add((262_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 {
|
||||
(10_238_000 as Weight)
|
||||
.saturating_add((253_000 as Weight).saturating_mul(r as Weight))
|
||||
(10_565_000 as Weight)
|
||||
.saturating_add((246_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 {
|
||||
(47_747_000 as Weight)
|
||||
.saturating_add((273_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((2_000_000 as Weight).saturating_mul(x as Weight))
|
||||
(48_013_000 as Weight)
|
||||
.saturating_add((281_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((1_996_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 {
|
||||
(98_604_000 as Weight)
|
||||
.saturating_add((111_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((3_280_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((1_000 as Weight).saturating_mul(x as Weight))
|
||||
fn kill_identity(r: u32, s: u32, _x: u32, ) -> Weight {
|
||||
(101_578_000 as Weight)
|
||||
.saturating_add((98_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((3_347_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 {
|
||||
(70_485_000 as Weight)
|
||||
.saturating_add((183_000 as Weight).saturating_mul(s as Weight))
|
||||
(71_638_000 as Weight)
|
||||
.saturating_add((188_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 {
|
||||
(23_378_000 as Weight)
|
||||
.saturating_add((26_000 as Weight).saturating_mul(s as Weight))
|
||||
(23_054_000 as Weight)
|
||||
.saturating_add((25_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 {
|
||||
(66_778_000 as Weight)
|
||||
.saturating_add((156_000 as Weight).saturating_mul(s as Weight))
|
||||
(67_962_000 as Weight)
|
||||
.saturating_add((163_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 {
|
||||
(44_017_000 as Weight)
|
||||
.saturating_add((154_000 as Weight).saturating_mul(s as Weight))
|
||||
(44_825_000 as Weight)
|
||||
.saturating_add((158_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