Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ benchmark pallet="" extrinsic="*":
do --ignore-errors { frame-omni-bencher v1 benchmark pallet \
--runtime {{ runtime }} \
--pallet '{{ pallet }}' --extrinsic '{{ extrinsic }}' \
--steps 2 \
--repeat 1 \
--steps 50 \
--repeat 20 \
--output ./runtime/kreivo/src/weights/ | \
save --force ".benchmarking-logs/{{ pallet }}.out.txt" \
--stderr ".benchmarking-logs/{{ pallet }}.log.txt" }
Expand Down
136 changes: 100 additions & 36 deletions runtime/kreivo/src/weights/pallet_pass.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@

//! Autogenerated weights for `pallet_pass`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 45.0.0
//! DATE: 2025-01-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0
//! DATE: 2025-05-26, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `virto-us3`, CPU: `Intel(R) Xeon(R) Silver 4216 CPU @ 2.10GHz`
//! HOSTNAME: `gh-vm-15254924189`, CPU: `Intel(R) Xeon(R) Platinum 8473C`
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024

// Executed Command:
// /home/devops/.cargo/bin/frame-omni-bencher
// /home/runner/.cargo/bin/frame-omni-bencher
// v1
// benchmark
// pallet
Expand All @@ -19,9 +19,9 @@
// --extrinsic
// *
// --steps
// 50
// 2
// --repeat
// 20
// 1
// --output
// ./runtime/kreivo/src/weights/

Expand All @@ -36,53 +36,117 @@ use core::marker::PhantomData;
/// Weight functions for `pallet_pass`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_pass::WeightInfo for WeightInfo<T> {
/// Storage: `Pass::RegistrarConsiderations` (r:1 w:1)
/// Proof: `Pass::RegistrarConsiderations` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Pass::DeviceConsiderations` (r:1 w:1)
/// Proof: `Pass::DeviceConsiderations` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
/// Storage: `Pass::Devices` (r:0 w:1)
/// Proof: `Pass::Devices` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
fn register() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Measured: `76`
// Estimated: `3593`
// Minimum execution time: 41_325_000 picoseconds.
Weight::from_parts(53_969_000, 0)
// Minimum execution time: 38_861_000 picoseconds.
Weight::from_parts(38_861_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(4))
}

/// Storage: `Pass::Devices` (r:2 w:0)
/// Proof: `Pass::Devices` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
fn authenticate() -> Weight {
Weight::from_parts(53_969_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
// Proof Size summary in bytes:
// Measured: `281`
// Estimated: `6380`
// Minimum execution time: 17_385_000 picoseconds.
Weight::from_parts(17_385_000, 0)
.saturating_add(Weight::from_parts(0, 6380))
.saturating_add(T::DbWeight::get().reads(2))
}

/// Storage: `Pass::Devices` (r:1 w:1)
/// Proof: `Pass::Devices` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
/// Storage: `Pass::DeviceConsiderations` (r:1 w:1)
/// Proof: `Pass::DeviceConsiderations` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Balances::Holds` (r:1 w:1)
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`)
fn add_device() -> Weight {
Weight::from_parts(53_969_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
// Proof Size summary in bytes:
// Measured: `448`
// Estimated: `3685`
// Minimum execution time: 73_873_000 picoseconds.
Weight::from_parts(73_873_000, 0)
.saturating_add(Weight::from_parts(0, 3685))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}

/// Storage: `Pass::Devices` (r:2 w:1)
/// Proof: `Pass::Devices` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
/// Storage: `Pass::DeviceConsiderations` (r:1 w:1)
/// Proof: `Pass::DeviceConsiderations` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Balances::Holds` (r:1 w:1)
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`)
fn remove_device() -> Weight {
Weight::from_parts(53_969_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
// Proof Size summary in bytes:
// Measured: `559`
// Estimated: `6380`
// Minimum execution time: 74_879_000 picoseconds.
Weight::from_parts(74_879_000, 0)
.saturating_add(Weight::from_parts(0, 6380))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}

/// Storage: `Pass::Devices` (r:1 w:0)
/// Proof: `Pass::Devices` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Pass::SessionKeyConsiderations` (r:1 w:1)
/// Proof: `Pass::SessionKeyConsiderations` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
/// Storage: `Scheduler::Lookup` (r:1 w:1)
/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
/// Storage: `Pass::SessionKeys` (r:1 w:1)
/// Proof: `Pass::SessionKeys` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
/// Storage: `Pass::CounterForSessionKeys` (r:1 w:1)
/// Proof: `Pass::CounterForSessionKeys` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `ParachainSystem::ValidationData` (r:1 w:0)
/// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `ParachainSystem::LastRelayChainBlockNumber` (r:1 w:0)
/// Proof: `ParachainSystem::LastRelayChainBlockNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `Scheduler::Agenda` (r:1 w:1)
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(155814), added: 158289, mode: `MaxEncodedLen`)
fn add_session_key() -> Weight {
Weight::from_parts(53_969_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
// Proof Size summary in bytes:
// Measured: `355`
// Estimated: `159279`
// Minimum execution time: 60_784_000 picoseconds.
Weight::from_parts(60_784_000, 0)
.saturating_add(Weight::from_parts(0, 159279))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(5))
}

