mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-11 02:17:23 +00:00
Whitelist pallet preimage provider upgrade (#12834)
* whitelist preimage provider upgrade * rustdocs unresolved link error fix * ".git/.scripts/bench-bot.sh" pallet dev pallet_whitelist * PreimageHash alias, remove type annotation Co-authored-by: command-bot <>
This commit is contained in:
@@ -18,24 +18,25 @@
|
||||
//! Autogenerated weights for pallet_whitelist
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// ./target/production/substrate
|
||||
// /home/benchbot/cargo_target_dir/production/substrate
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_whitelist
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --output=./frame/whitelist/src/weights.rs
|
||||
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/substrate/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_whitelist
|
||||
// --chain=dev
|
||||
// --header=./HEADER-APACHE2
|
||||
// --output=./frame/whitelist/src/weights.rs
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
@@ -49,7 +50,7 @@ use sp_std::marker::PhantomData;
|
||||
pub trait WeightInfo {
|
||||
fn whitelist_call() -> Weight;
|
||||
fn remove_whitelisted_call() -> Weight;
|
||||
fn dispatch_whitelisted_call() -> Weight;
|
||||
fn dispatch_whitelisted_call(n: u32, ) -> Weight;
|
||||
fn dispatch_whitelisted_call_with_preimage(n: u32, ) -> Weight;
|
||||
}
|
||||
|
||||
@@ -59,38 +60,41 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn whitelist_call() -> Weight {
|
||||
// Minimum execution time: 26_352 nanoseconds.
|
||||
Weight::from_ref_time(26_727_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
// Minimum execution time: 26_261 nanoseconds.
|
||||
Weight::from_ref_time(26_842_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn remove_whitelisted_call() -> Weight {
|
||||
// Minimum execution time: 25_536 nanoseconds.
|
||||
Weight::from_ref_time(25_969_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
// Minimum execution time: 25_092 nanoseconds.
|
||||
Weight::from_ref_time(25_903_000)
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
fn dispatch_whitelisted_call() -> Weight {
|
||||
// Minimum execution time: 4_802_466 nanoseconds.
|
||||
Weight::from_ref_time(4_820_197_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 4194294]`.
|
||||
fn dispatch_whitelisted_call(n: u32, ) -> Weight {
|
||||
// Minimum execution time: 36_685 nanoseconds.
|
||||
Weight::from_ref_time(37_167_000)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_144).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 10000]`.
|
||||
fn dispatch_whitelisted_call_with_preimage(n: u32, ) -> Weight {
|
||||
// Minimum execution time: 29_184 nanoseconds.
|
||||
Weight::from_ref_time(30_530_970 as u64)
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(1_496 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))
|
||||
// Minimum execution time: 29_187 nanoseconds.
|
||||
Weight::from_ref_time(29_896_714)
|
||||
// Standard Error: 6
|
||||
.saturating_add(Weight::from_ref_time(1_505).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -99,37 +103,40 @@ impl WeightInfo for () {
|
||||
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn whitelist_call() -> Weight {
|
||||
// Minimum execution time: 26_352 nanoseconds.
|
||||
Weight::from_ref_time(26_727_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
// Minimum execution time: 26_261 nanoseconds.
|
||||
Weight::from_ref_time(26_842_000)
|
||||
.saturating_add(RocksDbWeight::get().reads(2))
|
||||
.saturating_add(RocksDbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
fn remove_whitelisted_call() -> Weight {
|
||||
// Minimum execution time: 25_536 nanoseconds.
|
||||
Weight::from_ref_time(25_969_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
// Minimum execution time: 25_092 nanoseconds.
|
||||
Weight::from_ref_time(25_903_000)
|
||||
.saturating_add(RocksDbWeight::get().reads(2))
|
||||
.saturating_add(RocksDbWeight::get().writes(2))
|
||||
}
|
||||
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||
fn dispatch_whitelisted_call() -> Weight {
|
||||
// Minimum execution time: 4_802_466 nanoseconds.
|
||||
Weight::from_ref_time(4_820_197_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 4194294]`.
|
||||
fn dispatch_whitelisted_call(n: u32, ) -> Weight {
|
||||
// Minimum execution time: 36_685 nanoseconds.
|
||||
Weight::from_ref_time(37_167_000)
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_144).saturating_mul(n.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3))
|
||||
.saturating_add(RocksDbWeight::get().writes(3))
|
||||
}
|
||||
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||
// Storage: Preimage StatusFor (r:1 w:1)
|
||||
/// The range of component `n` is `[1, 10000]`.
|
||||
fn dispatch_whitelisted_call_with_preimage(n: u32, ) -> Weight {
|
||||
// Minimum execution time: 29_184 nanoseconds.
|
||||
Weight::from_ref_time(30_530_970 as u64)
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(1_496 as u64).saturating_mul(n as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
// Minimum execution time: 29_187 nanoseconds.
|
||||
Weight::from_ref_time(29_896_714)
|
||||
// Standard Error: 6
|
||||
.saturating_add(Weight::from_ref_time(1_505).saturating_mul(n.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(2))
|
||||
.saturating_add(RocksDbWeight::get().writes(2))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user