mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 12: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
+72
-75
@@ -18,9 +18,9 @@
|
||||
//! Autogenerated weights for pallet_multisig
|
||||
//!
|
||||
//! 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_multisig
|
||||
// --no-storage-info
|
||||
// --no-median-slopes
|
||||
// --no-min-squares
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
@@ -68,10 +65,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 12_096_000 picoseconds.
|
||||
Weight::from_parts(12_442_958, 0)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_parts(494, 0).saturating_mul(z.into()))
|
||||
// Minimum execution time: 12_199_000 picoseconds.
|
||||
Weight::from_parts(12_595_771, 0)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_parts(490, 0).saturating_mul(z.into()))
|
||||
}
|
||||
/// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
|
||||
@@ -81,12 +78,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `301 + s * (2 ±0)`
|
||||
// Estimated: `6811`
|
||||
// Minimum execution time: 37_609_000 picoseconds.
|
||||
Weight::from_parts(32_693_100, 6811)
|
||||
// Standard Error: 449
|
||||
.saturating_add(Weight::from_parts(56_623, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 4
|
||||
.saturating_add(Weight::from_parts(1_203, 0).saturating_mul(z.into()))
|
||||
// Minimum execution time: 42_810_000 picoseconds.
|
||||
Weight::from_parts(37_500_997, 6811)
|
||||
// Standard Error: 308
|
||||
.saturating_add(Weight::from_parts(59_961, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 3
|
||||
.saturating_add(Weight::from_parts(1_198, 0).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -98,12 +95,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `320`
|
||||
// Estimated: `6811`
|
||||
// Minimum execution time: 27_434_000 picoseconds.
|
||||
Weight::from_parts(22_659_090, 6811)
|
||||
// Standard Error: 328
|
||||
.saturating_add(Weight::from_parts(53_508, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 3
|
||||
.saturating_add(Weight::from_parts(1_213, 0).saturating_mul(z.into()))
|
||||
// Minimum execution time: 27_775_000 picoseconds.
|
||||
Weight::from_parts(22_868_524, 6811)
|
||||
// Standard Error: 273
|
||||
.saturating_add(Weight::from_parts(55_219, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_parts(1_202, 0).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -116,13 +113,13 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `426 + s * (33 ±0)`
|
||||
// Estimated: `10404`
|
||||
// Minimum execution time: 43_592_000 picoseconds.
|
||||
Weight::from_parts(36_465_266, 10404)
|
||||
// Standard Error: 1_049
|
||||
.saturating_add(Weight::from_parts(78_833, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 10
|
||||
.saturating_add(Weight::from_parts(1_238, 0).saturating_mul(z.into()))
|
||||
// Estimated: `6811`
|
||||
// Minimum execution time: 48_223_000 picoseconds.
|
||||
Weight::from_parts(39_193_453, 6811)
|
||||
// Standard Error: 2_162
|
||||
.saturating_add(Weight::from_parts(93_763, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 21
|
||||
.saturating_add(Weight::from_parts(1_372, 0).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -133,10 +130,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `301 + s * (2 ±0)`
|
||||
// Estimated: `6811`
|
||||
// Minimum execution time: 30_216_000 picoseconds.
|
||||
Weight::from_parts(31_430_373, 6811)
|
||||
// Standard Error: 967
|
||||
.saturating_add(Weight::from_parts(57_035, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 34_775_000 picoseconds.
|
||||
Weight::from_parts(35_966_626, 6811)
|
||||
// Standard Error: 464
|
||||
.saturating_add(Weight::from_parts(61_492, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -147,10 +144,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `320`
|
||||
// Estimated: `6811`
|
||||
// Minimum execution time: 19_960_000 picoseconds.
|
||||
Weight::from_parts(21_281_659, 6811)
|
||||
// Standard Error: 435
|
||||
.saturating_add(Weight::from_parts(56_445, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 19_947_000 picoseconds.
|
||||
Weight::from_parts(21_253_025, 6811)
|
||||
// Standard Error: 402
|
||||
.saturating_add(Weight::from_parts(58_491, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -161,10 +158,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `492 + s * (1 ±0)`
|
||||
// Estimated: `6811`
|
||||
// Minimum execution time: 31_219_000 picoseconds.
|
||||
Weight::from_parts(32_395_963, 6811)
|
||||
// Standard Error: 500
|
||||
.saturating_add(Weight::from_parts(56_853, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 35_023_000 picoseconds.
|
||||
Weight::from_parts(36_756_977, 6811)
|
||||
// Standard Error: 547
|
||||
.saturating_add(Weight::from_parts(62_235, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -177,10 +174,10 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 12_096_000 picoseconds.
|
||||
Weight::from_parts(12_442_958, 0)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_parts(494, 0).saturating_mul(z.into()))
|
||||
// Minimum execution time: 12_199_000 picoseconds.
|
||||
Weight::from_parts(12_595_771, 0)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_parts(490, 0).saturating_mul(z.into()))
|
||||
}
|
||||
/// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
|
||||
@@ -190,12 +187,12 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `301 + s * (2 ±0)`
|
||||
// Estimated: `6811`
|
||||
// Minimum execution time: 37_609_000 picoseconds.
|
||||
Weight::from_parts(32_693_100, 6811)
|
||||
// Standard Error: 449
|
||||
.saturating_add(Weight::from_parts(56_623, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 4
|
||||
.saturating_add(Weight::from_parts(1_203, 0).saturating_mul(z.into()))
|
||||
// Minimum execution time: 42_810_000 picoseconds.
|
||||
Weight::from_parts(37_500_997, 6811)
|
||||
// Standard Error: 308
|
||||
.saturating_add(Weight::from_parts(59_961, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 3
|
||||
.saturating_add(Weight::from_parts(1_198, 0).saturating_mul(z.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -207,12 +204,12 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `320`
|
||||
// Estimated: `6811`
|
||||
// Minimum execution time: 27_434_000 picoseconds.
|
||||
Weight::from_parts(22_659_090, 6811)
|
||||
// Standard Error: 328
|
||||
.saturating_add(Weight::from_parts(53_508, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 3
|
||||
.saturating_add(Weight::from_parts(1_213, 0).saturating_mul(z.into()))
|
||||
// Minimum execution time: 27_775_000 picoseconds.
|
||||
Weight::from_parts(22_868_524, 6811)
|
||||
// Standard Error: 273
|
||||
.saturating_add(Weight::from_parts(55_219, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_parts(1_202, 0).saturating_mul(z.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -225,13 +222,13 @@ impl WeightInfo for () {
|
||||
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `426 + s * (33 ±0)`
|
||||
// Estimated: `10404`
|
||||
// Minimum execution time: 43_592_000 picoseconds.
|
||||
Weight::from_parts(36_465_266, 10404)
|
||||
// Standard Error: 1_049
|
||||
.saturating_add(Weight::from_parts(78_833, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 10
|
||||
.saturating_add(Weight::from_parts(1_238, 0).saturating_mul(z.into()))
|
||||
// Estimated: `6811`
|
||||
// Minimum execution time: 48_223_000 picoseconds.
|
||||
Weight::from_parts(39_193_453, 6811)
|
||||
// Standard Error: 2_162
|
||||
.saturating_add(Weight::from_parts(93_763, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 21
|
||||
.saturating_add(Weight::from_parts(1_372, 0).saturating_mul(z.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -242,10 +239,10 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `301 + s * (2 ±0)`
|
||||
// Estimated: `6811`
|
||||
// Minimum execution time: 30_216_000 picoseconds.
|
||||
Weight::from_parts(31_430_373, 6811)
|
||||
// Standard Error: 967
|
||||
.saturating_add(Weight::from_parts(57_035, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 34_775_000 picoseconds.
|
||||
Weight::from_parts(35_966_626, 6811)
|
||||
// Standard Error: 464
|
||||
.saturating_add(Weight::from_parts(61_492, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -256,10 +253,10 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `320`
|
||||
// Estimated: `6811`
|
||||
// Minimum execution time: 19_960_000 picoseconds.
|
||||
Weight::from_parts(21_281_659, 6811)
|
||||
// Standard Error: 435
|
||||
.saturating_add(Weight::from_parts(56_445, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 19_947_000 picoseconds.
|
||||
Weight::from_parts(21_253_025, 6811)
|
||||
// Standard Error: 402
|
||||
.saturating_add(Weight::from_parts(58_491, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -270,10 +267,10 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `492 + s * (1 ±0)`
|
||||
// Estimated: `6811`
|
||||
// Minimum execution time: 31_219_000 picoseconds.
|
||||
Weight::from_parts(32_395_963, 6811)
|
||||
// Standard Error: 500
|
||||
.saturating_add(Weight::from_parts(56_853, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 35_023_000 picoseconds.
|
||||
Weight::from_parts(36_756_977, 6811)
|
||||
// Standard Error: 547
|
||||
.saturating_add(Weight::from_parts(62_235, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user