/// Storage: `Scheduler::Lookup` (r:1 w:1)
/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
/// Storage: `Scheduler::Agenda` (r:1 w:1)
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(155814), added: 158289, mode: `MaxEncodedLen`)
/// Storage: `Pass::SessionKeys` (r:1 w:1)
/// Proof: `Pass::SessionKeys` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
/// Storage: `Pass::SessionKeyConsiderations` (r:1 w:1)
/// Proof: `Pass::SessionKeyConsiderations` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
/// Storage: `Pass::CounterForSessionKeys` (r:1 w:1)
/// Proof: `Pass::CounterForSessionKeys` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn remove_session_key() -> Weight {
Weight::from_parts(53_969_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
// Proof Size summary in bytes:
// Measured: `564`
// Estimated: `159279`
// Minimum execution time: 50_233_000 picoseconds.
Weight::from_parts(50_233_000, 0)
.saturating_add(Weight::from_parts(0, 159279))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
}
107 changes: 66 additions & 41 deletions runtime/kreivo/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@

//! Autogenerated weights for `pallet_xcm_benchmarks::fungible`
//! Autogenerated weights for `pallet_xcm_benchmarks :: fungible`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 45.0.0
//! DATE: 2025-01-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0
//! DATE: 2025-05-26, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `virto-us3`, CPU: `Intel(R) Xeon(R) Silver 4216 CPU @ 2.10GHz`
//! HOSTNAME: `gh-vm-15254924189`, CPU: `Intel(R) Xeon(R) Platinum 8473C`
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024

// Executed Command:
// /home/devops/.cargo/bin/frame-omni-bencher
// /home/runner/.cargo/bin/frame-omni-bencher
// v1
// benchmark
// pallet
Expand All @@ -19,9 +19,9 @@
// --extrinsic
// *
// --steps
// 50
// 2
// --repeat
// 20
// 1
// --output
// ./runtime/kreivo/src/weights/

