Skip to content

Commit

Permalink
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
Browse files Browse the repository at this point in the history
…=bridge-hub-rococo --runtime_dir=bridge-hubs --target_dir=cumulus --pallet=pallet_bridge_messages
  • Loading branch information
command-bot authored and bkontur committed Jul 25, 2024
1 parent 847e233 commit 48cc602
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 51 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_bridge_messages`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2024-07-03, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-07-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `runner-7wrmsoux-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("bridge-hub-rococo-dev")`, DB CACHE: 1024
Expand Down Expand Up @@ -60,8 +60,8 @@ impl<T: frame_system::Config> pallet_bridge_messages::WeightInfo for WeightInfo<
// Proof Size summary in bytes:
// Measured: `654`
// Estimated: `52645`
// Minimum execution time: 37_206_000 picoseconds.
Weight::from_parts(38_545_000, 0)
// Minimum execution time: 36_836_000 picoseconds.
Weight::from_parts(37_858_000, 0)
.saturating_add(Weight::from_parts(0, 52645))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -80,11 +80,11 @@ impl<T: frame_system::Config> pallet_bridge_messages::WeightInfo for WeightInfo<
// Proof Size summary in bytes:
// Measured: `654`
// Estimated: `52645`
// Minimum execution time: 37_075_000 picoseconds.
Weight::from_parts(37_757_000, 0)
// Minimum execution time: 36_587_000 picoseconds.
Weight::from_parts(37_516_000, 0)
.saturating_add(Weight::from_parts(0, 52645))
// Standard Error: 5_776
.saturating_add(Weight::from_parts(11_586_768, 0).saturating_mul(n.into()))
// Standard Error: 8_655
.saturating_add(Weight::from_parts(11_649_169, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -100,8 +100,8 @@ impl<T: frame_system::Config> pallet_bridge_messages::WeightInfo for WeightInfo<
// Proof Size summary in bytes:
// Measured: `654`
// Estimated: `52645`
// Minimum execution time: 42_087_000 picoseconds.
Weight::from_parts(42_970_000, 0)
// Minimum execution time: 42_157_000 picoseconds.
Weight::from_parts(43_105_000, 0)
.saturating_add(Weight::from_parts(0, 52645))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -120,11 +120,11 @@ impl<T: frame_system::Config> pallet_bridge_messages::WeightInfo for WeightInfo<
// Proof Size summary in bytes:
// Measured: `654`
// Estimated: `52645`
// Minimum execution time: 35_055_000 picoseconds.
Weight::from_parts(36_987_740, 0)
// Minimum execution time: 35_536_000 picoseconds.
Weight::from_parts(37_452_828, 0)
.saturating_add(Weight::from_parts(0, 52645))
// Standard Error: 4
.saturating_add(Weight::from_parts(2_316, 0).saturating_mul(n.into()))
// Standard Error: 3
.saturating_add(Weight::from_parts(2_269, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -134,47 +134,53 @@ impl<T: frame_system::Config> pallet_bridge_messages::WeightInfo for WeightInfo<
/// Proof: `BridgePolkadotBulletinGrandpa::ImportedHeaders` (`max_values`: Some(1024), `max_size`: Some(68), added: 1553, mode: `MaxEncodedLen`)
/// Storage: `BridgePolkadotBulletinMessages::OutboundLanes` (r:1 w:1)
/// Proof: `BridgePolkadotBulletinMessages::OutboundLanes` (`max_values`: Some(1), `max_size`: Some(44), added: 539, mode: `MaxEncodedLen`)
/// Storage: `BridgePolkadotBulletinMessages::OutboundMessages` (r:0 w:1)
/// Proof: `BridgePolkadotBulletinMessages::OutboundMessages` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`)
fn receive_delivery_proof_for_single_message() -> Weight {
// Proof Size summary in bytes:
// Measured: `621`
// Estimated: `2543`
// Minimum execution time: 24_326_000 picoseconds.
Weight::from_parts(25_169_000, 0)
// Minimum execution time: 25_800_000 picoseconds.
Weight::from_parts(26_666_000, 0)
.saturating_add(Weight::from_parts(0, 2543))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: `BridgePolkadotBulletinMessages::PalletOperatingMode` (r:1 w:0)
/// Proof: `BridgePolkadotBulletinMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
/// Storage: `BridgePolkadotBulletinGrandpa::ImportedHeaders` (r:1 w:0)
/// Proof: `BridgePolkadotBulletinGrandpa::ImportedHeaders` (`max_values`: Some(1024), `max_size`: Some(68), added: 1553, mode: `MaxEncodedLen`)
/// Storage: `BridgePolkadotBulletinMessages::OutboundLanes` (r:1 w:1)
/// Proof: `BridgePolkadotBulletinMessages::OutboundLanes` (`max_values`: Some(1), `max_size`: Some(44), added: 539, mode: `MaxEncodedLen`)
/// Storage: `BridgePolkadotBulletinMessages::OutboundMessages` (r:0 w:2)
/// Proof: `BridgePolkadotBulletinMessages::OutboundMessages` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`)
fn receive_delivery_proof_for_two_messages_by_single_relayer() -> Weight {
// Proof Size summary in bytes:
// Measured: `621`
// Estimated: `2543`
// Minimum execution time: 24_484_000 picoseconds.
Weight::from_parts(25_130_000, 0)
// Minimum execution time: 27_262_000 picoseconds.
Weight::from_parts(27_997_000, 0)
.saturating_add(Weight::from_parts(0, 2543))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: `BridgePolkadotBulletinMessages::PalletOperatingMode` (r:1 w:0)
/// Proof: `BridgePolkadotBulletinMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
/// Storage: `BridgePolkadotBulletinGrandpa::ImportedHeaders` (r:1 w:0)
/// Proof: `BridgePolkadotBulletinGrandpa::ImportedHeaders` (`max_values`: Some(1024), `max_size`: Some(68), added: 1553, mode: `MaxEncodedLen`)
/// Storage: `BridgePolkadotBulletinMessages::OutboundLanes` (r:1 w:1)
/// Proof: `BridgePolkadotBulletinMessages::OutboundLanes` (`max_values`: Some(1), `max_size`: Some(44), added: 539, mode: `MaxEncodedLen`)
/// Storage: `BridgePolkadotBulletinMessages::OutboundMessages` (r:0 w:2)
/// Proof: `BridgePolkadotBulletinMessages::OutboundMessages` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`)
fn receive_delivery_proof_for_two_messages_by_two_relayers() -> Weight {
// Proof Size summary in bytes:
// Measured: `621`
// Estimated: `2543`
// Minimum execution time: 24_450_000 picoseconds.
Weight::from_parts(25_164_000, 0)
// Minimum execution time: 26_992_000 picoseconds.
Weight::from_parts(27_921_000, 0)
.saturating_add(Weight::from_parts(0, 2543))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: `BridgePolkadotBulletinMessages::PalletOperatingMode` (r:1 w:0)
/// Proof: `BridgePolkadotBulletinMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
Expand Down Expand Up @@ -204,11 +210,11 @@ impl<T: frame_system::Config> pallet_bridge_messages::WeightInfo for WeightInfo<
// Proof Size summary in bytes:
// Measured: `813`
// Estimated: `52645`
// Minimum execution time: 54_317_000 picoseconds.
Weight::from_parts(59_171_547, 0)
// Minimum execution time: 55_509_000 picoseconds.
Weight::from_parts(59_826_763, 0)
.saturating_add(Weight::from_parts(0, 52645))
// Standard Error: 7
.saturating_add(Weight::from_parts(7_566, 0).saturating_mul(n.into()))
.saturating_add(Weight::from_parts(7_565, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(4))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_bridge_messages`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2024-07-03, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-07-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `runner-7wrmsoux-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("bridge-hub-rococo-dev")`, DB CACHE: 1024
Expand Down Expand Up @@ -62,8 +62,8 @@ impl<T: frame_system::Config> pallet_bridge_messages::WeightInfo for WeightInfo<
// Proof Size summary in bytes:
// Measured: `658`
// Estimated: `52645`
// Minimum execution time: 41_396_000 picoseconds.
Weight::from_parts(43_141_000, 0)
// Minimum execution time: 40_198_000 picoseconds.
Weight::from_parts(42_079_000, 0)
.saturating_add(Weight::from_parts(0, 52645))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -84,11 +84,11 @@ impl<T: frame_system::Config> pallet_bridge_messages::WeightInfo for WeightInfo<
// Proof Size summary in bytes:
// Measured: `658`
// Estimated: `52645`
// Minimum execution time: 41_095_000 picoseconds.
Weight::from_parts(42_030_000, 0)
// Minimum execution time: 39_990_000 picoseconds.
Weight::from_parts(41_381_000, 0)
.saturating_add(Weight::from_parts(0, 52645))
// Standard Error: 5_702
.saturating_add(Weight::from_parts(11_627_951, 0).saturating_mul(n.into()))
// Standard Error: 8_459
.saturating_add(Weight::from_parts(11_710_167, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -106,8 +106,8 @@ impl<T: frame_system::Config> pallet_bridge_messages::WeightInfo for WeightInfo<
// Proof Size summary in bytes:
// Measured: `658`
// Estimated: `52645`
// Minimum execution time: 45_912_000 picoseconds.
Weight::from_parts(47_564_000, 0)
// Minimum execution time: 45_940_000 picoseconds.
Weight::from_parts(47_753_000, 0)
.saturating_add(Weight::from_parts(0, 52645))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -128,11 +128,11 @@ impl<T: frame_system::Config> pallet_bridge_messages::WeightInfo for WeightInfo<
// Proof Size summary in bytes:
// Measured: `658`
// Estimated: `52645`
// Minimum execution time: 39_175_000 picoseconds.
Weight::from_parts(41_674_095, 0)
// Minimum execution time: 39_067_000 picoseconds.
Weight::from_parts(41_787_019, 0)
.saturating_add(Weight::from_parts(0, 52645))
// Standard Error: 4
.saturating_add(Weight::from_parts(2_305, 0).saturating_mul(n.into()))
// Standard Error: 5
.saturating_add(Weight::from_parts(2_295, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -146,15 +146,17 @@ impl<T: frame_system::Config> pallet_bridge_messages::WeightInfo for WeightInfo<
/// Proof: UNKNOWN KEY `0x6e0a18b62a1de81c5f519181cc611e18` (r:1 w:0)
/// Storage: `BridgeRelayers::RelayerRewards` (r:1 w:1)
/// Proof: `BridgeRelayers::RelayerRewards` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
/// Storage: `BridgeWestendMessages::OutboundMessages` (r:0 w:1)
/// Proof: `BridgeWestendMessages::OutboundMessages` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`)
fn receive_delivery_proof_for_single_message() -> Weight {
// Proof Size summary in bytes:
// Measured: `501`
// Estimated: `3966`
// Minimum execution time: 32_033_000 picoseconds.
Weight::from_parts(33_131_000, 0)
// Minimum execution time: 33_107_000 picoseconds.
Weight::from_parts(34_364_000, 0)
.saturating_add(Weight::from_parts(0, 3966))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: `BridgeWestendMessages::PalletOperatingMode` (r:1 w:0)
/// Proof: `BridgeWestendMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
Expand All @@ -166,15 +168,17 @@ impl<T: frame_system::Config> pallet_bridge_messages::WeightInfo for WeightInfo<
/// Proof: UNKNOWN KEY `0x6e0a18b62a1de81c5f519181cc611e18` (r:1 w:0)
/// Storage: `BridgeRelayers::RelayerRewards` (r:1 w:1)
/// Proof: `BridgeRelayers::RelayerRewards` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
/// Storage: `BridgeWestendMessages::OutboundMessages` (r:0 w:2)
/// Proof: `BridgeWestendMessages::OutboundMessages` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`)
fn receive_delivery_proof_for_two_messages_by_single_relayer() -> Weight {
// Proof Size summary in bytes:
// Measured: `501`
// Estimated: `3966`
// Minimum execution time: 32_153_000 picoseconds.
Weight::from_parts(33_126_000, 0)
// Minimum execution time: 34_826_000 picoseconds.
Weight::from_parts(35_563_000, 0)
.saturating_add(Weight::from_parts(0, 3966))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes(4))
}
/// Storage: `BridgeWestendMessages::PalletOperatingMode` (r:1 w:0)
/// Proof: `BridgeWestendMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
Expand All @@ -186,15 +190,17 @@ impl<T: frame_system::Config> pallet_bridge_messages::WeightInfo for WeightInfo<
/// Proof: UNKNOWN KEY `0x6e0a18b62a1de81c5f519181cc611e18` (r:1 w:0)
/// Storage: `BridgeRelayers::RelayerRewards` (r:2 w:2)
/// Proof: `BridgeRelayers::RelayerRewards` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
/// Storage: `BridgeWestendMessages::OutboundMessages` (r:0 w:2)
/// Proof: `BridgeWestendMessages::OutboundMessages` (`max_values`: None, `max_size`: Some(65568), added: 68043, mode: `MaxEncodedLen`)
fn receive_delivery_proof_for_two_messages_by_two_relayers() -> Weight {
// Proof Size summary in bytes:
// Measured: `501`
// Estimated: `6086`
// Minimum execution time: 36_387_000 picoseconds.
Weight::from_parts(37_396_000, 0)
// Minimum execution time: 38_725_000 picoseconds.
Weight::from_parts(39_727_000, 0)
.saturating_add(Weight::from_parts(0, 6086))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(T::DbWeight::get().writes(5))
}
/// Storage: `BridgeWestendMessages::PalletOperatingMode` (r:1 w:0)
/// Proof: `BridgeWestendMessages::PalletOperatingMode` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
Expand Down Expand Up @@ -224,11 +230,11 @@ impl<T: frame_system::Config> pallet_bridge_messages::WeightInfo for WeightInfo<
// Proof Size summary in bytes:
// Measured: `789`
// Estimated: `52645`
// Minimum execution time: 56_562_000 picoseconds.
Weight::from_parts(61_452_871, 0)
// Minimum execution time: 56_892_000 picoseconds.
Weight::from_parts(61_941_659, 0)
.saturating_add(Weight::from_parts(0, 52645))
// Standard Error: 9
.saturating_add(Weight::from_parts(7_587, 0).saturating_mul(n.into()))
// Standard Error: 8
.saturating_add(Weight::from_parts(7_580, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(4))
}
Expand Down

0 comments on commit 48cc602

Please sign in to comment.