".git/.scripts/commands/bench-vm/bench-vm.sh" all (#13933)

Co-authored-by: command-bot <>
This commit is contained in:
Oleg Plakida
2023-06-19 14:31:20 +01:00
committed by GitHub
parent 05592a84eb
commit 0aa79f87ca
52 changed files with 5126 additions and 4928 deletions
+207 -211
View File
@@ -18,9 +18,9 @@
//! Autogenerated weights for pallet_referenda
//!
//! 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_referenda
// --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_referenda.
pub trait WeightInfo {
@@ -93,8 +97,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `220`
// Estimated: `110487`
// Minimum execution time: 42_285_000 picoseconds.
Weight::from_parts(42_646_000, 110487)
// Minimum execution time: 40_175_000 picoseconds.
Weight::from_parts(41_107_000, 110487)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -106,8 +110,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `473`
// Estimated: `219984`
// Minimum execution time: 53_455_000 picoseconds.
Weight::from_parts(54_034_000, 219984)
// Minimum execution time: 50_922_000 picoseconds.
Weight::from_parts(52_179_000, 219984)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -117,14 +121,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn place_decision_deposit_queued() -> Weight {
// Proof Size summary in bytes:
// Measured: `3107`
// Estimated: `5477`
// Minimum execution time: 50_138_000 picoseconds.
Weight::from_parts(50_449_000, 5477)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
// Measured: `3260`
// Estimated: `110487`
// Minimum execution time: 69_559_000 picoseconds.
Weight::from_parts(72_143_000, 110487)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
@@ -132,14 +138,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn place_decision_deposit_not_queued() -> Weight {
// Proof Size summary in bytes:
// Measured: `3127`
// Estimated: `5477`
// Minimum execution time: 49_707_000 picoseconds.
Weight::from_parts(50_246_000, 5477)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
// Measured: `3280`
// Estimated: `110487`
// Minimum execution time: 68_833_000 picoseconds.
Weight::from_parts(70_987_000, 110487)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
@@ -151,8 +159,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `473`
// Estimated: `219984`
// Minimum execution time: 62_880_000 picoseconds.
Weight::from_parts(63_579_000, 219984)
// Minimum execution time: 61_794_000 picoseconds.
Weight::from_parts(62_846_000, 219984)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -166,8 +174,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `473`
// Estimated: `219984`
// Minimum execution time: 60_827_000 picoseconds.
Weight::from_parts(61_392_000, 219984)
// Minimum execution time: 58_664_000 picoseconds.
Weight::from_parts(60_195_000, 219984)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -177,8 +185,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `351`
// Estimated: `3831`
// Minimum execution time: 31_991_000 picoseconds.
Weight::from_parts(32_474_000, 3831)
// Minimum execution time: 30_850_000 picoseconds.
Weight::from_parts(32_130_000, 3831)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -188,8 +196,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `341`
// Estimated: `3831`
// Minimum execution time: 32_162_000 picoseconds.
Weight::from_parts(32_776_000, 3831)
// Minimum execution time: 30_747_000 picoseconds.
Weight::from_parts(32_196_000, 3831)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -201,8 +209,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `381`
// Estimated: `219984`
// Minimum execution time: 37_493_000 picoseconds.
Weight::from_parts(37_979_000, 219984)
// Minimum execution time: 36_139_000 picoseconds.
Weight::from_parts(37_252_000, 219984)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -216,8 +224,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `622`
// Estimated: `219984`
// Minimum execution time: 80_095_000 picoseconds.
Weight::from_parts(80_831_000, 219984)
// Minimum execution time: 80_862_000 picoseconds.
Weight::from_parts(83_045_000, 219984)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -229,8 +237,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `5477`
// Minimum execution time: 10_906_000 picoseconds.
Weight::from_parts(11_055_000, 5477)
// Minimum execution time: 10_136_000 picoseconds.
Weight::from_parts(10_638_000, 5477)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -238,61 +246,57 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:2 w:2)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn one_fewer_deciding_failing() -> Weight {
// Proof Size summary in bytes:
// Measured: `4567`
// Estimated: `219984`
// Minimum execution time: 90_747_000 picoseconds.
Weight::from_parts(91_407_000, 219984)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
// Measured: `3150`
// Estimated: `110487`
// Minimum execution time: 52_022_000 picoseconds.
Weight::from_parts(53_910_000, 110487)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:2 w:2)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn one_fewer_deciding_passing() -> Weight {
// Proof Size summary in bytes:
// Measured: `4567`
// Estimated: `219984`
// Minimum execution time: 93_615_000 picoseconds.
Weight::from_parts(94_245_000, 219984)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
// Measured: `3150`
// Estimated: `110487`
// Minimum execution time: 53_683_000 picoseconds.
Weight::from_parts(55_707_000, 110487)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Storage: Referenda ReferendumInfoFor (r:1 w:0)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn nudge_referendum_requeued_insertion() -> Weight {
// Proof Size summary in bytes:
// Measured: `4588`
// Estimated: `110487`
// Minimum execution time: 60_945_000 picoseconds.
Weight::from_parts(61_246_000, 110487)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
// Measured: `3011`
// Estimated: `5477`
// Minimum execution time: 24_043_000 picoseconds.
Weight::from_parts(24_512_000, 5477)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Storage: Referenda ReferendumInfoFor (r:1 w:0)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn nudge_referendum_requeued_slide() -> Weight {
// Proof Size summary in bytes:
// Measured: `4574`
// Estimated: `110487`
// Minimum execution time: 60_105_000 picoseconds.
Weight::from_parts(60_544_000, 110487)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
// Measured: `3011`
// Estimated: `5477`
// Minimum execution time: 23_588_000 picoseconds.
Weight::from_parts(24_422_000, 5477)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
@@ -300,16 +304,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn nudge_referendum_queued() -> Weight {
// Proof Size summary in bytes:
// Measured: `4548`
// Estimated: `110487`
// Minimum execution time: 62_251_000 picoseconds.
Weight::from_parts(62_952_000, 110487)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
// Measured: `3015`
// Estimated: `5477`
// Minimum execution time: 31_443_000 picoseconds.
Weight::from_parts(32_725_000, 5477)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
@@ -317,16 +319,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn nudge_referendum_not_queued() -> Weight {
// Proof Size summary in bytes:
// Measured: `4582`
// Estimated: `110487`
// Minimum execution time: 61_527_000 picoseconds.
Weight::from_parts(62_082_000, 110487)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
// Measured: `3035`
// Estimated: `5477`
// Minimum execution time: 30_319_000 picoseconds.
Weight::from_parts(31_652_000, 5477)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
@@ -336,8 +336,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `333`
// Estimated: `110487`
// Minimum execution time: 24_897_000 picoseconds.
Weight::from_parts(25_213_000, 110487)
// Minimum execution time: 23_062_000 picoseconds.
Weight::from_parts(23_614_000, 110487)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -349,8 +349,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `381`
// Estimated: `110487`
// Minimum execution time: 25_077_000 picoseconds.
Weight::from_parts(25_385_000, 110487)
// Minimum execution time: 23_537_000 picoseconds.
Weight::from_parts(24_267_000, 110487)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -360,8 +360,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `278`
// Estimated: `3831`
// Minimum execution time: 17_930_000 picoseconds.
Weight::from_parts(18_112_000, 3831)
// Minimum execution time: 16_388_000 picoseconds.
Weight::from_parts(16_676_000, 3831)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -375,8 +375,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `381`
// Estimated: `110487`
// Minimum execution time: 34_405_000 picoseconds.
Weight::from_parts(34_698_000, 110487)
// Minimum execution time: 32_801_000 picoseconds.
Weight::from_parts(34_053_000, 110487)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -390,8 +390,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `381`
// Estimated: `110487`
// Minimum execution time: 37_313_000 picoseconds.
Weight::from_parts(37_807_000, 110487)
// Minimum execution time: 35_704_000 picoseconds.
Weight::from_parts(36_451_000, 110487)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -403,8 +403,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `434`
// Estimated: `110487`
// Minimum execution time: 30_552_000 picoseconds.
Weight::from_parts(30_817_000, 110487)
// Minimum execution time: 29_151_000 picoseconds.
Weight::from_parts(30_055_000, 110487)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -416,8 +416,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `417`
// Estimated: `110487`
// Minimum execution time: 31_100_000 picoseconds.
Weight::from_parts(31_696_000, 110487)
// Minimum execution time: 29_265_000 picoseconds.
Weight::from_parts(30_213_000, 110487)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -429,8 +429,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `434`
// Estimated: `110487`
// Minimum execution time: 28_777_000 picoseconds.
Weight::from_parts(29_188_000, 110487)
// Minimum execution time: 27_760_000 picoseconds.
Weight::from_parts(28_381_000, 110487)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -442,8 +442,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `438`
// Estimated: `110487`
// Minimum execution time: 26_986_000 picoseconds.
Weight::from_parts(27_283_000, 110487)
// Minimum execution time: 25_464_000 picoseconds.
Weight::from_parts(26_348_000, 110487)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -457,8 +457,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `438`
// Estimated: `219984`
// Minimum execution time: 43_538_000 picoseconds.
Weight::from_parts(44_671_000, 219984)
// Minimum execution time: 42_629_000 picoseconds.
Weight::from_parts(43_732_000, 219984)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -470,8 +470,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `434`
// Estimated: `110487`
// Minimum execution time: 30_559_000 picoseconds.
Weight::from_parts(31_294_000, 110487)
// Minimum execution time: 30_015_000 picoseconds.
Weight::from_parts(30_827_000, 110487)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -485,8 +485,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `422`
// Estimated: `3831`
// Minimum execution time: 21_196_000 picoseconds.
Weight::from_parts(21_593_000, 3831)
// Minimum execution time: 19_901_000 picoseconds.
Weight::from_parts(20_681_000, 3831)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -498,8 +498,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `355`
// Estimated: `3831`
// Minimum execution time: 18_827_000 picoseconds.
Weight::from_parts(19_171_000, 3831)
// Minimum execution time: 17_323_000 picoseconds.
Weight::from_parts(18_227_000, 3831)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -517,8 +517,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `220`
// Estimated: `110487`
// Minimum execution time: 42_285_000 picoseconds.
Weight::from_parts(42_646_000, 110487)
// Minimum execution time: 40_175_000 picoseconds.
Weight::from_parts(41_107_000, 110487)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -530,8 +530,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `473`
// Estimated: `219984`
// Minimum execution time: 53_455_000 picoseconds.
Weight::from_parts(54_034_000, 219984)
// Minimum execution time: 50_922_000 picoseconds.
Weight::from_parts(52_179_000, 219984)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -541,14 +541,16 @@ impl WeightInfo for () {
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn place_decision_deposit_queued() -> Weight {
// Proof Size summary in bytes:
// Measured: `3107`
// Estimated: `5477`
// Minimum execution time: 50_138_000 picoseconds.
Weight::from_parts(50_449_000, 5477)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
// Measured: `3260`
// Estimated: `110487`
// Minimum execution time: 69_559_000 picoseconds.
Weight::from_parts(72_143_000, 110487)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
@@ -556,14 +558,16 @@ impl WeightInfo for () {
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn place_decision_deposit_not_queued() -> Weight {
// Proof Size summary in bytes:
// Measured: `3127`
// Estimated: `5477`
// Minimum execution time: 49_707_000 picoseconds.
Weight::from_parts(50_246_000, 5477)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
// Measured: `3280`
// Estimated: `110487`
// Minimum execution time: 68_833_000 picoseconds.
Weight::from_parts(70_987_000, 110487)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
@@ -575,8 +579,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `473`
// Estimated: `219984`
// Minimum execution time: 62_880_000 picoseconds.
Weight::from_parts(63_579_000, 219984)
// Minimum execution time: 61_794_000 picoseconds.
Weight::from_parts(62_846_000, 219984)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -590,8 +594,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `473`
// Estimated: `219984`
// Minimum execution time: 60_827_000 picoseconds.
Weight::from_parts(61_392_000, 219984)
// Minimum execution time: 58_664_000 picoseconds.
Weight::from_parts(60_195_000, 219984)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -601,8 +605,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `351`
// Estimated: `3831`
// Minimum execution time: 31_991_000 picoseconds.
Weight::from_parts(32_474_000, 3831)
// Minimum execution time: 30_850_000 picoseconds.
Weight::from_parts(32_130_000, 3831)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -612,8 +616,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `341`
// Estimated: `3831`
// Minimum execution time: 32_162_000 picoseconds.
Weight::from_parts(32_776_000, 3831)
// Minimum execution time: 30_747_000 picoseconds.
Weight::from_parts(32_196_000, 3831)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -625,8 +629,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `381`
// Estimated: `219984`
// Minimum execution time: 37_493_000 picoseconds.
Weight::from_parts(37_979_000, 219984)
// Minimum execution time: 36_139_000 picoseconds.
Weight::from_parts(37_252_000, 219984)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -640,8 +644,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `622`
// Estimated: `219984`
// Minimum execution time: 80_095_000 picoseconds.
Weight::from_parts(80_831_000, 219984)
// Minimum execution time: 80_862_000 picoseconds.
Weight::from_parts(83_045_000, 219984)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -653,8 +657,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `5477`
// Minimum execution time: 10_906_000 picoseconds.
Weight::from_parts(11_055_000, 5477)
// Minimum execution time: 10_136_000 picoseconds.
Weight::from_parts(10_638_000, 5477)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -662,61 +666,57 @@ impl WeightInfo for () {
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:2 w:2)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn one_fewer_deciding_failing() -> Weight {
// Proof Size summary in bytes:
// Measured: `4567`
// Estimated: `219984`
// Minimum execution time: 90_747_000 picoseconds.
Weight::from_parts(91_407_000, 219984)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
// Measured: `3150`
// Estimated: `110487`
// Minimum execution time: 52_022_000 picoseconds.
Weight::from_parts(53_910_000, 110487)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:2 w:2)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn one_fewer_deciding_passing() -> Weight {
// Proof Size summary in bytes:
// Measured: `4567`
// Estimated: `219984`
// Minimum execution time: 93_615_000 picoseconds.
Weight::from_parts(94_245_000, 219984)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
// Measured: `3150`
// Estimated: `110487`
// Minimum execution time: 53_683_000 picoseconds.
Weight::from_parts(55_707_000, 110487)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Storage: Referenda ReferendumInfoFor (r:1 w:0)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn nudge_referendum_requeued_insertion() -> Weight {
// Proof Size summary in bytes:
// Measured: `4588`
// Estimated: `110487`
// Minimum execution time: 60_945_000 picoseconds.
Weight::from_parts(61_246_000, 110487)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
// Measured: `3011`
// Estimated: `5477`
// Minimum execution time: 24_043_000 picoseconds.
Weight::from_parts(24_512_000, 5477)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Storage: Referenda ReferendumInfoFor (r:1 w:0)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn nudge_referendum_requeued_slide() -> Weight {
// Proof Size summary in bytes:
// Measured: `4574`
// Estimated: `110487`
// Minimum execution time: 60_105_000 picoseconds.
Weight::from_parts(60_544_000, 110487)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
// Measured: `3011`
// Estimated: `5477`
// Minimum execution time: 23_588_000 picoseconds.
Weight::from_parts(24_422_000, 5477)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
@@ -724,16 +724,14 @@ impl WeightInfo for () {
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn nudge_referendum_queued() -> Weight {
// Proof Size summary in bytes:
// Measured: `4548`
// Estimated: `110487`
// Minimum execution time: 62_251_000 picoseconds.
Weight::from_parts(62_952_000, 110487)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
// Measured: `3015`
// Estimated: `5477`
// Minimum execution time: 31_443_000 picoseconds.
Weight::from_parts(32_725_000, 5477)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
@@ -741,16 +739,14 @@ impl WeightInfo for () {
/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
/// Storage: Referenda TrackQueue (r:1 w:1)
/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
/// Storage: Scheduler Agenda (r:1 w:1)
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen)
fn nudge_referendum_not_queued() -> Weight {
// Proof Size summary in bytes:
// Measured: `4582`
// Estimated: `110487`
// Minimum execution time: 61_527_000 picoseconds.
Weight::from_parts(62_082_000, 110487)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
// Measured: `3035`
// Estimated: `5477`
// Minimum execution time: 30_319_000 picoseconds.
Weight::from_parts(31_652_000, 5477)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen)
@@ -760,8 +756,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `333`
// Estimated: `110487`
// Minimum execution time: 24_897_000 picoseconds.
Weight::from_parts(25_213_000, 110487)
// Minimum execution time: 23_062_000 picoseconds.
Weight::from_parts(23_614_000, 110487)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -773,8 +769,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `381`
// Estimated: `110487`
// Minimum execution time: 25_077_000 picoseconds.
Weight::from_parts(25_385_000, 110487)
// Minimum execution time: 23_537_000 picoseconds.
Weight::from_parts(24_267_000, 110487)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -784,8 +780,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `278`
// Estimated: `3831`
// Minimum execution time: 17_930_000 picoseconds.
Weight::from_parts(18_112_000, 3831)
// Minimum execution time: 16_388_000 picoseconds.
Weight::from_parts(16_676_000, 3831)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -799,8 +795,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `381`
// Estimated: `110487`
// Minimum execution time: 34_405_000 picoseconds.
Weight::from_parts(34_698_000, 110487)
// Minimum execution time: 32_801_000 picoseconds.
Weight::from_parts(34_053_000, 110487)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -814,8 +810,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `381`
// Estimated: `110487`
// Minimum execution time: 37_313_000 picoseconds.
Weight::from_parts(37_807_000, 110487)
// Minimum execution time: 35_704_000 picoseconds.
Weight::from_parts(36_451_000, 110487)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -827,8 +823,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `434`
// Estimated: `110487`
// Minimum execution time: 30_552_000 picoseconds.
Weight::from_parts(30_817_000, 110487)
// Minimum execution time: 29_151_000 picoseconds.
Weight::from_parts(30_055_000, 110487)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -840,8 +836,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `417`
// Estimated: `110487`
// Minimum execution time: 31_100_000 picoseconds.
Weight::from_parts(31_696_000, 110487)
// Minimum execution time: 29_265_000 picoseconds.
Weight::from_parts(30_213_000, 110487)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -853,8 +849,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `434`
// Estimated: `110487`
// Minimum execution time: 28_777_000 picoseconds.
Weight::from_parts(29_188_000, 110487)
// Minimum execution time: 27_760_000 picoseconds.
Weight::from_parts(28_381_000, 110487)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -866,8 +862,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `438`
// Estimated: `110487`
// Minimum execution time: 26_986_000 picoseconds.
Weight::from_parts(27_283_000, 110487)
// Minimum execution time: 25_464_000 picoseconds.
Weight::from_parts(26_348_000, 110487)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -881,8 +877,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `438`
// Estimated: `219984`
// Minimum execution time: 43_538_000 picoseconds.
Weight::from_parts(44_671_000, 219984)
// Minimum execution time: 42_629_000 picoseconds.
Weight::from_parts(43_732_000, 219984)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -894,8 +890,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `434`
// Estimated: `110487`
// Minimum execution time: 30_559_000 picoseconds.
Weight::from_parts(31_294_000, 110487)
// Minimum execution time: 30_015_000 picoseconds.
Weight::from_parts(30_827_000, 110487)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -909,8 +905,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `422`
// Estimated: `3831`
// Minimum execution time: 21_196_000 picoseconds.
Weight::from_parts(21_593_000, 3831)
// Minimum execution time: 19_901_000 picoseconds.
Weight::from_parts(20_681_000, 3831)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -922,8 +918,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `355`
// Estimated: `3831`
// Minimum execution time: 18_827_000 picoseconds.
Weight::from_parts(19_171_000, 3831)
// Minimum execution time: 17_323_000 picoseconds.
Weight::from_parts(18_227_000, 3831)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}