mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 14:27:57 +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
+30
-33
@@ -18,9 +18,9 @@
|
||||
//! Autogenerated weights for frame_benchmarking
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-03-15, 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=frame_benchmarking
|
||||
// --no-storage-info
|
||||
// --no-median-slopes
|
||||
// --no-min-squares
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
@@ -67,49 +64,49 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 205_000 picoseconds.
|
||||
Weight::from_parts(263_483, 0)
|
||||
// Minimum execution time: 173_000 picoseconds.
|
||||
Weight::from_parts(205_895, 0)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn subtraction(_i: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 186_000 picoseconds.
|
||||
Weight::from_parts(257_588, 0)
|
||||
// Minimum execution time: 180_000 picoseconds.
|
||||
Weight::from_parts(206_967, 0)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn multiplication(_i: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 192_000 picoseconds.
|
||||
Weight::from_parts(264_271, 0)
|
||||
// Minimum execution time: 174_000 picoseconds.
|
||||
Weight::from_parts(214_304, 0)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn division(_i: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 191_000 picoseconds.
|
||||
Weight::from_parts(250_785, 0)
|
||||
// Minimum execution time: 173_000 picoseconds.
|
||||
Weight::from_parts(207_804, 0)
|
||||
}
|
||||
fn hashing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 21_405_207_000 picoseconds.
|
||||
Weight::from_parts(21_534_243_000, 0)
|
||||
// Minimum execution time: 21_173_551_000 picoseconds.
|
||||
Weight::from_parts(21_256_886_000, 0)
|
||||
}
|
||||
/// The range of component `i` is `[0, 100]`.
|
||||
fn sr25519_verification(i: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 255_000 picoseconds.
|
||||
Weight::from_parts(271_000, 0)
|
||||
// Standard Error: 12_788
|
||||
.saturating_add(Weight::from_parts(47_469_387, 0).saturating_mul(i.into()))
|
||||
// Minimum execution time: 208_000 picoseconds.
|
||||
Weight::from_parts(1_227_077, 0)
|
||||
// Standard Error: 9_390
|
||||
.saturating_add(Weight::from_parts(47_152_841, 0).saturating_mul(i.into()))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -120,48 +117,48 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 205_000 picoseconds.
|
||||
Weight::from_parts(263_483, 0)
|
||||
// Minimum execution time: 173_000 picoseconds.
|
||||
Weight::from_parts(205_895, 0)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn subtraction(_i: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 186_000 picoseconds.
|
||||
Weight::from_parts(257_588, 0)
|
||||
// Minimum execution time: 180_000 picoseconds.
|
||||
Weight::from_parts(206_967, 0)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn multiplication(_i: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 192_000 picoseconds.
|
||||
Weight::from_parts(264_271, 0)
|
||||
// Minimum execution time: 174_000 picoseconds.
|
||||
Weight::from_parts(214_304, 0)
|
||||
}
|
||||
/// The range of component `i` is `[0, 1000000]`.
|
||||
fn division(_i: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 191_000 picoseconds.
|
||||
Weight::from_parts(250_785, 0)
|
||||
// Minimum execution time: 173_000 picoseconds.
|
||||
Weight::from_parts(207_804, 0)
|
||||
}
|
||||
fn hashing() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 21_405_207_000 picoseconds.
|
||||
Weight::from_parts(21_534_243_000, 0)
|
||||
// Minimum execution time: 21_173_551_000 picoseconds.
|
||||
Weight::from_parts(21_256_886_000, 0)
|
||||
}
|
||||
/// The range of component `i` is `[0, 100]`.
|
||||
fn sr25519_verification(i: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 255_000 picoseconds.
|
||||
Weight::from_parts(271_000, 0)
|
||||
// Standard Error: 12_788
|
||||
.saturating_add(Weight::from_parts(47_469_387, 0).saturating_mul(i.into()))
|
||||
// Minimum execution time: 208_000 picoseconds.
|
||||
Weight::from_parts(1_227_077, 0)
|
||||
// Standard Error: 9_390
|
||||
.saturating_add(Weight::from_parts(47_152_841, 0).saturating_mul(i.into()))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user