mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 17:01:09 +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
+174
-177
@@ -18,9 +18,9 @@
|
||||
//! Autogenerated weights for pallet_nis
|
||||
//!
|
||||
//! 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_nis
|
||||
// --no-storage-info
|
||||
// --no-median-slopes
|
||||
// --no-min-squares
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
@@ -55,10 +52,10 @@ pub trait WeightInfo {
|
||||
fn place_bid_max() -> Weight;
|
||||
fn retract_bid(l: u32, ) -> Weight;
|
||||
fn fund_deficit() -> Weight;
|
||||
fn communify() -> Weight;
|
||||
fn privatize() -> Weight;
|
||||
fn thaw_private() -> Weight;
|
||||
fn thaw_communal() -> Weight;
|
||||
fn privatize() -> Weight;
|
||||
fn communify() -> Weight;
|
||||
fn process_queues() -> Weight;
|
||||
fn process_queue() -> Weight;
|
||||
fn process_bid() -> Weight;
|
||||
@@ -69,52 +66,52 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Storage: Nis Queues (r:1 w:1)
|
||||
/// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Reserves (r:1 w:1)
|
||||
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Holds (r:1 w:1)
|
||||
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
|
||||
/// Storage: Nis QueueTotals (r:1 w:1)
|
||||
/// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(6002), added: 6497, mode: MaxEncodedLen)
|
||||
/// The range of component `l` is `[0, 999]`.
|
||||
fn place_bid(l: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `6182 + l * (48 ±0)`
|
||||
// Estimated: `63688`
|
||||
// Minimum execution time: 31_160_000 picoseconds.
|
||||
Weight::from_parts(39_023_414, 63688)
|
||||
// Standard Error: 214
|
||||
.saturating_add(Weight::from_parts(46_106, 0).saturating_mul(l.into()))
|
||||
// Measured: `6175 + l * (48 ±0)`
|
||||
// Estimated: `51487`
|
||||
// Minimum execution time: 49_132_000 picoseconds.
|
||||
Weight::from_parts(55_373_619, 51487)
|
||||
// Standard Error: 198
|
||||
.saturating_add(Weight::from_parts(44_421, 0).saturating_mul(l.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
/// Storage: Nis Queues (r:1 w:1)
|
||||
/// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Reserves (r:1 w:1)
|
||||
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Holds (r:1 w:1)
|
||||
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
|
||||
/// Storage: Nis QueueTotals (r:1 w:1)
|
||||
/// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(6002), added: 6497, mode: MaxEncodedLen)
|
||||
fn place_bid_max() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `54184`
|
||||
// Estimated: `63688`
|
||||
// Minimum execution time: 85_703_000 picoseconds.
|
||||
Weight::from_parts(86_613_000, 63688)
|
||||
// Measured: `54177`
|
||||
// Estimated: `51487`
|
||||
// Minimum execution time: 111_471_000 picoseconds.
|
||||
Weight::from_parts(112_287_000, 51487)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
/// Storage: Nis Queues (r:1 w:1)
|
||||
/// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Holds (r:1 w:1)
|
||||
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
|
||||
/// Storage: Nis QueueTotals (r:1 w:1)
|
||||
/// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(6002), added: 6497, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Reserves (r:1 w:1)
|
||||
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
|
||||
/// The range of component `l` is `[1, 1000]`.
|
||||
fn retract_bid(l: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `6182 + l * (48 ±0)`
|
||||
// Estimated: `63688`
|
||||
// Minimum execution time: 37_637_000 picoseconds.
|
||||
Weight::from_parts(39_977_788, 63688)
|
||||
// Standard Error: 152
|
||||
.saturating_add(Weight::from_parts(34_595, 0).saturating_mul(l.into()))
|
||||
// Measured: `6175 + l * (48 ±0)`
|
||||
// Estimated: `51487`
|
||||
// Minimum execution time: 51_134_000 picoseconds.
|
||||
Weight::from_parts(52_353_883, 51487)
|
||||
// Standard Error: 161
|
||||
.saturating_add(Weight::from_parts(62_171, 0).saturating_mul(l.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -125,28 +122,70 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn fund_deficit() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `191`
|
||||
// Estimated: `5118`
|
||||
// Minimum execution time: 35_807_000 picoseconds.
|
||||
Weight::from_parts(36_329_000, 5118)
|
||||
// Estimated: `3593`
|
||||
// Minimum execution time: 41_421_000 picoseconds.
|
||||
Weight::from_parts(41_762_000, 3593)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: Nis Receipts (r:1 w:1)
|
||||
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Holds (r:1 w:1)
|
||||
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: Nis Summary (r:1 w:1)
|
||||
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:0)
|
||||
/// Storage: Assets Asset (r:1 w:1)
|
||||
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
|
||||
/// Storage: Assets Account (r:1 w:1)
|
||||
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
|
||||
fn communify() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `667`
|
||||
// Estimated: `3675`
|
||||
// Minimum execution time: 74_179_000 picoseconds.
|
||||
Weight::from_parts(74_795_000, 3675)
|
||||
.saturating_add(T::DbWeight::get().reads(6_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6_u64))
|
||||
}
|
||||
/// Storage: Nis Receipts (r:1 w:1)
|
||||
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
|
||||
/// Storage: Nis Summary (r:1 w:1)
|
||||
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Reserves (r:1 w:1)
|
||||
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
|
||||
/// Storage: Assets Asset (r:1 w:1)
|
||||
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
|
||||
/// Storage: Assets Account (r:1 w:1)
|
||||
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Holds (r:1 w:1)
|
||||
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
|
||||
fn privatize() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `828`
|
||||
// Estimated: `3675`
|
||||
// Minimum execution time: 85_252_000 picoseconds.
|
||||
Weight::from_parts(85_949_000, 3675)
|
||||
.saturating_add(T::DbWeight::get().reads(6_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6_u64))
|
||||
}
|
||||
/// Storage: Nis Receipts (r:1 w:1)
|
||||
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
|
||||
/// Storage: Nis Summary (r:1 w:1)
|
||||
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Holds (r:1 w:1)
|
||||
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
|
||||
fn thaw_private() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `360`
|
||||
// Estimated: `13378`
|
||||
// Minimum execution time: 51_342_000 picoseconds.
|
||||
Weight::from_parts(51_976_000, 13378)
|
||||
// Measured: `456`
|
||||
// Estimated: `3593`
|
||||
// Minimum execution time: 82_100_000 picoseconds.
|
||||
Weight::from_parts(82_563_000, 3593)
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
}
|
||||
/// Storage: Nis Receipts (r:1 w:1)
|
||||
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
|
||||
@@ -161,54 +200,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn thaw_communal() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `773`
|
||||
// Estimated: `15906`
|
||||
// Minimum execution time: 76_535_000 picoseconds.
|
||||
Weight::from_parts(78_073_000, 15906)
|
||||
// Estimated: `3675`
|
||||
// Minimum execution time: 86_498_000 picoseconds.
|
||||
Weight::from_parts(87_175_000, 3675)
|
||||
.saturating_add(T::DbWeight::get().reads(5_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5_u64))
|
||||
}
|
||||
/// Storage: Nis Receipts (r:1 w:1)
|
||||
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
|
||||
/// Storage: Nis Summary (r:1 w:1)
|
||||
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: Assets Asset (r:1 w:1)
|
||||
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
|
||||
/// Storage: Assets Account (r:1 w:1)
|
||||
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Reserves (r:1 w:1)
|
||||
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
|
||||
fn privatize() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `835`
|
||||
// Estimated: `20620`
|
||||
// Minimum execution time: 84_680_000 picoseconds.
|
||||
Weight::from_parts(85_661_000, 20620)
|
||||
.saturating_add(T::DbWeight::get().reads(6_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6_u64))
|
||||
}
|
||||
/// Storage: Nis Receipts (r:1 w:1)
|
||||
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Reserves (r:1 w:1)
|
||||
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: Nis Summary (r:1 w:1)
|
||||
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
|
||||
/// Storage: Assets Asset (r:1 w:1)
|
||||
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
|
||||
/// Storage: Assets Account (r:1 w:1)
|
||||
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
|
||||
fn communify() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `674`
|
||||
// Estimated: `20620`
|
||||
// Minimum execution time: 72_828_000 picoseconds.
|
||||
Weight::from_parts(73_553_000, 20620)
|
||||
.saturating_add(T::DbWeight::get().reads(6_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6_u64))
|
||||
}
|
||||
/// Storage: Nis Summary (r:1 w:1)
|
||||
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:0)
|
||||
@@ -218,9 +215,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn process_queues() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `6624`
|
||||
// Estimated: `12605`
|
||||
// Minimum execution time: 23_311_000 picoseconds.
|
||||
Weight::from_parts(23_855_000, 12605)
|
||||
// Estimated: `7487`
|
||||
// Minimum execution time: 22_507_000 picoseconds.
|
||||
Weight::from_parts(22_788_000, 7487)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -230,8 +227,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `42`
|
||||
// Estimated: `51487`
|
||||
// Minimum execution time: 4_485_000 picoseconds.
|
||||
Weight::from_parts(4_717_000, 51487)
|
||||
// Minimum execution time: 4_692_000 picoseconds.
|
||||
Weight::from_parts(4_862_000, 51487)
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -241,8 +238,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 7_837_000 picoseconds.
|
||||
Weight::from_parts(12_913_000, 0)
|
||||
// Minimum execution time: 8_031_000 picoseconds.
|
||||
Weight::from_parts(8_183_000, 0)
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
}
|
||||
@@ -251,52 +248,52 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
impl WeightInfo for () {
|
||||
/// Storage: Nis Queues (r:1 w:1)
|
||||
/// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Reserves (r:1 w:1)
|
||||
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Holds (r:1 w:1)
|
||||
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
|
||||
/// Storage: Nis QueueTotals (r:1 w:1)
|
||||
/// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(6002), added: 6497, mode: MaxEncodedLen)
|
||||
/// The range of component `l` is `[0, 999]`.
|
||||
fn place_bid(l: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `6182 + l * (48 ±0)`
|
||||
// Estimated: `63688`
|
||||
// Minimum execution time: 31_160_000 picoseconds.
|
||||
Weight::from_parts(39_023_414, 63688)
|
||||
// Standard Error: 214
|
||||
.saturating_add(Weight::from_parts(46_106, 0).saturating_mul(l.into()))
|
||||
// Measured: `6175 + l * (48 ±0)`
|
||||
// Estimated: `51487`
|
||||
// Minimum execution time: 49_132_000 picoseconds.
|
||||
Weight::from_parts(55_373_619, 51487)
|
||||
// Standard Error: 198
|
||||
.saturating_add(Weight::from_parts(44_421, 0).saturating_mul(l.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
/// Storage: Nis Queues (r:1 w:1)
|
||||
/// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Reserves (r:1 w:1)
|
||||
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Holds (r:1 w:1)
|
||||
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
|
||||
/// Storage: Nis QueueTotals (r:1 w:1)
|
||||
/// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(6002), added: 6497, mode: MaxEncodedLen)
|
||||
fn place_bid_max() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `54184`
|
||||
// Estimated: `63688`
|
||||
// Minimum execution time: 85_703_000 picoseconds.
|
||||
Weight::from_parts(86_613_000, 63688)
|
||||
// Measured: `54177`
|
||||
// Estimated: `51487`
|
||||
// Minimum execution time: 111_471_000 picoseconds.
|
||||
Weight::from_parts(112_287_000, 51487)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
/// Storage: Nis Queues (r:1 w:1)
|
||||
/// Proof: Nis Queues (max_values: None, max_size: Some(48022), added: 50497, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Holds (r:1 w:1)
|
||||
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
|
||||
/// Storage: Nis QueueTotals (r:1 w:1)
|
||||
/// Proof: Nis QueueTotals (max_values: Some(1), max_size: Some(6002), added: 6497, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Reserves (r:1 w:1)
|
||||
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
|
||||
/// The range of component `l` is `[1, 1000]`.
|
||||
fn retract_bid(l: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `6182 + l * (48 ±0)`
|
||||
// Estimated: `63688`
|
||||
// Minimum execution time: 37_637_000 picoseconds.
|
||||
Weight::from_parts(39_977_788, 63688)
|
||||
// Standard Error: 152
|
||||
.saturating_add(Weight::from_parts(34_595, 0).saturating_mul(l.into()))
|
||||
// Measured: `6175 + l * (48 ±0)`
|
||||
// Estimated: `51487`
|
||||
// Minimum execution time: 51_134_000 picoseconds.
|
||||
Weight::from_parts(52_353_883, 51487)
|
||||
// Standard Error: 161
|
||||
.saturating_add(Weight::from_parts(62_171, 0).saturating_mul(l.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -307,28 +304,70 @@ impl WeightInfo for () {
|
||||
fn fund_deficit() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `191`
|
||||
// Estimated: `5118`
|
||||
// Minimum execution time: 35_807_000 picoseconds.
|
||||
Weight::from_parts(36_329_000, 5118)
|
||||
// Estimated: `3593`
|
||||
// Minimum execution time: 41_421_000 picoseconds.
|
||||
Weight::from_parts(41_762_000, 3593)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: Nis Receipts (r:1 w:1)
|
||||
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Holds (r:1 w:1)
|
||||
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: Nis Summary (r:1 w:1)
|
||||
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:0)
|
||||
/// Storage: Assets Asset (r:1 w:1)
|
||||
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
|
||||
/// Storage: Assets Account (r:1 w:1)
|
||||
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
|
||||
fn communify() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `667`
|
||||
// Estimated: `3675`
|
||||
// Minimum execution time: 74_179_000 picoseconds.
|
||||
Weight::from_parts(74_795_000, 3675)
|
||||
.saturating_add(RocksDbWeight::get().reads(6_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(6_u64))
|
||||
}
|
||||
/// Storage: Nis Receipts (r:1 w:1)
|
||||
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
|
||||
/// Storage: Nis Summary (r:1 w:1)
|
||||
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Reserves (r:1 w:1)
|
||||
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
|
||||
/// Storage: Assets Asset (r:1 w:1)
|
||||
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
|
||||
/// Storage: Assets Account (r:1 w:1)
|
||||
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Holds (r:1 w:1)
|
||||
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
|
||||
fn privatize() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `828`
|
||||
// Estimated: `3675`
|
||||
// Minimum execution time: 85_252_000 picoseconds.
|
||||
Weight::from_parts(85_949_000, 3675)
|
||||
.saturating_add(RocksDbWeight::get().reads(6_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(6_u64))
|
||||
}
|
||||
/// Storage: Nis Receipts (r:1 w:1)
|
||||
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
|
||||
/// Storage: Nis Summary (r:1 w:1)
|
||||
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Holds (r:1 w:1)
|
||||
/// Proof: Balances Holds (max_values: None, max_size: Some(66), added: 2541, mode: MaxEncodedLen)
|
||||
fn thaw_private() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `360`
|
||||
// Estimated: `13378`
|
||||
// Minimum execution time: 51_342_000 picoseconds.
|
||||
Weight::from_parts(51_976_000, 13378)
|
||||
// Measured: `456`
|
||||
// Estimated: `3593`
|
||||
// Minimum execution time: 82_100_000 picoseconds.
|
||||
Weight::from_parts(82_563_000, 3593)
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
}
|
||||
/// Storage: Nis Receipts (r:1 w:1)
|
||||
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
|
||||
@@ -343,54 +382,12 @@ impl WeightInfo for () {
|
||||
fn thaw_communal() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `773`
|
||||
// Estimated: `15906`
|
||||
// Minimum execution time: 76_535_000 picoseconds.
|
||||
Weight::from_parts(78_073_000, 15906)
|
||||
// Estimated: `3675`
|
||||
// Minimum execution time: 86_498_000 picoseconds.
|
||||
Weight::from_parts(87_175_000, 3675)
|
||||
.saturating_add(RocksDbWeight::get().reads(5_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(5_u64))
|
||||
}
|
||||
/// Storage: Nis Receipts (r:1 w:1)
|
||||
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
|
||||
/// Storage: Nis Summary (r:1 w:1)
|
||||
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: Assets Asset (r:1 w:1)
|
||||
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
|
||||
/// Storage: Assets Account (r:1 w:1)
|
||||
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Reserves (r:1 w:1)
|
||||
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
|
||||
fn privatize() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `835`
|
||||
// Estimated: `20620`
|
||||
// Minimum execution time: 84_680_000 picoseconds.
|
||||
Weight::from_parts(85_661_000, 20620)
|
||||
.saturating_add(RocksDbWeight::get().reads(6_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(6_u64))
|
||||
}
|
||||
/// Storage: Nis Receipts (r:1 w:1)
|
||||
/// Proof: Nis Receipts (max_values: None, max_size: Some(81), added: 2556, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Reserves (r:1 w:1)
|
||||
/// Proof: Balances Reserves (max_values: None, max_size: Some(1249), added: 3724, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: Nis Summary (r:1 w:1)
|
||||
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
|
||||
/// Storage: Assets Asset (r:1 w:1)
|
||||
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
|
||||
/// Storage: Assets Account (r:1 w:1)
|
||||
/// Proof: Assets Account (max_values: None, max_size: Some(102), added: 2577, mode: MaxEncodedLen)
|
||||
fn communify() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `674`
|
||||
// Estimated: `20620`
|
||||
// Minimum execution time: 72_828_000 picoseconds.
|
||||
Weight::from_parts(73_553_000, 20620)
|
||||
.saturating_add(RocksDbWeight::get().reads(6_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(6_u64))
|
||||
}
|
||||
/// Storage: Nis Summary (r:1 w:1)
|
||||
/// Proof: Nis Summary (max_values: Some(1), max_size: Some(40), added: 535, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:0)
|
||||
@@ -400,9 +397,9 @@ impl WeightInfo for () {
|
||||
fn process_queues() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `6624`
|
||||
// Estimated: `12605`
|
||||
// Minimum execution time: 23_311_000 picoseconds.
|
||||
Weight::from_parts(23_855_000, 12605)
|
||||
// Estimated: `7487`
|
||||
// Minimum execution time: 22_507_000 picoseconds.
|
||||
Weight::from_parts(22_788_000, 7487)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -412,8 +409,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `42`
|
||||
// Estimated: `51487`
|
||||
// Minimum execution time: 4_485_000 picoseconds.
|
||||
Weight::from_parts(4_717_000, 51487)
|
||||
// Minimum execution time: 4_692_000 picoseconds.
|
||||
Weight::from_parts(4_862_000, 51487)
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -423,8 +420,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 7_837_000 picoseconds.
|
||||
Weight::from_parts(12_913_000, 0)
|
||||
// Minimum execution time: 8_031_000 picoseconds.
|
||||
Weight::from_parts(8_183_000, 0)
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user