mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-16 21:21:03 +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
+20
-23
@@ -18,9 +18,9 @@
|
||||
//! Autogenerated weights for pallet_bags_list
|
||||
//!
|
||||
//! 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=pallet_bags_list
|
||||
// --no-storage-info
|
||||
// --no-median-slopes
|
||||
// --no-min-squares
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
@@ -70,9 +67,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn rebag_non_terminal() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1724`
|
||||
// Estimated: `23146`
|
||||
// Minimum execution time: 63_526_000 picoseconds.
|
||||
Weight::from_parts(64_125_000, 23146)
|
||||
// Estimated: `11506`
|
||||
// Minimum execution time: 63_335_000 picoseconds.
|
||||
Weight::from_parts(64_097_000, 11506)
|
||||
.saturating_add(T::DbWeight::get().reads(7_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5_u64))
|
||||
}
|
||||
@@ -87,9 +84,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn rebag_terminal() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1618`
|
||||
// Estimated: `23074`
|
||||
// Minimum execution time: 62_404_000 picoseconds.
|
||||
Weight::from_parts(63_178_000, 23074)
|
||||
// Estimated: `8877`
|
||||
// Minimum execution time: 62_151_000 picoseconds.
|
||||
Weight::from_parts(62_827_000, 8877)
|
||||
.saturating_add(T::DbWeight::get().reads(7_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5_u64))
|
||||
}
|
||||
@@ -106,9 +103,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn put_in_front_of() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1930`
|
||||
// Estimated: `30748`
|
||||
// Minimum execution time: 69_938_000 picoseconds.
|
||||
Weight::from_parts(70_723_000, 30748)
|
||||
// Estimated: `11506`
|
||||
// Minimum execution time: 69_179_000 picoseconds.
|
||||
Weight::from_parts(69_898_000, 11506)
|
||||
.saturating_add(T::DbWeight::get().reads(10_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6_u64))
|
||||
}
|
||||
@@ -127,9 +124,9 @@ impl WeightInfo for () {
|
||||
fn rebag_non_terminal() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1724`
|
||||
// Estimated: `23146`
|
||||
// Minimum execution time: 63_526_000 picoseconds.
|
||||
Weight::from_parts(64_125_000, 23146)
|
||||
// Estimated: `11506`
|
||||
// Minimum execution time: 63_335_000 picoseconds.
|
||||
Weight::from_parts(64_097_000, 11506)
|
||||
.saturating_add(RocksDbWeight::get().reads(7_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(5_u64))
|
||||
}
|
||||
@@ -144,9 +141,9 @@ impl WeightInfo for () {
|
||||
fn rebag_terminal() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1618`
|
||||
// Estimated: `23074`
|
||||
// Minimum execution time: 62_404_000 picoseconds.
|
||||
Weight::from_parts(63_178_000, 23074)
|
||||
// Estimated: `8877`
|
||||
// Minimum execution time: 62_151_000 picoseconds.
|
||||
Weight::from_parts(62_827_000, 8877)
|
||||
.saturating_add(RocksDbWeight::get().reads(7_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(5_u64))
|
||||
}
|
||||
@@ -163,9 +160,9 @@ impl WeightInfo for () {
|
||||
fn put_in_front_of() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1930`
|
||||
// Estimated: `30748`
|
||||
// Minimum execution time: 69_938_000 picoseconds.
|
||||
Weight::from_parts(70_723_000, 30748)
|
||||
// Estimated: `11506`
|
||||
// Minimum execution time: 69_179_000 picoseconds.
|
||||
Weight::from_parts(69_898_000, 11506)
|
||||
.saturating_add(RocksDbWeight::get().reads(10_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(6_u64))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user