-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'updated-weights' of https://codeberg.org/Virto/Kreivo i…
…nto updated-weights
- Loading branch information
Showing
2 changed files
with
1,278 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,176 @@ | ||
|
||
//! Autogenerated weights for `frame_system` | ||
//! | ||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 45.0.0 | ||
//! DATE: 2025-01-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` | ||
//! WORST CASE MAP SIZE: `1000000` | ||
//! HOSTNAME: `virto-us3`, CPU: `Intel(R) Xeon(R) Silver 4216 CPU @ 2.10GHz` | ||
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 | ||
// Executed Command: | ||
// /home/devops/.cargo/bin/frame-omni-bencher | ||
// v1 | ||
// benchmark | ||
// pallet | ||
// --runtime | ||
// target/release/wbuild/kreivo-runtime/kreivo_runtime.compact.compressed.wasm | ||
// --pallet | ||
// frame_system | ||
// --extrinsic | ||
// * | ||
// --steps | ||
// 50 | ||
// --repeat | ||
// 20 | ||
// --output | ||
// ./runtime/kreivo/src/weights/ | ||
|
||
#![cfg_attr(rustfmt, rustfmt_skip)] | ||
#![allow(unused_parens)] | ||
#![allow(unused_imports)] | ||
#![allow(missing_docs)] | ||
|
||
use frame_support::{traits::Get, weights::Weight}; | ||
use core::marker::PhantomData; | ||
|
||
/// Weight functions for `frame_system`. | ||
pub struct WeightInfo<T>(PhantomData<T>); | ||
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> { | ||
/// The range of component `b` is `[0, 3932160]`. | ||
fn remark(b: u32, ) -> Weight { | ||
// Proof Size summary in bytes: | ||
// Measured: `0` | ||
// Estimated: `0` | ||
// Minimum execution time: 9_408_000 picoseconds. | ||
Weight::from_parts(37_805_625, 0) | ||
.saturating_add(Weight::from_parts(0, 0)) | ||
// Standard Error: 8 | ||
.saturating_add(Weight::from_parts(1_009, 0).saturating_mul(b.into())) | ||
} | ||
/// The range of component `b` is `[0, 3932160]`. | ||
fn remark_with_event(b: u32, ) -> Weight { | ||
// Proof Size summary in bytes: | ||
// Measured: `0` | ||
// Estimated: `0` | ||
// Minimum execution time: 24_190_000 picoseconds. | ||
Weight::from_parts(27_584_000, 0) | ||
.saturating_add(Weight::from_parts(0, 0)) | ||
// Standard Error: 10 | ||
.saturating_add(Weight::from_parts(2_770, 0).saturating_mul(b.into())) | ||
} | ||
/// Storage: `System::Digest` (r:1 w:1) | ||
/// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) | ||
/// Storage: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) | ||
/// Proof: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) | ||
fn set_heap_pages() -> Weight { | ||
// Proof Size summary in bytes: | ||
// Measured: `0` | ||
// Estimated: `1485` | ||
// Minimum execution time: 19_680_000 picoseconds. | ||
Weight::from_parts(22_425_000, 0) | ||
.saturating_add(Weight::from_parts(0, 1485)) | ||
.saturating_add(T::DbWeight::get().reads(1)) | ||
.saturating_add(T::DbWeight::get().writes(2)) | ||
} | ||
/// Storage: `ParachainSystem::ValidationData` (r:1 w:0) | ||
/// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) | ||
/// Storage: `ParachainSystem::UpgradeRestrictionSignal` (r:1 w:0) | ||
/// Proof: `ParachainSystem::UpgradeRestrictionSignal` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) | ||
/// Storage: `ParachainSystem::PendingValidationCode` (r:1 w:1) | ||
/// Proof: `ParachainSystem::PendingValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) | ||
/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) | ||
/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) | ||
/// Storage: `ParachainSystem::NewValidationCode` (r:0 w:1) | ||
/// Proof: `ParachainSystem::NewValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) | ||
/// Storage: `ParachainSystem::DidSetValidationCode` (r:0 w:1) | ||
/// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) | ||
fn set_code() -> Weight { | ||
// Proof Size summary in bytes: | ||
// Measured: `198` | ||
// Estimated: `1683` | ||
// Minimum execution time: 308_068_524_000 picoseconds. | ||
Weight::from_parts(353_698_774_000, 0) | ||
.saturating_add(Weight::from_parts(0, 1683)) | ||
.saturating_add(T::DbWeight::get().reads(4)) | ||
.saturating_add(T::DbWeight::get().writes(3)) | ||
} | ||
/// Storage: `Skipped::Metadata` (r:0 w:0) | ||
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) | ||
/// The range of component `i` is `[0, 1000]`. | ||
fn set_storage(i: u32, ) -> Weight { | ||
// Proof Size summary in bytes: | ||
// Measured: `0` | ||
// Estimated: `0` | ||
// Minimum execution time: 11_558_000 picoseconds. | ||
Weight::from_parts(12_615_000, 0) | ||
.saturating_add(Weight::from_parts(0, 0)) | ||
// Standard Error: 14_779 | ||
.saturating_add(Weight::from_parts(2_664_344, 0).saturating_mul(i.into())) | ||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) | ||
} | ||
/// Storage: `Skipped::Metadata` (r:0 w:0) | ||
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) | ||
/// The range of component `i` is `[0, 1000]`. | ||
fn kill_storage(i: u32, ) -> Weight { | ||
// Proof Size summary in bytes: | ||
// Measured: `0` | ||
// Estimated: `0` | ||
// Minimum execution time: 7_643_000 picoseconds. | ||
Weight::from_parts(10_901_000, 0) | ||
.saturating_add(Weight::from_parts(0, 0)) | ||
// Standard Error: 9_640 | ||
.saturating_add(Weight::from_parts(2_039_085, 0).saturating_mul(i.into())) | ||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) | ||
} | ||
/// Storage: `Skipped::Metadata` (r:0 w:0) | ||
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) | ||
/// The range of component `p` is `[0, 1000]`. | ||
fn kill_prefix(p: u32, ) -> Weight { | ||
// Proof Size summary in bytes: | ||
// Measured: `90 + p * (69 ±0)` | ||
// Estimated: `95 + p * (70 ±0)` | ||
// Minimum execution time: 22_016_000 picoseconds. | ||
Weight::from_parts(22_317_000, 0) | ||
.saturating_add(Weight::from_parts(0, 95)) | ||
// Standard Error: 19_788 | ||
.saturating_add(Weight::from_parts(4_569_520, 0).saturating_mul(p.into())) | ||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) | ||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) | ||
.saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) | ||
} | ||
/// Storage: `System::AuthorizedUpgrade` (r:0 w:1) | ||
/// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) | ||
fn authorize_upgrade() -> Weight { | ||
// Proof Size summary in bytes: | ||
// Measured: `0` | ||
// Estimated: `0` | ||
// Minimum execution time: 38_177_000 picoseconds. | ||
Weight::from_parts(49_705_000, 0) | ||
.saturating_add(Weight::from_parts(0, 0)) | ||
.saturating_add(T::DbWeight::get().writes(1)) | ||
} | ||
/// Storage: `System::AuthorizedUpgrade` (r:1 w:1) | ||
/// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) | ||
/// Storage: `ParachainSystem::ValidationData` (r:1 w:0) | ||
/// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) | ||
/// Storage: `ParachainSystem::UpgradeRestrictionSignal` (r:1 w:0) | ||
/// Proof: `ParachainSystem::UpgradeRestrictionSignal` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) | ||
/// Storage: `ParachainSystem::PendingValidationCode` (r:1 w:1) | ||
/// Proof: `ParachainSystem::PendingValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) | ||
/// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) | ||
/// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) | ||
/// Storage: `ParachainSystem::NewValidationCode` (r:0 w:1) | ||
/// Proof: `ParachainSystem::NewValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) | ||
/// Storage: `ParachainSystem::DidSetValidationCode` (r:0 w:1) | ||
/// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) | ||
fn apply_authorized_upgrade() -> Weight { | ||
// Proof Size summary in bytes: | ||
// Measured: `220` | ||
// Estimated: `1705` | ||
// Minimum execution time: 322_325_426_000 picoseconds. | ||
Weight::from_parts(382_494_175_000, 0) | ||
.saturating_add(Weight::from_parts(0, 1705)) | ||
.saturating_add(T::DbWeight::get().reads(5)) | ||
.saturating_add(T::DbWeight::get().writes(4)) | ||
} | ||
} |
Oops, something went wrong.