mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 06:17:56 +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
+22
-25
@@ -18,9 +18,9 @@
|
||||
//! Autogenerated weights for pallet_transaction_storage
|
||||
//!
|
||||
//! 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_transaction_storage
|
||||
// --no-storage-info
|
||||
// --no-median-slopes
|
||||
// --no-min-squares
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
@@ -69,11 +66,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn store(l: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `176`
|
||||
// Estimated: `41353`
|
||||
// Minimum execution time: 33_286_000 picoseconds.
|
||||
Weight::from_parts(33_596_000, 41353)
|
||||
// Estimated: `38351`
|
||||
// Minimum execution time: 36_983_000 picoseconds.
|
||||
Weight::from_parts(37_296_000, 38351)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_parts(4_954, 0).saturating_mul(l.into()))
|
||||
.saturating_add(Weight::from_parts(4_908, 0).saturating_mul(l.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -88,9 +85,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn renew() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `326`
|
||||
// Estimated: `81704`
|
||||
// Minimum execution time: 41_892_000 picoseconds.
|
||||
Weight::from_parts(42_802_000, 81704)
|
||||
// Estimated: `40351`
|
||||
// Minimum execution time: 44_637_000 picoseconds.
|
||||
Weight::from_parts(45_464_000, 40351)
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -107,9 +104,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn check_proof_max() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `37145`
|
||||
// Estimated: `48332`
|
||||
// Minimum execution time: 63_799_000 picoseconds.
|
||||
Weight::from_parts(66_145_000, 48332)
|
||||
// Estimated: `40351`
|
||||
// Minimum execution time: 59_653_000 picoseconds.
|
||||
Weight::from_parts(61_068_000, 40351)
|
||||
.saturating_add(T::DbWeight::get().reads(5_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -127,11 +124,11 @@ impl WeightInfo for () {
|
||||
fn store(l: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `176`
|
||||
// Estimated: `41353`
|
||||
// Minimum execution time: 33_286_000 picoseconds.
|
||||
Weight::from_parts(33_596_000, 41353)
|
||||
// Estimated: `38351`
|
||||
// Minimum execution time: 36_983_000 picoseconds.
|
||||
Weight::from_parts(37_296_000, 38351)
|
||||
// Standard Error: 2
|
||||
.saturating_add(Weight::from_parts(4_954, 0).saturating_mul(l.into()))
|
||||
.saturating_add(Weight::from_parts(4_908, 0).saturating_mul(l.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -146,9 +143,9 @@ impl WeightInfo for () {
|
||||
fn renew() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `326`
|
||||
// Estimated: `81704`
|
||||
// Minimum execution time: 41_892_000 picoseconds.
|
||||
Weight::from_parts(42_802_000, 81704)
|
||||
// Estimated: `40351`
|
||||
// Minimum execution time: 44_637_000 picoseconds.
|
||||
Weight::from_parts(45_464_000, 40351)
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -165,9 +162,9 @@ impl WeightInfo for () {
|
||||
fn check_proof_max() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `37145`
|
||||
// Estimated: `48332`
|
||||
// Minimum execution time: 63_799_000 picoseconds.
|
||||
Weight::from_parts(66_145_000, 48332)
|
||||
// Estimated: `40351`
|
||||
// Minimum execution time: 59_653_000 picoseconds.
|
||||
Weight::from_parts(61_068_000, 40351)
|
||||
.saturating_add(RocksDbWeight::get().reads(5_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user