3139ffa25e
- snowbridge-pezpallet-* → pezsnowbridge-pezpallet-* (201 refs) - pallet/ directories → pezpallet/ (4 locations) - Fixed pezpallet.rs self-include recursion bug - Fixed sc-chain-spec hardcoded crate name in derive macro - Reverted .pezpallet_by_name() to .pallet_by_name() (subxt API) - Added BizinikiwiConfig type alias for zombienet tests - Deleted obsolete session state files Verified: pezsnowbridge-pezpallet-*, pezpallet-staking, pezpallet-staking-async, pezframe-benchmarking-cli all pass cargo check
173 lines
6.9 KiB
Rust
173 lines
6.9 KiB
Rust
// Copyright (C) Parity Technologies (UK) Ltd.
|
|
// This file is part of Pezkuwi.
|
|
|
|
// Pezkuwi is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
|
|
// Pezkuwi is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with Pezkuwi. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
//! Autogenerated weights for `pezframe_system`
|
|
//!
|
|
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0
|
|
//! DATE: 2025-02-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
|
//! WORST CASE MAP SIZE: `1000000`
|
|
//! HOSTNAME: `3a2e9ae8a8f5`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
|
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
|
|
|
|
// Executed Command:
|
|
// frame-omni-bencher
|
|
// v1
|
|
// benchmark
|
|
// pezpallet
|
|
// --extrinsic=*
|
|
// --runtime=target/production/wbuild/zagros-runtime/zagros_runtime.wasm
|
|
// --pezpallet=pezframe_system
|
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezkuwi/file_header.txt
|
|
// --output=./pezkuwi/runtime/zagros/src/weights
|
|
// --wasm-execution=compiled
|
|
// --steps=50
|
|
// --repeat=20
|
|
// --heap-pages=4096
|
|
// --no-storage-info
|
|
// --no-min-squares
|
|
// --no-median-slopes
|
|
|
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
|
#![allow(unused_parens)]
|
|
#![allow(unused_imports)]
|
|
#![allow(missing_docs)]
|
|
|
|
use pezframe_support::{traits::Get, weights::Weight};
|
|
use core::marker::PhantomData;
|
|
|
|
/// Weight functions for `pezframe_system`.
|
|
pub struct WeightInfo<T>(PhantomData<T>);
|
|
impl<T: pezframe_system::Config> pezframe_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: 2_046_000 picoseconds.
|
|
Weight::from_parts(2_092_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 0))
|
|
// Standard Error: 160
|
|
.saturating_add(Weight::from_parts(14_296, 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: 6_343_000 picoseconds.
|
|
Weight::from_parts(6_529_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 0))
|
|
// Standard Error: 158
|
|
.saturating_add(Weight::from_parts(15_724, 0).saturating_mul(b.into()))
|
|
}
|
|
/// 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: `0`
|
|
// Minimum execution time: 3_611_000 picoseconds.
|
|
Weight::from_parts(3_856_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 0))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: `MultiBlockMigrations::Cursor` (r:1 w:0)
|
|
/// Proof: `MultiBlockMigrations::Cursor` (`max_values`: Some(1), `max_size`: Some(65550), added: 66045, mode: `MaxEncodedLen`)
|
|
/// Storage: UNKNOWN KEY `0x3a636f6465` (r:0 w:1)
|
|
/// Proof: UNKNOWN KEY `0x3a636f6465` (r:0 w:1)
|
|
fn set_code() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `4`
|
|
// Estimated: `67035`
|
|
// Minimum execution time: 186_708_046_000 picoseconds.
|
|
Weight::from_parts(188_430_007_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 67035))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// 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: 2_067_000 picoseconds.
|
|
Weight::from_parts(2_183_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 0))
|
|
// Standard Error: 2_517
|
|
.saturating_add(Weight::from_parts(739_980, 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: 1_996_000 picoseconds.
|
|
Weight::from_parts(2_130_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 0))
|
|
// Standard Error: 1_375
|
|
.saturating_add(Weight::from_parts(575_422, 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: `69 + p * (69 ±0)`
|
|
// Estimated: `81 + p * (70 ±0)`
|
|
// Minimum execution time: 3_947_000 picoseconds.
|
|
Weight::from_parts(4_152_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 81))
|
|
// Standard Error: 2_193
|
|
.saturating_add(Weight::from_parts(1_392_480, 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: 17_968_000 picoseconds.
|
|
Weight::from_parts(19_353_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: `MultiBlockMigrations::Cursor` (r:1 w:0)
|
|
/// Proof: `MultiBlockMigrations::Cursor` (`max_values`: Some(1), `max_size`: Some(65550), added: 66045, mode: `MaxEncodedLen`)
|
|
/// Storage: UNKNOWN KEY `0x3a636f6465` (r:0 w:1)
|
|
/// Proof: UNKNOWN KEY `0x3a636f6465` (r:0 w:1)
|
|
fn apply_authorized_upgrade() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `26`
|
|
// Estimated: `67035`
|
|
// Minimum execution time: 190_893_853_000 picoseconds.
|
|
Weight::from_parts(193_181_367_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 67035))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
}
|