Updated benchmarks related to the Rococo/Westend bridge (#2639)

Co-authored-by: command-bot <>
This commit is contained in:
Branislav Kontur
2023-12-13 12:33:19 +01:00
committed by GitHub
parent bc82eb6ec9
commit 4c4407a893
12 changed files with 376 additions and 387 deletions
@@ -17,9 +17,9 @@
//! Autogenerated weights for `pallet_xcm_benchmarks::generic`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-11-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-12-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `runner-r43aesjn-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! HOSTNAME: `runner-itmxxexx-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-rococo-dev"), DB CACHE: 1024
// Executed Command:
@@ -68,8 +68,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `171`
// Estimated: `6196`
// Minimum execution time: 61_049_000 picoseconds.
Weight::from_parts(62_672_000, 6196)
// Minimum execution time: 61_813_000 picoseconds.
Weight::from_parts(62_996_000, 6196)
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -77,8 +77,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_972_000 picoseconds.
Weight::from_parts(2_095_000, 0)
// Minimum execution time: 2_044_000 picoseconds.
Weight::from_parts(2_112_000, 0)
}
// Storage: `PolkadotXcm::Queries` (r:1 w:0)
// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
@@ -86,58 +86,58 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `32`
// Estimated: `3497`
// Minimum execution time: 7_541_000 picoseconds.
Weight::from_parts(7_875_000, 3497)
// Minimum execution time: 7_472_000 picoseconds.
Weight::from_parts(7_723_000, 3497)
.saturating_add(T::DbWeight::get().reads(1))
}
pub fn transact() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_467_000 picoseconds.
Weight::from_parts(8_653_000, 0)
// Minimum execution time: 8_414_000 picoseconds.
Weight::from_parts(8_765_000, 0)
}
pub fn refund_surplus() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_141_000 picoseconds.
Weight::from_parts(2_231_000, 0)
// Minimum execution time: 2_192_000 picoseconds.
Weight::from_parts(2_243_000, 0)
}
pub fn set_error_handler() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_881_000 picoseconds.
Weight::from_parts(1_941_000, 0)
// Minimum execution time: 1_866_000 picoseconds.
Weight::from_parts(1_931_000, 0)
}
pub fn set_appendix() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_846_000 picoseconds.
Weight::from_parts(1_916_000, 0)
// Minimum execution time: 1_847_000 picoseconds.
Weight::from_parts(1_921_000, 0)
}
pub fn clear_error() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_857_000 picoseconds.
Weight::from_parts(1_910_000, 0)
// Minimum execution time: 1_797_000 picoseconds.
Weight::from_parts(1_880_000, 0)
}
pub fn descend_origin() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_493_000 picoseconds.
Weight::from_parts(2_570_000, 0)
// Minimum execution time: 2_458_000 picoseconds.
Weight::from_parts(2_523_000, 0)
}
pub fn clear_origin() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_857_000 picoseconds.
Weight::from_parts(1_930_000, 0)
// Minimum execution time: 1_833_000 picoseconds.
Weight::from_parts(1_906_000, 0)
}
// Storage: `ParachainInfo::ParachainId` (r:1 w:0)
// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
@@ -159,8 +159,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `171`
// Estimated: `6196`
// Minimum execution time: 54_805_000 picoseconds.
Weight::from_parts(55_690_000, 6196)
// Minimum execution time: 54_659_000 picoseconds.
Weight::from_parts(56_025_000, 6196)
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -170,8 +170,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `90`
// Estimated: `3555`
// Minimum execution time: 11_062_000 picoseconds.
Weight::from_parts(11_505_000, 3555)
// Minimum execution time: 10_953_000 picoseconds.
Weight::from_parts(11_220_000, 3555)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -179,8 +179,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_873_000 picoseconds.
Weight::from_parts(1_962_000, 0)
// Minimum execution time: 1_834_000 picoseconds.
Weight::from_parts(1_892_000, 0)
}
// Storage: `PolkadotXcm::VersionNotifyTargets` (r:1 w:1)
// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`)
@@ -200,8 +200,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `38`
// Estimated: `3503`
// Minimum execution time: 22_356_000 picoseconds.
Weight::from_parts(23_066_000, 3503)
// Minimum execution time: 22_238_000 picoseconds.
Weight::from_parts(22_690_000, 3503)
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -211,44 +211,44 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_819_000 picoseconds.
Weight::from_parts(3_992_000, 0)
// Minimum execution time: 3_798_000 picoseconds.
Weight::from_parts(3_936_000, 0)
.saturating_add(T::DbWeight::get().writes(1))
}
pub fn burn_asset() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_033_000 picoseconds.
Weight::from_parts(3_157_000, 0)
// Minimum execution time: 2_985_000 picoseconds.
Weight::from_parts(3_099_000, 0)
}
pub fn expect_asset() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_994_000 picoseconds.
Weight::from_parts(2_056_000, 0)
// Minimum execution time: 1_955_000 picoseconds.
Weight::from_parts(2_050_000, 0)
}
pub fn expect_origin() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_978_000 picoseconds.
Weight::from_parts(2_069_000, 0)
// Minimum execution time: 1_939_000 picoseconds.
Weight::from_parts(1_990_000, 0)
}
pub fn expect_error() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_894_000 picoseconds.
Weight::from_parts(1_977_000, 0)
// Minimum execution time: 1_841_000 picoseconds.
Weight::from_parts(1_900_000, 0)
}
pub fn expect_transact_status() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_114_000 picoseconds.
Weight::from_parts(2_223_000, 0)
// Minimum execution time: 2_081_000 picoseconds.
Weight::from_parts(2_145_000, 0)
}
// Storage: `ParachainInfo::ParachainId` (r:1 w:0)
// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
@@ -270,8 +270,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `171`
// Estimated: `6196`
// Minimum execution time: 58_704_000 picoseconds.
Weight::from_parts(59_677_000, 6196)
// Minimum execution time: 59_600_000 picoseconds.
Weight::from_parts(61_572_000, 6196)
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -279,8 +279,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 4_506_000 picoseconds.
Weight::from_parts(4_672_000, 0)
// Minimum execution time: 4_390_000 picoseconds.
Weight::from_parts(4_517_000, 0)
}
// Storage: `ParachainInfo::ParachainId` (r:1 w:0)
// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
@@ -302,8 +302,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `171`
// Estimated: `6196`
// Minimum execution time: 54_896_000 picoseconds.
Weight::from_parts(56_331_000, 6196)
// Minimum execution time: 53_864_000 picoseconds.
Weight::from_parts(55_527_000, 6196)
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -311,29 +311,27 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_946_000 picoseconds.
Weight::from_parts(2_002_000, 0)
// Minimum execution time: 1_879_000 picoseconds.
Weight::from_parts(1_947_000, 0)
}
pub fn set_topic() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_898_000 picoseconds.
Weight::from_parts(1_961_000, 0)
// Minimum execution time: 1_827_000 picoseconds.
Weight::from_parts(1_900_000, 0)
}
pub fn clear_topic() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_895_000 picoseconds.
Weight::from_parts(1_964_000, 0)
// Minimum execution time: 1_824_000 picoseconds.
Weight::from_parts(1_898_000, 0)
}
// Storage: `ParachainInfo::ParachainId` (r:1 w:0)
// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
// Storage: `PolkadotXcm::SupportedVersion` (r:2 w:0)
// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
// Storage: `PolkadotXcm::VersionDiscoveryQueue` (r:1 w:1)
// Proof: `PolkadotXcm::VersionDiscoveryQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
// Storage: `BridgeWestendMessages::PalletOperatingMode` (r:1 w:0)
// Proof: `BridgeWestendMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
// Storage: `BridgeWestendMessages::OutboundLanes` (r:1 w:1)
@@ -347,25 +345,25 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `190`
// Estimated: `6130`
// Minimum execution time: 36_547_000 picoseconds.
Weight::from_parts(37_623_117, 6130)
// Standard Error: 735
.saturating_add(Weight::from_parts(315_274, 0).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(3))
// Minimum execution time: 41_598_000 picoseconds.
Weight::from_parts(42_219_173, 6130)
// Standard Error: 426
.saturating_add(Weight::from_parts(452_460, 0).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(2))
}
pub fn set_fees_mode() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_868_000 picoseconds.
Weight::from_parts(1_910_000, 0)
// Minimum execution time: 1_812_000 picoseconds.
Weight::from_parts(1_898_000, 0)
}
pub fn unpaid_execution() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_998_000 picoseconds.
Weight::from_parts(2_069_000, 0)
// Minimum execution time: 1_915_000 picoseconds.
Weight::from_parts(1_976_000, 0)
}
}