mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 20:31:13 +00:00
Update all weights (#13614)
* Empty commit * ".git/.scripts/commands/bench/bench.sh" all --------- Co-authored-by: Alexander Theißen <alex.theissen@me.com> Co-authored-by: command-bot <>
This commit is contained in:
committed by
GitHub
parent
b117dbdf08
commit
3a3d93afee
@@ -18,26 +18,28 @@
|
||||
//! Autogenerated weights for pallet_democracy
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-01-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `runner-b3zmxxc-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// target/production/substrate
|
||||
// ./target/production/substrate
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_democracy
|
||||
// --no-storage-info
|
||||
// --no-median-slopes
|
||||
// --no-min-squares
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/builds/parity/mirrors/substrate/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_democracy
|
||||
// --chain=dev
|
||||
// --header=./HEADER-APACHE2
|
||||
// --output=./frame/democracy/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
@@ -92,10 +94,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen)
|
||||
fn propose() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4864`
|
||||
// Estimated: `23409`
|
||||
// Minimum execution time: 42_939 nanoseconds.
|
||||
Weight::from_parts(43_543_000, 23409)
|
||||
// Measured: `4801`
|
||||
// Estimated: `26379`
|
||||
// Minimum execution time: 39_171_000 picoseconds.
|
||||
Weight::from_parts(39_779_000, 26379)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -103,10 +105,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen)
|
||||
fn second() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3620`
|
||||
// Estimated: `5705`
|
||||
// Minimum execution time: 36_475 nanoseconds.
|
||||
Weight::from_parts(37_863_000, 5705)
|
||||
// Measured: `3556`
|
||||
// Estimated: `6695`
|
||||
// Minimum execution time: 35_694_000 picoseconds.
|
||||
Weight::from_parts(36_181_000, 6695)
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -118,10 +120,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
fn vote_new() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3565`
|
||||
// Estimated: `12720`
|
||||
// Minimum execution time: 56_372 nanoseconds.
|
||||
Weight::from_parts(57_483_000, 12720)
|
||||
// Measured: `3470`
|
||||
// Estimated: `15690`
|
||||
// Minimum execution time: 50_274_000 picoseconds.
|
||||
Weight::from_parts(51_216_000, 15690)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -133,10 +135,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
fn vote_existing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3587`
|
||||
// Estimated: `12720`
|
||||
// Minimum execution time: 56_789 nanoseconds.
|
||||
Weight::from_parts(57_737_000, 12720)
|
||||
// Measured: `3492`
|
||||
// Estimated: `15690`
|
||||
// Minimum execution time: 50_559_000 picoseconds.
|
||||
Weight::from_parts(51_030_000, 15690)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -148,10 +150,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
|
||||
fn emergency_cancel() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `398`
|
||||
// Estimated: `7712`
|
||||
// Minimum execution time: 24_379 nanoseconds.
|
||||
Weight::from_parts(25_302_000, 7712)
|
||||
// Measured: `366`
|
||||
// Estimated: `10682`
|
||||
// Minimum execution time: 27_539_000 picoseconds.
|
||||
Weight::from_parts(28_040_000, 10682)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -171,10 +173,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen)
|
||||
fn blacklist() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `6036`
|
||||
// Estimated: `36392`
|
||||
// Minimum execution time: 100_345 nanoseconds.
|
||||
Weight::from_parts(102_233_000, 36392)
|
||||
// Measured: `5910`
|
||||
// Estimated: `42332`
|
||||
// Minimum execution time: 93_053_000 picoseconds.
|
||||
Weight::from_parts(94_193_000, 42332)
|
||||
.saturating_add(T::DbWeight::get().reads(8_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7_u64))
|
||||
}
|
||||
@@ -184,10 +186,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen)
|
||||
fn external_propose() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3448`
|
||||
// Estimated: `6340`
|
||||
// Minimum execution time: 13_155 nanoseconds.
|
||||
Weight::from_parts(14_158_000, 6340)
|
||||
// Measured: `3416`
|
||||
// Estimated: `8320`
|
||||
// Minimum execution time: 14_664_000 picoseconds.
|
||||
Weight::from_parts(15_064_000, 8320)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -197,8 +199,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_961 nanoseconds.
|
||||
Weight::from_parts(3_139_000, 0)
|
||||
// Minimum execution time: 4_073_000 picoseconds.
|
||||
Weight::from_parts(4_242_000, 0)
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: Democracy NextExternal (r:0 w:1)
|
||||
@@ -207,8 +209,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 3_040 nanoseconds.
|
||||
Weight::from_parts(3_261_000, 0)
|
||||
// Minimum execution time: 3_779_000 picoseconds.
|
||||
Weight::from_parts(4_091_000, 0)
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: Democracy NextExternal (r:1 w:1)
|
||||
@@ -222,9 +224,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn fast_track() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `286`
|
||||
// Estimated: `3654`
|
||||
// Minimum execution time: 26_666 nanoseconds.
|
||||
Weight::from_parts(28_014_000, 3654)
|
||||
// Estimated: `6624`
|
||||
// Minimum execution time: 29_596_000 picoseconds.
|
||||
Weight::from_parts(30_083_000, 6624)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5_u64))
|
||||
}
|
||||
@@ -236,10 +238,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
|
||||
fn veto_external() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3551`
|
||||
// Estimated: `8868`
|
||||
// Minimum execution time: 30_180 nanoseconds.
|
||||
Weight::from_parts(31_593_000, 8868)
|
||||
// Measured: `3519`
|
||||
// Estimated: `11838`
|
||||
// Minimum execution time: 34_721_000 picoseconds.
|
||||
Weight::from_parts(34_989_000, 11838)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -253,10 +255,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
|
||||
fn cancel_proposal() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `5915`
|
||||
// Estimated: `28033`
|
||||
// Minimum execution time: 80_780 nanoseconds.
|
||||
Weight::from_parts(82_070_000, 28033)
|
||||
// Measured: `5821`
|
||||
// Estimated: `31993`
|
||||
// Minimum execution time: 74_835_000 picoseconds.
|
||||
Weight::from_parts(75_807_000, 31993)
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -267,9 +269,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn cancel_referendum() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `271`
|
||||
// Estimated: `2528`
|
||||
// Minimum execution time: 18_117 nanoseconds.
|
||||
Weight::from_parts(19_027_000, 2528)
|
||||
// Estimated: `3518`
|
||||
// Minimum execution time: 20_995_000 picoseconds.
|
||||
Weight::from_parts(21_425_000, 3518)
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -282,12 +284,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn on_initialize_base(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `244 + r * (117 ±0)`
|
||||
// Estimated: `998 + r * (2676 ±0)`
|
||||
// Minimum execution time: 7_093 nanoseconds.
|
||||
Weight::from_parts(8_792_955, 998)
|
||||
// Standard Error: 6_630
|
||||
.saturating_add(Weight::from_parts(3_091_565, 0).saturating_mul(r.into()))
|
||||
// Measured: `244 + r * (86 ±0)`
|
||||
// Estimated: `3968 + r * (2676 ±0)`
|
||||
// Minimum execution time: 7_002_000 picoseconds.
|
||||
Weight::from_parts(10_543_534, 3968)
|
||||
// Standard Error: 7_286
|
||||
.saturating_add(Weight::from_parts(2_911_122, 0).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
@@ -308,12 +310,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `244 + r * (117 ±0)`
|
||||
// Estimated: `19318 + r * (2676 ±0)`
|
||||
// Minimum execution time: 10_372 nanoseconds.
|
||||
Weight::from_parts(10_961_165, 19318)
|
||||
// Standard Error: 7_284
|
||||
.saturating_add(Weight::from_parts(3_112_573, 0).saturating_mul(r.into()))
|
||||
// Measured: `244 + r * (86 ±0)`
|
||||
// Estimated: `25258 + r * (2676 ±0)`
|
||||
// Minimum execution time: 10_824_000 picoseconds.
|
||||
Weight::from_parts(14_187_527, 25258)
|
||||
// Standard Error: 7_148
|
||||
.saturating_add(Weight::from_parts(2_886_910, 0).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5_u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
@@ -328,12 +330,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn delegate(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `958 + r * (139 ±0)`
|
||||
// Estimated: `22584 + r * (2676 ±0)`
|
||||
// Minimum execution time: 36_618 nanoseconds.
|
||||
Weight::from_parts(42_803_184, 22584)
|
||||
// Standard Error: 7_268
|
||||
.saturating_add(Weight::from_parts(4_537_902, 0).saturating_mul(r.into()))
|
||||
// Measured: `830 + r * (108 ±0)`
|
||||
// Estimated: `25554 + r * (2676 ±0)`
|
||||
// Minimum execution time: 42_940_000 picoseconds.
|
||||
Weight::from_parts(45_288_082, 25554)
|
||||
// Standard Error: 6_380
|
||||
.saturating_add(Weight::from_parts(4_219_163, 0).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
@@ -347,12 +349,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn undelegate(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `557 + r * (139 ±0)`
|
||||
// Estimated: `12540 + r * (2676 ±0)`
|
||||
// Minimum execution time: 19_758 nanoseconds.
|
||||
Weight::from_parts(21_641_793, 12540)
|
||||
// Standard Error: 6_889
|
||||
.saturating_add(Weight::from_parts(4_478_884, 0).saturating_mul(r.into()))
|
||||
// Measured: `493 + r * (108 ±0)`
|
||||
// Estimated: `14520 + r * (2676 ±0)`
|
||||
// Minimum execution time: 22_203_000 picoseconds.
|
||||
Weight::from_parts(22_307_372, 14520)
|
||||
// Standard Error: 7_095
|
||||
.saturating_add(Weight::from_parts(4_202_995, 0).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
@@ -365,8 +367,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_844 nanoseconds.
|
||||
Weight::from_parts(3_017_000, 0)
|
||||
// Minimum execution time: 4_046_000 picoseconds.
|
||||
Weight::from_parts(4_191_000, 0)
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: Democracy VotingOf (r:1 w:1)
|
||||
@@ -378,12 +380,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn unlock_remove(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `627`
|
||||
// Estimated: `12647`
|
||||
// Minimum execution time: 20_380 nanoseconds.
|
||||
Weight::from_parts(28_295_875, 12647)
|
||||
// Standard Error: 2_331
|
||||
.saturating_add(Weight::from_parts(67_348, 0).saturating_mul(r.into()))
|
||||
// Measured: `563`
|
||||
// Estimated: `15617`
|
||||
// Minimum execution time: 22_585_000 picoseconds.
|
||||
Weight::from_parts(28_461_437, 15617)
|
||||
// Standard Error: 1_636
|
||||
.saturating_add(Weight::from_parts(19_140, 0).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -396,12 +398,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn unlock_set(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `628 + r * (22 ±0)`
|
||||
// Estimated: `12647`
|
||||
// Minimum execution time: 24_475 nanoseconds.
|
||||
Weight::from_parts(27_102_576, 12647)
|
||||
// Standard Error: 1_464
|
||||
.saturating_add(Weight::from_parts(128_921, 0).saturating_mul(r.into()))
|
||||
// Measured: `564 + r * (22 ±0)`
|
||||
// Estimated: `15617`
|
||||
// Minimum execution time: 26_674_000 picoseconds.
|
||||
Weight::from_parts(27_815_260, 15617)
|
||||
// Standard Error: 490
|
||||
.saturating_add(Weight::from_parts(68_478, 0).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -412,12 +414,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `r` is `[1, 100]`.
|
||||
fn remove_vote(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `791 + r * (26 ±0)`
|
||||
// Estimated: `8946`
|
||||
// Minimum execution time: 15_039 nanoseconds.
|
||||
Weight::from_parts(19_252_498, 8946)
|
||||
// Standard Error: 1_798
|
||||
.saturating_add(Weight::from_parts(131_855, 0).saturating_mul(r.into()))
|
||||
// Measured: `728 + r * (26 ±0)`
|
||||
// Estimated: `10926`
|
||||
// Minimum execution time: 17_381_000 picoseconds.
|
||||
Weight::from_parts(19_728_665, 10926)
|
||||
// Standard Error: 1_065
|
||||
.saturating_add(Weight::from_parts(84_481, 0).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -428,12 +430,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `r` is `[1, 100]`.
|
||||
fn remove_other_vote(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `791 + r * (26 ±0)`
|
||||
// Estimated: `8946`
|
||||
// Minimum execution time: 14_837 nanoseconds.
|
||||
Weight::from_parts(19_144_929, 8946)
|
||||
// Standard Error: 1_875
|
||||
.saturating_add(Weight::from_parts(136_819, 0).saturating_mul(r.into()))
|
||||
// Measured: `728 + r * (26 ±0)`
|
||||
// Estimated: `10926`
|
||||
// Minimum execution time: 17_496_000 picoseconds.
|
||||
Weight::from_parts(19_845_941, 10926)
|
||||
// Standard Error: 1_169
|
||||
.saturating_add(Weight::from_parts(85_004, 0).saturating_mul(r.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -446,9 +448,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn set_external_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `356`
|
||||
// Estimated: `3193`
|
||||
// Minimum execution time: 17_338 nanoseconds.
|
||||
Weight::from_parts(17_946_000, 3193)
|
||||
// Estimated: `5173`
|
||||
// Minimum execution time: 19_076_000 picoseconds.
|
||||
Weight::from_parts(19_650_000, 5173)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -459,9 +461,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn clear_external_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `286`
|
||||
// Estimated: `3155`
|
||||
// Minimum execution time: 15_364 nanoseconds.
|
||||
Weight::from_parts(15_990_000, 3155)
|
||||
// Estimated: `5135`
|
||||
// Minimum execution time: 17_588_000 picoseconds.
|
||||
Weight::from_parts(17_781_000, 5135)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -473,10 +475,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
|
||||
fn set_proposal_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4919`
|
||||
// Estimated: `19763`
|
||||
// Minimum execution time: 37_147 nanoseconds.
|
||||
Weight::from_parts(37_778_000, 19763)
|
||||
// Measured: `4888`
|
||||
// Estimated: `21743`
|
||||
// Minimum execution time: 34_828_000 picoseconds.
|
||||
Weight::from_parts(35_364_000, 21743)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -486,10 +488,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
|
||||
fn clear_proposal_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4853`
|
||||
// Estimated: `19725`
|
||||
// Minimum execution time: 34_118 nanoseconds.
|
||||
Weight::from_parts(34_737_000, 19725)
|
||||
// Measured: `4822`
|
||||
// Estimated: `21705`
|
||||
// Minimum execution time: 32_035_000 picoseconds.
|
||||
Weight::from_parts(32_554_000, 21705)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -500,9 +502,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn set_referendum_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `144`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 12_787 nanoseconds.
|
||||
Weight::from_parts(13_463_000, 2566)
|
||||
// Estimated: `3556`
|
||||
// Minimum execution time: 15_279_000 picoseconds.
|
||||
Weight::from_parts(15_556_000, 3556)
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -513,9 +515,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn clear_referendum_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `302`
|
||||
// Estimated: `5204`
|
||||
// Minimum execution time: 17_636 nanoseconds.
|
||||
Weight::from_parts(18_399_000, 5204)
|
||||
// Estimated: `7184`
|
||||
// Minimum execution time: 19_622_000 picoseconds.
|
||||
Weight::from_parts(19_978_000, 7184)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -533,10 +535,10 @@ impl WeightInfo for () {
|
||||
/// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen)
|
||||
fn propose() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4864`
|
||||
// Estimated: `23409`
|
||||
// Minimum execution time: 42_939 nanoseconds.
|
||||
Weight::from_parts(43_543_000, 23409)
|
||||
// Measured: `4801`
|
||||
// Estimated: `26379`
|
||||
// Minimum execution time: 39_171_000 picoseconds.
|
||||
Weight::from_parts(39_779_000, 26379)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -544,10 +546,10 @@ impl WeightInfo for () {
|
||||
/// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen)
|
||||
fn second() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3620`
|
||||
// Estimated: `5705`
|
||||
// Minimum execution time: 36_475 nanoseconds.
|
||||
Weight::from_parts(37_863_000, 5705)
|
||||
// Measured: `3556`
|
||||
// Estimated: `6695`
|
||||
// Minimum execution time: 35_694_000 picoseconds.
|
||||
Weight::from_parts(36_181_000, 6695)
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -559,10 +561,10 @@ impl WeightInfo for () {
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
fn vote_new() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3565`
|
||||
// Estimated: `12720`
|
||||
// Minimum execution time: 56_372 nanoseconds.
|
||||
Weight::from_parts(57_483_000, 12720)
|
||||
// Measured: `3470`
|
||||
// Estimated: `15690`
|
||||
// Minimum execution time: 50_274_000 picoseconds.
|
||||
Weight::from_parts(51_216_000, 15690)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -574,10 +576,10 @@ impl WeightInfo for () {
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
fn vote_existing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3587`
|
||||
// Estimated: `12720`
|
||||
// Minimum execution time: 56_789 nanoseconds.
|
||||
Weight::from_parts(57_737_000, 12720)
|
||||
// Measured: `3492`
|
||||
// Estimated: `15690`
|
||||
// Minimum execution time: 50_559_000 picoseconds.
|
||||
Weight::from_parts(51_030_000, 15690)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -589,10 +591,10 @@ impl WeightInfo for () {
|
||||
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
|
||||
fn emergency_cancel() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `398`
|
||||
// Estimated: `7712`
|
||||
// Minimum execution time: 24_379 nanoseconds.
|
||||
Weight::from_parts(25_302_000, 7712)
|
||||
// Measured: `366`
|
||||
// Estimated: `10682`
|
||||
// Minimum execution time: 27_539_000 picoseconds.
|
||||
Weight::from_parts(28_040_000, 10682)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -612,10 +614,10 @@ impl WeightInfo for () {
|
||||
/// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen)
|
||||
fn blacklist() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `6036`
|
||||
// Estimated: `36392`
|
||||
// Minimum execution time: 100_345 nanoseconds.
|
||||
Weight::from_parts(102_233_000, 36392)
|
||||
// Measured: `5910`
|
||||
// Estimated: `42332`
|
||||
// Minimum execution time: 93_053_000 picoseconds.
|
||||
Weight::from_parts(94_193_000, 42332)
|
||||
.saturating_add(RocksDbWeight::get().reads(8_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(7_u64))
|
||||
}
|
||||
@@ -625,10 +627,10 @@ impl WeightInfo for () {
|
||||
/// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen)
|
||||
fn external_propose() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3448`
|
||||
// Estimated: `6340`
|
||||
// Minimum execution time: 13_155 nanoseconds.
|
||||
Weight::from_parts(14_158_000, 6340)
|
||||
// Measured: `3416`
|
||||
// Estimated: `8320`
|
||||
// Minimum execution time: 14_664_000 picoseconds.
|
||||
Weight::from_parts(15_064_000, 8320)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -638,8 +640,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_961 nanoseconds.
|
||||
Weight::from_parts(3_139_000, 0)
|
||||
// Minimum execution time: 4_073_000 picoseconds.
|
||||
Weight::from_parts(4_242_000, 0)
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: Democracy NextExternal (r:0 w:1)
|
||||
@@ -648,8 +650,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 3_040 nanoseconds.
|
||||
Weight::from_parts(3_261_000, 0)
|
||||
// Minimum execution time: 3_779_000 picoseconds.
|
||||
Weight::from_parts(4_091_000, 0)
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: Democracy NextExternal (r:1 w:1)
|
||||
@@ -663,9 +665,9 @@ impl WeightInfo for () {
|
||||
fn fast_track() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `286`
|
||||
// Estimated: `3654`
|
||||
// Minimum execution time: 26_666 nanoseconds.
|
||||
Weight::from_parts(28_014_000, 3654)
|
||||
// Estimated: `6624`
|
||||
// Minimum execution time: 29_596_000 picoseconds.
|
||||
Weight::from_parts(30_083_000, 6624)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(5_u64))
|
||||
}
|
||||
@@ -677,10 +679,10 @@ impl WeightInfo for () {
|
||||
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
|
||||
fn veto_external() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3551`
|
||||
// Estimated: `8868`
|
||||
// Minimum execution time: 30_180 nanoseconds.
|
||||
Weight::from_parts(31_593_000, 8868)
|
||||
// Measured: `3519`
|
||||
// Estimated: `11838`
|
||||
// Minimum execution time: 34_721_000 picoseconds.
|
||||
Weight::from_parts(34_989_000, 11838)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -694,10 +696,10 @@ impl WeightInfo for () {
|
||||
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
|
||||
fn cancel_proposal() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `5915`
|
||||
// Estimated: `28033`
|
||||
// Minimum execution time: 80_780 nanoseconds.
|
||||
Weight::from_parts(82_070_000, 28033)
|
||||
// Measured: `5821`
|
||||
// Estimated: `31993`
|
||||
// Minimum execution time: 74_835_000 picoseconds.
|
||||
Weight::from_parts(75_807_000, 31993)
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -708,9 +710,9 @@ impl WeightInfo for () {
|
||||
fn cancel_referendum() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `271`
|
||||
// Estimated: `2528`
|
||||
// Minimum execution time: 18_117 nanoseconds.
|
||||
Weight::from_parts(19_027_000, 2528)
|
||||
// Estimated: `3518`
|
||||
// Minimum execution time: 20_995_000 picoseconds.
|
||||
Weight::from_parts(21_425_000, 3518)
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -723,12 +725,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn on_initialize_base(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `244 + r * (117 ±0)`
|
||||
// Estimated: `998 + r * (2676 ±0)`
|
||||
// Minimum execution time: 7_093 nanoseconds.
|
||||
Weight::from_parts(8_792_955, 998)
|
||||
// Standard Error: 6_630
|
||||
.saturating_add(Weight::from_parts(3_091_565, 0).saturating_mul(r.into()))
|
||||
// Measured: `244 + r * (86 ±0)`
|
||||
// Estimated: `3968 + r * (2676 ±0)`
|
||||
// Minimum execution time: 7_002_000 picoseconds.
|
||||
Weight::from_parts(10_543_534, 3968)
|
||||
// Standard Error: 7_286
|
||||
.saturating_add(Weight::from_parts(2_911_122, 0).saturating_mul(r.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
@@ -749,12 +751,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `244 + r * (117 ±0)`
|
||||
// Estimated: `19318 + r * (2676 ±0)`
|
||||
// Minimum execution time: 10_372 nanoseconds.
|
||||
Weight::from_parts(10_961_165, 19318)
|
||||
// Standard Error: 7_284
|
||||
.saturating_add(Weight::from_parts(3_112_573, 0).saturating_mul(r.into()))
|
||||
// Measured: `244 + r * (86 ±0)`
|
||||
// Estimated: `25258 + r * (2676 ±0)`
|
||||
// Minimum execution time: 10_824_000 picoseconds.
|
||||
Weight::from_parts(14_187_527, 25258)
|
||||
// Standard Error: 7_148
|
||||
.saturating_add(Weight::from_parts(2_886_910, 0).saturating_mul(r.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(5_u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
@@ -769,12 +771,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn delegate(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `958 + r * (139 ±0)`
|
||||
// Estimated: `22584 + r * (2676 ±0)`
|
||||
// Minimum execution time: 36_618 nanoseconds.
|
||||
Weight::from_parts(42_803_184, 22584)
|
||||
// Standard Error: 7_268
|
||||
.saturating_add(Weight::from_parts(4_537_902, 0).saturating_mul(r.into()))
|
||||
// Measured: `830 + r * (108 ±0)`
|
||||
// Estimated: `25554 + r * (2676 ±0)`
|
||||
// Minimum execution time: 42_940_000 picoseconds.
|
||||
Weight::from_parts(45_288_082, 25554)
|
||||
// Standard Error: 6_380
|
||||
.saturating_add(Weight::from_parts(4_219_163, 0).saturating_mul(r.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
@@ -788,12 +790,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn undelegate(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `557 + r * (139 ±0)`
|
||||
// Estimated: `12540 + r * (2676 ±0)`
|
||||
// Minimum execution time: 19_758 nanoseconds.
|
||||
Weight::from_parts(21_641_793, 12540)
|
||||
// Standard Error: 6_889
|
||||
.saturating_add(Weight::from_parts(4_478_884, 0).saturating_mul(r.into()))
|
||||
// Measured: `493 + r * (108 ±0)`
|
||||
// Estimated: `14520 + r * (2676 ±0)`
|
||||
// Minimum execution time: 22_203_000 picoseconds.
|
||||
Weight::from_parts(22_307_372, 14520)
|
||||
// Standard Error: 7_095
|
||||
.saturating_add(Weight::from_parts(4_202_995, 0).saturating_mul(r.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
@@ -806,8 +808,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_844 nanoseconds.
|
||||
Weight::from_parts(3_017_000, 0)
|
||||
// Minimum execution time: 4_046_000 picoseconds.
|
||||
Weight::from_parts(4_191_000, 0)
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: Democracy VotingOf (r:1 w:1)
|
||||
@@ -819,12 +821,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn unlock_remove(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `627`
|
||||
// Estimated: `12647`
|
||||
// Minimum execution time: 20_380 nanoseconds.
|
||||
Weight::from_parts(28_295_875, 12647)
|
||||
// Standard Error: 2_331
|
||||
.saturating_add(Weight::from_parts(67_348, 0).saturating_mul(r.into()))
|
||||
// Measured: `563`
|
||||
// Estimated: `15617`
|
||||
// Minimum execution time: 22_585_000 picoseconds.
|
||||
Weight::from_parts(28_461_437, 15617)
|
||||
// Standard Error: 1_636
|
||||
.saturating_add(Weight::from_parts(19_140, 0).saturating_mul(r.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -837,12 +839,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `r` is `[0, 99]`.
|
||||
fn unlock_set(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `628 + r * (22 ±0)`
|
||||
// Estimated: `12647`
|
||||
// Minimum execution time: 24_475 nanoseconds.
|
||||
Weight::from_parts(27_102_576, 12647)
|
||||
// Standard Error: 1_464
|
||||
.saturating_add(Weight::from_parts(128_921, 0).saturating_mul(r.into()))
|
||||
// Measured: `564 + r * (22 ±0)`
|
||||
// Estimated: `15617`
|
||||
// Minimum execution time: 26_674_000 picoseconds.
|
||||
Weight::from_parts(27_815_260, 15617)
|
||||
// Standard Error: 490
|
||||
.saturating_add(Weight::from_parts(68_478, 0).saturating_mul(r.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -853,12 +855,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `r` is `[1, 100]`.
|
||||
fn remove_vote(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `791 + r * (26 ±0)`
|
||||
// Estimated: `8946`
|
||||
// Minimum execution time: 15_039 nanoseconds.
|
||||
Weight::from_parts(19_252_498, 8946)
|
||||
// Standard Error: 1_798
|
||||
.saturating_add(Weight::from_parts(131_855, 0).saturating_mul(r.into()))
|
||||
// Measured: `728 + r * (26 ±0)`
|
||||
// Estimated: `10926`
|
||||
// Minimum execution time: 17_381_000 picoseconds.
|
||||
Weight::from_parts(19_728_665, 10926)
|
||||
// Standard Error: 1_065
|
||||
.saturating_add(Weight::from_parts(84_481, 0).saturating_mul(r.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -869,12 +871,12 @@ impl WeightInfo for () {
|
||||
/// The range of component `r` is `[1, 100]`.
|
||||
fn remove_other_vote(r: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `791 + r * (26 ±0)`
|
||||
// Estimated: `8946`
|
||||
// Minimum execution time: 14_837 nanoseconds.
|
||||
Weight::from_parts(19_144_929, 8946)
|
||||
// Standard Error: 1_875
|
||||
.saturating_add(Weight::from_parts(136_819, 0).saturating_mul(r.into()))
|
||||
// Measured: `728 + r * (26 ±0)`
|
||||
// Estimated: `10926`
|
||||
// Minimum execution time: 17_496_000 picoseconds.
|
||||
Weight::from_parts(19_845_941, 10926)
|
||||
// Standard Error: 1_169
|
||||
.saturating_add(Weight::from_parts(85_004, 0).saturating_mul(r.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -887,9 +889,9 @@ impl WeightInfo for () {
|
||||
fn set_external_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `356`
|
||||
// Estimated: `3193`
|
||||
// Minimum execution time: 17_338 nanoseconds.
|
||||
Weight::from_parts(17_946_000, 3193)
|
||||
// Estimated: `5173`
|
||||
// Minimum execution time: 19_076_000 picoseconds.
|
||||
Weight::from_parts(19_650_000, 5173)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -900,9 +902,9 @@ impl WeightInfo for () {
|
||||
fn clear_external_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `286`
|
||||
// Estimated: `3155`
|
||||
// Minimum execution time: 15_364 nanoseconds.
|
||||
Weight::from_parts(15_990_000, 3155)
|
||||
// Estimated: `5135`
|
||||
// Minimum execution time: 17_588_000 picoseconds.
|
||||
Weight::from_parts(17_781_000, 5135)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -914,10 +916,10 @@ impl WeightInfo for () {
|
||||
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
|
||||
fn set_proposal_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4919`
|
||||
// Estimated: `19763`
|
||||
// Minimum execution time: 37_147 nanoseconds.
|
||||
Weight::from_parts(37_778_000, 19763)
|
||||
// Measured: `4888`
|
||||
// Estimated: `21743`
|
||||
// Minimum execution time: 34_828_000 picoseconds.
|
||||
Weight::from_parts(35_364_000, 21743)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -927,10 +929,10 @@ impl WeightInfo for () {
|
||||
/// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen)
|
||||
fn clear_proposal_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4853`
|
||||
// Estimated: `19725`
|
||||
// Minimum execution time: 34_118 nanoseconds.
|
||||
Weight::from_parts(34_737_000, 19725)
|
||||
// Measured: `4822`
|
||||
// Estimated: `21705`
|
||||
// Minimum execution time: 32_035_000 picoseconds.
|
||||
Weight::from_parts(32_554_000, 21705)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -941,9 +943,9 @@ impl WeightInfo for () {
|
||||
fn set_referendum_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `144`
|
||||
// Estimated: `2566`
|
||||
// Minimum execution time: 12_787 nanoseconds.
|
||||
Weight::from_parts(13_463_000, 2566)
|
||||
// Estimated: `3556`
|
||||
// Minimum execution time: 15_279_000 picoseconds.
|
||||
Weight::from_parts(15_556_000, 3556)
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -954,9 +956,9 @@ impl WeightInfo for () {
|
||||
fn clear_referendum_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `302`
|
||||
// Estimated: `5204`
|
||||
// Minimum execution time: 17_636 nanoseconds.
|
||||
Weight::from_parts(18_399_000, 5204)
|
||||
// Estimated: `7184`
|
||||
// Minimum execution time: 19_622_000 picoseconds.
|
||||
Weight::from_parts(19_978_000, 7184)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user