mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-02 17:37:23 +00:00
2ab3f03f0b
Removes the `bridges/snowbridge/parachain` directory and moves everything up to under `snowbridge` directly. We are cleaning up our local dev env after merging our crates into the polkadot-sdk. --------- Co-authored-by: claravanstaden <Cats 4 life!>
82 lines
3.1 KiB
Rust
82 lines
3.1 KiB
Rust
|
|
//! Autogenerated weights for `snowbridge-pallet-outbound-queue`
|
|
//!
|
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
|
//! DATE: 2023-10-19, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
|
//! WORST CASE MAP SIZE: `1000000`
|
|
//! HOSTNAME: `192.168.1.7`, CPU: `<UNKNOWN>`
|
|
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("bridge-hub-rococo-dev")`, DB CACHE: `1024`
|
|
|
|
// Executed Command:
|
|
// target/release/polkadot-parachain
|
|
// benchmark
|
|
// pallet
|
|
// --chain=bridge-hub-rococo-dev
|
|
// --pallet=snowbridge-pallet-outbound-queue
|
|
// --extrinsic=*
|
|
// --execution=wasm
|
|
// --wasm-execution=compiled
|
|
// --template
|
|
// ../parachain/templates/module-weight-template.hbs
|
|
// --output
|
|
// ../parachain/pallets/outbound-queue/src/weights.rs
|
|
|
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
|
#![allow(unused_parens)]
|
|
#![allow(unused_imports)]
|
|
#![allow(missing_docs)]
|
|
|
|
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
|
|
use core::marker::PhantomData;
|
|
|
|
/// Weight functions needed for `snowbridge-pallet-outbound-queue`.
|
|
pub trait WeightInfo {
|
|
fn do_process_message() -> Weight;
|
|
fn commit() -> Weight;
|
|
fn commit_single() -> Weight;
|
|
}
|
|
|
|
// For backwards compatibility and tests.
|
|
impl WeightInfo for () {
|
|
/// Storage: EthereumOutboundQueue MessageLeaves (r:1 w:1)
|
|
/// Proof Skipped: EthereumOutboundQueue MessageLeaves (max_values: Some(1), max_size: None, mode: Measured)
|
|
/// Storage: EthereumOutboundQueue PendingHighPriorityMessageCount (r:1 w:1)
|
|
/// Proof: EthereumOutboundQueue PendingHighPriorityMessageCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
|
/// Storage: EthereumOutboundQueue Nonce (r:1 w:1)
|
|
/// Proof: EthereumOutboundQueue Nonce (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen)
|
|
/// Storage: EthereumOutboundQueue Messages (r:1 w:1)
|
|
/// Proof Skipped: EthereumOutboundQueue Messages (max_values: Some(1), max_size: None, mode: Measured)
|
|
fn do_process_message() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `42`
|
|
// Estimated: `3485`
|
|
// Minimum execution time: 39_000_000 picoseconds.
|
|
Weight::from_parts(39_000_000, 3485)
|
|
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
|
}
|
|
/// Storage: EthereumOutboundQueue MessageLeaves (r:1 w:0)
|
|
/// Proof Skipped: EthereumOutboundQueue MessageLeaves (max_values: Some(1), max_size: None, mode: Measured)
|
|
/// Storage: System Digest (r:1 w:1)
|
|
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
|
|
fn commit() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `1094`
|
|
// Estimated: `2579`
|
|
// Minimum execution time: 28_000_000 picoseconds.
|
|
Weight::from_parts(28_000_000, 2579)
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
|
|
fn commit_single() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `1094`
|
|
// Estimated: `2579`
|
|
// Minimum execution time: 9_000_000 picoseconds.
|
|
Weight::from_parts(9_000_000, 1586)
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
}
|