-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
2,144 additions
and
1,462 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
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
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,69 @@ | ||
|
||
//! Autogenerated weights for `pallet_dispenser` | ||
//! | ||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 39.0.0 | ||
//! DATE: 2024-08-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` | ||
//! WORST CASE MAP SIZE: `1000000` | ||
//! HOSTNAME: `ip-172-31-23-147`, CPU: `AMD EPYC 9R14` | ||
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("polimec-paseo-local")`, DB CACHE: 1024 | ||
|
||
// Executed Command: | ||
// target/production/polimec-node | ||
// benchmark | ||
// pallet | ||
// --chain=polimec-paseo-local | ||
// --steps=50 | ||
// --repeat=20 | ||
// --pallet=* | ||
// --extrinsic=* | ||
// --wasm-execution=compiled | ||
// --heap-pages=4096 | ||
// --output=runtimes/polimec/src/weights/*.rs | ||
|
||
#![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 `pallet_dispenser`. | ||
pub struct WeightInfo<T>(PhantomData<T>); | ||
impl<T: frame_system::Config> pallet_dispenser::WeightInfo for WeightInfo<T> { | ||
/// Storage: `Timestamp::Now` (r:1 w:0) | ||
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) | ||
/// Storage: `Dispenser::Dispensed` (r:1 w:1) | ||
/// Proof: `Dispenser::Dispensed` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) | ||
/// Storage: `Dispenser::DispenseAmount` (r:1 w:0) | ||
/// Proof: `Dispenser::DispenseAmount` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) | ||
/// Storage: `System::Account` (r:1 w:1) | ||
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) | ||
/// Storage: `Vesting::Vesting` (r:1 w:1) | ||
/// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(481), added: 2956, mode: `MaxEncodedLen`) | ||
/// Storage: `Balances::Locks` (r:1 w:1) | ||
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) | ||
/// Storage: `Balances::Freezes` (r:1 w:0) | ||
/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) | ||
fn dispense() -> Weight { | ||
// Proof Size summary in bytes: | ||
// Measured: `254` | ||
// Estimated: `4764` | ||
// Minimum execution time: 177_511_000 picoseconds. | ||
Weight::from_parts(179_611_000, 0) | ||
.saturating_add(Weight::from_parts(0, 4764)) | ||
.saturating_add(T::DbWeight::get().reads(7)) | ||
.saturating_add(T::DbWeight::get().writes(4)) | ||
} | ||
/// Storage: `Dispenser::DispenseAmount` (r:0 w:1) | ||
/// Proof: `Dispenser::DispenseAmount` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) | ||
fn set_dispense_amount() -> Weight { | ||
// Proof Size summary in bytes: | ||
// Measured: `0` | ||
// Estimated: `0` | ||
// Minimum execution time: 2_761_000 picoseconds. | ||
Weight::from_parts(2_960_000, 0) | ||
.saturating_add(Weight::from_parts(0, 0)) | ||
.saturating_add(T::DbWeight::get().writes(1)) | ||
} | ||
} |
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
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
Oops, something went wrong.