mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41: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_vesting`
|
||||
//!
|
||||
//! 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_vesting.rs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
@@ -42,69 +43,97 @@ use sp_std::marker::PhantomData;
|
||||
/// Weight functions for `pallet_vesting`.
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
|
||||
fn vest_locked(l: u32, s: u32) -> Weight {
|
||||
(93_789_000 as Weight)
|
||||
// Standard Error: 70_000
|
||||
.saturating_add((41_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 182_000
|
||||
.saturating_add((211_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))
|
||||
}
|
||||
fn vest_unlocked(_l: u32, s: u32) -> Weight {
|
||||
(90_737_000 as Weight)
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vest_locked(l: u32, s: u32, ) -> Weight {
|
||||
(23_856_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((263_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((80_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((164_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))
|
||||
}
|
||||
fn vest_other_locked(l: u32, s: u32) -> Weight {
|
||||
(85_211_000 as Weight)
|
||||
// Standard Error: 17_000
|
||||
.saturating_add((153_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 45_000
|
||||
.saturating_add((289_000 as Weight).saturating_mul(s as Weight))
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
|
||||
(23_654_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((79_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((131_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))
|
||||
}
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn vest_other_locked(l: u32, s: u32, ) -> Weight {
|
||||
(23_372_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((86_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((166_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))
|
||||
}
|
||||
fn vest_other_unlocked(l: u32, s: u32) -> Weight {
|
||||
(90_368_000 as Weight)
|
||||
// Standard Error: 17_000
|
||||
.saturating_add((31_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 45_000
|
||||
.saturating_add((132_000 as Weight).saturating_mul(s as Weight))
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
|
||||
(23_385_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((77_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((139_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))
|
||||
}
|
||||
fn vested_transfer(l: u32, _s: u32) -> Weight {
|
||||
(167_500_000 as Weight)
|
||||
// Standard Error: 194_000
|
||||
.saturating_add((255_000 as Weight).saturating_mul(l as Weight))
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vested_transfer(l: u32, s: u32, ) -> Weight {
|
||||
(37_726_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((79_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((145_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))
|
||||
}
|
||||
fn force_vested_transfer(l: u32, _s: u32) -> Weight {
|
||||
(174_000_000 as Weight)
|
||||
// Standard Error: 70_000
|
||||
.saturating_add((143_000 as Weight).saturating_mul(l as Weight))
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn force_vested_transfer(l: u32, s: u32, ) -> Weight {
|
||||
(37_282_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((86_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 3_000
|
||||
.saturating_add((145_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
}
|
||||
fn not_unlocking_merge_schedules(l: u32, s: u32) -> Weight {
|
||||
(101_778_000 as Weight)
|
||||
// Standard Error: 17_000
|
||||
.saturating_add((194_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 48_000
|
||||
.saturating_add((361_000 as Weight).saturating_mul(s as Weight))
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
||||
(25_477_000 as Weight)
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((88_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((138_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))
|
||||
}
|
||||
fn unlocking_merge_schedules(l: u32, s: u32) -> Weight {
|
||||
(104_111_000 as Weight)
|
||||
// Standard Error: 88_000
|
||||
.saturating_add((276_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 240_000
|
||||
.saturating_add((194_000 as Weight).saturating_mul(s as Weight))
|
||||
// Storage: Vesting Vesting (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
||||
(24_656_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((84_000 as Weight).saturating_mul(l as Weight))
|
||||
// Standard Error: 1_000
|
||||
.saturating_add((159_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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user