mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 23:37:56 +00:00
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:
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,23 +18,24 @@
|
||||
//! Autogenerated weights for pallet_democracy
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-10-03, 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_democracy
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --pallet=pallet_democracy
|
||||
// --chain=dev
|
||||
// --output=./frame/democracy/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
@@ -78,13 +79,15 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy Blacklist (r:1 w:0)
|
||||
// Storage: Democracy DepositOf (r:0 w:1)
|
||||
fn propose() -> Weight {
|
||||
Weight::from_ref_time(57_410_000 as u64)
|
||||
// Minimum execution time: 56_868 nanoseconds.
|
||||
Weight::from_ref_time(57_788_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
fn second() -> Weight {
|
||||
Weight::from_ref_time(49_224_000 as u64)
|
||||
// Minimum execution time: 49_328 nanoseconds.
|
||||
Weight::from_ref_time(49_764_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -92,7 +95,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vote_new() -> Weight {
|
||||
Weight::from_ref_time(60_933_000 as u64)
|
||||
// Minimum execution time: 60_323 nanoseconds.
|
||||
Weight::from_ref_time(61_389_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -100,14 +104,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vote_existing() -> Weight {
|
||||
Weight::from_ref_time(60_393_000 as u64)
|
||||
// Minimum execution time: 60_612 nanoseconds.
|
||||
Weight::from_ref_time(61_282_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy Cancellations (r:1 w:1)
|
||||
fn emergency_cancel() -> Weight {
|
||||
Weight::from_ref_time(24_588_000 as u64)
|
||||
// Minimum execution time: 24_780 nanoseconds.
|
||||
Weight::from_ref_time(25_194_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -118,39 +124,45 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:0 w:1)
|
||||
fn blacklist() -> Weight {
|
||||
Weight::from_ref_time(91_226_000 as u64)
|
||||
// Minimum execution time: 85_177 nanoseconds.
|
||||
Weight::from_ref_time(91_733_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:0)
|
||||
fn external_propose() -> Weight {
|
||||
Weight::from_ref_time(18_898_000 as u64)
|
||||
// Minimum execution time: 19_483 nanoseconds.
|
||||
Weight::from_ref_time(19_914_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_majority() -> Weight {
|
||||
Weight::from_ref_time(5_136_000 as u64)
|
||||
// Minimum execution time: 4_963 nanoseconds.
|
||||
Weight::from_ref_time(5_250_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_default() -> Weight {
|
||||
Weight::from_ref_time(5_243_000 as u64)
|
||||
// Minimum execution time: 5_075 nanoseconds.
|
||||
Weight::from_ref_time(5_187_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy ReferendumCount (r:1 w:1)
|
||||
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
|
||||
fn fast_track() -> Weight {
|
||||
Weight::from_ref_time(24_275_000 as u64)
|
||||
// Minimum execution time: 23_956 nanoseconds.
|
||||
Weight::from_ref_time(24_814_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:1)
|
||||
fn veto_external() -> Weight {
|
||||
Weight::from_ref_time(30_988_000 as u64)
|
||||
// Minimum execution time: 31_472 nanoseconds.
|
||||
Weight::from_ref_time(31_770_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -158,13 +170,15 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn cancel_proposal() -> Weight {
|
||||
Weight::from_ref_time(78_515_000 as u64)
|
||||
// Minimum execution time: 73_811 nanoseconds.
|
||||
Weight::from_ref_time(78_943_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
|
||||
fn cancel_referendum() -> Weight {
|
||||
Weight::from_ref_time(16_155_000 as u64)
|
||||
// Minimum execution time: 16_074 nanoseconds.
|
||||
Weight::from_ref_time(16_409_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy LowestUnbaked (r:1 w:1)
|
||||
@@ -172,9 +186,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn on_initialize_base(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(7_007_000 as u64)
|
||||
// Standard Error: 2_686
|
||||
.saturating_add(Weight::from_ref_time(2_288_781 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 7_430 nanoseconds.
|
||||
Weight::from_ref_time(12_086_064 as u64)
|
||||
// Standard Error: 3_474
|
||||
.saturating_add(Weight::from_ref_time(2_283_457 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
@@ -187,9 +202,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(9_528_000 as u64)
|
||||
// Standard Error: 2_521
|
||||
.saturating_add(Weight::from_ref_time(2_291_780 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 9_882 nanoseconds.
|
||||
Weight::from_ref_time(14_566_711 as u64)
|
||||
// Standard Error: 3_354
|
||||
.saturating_add(Weight::from_ref_time(2_282_038 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
@@ -199,9 +215,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn delegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(46_787_000 as u64)
|
||||
// Standard Error: 2_943
|
||||
.saturating_add(Weight::from_ref_time(3_460_194 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 48_840 nanoseconds.
|
||||
Weight::from_ref_time(56_403_092 as u64)
|
||||
// Standard Error: 6_093
|
||||
.saturating_add(Weight::from_ref_time(3_344_243 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
@@ -211,9 +228,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn undelegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(29_789_000 as u64)
|
||||
// Standard Error: 2_324
|
||||
.saturating_add(Weight::from_ref_time(3_360_918 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 30_483 nanoseconds.
|
||||
Weight::from_ref_time(32_035_405 as u64)
|
||||
// Standard Error: 4_383
|
||||
.saturating_add(Weight::from_ref_time(3_347_667 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
@@ -221,7 +239,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
}
|
||||
// Storage: Democracy PublicProps (r:0 w:1)
|
||||
fn clear_public_proposals() -> Weight {
|
||||
Weight::from_ref_time(6_519_000 as u64)
|
||||
// Minimum execution time: 6_421 nanoseconds.
|
||||
Weight::from_ref_time(6_638_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
@@ -229,9 +248,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn unlock_remove(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_884_000 as u64)
|
||||
// Standard Error: 2_631
|
||||
.saturating_add(Weight::from_ref_time(163_516 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 30_291 nanoseconds.
|
||||
Weight::from_ref_time(37_071_950 as u64)
|
||||
// Standard Error: 1_619
|
||||
.saturating_add(Weight::from_ref_time(59_302 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -240,9 +260,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn unlock_set(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_498_000 as u64)
|
||||
// Standard Error: 622
|
||||
.saturating_add(Weight::from_ref_time(133_421 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 34_888 nanoseconds.
|
||||
Weight::from_ref_time(36_418_789 as u64)
|
||||
// Standard Error: 906
|
||||
.saturating_add(Weight::from_ref_time(109_602 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -250,9 +271,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 100]`.
|
||||
fn remove_vote(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_201_000 as u64)
|
||||
// Standard Error: 1_007
|
||||
.saturating_add(Weight::from_ref_time(152_699 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 18_739 nanoseconds.
|
||||
Weight::from_ref_time(21_004_077 as u64)
|
||||
// Standard Error: 1_075
|
||||
.saturating_add(Weight::from_ref_time(116_457 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -260,9 +282,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 100]`.
|
||||
fn remove_other_vote(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_455_000 as u64)
|
||||
// Standard Error: 951
|
||||
.saturating_add(Weight::from_ref_time(150_907 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 18_514 nanoseconds.
|
||||
Weight::from_ref_time(21_030_667 as u64)
|
||||
// Standard Error: 1_102
|
||||
.saturating_add(Weight::from_ref_time(118_039 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -275,13 +298,15 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy Blacklist (r:1 w:0)
|
||||
// Storage: Democracy DepositOf (r:0 w:1)
|
||||
fn propose() -> Weight {
|
||||
Weight::from_ref_time(57_410_000 as u64)
|
||||
// Minimum execution time: 56_868 nanoseconds.
|
||||
Weight::from_ref_time(57_788_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
fn second() -> Weight {
|
||||
Weight::from_ref_time(49_224_000 as u64)
|
||||
// Minimum execution time: 49_328 nanoseconds.
|
||||
Weight::from_ref_time(49_764_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -289,7 +314,8 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vote_new() -> Weight {
|
||||
Weight::from_ref_time(60_933_000 as u64)
|
||||
// Minimum execution time: 60_323 nanoseconds.
|
||||
Weight::from_ref_time(61_389_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -297,14 +323,16 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
// Storage: Balances Locks (r:1 w:1)
|
||||
fn vote_existing() -> Weight {
|
||||
Weight::from_ref_time(60_393_000 as u64)
|
||||
// Minimum execution time: 60_612 nanoseconds.
|
||||
Weight::from_ref_time(61_282_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy Cancellations (r:1 w:1)
|
||||
fn emergency_cancel() -> Weight {
|
||||
Weight::from_ref_time(24_588_000 as u64)
|
||||
// Minimum execution time: 24_780 nanoseconds.
|
||||
Weight::from_ref_time(25_194_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -315,39 +343,45 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:0 w:1)
|
||||
fn blacklist() -> Weight {
|
||||
Weight::from_ref_time(91_226_000 as u64)
|
||||
// Minimum execution time: 85_177 nanoseconds.
|
||||
Weight::from_ref_time(91_733_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(6 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:0)
|
||||
fn external_propose() -> Weight {
|
||||
Weight::from_ref_time(18_898_000 as u64)
|
||||
// Minimum execution time: 19_483 nanoseconds.
|
||||
Weight::from_ref_time(19_914_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_majority() -> Weight {
|
||||
Weight::from_ref_time(5_136_000 as u64)
|
||||
// Minimum execution time: 4_963 nanoseconds.
|
||||
Weight::from_ref_time(5_250_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:0 w:1)
|
||||
fn external_propose_default() -> Weight {
|
||||
Weight::from_ref_time(5_243_000 as u64)
|
||||
// Minimum execution time: 5_075 nanoseconds.
|
||||
Weight::from_ref_time(5_187_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy ReferendumCount (r:1 w:1)
|
||||
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
|
||||
fn fast_track() -> Weight {
|
||||
Weight::from_ref_time(24_275_000 as u64)
|
||||
// Minimum execution time: 23_956 nanoseconds.
|
||||
Weight::from_ref_time(24_814_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy NextExternal (r:1 w:1)
|
||||
// Storage: Democracy Blacklist (r:1 w:1)
|
||||
fn veto_external() -> Weight {
|
||||
Weight::from_ref_time(30_988_000 as u64)
|
||||
// Minimum execution time: 31_472 nanoseconds.
|
||||
Weight::from_ref_time(31_770_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -355,13 +389,15 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy DepositOf (r:1 w:1)
|
||||
// Storage: System Account (r:1 w:1)
|
||||
fn cancel_proposal() -> Weight {
|
||||
Weight::from_ref_time(78_515_000 as u64)
|
||||
// Minimum execution time: 73_811 nanoseconds.
|
||||
Weight::from_ref_time(78_943_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
|
||||
fn cancel_referendum() -> Weight {
|
||||
Weight::from_ref_time(16_155_000 as u64)
|
||||
// Minimum execution time: 16_074 nanoseconds.
|
||||
Weight::from_ref_time(16_409_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy LowestUnbaked (r:1 w:1)
|
||||
@@ -369,9 +405,10 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn on_initialize_base(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(7_007_000 as u64)
|
||||
// Standard Error: 2_686
|
||||
.saturating_add(Weight::from_ref_time(2_288_781 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 7_430 nanoseconds.
|
||||
Weight::from_ref_time(12_086_064 as u64)
|
||||
// Standard Error: 3_474
|
||||
.saturating_add(Weight::from_ref_time(2_283_457 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
@@ -384,9 +421,10 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(9_528_000 as u64)
|
||||
// Standard Error: 2_521
|
||||
.saturating_add(Weight::from_ref_time(2_291_780 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 9_882 nanoseconds.
|
||||
Weight::from_ref_time(14_566_711 as u64)
|
||||
// Standard Error: 3_354
|
||||
.saturating_add(Weight::from_ref_time(2_282_038 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(5 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
@@ -396,9 +434,10 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn delegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(46_787_000 as u64)
|
||||
// Standard Error: 2_943
|
||||
.saturating_add(Weight::from_ref_time(3_460_194 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 48_840 nanoseconds.
|
||||
Weight::from_ref_time(56_403_092 as u64)
|
||||
// Standard Error: 6_093
|
||||
.saturating_add(Weight::from_ref_time(3_344_243 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
@@ -408,9 +447,10 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn undelegate(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(29_789_000 as u64)
|
||||
// Standard Error: 2_324
|
||||
.saturating_add(Weight::from_ref_time(3_360_918 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 30_483 nanoseconds.
|
||||
Weight::from_ref_time(32_035_405 as u64)
|
||||
// Standard Error: 4_383
|
||||
.saturating_add(Weight::from_ref_time(3_347_667 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
@@ -418,7 +458,8 @@ impl WeightInfo for () {
|
||||
}
|
||||
// Storage: Democracy PublicProps (r:0 w:1)
|
||||
fn clear_public_proposals() -> Weight {
|
||||
Weight::from_ref_time(6_519_000 as u64)
|
||||
// Minimum execution time: 6_421 nanoseconds.
|
||||
Weight::from_ref_time(6_638_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
@@ -426,9 +467,10 @@ impl WeightInfo for () {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn unlock_remove(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(28_884_000 as u64)
|
||||
// Standard Error: 2_631
|
||||
.saturating_add(Weight::from_ref_time(163_516 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 30_291 nanoseconds.
|
||||
Weight::from_ref_time(37_071_950 as u64)
|
||||
// Standard Error: 1_619
|
||||
.saturating_add(Weight::from_ref_time(59_302 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -437,9 +479,10 @@ impl WeightInfo for () {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn unlock_set(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(33_498_000 as u64)
|
||||
// Standard Error: 622
|
||||
.saturating_add(Weight::from_ref_time(133_421 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 34_888 nanoseconds.
|
||||
Weight::from_ref_time(36_418_789 as u64)
|
||||
// Standard Error: 906
|
||||
.saturating_add(Weight::from_ref_time(109_602 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -447,9 +490,10 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 100]`.
|
||||
fn remove_vote(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_201_000 as u64)
|
||||
// Standard Error: 1_007
|
||||
.saturating_add(Weight::from_ref_time(152_699 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 18_739 nanoseconds.
|
||||
Weight::from_ref_time(21_004_077 as u64)
|
||||
// Standard Error: 1_075
|
||||
.saturating_add(Weight::from_ref_time(116_457 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -457,9 +501,10 @@ impl WeightInfo for () {
|
||||
// Storage: Democracy VotingOf (r:1 w:1)
|
||||
/// The range of component `r` is `[1, 100]`.
|
||||
fn remove_other_vote(r: u32, ) -> Weight {
|
||||
Weight::from_ref_time(18_455_000 as u64)
|
||||
// Standard Error: 951
|
||||
.saturating_add(Weight::from_ref_time(150_907 as u64).saturating_mul(r as u64))
|
||||
// Minimum execution time: 18_514 nanoseconds.
|
||||
Weight::from_ref_time(21_030_667 as u64)
|
||||
// Standard Error: 1_102
|
||||
.saturating_add(Weight::from_ref_time(118_039 as u64).saturating_mul(r as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user