mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 20:21:03 +00:00
Fix benchmarks (#1919)
* fixed benchmarks broken by rejecting storage proofs with excessive trie nodes and justifications with extra prevotes * update weights * fmt * accidental paste * revert changes to millau runtime (separate PR) * revert comment change
This commit is contained in:
committed by
Bastian Köcher
parent
7be2cb1cdd
commit
aa466a485d
@@ -17,7 +17,7 @@
|
||||
//! Autogenerated weights for pallet_bridge_messages
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-02-13, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2023-03-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `covid`, CPU: `11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
@@ -88,8 +88,8 @@ impl<T: frame_system::Config> WeightInfo for BridgeWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `693`
|
||||
// Estimated: `54703`
|
||||
// Minimum execution time: 50_655 nanoseconds.
|
||||
Weight::from_parts(60_502_000, 54703)
|
||||
// Minimum execution time: 48_426 nanoseconds.
|
||||
Weight::from_parts(50_113_000, 54703)
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -116,8 +116,8 @@ impl<T: frame_system::Config> WeightInfo for BridgeWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `693`
|
||||
// Estimated: `54703`
|
||||
// Minimum execution time: 58_861 nanoseconds.
|
||||
Weight::from_parts(60_288_000, 54703)
|
||||
// Minimum execution time: 59_739 nanoseconds.
|
||||
Weight::from_parts(61_704_000, 54703)
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -144,8 +144,8 @@ impl<T: frame_system::Config> WeightInfo for BridgeWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `693`
|
||||
// Estimated: `54703`
|
||||
// Minimum execution time: 53_459 nanoseconds.
|
||||
Weight::from_parts(54_577_000, 54703)
|
||||
// Minimum execution time: 53_760 nanoseconds.
|
||||
Weight::from_parts(55_645_000, 54703)
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -167,8 +167,8 @@ impl<T: frame_system::Config> WeightInfo for BridgeWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `618`
|
||||
// Estimated: `54200`
|
||||
// Minimum execution time: 54_011 nanoseconds.
|
||||
Weight::from_parts(55_573_000, 54200)
|
||||
// Minimum execution time: 49_582 nanoseconds.
|
||||
Weight::from_parts(51_250_000, 54200)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -190,8 +190,8 @@ impl<T: frame_system::Config> WeightInfo for BridgeWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `618`
|
||||
// Estimated: `54200`
|
||||
// Minimum execution time: 105_856 nanoseconds.
|
||||
Weight::from_parts(109_112_000, 54200)
|
||||
// Minimum execution time: 76_418 nanoseconds.
|
||||
Weight::from_parts(77_877_000, 54200)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -212,14 +212,14 @@ impl<T: frame_system::Config> WeightInfo for BridgeWeight<T> {
|
||||
///
|
||||
/// Storage: BridgeRelayers RelayerRewards (r:1 w:1)
|
||||
///
|
||||
/// Proof: BridgeRelayers RelayerRewards (max_values: None, max_size: Some(60), added: 2535,
|
||||
/// Proof: BridgeRelayers RelayerRewards (max_values: None, max_size: Some(65), added: 2540,
|
||||
/// mode: MaxEncodedLen)
|
||||
fn receive_delivery_proof_for_single_message() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `579`
|
||||
// Estimated: `5619`
|
||||
// Minimum execution time: 40_894 nanoseconds.
|
||||
Weight::from_parts(41_766_000, 5619)
|
||||
// Estimated: `5624`
|
||||
// Minimum execution time: 41_795 nanoseconds.
|
||||
Weight::from_parts(43_683_000, 5624)
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -240,14 +240,14 @@ impl<T: frame_system::Config> WeightInfo for BridgeWeight<T> {
|
||||
///
|
||||
/// Storage: BridgeRelayers RelayerRewards (r:1 w:1)
|
||||
///
|
||||
/// Proof: BridgeRelayers RelayerRewards (max_values: None, max_size: Some(60), added: 2535,
|
||||
/// Proof: BridgeRelayers RelayerRewards (max_values: None, max_size: Some(65), added: 2540,
|
||||
/// mode: MaxEncodedLen)
|
||||
fn receive_delivery_proof_for_two_messages_by_single_relayer() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `596`
|
||||
// Estimated: `5619`
|
||||
// Minimum execution time: 39_996 nanoseconds.
|
||||
Weight::from_parts(41_452_000, 5619)
|
||||
// Estimated: `5624`
|
||||
// Minimum execution time: 39_946 nanoseconds.
|
||||
Weight::from_parts(41_509_000, 5624)
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -268,14 +268,14 @@ impl<T: frame_system::Config> WeightInfo for BridgeWeight<T> {
|
||||
///
|
||||
/// Storage: BridgeRelayers RelayerRewards (r:2 w:2)
|
||||
///
|
||||
/// Proof: BridgeRelayers RelayerRewards (max_values: None, max_size: Some(60), added: 2535,
|
||||
/// Proof: BridgeRelayers RelayerRewards (max_values: None, max_size: Some(65), added: 2540,
|
||||
/// mode: MaxEncodedLen)
|
||||
fn receive_delivery_proof_for_two_messages_by_two_relayers() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `596`
|
||||
// Estimated: `8154`
|
||||
// Minimum execution time: 42_281 nanoseconds.
|
||||
Weight::from_parts(43_593_000, 8154)
|
||||
// Estimated: `8164`
|
||||
// Minimum execution time: 42_882 nanoseconds.
|
||||
Weight::from_parts(44_367_000, 8164)
|
||||
.saturating_add(T::DbWeight::get().reads(5_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -306,8 +306,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `693`
|
||||
// Estimated: `54703`
|
||||
// Minimum execution time: 50_655 nanoseconds.
|
||||
Weight::from_parts(60_502_000, 54703)
|
||||
// Minimum execution time: 48_426 nanoseconds.
|
||||
Weight::from_parts(50_113_000, 54703)
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -334,8 +334,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `693`
|
||||
// Estimated: `54703`
|
||||
// Minimum execution time: 58_861 nanoseconds.
|
||||
Weight::from_parts(60_288_000, 54703)
|
||||
// Minimum execution time: 59_739 nanoseconds.
|
||||
Weight::from_parts(61_704_000, 54703)
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -362,8 +362,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `693`
|
||||
// Estimated: `54703`
|
||||
// Minimum execution time: 53_459 nanoseconds.
|
||||
Weight::from_parts(54_577_000, 54703)
|
||||
// Minimum execution time: 53_760 nanoseconds.
|
||||
Weight::from_parts(55_645_000, 54703)
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -385,8 +385,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `618`
|
||||
// Estimated: `54200`
|
||||
// Minimum execution time: 54_011 nanoseconds.
|
||||
Weight::from_parts(55_573_000, 54200)
|
||||
// Minimum execution time: 49_582 nanoseconds.
|
||||
Weight::from_parts(51_250_000, 54200)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -408,8 +408,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `618`
|
||||
// Estimated: `54200`
|
||||
// Minimum execution time: 105_856 nanoseconds.
|
||||
Weight::from_parts(109_112_000, 54200)
|
||||
// Minimum execution time: 76_418 nanoseconds.
|
||||
Weight::from_parts(77_877_000, 54200)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -430,14 +430,14 @@ impl WeightInfo for () {
|
||||
///
|
||||
/// Storage: BridgeRelayers RelayerRewards (r:1 w:1)
|
||||
///
|
||||
/// Proof: BridgeRelayers RelayerRewards (max_values: None, max_size: Some(60), added: 2535,
|
||||
/// Proof: BridgeRelayers RelayerRewards (max_values: None, max_size: Some(65), added: 2540,
|
||||
/// mode: MaxEncodedLen)
|
||||
fn receive_delivery_proof_for_single_message() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `579`
|
||||
// Estimated: `5619`
|
||||
// Minimum execution time: 40_894 nanoseconds.
|
||||
Weight::from_parts(41_766_000, 5619)
|
||||
// Estimated: `5624`
|
||||
// Minimum execution time: 41_795 nanoseconds.
|
||||
Weight::from_parts(43_683_000, 5624)
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -458,14 +458,14 @@ impl WeightInfo for () {
|
||||
///
|
||||
/// Storage: BridgeRelayers RelayerRewards (r:1 w:1)
|
||||
///
|
||||
/// Proof: BridgeRelayers RelayerRewards (max_values: None, max_size: Some(60), added: 2535,
|
||||
/// Proof: BridgeRelayers RelayerRewards (max_values: None, max_size: Some(65), added: 2540,
|
||||
/// mode: MaxEncodedLen)
|
||||
fn receive_delivery_proof_for_two_messages_by_single_relayer() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `596`
|
||||
// Estimated: `5619`
|
||||
// Minimum execution time: 39_996 nanoseconds.
|
||||
Weight::from_parts(41_452_000, 5619)
|
||||
// Estimated: `5624`
|
||||
// Minimum execution time: 39_946 nanoseconds.
|
||||
Weight::from_parts(41_509_000, 5624)
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -486,14 +486,14 @@ impl WeightInfo for () {
|
||||
///
|
||||
/// Storage: BridgeRelayers RelayerRewards (r:2 w:2)
|
||||
///
|
||||
/// Proof: BridgeRelayers RelayerRewards (max_values: None, max_size: Some(60), added: 2535,
|
||||
/// Proof: BridgeRelayers RelayerRewards (max_values: None, max_size: Some(65), added: 2540,
|
||||
/// mode: MaxEncodedLen)
|
||||
fn receive_delivery_proof_for_two_messages_by_two_relayers() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `596`
|
||||
// Estimated: `8154`
|
||||
// Minimum execution time: 42_281 nanoseconds.
|
||||
Weight::from_parts(43_593_000, 8154)
|
||||
// Estimated: `8164`
|
||||
// Minimum execution time: 42_882 nanoseconds.
|
||||
Weight::from_parts(44_367_000, 8164)
|
||||
.saturating_add(RocksDbWeight::get().reads(5_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user