mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 21:01:02 +00:00
".git/.scripts/commands/bench-vm/bench-vm.sh" all (#13933)
Co-authored-by: command-bot <>
This commit is contained in:
+59
-55
@@ -18,9 +18,9 @@
|
||||
//! Autogenerated weights for pallet_ranked_collective
|
||||
//!
|
||||
//! 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_ranked_collective
|
||||
// --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_ranked_collective.
|
||||
pub trait WeightInfo {
|
||||
@@ -69,10 +73,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Proof: RankedCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
|
||||
fn add_member() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `109`
|
||||
// Measured: `142`
|
||||
// Estimated: `3507`
|
||||
// Minimum execution time: 18_480_000 picoseconds.
|
||||
Weight::from_parts(18_769_000, 3507)
|
||||
// Minimum execution time: 17_245_000 picoseconds.
|
||||
Weight::from_parts(17_930_000, 3507)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -87,12 +91,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn remove_member(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `583 + r * (281 ±0)`
|
||||
// Measured: `616 + r * (281 ±0)`
|
||||
// Estimated: `3519 + r * (2529 ±0)`
|
||||
// Minimum execution time: 30_087_000 picoseconds.
|
||||
Weight::from_parts(33_646_239, 3519)
|
||||
// Standard Error: 22_498
|
||||
.saturating_add(Weight::from_parts(12_524_289, 0).saturating_mul(r.into()))
|
||||
// Minimum execution time: 29_534_000 picoseconds.
|
||||
Weight::from_parts(32_847_495, 3519)
|
||||
// Standard Error: 24_211
|
||||
.saturating_add(Weight::from_parts(13_949_639, 0).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
@@ -110,12 +114,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn promote_member(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `281 + r * (17 ±0)`
|
||||
// Measured: `314 + r * (17 ±0)`
|
||||
// Estimated: `3507`
|
||||
// Minimum execution time: 20_974_000 picoseconds.
|
||||
Weight::from_parts(21_582_135, 3507)
|
||||
// Standard Error: 4_965
|
||||
.saturating_add(Weight::from_parts(294_566, 0).saturating_mul(r.into()))
|
||||
// Minimum execution time: 20_333_000 picoseconds.
|
||||
Weight::from_parts(21_592_224, 3507)
|
||||
// Standard Error: 6_423
|
||||
.saturating_add(Weight::from_parts(321_314, 0).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -130,12 +134,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn demote_member(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `599 + r * (72 ±0)`
|
||||
// Measured: `632 + r * (72 ±0)`
|
||||
// Estimated: `3519`
|
||||
// Minimum execution time: 29_621_000 picoseconds.
|
||||
Weight::from_parts(32_118_301, 3519)
|
||||
// Standard Error: 27_596
|
||||
.saturating_add(Weight::from_parts(647_979, 0).saturating_mul(r.into()))
|
||||
// Minimum execution time: 29_446_000 picoseconds.
|
||||
Weight::from_parts(32_447_715, 3519)
|
||||
// Standard Error: 28_791
|
||||
.saturating_add(Weight::from_parts(822_890, 0).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -149,10 +153,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
|
||||
fn vote() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `595`
|
||||
// Measured: `628`
|
||||
// Estimated: `219984`
|
||||
// Minimum execution time: 46_360_000 picoseconds.
|
||||
Weight::from_parts(46_793_000, 219984)
|
||||
// Minimum execution time: 45_474_000 picoseconds.
|
||||
Weight::from_parts(47_228_000, 219984)
|
||||
.saturating_add(T::DbWeight::get().reads(5_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -165,12 +169,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
fn cleanup_poll(n: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `429 + n * (50 ±0)`
|
||||
// Measured: `462 + n * (50 ±0)`
|
||||
// Estimated: `3795 + n * (2540 ±0)`
|
||||
// Minimum execution time: 14_869_000 picoseconds.
|
||||
Weight::from_parts(18_545_013, 3795)
|
||||
// Standard Error: 1_376
|
||||
.saturating_add(Weight::from_parts(1_005_397, 0).saturating_mul(n.into()))
|
||||
// Minimum execution time: 13_903_000 picoseconds.
|
||||
Weight::from_parts(18_209_102, 3795)
|
||||
// Standard Error: 2_556
|
||||
.saturating_add(Weight::from_parts(1_237_454, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
|
||||
@@ -190,10 +194,10 @@ impl WeightInfo for () {
|
||||
/// Proof: RankedCollective IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)
|
||||
fn add_member() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `109`
|
||||
// Measured: `142`
|
||||
// Estimated: `3507`
|
||||
// Minimum execution time: 18_480_000 picoseconds.
|
||||
Weight::from_parts(18_769_000, 3507)
|
||||
// Minimum execution time: 17_245_000 picoseconds.
|
||||
Weight::from_parts(17_930_000, 3507)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -208,12 +212,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn remove_member(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `583 + r * (281 ±0)`
|
||||
// Measured: `616 + r * (281 ±0)`
|
||||
// Estimated: `3519 + r * (2529 ±0)`
|
||||
// Minimum execution time: 30_087_000 picoseconds.
|
||||
Weight::from_parts(33_646_239, 3519)
|
||||
// Standard Error: 22_498
|
||||
.saturating_add(Weight::from_parts(12_524_289, 0).saturating_mul(r.into()))
|
||||
// Minimum execution time: 29_534_000 picoseconds.
|
||||
Weight::from_parts(32_847_495, 3519)
|
||||
// Standard Error: 24_211
|
||||
.saturating_add(Weight::from_parts(13_949_639, 0).saturating_mul(r.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into())))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
@@ -231,12 +235,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn promote_member(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `281 + r * (17 ±0)`
|
||||
// Measured: `314 + r * (17 ±0)`
|
||||
// Estimated: `3507`
|
||||
// Minimum execution time: 20_974_000 picoseconds.
|
||||
Weight::from_parts(21_582_135, 3507)
|
||||
// Standard Error: 4_965
|
||||
.saturating_add(Weight::from_parts(294_566, 0).saturating_mul(r.into()))
|
||||
// Minimum execution time: 20_333_000 picoseconds.
|
||||
Weight::from_parts(21_592_224, 3507)
|
||||
// Standard Error: 6_423
|
||||
.saturating_add(Weight::from_parts(321_314, 0).saturating_mul(r.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -251,12 +255,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `r` is `[0, 10]`.
|
||||
fn demote_member(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `599 + r * (72 ±0)`
|
||||
// Measured: `632 + r * (72 ±0)`
|
||||
// Estimated: `3519`
|
||||
// Minimum execution time: 29_621_000 picoseconds.
|
||||
Weight::from_parts(32_118_301, 3519)
|
||||
// Standard Error: 27_596
|
||||
.saturating_add(Weight::from_parts(647_979, 0).saturating_mul(r.into()))
|
||||
// Minimum execution time: 29_446_000 picoseconds.
|
||||
Weight::from_parts(32_447_715, 3519)
|
||||
// Standard Error: 28_791
|
||||
.saturating_add(Weight::from_parts(822_890, 0).saturating_mul(r.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -270,10 +274,10 @@ impl WeightInfo for () {
|
||||
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
|
||||
fn vote() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `595`
|
||||
// Measured: `628`
|
||||
// Estimated: `219984`
|
||||
// Minimum execution time: 46_360_000 picoseconds.
|
||||
Weight::from_parts(46_793_000, 219984)
|
||||
// Minimum execution time: 45_474_000 picoseconds.
|
||||
Weight::from_parts(47_228_000, 219984)
|
||||
.saturating_add(RocksDbWeight::get().reads(5_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -286,12 +290,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `n` is `[0, 100]`.
|
||||
fn cleanup_poll(n: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `429 + n * (50 ±0)`
|
||||
// Measured: `462 + n * (50 ±0)`
|
||||
// Estimated: `3795 + n * (2540 ±0)`
|
||||
// Minimum execution time: 14_869_000 picoseconds.
|
||||
Weight::from_parts(18_545_013, 3795)
|
||||
// Standard Error: 1_376
|
||||
.saturating_add(Weight::from_parts(1_005_397, 0).saturating_mul(n.into()))
|
||||
// Minimum execution time: 13_903_000 picoseconds.
|
||||
Weight::from_parts(18_209_102, 3795)
|
||||
// Standard Error: 2_556
|
||||
.saturating_add(Weight::from_parts(1_237_454, 0).saturating_mul(n.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
||||
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))
|
||||
|
||||
Reference in New Issue
Block a user