Skip to content

Commit

Permalink
update xcmp queue weights
Browse files Browse the repository at this point in the history
  • Loading branch information
apopiak committed Oct 20, 2023
1 parent 1d8f646 commit cd03796
Showing 1 changed file with 33 additions and 24 deletions.
57 changes: 33 additions & 24 deletions runtime/basilisk/src/weights/xcmp_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//! Autogenerated weights for cumulus_pallet_xcmp_queue
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-07-24, STEPS: 10, REPEAT: 30, LOW RANGE: [], HIGH RANGE: []
//! DATE: 2023-10-20, STEPS: 10, REPEAT: 30, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
Expand Down Expand Up @@ -54,56 +54,65 @@ impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
// Storage: XcmpQueue QueueConfig (r:1 w:1)
// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured)
fn set_config_with_u32() -> Weight {
// Minimum execution time: 8_406 nanoseconds.
Weight::from_ref_time(8_709_000 as u64)
// Minimum execution time: 8_682 nanoseconds.
Weight::from_ref_time(8_848_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: XcmpQueue QueueConfig (r:1 w:1)
// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured)
fn set_config_with_weight() -> Weight {
// Minimum execution time: 8_605 nanoseconds.
Weight::from_ref_time(8_861_000 as u64)
// Minimum execution time: 9_041 nanoseconds.
Weight::from_ref_time(9_304_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: XcmpQueue QueueConfig (r:1 w:0)
// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured)
// Storage: XcmpQueue DeferredXcmMessages (r:1 w:1)
// Proof Skipped: XcmpQueue DeferredXcmMessages (max_values: None, max_size: None, mode: Measured)
// Storage: XcmpQueue QueueSuspended (r:1 w:0)
// Proof Skipped: XcmpQueue QueueSuspended (max_values: Some(1), max_size: None, mode: Measured)
// Storage: XcmpQueue DeferredQueueSuspended (r:1 w:0)
// Proof Skipped: XcmpQueue DeferredQueueSuspended (max_values: Some(1), max_size: None, mode: Measured)
// Storage: XcmpQueue DeferredIndices (r:1 w:1)
// Proof Skipped: XcmpQueue DeferredIndices (max_values: None, max_size: None, mode: Measured)
// Storage: XcmpQueue DeferredMessageBuckets (r:1 w:1)
// Proof Skipped: XcmpQueue DeferredMessageBuckets (max_values: None, max_size: None, mode: Measured)
// Storage: XcmpQueue CounterForOverweight (r:1 w:1)
// Proof: XcmpQueue CounterForOverweight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
// Storage: XcmpQueue OverweightCount (r:1 w:1)
// Proof Skipped: XcmpQueue OverweightCount (max_values: Some(1), max_size: None, mode: Measured)
// Storage: XcmpQueue Overweight (r:100 w:100)
// Proof Skipped: XcmpQueue Overweight (max_values: None, max_size: None, mode: Measured)
fn service_deferred() -> Weight {
// Minimum execution time: 192_930_456 nanoseconds.
Weight::from_ref_time(193_470_028_000 as u64)
.saturating_add(T::DbWeight::get().reads(104 as u64))
.saturating_add(T::DbWeight::get().writes(103 as u64))
// Minimum execution time: 194_325_209 nanoseconds.
Weight::from_ref_time(194_943_960_000 as u64)
.saturating_add(T::DbWeight::get().reads(107 as u64))
.saturating_add(T::DbWeight::get().writes(104 as u64))
}
// Storage: XcmpQueue DeferredXcmMessages (r:1 w:1)
// Proof Skipped: XcmpQueue DeferredXcmMessages (max_values: None, max_size: None, mode: Measured)
// Storage: XcmpQueue DeferredMessageBuckets (r:1 w:1)
// Proof Skipped: XcmpQueue DeferredMessageBuckets (max_values: None, max_size: None, mode: Measured)
fn discard_deferred_bucket() -> Weight {
// Minimum execution time: 125_025_318 nanoseconds.
Weight::from_ref_time(125_304_870_000 as u64)
// Minimum execution time: 113_011_714 nanoseconds.
Weight::from_ref_time(113_235_429_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: XcmpQueue DeferredXcmMessages (r:1 w:1)
// Proof Skipped: XcmpQueue DeferredXcmMessages (max_values: None, max_size: None, mode: Measured)
// Storage: XcmpQueue DeferredMessageBuckets (r:1 w:1)
// Proof Skipped: XcmpQueue DeferredMessageBuckets (max_values: None, max_size: None, mode: Measured)
fn discard_deferred_individual() -> Weight {
// Minimum execution time: 125_025_318 nanoseconds.
Weight::from_ref_time(125_304_870_000 as u64)
// Minimum execution time: 125_386_024 nanoseconds.
Weight::from_ref_time(125_637_367_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}

// Storage: XcmpQueue DeferredIndices (r:1 w:1)
// Proof Skipped: XcmpQueue DeferredIndices (max_values: None, max_size: None, mode: Measured)
// Storage: XcmpQueue DeferredMessageBuckets (r:1 w:1)
// Proof Skipped: XcmpQueue DeferredMessageBuckets (max_values: None, max_size: None, mode: Measured)
fn try_place_in_deferred_queue() -> Weight {
// Minimum execution time: 125_025_318 nanoseconds.
Weight::from_ref_time(125_304_870_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
// Minimum execution time: 447_239 nanoseconds.
Weight::from_ref_time(533_778_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
}

0 comments on commit cd03796

Please sign in to comment.