mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 19:27:58 +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
+34
-37
@@ -18,9 +18,9 @@
|
||||
//! Autogenerated weights for pallet_utility
|
||||
//!
|
||||
//! 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_utility
|
||||
// --no-storage-info
|
||||
// --no-median-slopes
|
||||
// --no-min-squares
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
@@ -66,44 +63,44 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 7_828_000 picoseconds.
|
||||
Weight::from_parts(13_806_712, 0)
|
||||
// Standard Error: 2_750
|
||||
.saturating_add(Weight::from_parts(4_169_287, 0).saturating_mul(c.into()))
|
||||
// Minimum execution time: 7_932_000 picoseconds.
|
||||
Weight::from_parts(24_064_040, 0)
|
||||
// Standard Error: 2_486
|
||||
.saturating_add(Weight::from_parts(4_238_449, 0).saturating_mul(c.into()))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 5_835_000 picoseconds.
|
||||
Weight::from_parts(6_305_000, 0)
|
||||
// Minimum execution time: 5_536_000 picoseconds.
|
||||
Weight::from_parts(5_963_000, 0)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 8_010_000 picoseconds.
|
||||
Weight::from_parts(10_539_696, 0)
|
||||
// Standard Error: 2_681
|
||||
.saturating_add(Weight::from_parts(4_368_716, 0).saturating_mul(c.into()))
|
||||
// Minimum execution time: 7_820_000 picoseconds.
|
||||
Weight::from_parts(18_969_535, 0)
|
||||
// Standard Error: 2_228
|
||||
.saturating_add(Weight::from_parts(4_448_073, 0).saturating_mul(c.into()))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 10_139_000 picoseconds.
|
||||
Weight::from_parts(10_679_000, 0)
|
||||
// Minimum execution time: 9_811_000 picoseconds.
|
||||
Weight::from_parts(10_162_000, 0)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn force_batch(c: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 7_960_000 picoseconds.
|
||||
Weight::from_parts(16_874_350, 0)
|
||||
// Standard Error: 3_040
|
||||
.saturating_add(Weight::from_parts(4_151_507, 0).saturating_mul(c.into()))
|
||||
// Minimum execution time: 7_829_000 picoseconds.
|
||||
Weight::from_parts(12_960_288, 0)
|
||||
// Standard Error: 2_222
|
||||
.saturating_add(Weight::from_parts(4_272_019, 0).saturating_mul(c.into()))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -114,43 +111,43 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 7_828_000 picoseconds.
|
||||
Weight::from_parts(13_806_712, 0)
|
||||
// Standard Error: 2_750
|
||||
.saturating_add(Weight::from_parts(4_169_287, 0).saturating_mul(c.into()))
|
||||
// Minimum execution time: 7_932_000 picoseconds.
|
||||
Weight::from_parts(24_064_040, 0)
|
||||
// Standard Error: 2_486
|
||||
.saturating_add(Weight::from_parts(4_238_449, 0).saturating_mul(c.into()))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 5_835_000 picoseconds.
|
||||
Weight::from_parts(6_305_000, 0)
|
||||
// Minimum execution time: 5_536_000 picoseconds.
|
||||
Weight::from_parts(5_963_000, 0)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 8_010_000 picoseconds.
|
||||
Weight::from_parts(10_539_696, 0)
|
||||
// Standard Error: 2_681
|
||||
.saturating_add(Weight::from_parts(4_368_716, 0).saturating_mul(c.into()))
|
||||
// Minimum execution time: 7_820_000 picoseconds.
|
||||
Weight::from_parts(18_969_535, 0)
|
||||
// Standard Error: 2_228
|
||||
.saturating_add(Weight::from_parts(4_448_073, 0).saturating_mul(c.into()))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 10_139_000 picoseconds.
|
||||
Weight::from_parts(10_679_000, 0)
|
||||
// Minimum execution time: 9_811_000 picoseconds.
|
||||
Weight::from_parts(10_162_000, 0)
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn force_batch(c: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 7_960_000 picoseconds.
|
||||
Weight::from_parts(16_874_350, 0)
|
||||
// Standard Error: 3_040
|
||||
.saturating_add(Weight::from_parts(4_151_507, 0).saturating_mul(c.into()))
|
||||
// Minimum execution time: 7_829_000 picoseconds.
|
||||
Weight::from_parts(12_960_288, 0)
|
||||
// Standard Error: 2_222
|
||||
.saturating_add(Weight::from_parts(4_272_019, 0).saturating_mul(c.into()))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user