mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 20:27:58 +00:00
New Weights for All Pallets (#12325)
* new weights for everything * fix * fmt * new batch * fmt * new batch * Update run_all_benchmarks.sh * add headers * update weights * Update lib.rs * block and extrinsic weight
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,7 +18,8 @@
|
||||
//! Autogenerated weights for pallet_recovery
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-05-23, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -32,8 +33,10 @@
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/recovery/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
@@ -60,69 +63,83 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Recovery Proxy (r:1 w:0)
|
||||
fn as_recovered() -> Weight {
|
||||
Weight::from_ref_time(6_579_000 as u64)
|
||||
// Minimum execution time: 10_672 nanoseconds.
|
||||
Weight::from_ref_time(10_946_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Proxy (r:0 w:1)
|
||||
fn set_recovered() -> Weight {
|
||||
Weight::from_ref_time(13_402_000 as u64)
|
||||
// Minimum execution time: 17_092 nanoseconds.
|
||||
Weight::from_ref_time(17_660_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Recoverable (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 9]`.
|
||||
fn create_recovery(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_217_000 as u64)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add(Weight::from_ref_time(172_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 32_800 nanoseconds.
|
||||
Weight::from_ref_time(33_769_078 as u64)
|
||||
// Standard Error: 4_075
|
||||
.saturating_add(Weight::from_ref_time(252_382 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Recoverable (r:1 w:0)
|
||||
// Storage: Recovery ActiveRecoveries (r:1 w:1)
|
||||
fn initiate_recovery() -> Weight {
|
||||
Weight::from_ref_time(34_082_000 as u64)
|
||||
// Minimum execution time: 39_224 nanoseconds.
|
||||
Weight::from_ref_time(39_663_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Recoverable (r:1 w:0)
|
||||
// Storage: Recovery ActiveRecoveries (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 9]`.
|
||||
fn vouch_recovery(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_038_000 as u64)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add(Weight::from_ref_time(307_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 27_158 nanoseconds.
|
||||
Weight::from_ref_time(28_130_506 as u64)
|
||||
// Standard Error: 4_523
|
||||
.saturating_add(Weight::from_ref_time(321_436 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Recoverable (r:1 w:0)
|
||||
// Storage: Recovery ActiveRecoveries (r:1 w:0)
|
||||
// Storage: Recovery Proxy (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 9]`.
|
||||
fn claim_recovery(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_621_000 as u64)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add(Weight::from_ref_time(353_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 36_269 nanoseconds.
|
||||
Weight::from_ref_time(36_966_173 as u64)
|
||||
// Standard Error: 5_016
|
||||
.saturating_add(Weight::from_ref_time(223_069 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery ActiveRecoveries (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 9]`.
|
||||
fn close_recovery(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_287_000 as u64)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add(Weight::from_ref_time(264_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 40_213 nanoseconds.
|
||||
Weight::from_ref_time(41_140_968 as u64)
|
||||
// Standard Error: 3_822
|
||||
.saturating_add(Weight::from_ref_time(163_217 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Recovery ActiveRecoveries (r:1 w:0)
|
||||
// Storage: Recovery Recoverable (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 9]`.
|
||||
fn remove_recovery(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_964_000 as u64)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add(Weight::from_ref_time(222_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 38_740 nanoseconds.
|
||||
Weight::from_ref_time(39_710_400 as u64)
|
||||
// Standard Error: 5_554
|
||||
.saturating_add(Weight::from_ref_time(224_200 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Proxy (r:1 w:1)
|
||||
fn cancel_recovered() -> Weight {
|
||||
Weight::from_ref_time(12_702_000 as u64)
|
||||
// Minimum execution time: 20_316 nanoseconds.
|
||||
Weight::from_ref_time(20_912_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -132,69 +149,83 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
impl WeightInfo for () {
|
||||
// Storage: Recovery Proxy (r:1 w:0)
|
||||
fn as_recovered() -> Weight {
|
||||
Weight::from_ref_time(6_579_000 as u64)
|
||||
// Minimum execution time: 10_672 nanoseconds.
|
||||
Weight::from_ref_time(10_946_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Proxy (r:0 w:1)
|
||||
fn set_recovered() -> Weight {
|
||||
Weight::from_ref_time(13_402_000 as u64)
|
||||
// Minimum execution time: 17_092 nanoseconds.
|
||||
Weight::from_ref_time(17_660_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Recoverable (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 9]`.
|
||||
fn create_recovery(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_217_000 as u64)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add(Weight::from_ref_time(172_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 32_800 nanoseconds.
|
||||
Weight::from_ref_time(33_769_078 as u64)
|
||||
// Standard Error: 4_075
|
||||
.saturating_add(Weight::from_ref_time(252_382 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Recoverable (r:1 w:0)
|
||||
// Storage: Recovery ActiveRecoveries (r:1 w:1)
|
||||
fn initiate_recovery() -> Weight {
|
||||
Weight::from_ref_time(34_082_000 as u64)
|
||||
// Minimum execution time: 39_224 nanoseconds.
|
||||
Weight::from_ref_time(39_663_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Recoverable (r:1 w:0)
|
||||
// Storage: Recovery ActiveRecoveries (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 9]`.
|
||||
fn vouch_recovery(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(22_038_000 as u64)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add(Weight::from_ref_time(307_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 27_158 nanoseconds.
|
||||
Weight::from_ref_time(28_130_506 as u64)
|
||||
// Standard Error: 4_523
|
||||
.saturating_add(Weight::from_ref_time(321_436 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Recoverable (r:1 w:0)
|
||||
// Storage: Recovery ActiveRecoveries (r:1 w:0)
|
||||
// Storage: Recovery Proxy (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 9]`.
|
||||
fn claim_recovery(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_621_000 as u64)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add(Weight::from_ref_time(353_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 36_269 nanoseconds.
|
||||
Weight::from_ref_time(36_966_173 as u64)
|
||||
// Standard Error: 5_016
|
||||
.saturating_add(Weight::from_ref_time(223_069 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery ActiveRecoveries (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 9]`.
|
||||
fn close_recovery(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_287_000 as u64)
|
||||
// Standard Error: 19_000
|
||||
.saturating_add(Weight::from_ref_time(264_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 40_213 nanoseconds.
|
||||
Weight::from_ref_time(41_140_968 as u64)
|
||||
// Standard Error: 3_822
|
||||
.saturating_add(Weight::from_ref_time(163_217 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Recovery ActiveRecoveries (r:1 w:0)
|
||||
// Storage: Recovery Recoverable (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 9]`.
|
||||
fn remove_recovery(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(31_964_000 as u64)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add(Weight::from_ref_time(222_000 as u64).saturating_mul(n as u64))
|
||||
// Minimum execution time: 38_740 nanoseconds.
|
||||
Weight::from_ref_time(39_710_400 as u64)
|
||||
// Standard Error: 5_554
|
||||
.saturating_add(Weight::from_ref_time(224_200 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Recovery Proxy (r:1 w:1)
|
||||
fn cancel_recovered() -> Weight {
|
||||
Weight::from_ref_time(12_702_000 as u64)
|
||||
// Minimum execution time: 20_316 nanoseconds.
|
||||
Weight::from_ref_time(20_912_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user