mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 14:01:02 +00:00
Bump version, bump substrate & update benchmarks in preparation for v0.8.31 (#2938)
* bump version * bump cargo * update benchmarks * cargo run --release --features=runtime-benchmarks -- 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/ * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_staking --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:
@@ -16,7 +16,7 @@
|
||||
//! Autogenerated weights for pallet_democracy
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
|
||||
//! DATE: 2021-03-24, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2021-04-27, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128
|
||||
|
||||
// Executed Command:
|
||||
@@ -44,163 +44,163 @@ use sp_std::marker::PhantomData;
|
||||
pub struct WeightInfo<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
|
||||
fn propose() -> Weight {
|
||||
(59_416_000 as Weight)
|
||||
(57_956_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn second(s: u32, ) -> Weight {
|
||||
(40_392_000 as Weight)
|
||||
(38_619_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((210_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add((220_000 as Weight).saturating_mul(s as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn vote_new(r: u32, ) -> Weight {
|
||||
(46_152_000 as Weight)
|
||||
(43_587_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((296_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((281_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn vote_existing(r: u32, ) -> Weight {
|
||||
(46_184_000 as Weight)
|
||||
(43_422_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((285_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((281_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn emergency_cancel() -> Weight {
|
||||
(28_269_000 as Weight)
|
||||
(27_034_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn blacklist(p: u32, ) -> Weight {
|
||||
(84_204_000 as Weight)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add((706_000 as Weight).saturating_mul(p as Weight))
|
||||
(77_235_000 as Weight)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add((705_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as Weight))
|
||||
}
|
||||
fn external_propose(v: u32, ) -> Weight {
|
||||
(13_531_000 as Weight)
|
||||
(12_699_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((108_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add((113_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn external_propose_majority() -> Weight {
|
||||
(2_741_000 as Weight)
|
||||
(2_569_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn external_propose_default() -> Weight {
|
||||
(2_807_000 as Weight)
|
||||
(2_531_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn fast_track() -> Weight {
|
||||
(27_656_000 as Weight)
|
||||
(26_505_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn veto_external(v: u32, ) -> Weight {
|
||||
(28_879_000 as Weight)
|
||||
(27_294_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((206_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add((213_000 as Weight).saturating_mul(v as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn cancel_proposal(p: u32, ) -> Weight {
|
||||
(58_123_000 as Weight)
|
||||
(51_914_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((675_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add((682_000 as Weight).saturating_mul(p as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn cancel_referendum() -> Weight {
|
||||
(16_547_000 as Weight)
|
||||
(15_731_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn cancel_queued(r: u32, ) -> Weight {
|
||||
(30_186_000 as Weight)
|
||||
// Standard Error: 2_000
|
||||
.saturating_add((3_520_000 as Weight).saturating_mul(r as Weight))
|
||||
(27_991_000 as Weight)
|
||||
// Standard Error: 9_000
|
||||
.saturating_add((3_838_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn on_initialize_base(r: u32, ) -> Weight {
|
||||
(7_912_000 as Weight)
|
||||
(7_215_000 as Weight)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add((5_424_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((5_247_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
|
||||
}
|
||||
fn delegate(r: u32, ) -> Weight {
|
||||
(56_540_000 as Weight)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add((7_844_000 as Weight).saturating_mul(r as Weight))
|
||||
(55_704_000 as Weight)
|
||||
// Standard Error: 4_000
|
||||
.saturating_add((7_504_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight)))
|
||||
}
|
||||
fn undelegate(r: u32, ) -> Weight {
|
||||
(23_917_000 as Weight)
|
||||
(23_489_000 as Weight)
|
||||
// Standard Error: 5_000
|
||||
.saturating_add((7_844_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((7_534_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight)))
|
||||
}
|
||||
fn clear_public_proposals() -> Weight {
|
||||
(2_279_000 as Weight)
|
||||
(2_159_000 as Weight)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn note_preimage(b: u32, ) -> Weight {
|
||||
(43_788_000 as Weight)
|
||||
(41_985_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((4_000 as Weight).saturating_mul(b as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn note_imminent_preimage(b: u32, ) -> Weight {
|
||||
(28_618_000 as Weight)
|
||||
(26_640_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((3_000 as Weight).saturating_mul(b as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn reap_preimage(b: u32, ) -> Weight {
|
||||
(39_400_000 as Weight)
|
||||
(37_613_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((3_000 as Weight).saturating_mul(b as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||
}
|
||||
fn unlock_remove(r: u32, ) -> Weight {
|
||||
(40_176_000 as Weight)
|
||||
(38_193_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((52_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((56_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn unlock_set(r: u32, ) -> Weight {
|
||||
(36_543_000 as Weight)
|
||||
(34_693_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((271_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((267_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as Weight))
|
||||
}
|
||||
fn remove_vote(r: u32, ) -> Weight {
|
||||
(20_012_000 as Weight)
|
||||
(18_935_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((259_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((254_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||
}
|
||||
fn remove_other_vote(r: u32, ) -> Weight {
|
||||
(20_157_000 as Weight)
|
||||
(19_265_000 as Weight)
|
||||
// Standard Error: 0
|
||||
.saturating_add((259_000 as Weight).saturating_mul(r as Weight))
|
||||
.saturating_add((252_000 as Weight).saturating_mul(r 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