mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 03:01:07 +00:00
".git/.scripts/commands/bench-vm/bench-vm.sh" all (#13933)
Co-authored-by: command-bot <>
This commit is contained in:
+75
-67
@@ -18,9 +18,9 @@
|
||||
//! Autogenerated weights for pallet_membership
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -31,6 +31,9 @@
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_membership
|
||||
// --no-storage-info
|
||||
// --no-median-slopes
|
||||
// --no-min-squares
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
@@ -42,9 +45,10 @@
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
|
||||
use sp_std::marker::PhantomData;
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions needed for pallet_membership.
|
||||
pub trait WeightInfo {
|
||||
@@ -71,12 +75,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `m` is `[1, 99]`.
|
||||
fn add_member(m: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `174 + m * (64 ±0)`
|
||||
// Measured: `208 + m * (64 ±0)`
|
||||
// Estimated: `4687 + m * (64 ±0)`
|
||||
// Minimum execution time: 18_264_000 picoseconds.
|
||||
Weight::from_parts(19_343_697, 4687)
|
||||
// Standard Error: 699
|
||||
.saturating_add(Weight::from_parts(44_401, 0).saturating_mul(m.into()))
|
||||
// Minimum execution time: 17_040_000 picoseconds.
|
||||
Weight::from_parts(18_344_571, 4687)
|
||||
// Standard Error: 847
|
||||
.saturating_add(Weight::from_parts(50_842, 0).saturating_mul(m.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
|
||||
@@ -94,12 +98,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
fn remove_member(m: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `278 + m * (64 ±0)`
|
||||
// Measured: `312 + m * (64 ±0)`
|
||||
// Estimated: `4687 + m * (64 ±0)`
|
||||
// Minimum execution time: 21_092_000 picoseconds.
|
||||
Weight::from_parts(22_140_391, 4687)
|
||||
// Standard Error: 545
|
||||
.saturating_add(Weight::from_parts(40_638, 0).saturating_mul(m.into()))
|
||||
// Minimum execution time: 20_088_000 picoseconds.
|
||||
Weight::from_parts(21_271_384, 4687)
|
||||
// Standard Error: 786
|
||||
.saturating_add(Weight::from_parts(44_806, 0).saturating_mul(m.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
|
||||
@@ -117,12 +121,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
fn swap_member(m: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `278 + m * (64 ±0)`
|
||||
// Measured: `312 + m * (64 ±0)`
|
||||
// Estimated: `4687 + m * (64 ±0)`
|
||||
// Minimum execution time: 21_002_000 picoseconds.
|
||||
Weight::from_parts(22_364_944, 4687)
|
||||
// Standard Error: 752
|
||||
.saturating_add(Weight::from_parts(54_363, 0).saturating_mul(m.into()))
|
||||
// Minimum execution time: 20_308_000 picoseconds.
|
||||
Weight::from_parts(21_469_843, 4687)
|
||||
// Standard Error: 782
|
||||
.saturating_add(Weight::from_parts(56_893, 0).saturating_mul(m.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
|
||||
@@ -140,12 +144,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn reset_member(m: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `278 + m * (64 ±0)`
|
||||
// Measured: `312 + m * (64 ±0)`
|
||||
// Estimated: `4687 + m * (64 ±0)`
|
||||
// Minimum execution time: 20_443_000 picoseconds.
|
||||
Weight::from_parts(22_188_301, 4687)
|
||||
// Standard Error: 945
|
||||
.saturating_add(Weight::from_parts(162_799, 0).saturating_mul(m.into()))
|
||||
// Minimum execution time: 19_464_000 picoseconds.
|
||||
Weight::from_parts(21_223_702, 4687)
|
||||
// Standard Error: 1_068
|
||||
.saturating_add(Weight::from_parts(165_438, 0).saturating_mul(m.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
|
||||
@@ -163,12 +167,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn change_key(m: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `278 + m * (64 ±0)`
|
||||
// Measured: `312 + m * (64 ±0)`
|
||||
// Estimated: `4687 + m * (64 ±0)`
|
||||
// Minimum execution time: 21_527_000 picoseconds.
|
||||
Weight::from_parts(23_146_706, 4687)
|
||||
// Standard Error: 724
|
||||
.saturating_add(Weight::from_parts(55_027, 0).saturating_mul(m.into()))
|
||||
// Minimum execution time: 20_965_000 picoseconds.
|
||||
Weight::from_parts(22_551_007, 4687)
|
||||
// Standard Error: 860
|
||||
.saturating_add(Weight::from_parts(52_397, 0).saturating_mul(m.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
|
||||
@@ -184,10 +188,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `32 + m * (32 ±0)`
|
||||
// Estimated: `4687 + m * (32 ±0)`
|
||||
// Minimum execution time: 8_054_000 picoseconds.
|
||||
Weight::from_parts(8_558_341, 4687)
|
||||
// Standard Error: 360
|
||||
.saturating_add(Weight::from_parts(16_362, 0).saturating_mul(m.into()))
|
||||
// Minimum execution time: 7_481_000 picoseconds.
|
||||
Weight::from_parts(7_959_053, 4687)
|
||||
// Standard Error: 364
|
||||
.saturating_add(Weight::from_parts(18_653, 0).saturating_mul(m.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
.saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into()))
|
||||
@@ -197,12 +201,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn clear_prime(_m: u32, ) -> Weight {
|
||||
fn clear_prime(m: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 3_784_000 picoseconds.
|
||||
Weight::from_parts(4_100_031, 0)
|
||||
// Minimum execution time: 3_373_000 picoseconds.
|
||||
Weight::from_parts(3_750_452, 0)
|
||||
// Standard Error: 142
|
||||
.saturating_add(Weight::from_parts(505, 0).saturating_mul(m.into()))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
}
|
||||
@@ -220,12 +226,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `m` is `[1, 99]`.
|
||||
fn add_member(m: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `174 + m * (64 ±0)`
|
||||
// Measured: `208 + m * (64 ±0)`
|
||||
// Estimated: `4687 + m * (64 ±0)`
|
||||
// Minimum execution time: 18_264_000 picoseconds.
|
||||
Weight::from_parts(19_343_697, 4687)
|
||||
// Standard Error: 699
|
||||
.saturating_add(Weight::from_parts(44_401, 0).saturating_mul(m.into()))
|
||||
// Minimum execution time: 17_040_000 picoseconds.
|
||||
Weight::from_parts(18_344_571, 4687)
|
||||
// Standard Error: 847
|
||||
.saturating_add(Weight::from_parts(50_842, 0).saturating_mul(m.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
|
||||
@@ -243,12 +249,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
fn remove_member(m: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `278 + m * (64 ±0)`
|
||||
// Measured: `312 + m * (64 ±0)`
|
||||
// Estimated: `4687 + m * (64 ±0)`
|
||||
// Minimum execution time: 21_092_000 picoseconds.
|
||||
Weight::from_parts(22_140_391, 4687)
|
||||
// Standard Error: 545
|
||||
.saturating_add(Weight::from_parts(40_638, 0).saturating_mul(m.into()))
|
||||
// Minimum execution time: 20_088_000 picoseconds.
|
||||
Weight::from_parts(21_271_384, 4687)
|
||||
// Standard Error: 786
|
||||
.saturating_add(Weight::from_parts(44_806, 0).saturating_mul(m.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
|
||||
@@ -266,12 +272,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `m` is `[2, 100]`.
|
||||
fn swap_member(m: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `278 + m * (64 ±0)`
|
||||
// Measured: `312 + m * (64 ±0)`
|
||||
// Estimated: `4687 + m * (64 ±0)`
|
||||
// Minimum execution time: 21_002_000 picoseconds.
|
||||
Weight::from_parts(22_364_944, 4687)
|
||||
// Standard Error: 752
|
||||
.saturating_add(Weight::from_parts(54_363, 0).saturating_mul(m.into()))
|
||||
// Minimum execution time: 20_308_000 picoseconds.
|
||||
Weight::from_parts(21_469_843, 4687)
|
||||
// Standard Error: 782
|
||||
.saturating_add(Weight::from_parts(56_893, 0).saturating_mul(m.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
|
||||
@@ -289,12 +295,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn reset_member(m: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `278 + m * (64 ±0)`
|
||||
// Measured: `312 + m * (64 ±0)`
|
||||
// Estimated: `4687 + m * (64 ±0)`
|
||||
// Minimum execution time: 20_443_000 picoseconds.
|
||||
Weight::from_parts(22_188_301, 4687)
|
||||
// Standard Error: 945
|
||||
.saturating_add(Weight::from_parts(162_799, 0).saturating_mul(m.into()))
|
||||
// Minimum execution time: 19_464_000 picoseconds.
|
||||
Weight::from_parts(21_223_702, 4687)
|
||||
// Standard Error: 1_068
|
||||
.saturating_add(Weight::from_parts(165_438, 0).saturating_mul(m.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
|
||||
@@ -312,12 +318,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn change_key(m: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `278 + m * (64 ±0)`
|
||||
// Measured: `312 + m * (64 ±0)`
|
||||
// Estimated: `4687 + m * (64 ±0)`
|
||||
// Minimum execution time: 21_527_000 picoseconds.
|
||||
Weight::from_parts(23_146_706, 4687)
|
||||
// Standard Error: 724
|
||||
.saturating_add(Weight::from_parts(55_027, 0).saturating_mul(m.into()))
|
||||
// Minimum execution time: 20_965_000 picoseconds.
|
||||
Weight::from_parts(22_551_007, 4687)
|
||||
// Standard Error: 860
|
||||
.saturating_add(Weight::from_parts(52_397, 0).saturating_mul(m.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
|
||||
@@ -333,10 +339,10 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `32 + m * (32 ±0)`
|
||||
// Estimated: `4687 + m * (32 ±0)`
|
||||
// Minimum execution time: 8_054_000 picoseconds.
|
||||
Weight::from_parts(8_558_341, 4687)
|
||||
// Standard Error: 360
|
||||
.saturating_add(Weight::from_parts(16_362, 0).saturating_mul(m.into()))
|
||||
// Minimum execution time: 7_481_000 picoseconds.
|
||||
Weight::from_parts(7_959_053, 4687)
|
||||
// Standard Error: 364
|
||||
.saturating_add(Weight::from_parts(18_653, 0).saturating_mul(m.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
.saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into()))
|
||||
@@ -346,12 +352,14 @@ impl WeightInfo for () {
|
||||
/// Storage: TechnicalCommittee Prime (r:0 w:1)
|
||||
/// Proof Skipped: TechnicalCommittee Prime (max_values: Some(1), max_size: None, mode: Measured)
|
||||
/// The range of component `m` is `[1, 100]`.
|
||||
fn clear_prime(_m: u32, ) -> Weight {
|
||||
fn clear_prime(m: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 3_784_000 picoseconds.
|
||||
Weight::from_parts(4_100_031, 0)
|
||||
// Minimum execution time: 3_373_000 picoseconds.
|
||||
Weight::from_parts(3_750_452, 0)
|
||||
// Standard Error: 142
|
||||
.saturating_add(Weight::from_parts(505, 0).saturating_mul(m.into()))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user