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:
Shawn Tabrizi
2022-11-08 14:50:28 -04:00
committed by GitHub
parent e4c341e023
commit 78cddd7631
43 changed files with 4169 additions and 3264 deletions
+72 -73
View File
@@ -18,25 +18,24 @@
//! Autogenerated weights for pallet_multisig
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! 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:
// /home/benchbot/cargo_target_dir/production/substrate
// ./target/production/substrate
// benchmark
// pallet
// --chain=dev
// --steps=50
// --repeat=20
// --pallet=pallet_multisig
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/substrate/.git/.artifacts/bench.json
// --pallet=pallet_multisig
// --chain=dev
// --header=./HEADER-APACHE2
// --output=./frame/multisig/src/weights.rs
// --header=./HEADER-APACHE2
// --template=./.maintain/frame-weight-template.hbs
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -62,22 +61,22 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `z` is `[0, 10000]`.
fn as_multi_threshold_1(z: u32, ) -> Weight {
// Minimum execution time: 20_283 nanoseconds.
Weight::from_ref_time(20_861_089 as u64)
// Standard Error: 5
.saturating_add(Weight::from_ref_time(583 as u64).saturating_mul(z as u64))
// Minimum execution time: 20_447 nanoseconds.
Weight::from_ref_time(20_896_236 as u64)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(568 as u64).saturating_mul(z as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_create(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 52_699 nanoseconds.
Weight::from_ref_time(40_874_603 as u64)
// Standard Error: 546
.saturating_add(Weight::from_ref_time(131_727 as u64).saturating_mul(s as u64))
// Minimum execution time: 54_987 nanoseconds.
Weight::from_ref_time(42_525_077 as u64)
// Standard Error: 562
.saturating_add(Weight::from_ref_time(136_064 as u64).saturating_mul(s as u64))
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_537 as u64).saturating_mul(z as u64))
.saturating_add(Weight::from_ref_time(1_508 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -85,12 +84,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `s` is `[3, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 39_843 nanoseconds.
Weight::from_ref_time(28_912_325 as u64)
// Standard Error: 734
.saturating_add(Weight::from_ref_time(125_761 as u64).saturating_mul(s as u64))
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_542 as u64).saturating_mul(z as u64))
// Minimum execution time: 42_573 nanoseconds.
Weight::from_ref_time(30_585_734 as u64)
// Standard Error: 637
.saturating_add(Weight::from_ref_time(128_012 as u64).saturating_mul(s as u64))
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_507 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -99,12 +98,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 54_980 nanoseconds.
Weight::from_ref_time(42_087_213 as u64)
// Standard Error: 786
.saturating_add(Weight::from_ref_time(153_935 as u64).saturating_mul(s as u64))
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_545 as u64).saturating_mul(z as u64))
// Minimum execution time: 57_143 nanoseconds.
Weight::from_ref_time(43_921_674 as u64)
// Standard Error: 704
.saturating_add(Weight::from_ref_time(153_474 as u64).saturating_mul(s as u64))
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_536 as u64).saturating_mul(z as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -112,30 +111,30 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_create(s: u32, ) -> Weight {
// Minimum execution time: 37_802 nanoseconds.
Weight::from_ref_time(39_933_623 as u64)
// Standard Error: 1_059
.saturating_add(Weight::from_ref_time(121_891 as u64).saturating_mul(s as u64))
// Minimum execution time: 39_088 nanoseconds.
Weight::from_ref_time(41_258_697 as u64)
// Standard Error: 1_038
.saturating_add(Weight::from_ref_time(126_040 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_approve(s: u32, ) -> Weight {
// Minimum execution time: 25_738 nanoseconds.
Weight::from_ref_time(27_676_766 as u64)
// Standard Error: 710
.saturating_add(Weight::from_ref_time(125_733 as u64).saturating_mul(s as u64))
// Minimum execution time: 26_872 nanoseconds.
Weight::from_ref_time(28_625_218 as u64)
// Standard Error: 793
.saturating_add(Weight::from_ref_time(128_542 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn cancel_as_multi(s: u32, ) -> Weight {
// Minimum execution time: 36_591 nanoseconds.
Weight::from_ref_time(38_707_543 as u64)
// Standard Error: 881
.saturating_add(Weight::from_ref_time(126_198 as u64).saturating_mul(s as u64))
// Minimum execution time: 37_636 nanoseconds.
Weight::from_ref_time(39_614_705 as u64)
// Standard Error: 850
.saturating_add(Weight::from_ref_time(136_222 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -145,22 +144,22 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
impl WeightInfo for () {
/// The range of component `z` is `[0, 10000]`.
fn as_multi_threshold_1(z: u32, ) -> Weight {
// Minimum execution time: 20_283 nanoseconds.
Weight::from_ref_time(20_861_089 as u64)
// Standard Error: 5
.saturating_add(Weight::from_ref_time(583 as u64).saturating_mul(z as u64))
// Minimum execution time: 20_447 nanoseconds.
Weight::from_ref_time(20_896_236 as u64)
// Standard Error: 2
.saturating_add(Weight::from_ref_time(568 as u64).saturating_mul(z as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_create(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 52_699 nanoseconds.
Weight::from_ref_time(40_874_603 as u64)
// Standard Error: 546
.saturating_add(Weight::from_ref_time(131_727 as u64).saturating_mul(s as u64))
// Minimum execution time: 54_987 nanoseconds.
Weight::from_ref_time(42_525_077 as u64)
// Standard Error: 562
.saturating_add(Weight::from_ref_time(136_064 as u64).saturating_mul(s as u64))
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_537 as u64).saturating_mul(z as u64))
.saturating_add(Weight::from_ref_time(1_508 as u64).saturating_mul(z as u64))
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
@@ -168,12 +167,12 @@ impl WeightInfo for () {
/// The range of component `s` is `[3, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 39_843 nanoseconds.
Weight::from_ref_time(28_912_325 as u64)
// Standard Error: 734
.saturating_add(Weight::from_ref_time(125_761 as u64).saturating_mul(s as u64))
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_542 as u64).saturating_mul(z as u64))
// Minimum execution time: 42_573 nanoseconds.
Weight::from_ref_time(30_585_734 as u64)
// Standard Error: 637
.saturating_add(Weight::from_ref_time(128_012 as u64).saturating_mul(s as u64))
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_507 as u64).saturating_mul(z as u64))
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
@@ -182,12 +181,12 @@ impl WeightInfo for () {
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
// Minimum execution time: 54_980 nanoseconds.
Weight::from_ref_time(42_087_213 as u64)
// Standard Error: 786
.saturating_add(Weight::from_ref_time(153_935 as u64).saturating_mul(s as u64))
// Standard Error: 7
.saturating_add(Weight::from_ref_time(1_545 as u64).saturating_mul(z as u64))
// Minimum execution time: 57_143 nanoseconds.
Weight::from_ref_time(43_921_674 as u64)
// Standard Error: 704
.saturating_add(Weight::from_ref_time(153_474 as u64).saturating_mul(s as u64))
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_536 as u64).saturating_mul(z as u64))
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
}
@@ -195,30 +194,30 @@ impl WeightInfo for () {
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_create(s: u32, ) -> Weight {
// Minimum execution time: 37_802 nanoseconds.
Weight::from_ref_time(39_933_623 as u64)
// Standard Error: 1_059
.saturating_add(Weight::from_ref_time(121_891 as u64).saturating_mul(s as u64))
// Minimum execution time: 39_088 nanoseconds.
Weight::from_ref_time(41_258_697 as u64)
// Standard Error: 1_038
.saturating_add(Weight::from_ref_time(126_040 as u64).saturating_mul(s as u64))
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_approve(s: u32, ) -> Weight {
// Minimum execution time: 25_738 nanoseconds.
Weight::from_ref_time(27_676_766 as u64)
// Standard Error: 710
.saturating_add(Weight::from_ref_time(125_733 as u64).saturating_mul(s as u64))
// Minimum execution time: 26_872 nanoseconds.
Weight::from_ref_time(28_625_218 as u64)
// Standard Error: 793
.saturating_add(Weight::from_ref_time(128_542 as u64).saturating_mul(s as u64))
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn cancel_as_multi(s: u32, ) -> Weight {
// Minimum execution time: 36_591 nanoseconds.
Weight::from_ref_time(38_707_543 as u64)
// Standard Error: 881
.saturating_add(Weight::from_ref_time(126_198 as u64).saturating_mul(s as u64))
// Minimum execution time: 37_636 nanoseconds.
Weight::from_ref_time(39_614_705 as u64)
// Standard Error: 850
.saturating_add(Weight::from_ref_time(136_222 as u64).saturating_mul(s as u64))
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}