mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 13:48:00 +00:00
Fixes PoV over-estimation (#13766)
* Align log Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use max instead of sum Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Make comment ordering deterministic Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Dont add Pov overhead when all is ignored Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update test pallet weights Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Re-run weights on bm2 Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix test Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Actually use new weights Fucked up the merge for this file... Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update contract weights Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
46e2d3e5f8
commit
ebfe00d590
Generated
+176
-179
@@ -18,9 +18,9 @@
|
||||
//! Autogenerated weights for pallet_referenda
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! 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:
|
||||
@@ -31,9 +31,6 @@
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_referenda
|
||||
// --no-storage-info
|
||||
// --no-median-slopes
|
||||
// --no-min-squares
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
@@ -95,9 +92,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn submit() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `220`
|
||||
// Estimated: `111976`
|
||||
// Minimum execution time: 36_851_000 picoseconds.
|
||||
Weight::from_parts(37_183_000, 111976)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 42_285_000 picoseconds.
|
||||
Weight::from_parts(42_646_000, 110487)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -108,9 +105,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn place_decision_deposit_preparing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `473`
|
||||
// Estimated: `223815`
|
||||
// Minimum execution time: 49_435_000 picoseconds.
|
||||
Weight::from_parts(50_056_000, 223815)
|
||||
// Estimated: `219984`
|
||||
// Minimum execution time: 53_455_000 picoseconds.
|
||||
Weight::from_parts(54_034_000, 219984)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -123,9 +120,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn place_decision_deposit_queued() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3107`
|
||||
// Estimated: `12787`
|
||||
// Minimum execution time: 47_061_000 picoseconds.
|
||||
Weight::from_parts(47_579_000, 12787)
|
||||
// Estimated: `5477`
|
||||
// Minimum execution time: 50_138_000 picoseconds.
|
||||
Weight::from_parts(50_449_000, 5477)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -138,9 +135,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn place_decision_deposit_not_queued() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3127`
|
||||
// Estimated: `12787`
|
||||
// Minimum execution time: 46_513_000 picoseconds.
|
||||
Weight::from_parts(47_212_000, 12787)
|
||||
// Estimated: `5477`
|
||||
// Minimum execution time: 49_707_000 picoseconds.
|
||||
Weight::from_parts(50_246_000, 5477)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -153,9 +150,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn place_decision_deposit_passing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `473`
|
||||
// Estimated: `227294`
|
||||
// Minimum execution time: 59_255_000 picoseconds.
|
||||
Weight::from_parts(60_114_000, 227294)
|
||||
// Estimated: `219984`
|
||||
// Minimum execution time: 62_880_000 picoseconds.
|
||||
Weight::from_parts(63_579_000, 219984)
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -168,9 +165,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn place_decision_deposit_failing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `473`
|
||||
// Estimated: `227294`
|
||||
// Minimum execution time: 57_927_000 picoseconds.
|
||||
Weight::from_parts(58_625_000, 227294)
|
||||
// Estimated: `219984`
|
||||
// Minimum execution time: 60_827_000 picoseconds.
|
||||
Weight::from_parts(61_392_000, 219984)
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -180,8 +177,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `351`
|
||||
// Estimated: `3831`
|
||||
// Minimum execution time: 27_186_000 picoseconds.
|
||||
Weight::from_parts(27_551_000, 3831)
|
||||
// Minimum execution time: 31_991_000 picoseconds.
|
||||
Weight::from_parts(32_474_000, 3831)
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -191,8 +188,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `341`
|
||||
// Estimated: `3831`
|
||||
// Minimum execution time: 27_339_000 picoseconds.
|
||||
Weight::from_parts(27_828_000, 3831)
|
||||
// Minimum execution time: 32_162_000 picoseconds.
|
||||
Weight::from_parts(32_776_000, 3831)
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -203,9 +200,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn cancel() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `381`
|
||||
// Estimated: `223815`
|
||||
// Minimum execution time: 37_081_000 picoseconds.
|
||||
Weight::from_parts(38_110_000, 223815)
|
||||
// Estimated: `219984`
|
||||
// Minimum execution time: 37_493_000 picoseconds.
|
||||
Weight::from_parts(37_979_000, 219984)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -218,9 +215,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn kill() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `622`
|
||||
// Estimated: `227332`
|
||||
// Minimum execution time: 70_195_000 picoseconds.
|
||||
Weight::from_parts(71_451_000, 227332)
|
||||
// Estimated: `219984`
|
||||
// Minimum execution time: 80_095_000 picoseconds.
|
||||
Weight::from_parts(80_831_000, 219984)
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -231,9 +228,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn one_fewer_deciding_queue_empty() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `174`
|
||||
// Estimated: `8956`
|
||||
// Minimum execution time: 10_748_000 picoseconds.
|
||||
Weight::from_parts(10_912_000, 8956)
|
||||
// Estimated: `5477`
|
||||
// Minimum execution time: 10_906_000 picoseconds.
|
||||
Weight::from_parts(11_055_000, 5477)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -246,9 +243,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn one_fewer_deciding_failing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4567`
|
||||
// Estimated: `229292`
|
||||
// Minimum execution time: 89_144_000 picoseconds.
|
||||
Weight::from_parts(90_552_000, 229292)
|
||||
// Estimated: `219984`
|
||||
// Minimum execution time: 90_747_000 picoseconds.
|
||||
Weight::from_parts(91_407_000, 219984)
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -261,9 +258,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn one_fewer_deciding_passing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4567`
|
||||
// Estimated: `229292`
|
||||
// Minimum execution time: 92_164_000 picoseconds.
|
||||
Weight::from_parts(92_947_000, 229292)
|
||||
// Estimated: `219984`
|
||||
// Minimum execution time: 93_615_000 picoseconds.
|
||||
Weight::from_parts(94_245_000, 219984)
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -276,9 +273,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn nudge_referendum_requeued_insertion() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4588`
|
||||
// Estimated: `119795`
|
||||
// Minimum execution time: 59_212_000 picoseconds.
|
||||
Weight::from_parts(59_843_000, 119795)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 60_945_000 picoseconds.
|
||||
Weight::from_parts(61_246_000, 110487)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -291,9 +288,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn nudge_referendum_requeued_slide() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4574`
|
||||
// Estimated: `119795`
|
||||
// Minimum execution time: 59_049_000 picoseconds.
|
||||
Weight::from_parts(59_760_000, 119795)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 60_105_000 picoseconds.
|
||||
Weight::from_parts(60_544_000, 110487)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -308,9 +305,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn nudge_referendum_queued() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4548`
|
||||
// Estimated: `123274`
|
||||
// Minimum execution time: 61_774_000 picoseconds.
|
||||
Weight::from_parts(62_480_000, 123274)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 62_251_000 picoseconds.
|
||||
Weight::from_parts(62_952_000, 110487)
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -325,9 +322,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn nudge_referendum_not_queued() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4582`
|
||||
// Estimated: `123274`
|
||||
// Minimum execution time: 61_605_000 picoseconds.
|
||||
Weight::from_parts(62_385_000, 123274)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 61_527_000 picoseconds.
|
||||
Weight::from_parts(62_082_000, 110487)
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -338,9 +335,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn nudge_referendum_no_deposit() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `333`
|
||||
// Estimated: `114318`
|
||||
// Minimum execution time: 24_423_000 picoseconds.
|
||||
Weight::from_parts(24_747_000, 114318)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 24_897_000 picoseconds.
|
||||
Weight::from_parts(25_213_000, 110487)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -351,9 +348,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn nudge_referendum_preparing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `381`
|
||||
// Estimated: `114318`
|
||||
// Minimum execution time: 24_487_000 picoseconds.
|
||||
Weight::from_parts(24_941_000, 114318)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 25_077_000 picoseconds.
|
||||
Weight::from_parts(25_385_000, 110487)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -363,8 +360,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `278`
|
||||
// Estimated: `3831`
|
||||
// Minimum execution time: 17_454_000 picoseconds.
|
||||
Weight::from_parts(17_697_000, 3831)
|
||||
// Minimum execution time: 17_930_000 picoseconds.
|
||||
Weight::from_parts(18_112_000, 3831)
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -377,9 +374,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn nudge_referendum_begin_deciding_failing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `381`
|
||||
// Estimated: `117797`
|
||||
// Minimum execution time: 34_721_000 picoseconds.
|
||||
Weight::from_parts(35_295_000, 117797)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 34_405_000 picoseconds.
|
||||
Weight::from_parts(34_698_000, 110487)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -392,9 +389,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn nudge_referendum_begin_deciding_passing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `381`
|
||||
// Estimated: `117797`
|
||||
// Minimum execution time: 36_587_000 picoseconds.
|
||||
Weight::from_parts(37_095_000, 117797)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 37_313_000 picoseconds.
|
||||
Weight::from_parts(37_807_000, 110487)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -405,9 +402,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn nudge_referendum_begin_confirming() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `434`
|
||||
// Estimated: `114318`
|
||||
// Minimum execution time: 30_003_000 picoseconds.
|
||||
Weight::from_parts(30_541_000, 114318)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 30_552_000 picoseconds.
|
||||
Weight::from_parts(30_817_000, 110487)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -418,9 +415,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn nudge_referendum_end_confirming() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `417`
|
||||
// Estimated: `114318`
|
||||
// Minimum execution time: 30_479_000 picoseconds.
|
||||
Weight::from_parts(30_900_000, 114318)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 31_100_000 picoseconds.
|
||||
Weight::from_parts(31_696_000, 110487)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -431,9 +428,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn nudge_referendum_continue_not_confirming() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `434`
|
||||
// Estimated: `114318`
|
||||
// Minimum execution time: 27_657_000 picoseconds.
|
||||
Weight::from_parts(28_054_000, 114318)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 28_777_000 picoseconds.
|
||||
Weight::from_parts(29_188_000, 110487)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -444,9 +441,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn nudge_referendum_continue_confirming() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `438`
|
||||
// Estimated: `114318`
|
||||
// Minimum execution time: 26_713_000 picoseconds.
|
||||
Weight::from_parts(27_284_000, 114318)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 26_986_000 picoseconds.
|
||||
Weight::from_parts(27_283_000, 110487)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -459,9 +456,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn nudge_referendum_approved() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `438`
|
||||
// Estimated: `227328`
|
||||
// Minimum execution time: 42_374_000 picoseconds.
|
||||
Weight::from_parts(43_142_000, 227328)
|
||||
// Estimated: `219984`
|
||||
// Minimum execution time: 43_538_000 picoseconds.
|
||||
Weight::from_parts(44_671_000, 219984)
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -472,9 +469,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn nudge_referendum_rejected() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `434`
|
||||
// Estimated: `114318`
|
||||
// Minimum execution time: 30_213_000 picoseconds.
|
||||
Weight::from_parts(30_633_000, 114318)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 30_559_000 picoseconds.
|
||||
Weight::from_parts(31_294_000, 110487)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -487,9 +484,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn set_some_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `422`
|
||||
// Estimated: `7387`
|
||||
// Minimum execution time: 20_887_000 picoseconds.
|
||||
Weight::from_parts(21_242_000, 7387)
|
||||
// Estimated: `3831`
|
||||
// Minimum execution time: 21_196_000 picoseconds.
|
||||
Weight::from_parts(21_593_000, 3831)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -500,9 +497,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn clear_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `355`
|
||||
// Estimated: `7348`
|
||||
// Minimum execution time: 18_702_000 picoseconds.
|
||||
Weight::from_parts(18_880_000, 7348)
|
||||
// Estimated: `3831`
|
||||
// Minimum execution time: 18_827_000 picoseconds.
|
||||
Weight::from_parts(19_171_000, 3831)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -519,9 +516,9 @@ impl WeightInfo for () {
|
||||
fn submit() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `220`
|
||||
// Estimated: `111976`
|
||||
// Minimum execution time: 36_851_000 picoseconds.
|
||||
Weight::from_parts(37_183_000, 111976)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 42_285_000 picoseconds.
|
||||
Weight::from_parts(42_646_000, 110487)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -532,9 +529,9 @@ impl WeightInfo for () {
|
||||
fn place_decision_deposit_preparing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `473`
|
||||
// Estimated: `223815`
|
||||
// Minimum execution time: 49_435_000 picoseconds.
|
||||
Weight::from_parts(50_056_000, 223815)
|
||||
// Estimated: `219984`
|
||||
// Minimum execution time: 53_455_000 picoseconds.
|
||||
Weight::from_parts(54_034_000, 219984)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -547,9 +544,9 @@ impl WeightInfo for () {
|
||||
fn place_decision_deposit_queued() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3107`
|
||||
// Estimated: `12787`
|
||||
// Minimum execution time: 47_061_000 picoseconds.
|
||||
Weight::from_parts(47_579_000, 12787)
|
||||
// Estimated: `5477`
|
||||
// Minimum execution time: 50_138_000 picoseconds.
|
||||
Weight::from_parts(50_449_000, 5477)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -562,9 +559,9 @@ impl WeightInfo for () {
|
||||
fn place_decision_deposit_not_queued() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3127`
|
||||
// Estimated: `12787`
|
||||
// Minimum execution time: 46_513_000 picoseconds.
|
||||
Weight::from_parts(47_212_000, 12787)
|
||||
// Estimated: `5477`
|
||||
// Minimum execution time: 49_707_000 picoseconds.
|
||||
Weight::from_parts(50_246_000, 5477)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -577,9 +574,9 @@ impl WeightInfo for () {
|
||||
fn place_decision_deposit_passing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `473`
|
||||
// Estimated: `227294`
|
||||
// Minimum execution time: 59_255_000 picoseconds.
|
||||
Weight::from_parts(60_114_000, 227294)
|
||||
// Estimated: `219984`
|
||||
// Minimum execution time: 62_880_000 picoseconds.
|
||||
Weight::from_parts(63_579_000, 219984)
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -592,9 +589,9 @@ impl WeightInfo for () {
|
||||
fn place_decision_deposit_failing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `473`
|
||||
// Estimated: `227294`
|
||||
// Minimum execution time: 57_927_000 picoseconds.
|
||||
Weight::from_parts(58_625_000, 227294)
|
||||
// Estimated: `219984`
|
||||
// Minimum execution time: 60_827_000 picoseconds.
|
||||
Weight::from_parts(61_392_000, 219984)
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -604,8 +601,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `351`
|
||||
// Estimated: `3831`
|
||||
// Minimum execution time: 27_186_000 picoseconds.
|
||||
Weight::from_parts(27_551_000, 3831)
|
||||
// Minimum execution time: 31_991_000 picoseconds.
|
||||
Weight::from_parts(32_474_000, 3831)
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -615,8 +612,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `341`
|
||||
// Estimated: `3831`
|
||||
// Minimum execution time: 27_339_000 picoseconds.
|
||||
Weight::from_parts(27_828_000, 3831)
|
||||
// Minimum execution time: 32_162_000 picoseconds.
|
||||
Weight::from_parts(32_776_000, 3831)
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -627,9 +624,9 @@ impl WeightInfo for () {
|
||||
fn cancel() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `381`
|
||||
// Estimated: `223815`
|
||||
// Minimum execution time: 37_081_000 picoseconds.
|
||||
Weight::from_parts(38_110_000, 223815)
|
||||
// Estimated: `219984`
|
||||
// Minimum execution time: 37_493_000 picoseconds.
|
||||
Weight::from_parts(37_979_000, 219984)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -642,9 +639,9 @@ impl WeightInfo for () {
|
||||
fn kill() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `622`
|
||||
// Estimated: `227332`
|
||||
// Minimum execution time: 70_195_000 picoseconds.
|
||||
Weight::from_parts(71_451_000, 227332)
|
||||
// Estimated: `219984`
|
||||
// Minimum execution time: 80_095_000 picoseconds.
|
||||
Weight::from_parts(80_831_000, 219984)
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -655,9 +652,9 @@ impl WeightInfo for () {
|
||||
fn one_fewer_deciding_queue_empty() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `174`
|
||||
// Estimated: `8956`
|
||||
// Minimum execution time: 10_748_000 picoseconds.
|
||||
Weight::from_parts(10_912_000, 8956)
|
||||
// Estimated: `5477`
|
||||
// Minimum execution time: 10_906_000 picoseconds.
|
||||
Weight::from_parts(11_055_000, 5477)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -670,9 +667,9 @@ impl WeightInfo for () {
|
||||
fn one_fewer_deciding_failing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4567`
|
||||
// Estimated: `229292`
|
||||
// Minimum execution time: 89_144_000 picoseconds.
|
||||
Weight::from_parts(90_552_000, 229292)
|
||||
// Estimated: `219984`
|
||||
// Minimum execution time: 90_747_000 picoseconds.
|
||||
Weight::from_parts(91_407_000, 219984)
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -685,9 +682,9 @@ impl WeightInfo for () {
|
||||
fn one_fewer_deciding_passing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4567`
|
||||
// Estimated: `229292`
|
||||
// Minimum execution time: 92_164_000 picoseconds.
|
||||
Weight::from_parts(92_947_000, 229292)
|
||||
// Estimated: `219984`
|
||||
// Minimum execution time: 93_615_000 picoseconds.
|
||||
Weight::from_parts(94_245_000, 219984)
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -700,9 +697,9 @@ impl WeightInfo for () {
|
||||
fn nudge_referendum_requeued_insertion() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4588`
|
||||
// Estimated: `119795`
|
||||
// Minimum execution time: 59_212_000 picoseconds.
|
||||
Weight::from_parts(59_843_000, 119795)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 60_945_000 picoseconds.
|
||||
Weight::from_parts(61_246_000, 110487)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -715,9 +712,9 @@ impl WeightInfo for () {
|
||||
fn nudge_referendum_requeued_slide() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4574`
|
||||
// Estimated: `119795`
|
||||
// Minimum execution time: 59_049_000 picoseconds.
|
||||
Weight::from_parts(59_760_000, 119795)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 60_105_000 picoseconds.
|
||||
Weight::from_parts(60_544_000, 110487)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -732,9 +729,9 @@ impl WeightInfo for () {
|
||||
fn nudge_referendum_queued() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4548`
|
||||
// Estimated: `123274`
|
||||
// Minimum execution time: 61_774_000 picoseconds.
|
||||
Weight::from_parts(62_480_000, 123274)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 62_251_000 picoseconds.
|
||||
Weight::from_parts(62_952_000, 110487)
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -749,9 +746,9 @@ impl WeightInfo for () {
|
||||
fn nudge_referendum_not_queued() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `4582`
|
||||
// Estimated: `123274`
|
||||
// Minimum execution time: 61_605_000 picoseconds.
|
||||
Weight::from_parts(62_385_000, 123274)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 61_527_000 picoseconds.
|
||||
Weight::from_parts(62_082_000, 110487)
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -762,9 +759,9 @@ impl WeightInfo for () {
|
||||
fn nudge_referendum_no_deposit() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `333`
|
||||
// Estimated: `114318`
|
||||
// Minimum execution time: 24_423_000 picoseconds.
|
||||
Weight::from_parts(24_747_000, 114318)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 24_897_000 picoseconds.
|
||||
Weight::from_parts(25_213_000, 110487)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -775,9 +772,9 @@ impl WeightInfo for () {
|
||||
fn nudge_referendum_preparing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `381`
|
||||
// Estimated: `114318`
|
||||
// Minimum execution time: 24_487_000 picoseconds.
|
||||
Weight::from_parts(24_941_000, 114318)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 25_077_000 picoseconds.
|
||||
Weight::from_parts(25_385_000, 110487)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -787,8 +784,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `278`
|
||||
// Estimated: `3831`
|
||||
// Minimum execution time: 17_454_000 picoseconds.
|
||||
Weight::from_parts(17_697_000, 3831)
|
||||
// Minimum execution time: 17_930_000 picoseconds.
|
||||
Weight::from_parts(18_112_000, 3831)
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -801,9 +798,9 @@ impl WeightInfo for () {
|
||||
fn nudge_referendum_begin_deciding_failing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `381`
|
||||
// Estimated: `117797`
|
||||
// Minimum execution time: 34_721_000 picoseconds.
|
||||
Weight::from_parts(35_295_000, 117797)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 34_405_000 picoseconds.
|
||||
Weight::from_parts(34_698_000, 110487)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -816,9 +813,9 @@ impl WeightInfo for () {
|
||||
fn nudge_referendum_begin_deciding_passing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `381`
|
||||
// Estimated: `117797`
|
||||
// Minimum execution time: 36_587_000 picoseconds.
|
||||
Weight::from_parts(37_095_000, 117797)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 37_313_000 picoseconds.
|
||||
Weight::from_parts(37_807_000, 110487)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -829,9 +826,9 @@ impl WeightInfo for () {
|
||||
fn nudge_referendum_begin_confirming() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `434`
|
||||
// Estimated: `114318`
|
||||
// Minimum execution time: 30_003_000 picoseconds.
|
||||
Weight::from_parts(30_541_000, 114318)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 30_552_000 picoseconds.
|
||||
Weight::from_parts(30_817_000, 110487)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -842,9 +839,9 @@ impl WeightInfo for () {
|
||||
fn nudge_referendum_end_confirming() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `417`
|
||||
// Estimated: `114318`
|
||||
// Minimum execution time: 30_479_000 picoseconds.
|
||||
Weight::from_parts(30_900_000, 114318)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 31_100_000 picoseconds.
|
||||
Weight::from_parts(31_696_000, 110487)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -855,9 +852,9 @@ impl WeightInfo for () {
|
||||
fn nudge_referendum_continue_not_confirming() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `434`
|
||||
// Estimated: `114318`
|
||||
// Minimum execution time: 27_657_000 picoseconds.
|
||||
Weight::from_parts(28_054_000, 114318)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 28_777_000 picoseconds.
|
||||
Weight::from_parts(29_188_000, 110487)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -868,9 +865,9 @@ impl WeightInfo for () {
|
||||
fn nudge_referendum_continue_confirming() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `438`
|
||||
// Estimated: `114318`
|
||||
// Minimum execution time: 26_713_000 picoseconds.
|
||||
Weight::from_parts(27_284_000, 114318)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 26_986_000 picoseconds.
|
||||
Weight::from_parts(27_283_000, 110487)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -883,9 +880,9 @@ impl WeightInfo for () {
|
||||
fn nudge_referendum_approved() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `438`
|
||||
// Estimated: `227328`
|
||||
// Minimum execution time: 42_374_000 picoseconds.
|
||||
Weight::from_parts(43_142_000, 227328)
|
||||
// Estimated: `219984`
|
||||
// Minimum execution time: 43_538_000 picoseconds.
|
||||
Weight::from_parts(44_671_000, 219984)
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -896,9 +893,9 @@ impl WeightInfo for () {
|
||||
fn nudge_referendum_rejected() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `434`
|
||||
// Estimated: `114318`
|
||||
// Minimum execution time: 30_213_000 picoseconds.
|
||||
Weight::from_parts(30_633_000, 114318)
|
||||
// Estimated: `110487`
|
||||
// Minimum execution time: 30_559_000 picoseconds.
|
||||
Weight::from_parts(31_294_000, 110487)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -911,9 +908,9 @@ impl WeightInfo for () {
|
||||
fn set_some_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `422`
|
||||
// Estimated: `7387`
|
||||
// Minimum execution time: 20_887_000 picoseconds.
|
||||
Weight::from_parts(21_242_000, 7387)
|
||||
// Estimated: `3831`
|
||||
// Minimum execution time: 21_196_000 picoseconds.
|
||||
Weight::from_parts(21_593_000, 3831)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -924,9 +921,9 @@ impl WeightInfo for () {
|
||||
fn clear_metadata() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `355`
|
||||
// Estimated: `7348`
|
||||
// Minimum execution time: 18_702_000 picoseconds.
|
||||
Weight::from_parts(18_880_000, 7348)
|
||||
// Estimated: `3831`
|
||||
// Minimum execution time: 18_827_000 picoseconds.
|
||||
Weight::from_parts(19_171_000, 3831)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user