Expand All @@ -42,8 +42,8 @@
// Proof Size summary in bytes:
// Measured: `101`
// Estimated: `3593`
// Minimum execution time: 114_012_000 picoseconds.
Weight::from_parts(121_413_000, 0)
// Minimum execution time: 49_347_000 picoseconds.
Weight::from_parts(49_347_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -52,10 +52,10 @@
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
pub fn transfer_asset() -> Weight {
// Proof Size summary in bytes:
// Measured: `153`
// Measured: `140`
// Estimated: `6196`
// Minimum execution time: 149_432_000 picoseconds.
Weight::from_parts(162_281_000, 0)
// Minimum execution time: 62_789_000 picoseconds.
Weight::from_parts(62_789_000, 0)
.saturating_add(Weight::from_parts(0, 6196))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
Expand All @@ -70,16 +70,42 @@
/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
pub fn transfer_reserve_asset() -> Weight {
// Proof Size summary in bytes:
// Measured: `298`
// Measured: `319`
// Estimated: `6196`
// Minimum execution time: 195_177_000 picoseconds.
Weight::from_parts(222_089_000, 0)
// Minimum execution time: 87_079_000 picoseconds.
Weight::from_parts(87_079_000, 0)
.saturating_add(Weight::from_parts(0, 6196))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: `Benchmark::Override` (r:0 w:0)
/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
pub fn reserve_asset_deposited() -> Weight {

Check warning on line 83 in runtime/kreivo/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs

View workflow job for this annotation

GitHub Actions / build

associated functions `reserve_asset_deposited` and `initiate_reserve_withdraw` are never used

Check warning on line 83 in runtime/kreivo/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs

View workflow job for this annotation

GitHub Actions / test

associated functions `reserve_asset_deposited` and `initiate_reserve_withdraw` are never used

Check warning on line 83 in runtime/kreivo/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs

View workflow job for this annotation

GitHub Actions / clippy

associated functions `reserve_asset_deposited` and `initiate_reserve_withdraw` are never used

warning: associated functions `reserve_asset_deposited` and `initiate_reserve_withdraw` are never used --> runtime/kreivo/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs:83:9 | 38 | impl<T: frame_system::Config> WeightInfo<T> { | ------------------------------------------- associated functions in this implementation ... 83 | pub fn reserve_asset_deposited() -> Weight { | ^^^^^^^^^^^^^^^^^^^^^^^ ... 97 | pub fn initiate_reserve_withdraw() -> Weight { | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
Weight::from_parts(18_446_744_073_709_551_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// Storage: `ParachainInfo::ParachainId` (r:1 w:0)
/// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
pub fn initiate_reserve_withdraw() -> Weight {
// Proof Size summary in bytes:
// Measured: `179`
// Estimated: `1664`
// Minimum execution time: 82_045_000 picoseconds.
Weight::from_parts(82_045_000, 0)
.saturating_add(Weight::from_parts(0, 1664))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `Benchmark::Override` (r:0 w:0)
/// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`)
pub fn receive_teleported_asset() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
Expand All @@ -92,10 +118,10 @@
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
pub fn deposit_asset() -> Weight {
// Proof Size summary in bytes:
// Measured: `52`
// Measured: `39`
// Estimated: `3593`
// Minimum execution time: 94_820_000 picoseconds.
Weight::from_parts(98_335_000, 0)
// Minimum execution time: 41_577_000 picoseconds.
Weight::from_parts(41_577_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
Expand All @@ -110,49 +136,48 @@
/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
pub fn deposit_reserve_asset() -> Weight {
// Proof Size summary in bytes:
// Measured: `197`
// Measured: `218`
// Estimated: `3593`
// Minimum execution time: 126_259_000 picoseconds.
Weight::from_parts(192_819_000, 0)
// Minimum execution time: 66_253_000 picoseconds.
Weight::from_parts(66_253_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `ParachainInfo::ParachainId` (r:1 w:0)
/// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
pub fn initiate_teleport() -> Weight {
// Proof Size summary in bytes:
// Measured: `145`
// Measured: `179`
// Estimated: `3593`
// Minimum execution time: 140_056_000 picoseconds.
Weight::from_parts(158_474_000, 0)
// Minimum execution time: 70_208_000 picoseconds.
Weight::from_parts(70_208_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0)
/// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `XcmPallet::SupportedVersion` (r:1 w:0)
/// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1)
/// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1)
/// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`)
pub(crate) fn initiate_transfer() -> Weight {
/// Storage: `ParachainInfo::ParachainId` (r:1 w:0)
/// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0)
/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1)
/// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
pub fn initiate_transfer() -> Weight {
// Proof Size summary in bytes:
// Measured: `180`
// Estimated: `3645`
// Minimum execution time: 82_584_000 picoseconds.
Weight::from_parts(84_614_000, 3645)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
// Measured: `218`
// Estimated: `3593`
// Minimum execution time: 102_196_000 picoseconds.
Weight::from_parts(102_196_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
}
Loading
Loading