Skip to content

Commit

Permalink
Update weights
Browse files Browse the repository at this point in the history
  • Loading branch information
aramikm authored and github-actions[bot] committed Oct 29, 2024
1 parent b8607e8 commit 5f0baca
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions pallets/passkey/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
//! Autogenerated weights for `pallet_passkey`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2024-07-15, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-10-29, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ip-10-173-4-155`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
//! HOSTNAME: `ip-10-173-10-126`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("frequency-bench")`, DB CACHE: `1024`

// Executed Command:
Expand All @@ -17,11 +17,11 @@
// --chain=frequency-bench
// --heap-pages=4096
// --wasm-execution=compiled
// --additional-trie-layers=5
// --steps=20
// --repeat=10
// --output=./scripts/../pallets/passkey/src/weights.rs
// --template=./scripts/../.maintain/frame-weight-template.hbs
// --additional-trie-layers=3

#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
Expand All @@ -48,10 +48,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn validate() -> Weight {
// Proof Size summary in bytes:
// Measured: `235`
// Estimated: `5078`
// Minimum execution time: 1_728_647_000 picoseconds.
Weight::from_parts(1_741_351_000, 5078)
// Measured: `168`
// Estimated: `4088`
// Minimum execution time: 2_182_480_000 picoseconds.
Weight::from_parts(2_190_791_000, 4088)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -63,10 +63,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn pre_dispatch() -> Weight {
// Proof Size summary in bytes:
// Measured: `131`
// Estimated: `5078`
// Minimum execution time: 1_745_366_000 picoseconds.
Weight::from_parts(1_756_751_000, 5078)
// Measured: `169`
// Estimated: `4088`
// Minimum execution time: 2_195_849_000 picoseconds.
Weight::from_parts(2_226_867_000, 4088)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
Expand All @@ -82,10 +82,10 @@ impl WeightInfo for () {
/// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn validate() -> Weight {
// Proof Size summary in bytes:
// Measured: `235`
// Estimated: `5078`
// Minimum execution time: 1_728_647_000 picoseconds.
Weight::from_parts(1_741_351_000, 5078)
// Measured: `168`
// Estimated: `4088`
// Minimum execution time: 2_182_480_000 picoseconds.
Weight::from_parts(2_190_791_000, 4088)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
Expand All @@ -97,10 +97,10 @@ impl WeightInfo for () {
/// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn pre_dispatch() -> Weight {
// Proof Size summary in bytes:
// Measured: `131`
// Estimated: `5078`
// Minimum execution time: 1_745_366_000 picoseconds.
Weight::from_parts(1_756_751_000, 5078)
// Measured: `169`
// Estimated: `4088`
// Minimum execution time: 2_195_849_000 picoseconds.
Weight::from_parts(2_226_867_000, 4088)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
Expand All @@ -113,6 +113,7 @@ mod tests {
use common_runtime::constants::{MAXIMUM_BLOCK_WEIGHT, NORMAL_DISPATCH_RATIO};
use common_runtime::weights::extrinsic_weights::ExtrinsicBaseWeight;

#[allow(dead_code)]
struct BlockWeights;
impl Get<frame_system::limits::BlockWeights> for BlockWeights {
fn get() -> frame_system::limits::BlockWeights {
Expand All @@ -137,7 +138,7 @@ mod tests {
.max_extrinsic
.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
.proof_size()
> 5078
> 4088
);
}
#[test]
Expand All @@ -149,7 +150,7 @@ mod tests {
.max_extrinsic
.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
.proof_size()
> 5078
> 4088
);
}
}

0 comments on commit 5f0baca

Please sign in to comment.