mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 21:41:12 +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
+60
-63
@@ -18,9 +18,9 @@
|
||||
//! Autogenerated weights for pallet_core_fellowship
|
||||
//!
|
||||
//! 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_core_fellowship
|
||||
// --no-storage-info
|
||||
// --no-median-slopes
|
||||
// --no-min-squares
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
@@ -72,8 +69,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 10_384_000 picoseconds.
|
||||
Weight::from_parts(10_787_000, 0)
|
||||
// Minimum execution time: 10_390_000 picoseconds.
|
||||
Weight::from_parts(10_847_000, 0)
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: CoreFellowship Member (r:1 w:1)
|
||||
@@ -91,9 +88,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn bump_offboard() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `16854`
|
||||
// Estimated: `35762`
|
||||
// Minimum execution time: 61_847_000 picoseconds.
|
||||
Weight::from_parts(62_453_000, 35762)
|
||||
// Estimated: `19894`
|
||||
// Minimum execution time: 61_737_000 picoseconds.
|
||||
Weight::from_parts(62_207_000, 19894)
|
||||
.saturating_add(T::DbWeight::get().reads(6_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -112,9 +109,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn bump_demote() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `16964`
|
||||
// Estimated: `35762`
|
||||
// Minimum execution time: 64_449_000 picoseconds.
|
||||
Weight::from_parts(65_298_000, 35762)
|
||||
// Estimated: `19894`
|
||||
// Minimum execution time: 64_226_000 picoseconds.
|
||||
Weight::from_parts(64_678_000, 19894)
|
||||
.saturating_add(T::DbWeight::get().reads(6_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -125,9 +122,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn set_active() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `355`
|
||||
// Estimated: `7021`
|
||||
// Minimum execution time: 19_308_000 picoseconds.
|
||||
Weight::from_parts(19_520_000, 7021)
|
||||
// Estimated: `3514`
|
||||
// Minimum execution time: 18_977_000 picoseconds.
|
||||
Weight::from_parts(19_157_000, 3514)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -144,9 +141,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn induct() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `113`
|
||||
// Estimated: `10500`
|
||||
// Minimum execution time: 29_228_000 picoseconds.
|
||||
Weight::from_parts(29_683_000, 10500)
|
||||
// Estimated: `3514`
|
||||
// Minimum execution time: 28_633_000 picoseconds.
|
||||
Weight::from_parts(29_074_000, 3514)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5_u64))
|
||||
}
|
||||
@@ -167,9 +164,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn promote() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `16832`
|
||||
// Estimated: `32243`
|
||||
// Minimum execution time: 59_745_000 picoseconds.
|
||||
Weight::from_parts(60_290_000, 32243)
|
||||
// Estimated: `19894`
|
||||
// Minimum execution time: 59_008_000 picoseconds.
|
||||
Weight::from_parts(59_690_000, 19894)
|
||||
.saturating_add(T::DbWeight::get().reads(5_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6_u64))
|
||||
}
|
||||
@@ -182,9 +179,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn offboard() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `326`
|
||||
// Estimated: `7021`
|
||||
// Minimum execution time: 18_964_000 picoseconds.
|
||||
Weight::from_parts(19_603_000, 7021)
|
||||
// Estimated: `3514`
|
||||
// Minimum execution time: 18_892_000 picoseconds.
|
||||
Weight::from_parts(19_095_000, 3514)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -195,9 +192,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn import() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `280`
|
||||
// Estimated: `7021`
|
||||
// Minimum execution time: 18_752_000 picoseconds.
|
||||
Weight::from_parts(19_035_000, 7021)
|
||||
// Estimated: `3514`
|
||||
// Minimum execution time: 18_107_000 picoseconds.
|
||||
Weight::from_parts(18_371_000, 3514)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -210,9 +207,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn approve() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `16810`
|
||||
// Estimated: `26915`
|
||||
// Minimum execution time: 44_972_000 picoseconds.
|
||||
Weight::from_parts(45_391_000, 26915)
|
||||
// Estimated: `19894`
|
||||
// Minimum execution time: 43_243_000 picoseconds.
|
||||
Weight::from_parts(43_965_000, 19894)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -223,9 +220,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn submit_evidence() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `79`
|
||||
// Estimated: `23408`
|
||||
// Minimum execution time: 27_820_000 picoseconds.
|
||||
Weight::from_parts(28_992_000, 23408)
|
||||
// Estimated: `19894`
|
||||
// Minimum execution time: 27_881_000 picoseconds.
|
||||
Weight::from_parts(28_208_000, 19894)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -239,8 +236,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 10_384_000 picoseconds.
|
||||
Weight::from_parts(10_787_000, 0)
|
||||
// Minimum execution time: 10_390_000 picoseconds.
|
||||
Weight::from_parts(10_847_000, 0)
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: CoreFellowship Member (r:1 w:1)
|
||||
@@ -258,9 +255,9 @@ impl WeightInfo for () {
|
||||
fn bump_offboard() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `16854`
|
||||
// Estimated: `35762`
|
||||
// Minimum execution time: 61_847_000 picoseconds.
|
||||
Weight::from_parts(62_453_000, 35762)
|
||||
// Estimated: `19894`
|
||||
// Minimum execution time: 61_737_000 picoseconds.
|
||||
Weight::from_parts(62_207_000, 19894)
|
||||
.saturating_add(RocksDbWeight::get().reads(6_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -279,9 +276,9 @@ impl WeightInfo for () {
|
||||
fn bump_demote() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `16964`
|
||||
// Estimated: `35762`
|
||||
// Minimum execution time: 64_449_000 picoseconds.
|
||||
Weight::from_parts(65_298_000, 35762)
|
||||
// Estimated: `19894`
|
||||
// Minimum execution time: 64_226_000 picoseconds.
|
||||
Weight::from_parts(64_678_000, 19894)
|
||||
.saturating_add(RocksDbWeight::get().reads(6_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -292,9 +289,9 @@ impl WeightInfo for () {
|
||||
fn set_active() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `355`
|
||||
// Estimated: `7021`
|
||||
// Minimum execution time: 19_308_000 picoseconds.
|
||||
Weight::from_parts(19_520_000, 7021)
|
||||
// Estimated: `3514`
|
||||
// Minimum execution time: 18_977_000 picoseconds.
|
||||
Weight::from_parts(19_157_000, 3514)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -311,9 +308,9 @@ impl WeightInfo for () {
|
||||
fn induct() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `113`
|
||||
// Estimated: `10500`
|
||||
// Minimum execution time: 29_228_000 picoseconds.
|
||||
Weight::from_parts(29_683_000, 10500)
|
||||
// Estimated: `3514`
|
||||
// Minimum execution time: 28_633_000 picoseconds.
|
||||
Weight::from_parts(29_074_000, 3514)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(5_u64))
|
||||
}
|
||||
@@ -334,9 +331,9 @@ impl WeightInfo for () {
|
||||
fn promote() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `16832`
|
||||
// Estimated: `32243`
|
||||
// Minimum execution time: 59_745_000 picoseconds.
|
||||
Weight::from_parts(60_290_000, 32243)
|
||||
// Estimated: `19894`
|
||||
// Minimum execution time: 59_008_000 picoseconds.
|
||||
Weight::from_parts(59_690_000, 19894)
|
||||
.saturating_add(RocksDbWeight::get().reads(5_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(6_u64))
|
||||
}
|
||||
@@ -349,9 +346,9 @@ impl WeightInfo for () {
|
||||
fn offboard() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `326`
|
||||
// Estimated: `7021`
|
||||
// Minimum execution time: 18_964_000 picoseconds.
|
||||
Weight::from_parts(19_603_000, 7021)
|
||||
// Estimated: `3514`
|
||||
// Minimum execution time: 18_892_000 picoseconds.
|
||||
Weight::from_parts(19_095_000, 3514)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -362,9 +359,9 @@ impl WeightInfo for () {
|
||||
fn import() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `280`
|
||||
// Estimated: `7021`
|
||||
// Minimum execution time: 18_752_000 picoseconds.
|
||||
Weight::from_parts(19_035_000, 7021)
|
||||
// Estimated: `3514`
|
||||
// Minimum execution time: 18_107_000 picoseconds.
|
||||
Weight::from_parts(18_371_000, 3514)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -377,9 +374,9 @@ impl WeightInfo for () {
|
||||
fn approve() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `16810`
|
||||
// Estimated: `26915`
|
||||
// Minimum execution time: 44_972_000 picoseconds.
|
||||
Weight::from_parts(45_391_000, 26915)
|
||||
// Estimated: `19894`
|
||||
// Minimum execution time: 43_243_000 picoseconds.
|
||||
Weight::from_parts(43_965_000, 19894)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -390,9 +387,9 @@ impl WeightInfo for () {
|
||||
fn submit_evidence() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `79`
|
||||
// Estimated: `23408`
|
||||
// Minimum execution time: 27_820_000 picoseconds.
|
||||
Weight::from_parts(28_992_000, 23408)
|
||||
// Estimated: `19894`
|
||||
// Minimum execution time: 27_881_000 picoseconds.
|
||||
Weight::from_parts(28_208_000, 19894)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user