[Backport] weights from 9420 (#2562)

* [benchmarks] Update weights for collectives (#2532)

* [benchmarks] pr with weights

* bump zombienet version (#2525)

* bump zombienet version

* fix para registration args

---------

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: Javier Viola <javier@parity.io>

* [benchmarks] Update weights for bridge-hubs (#2533)

* [benchmarks] pr with weights

* bump zombienet version (#2525)

* bump zombienet version

* fix para registration args

---------

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: Javier Viola <javier@parity.io>

* [benchmarks] Update weights for statemine/t (#2535)

* [benchmarks] pr with weights

* bump zombienet version (#2525)

* bump zombienet version

* fix para registration args

---------

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: Javier Viola <javier@parity.io>

---------

Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: Javier Viola <javier@parity.io>
This commit is contained in:
Egor_P
2023-05-11 08:22:19 +02:00
committed by GitHub
parent c89992f391
commit 83899e2f16
91 changed files with 3691 additions and 3426 deletions
@@ -1,32 +1,49 @@
// Copyright Parity Technologies (UK) Ltd.
// This file is part of Cumulus.
// Cumulus is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// Cumulus is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with Cumulus. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for `pallet_referenda`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-06, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-05-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `cob`, CPU: `<UNKNOWN>`
//! EXECUTION: Some(Native), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("collectives-polkadot-dev"), DB CACHE: 1024
// Executed Command:
// ./target/debug/polkadot-parachain
// ./artifacts/polkadot-parachain
// benchmark
// pallet
// --chain=collectives-polkadot-dev
// --steps=2
// --repeat=1
// --execution=wasm
// --wasm-execution=compiled
// --pallet=pallet_referenda
// --extrinsic=*
// --execution=native
// --wasm-execution=compiled
// --heap-pages=4096
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights
// --steps=50
// --repeat=20
// --json
// --header=./file_header.txt
// --output=./parachains/runtimes/collectives/collectives-polkadot/src/weights/pallet_referenda.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;
/// Weight functions for `pallet_referenda`.
pub struct WeightInfo<T>(PhantomData<T>);
@@ -42,10 +59,10 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
fn submit() -> Weight {
// Proof Size summary in bytes:
// Measured: `322`
// Estimated: `164275`
// Minimum execution time: 283_000_000 picoseconds.
Weight::from_parts(283_000_000, 0)
.saturating_add(Weight::from_parts(0, 164275))
// Estimated: `159279`
// Minimum execution time: 29_980_000 picoseconds.
Weight::from_parts(30_415_000, 0)
.saturating_add(Weight::from_parts(0, 159279))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -55,11 +72,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(155814), added: 158289, mode: MaxEncodedLen)
fn place_decision_deposit_preparing() -> Weight {
// Proof Size summary in bytes:
// Measured: `430`
// Estimated: `321933`
// Minimum execution time: 472_000_000 picoseconds.
Weight::from_parts(472_000_000, 0)
.saturating_add(Weight::from_parts(0, 321933))
// Measured: `366`
// Estimated: `317568`
// Minimum execution time: 54_782_000 picoseconds.
Weight::from_parts(55_250_000, 0)
.saturating_add(Weight::from_parts(0, 317568))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -71,11 +88,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
fn place_decision_deposit_queued() -> Weight {
// Proof Size summary in bytes:
// Measured: `1941`
// Estimated: `12121`
// Minimum execution time: 547_000_000 picoseconds.
Weight::from_parts(547_000_000, 0)
.saturating_add(Weight::from_parts(0, 12121))
// Measured: `1845`
// Estimated: `4365`
// Minimum execution time: 68_580_000 picoseconds.
Weight::from_parts(69_745_000, 0)
.saturating_add(Weight::from_parts(0, 4365))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -87,11 +104,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: FellowshipReferenda TrackQueue (max_values: None, max_size: Some(812), added: 3287, mode: MaxEncodedLen)
fn place_decision_deposit_not_queued() -> Weight {
// Proof Size summary in bytes:
// Measured: `1982`
// Estimated: `12121`
// Minimum execution time: 555_000_000 picoseconds.
Weight::from_parts(555_000_000, 0)
.saturating_add(Weight::from_parts(0, 12121))
// Measured: `1886`
// Estimated: `4365`
// Minimum execution time: 66_900_000 picoseconds.
Weight::from_parts(69_144_000, 0)
.saturating_add(Weight::from_parts(0, 4365))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -105,11 +122,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(155814), added: 158289, mode: MaxEncodedLen)
fn place_decision_deposit_passing() -> Weight {
// Proof Size summary in bytes:
// Measured: `833`
// Estimated: `328891`
// Minimum execution time: 871_000_000 picoseconds.
Weight::from_parts(871_000_000, 0)
.saturating_add(Weight::from_parts(0, 328891))
// Measured: `769`
// Estimated: `317568`
// Minimum execution time: 125_600_000 picoseconds.
Weight::from_parts(129_568_000, 0)
.saturating_add(Weight::from_parts(0, 317568))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -121,11 +138,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: FellowshipCollective MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
fn place_decision_deposit_failing() -> Weight {
// Proof Size summary in bytes:
// Measured: `643`
// Estimated: `11323`
// Minimum execution time: 460_000_000 picoseconds.
Weight::from_parts(460_000_000, 0)
.saturating_add(Weight::from_parts(0, 11323))
// Measured: `579`
// Estimated: `4365`
// Minimum execution time: 47_058_000 picoseconds.
Weight::from_parts(47_629_000, 0)
.saturating_add(Weight::from_parts(0, 4365))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -133,10 +150,10 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
fn refund_decision_deposit() -> Weight {
// Proof Size summary in bytes:
// Measured: `381`
// Measured: `317`
// Estimated: `4365`
// Minimum execution time: 281_000_000 picoseconds.
Weight::from_parts(281_000_000, 0)
// Minimum execution time: 32_565_000 picoseconds.
Weight::from_parts(32_857_000, 0)
.saturating_add(Weight::from_parts(0, 4365))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -145,10 +162,10 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
fn refund_submission_deposit() -> Weight {
// Proof Size summary in bytes:
// Measured: `199`
// Measured: `167`
// Estimated: `4365`
// Minimum execution time: 172_000_000 picoseconds.
Weight::from_parts(172_000_000, 0)
// Minimum execution time: 16_655_000 picoseconds.
Weight::from_parts(16_980_000, 0)
.saturating_add(Weight::from_parts(0, 4365))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -159,11 +176,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(155814), added: 158289, mode: MaxEncodedLen)
fn cancel() -> Weight {
// Proof Size summary in bytes:
// Measured: `343`
// Estimated: `321933`
// Minimum execution time: 334_000_000 picoseconds.
Weight::from_parts(334_000_000, 0)
.saturating_add(Weight::from_parts(0, 321933))
// Measured: `311`
// Estimated: `317568`
// Minimum execution time: 39_979_000 picoseconds.
Weight::from_parts(40_199_000, 0)
.saturating_add(Weight::from_parts(0, 317568))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -189,11 +206,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: FellowshipReferenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
fn kill() -> Weight {
// Proof Size summary in bytes:
// Measured: `581`
// Estimated: `342842`
// Minimum execution time: 1_580_000_000 picoseconds.
Weight::from_parts(1_580_000_000, 0)
.saturating_add(Weight::from_parts(0, 342842))
// Measured: `517`
// Estimated: `317568`
// Minimum execution time: 158_717_000 picoseconds.
Weight::from_parts(159_336_000, 0)
.saturating_add(Weight::from_parts(0, 317568))
.saturating_add(T::DbWeight::get().reads(11))
.saturating_add(T::DbWeight::get().writes(6))
}
@@ -204,10 +221,10 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
fn one_fewer_deciding_queue_empty() -> Weight {
// Proof Size summary in bytes:
// Measured: `140`
// Estimated: `7756`
// Minimum execution time: 203_000_000 picoseconds.
Weight::from_parts(203_000_000, 0)
.saturating_add(Weight::from_parts(0, 7756))
// Estimated: `4277`
// Minimum execution time: 11_107_000 picoseconds.
Weight::from_parts(11_302_000, 0)
.saturating_add(Weight::from_parts(0, 4277))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -221,11 +238,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(155814), added: 158289, mode: MaxEncodedLen)
fn one_fewer_deciding_failing() -> Weight {
// Proof Size summary in bytes:
// Measured: `3991`
// Estimated: `329689`
// Minimum execution time: 1_025_000_000 picoseconds.
Weight::from_parts(1_025_000_000, 0)
.saturating_add(Weight::from_parts(0, 329689))
// Measured: `3896`
// Estimated: `317568`
// Minimum execution time: 237_949_000 picoseconds.
Weight::from_parts(240_956_000, 0)
.saturating_add(Weight::from_parts(0, 317568))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -239,11 +256,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(155814), added: 158289, mode: MaxEncodedLen)
fn one_fewer_deciding_passing() -> Weight {
// Proof Size summary in bytes:
// Measured: `3991`
// Estimated: `329689`
// Minimum execution time: 1_076_000_000 picoseconds.
Weight::from_parts(1_076_000_000, 0)
.saturating_add(Weight::from_parts(0, 329689))
// Measured: `3896`
// Estimated: `317568`
// Minimum execution time: 240_708_000 picoseconds.
Weight::from_parts(242_646_000, 0)
.saturating_add(Weight::from_parts(0, 317568))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -255,11 +272,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(155814), added: 158289, mode: MaxEncodedLen)
fn nudge_referendum_requeued_insertion() -> Weight {
// Proof Size summary in bytes:
// Measured: `3589`
// Estimated: `167921`
// Minimum execution time: 621_000_000 picoseconds.
Weight::from_parts(621_000_000, 0)
.saturating_add(Weight::from_parts(0, 167921))
// Measured: `3494`
// Estimated: `159279`
// Minimum execution time: 136_435_000 picoseconds.
Weight::from_parts(138_673_000, 0)
.saturating_add(Weight::from_parts(0, 159279))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -271,11 +288,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(155814), added: 158289, mode: MaxEncodedLen)
fn nudge_referendum_requeued_slide() -> Weight {
// Proof Size summary in bytes:
// Measured: `3542`
// Estimated: `167921`
// Minimum execution time: 643_000_000 picoseconds.
Weight::from_parts(643_000_000, 0)
.saturating_add(Weight::from_parts(0, 167921))
// Measured: `3447`
// Estimated: `159279`
// Minimum execution time: 136_686_000 picoseconds.
Weight::from_parts(137_969_000, 0)
.saturating_add(Weight::from_parts(0, 159279))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -289,11 +306,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(155814), added: 158289, mode: MaxEncodedLen)
fn nudge_referendum_queued() -> Weight {
// Proof Size summary in bytes:
// Measured: `3528`
// Estimated: `171400`
// Minimum execution time: 704_000_000 picoseconds.
Weight::from_parts(704_000_000, 0)
.saturating_add(Weight::from_parts(0, 171400))
// Measured: `3433`
// Estimated: `159279`
// Minimum execution time: 139_598_000 picoseconds.
Weight::from_parts(140_713_000, 0)
.saturating_add(Weight::from_parts(0, 159279))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -307,11 +324,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(155814), added: 158289, mode: MaxEncodedLen)
fn nudge_referendum_not_queued() -> Weight {
// Proof Size summary in bytes:
// Measured: `3583`
// Estimated: `171400`
// Minimum execution time: 695_000_000 picoseconds.
Weight::from_parts(695_000_000, 0)
.saturating_add(Weight::from_parts(0, 171400))
// Measured: `3488`
// Estimated: `159279`
// Minimum execution time: 139_149_000 picoseconds.
Weight::from_parts(140_033_000, 0)
.saturating_add(Weight::from_parts(0, 159279))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -321,11 +338,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(155814), added: 158289, mode: MaxEncodedLen)
fn nudge_referendum_no_deposit() -> Weight {
// Proof Size summary in bytes:
// Measured: `295`
// Estimated: `163644`
// Minimum execution time: 259_000_000 picoseconds.
Weight::from_parts(259_000_000, 0)
.saturating_add(Weight::from_parts(0, 163644))
// Measured: `263`
// Estimated: `159279`
// Minimum execution time: 27_153_000 picoseconds.
Weight::from_parts(27_344_000, 0)
.saturating_add(Weight::from_parts(0, 159279))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -335,11 +352,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(155814), added: 158289, mode: MaxEncodedLen)
fn nudge_referendum_preparing() -> Weight {
// Proof Size summary in bytes:
// Measured: `343`
// Estimated: `163644`
// Minimum execution time: 260_000_000 picoseconds.
Weight::from_parts(260_000_000, 0)
.saturating_add(Weight::from_parts(0, 163644))
// Measured: `311`
// Estimated: `159279`
// Minimum execution time: 27_327_000 picoseconds.
Weight::from_parts(27_886_000, 0)
.saturating_add(Weight::from_parts(0, 159279))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -347,10 +364,10 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: FellowshipReferenda ReferendumInfoFor (max_values: None, max_size: Some(900), added: 3375, mode: MaxEncodedLen)
fn nudge_referendum_timed_out() -> Weight {
// Proof Size summary in bytes:
// Measured: `240`
// Measured: `208`
// Estimated: `4365`
// Minimum execution time: 184_000_000 picoseconds.
Weight::from_parts(184_000_000, 0)
// Minimum execution time: 19_314_000 picoseconds.
Weight::from_parts(19_667_000, 0)
.saturating_add(Weight::from_parts(0, 4365))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -365,11 +382,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(155814), added: 158289, mode: MaxEncodedLen)
fn nudge_referendum_begin_deciding_failing() -> Weight {
// Proof Size summary in bytes:
// Measured: `611`
// Estimated: `170602`
// Minimum execution time: 445_000_000 picoseconds.
Weight::from_parts(445_000_000, 0)
.saturating_add(Weight::from_parts(0, 170602))
// Measured: `579`
// Estimated: `159279`
// Minimum execution time: 39_377_000 picoseconds.
Weight::from_parts(39_742_000, 0)
.saturating_add(Weight::from_parts(0, 159279))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -383,11 +400,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(155814), added: 158289, mode: MaxEncodedLen)
fn nudge_referendum_begin_deciding_passing() -> Weight {
// Proof Size summary in bytes:
// Measured: `746`
// Estimated: `170602`
// Minimum execution time: 625_000_000 picoseconds.
Weight::from_parts(625_000_000, 0)
.saturating_add(Weight::from_parts(0, 170602))
// Measured: `714`
// Estimated: `159279`
// Minimum execution time: 66_532_000 picoseconds.
Weight::from_parts(68_794_000, 0)
.saturating_add(Weight::from_parts(0, 159279))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -399,11 +416,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(155814), added: 158289, mode: MaxEncodedLen)
fn nudge_referendum_begin_confirming() -> Weight {
// Proof Size summary in bytes:
// Measured: `799`
// Estimated: `167123`
// Minimum execution time: 623_000_000 picoseconds.
Weight::from_parts(623_000_000, 0)
.saturating_add(Weight::from_parts(0, 167123))
// Measured: `767`
// Estimated: `159279`
// Minimum execution time: 87_398_000 picoseconds.
Weight::from_parts(90_998_000, 0)
.saturating_add(Weight::from_parts(0, 159279))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -415,11 +432,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(155814), added: 158289, mode: MaxEncodedLen)
fn nudge_referendum_end_confirming() -> Weight {
// Proof Size summary in bytes:
// Measured: `782`
// Estimated: `167123`
// Minimum execution time: 580_000_000 picoseconds.
Weight::from_parts(580_000_000, 0)
.saturating_add(Weight::from_parts(0, 167123))
// Measured: `750`
// Estimated: `159279`
// Minimum execution time: 87_401_000 picoseconds.
Weight::from_parts(90_985_000, 0)
.saturating_add(Weight::from_parts(0, 159279))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -431,11 +448,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(155814), added: 158289, mode: MaxEncodedLen)
fn nudge_referendum_continue_not_confirming() -> Weight {
// Proof Size summary in bytes:
// Measured: `799`
// Estimated: `167123`
// Minimum execution time: 595_000_000 picoseconds.
Weight::from_parts(595_000_000, 0)
.saturating_add(Weight::from_parts(0, 167123))
// Measured: `767`
// Estimated: `159279`
// Minimum execution time: 82_591_000 picoseconds.
Weight::from_parts(86_670_000, 0)
.saturating_add(Weight::from_parts(0, 159279))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -447,11 +464,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(155814), added: 158289, mode: MaxEncodedLen)
fn nudge_referendum_continue_confirming() -> Weight {
// Proof Size summary in bytes:
// Measured: `803`
// Estimated: `167123`
// Minimum execution time: 556_000_000 picoseconds.
Weight::from_parts(556_000_000, 0)
.saturating_add(Weight::from_parts(0, 167123))
// Measured: `771`
// Estimated: `159279`
// Minimum execution time: 55_759_000 picoseconds.
Weight::from_parts(58_177_000, 0)
.saturating_add(Weight::from_parts(0, 159279))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -465,11 +482,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
fn nudge_referendum_approved() -> Weight {
// Proof Size summary in bytes:
// Measured: `803`
// Estimated: `328925`
// Minimum execution time: 704_000_000 picoseconds.
Weight::from_parts(704_000_000, 0)
.saturating_add(Weight::from_parts(0, 328925))
// Measured: `771`
// Estimated: `317568`
// Minimum execution time: 99_521_000 picoseconds.
Weight::from_parts(106_553_000, 0)
.saturating_add(Weight::from_parts(0, 317568))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -481,11 +498,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: Scheduler Agenda (max_values: None, max_size: Some(155814), added: 158289, mode: MaxEncodedLen)
fn nudge_referendum_rejected() -> Weight {
// Proof Size summary in bytes:
// Measured: `799`
// Estimated: `167123`
// Minimum execution time: 615_000_000 picoseconds.
Weight::from_parts(615_000_000, 0)
.saturating_add(Weight::from_parts(0, 167123))
// Measured: `767`
// Estimated: `159279`
// Minimum execution time: 87_381_000 picoseconds.
Weight::from_parts(91_501_000, 0)
.saturating_add(Weight::from_parts(0, 159279))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -497,11 +514,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: FellowshipReferenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
fn set_some_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `384`
// Estimated: `7921`
// Minimum execution time: 262_000_000 picoseconds.
Weight::from_parts(262_000_000, 0)
.saturating_add(Weight::from_parts(0, 7921))
// Measured: `352`
// Estimated: `4365`
// Minimum execution time: 22_378_000 picoseconds.
Weight::from_parts(22_631_000, 0)
.saturating_add(Weight::from_parts(0, 4365))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -511,11 +528,11 @@ impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
/// Proof: FellowshipReferenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
fn clear_metadata() -> Weight {
// Proof Size summary in bytes:
// Measured: `317`
// Estimated: `7882`
// Minimum execution time: 223_000_000 picoseconds.
Weight::from_parts(223_000_000, 0)
.saturating_add(Weight::from_parts(0, 7882))
// Measured: `285`
// Estimated: `4365`
// Minimum execution time: 20_116_000 picoseconds.
Weight::from_parts(20_255_000, 0)
.saturating_add(Weight::from_parts(0, 4365))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}