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:
Martin Pugh
2021-04-28 13:23:54 +02:00
committed by GitHub
parent a8b64f12ec
commit 9c60982989
79 changed files with 988 additions and 986 deletions
@@ -16,7 +16,7 @@
//! Autogenerated weights for pallet_membership
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-04-21, 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,49 +44,49 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn add_member(m: u32, ) -> Weight {
(23_269_000 as Weight)
(22_578_000 as Weight)
// Standard Error: 3_000
.saturating_add((250_000 as Weight).saturating_mul(m as Weight))
.saturating_add((240_000 as Weight).saturating_mul(m as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
fn remove_member(m: u32, ) -> Weight {
(28_329_000 as Weight)
(27_590_000 as Weight)
// Standard Error: 0
.saturating_add((204_000 as Weight).saturating_mul(m as Weight))
.saturating_add((194_000 as Weight).saturating_mul(m as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
fn swap_member(m: u32, ) -> Weight {
(28_550_000 as Weight)
(27_451_000 as Weight)
// Standard Error: 0
.saturating_add((219_000 as Weight).saturating_mul(m as Weight))
.saturating_add((212_000 as Weight).saturating_mul(m as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
fn reset_member(m: u32, ) -> Weight {
(29_358_000 as Weight)
// Standard Error: 3_000
.saturating_add((442_000 as Weight).saturating_mul(m as Weight))
(27_655_000 as Weight)
// Standard Error: 0
.saturating_add((428_000 as Weight).saturating_mul(m as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
fn change_key(m: u32, ) -> Weight {
(30_386_000 as Weight)
(29_256_000 as Weight)
// Standard Error: 0
.saturating_add((212_000 as Weight).saturating_mul(m as Weight))
.saturating_add((206_000 as Weight).saturating_mul(m as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
fn set_prime(m: u32, ) -> Weight {
(7_366_000 as Weight)
(7_334_000 as Weight)
// Standard Error: 0
.saturating_add((115_000 as Weight).saturating_mul(m as Weight))
.saturating_add((113_000 as Weight).saturating_mul(m as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn clear_prime(m: u32, ) -> Weight {
(2_778_000 as Weight)
(2_741_000 as Weight)
// Standard Error: 0
.saturating_add((1_000 as Weight).saturating_mul(m as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))