difftreelog
build run benchmarks
in: master
12 files changed
pallets/app-promotion/src/weights.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/weights.rs
+++ b/pallets/app-promotion/src/weights.rs
@@ -3,7 +3,9 @@
//! Autogenerated weights for pallet_app_promotion
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -16,8 +18,7 @@
// compiled
// --extrinsic
// *
-// --template
-// .maintain/frame-weight-template.hbs
+// --template=.maintain/frame-weight-template.hbs
// --steps=50
// --repeat=80
// --heap-pages=4096
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -49,194 +48,357 @@
/// Weights for pallet_app_promotion using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- // Storage: AppPromotion PendingUnstake (r:1 w:0)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: System Account (r:1 w:1)
+ /// Storage: AppPromotion PendingUnstake (r:1 w:1)
+ /// Proof: AppPromotion PendingUnstake (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen)
+ /// Storage: Balances Locks (r:3 w:3)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
+ /// Storage: System Account (r:3 w:3)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 3]`.
fn on_initialize(b: u32, ) -> Weight {
- Weight::from_ref_time(2_592_346 as u64)
- // Standard Error: 23_629
- .saturating_add(Weight::from_ref_time(7_523_802 as u64).saturating_mul(b as u64))
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(b as u64)))
- .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(b as u64)))
+ // Proof Size summary in bytes:
+ // Measured: `180 + b * (277 ±0)`
+ // Estimated: `5602 + b * (6377 ±0)`
+ // Minimum execution time: 3_724_000 picoseconds.
+ Weight::from_parts(4_538_653, 5602)
+ // Standard Error: 14_774
+ .saturating_add(Weight::from_parts(10_368_686, 0).saturating_mul(b.into()))
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))
+ .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(b.into())))
+ .saturating_add(Weight::from_parts(0, 6377).saturating_mul(b.into()))
}
- // Storage: AppPromotion Admin (r:0 w:1)
+ /// Storage: AppPromotion Admin (r:0 w:1)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
fn set_admin_address() -> Weight {
- Weight::from_ref_time(6_209_000 as u64)
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 5_426_000 picoseconds.
+ Weight::from_parts(6_149_000, 0)
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: AppPromotion Admin (r:1 w:0)
- // Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
- // Storage: ParachainSystem ValidationData (r:1 w:0)
- // Storage: AppPromotion PreviousCalculatedRecord (r:1 w:1)
- // Storage: AppPromotion Staked (r:11 w:10)
- // Storage: System Account (r:2 w:2)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Storage: AppPromotion Admin (r:1 w:0)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
+ /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)
+ /// Storage: ParachainSystem ValidationData (r:1 w:0)
+ /// Proof Skipped: ParachainSystem ValidationData (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: AppPromotion PreviousCalculatedRecord (r:1 w:1)
+ /// Proof: AppPromotion PreviousCalculatedRecord (max_values: Some(1), max_size: Some(36), added: 531, mode: MaxEncodedLen)
+ /// Storage: AppPromotion Staked (r:1001 w:1000)
+ /// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
+ /// Storage: System Account (r:101 w:101)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: Balances Locks (r:100 w:100)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
+ /// Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// The range of component `b` is `[1, 100]`.
fn payout_stakers(b: u32, ) -> Weight {
- Weight::from_ref_time(64_917_000 as u64)
- // Standard Error: 34_206
- .saturating_add(Weight::from_ref_time(51_518_500 as u64).saturating_mul(b as u64))
- .saturating_add(T::DbWeight::get().reads(7 as u64))
- .saturating_add(T::DbWeight::get().reads((12 as u64).saturating_mul(b as u64)))
- .saturating_add(T::DbWeight::get().writes(3 as u64))
- .saturating_add(T::DbWeight::get().writes((12 as u64).saturating_mul(b as u64)))
+ // Proof Size summary in bytes:
+ // Measured: `531 + b * (633 ±0)`
+ // Estimated: `16194 + b * (32560 ±0)`
+ // Minimum execution time: 84_632_000 picoseconds.
+ Weight::from_parts(800_384, 16194)
+ // Standard Error: 19_457
+ .saturating_add(Weight::from_parts(49_393_958, 0).saturating_mul(b.into()))
+ .saturating_add(T::DbWeight::get().reads(7_u64))
+ .saturating_add(T::DbWeight::get().reads((12_u64).saturating_mul(b.into())))
+ .saturating_add(T::DbWeight::get().writes(3_u64))
+ .saturating_add(T::DbWeight::get().writes((12_u64).saturating_mul(b.into())))
+ .saturating_add(Weight::from_parts(0, 32560).saturating_mul(b.into()))
}
- // Storage: AppPromotion StakesPerAccount (r:1 w:1)
- // Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
- // Storage: System Account (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: ParachainSystem ValidationData (r:1 w:0)
- // Storage: AppPromotion Staked (r:1 w:1)
- // Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Storage: AppPromotion StakesPerAccount (r:1 w:1)
+ /// Proof: AppPromotion StakesPerAccount (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
+ /// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
+ /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, 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 Locks (r:1 w:1)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
+ /// Storage: ParachainSystem ValidationData (r:1 w:0)
+ /// Proof Skipped: ParachainSystem ValidationData (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: AppPromotion Staked (r:1 w:1)
+ /// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
+ /// Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
fn stake() -> Weight {
- Weight::from_ref_time(18_208_000 as u64)
- .saturating_add(T::DbWeight::get().reads(7 as u64))
- .saturating_add(T::DbWeight::get().writes(5 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `356`
+ // Estimated: `20260`
+ // Minimum execution time: 24_750_000 picoseconds.
+ Weight::from_parts(25_157_000, 20260)
+ .saturating_add(T::DbWeight::get().reads(7_u64))
+ .saturating_add(T::DbWeight::get().writes(5_u64))
}
- // Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
- // Storage: AppPromotion PendingUnstake (r:1 w:1)
- // Storage: AppPromotion Staked (r:11 w:10)
- // Storage: AppPromotion TotalStaked (r:1 w:1)
- // Storage: AppPromotion StakesPerAccount (r:0 w:1)
+ /// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
+ /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)
+ /// Storage: AppPromotion PendingUnstake (r:1 w:1)
+ /// Proof: AppPromotion PendingUnstake (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen)
+ /// Storage: AppPromotion Staked (r:11 w:10)
+ /// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
+ /// Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: AppPromotion StakesPerAccount (r:0 w:1)
+ /// Proof: AppPromotion StakesPerAccount (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
fn unstake_all() -> Weight {
- Weight::from_ref_time(45_018_000 as u64)
- .saturating_add(T::DbWeight::get().reads(14 as u64))
- .saturating_add(T::DbWeight::get().writes(13 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `796`
+ // Estimated: `35720`
+ // Minimum execution time: 53_670_000 picoseconds.
+ Weight::from_parts(54_376_000, 35720)
+ .saturating_add(T::DbWeight::get().reads(14_u64))
+ .saturating_add(T::DbWeight::get().writes(13_u64))
}
- // Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
- // Storage: AppPromotion PendingUnstake (r:1 w:1)
- // Storage: AppPromotion Staked (r:11 w:10)
- // Storage: AppPromotion TotalStaked (r:1 w:1)
- // Storage: AppPromotion StakesPerAccount (r:1 w:1)
+ /// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
+ /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)
+ /// Storage: AppPromotion PendingUnstake (r:1 w:1)
+ /// Proof: AppPromotion PendingUnstake (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen)
+ /// Storage: AppPromotion Staked (r:11 w:10)
+ /// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
+ /// Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: AppPromotion StakesPerAccount (r:1 w:1)
+ /// Proof: AppPromotion StakesPerAccount (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
fn unstake_partial() -> Weight {
- Weight::from_ref_time(49_066_000 as u64)
- .saturating_add(T::DbWeight::get().reads(15 as u64))
- .saturating_add(T::DbWeight::get().writes(13 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `796`
+ // Estimated: `39234`
+ // Minimum execution time: 58_317_000 picoseconds.
+ Weight::from_parts(59_059_000, 39234)
+ .saturating_add(T::DbWeight::get().reads(15_u64))
+ .saturating_add(T::DbWeight::get().writes(13_u64))
}
- // Storage: AppPromotion Admin (r:1 w:0)
- // Storage: Common CollectionById (r:1 w:1)
+ /// Storage: AppPromotion Admin (r:1 w:0)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: Common CollectionById (r:1 w:1)
+ /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn sponsor_collection() -> Weight {
- Weight::from_ref_time(15_039_000 as u64)
- .saturating_add(T::DbWeight::get().reads(2 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `1027`
+ // Estimated: `5842`
+ // Minimum execution time: 18_117_000 picoseconds.
+ Weight::from_parts(18_634_000, 5842)
+ .saturating_add(T::DbWeight::get().reads(2_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: AppPromotion Admin (r:1 w:0)
- // Storage: Common CollectionById (r:1 w:1)
+ /// Storage: AppPromotion Admin (r:1 w:0)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: Common CollectionById (r:1 w:1)
+ /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn stop_sponsoring_collection() -> Weight {
- Weight::from_ref_time(14_692_000 as u64)
- .saturating_add(T::DbWeight::get().reads(2 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `1059`
+ // Estimated: `5842`
+ // Minimum execution time: 16_999_000 picoseconds.
+ Weight::from_parts(17_417_000, 5842)
+ .saturating_add(T::DbWeight::get().reads(2_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: AppPromotion Admin (r:1 w:0)
- // Storage: EvmContractHelpers Sponsoring (r:0 w:1)
+ /// Storage: AppPromotion Admin (r:1 w:0)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: EvmContractHelpers Sponsoring (r:0 w:1)
+ /// Proof: EvmContractHelpers Sponsoring (max_values: None, max_size: Some(62), added: 2537, mode: MaxEncodedLen)
fn sponsor_contract() -> Weight {
- Weight::from_ref_time(11_810_000 as u64)
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `198`
+ // Estimated: `1517`
+ // Minimum execution time: 14_438_000 picoseconds.
+ Weight::from_parts(14_931_000, 1517)
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: AppPromotion Admin (r:1 w:0)
- // Storage: EvmContractHelpers Sponsoring (r:1 w:1)
+ /// Storage: AppPromotion Admin (r:1 w:0)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: EvmContractHelpers Sponsoring (r:1 w:1)
+ /// Proof: EvmContractHelpers Sponsoring (max_values: None, max_size: Some(62), added: 2537, mode: MaxEncodedLen)
fn stop_sponsoring_contract() -> Weight {
- Weight::from_ref_time(13_570_000 as u64)
- .saturating_add(T::DbWeight::get().reads(2 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `363`
+ // Estimated: `5044`
+ // Minimum execution time: 14_786_000 picoseconds.
+ Weight::from_parts(15_105_000, 5044)
+ .saturating_add(T::DbWeight::get().reads(2_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
- // Storage: AppPromotion PendingUnstake (r:1 w:0)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: System Account (r:1 w:1)
+ /// Storage: AppPromotion PendingUnstake (r:1 w:1)
+ /// Proof: AppPromotion PendingUnstake (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen)
+ /// Storage: Balances Locks (r:3 w:3)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
+ /// Storage: System Account (r:3 w:3)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 3]`.
fn on_initialize(b: u32, ) -> Weight {
- Weight::from_ref_time(2_592_346 as u64)
- // Standard Error: 23_629
- .saturating_add(Weight::from_ref_time(7_523_802 as u64).saturating_mul(b as u64))
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().reads((2 as u64).saturating_mul(b as u64)))
- .saturating_add(RocksDbWeight::get().writes((2 as u64).saturating_mul(b as u64)))
+ // Proof Size summary in bytes:
+ // Measured: `180 + b * (277 ±0)`
+ // Estimated: `5602 + b * (6377 ±0)`
+ // Minimum execution time: 3_724_000 picoseconds.
+ Weight::from_parts(4_538_653, 5602)
+ // Standard Error: 14_774
+ .saturating_add(Weight::from_parts(10_368_686, 0).saturating_mul(b.into()))
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))
+ .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(b.into())))
+ .saturating_add(Weight::from_parts(0, 6377).saturating_mul(b.into()))
}
- // Storage: AppPromotion Admin (r:0 w:1)
+ /// Storage: AppPromotion Admin (r:0 w:1)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
fn set_admin_address() -> Weight {
- Weight::from_ref_time(6_209_000 as u64)
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 5_426_000 picoseconds.
+ Weight::from_parts(6_149_000, 0)
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: AppPromotion Admin (r:1 w:0)
- // Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
- // Storage: ParachainSystem ValidationData (r:1 w:0)
- // Storage: AppPromotion PreviousCalculatedRecord (r:1 w:1)
- // Storage: AppPromotion Staked (r:11 w:10)
- // Storage: System Account (r:2 w:2)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Storage: AppPromotion Admin (r:1 w:0)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
+ /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)
+ /// Storage: ParachainSystem ValidationData (r:1 w:0)
+ /// Proof Skipped: ParachainSystem ValidationData (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: AppPromotion PreviousCalculatedRecord (r:1 w:1)
+ /// Proof: AppPromotion PreviousCalculatedRecord (max_values: Some(1), max_size: Some(36), added: 531, mode: MaxEncodedLen)
+ /// Storage: AppPromotion Staked (r:1001 w:1000)
+ /// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
+ /// Storage: System Account (r:101 w:101)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: Balances Locks (r:100 w:100)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
+ /// Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// The range of component `b` is `[1, 100]`.
fn payout_stakers(b: u32, ) -> Weight {
- Weight::from_ref_time(64_917_000 as u64)
- // Standard Error: 34_206
- .saturating_add(Weight::from_ref_time(51_518_500 as u64).saturating_mul(b as u64))
- .saturating_add(RocksDbWeight::get().reads(7 as u64))
- .saturating_add(RocksDbWeight::get().reads((12 as u64).saturating_mul(b as u64)))
- .saturating_add(RocksDbWeight::get().writes(3 as u64))
- .saturating_add(RocksDbWeight::get().writes((12 as u64).saturating_mul(b as u64)))
+ // Proof Size summary in bytes:
+ // Measured: `531 + b * (633 ±0)`
+ // Estimated: `16194 + b * (32560 ±0)`
+ // Minimum execution time: 84_632_000 picoseconds.
+ Weight::from_parts(800_384, 16194)
+ // Standard Error: 19_457
+ .saturating_add(Weight::from_parts(49_393_958, 0).saturating_mul(b.into()))
+ .saturating_add(RocksDbWeight::get().reads(7_u64))
+ .saturating_add(RocksDbWeight::get().reads((12_u64).saturating_mul(b.into())))
+ .saturating_add(RocksDbWeight::get().writes(3_u64))
+ .saturating_add(RocksDbWeight::get().writes((12_u64).saturating_mul(b.into())))
+ .saturating_add(Weight::from_parts(0, 32560).saturating_mul(b.into()))
}
- // Storage: AppPromotion StakesPerAccount (r:1 w:1)
- // Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
- // Storage: System Account (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: ParachainSystem ValidationData (r:1 w:0)
- // Storage: AppPromotion Staked (r:1 w:1)
- // Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Storage: AppPromotion StakesPerAccount (r:1 w:1)
+ /// Proof: AppPromotion StakesPerAccount (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
+ /// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
+ /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, 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 Locks (r:1 w:1)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
+ /// Storage: ParachainSystem ValidationData (r:1 w:0)
+ /// Proof Skipped: ParachainSystem ValidationData (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: AppPromotion Staked (r:1 w:1)
+ /// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
+ /// Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
fn stake() -> Weight {
- Weight::from_ref_time(18_208_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(7 as u64))
- .saturating_add(RocksDbWeight::get().writes(5 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `356`
+ // Estimated: `20260`
+ // Minimum execution time: 24_750_000 picoseconds.
+ Weight::from_parts(25_157_000, 20260)
+ .saturating_add(RocksDbWeight::get().reads(7_u64))
+ .saturating_add(RocksDbWeight::get().writes(5_u64))
}
- // Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
- // Storage: AppPromotion PendingUnstake (r:1 w:1)
- // Storage: AppPromotion Staked (r:11 w:10)
- // Storage: AppPromotion TotalStaked (r:1 w:1)
- // Storage: AppPromotion StakesPerAccount (r:0 w:1)
+ /// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
+ /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)
+ /// Storage: AppPromotion PendingUnstake (r:1 w:1)
+ /// Proof: AppPromotion PendingUnstake (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen)
+ /// Storage: AppPromotion Staked (r:11 w:10)
+ /// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
+ /// Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: AppPromotion StakesPerAccount (r:0 w:1)
+ /// Proof: AppPromotion StakesPerAccount (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
fn unstake_all() -> Weight {
- Weight::from_ref_time(45_018_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(14 as u64))
- .saturating_add(RocksDbWeight::get().writes(13 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `796`
+ // Estimated: `35720`
+ // Minimum execution time: 53_670_000 picoseconds.
+ Weight::from_parts(54_376_000, 35720)
+ .saturating_add(RocksDbWeight::get().reads(14_u64))
+ .saturating_add(RocksDbWeight::get().writes(13_u64))
}
- // Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
- // Storage: AppPromotion PendingUnstake (r:1 w:1)
- // Storage: AppPromotion Staked (r:11 w:10)
- // Storage: AppPromotion TotalStaked (r:1 w:1)
- // Storage: AppPromotion StakesPerAccount (r:1 w:1)
+ /// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
+ /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)
+ /// Storage: AppPromotion PendingUnstake (r:1 w:1)
+ /// Proof: AppPromotion PendingUnstake (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen)
+ /// Storage: AppPromotion Staked (r:11 w:10)
+ /// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
+ /// Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: AppPromotion StakesPerAccount (r:1 w:1)
+ /// Proof: AppPromotion StakesPerAccount (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
fn unstake_partial() -> Weight {
- Weight::from_ref_time(49_066_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(15 as u64))
- .saturating_add(RocksDbWeight::get().writes(13 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `796`
+ // Estimated: `39234`
+ // Minimum execution time: 58_317_000 picoseconds.
+ Weight::from_parts(59_059_000, 39234)
+ .saturating_add(RocksDbWeight::get().reads(15_u64))
+ .saturating_add(RocksDbWeight::get().writes(13_u64))
}
- // Storage: AppPromotion Admin (r:1 w:0)
- // Storage: Common CollectionById (r:1 w:1)
+ /// Storage: AppPromotion Admin (r:1 w:0)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: Common CollectionById (r:1 w:1)
+ /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn sponsor_collection() -> Weight {
- Weight::from_ref_time(15_039_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(2 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `1027`
+ // Estimated: `5842`
+ // Minimum execution time: 18_117_000 picoseconds.
+ Weight::from_parts(18_634_000, 5842)
+ .saturating_add(RocksDbWeight::get().reads(2_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: AppPromotion Admin (r:1 w:0)
- // Storage: Common CollectionById (r:1 w:1)
+ /// Storage: AppPromotion Admin (r:1 w:0)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: Common CollectionById (r:1 w:1)
+ /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn stop_sponsoring_collection() -> Weight {
- Weight::from_ref_time(14_692_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(2 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `1059`
+ // Estimated: `5842`
+ // Minimum execution time: 16_999_000 picoseconds.
+ Weight::from_parts(17_417_000, 5842)
+ .saturating_add(RocksDbWeight::get().reads(2_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: AppPromotion Admin (r:1 w:0)
- // Storage: EvmContractHelpers Sponsoring (r:0 w:1)
+ /// Storage: AppPromotion Admin (r:1 w:0)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: EvmContractHelpers Sponsoring (r:0 w:1)
+ /// Proof: EvmContractHelpers Sponsoring (max_values: None, max_size: Some(62), added: 2537, mode: MaxEncodedLen)
fn sponsor_contract() -> Weight {
- Weight::from_ref_time(11_810_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `198`
+ // Estimated: `1517`
+ // Minimum execution time: 14_438_000 picoseconds.
+ Weight::from_parts(14_931_000, 1517)
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: AppPromotion Admin (r:1 w:0)
- // Storage: EvmContractHelpers Sponsoring (r:1 w:1)
+ /// Storage: AppPromotion Admin (r:1 w:0)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: EvmContractHelpers Sponsoring (r:1 w:1)
+ /// Proof: EvmContractHelpers Sponsoring (max_values: None, max_size: Some(62), added: 2537, mode: MaxEncodedLen)
fn stop_sponsoring_contract() -> Weight {
- Weight::from_ref_time(13_570_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(2 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `363`
+ // Estimated: `5044`
+ // Minimum execution time: 14_786_000 picoseconds.
+ Weight::from_parts(15_105_000, 5044)
+ .saturating_add(RocksDbWeight::get().reads(2_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
}
+
pallets/common/src/weights.rsdiffbeforeafterboth--- a/pallets/common/src/weights.rs
+++ b/pallets/common/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_common
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -48,11 +47,11 @@
fn set_collection_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `265`
- // Estimated: `43467`
- // Minimum execution time: 7_163_000 picoseconds.
- Weight::from_parts(586_898, 43467)
- // Standard Error: 23_783
- .saturating_add(Weight::from_parts(6_089_494, 0).saturating_mul(b.into()))
+ // Estimated: `44457`
+ // Minimum execution time: 6_805_000 picoseconds.
+ Weight::from_parts(6_965_000, 44457)
+ // Standard Error: 20_175
+ .saturating_add(Weight::from_parts(6_191_369, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -61,12 +60,12 @@
/// The range of component `b` is `[0, 64]`.
fn delete_collection_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `302 + b * (33030 ±0)`
- // Estimated: `43467`
- // Minimum execution time: 6_540_000 picoseconds.
- Weight::from_parts(6_684_000, 43467)
- // Standard Error: 67_984
- .saturating_add(Weight::from_parts(21_502_829, 0).saturating_mul(b.into()))
+ // Measured: `270 + b * (33030 ±0)`
+ // Estimated: `44457`
+ // Minimum execution time: 6_284_000 picoseconds.
+ Weight::from_parts(6_416_000, 44457)
+ // Standard Error: 81_929
+ .saturating_add(Weight::from_parts(23_972_425, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -75,9 +74,9 @@
fn check_accesslist() -> Weight {
// Proof Size summary in bytes:
// Measured: `340`
- // Estimated: `2545`
- // Minimum execution time: 2_887_000 picoseconds.
- Weight::from_parts(3_072_000, 2545)
+ // Estimated: `3535`
+ // Minimum execution time: 5_205_000 picoseconds.
+ Weight::from_parts(5_438_000, 3535)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
}
@@ -90,11 +89,11 @@
fn set_collection_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `265`
- // Estimated: `43467`
- // Minimum execution time: 7_163_000 picoseconds.
- Weight::from_parts(586_898, 43467)
- // Standard Error: 23_783
- .saturating_add(Weight::from_parts(6_089_494, 0).saturating_mul(b.into()))
+ // Estimated: `44457`
+ // Minimum execution time: 6_805_000 picoseconds.
+ Weight::from_parts(6_965_000, 44457)
+ // Standard Error: 20_175
+ .saturating_add(Weight::from_parts(6_191_369, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -103,12 +102,12 @@
/// The range of component `b` is `[0, 64]`.
fn delete_collection_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `302 + b * (33030 ±0)`
- // Estimated: `43467`
- // Minimum execution time: 6_540_000 picoseconds.
- Weight::from_parts(6_684_000, 43467)
- // Standard Error: 67_984
- .saturating_add(Weight::from_parts(21_502_829, 0).saturating_mul(b.into()))
+ // Measured: `270 + b * (33030 ±0)`
+ // Estimated: `44457`
+ // Minimum execution time: 6_284_000 picoseconds.
+ Weight::from_parts(6_416_000, 44457)
+ // Standard Error: 81_929
+ .saturating_add(Weight::from_parts(23_972_425, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -117,9 +116,9 @@
fn check_accesslist() -> Weight {
// Proof Size summary in bytes:
// Measured: `340`
- // Estimated: `2545`
- // Minimum execution time: 2_887_000 picoseconds.
- Weight::from_parts(3_072_000, 2545)
+ // Estimated: `3535`
+ // Minimum execution time: 5_205_000 picoseconds.
+ Weight::from_parts(5_438_000, 3535)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
}
pallets/configuration/src/weights.rsdiffbeforeafterboth--- a/pallets/configuration/src/weights.rs
+++ b/pallets/configuration/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_configuration
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -51,8 +50,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_565_000 picoseconds.
- Weight::from_parts(1_636_000, 0)
+ // Minimum execution time: 1_725_000 picoseconds.
+ Weight::from_parts(1_853_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Configuration MinGasPriceOverride (r:0 w:1)
@@ -61,8 +60,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_695_000 picoseconds.
- Weight::from_parts(1_798_000, 0)
+ // Minimum execution time: 1_802_000 picoseconds.
+ Weight::from_parts(1_903_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Configuration AppPromomotionConfigurationOverride (r:0 w:1)
@@ -71,8 +70,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_546_000 picoseconds.
- Weight::from_parts(2_796_000, 0)
+ // Minimum execution time: 2_048_000 picoseconds.
+ Weight::from_parts(2_157_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:0 w:1)
@@ -81,8 +80,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 7_323_000 picoseconds.
- Weight::from_parts(8_251_000, 0)
+ // Minimum execution time: 7_622_000 picoseconds.
+ Weight::from_parts(8_014_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Configuration CollatorSelectionLicenseBondOverride (r:0 w:1)
@@ -91,8 +90,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_286_000 picoseconds.
- Weight::from_parts(4_442_000, 0)
+ // Minimum execution time: 4_981_000 picoseconds.
+ Weight::from_parts(5_811_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Configuration CollatorSelectionKickThresholdOverride (r:0 w:1)
@@ -101,8 +100,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_216_000 picoseconds.
- Weight::from_parts(4_389_000, 0)
+ // Minimum execution time: 4_664_000 picoseconds.
+ Weight::from_parts(4_816_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
}
@@ -115,8 +114,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_565_000 picoseconds.
- Weight::from_parts(1_636_000, 0)
+ // Minimum execution time: 1_725_000 picoseconds.
+ Weight::from_parts(1_853_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Configuration MinGasPriceOverride (r:0 w:1)
@@ -125,8 +124,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_695_000 picoseconds.
- Weight::from_parts(1_798_000, 0)
+ // Minimum execution time: 1_802_000 picoseconds.
+ Weight::from_parts(1_903_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Configuration AppPromomotionConfigurationOverride (r:0 w:1)
@@ -135,8 +134,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_546_000 picoseconds.
- Weight::from_parts(2_796_000, 0)
+ // Minimum execution time: 2_048_000 picoseconds.
+ Weight::from_parts(2_157_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:0 w:1)
@@ -145,8 +144,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 7_323_000 picoseconds.
- Weight::from_parts(8_251_000, 0)
+ // Minimum execution time: 7_622_000 picoseconds.
+ Weight::from_parts(8_014_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Configuration CollatorSelectionLicenseBondOverride (r:0 w:1)
@@ -155,8 +154,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_286_000 picoseconds.
- Weight::from_parts(4_442_000, 0)
+ // Minimum execution time: 4_981_000 picoseconds.
+ Weight::from_parts(5_811_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Configuration CollatorSelectionKickThresholdOverride (r:0 w:1)
@@ -165,8 +164,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_216_000 picoseconds.
- Weight::from_parts(4_389_000, 0)
+ // Minimum execution time: 4_664_000 picoseconds.
+ Weight::from_parts(4_816_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
}
pallets/evm-migration/src/weights.rsdiffbeforeafterboth--- a/pallets/evm-migration/src/weights.rs
+++ b/pallets/evm-migration/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_evm_migration
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -53,9 +52,9 @@
fn begin() -> Weight {
// Proof Size summary in bytes:
// Measured: `94`
- // Estimated: `7676`
- // Minimum execution time: 12_699_000 picoseconds.
- Weight::from_parts(12_989_000, 7676)
+ // Estimated: `10646`
+ // Minimum execution time: 8_519_000 picoseconds.
+ Weight::from_parts(8_729_000, 10646)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -67,11 +66,11 @@
fn set_data(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `96`
- // Estimated: `2600`
- // Minimum execution time: 9_157_000 picoseconds.
- Weight::from_parts(7_442_065, 2600)
- // Standard Error: 1_138
- .saturating_add(Weight::from_parts(934_789, 0).saturating_mul(b.into()))
+ // Estimated: `3590`
+ // Minimum execution time: 6_062_000 picoseconds.
+ Weight::from_parts(7_193_727, 3590)
+ // Standard Error: 1_844
+ .saturating_add(Weight::from_parts(876_826, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(b.into())))
}
@@ -80,14 +79,12 @@
/// Storage: EVM AccountCodes (r:0 w:1)
/// Proof Skipped: EVM AccountCodes (max_values: None, max_size: None, mode: Measured)
/// The range of component `b` is `[0, 80]`.
- fn finish(b: u32, ) -> Weight {
+ fn finish(_b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `96`
- // Estimated: `2600`
- // Minimum execution time: 7_719_000 picoseconds.
- Weight::from_parts(8_237_929, 2600)
- // Standard Error: 266
- .saturating_add(Weight::from_parts(3_473, 0).saturating_mul(b.into()))
+ // Estimated: `3590`
+ // Minimum execution time: 7_452_000 picoseconds.
+ Weight::from_parts(8_531_888, 3590)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -96,20 +93,20 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_193_000 picoseconds.
- Weight::from_parts(2_667_314, 0)
- // Standard Error: 583
- .saturating_add(Weight::from_parts(690_704, 0).saturating_mul(b.into()))
+ // Minimum execution time: 1_377_000 picoseconds.
+ Weight::from_parts(3_388_877, 0)
+ // Standard Error: 1_205
+ .saturating_add(Weight::from_parts(696_701, 0).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 200]`.
fn insert_events(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_253_000 picoseconds.
- Weight::from_parts(4_685_069, 0)
- // Standard Error: 1_036
- .saturating_add(Weight::from_parts(1_322_329, 0).saturating_mul(b.into()))
+ // Minimum execution time: 1_671_000 picoseconds.
+ Weight::from_parts(4_402_497, 0)
+ // Standard Error: 723
+ .saturating_add(Weight::from_parts(1_338_678, 0).saturating_mul(b.into()))
}
}
@@ -124,9 +121,9 @@
fn begin() -> Weight {
// Proof Size summary in bytes:
// Measured: `94`
- // Estimated: `7676`
- // Minimum execution time: 12_699_000 picoseconds.
- Weight::from_parts(12_989_000, 7676)
+ // Estimated: `10646`
+ // Minimum execution time: 8_519_000 picoseconds.
+ Weight::from_parts(8_729_000, 10646)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -138,11 +135,11 @@
fn set_data(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `96`
- // Estimated: `2600`
- // Minimum execution time: 9_157_000 picoseconds.
- Weight::from_parts(7_442_065, 2600)
- // Standard Error: 1_138
- .saturating_add(Weight::from_parts(934_789, 0).saturating_mul(b.into()))
+ // Estimated: `3590`
+ // Minimum execution time: 6_062_000 picoseconds.
+ Weight::from_parts(7_193_727, 3590)
+ // Standard Error: 1_844
+ .saturating_add(Weight::from_parts(876_826, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(b.into())))
}
@@ -151,14 +148,12 @@
/// Storage: EVM AccountCodes (r:0 w:1)
/// Proof Skipped: EVM AccountCodes (max_values: None, max_size: None, mode: Measured)
/// The range of component `b` is `[0, 80]`.
- fn finish(b: u32, ) -> Weight {
+ fn finish(_b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `96`
- // Estimated: `2600`
- // Minimum execution time: 7_719_000 picoseconds.
- Weight::from_parts(8_237_929, 2600)
- // Standard Error: 266
- .saturating_add(Weight::from_parts(3_473, 0).saturating_mul(b.into()))
+ // Estimated: `3590`
+ // Minimum execution time: 7_452_000 picoseconds.
+ Weight::from_parts(8_531_888, 3590)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -167,20 +162,20 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_193_000 picoseconds.
- Weight::from_parts(2_667_314, 0)
- // Standard Error: 583
- .saturating_add(Weight::from_parts(690_704, 0).saturating_mul(b.into()))
+ // Minimum execution time: 1_377_000 picoseconds.
+ Weight::from_parts(3_388_877, 0)
+ // Standard Error: 1_205
+ .saturating_add(Weight::from_parts(696_701, 0).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 200]`.
fn insert_events(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_253_000 picoseconds.
- Weight::from_parts(4_685_069, 0)
- // Standard Error: 1_036
- .saturating_add(Weight::from_parts(1_322_329, 0).saturating_mul(b.into()))
+ // Minimum execution time: 1_671_000 picoseconds.
+ Weight::from_parts(4_402_497, 0)
+ // Standard Error: 723
+ .saturating_add(Weight::from_parts(1_338_678, 0).saturating_mul(b.into()))
}
}
pallets/foreign-assets/src/weights.rsdiffbeforeafterboth--- a/pallets/foreign-assets/src/weights.rs
+++ b/pallets/foreign-assets/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_foreign_assets
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -65,10 +64,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn register_foreign_asset() -> Weight {
// Proof Size summary in bytes:
- // Measured: `318`
- // Estimated: `17918`
- // Minimum execution time: 45_521_000 picoseconds.
- Weight::from_parts(46_333_000, 17918)
+ // Measured: `286`
+ // Estimated: `25838`
+ // Minimum execution time: 37_778_000 picoseconds.
+ Weight::from_parts(38_334_000, 25838)
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(11_u64))
}
@@ -79,9 +78,9 @@
fn update_foreign_asset() -> Weight {
// Proof Size summary in bytes:
// Measured: `197`
- // Estimated: `5635`
- // Minimum execution time: 13_542_000 picoseconds.
- Weight::from_parts(13_913_000, 5635)
+ // Estimated: `7615`
+ // Minimum execution time: 13_739_000 picoseconds.
+ Weight::from_parts(22_366_000, 7615)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -113,10 +112,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn register_foreign_asset() -> Weight {
// Proof Size summary in bytes:
- // Measured: `318`
- // Estimated: `17918`
- // Minimum execution time: 45_521_000 picoseconds.
- Weight::from_parts(46_333_000, 17918)
+ // Measured: `286`
+ // Estimated: `25838`
+ // Minimum execution time: 37_778_000 picoseconds.
+ Weight::from_parts(38_334_000, 25838)
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().writes(11_u64))
}
@@ -127,9 +126,9 @@
fn update_foreign_asset() -> Weight {
// Proof Size summary in bytes:
// Measured: `197`
- // Estimated: `5635`
- // Minimum execution time: 13_542_000 picoseconds.
- Weight::from_parts(13_913_000, 5635)
+ // Estimated: `7615`
+ // Minimum execution time: 13_739_000 picoseconds.
+ Weight::from_parts(22_366_000, 7615)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
pallets/fungible/src/weights.rsdiffbeforeafterboth--- a/pallets/fungible/src/weights.rs
+++ b/pallets/fungible/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_fungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -55,9 +54,9 @@
fn create_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
- // Estimated: `5055`
- // Minimum execution time: 10_152_000 picoseconds.
- Weight::from_parts(10_520_000, 5055)
+ // Estimated: `7035`
+ // Minimum execution time: 10_168_000 picoseconds.
+ Weight::from_parts(10_453_000, 7035)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -69,11 +68,11 @@
fn create_multiple_items_ex(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
- // Estimated: `2503 + b * (2552 ±0)`
- // Minimum execution time: 3_437_000 picoseconds.
- Weight::from_parts(13_322_752, 2503)
- // Standard Error: 1_728
- .saturating_add(Weight::from_parts(3_605_522, 0).saturating_mul(b.into()))
+ // Estimated: `4483 + b * (2552 ±0)`
+ // Minimum execution time: 3_248_000 picoseconds.
+ Weight::from_parts(12_455_981, 4483)
+ // Standard Error: 2_698
+ .saturating_add(Weight::from_parts(3_426_148, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
@@ -87,9 +86,9 @@
fn burn_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `197`
- // Estimated: `5055`
- // Minimum execution time: 12_894_000 picoseconds.
- Weight::from_parts(13_347_000, 5055)
+ // Estimated: `7035`
+ // Minimum execution time: 12_717_000 picoseconds.
+ Weight::from_parts(13_031_000, 7035)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -98,9 +97,9 @@
fn transfer_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
- // Estimated: `5104`
- // Minimum execution time: 6_678_000 picoseconds.
- Weight::from_parts(7_151_000, 5104)
+ // Estimated: `6094`
+ // Minimum execution time: 13_640_000 picoseconds.
+ Weight::from_parts(13_935_000, 6094)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -111,9 +110,9 @@
fn approve() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
- // Estimated: `2552`
- // Minimum execution time: 12_417_000 picoseconds.
- Weight::from_parts(12_658_000, 2552)
+ // Estimated: `3542`
+ // Minimum execution time: 11_769_000 picoseconds.
+ Weight::from_parts(12_072_000, 3542)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -124,9 +123,9 @@
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `170`
- // Estimated: `2552`
- // Minimum execution time: 12_322_000 picoseconds.
- Weight::from_parts(12_629_000, 2552)
+ // Estimated: `3542`
+ // Minimum execution time: 11_603_000 picoseconds.
+ Weight::from_parts(12_003_000, 3542)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -135,9 +134,9 @@
fn check_allowed_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `210`
- // Estimated: `2568`
- // Minimum execution time: 2_842_000 picoseconds.
- Weight::from_parts(3_077_000, 2568)
+ // Estimated: `3558`
+ // Minimum execution time: 5_682_000 picoseconds.
+ Weight::from_parts(5_892_000, 3558)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Fungible Allowance (r:0 w:1)
@@ -146,8 +145,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_532_000 picoseconds.
- Weight::from_parts(2_680_000, 0)
+ // Minimum execution time: 6_415_000 picoseconds.
+ Weight::from_parts(6_599_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Fungible Allowance (r:1 w:1)
@@ -159,9 +158,9 @@
fn burn_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `315`
- // Estimated: `7623`
- // Minimum execution time: 21_271_000 picoseconds.
- Weight::from_parts(21_709_000, 7623)
+ // Estimated: `10593`
+ // Minimum execution time: 20_257_000 picoseconds.
+ Weight::from_parts(20_625_000, 10593)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -176,9 +175,9 @@
fn create_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
- // Estimated: `5055`
- // Minimum execution time: 10_152_000 picoseconds.
- Weight::from_parts(10_520_000, 5055)
+ // Estimated: `7035`
+ // Minimum execution time: 10_168_000 picoseconds.
+ Weight::from_parts(10_453_000, 7035)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -190,11 +189,11 @@
fn create_multiple_items_ex(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
- // Estimated: `2503 + b * (2552 ±0)`
- // Minimum execution time: 3_437_000 picoseconds.
- Weight::from_parts(13_322_752, 2503)
- // Standard Error: 1_728
- .saturating_add(Weight::from_parts(3_605_522, 0).saturating_mul(b.into()))
+ // Estimated: `4483 + b * (2552 ±0)`
+ // Minimum execution time: 3_248_000 picoseconds.
+ Weight::from_parts(12_455_981, 4483)
+ // Standard Error: 2_698
+ .saturating_add(Weight::from_parts(3_426_148, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
@@ -208,9 +207,9 @@
fn burn_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `197`
- // Estimated: `5055`
- // Minimum execution time: 12_894_000 picoseconds.
- Weight::from_parts(13_347_000, 5055)
+ // Estimated: `7035`
+ // Minimum execution time: 12_717_000 picoseconds.
+ Weight::from_parts(13_031_000, 7035)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -219,9 +218,9 @@
fn transfer_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
- // Estimated: `5104`
- // Minimum execution time: 6_678_000 picoseconds.
- Weight::from_parts(7_151_000, 5104)
+ // Estimated: `6094`
+ // Minimum execution time: 13_640_000 picoseconds.
+ Weight::from_parts(13_935_000, 6094)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -232,9 +231,9 @@
fn approve() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
- // Estimated: `2552`
- // Minimum execution time: 12_417_000 picoseconds.
- Weight::from_parts(12_658_000, 2552)
+ // Estimated: `3542`
+ // Minimum execution time: 11_769_000 picoseconds.
+ Weight::from_parts(12_072_000, 3542)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -245,9 +244,9 @@
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `170`
- // Estimated: `2552`
- // Minimum execution time: 12_322_000 picoseconds.
- Weight::from_parts(12_629_000, 2552)
+ // Estimated: `3542`
+ // Minimum execution time: 11_603_000 picoseconds.
+ Weight::from_parts(12_003_000, 3542)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -256,9 +255,9 @@
fn check_allowed_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `210`
- // Estimated: `2568`
- // Minimum execution time: 2_842_000 picoseconds.
- Weight::from_parts(3_077_000, 2568)
+ // Estimated: `3558`
+ // Minimum execution time: 5_682_000 picoseconds.
+ Weight::from_parts(5_892_000, 3558)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Fungible Allowance (r:0 w:1)
@@ -267,8 +266,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_532_000 picoseconds.
- Weight::from_parts(2_680_000, 0)
+ // Minimum execution time: 6_415_000 picoseconds.
+ Weight::from_parts(6_599_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Fungible Allowance (r:1 w:1)
@@ -280,9 +279,9 @@
fn burn_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `315`
- // Estimated: `7623`
- // Minimum execution time: 21_271_000 picoseconds.
- Weight::from_parts(21_709_000, 7623)
+ // Estimated: `10593`
+ // Minimum execution time: 20_257_000 picoseconds.
+ Weight::from_parts(20_625_000, 10593)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
pallets/maintenance/src/weights.rsdiffbeforeafterboth--- a/pallets/maintenance/src/weights.rs
+++ b/pallets/maintenance/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_maintenance
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -48,8 +47,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_721_000 picoseconds.
- Weight::from_parts(4_918_000, 0)
+ // Minimum execution time: 4_407_000 picoseconds.
+ Weight::from_parts(4_556_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Maintenance Enabled (r:0 w:1)
@@ -58,8 +57,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_795_000 picoseconds.
- Weight::from_parts(5_006_000, 0)
+ // Minimum execution time: 5_868_000 picoseconds.
+ Weight::from_parts(6_100_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Preimage StatusFor (r:1 w:0)
@@ -69,9 +68,9 @@
fn execute_preimage() -> Weight {
// Proof Size summary in bytes:
// Measured: `209`
- // Estimated: `5250`
- // Minimum execution time: 10_004_000 picoseconds.
- Weight::from_parts(10_964_000, 5250)
+ // Estimated: `7230`
+ // Minimum execution time: 14_046_000 picoseconds.
+ Weight::from_parts(14_419_000, 7230)
.saturating_add(T::DbWeight::get().reads(2_u64))
}
}
@@ -84,8 +83,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_721_000 picoseconds.
- Weight::from_parts(4_918_000, 0)
+ // Minimum execution time: 4_407_000 picoseconds.
+ Weight::from_parts(4_556_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Maintenance Enabled (r:0 w:1)
@@ -94,8 +93,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_795_000 picoseconds.
- Weight::from_parts(5_006_000, 0)
+ // Minimum execution time: 5_868_000 picoseconds.
+ Weight::from_parts(6_100_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Preimage StatusFor (r:1 w:0)
@@ -105,9 +104,9 @@
fn execute_preimage() -> Weight {
// Proof Size summary in bytes:
// Measured: `209`
- // Estimated: `5250`
- // Minimum execution time: 10_004_000 picoseconds.
- Weight::from_parts(10_964_000, 5250)
+ // Estimated: `7230`
+ // Minimum execution time: 14_046_000 picoseconds.
+ Weight::from_parts(14_419_000, 7230)
.saturating_add(RocksDbWeight::get().reads(2_u64))
}
}
pallets/nonfungible/src/weights.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/weights.rs
+++ b/pallets/nonfungible/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_nonfungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -72,9 +71,9 @@
fn create_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `390`
- // Estimated: `59511`
- // Minimum execution time: 23_081_000 picoseconds.
- Weight::from_parts(23_551_000, 59511)
+ // Estimated: `63471`
+ // Minimum execution time: 25_892_000 picoseconds.
+ Weight::from_parts(26_424_000, 63471)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -94,11 +93,11 @@
fn create_multiple_items(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `390`
- // Estimated: `24232 + b * (35279 ±0)`
- // Minimum execution time: 4_557_000 picoseconds.
- Weight::from_parts(5_994_058, 24232)
- // Standard Error: 4_326
- .saturating_add(Weight::from_parts(7_369_489, 0).saturating_mul(b.into()))
+ // Estimated: `28192 + b * (35279 ±0)`
+ // Minimum execution time: 4_612_000 picoseconds.
+ Weight::from_parts(6_399_460, 28192)
+ // Standard Error: 5_119
+ .saturating_add(Weight::from_parts(7_230_389, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(2_u64))
@@ -121,11 +120,11 @@
fn create_multiple_items_ex(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `390`
- // Estimated: `21692 + b * (37819 ±0)`
- // Minimum execution time: 4_533_000 picoseconds.
- Weight::from_parts(2_822_660, 21692)
- // Standard Error: 3_650
- .saturating_add(Weight::from_parts(9_100_706, 0).saturating_mul(b.into()))
+ // Estimated: `25652 + b * (37819 ±0)`
+ // Minimum execution time: 4_538_000 picoseconds.
+ Weight::from_parts(4_686_000, 25652)
+ // Standard Error: 3_518
+ .saturating_add(Weight::from_parts(8_905_771, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
@@ -148,10 +147,10 @@
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_item() -> Weight {
// Proof Size summary in bytes:
- // Measured: `412`
- // Estimated: `12611`
- // Minimum execution time: 23_528_000 picoseconds.
- Weight::from_parts(24_680_000, 12611)
+ // Measured: `380`
+ // Estimated: `17561`
+ // Minimum execution time: 24_230_000 picoseconds.
+ Weight::from_parts(24_672_000, 17561)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -171,10 +170,10 @@
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_recursively_self_raw() -> Weight {
// Proof Size summary in bytes:
- // Measured: `412`
- // Estimated: `12611`
- // Minimum execution time: 29_770_000 picoseconds.
- Weight::from_parts(30_114_000, 12611)
+ // Measured: `380`
+ // Estimated: `17561`
+ // Minimum execution time: 30_521_000 picoseconds.
+ Weight::from_parts(31_241_000, 17561)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -197,12 +196,12 @@
/// The range of component `b` is `[0, 200]`.
fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `1530 + b * (58 ±0)`
- // Estimated: `18290 + b * (10097 ±0)`
- // Minimum execution time: 31_413_000 picoseconds.
- Weight::from_parts(31_865_000, 18290)
- // Standard Error: 980_032
- .saturating_add(Weight::from_parts(205_236_443, 0).saturating_mul(b.into()))
+ // Measured: `1467 + b * (58 ±0)`
+ // Estimated: `24230 + b * (10097 ±0)`
+ // Minimum execution time: 31_734_000 picoseconds.
+ Weight::from_parts(32_162_000, 24230)
+ // Standard Error: 210_514
+ .saturating_add(Weight::from_parts(71_382_804, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(6_u64))
@@ -219,10 +218,10 @@
/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn transfer_raw() -> Weight {
// Proof Size summary in bytes:
- // Measured: `412`
- // Estimated: `10144`
- // Minimum execution time: 9_307_000 picoseconds.
- Weight::from_parts(10_108_000, 10144)
+ // Measured: `380`
+ // Estimated: `13114`
+ // Minimum execution time: 18_305_000 picoseconds.
+ Weight::from_parts(18_859_000, 13114)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -232,10 +231,10 @@
/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn approve() -> Weight {
// Proof Size summary in bytes:
- // Measured: `358`
- // Estimated: `5064`
- // Minimum execution time: 11_507_000 picoseconds.
- Weight::from_parts(11_771_000, 5064)
+ // Measured: `326`
+ // Estimated: `7044`
+ // Minimum execution time: 10_977_000 picoseconds.
+ Weight::from_parts(11_184_000, 7044)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -246,9 +245,9 @@
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `313`
- // Estimated: `5064`
- // Minimum execution time: 11_558_000 picoseconds.
- Weight::from_parts(11_789_000, 5064)
+ // Estimated: `7044`
+ // Minimum execution time: 11_456_000 picoseconds.
+ Weight::from_parts(11_731_000, 7044)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -256,10 +255,10 @@
/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn check_allowed_raw() -> Weight {
// Proof Size summary in bytes:
- // Measured: `394`
- // Estimated: `2532`
- // Minimum execution time: 2_668_000 picoseconds.
- Weight::from_parts(2_877_000, 2532)
+ // Measured: `362`
+ // Estimated: `3522`
+ // Minimum execution time: 5_771_000 picoseconds.
+ Weight::from_parts(5_972_000, 3522)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible Allowance (r:1 w:1)
@@ -278,10 +277,10 @@
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_from() -> Weight {
// Proof Size summary in bytes:
- // Measured: `527`
- // Estimated: `12611`
- // Minimum execution time: 30_713_000 picoseconds.
- Weight::from_parts(31_160_000, 12611)
+ // Measured: `463`
+ // Estimated: `17561`
+ // Minimum execution time: 30_633_000 picoseconds.
+ Weight::from_parts(31_136_000, 17561)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -291,11 +290,11 @@
fn set_token_property_permissions(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `281`
- // Estimated: `19201`
- // Minimum execution time: 2_360_000 picoseconds.
- Weight::from_parts(2_396_000, 19201)
- // Standard Error: 43_257
- .saturating_add(Weight::from_parts(12_085_808, 0).saturating_mul(b.into()))
+ // Estimated: `20191`
+ // Minimum execution time: 2_300_000 picoseconds.
+ Weight::from_parts(2_382_000, 20191)
+ // Standard Error: 45_076
+ .saturating_add(Weight::from_parts(12_000_777, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -306,12 +305,12 @@
/// The range of component `b` is `[0, 64]`.
fn set_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `616 + b * (261 ±0)`
- // Estimated: `54480`
- // Minimum execution time: 12_543_000 picoseconds.
- Weight::from_parts(12_686_000, 54480)
- // Standard Error: 52_286
- .saturating_add(Weight::from_parts(6_894_785, 0).saturating_mul(b.into()))
+ // Measured: `584 + b * (261 ±0)`
+ // Estimated: `56460`
+ // Minimum execution time: 12_422_000 picoseconds.
+ Weight::from_parts(5_523_689, 56460)
+ // Standard Error: 74_137
+ .saturating_add(Weight::from_parts(6_320_501, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -322,12 +321,12 @@
/// The range of component `b` is `[0, 64]`.
fn delete_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `653 + b * (33291 ±0)`
- // Estimated: `54480`
- // Minimum execution time: 12_352_000 picoseconds.
- Weight::from_parts(12_523_000, 54480)
- // Standard Error: 70_401
- .saturating_add(Weight::from_parts(21_959_228, 0).saturating_mul(b.into()))
+ // Measured: `589 + b * (33291 ±0)`
+ // Estimated: `56460`
+ // Minimum execution time: 12_006_000 picoseconds.
+ Weight::from_parts(12_216_000, 56460)
+ // Standard Error: 83_431
+ .saturating_add(Weight::from_parts(24_556_999, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -335,10 +334,10 @@
/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn token_owner() -> Weight {
// Proof Size summary in bytes:
- // Measured: `358`
- // Estimated: `2532`
- // Minimum execution time: 4_797_000 picoseconds.
- Weight::from_parts(5_499_000, 2532)
+ // Measured: `326`
+ // Estimated: `3522`
+ // Minimum execution time: 4_827_000 picoseconds.
+ Weight::from_parts(4_984_000, 3522)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible CollectionAllowance (r:0 w:1)
@@ -347,8 +346,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 6_303_000 picoseconds.
- Weight::from_parts(6_712_000, 0)
+ // Minimum execution time: 6_151_000 picoseconds.
+ Weight::from_parts(6_394_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Nonfungible CollectionAllowance (r:1 w:0)
@@ -356,9 +355,9 @@
fn allowance_for_all() -> Weight {
// Proof Size summary in bytes:
// Measured: `109`
- // Estimated: `2586`
- // Minimum execution time: 3_798_000 picoseconds.
- Weight::from_parts(4_017_000, 2586)
+ // Estimated: `3576`
+ // Minimum execution time: 3_791_000 picoseconds.
+ Weight::from_parts(3_950_000, 3576)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible TokenProperties (r:1 w:1)
@@ -366,9 +365,9 @@
fn repair_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `300`
- // Estimated: `35279`
- // Minimum execution time: 5_531_000 picoseconds.
- Weight::from_parts(5_750_000, 35279)
+ // Estimated: `36269`
+ // Minimum execution time: 5_364_000 picoseconds.
+ Weight::from_parts(5_539_000, 36269)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -391,9 +390,9 @@
fn create_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `390`
- // Estimated: `59511`
- // Minimum execution time: 23_081_000 picoseconds.
- Weight::from_parts(23_551_000, 59511)
+ // Estimated: `63471`
+ // Minimum execution time: 25_892_000 picoseconds.
+ Weight::from_parts(26_424_000, 63471)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -413,11 +412,11 @@
fn create_multiple_items(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `390`
- // Estimated: `24232 + b * (35279 ±0)`
- // Minimum execution time: 4_557_000 picoseconds.
- Weight::from_parts(5_994_058, 24232)
- // Standard Error: 4_326
- .saturating_add(Weight::from_parts(7_369_489, 0).saturating_mul(b.into()))
+ // Estimated: `28192 + b * (35279 ±0)`
+ // Minimum execution time: 4_612_000 picoseconds.
+ Weight::from_parts(6_399_460, 28192)
+ // Standard Error: 5_119
+ .saturating_add(Weight::from_parts(7_230_389, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(2_u64))
@@ -440,11 +439,11 @@
fn create_multiple_items_ex(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `390`
- // Estimated: `21692 + b * (37819 ±0)`
- // Minimum execution time: 4_533_000 picoseconds.
- Weight::from_parts(2_822_660, 21692)
- // Standard Error: 3_650
- .saturating_add(Weight::from_parts(9_100_706, 0).saturating_mul(b.into()))
+ // Estimated: `25652 + b * (37819 ±0)`
+ // Minimum execution time: 4_538_000 picoseconds.
+ Weight::from_parts(4_686_000, 25652)
+ // Standard Error: 3_518
+ .saturating_add(Weight::from_parts(8_905_771, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
@@ -467,10 +466,10 @@
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_item() -> Weight {
// Proof Size summary in bytes:
- // Measured: `412`
- // Estimated: `12611`
- // Minimum execution time: 23_528_000 picoseconds.
- Weight::from_parts(24_680_000, 12611)
+ // Measured: `380`
+ // Estimated: `17561`
+ // Minimum execution time: 24_230_000 picoseconds.
+ Weight::from_parts(24_672_000, 17561)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -490,10 +489,10 @@
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_recursively_self_raw() -> Weight {
// Proof Size summary in bytes:
- // Measured: `412`
- // Estimated: `12611`
- // Minimum execution time: 29_770_000 picoseconds.
- Weight::from_parts(30_114_000, 12611)
+ // Measured: `380`
+ // Estimated: `17561`
+ // Minimum execution time: 30_521_000 picoseconds.
+ Weight::from_parts(31_241_000, 17561)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -516,12 +515,12 @@
/// The range of component `b` is `[0, 200]`.
fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `1530 + b * (58 ±0)`
- // Estimated: `18290 + b * (10097 ±0)`
- // Minimum execution time: 31_413_000 picoseconds.
- Weight::from_parts(31_865_000, 18290)
- // Standard Error: 980_032
- .saturating_add(Weight::from_parts(205_236_443, 0).saturating_mul(b.into()))
+ // Measured: `1467 + b * (58 ±0)`
+ // Estimated: `24230 + b * (10097 ±0)`
+ // Minimum execution time: 31_734_000 picoseconds.
+ Weight::from_parts(32_162_000, 24230)
+ // Standard Error: 210_514
+ .saturating_add(Weight::from_parts(71_382_804, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(6_u64))
@@ -538,10 +537,10 @@
/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn transfer_raw() -> Weight {
// Proof Size summary in bytes:
- // Measured: `412`
- // Estimated: `10144`
- // Minimum execution time: 9_307_000 picoseconds.
- Weight::from_parts(10_108_000, 10144)
+ // Measured: `380`
+ // Estimated: `13114`
+ // Minimum execution time: 18_305_000 picoseconds.
+ Weight::from_parts(18_859_000, 13114)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -551,10 +550,10 @@
/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn approve() -> Weight {
// Proof Size summary in bytes:
- // Measured: `358`
- // Estimated: `5064`
- // Minimum execution time: 11_507_000 picoseconds.
- Weight::from_parts(11_771_000, 5064)
+ // Measured: `326`
+ // Estimated: `7044`
+ // Minimum execution time: 10_977_000 picoseconds.
+ Weight::from_parts(11_184_000, 7044)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -565,9 +564,9 @@
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `313`
- // Estimated: `5064`
- // Minimum execution time: 11_558_000 picoseconds.
- Weight::from_parts(11_789_000, 5064)
+ // Estimated: `7044`
+ // Minimum execution time: 11_456_000 picoseconds.
+ Weight::from_parts(11_731_000, 7044)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -575,10 +574,10 @@
/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn check_allowed_raw() -> Weight {
// Proof Size summary in bytes:
- // Measured: `394`
- // Estimated: `2532`
- // Minimum execution time: 2_668_000 picoseconds.
- Weight::from_parts(2_877_000, 2532)
+ // Measured: `362`
+ // Estimated: `3522`
+ // Minimum execution time: 5_771_000 picoseconds.
+ Weight::from_parts(5_972_000, 3522)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible Allowance (r:1 w:1)
@@ -597,10 +596,10 @@
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_from() -> Weight {
// Proof Size summary in bytes:
- // Measured: `527`
- // Estimated: `12611`
- // Minimum execution time: 30_713_000 picoseconds.
- Weight::from_parts(31_160_000, 12611)
+ // Measured: `463`
+ // Estimated: `17561`
+ // Minimum execution time: 30_633_000 picoseconds.
+ Weight::from_parts(31_136_000, 17561)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -610,11 +609,11 @@
fn set_token_property_permissions(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `281`
- // Estimated: `19201`
- // Minimum execution time: 2_360_000 picoseconds.
- Weight::from_parts(2_396_000, 19201)
- // Standard Error: 43_257
- .saturating_add(Weight::from_parts(12_085_808, 0).saturating_mul(b.into()))
+ // Estimated: `20191`
+ // Minimum execution time: 2_300_000 picoseconds.
+ Weight::from_parts(2_382_000, 20191)
+ // Standard Error: 45_076
+ .saturating_add(Weight::from_parts(12_000_777, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -625,12 +624,12 @@
/// The range of component `b` is `[0, 64]`.
fn set_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `616 + b * (261 ±0)`
- // Estimated: `54480`
- // Minimum execution time: 12_543_000 picoseconds.
- Weight::from_parts(12_686_000, 54480)
- // Standard Error: 52_286
- .saturating_add(Weight::from_parts(6_894_785, 0).saturating_mul(b.into()))
+ // Measured: `584 + b * (261 ±0)`
+ // Estimated: `56460`
+ // Minimum execution time: 12_422_000 picoseconds.
+ Weight::from_parts(5_523_689, 56460)
+ // Standard Error: 74_137
+ .saturating_add(Weight::from_parts(6_320_501, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -641,12 +640,12 @@
/// The range of component `b` is `[0, 64]`.
fn delete_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `653 + b * (33291 ±0)`
- // Estimated: `54480`
- // Minimum execution time: 12_352_000 picoseconds.
- Weight::from_parts(12_523_000, 54480)
- // Standard Error: 70_401
- .saturating_add(Weight::from_parts(21_959_228, 0).saturating_mul(b.into()))
+ // Measured: `589 + b * (33291 ±0)`
+ // Estimated: `56460`
+ // Minimum execution time: 12_006_000 picoseconds.
+ Weight::from_parts(12_216_000, 56460)
+ // Standard Error: 83_431
+ .saturating_add(Weight::from_parts(24_556_999, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -654,10 +653,10 @@
/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn token_owner() -> Weight {
// Proof Size summary in bytes:
- // Measured: `358`
- // Estimated: `2532`
- // Minimum execution time: 4_797_000 picoseconds.
- Weight::from_parts(5_499_000, 2532)
+ // Measured: `326`
+ // Estimated: `3522`
+ // Minimum execution time: 4_827_000 picoseconds.
+ Weight::from_parts(4_984_000, 3522)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible CollectionAllowance (r:0 w:1)
@@ -666,8 +665,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 6_303_000 picoseconds.
- Weight::from_parts(6_712_000, 0)
+ // Minimum execution time: 6_151_000 picoseconds.
+ Weight::from_parts(6_394_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Nonfungible CollectionAllowance (r:1 w:0)
@@ -675,9 +674,9 @@
fn allowance_for_all() -> Weight {
// Proof Size summary in bytes:
// Measured: `109`
- // Estimated: `2586`
- // Minimum execution time: 3_798_000 picoseconds.
- Weight::from_parts(4_017_000, 2586)
+ // Estimated: `3576`
+ // Minimum execution time: 3_791_000 picoseconds.
+ Weight::from_parts(3_950_000, 3576)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible TokenProperties (r:1 w:1)
@@ -685,9 +684,9 @@
fn repair_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `300`
- // Estimated: `35279`
- // Minimum execution time: 5_531_000 picoseconds.
- Weight::from_parts(5_750_000, 35279)
+ // Estimated: `36269`
+ // Minimum execution time: 5_364_000 picoseconds.
+ Weight::from_parts(5_539_000, 36269)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
pallets/refungible/src/weights.rsdiffbeforeafterboth1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_refungible4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`8//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024910// Executed Command:11// target/release/unique-collator12// benchmark13// pallet14// --pallet15// pallet-refungible16// --wasm-execution17// compiled18// --extrinsic19// *20// --template=.maintain/frame-weight-template.hbs21// --steps=5022// --repeat=8023// --heap-pages=409624// --output=./pallets/refungible/src/weights.rs2526#![cfg_attr(rustfmt, rustfmt_skip)]27#![allow(unused_parens)]28#![allow(unused_imports)]29#![allow(missing_docs)]30#![allow(clippy::unnecessary_cast)]3132use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};33use sp_std::marker::PhantomData;3435/// Weight functions needed for pallet_refungible.36pub trait WeightInfo {37 fn create_item() -> Weight;38 fn create_multiple_items(b: u32, ) -> Weight;39 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight;40 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight;41 fn burn_item_partial() -> Weight;42 fn burn_item_fully() -> Weight;43 fn transfer_normal() -> Weight;44 fn transfer_creating() -> Weight;45 fn transfer_removing() -> Weight;46 fn transfer_creating_removing() -> Weight;47 fn approve() -> Weight;48 fn approve_from() -> Weight;49 fn transfer_from_normal() -> Weight;50 fn transfer_from_creating() -> Weight;51 fn transfer_from_removing() -> Weight;52 fn transfer_from_creating_removing() -> Weight;53 fn burn_from() -> Weight;54 fn set_token_property_permissions(b: u32, ) -> Weight;55 fn set_token_properties(b: u32, ) -> Weight;56 fn delete_token_properties(b: u32, ) -> Weight;57 fn repartition_item() -> Weight;58 fn token_owner() -> Weight;59 fn set_allowance_for_all() -> Weight;60 fn allowance_for_all() -> Weight;61 fn repair_item() -> Weight;62}6364/// Weights for pallet_refungible using the Substrate node and recommended hardware.65pub struct SubstrateWeight<T>(PhantomData<T>);66impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {67 /// Storage: Refungible TokensMinted (r:1 w:1)68 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)69 /// Storage: Refungible AccountBalance (r:1 w:1)70 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)71 /// Storage: Refungible TokenProperties (r:1 w:1)72 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)73 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)74 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)75 /// Storage: Refungible Balance (r:0 w:1)76 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)77 /// Storage: Refungible TotalSupply (r:0 w:1)78 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)79 /// Storage: Refungible Owned (r:0 w:1)80 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)81 fn create_item() -> Weight {82 // Proof Size summary in bytes:83 // Measured: `285`84 // Estimated: `59511`85 // Minimum execution time: 25_287_000 picoseconds.86 Weight::from_parts(25_741_000, 59511)87 .saturating_add(T::DbWeight::get().reads(4_u64))88 .saturating_add(T::DbWeight::get().writes(6_u64))89 }90 /// Storage: Refungible TokensMinted (r:1 w:1)91 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)92 /// Storage: Refungible AccountBalance (r:1 w:1)93 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)94 /// Storage: Refungible TokenProperties (r:200 w:200)95 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)96 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)97 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)98 /// Storage: Refungible Balance (r:0 w:200)99 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)100 /// Storage: Refungible TotalSupply (r:0 w:200)101 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)102 /// Storage: Refungible Owned (r:0 w:200)103 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)104 /// The range of component `b` is `[0, 200]`.105 fn create_multiple_items(b: u32, ) -> Weight {106 // Proof Size summary in bytes:107 // Measured: `285`108 // Estimated: `24232 + b * (35279 ±0)`109 // Minimum execution time: 4_618_000 picoseconds.110 Weight::from_parts(1_425_218, 24232)111 // Standard Error: 4_343112 .saturating_add(Weight::from_parts(9_154_733, 0).saturating_mul(b.into()))113 .saturating_add(T::DbWeight::get().reads(3_u64))114 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))115 .saturating_add(T::DbWeight::get().writes(2_u64))116 .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))117 .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))118 }119 /// Storage: Refungible TokensMinted (r:1 w:1)120 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)121 /// Storage: Refungible AccountBalance (r:200 w:200)122 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)123 /// Storage: Refungible TokenProperties (r:200 w:200)124 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)125 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)126 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)127 /// Storage: Refungible Balance (r:0 w:200)128 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)129 /// Storage: Refungible TotalSupply (r:0 w:200)130 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)131 /// Storage: Refungible Owned (r:0 w:200)132 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)133 /// The range of component `b` is `[0, 200]`.134 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {135 // Proof Size summary in bytes:136 // Measured: `285`137 // Estimated: `21692 + b * (37819 ±0)`138 // Minimum execution time: 4_063_000 picoseconds.139 Weight::from_parts(4_160_000, 21692)140 // Standard Error: 2_386141 .saturating_add(Weight::from_parts(10_836_802, 0).saturating_mul(b.into()))142 .saturating_add(T::DbWeight::get().reads(2_u64))143 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))144 .saturating_add(T::DbWeight::get().writes(1_u64))145 .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(b.into())))146 .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))147 }148 /// Storage: Refungible TokensMinted (r:1 w:1)149 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)150 /// Storage: Refungible AccountBalance (r:200 w:200)151 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)152 /// Storage: Refungible TokenProperties (r:1 w:1)153 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)154 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)155 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)156 /// Storage: Refungible Balance (r:0 w:200)157 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)158 /// Storage: Refungible TotalSupply (r:0 w:1)159 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)160 /// Storage: Refungible Owned (r:0 w:200)161 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)162 /// The range of component `b` is `[0, 200]`.163 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {164 // Proof Size summary in bytes:165 // Measured: `285`166 // Estimated: `56971 + b * (2540 ±0)`167 // Minimum execution time: 14_637_000 picoseconds.168 Weight::from_parts(19_042_423, 56971)169 // Standard Error: 1_632170 .saturating_add(Weight::from_parts(5_976_694, 0).saturating_mul(b.into()))171 .saturating_add(T::DbWeight::get().reads(3_u64))172 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))173 .saturating_add(T::DbWeight::get().writes(3_u64))174 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))175 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))176 }177 /// Storage: Refungible Balance (r:3 w:1)178 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)179 /// Storage: Refungible TotalSupply (r:1 w:1)180 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)181 /// Storage: Refungible AccountBalance (r:1 w:1)182 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)183 /// Storage: Refungible Owned (r:0 w:1)184 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)185 fn burn_item_partial() -> Weight {186 // Proof Size summary in bytes:187 // Measured: `490`188 // Estimated: `12747`189 // Minimum execution time: 35_018_000 picoseconds.190 Weight::from_parts(35_596_000, 12747)191 .saturating_add(T::DbWeight::get().reads(5_u64))192 .saturating_add(T::DbWeight::get().writes(4_u64))193 }194 /// Storage: Refungible Balance (r:1 w:1)195 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)196 /// Storage: Refungible TotalSupply (r:1 w:1)197 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)198 /// Storage: Refungible AccountBalance (r:1 w:1)199 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)200 /// Storage: Refungible TokensBurnt (r:1 w:1)201 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)202 /// Storage: Refungible Owned (r:0 w:1)203 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)204 /// Storage: Refungible TokenProperties (r:0 w:1)205 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)206 fn burn_item_fully() -> Weight {207 // Proof Size summary in bytes:208 // Measured: `375`209 // Estimated: `10110`210 // Minimum execution time: 30_441_000 picoseconds.211 Weight::from_parts(31_000_000, 10110)212 .saturating_add(T::DbWeight::get().reads(4_u64))213 .saturating_add(T::DbWeight::get().writes(6_u64))214 }215 /// Storage: Refungible Balance (r:2 w:2)216 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)217 /// Storage: Refungible TotalSupply (r:1 w:0)218 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)219 fn transfer_normal() -> Weight {220 // Proof Size summary in bytes:221 // Measured: `398`222 // Estimated: `7643`223 // Minimum execution time: 20_055_000 picoseconds.224 Weight::from_parts(20_533_000, 7643)225 .saturating_add(T::DbWeight::get().reads(3_u64))226 .saturating_add(T::DbWeight::get().writes(2_u64))227 }228 /// Storage: Refungible Balance (r:2 w:2)229 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)230 /// Storage: Refungible AccountBalance (r:1 w:1)231 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)232 /// Storage: Refungible TotalSupply (r:1 w:0)233 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)234 /// Storage: Refungible Owned (r:0 w:1)235 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)236 fn transfer_creating() -> Weight {237 // Proof Size summary in bytes:238 // Measured: `375`239 // Estimated: `10183`240 // Minimum execution time: 23_443_000 picoseconds.241 Weight::from_parts(23_791_000, 10183)242 .saturating_add(T::DbWeight::get().reads(4_u64))243 .saturating_add(T::DbWeight::get().writes(4_u64))244 }245 /// Storage: Refungible Balance (r:2 w:2)246 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)247 /// Storage: Refungible AccountBalance (r:1 w:1)248 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)249 /// Storage: Refungible TotalSupply (r:1 w:0)250 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)251 /// Storage: Refungible Owned (r:0 w:1)252 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)253 fn transfer_removing() -> Weight {254 // Proof Size summary in bytes:255 // Measured: `490`256 // Estimated: `10183`257 // Minimum execution time: 26_489_000 picoseconds.258 Weight::from_parts(27_103_000, 10183)259 .saturating_add(T::DbWeight::get().reads(4_u64))260 .saturating_add(T::DbWeight::get().writes(4_u64))261 }262 /// Storage: Refungible Balance (r:2 w:2)263 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)264 /// Storage: Refungible AccountBalance (r:2 w:2)265 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)266 /// Storage: Refungible TotalSupply (r:1 w:0)267 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)268 /// Storage: Refungible Owned (r:0 w:2)269 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)270 fn transfer_creating_removing() -> Weight {271 // Proof Size summary in bytes:272 // Measured: `375`273 // Estimated: `12723`274 // Minimum execution time: 26_719_000 picoseconds.275 Weight::from_parts(27_038_000, 12723)276 .saturating_add(T::DbWeight::get().reads(5_u64))277 .saturating_add(T::DbWeight::get().writes(6_u64))278 }279 /// Storage: Refungible Balance (r:1 w:0)280 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)281 /// Storage: Refungible Allowance (r:0 w:1)282 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)283 fn approve() -> Weight {284 // Proof Size summary in bytes:285 // Measured: `256`286 // Estimated: `2564`287 // Minimum execution time: 12_949_000 picoseconds.288 Weight::from_parts(13_181_000, 2564)289 .saturating_add(T::DbWeight::get().reads(1_u64))290 .saturating_add(T::DbWeight::get().writes(1_u64))291 }292 /// Storage: Refungible Balance (r:1 w:0)293 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)294 /// Storage: Refungible Allowance (r:0 w:1)295 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)296 fn approve_from() -> Weight {297 // Proof Size summary in bytes:298 // Measured: `244`299 // Estimated: `2564`300 // Minimum execution time: 12_942_000 picoseconds.301 Weight::from_parts(13_268_000, 2564)302 .saturating_add(T::DbWeight::get().reads(1_u64))303 .saturating_add(T::DbWeight::get().writes(1_u64))304 }305 /// Storage: Refungible Allowance (r:1 w:1)306 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)307 /// Storage: Refungible Balance (r:2 w:2)308 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)309 /// Storage: Refungible TotalSupply (r:1 w:0)310 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)311 fn transfer_from_normal() -> Weight {312 // Proof Size summary in bytes:313 // Measured: `528`314 // Estimated: `10223`315 // Minimum execution time: 28_907_000 picoseconds.316 Weight::from_parts(29_487_000, 10223)317 .saturating_add(T::DbWeight::get().reads(4_u64))318 .saturating_add(T::DbWeight::get().writes(3_u64))319 }320 /// Storage: Refungible Allowance (r:1 w:1)321 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)322 /// Storage: Refungible Balance (r:2 w:2)323 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)324 /// Storage: Refungible AccountBalance (r:1 w:1)325 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)326 /// Storage: Refungible TotalSupply (r:1 w:0)327 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)328 /// Storage: Refungible Owned (r:0 w:1)329 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)330 fn transfer_from_creating() -> Weight {331 // Proof Size summary in bytes:332 // Measured: `505`333 // Estimated: `12763`334 // Minimum execution time: 31_271_000 picoseconds.335 Weight::from_parts(32_293_000, 12763)336 .saturating_add(T::DbWeight::get().reads(5_u64))337 .saturating_add(T::DbWeight::get().writes(5_u64))338 }339 /// Storage: Refungible Allowance (r:1 w:1)340 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)341 /// Storage: Refungible Balance (r:2 w:2)342 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)343 /// Storage: Refungible AccountBalance (r:1 w:1)344 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)345 /// Storage: Refungible TotalSupply (r:1 w:0)346 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)347 /// Storage: Refungible Owned (r:0 w:1)348 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)349 fn transfer_from_removing() -> Weight {350 // Proof Size summary in bytes:351 // Measured: `620`352 // Estimated: `12763`353 // Minimum execution time: 34_295_000 picoseconds.354 Weight::from_parts(34_924_000, 12763)355 .saturating_add(T::DbWeight::get().reads(5_u64))356 .saturating_add(T::DbWeight::get().writes(5_u64))357 }358 /// Storage: Refungible Allowance (r:1 w:1)359 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)360 /// Storage: Refungible Balance (r:2 w:2)361 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)362 /// Storage: Refungible AccountBalance (r:2 w:2)363 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)364 /// Storage: Refungible TotalSupply (r:1 w:0)365 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)366 /// Storage: Refungible Owned (r:0 w:2)367 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)368 fn transfer_from_creating_removing() -> Weight {369 // Proof Size summary in bytes:370 // Measured: `505`371 // Estimated: `15303`372 // Minimum execution time: 35_447_000 picoseconds.373 Weight::from_parts(35_896_000, 15303)374 .saturating_add(T::DbWeight::get().reads(6_u64))375 .saturating_add(T::DbWeight::get().writes(7_u64))376 }377 /// Storage: Refungible Allowance (r:1 w:1)378 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)379 /// Storage: Refungible Balance (r:1 w:1)380 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)381 /// Storage: Refungible TotalSupply (r:1 w:1)382 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)383 /// Storage: Refungible AccountBalance (r:1 w:1)384 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)385 /// Storage: Refungible TokensBurnt (r:1 w:1)386 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)387 /// Storage: Refungible Owned (r:0 w:1)388 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)389 /// Storage: Refungible TokenProperties (r:0 w:1)390 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)391 fn burn_from() -> Weight {392 // Proof Size summary in bytes:393 // Measured: `505`394 // Estimated: `12690`395 // Minimum execution time: 39_395_000 picoseconds.396 Weight::from_parts(40_119_000, 12690)397 .saturating_add(T::DbWeight::get().reads(5_u64))398 .saturating_add(T::DbWeight::get().writes(7_u64))399 }400 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)401 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)402 /// The range of component `b` is `[0, 64]`.403 fn set_token_property_permissions(b: u32, ) -> Weight {404 // Proof Size summary in bytes:405 // Measured: `281`406 // Estimated: `19201`407 // Minimum execution time: 2_337_000 picoseconds.408 Weight::from_parts(2_434_000, 19201)409 // Standard Error: 43_425410 .saturating_add(Weight::from_parts(12_286_502, 0).saturating_mul(b.into()))411 .saturating_add(T::DbWeight::get().reads(1_u64))412 .saturating_add(T::DbWeight::get().writes(1_u64))413 }414 /// Storage: Refungible TokenProperties (r:1 w:1)415 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)416 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)417 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)418 /// The range of component `b` is `[0, 64]`.419 fn set_token_properties(b: u32, ) -> Weight {420 // Proof Size summary in bytes:421 // Measured: `490 + b * (261 ±0)`422 // Estimated: `54480`423 // Minimum execution time: 11_857_000 picoseconds.424 Weight::from_parts(12_007_000, 54480)425 // Standard Error: 22_963426 .saturating_add(Weight::from_parts(6_609_180, 0).saturating_mul(b.into()))427 .saturating_add(T::DbWeight::get().reads(2_u64))428 .saturating_add(T::DbWeight::get().writes(1_u64))429 }430 /// Storage: Refungible TokenProperties (r:1 w:1)431 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)432 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)433 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)434 /// The range of component `b` is `[0, 64]`.435 fn delete_token_properties(b: u32, ) -> Weight {436 // Proof Size summary in bytes:437 // Measured: `527 + b * (33291 ±0)`438 // Estimated: `54480`439 // Minimum execution time: 12_001_000 picoseconds.440 Weight::from_parts(12_197_000, 54480)441 // Standard Error: 70_580442 .saturating_add(Weight::from_parts(21_847_004, 0).saturating_mul(b.into()))443 .saturating_add(T::DbWeight::get().reads(2_u64))444 .saturating_add(T::DbWeight::get().writes(1_u64))445 }446 /// Storage: Refungible TotalSupply (r:1 w:1)447 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)448 /// Storage: Refungible Balance (r:1 w:1)449 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)450 fn repartition_item() -> Weight {451 // Proof Size summary in bytes:452 // Measured: `321`453 // Estimated: `5079`454 // Minimum execution time: 14_497_000 picoseconds.455 Weight::from_parts(14_825_000, 5079)456 .saturating_add(T::DbWeight::get().reads(2_u64))457 .saturating_add(T::DbWeight::get().writes(2_u64))458 }459 /// Storage: Refungible Balance (r:2 w:0)460 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)461 fn token_owner() -> Weight {462 // Proof Size summary in bytes:463 // Measured: `321`464 // Estimated: `5128`465 // Minimum execution time: 8_888_000 picoseconds.466 Weight::from_parts(9_373_000, 5128)467 .saturating_add(T::DbWeight::get().reads(2_u64))468 }469 /// Storage: Refungible CollectionAllowance (r:0 w:1)470 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)471 fn set_allowance_for_all() -> Weight {472 // Proof Size summary in bytes:473 // Measured: `0`474 // Estimated: `0`475 // Minimum execution time: 7_042_000 picoseconds.476 Weight::from_parts(7_245_000, 0)477 .saturating_add(T::DbWeight::get().writes(1_u64))478 }479 /// Storage: Refungible CollectionAllowance (r:1 w:0)480 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)481 fn allowance_for_all() -> Weight {482 // Proof Size summary in bytes:483 // Measured: `4`484 // Estimated: `2586`485 // Minimum execution time: 3_425_000 picoseconds.486 Weight::from_parts(3_554_000, 2586)487 .saturating_add(T::DbWeight::get().reads(1_u64))488 }489 /// Storage: Refungible TokenProperties (r:1 w:1)490 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)491 fn repair_item() -> Weight {492 // Proof Size summary in bytes:493 // Measured: `174`494 // Estimated: `35279`495 // Minimum execution time: 4_684_000 picoseconds.496 Weight::from_parts(4_805_000, 35279)497 .saturating_add(T::DbWeight::get().reads(1_u64))498 .saturating_add(T::DbWeight::get().writes(1_u64))499 }500}501502// For backwards compatibility and tests503impl WeightInfo for () {504 /// Storage: Refungible TokensMinted (r:1 w:1)505 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)506 /// Storage: Refungible AccountBalance (r:1 w:1)507 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)508 /// Storage: Refungible TokenProperties (r:1 w:1)509 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)510 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)511 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)512 /// Storage: Refungible Balance (r:0 w:1)513 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)514 /// Storage: Refungible TotalSupply (r:0 w:1)515 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)516 /// Storage: Refungible Owned (r:0 w:1)517 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)518 fn create_item() -> Weight {519 // Proof Size summary in bytes:520 // Measured: `285`521 // Estimated: `59511`522 // Minimum execution time: 25_287_000 picoseconds.523 Weight::from_parts(25_741_000, 59511)524 .saturating_add(RocksDbWeight::get().reads(4_u64))525 .saturating_add(RocksDbWeight::get().writes(6_u64))526 }527 /// Storage: Refungible TokensMinted (r:1 w:1)528 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)529 /// Storage: Refungible AccountBalance (r:1 w:1)530 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)531 /// Storage: Refungible TokenProperties (r:200 w:200)532 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)533 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)534 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)535 /// Storage: Refungible Balance (r:0 w:200)536 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)537 /// Storage: Refungible TotalSupply (r:0 w:200)538 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)539 /// Storage: Refungible Owned (r:0 w:200)540 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)541 /// The range of component `b` is `[0, 200]`.542 fn create_multiple_items(b: u32, ) -> Weight {543 // Proof Size summary in bytes:544 // Measured: `285`545 // Estimated: `24232 + b * (35279 ±0)`546 // Minimum execution time: 4_618_000 picoseconds.547 Weight::from_parts(1_425_218, 24232)548 // Standard Error: 4_343549 .saturating_add(Weight::from_parts(9_154_733, 0).saturating_mul(b.into()))550 .saturating_add(RocksDbWeight::get().reads(3_u64))551 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))552 .saturating_add(RocksDbWeight::get().writes(2_u64))553 .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))554 .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))555 }556 /// Storage: Refungible TokensMinted (r:1 w:1)557 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)558 /// Storage: Refungible AccountBalance (r:200 w:200)559 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)560 /// Storage: Refungible TokenProperties (r:200 w:200)561 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)562 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)563 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)564 /// Storage: Refungible Balance (r:0 w:200)565 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)566 /// Storage: Refungible TotalSupply (r:0 w:200)567 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)568 /// Storage: Refungible Owned (r:0 w:200)569 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)570 /// The range of component `b` is `[0, 200]`.571 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {572 // Proof Size summary in bytes:573 // Measured: `285`574 // Estimated: `21692 + b * (37819 ±0)`575 // Minimum execution time: 4_063_000 picoseconds.576 Weight::from_parts(4_160_000, 21692)577 // Standard Error: 2_386578 .saturating_add(Weight::from_parts(10_836_802, 0).saturating_mul(b.into()))579 .saturating_add(RocksDbWeight::get().reads(2_u64))580 .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))581 .saturating_add(RocksDbWeight::get().writes(1_u64))582 .saturating_add(RocksDbWeight::get().writes((5_u64).saturating_mul(b.into())))583 .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))584 }585 /// Storage: Refungible TokensMinted (r:1 w:1)586 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)587 /// Storage: Refungible AccountBalance (r:200 w:200)588 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)589 /// Storage: Refungible TokenProperties (r:1 w:1)590 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)591 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)592 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)593 /// Storage: Refungible Balance (r:0 w:200)594 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)595 /// Storage: Refungible TotalSupply (r:0 w:1)596 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)597 /// Storage: Refungible Owned (r:0 w:200)598 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)599 /// The range of component `b` is `[0, 200]`.600 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {601 // Proof Size summary in bytes:602 // Measured: `285`603 // Estimated: `56971 + b * (2540 ±0)`604 // Minimum execution time: 14_637_000 picoseconds.605 Weight::from_parts(19_042_423, 56971)606 // Standard Error: 1_632607 .saturating_add(Weight::from_parts(5_976_694, 0).saturating_mul(b.into()))608 .saturating_add(RocksDbWeight::get().reads(3_u64))609 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))610 .saturating_add(RocksDbWeight::get().writes(3_u64))611 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))612 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))613 }614 /// Storage: Refungible Balance (r:3 w:1)615 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)616 /// Storage: Refungible TotalSupply (r:1 w:1)617 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)618 /// Storage: Refungible AccountBalance (r:1 w:1)619 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)620 /// Storage: Refungible Owned (r:0 w:1)621 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)622 fn burn_item_partial() -> Weight {623 // Proof Size summary in bytes:624 // Measured: `490`625 // Estimated: `12747`626 // Minimum execution time: 35_018_000 picoseconds.627 Weight::from_parts(35_596_000, 12747)628 .saturating_add(RocksDbWeight::get().reads(5_u64))629 .saturating_add(RocksDbWeight::get().writes(4_u64))630 }631 /// Storage: Refungible Balance (r:1 w:1)632 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)633 /// Storage: Refungible TotalSupply (r:1 w:1)634 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)635 /// Storage: Refungible AccountBalance (r:1 w:1)636 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)637 /// Storage: Refungible TokensBurnt (r:1 w:1)638 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)639 /// Storage: Refungible Owned (r:0 w:1)640 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)641 /// Storage: Refungible TokenProperties (r:0 w:1)642 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)643 fn burn_item_fully() -> Weight {644 // Proof Size summary in bytes:645 // Measured: `375`646 // Estimated: `10110`647 // Minimum execution time: 30_441_000 picoseconds.648 Weight::from_parts(31_000_000, 10110)649 .saturating_add(RocksDbWeight::get().reads(4_u64))650 .saturating_add(RocksDbWeight::get().writes(6_u64))651 }652 /// Storage: Refungible Balance (r:2 w:2)653 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)654 /// Storage: Refungible TotalSupply (r:1 w:0)655 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)656 fn transfer_normal() -> Weight {657 // Proof Size summary in bytes:658 // Measured: `398`659 // Estimated: `7643`660 // Minimum execution time: 20_055_000 picoseconds.661 Weight::from_parts(20_533_000, 7643)662 .saturating_add(RocksDbWeight::get().reads(3_u64))663 .saturating_add(RocksDbWeight::get().writes(2_u64))664 }665 /// Storage: Refungible Balance (r:2 w:2)666 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)667 /// Storage: Refungible AccountBalance (r:1 w:1)668 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)669 /// Storage: Refungible TotalSupply (r:1 w:0)670 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)671 /// Storage: Refungible Owned (r:0 w:1)672 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)673 fn transfer_creating() -> Weight {674 // Proof Size summary in bytes:675 // Measured: `375`676 // Estimated: `10183`677 // Minimum execution time: 23_443_000 picoseconds.678 Weight::from_parts(23_791_000, 10183)679 .saturating_add(RocksDbWeight::get().reads(4_u64))680 .saturating_add(RocksDbWeight::get().writes(4_u64))681 }682 /// Storage: Refungible Balance (r:2 w:2)683 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)684 /// Storage: Refungible AccountBalance (r:1 w:1)685 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)686 /// Storage: Refungible TotalSupply (r:1 w:0)687 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)688 /// Storage: Refungible Owned (r:0 w:1)689 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)690 fn transfer_removing() -> Weight {691 // Proof Size summary in bytes:692 // Measured: `490`693 // Estimated: `10183`694 // Minimum execution time: 26_489_000 picoseconds.695 Weight::from_parts(27_103_000, 10183)696 .saturating_add(RocksDbWeight::get().reads(4_u64))697 .saturating_add(RocksDbWeight::get().writes(4_u64))698 }699 /// Storage: Refungible Balance (r:2 w:2)700 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)701 /// Storage: Refungible AccountBalance (r:2 w:2)702 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)703 /// Storage: Refungible TotalSupply (r:1 w:0)704 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)705 /// Storage: Refungible Owned (r:0 w:2)706 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)707 fn transfer_creating_removing() -> Weight {708 // Proof Size summary in bytes:709 // Measured: `375`710 // Estimated: `12723`711 // Minimum execution time: 26_719_000 picoseconds.712 Weight::from_parts(27_038_000, 12723)713 .saturating_add(RocksDbWeight::get().reads(5_u64))714 .saturating_add(RocksDbWeight::get().writes(6_u64))715 }716 /// Storage: Refungible Balance (r:1 w:0)717 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)718 /// Storage: Refungible Allowance (r:0 w:1)719 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)720 fn approve() -> Weight {721 // Proof Size summary in bytes:722 // Measured: `256`723 // Estimated: `2564`724 // Minimum execution time: 12_949_000 picoseconds.725 Weight::from_parts(13_181_000, 2564)726 .saturating_add(RocksDbWeight::get().reads(1_u64))727 .saturating_add(RocksDbWeight::get().writes(1_u64))728 }729 /// Storage: Refungible Balance (r:1 w:0)730 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)731 /// Storage: Refungible Allowance (r:0 w:1)732 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)733 fn approve_from() -> Weight {734 // Proof Size summary in bytes:735 // Measured: `244`736 // Estimated: `2564`737 // Minimum execution time: 12_942_000 picoseconds.738 Weight::from_parts(13_268_000, 2564)739 .saturating_add(RocksDbWeight::get().reads(1_u64))740 .saturating_add(RocksDbWeight::get().writes(1_u64))741 }742 /// Storage: Refungible Allowance (r:1 w:1)743 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)744 /// Storage: Refungible Balance (r:2 w:2)745 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)746 /// Storage: Refungible TotalSupply (r:1 w:0)747 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)748 fn transfer_from_normal() -> Weight {749 // Proof Size summary in bytes:750 // Measured: `528`751 // Estimated: `10223`752 // Minimum execution time: 28_907_000 picoseconds.753 Weight::from_parts(29_487_000, 10223)754 .saturating_add(RocksDbWeight::get().reads(4_u64))755 .saturating_add(RocksDbWeight::get().writes(3_u64))756 }757 /// Storage: Refungible Allowance (r:1 w:1)758 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)759 /// Storage: Refungible Balance (r:2 w:2)760 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)761 /// Storage: Refungible AccountBalance (r:1 w:1)762 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)763 /// Storage: Refungible TotalSupply (r:1 w:0)764 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)765 /// Storage: Refungible Owned (r:0 w:1)766 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)767 fn transfer_from_creating() -> Weight {768 // Proof Size summary in bytes:769 // Measured: `505`770 // Estimated: `12763`771 // Minimum execution time: 31_271_000 picoseconds.772 Weight::from_parts(32_293_000, 12763)773 .saturating_add(RocksDbWeight::get().reads(5_u64))774 .saturating_add(RocksDbWeight::get().writes(5_u64))775 }776 /// Storage: Refungible Allowance (r:1 w:1)777 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)778 /// Storage: Refungible Balance (r:2 w:2)779 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)780 /// Storage: Refungible AccountBalance (r:1 w:1)781 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)782 /// Storage: Refungible TotalSupply (r:1 w:0)783 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)784 /// Storage: Refungible Owned (r:0 w:1)785 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)786 fn transfer_from_removing() -> Weight {787 // Proof Size summary in bytes:788 // Measured: `620`789 // Estimated: `12763`790 // Minimum execution time: 34_295_000 picoseconds.791 Weight::from_parts(34_924_000, 12763)792 .saturating_add(RocksDbWeight::get().reads(5_u64))793 .saturating_add(RocksDbWeight::get().writes(5_u64))794 }795 /// Storage: Refungible Allowance (r:1 w:1)796 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)797 /// Storage: Refungible Balance (r:2 w:2)798 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)799 /// Storage: Refungible AccountBalance (r:2 w:2)800 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)801 /// Storage: Refungible TotalSupply (r:1 w:0)802 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)803 /// Storage: Refungible Owned (r:0 w:2)804 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)805 fn transfer_from_creating_removing() -> Weight {806 // Proof Size summary in bytes:807 // Measured: `505`808 // Estimated: `15303`809 // Minimum execution time: 35_447_000 picoseconds.810 Weight::from_parts(35_896_000, 15303)811 .saturating_add(RocksDbWeight::get().reads(6_u64))812 .saturating_add(RocksDbWeight::get().writes(7_u64))813 }814 /// Storage: Refungible Allowance (r:1 w:1)815 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)816 /// Storage: Refungible Balance (r:1 w:1)817 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)818 /// Storage: Refungible TotalSupply (r:1 w:1)819 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)820 /// Storage: Refungible AccountBalance (r:1 w:1)821 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)822 /// Storage: Refungible TokensBurnt (r:1 w:1)823 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)824 /// Storage: Refungible Owned (r:0 w:1)825 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)826 /// Storage: Refungible TokenProperties (r:0 w:1)827 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)828 fn burn_from() -> Weight {829 // Proof Size summary in bytes:830 // Measured: `505`831 // Estimated: `12690`832 // Minimum execution time: 39_395_000 picoseconds.833 Weight::from_parts(40_119_000, 12690)834 .saturating_add(RocksDbWeight::get().reads(5_u64))835 .saturating_add(RocksDbWeight::get().writes(7_u64))836 }837 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)838 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)839 /// The range of component `b` is `[0, 64]`.840 fn set_token_property_permissions(b: u32, ) -> Weight {841 // Proof Size summary in bytes:842 // Measured: `281`843 // Estimated: `19201`844 // Minimum execution time: 2_337_000 picoseconds.845 Weight::from_parts(2_434_000, 19201)846 // Standard Error: 43_425847 .saturating_add(Weight::from_parts(12_286_502, 0).saturating_mul(b.into()))848 .saturating_add(RocksDbWeight::get().reads(1_u64))849 .saturating_add(RocksDbWeight::get().writes(1_u64))850 }851 /// Storage: Refungible TokenProperties (r:1 w:1)852 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)853 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)854 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)855 /// The range of component `b` is `[0, 64]`.856 fn set_token_properties(b: u32, ) -> Weight {857 // Proof Size summary in bytes:858 // Measured: `490 + b * (261 ±0)`859 // Estimated: `54480`860 // Minimum execution time: 11_857_000 picoseconds.861 Weight::from_parts(12_007_000, 54480)862 // Standard Error: 22_963863 .saturating_add(Weight::from_parts(6_609_180, 0).saturating_mul(b.into()))864 .saturating_add(RocksDbWeight::get().reads(2_u64))865 .saturating_add(RocksDbWeight::get().writes(1_u64))866 }867 /// Storage: Refungible TokenProperties (r:1 w:1)868 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)869 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)870 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)871 /// The range of component `b` is `[0, 64]`.872 fn delete_token_properties(b: u32, ) -> Weight {873 // Proof Size summary in bytes:874 // Measured: `527 + b * (33291 ±0)`875 // Estimated: `54480`876 // Minimum execution time: 12_001_000 picoseconds.877 Weight::from_parts(12_197_000, 54480)878 // Standard Error: 70_580879 .saturating_add(Weight::from_parts(21_847_004, 0).saturating_mul(b.into()))880 .saturating_add(RocksDbWeight::get().reads(2_u64))881 .saturating_add(RocksDbWeight::get().writes(1_u64))882 }883 /// Storage: Refungible TotalSupply (r:1 w:1)884 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)885 /// Storage: Refungible Balance (r:1 w:1)886 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)887 fn repartition_item() -> Weight {888 // Proof Size summary in bytes:889 // Measured: `321`890 // Estimated: `5079`891 // Minimum execution time: 14_497_000 picoseconds.892 Weight::from_parts(14_825_000, 5079)893 .saturating_add(RocksDbWeight::get().reads(2_u64))894 .saturating_add(RocksDbWeight::get().writes(2_u64))895 }896 /// Storage: Refungible Balance (r:2 w:0)897 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)898 fn token_owner() -> Weight {899 // Proof Size summary in bytes:900 // Measured: `321`901 // Estimated: `5128`902 // Minimum execution time: 8_888_000 picoseconds.903 Weight::from_parts(9_373_000, 5128)904 .saturating_add(RocksDbWeight::get().reads(2_u64))905 }906 /// Storage: Refungible CollectionAllowance (r:0 w:1)907 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)908 fn set_allowance_for_all() -> Weight {909 // Proof Size summary in bytes:910 // Measured: `0`911 // Estimated: `0`912 // Minimum execution time: 7_042_000 picoseconds.913 Weight::from_parts(7_245_000, 0)914 .saturating_add(RocksDbWeight::get().writes(1_u64))915 }916 /// Storage: Refungible CollectionAllowance (r:1 w:0)917 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)918 fn allowance_for_all() -> Weight {919 // Proof Size summary in bytes:920 // Measured: `4`921 // Estimated: `2586`922 // Minimum execution time: 3_425_000 picoseconds.923 Weight::from_parts(3_554_000, 2586)924 .saturating_add(RocksDbWeight::get().reads(1_u64))925 }926 /// Storage: Refungible TokenProperties (r:1 w:1)927 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)928 fn repair_item() -> Weight {929 // Proof Size summary in bytes:930 // Measured: `174`931 // Estimated: `35279`932 // Minimum execution time: 4_684_000 picoseconds.933 Weight::from_parts(4_805_000, 35279)934 .saturating_add(RocksDbWeight::get().reads(1_u64))935 .saturating_add(RocksDbWeight::get().writes(1_u64))936 }937}938pallets/structure/src/weights.rsdiffbeforeafterboth--- a/pallets/structure/src/weights.rs
+++ b/pallets/structure/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_structure
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -46,10 +45,10 @@
/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn find_parent() -> Weight {
// Proof Size summary in bytes:
- // Measured: `698`
- // Estimated: `5867`
- // Minimum execution time: 9_834_000 picoseconds.
- Weight::from_parts(10_073_000, 5867)
+ // Measured: `634`
+ // Estimated: `7847`
+ // Minimum execution time: 10_781_000 picoseconds.
+ Weight::from_parts(11_675_000, 7847)
.saturating_add(T::DbWeight::get().reads(2_u64))
}
}
@@ -62,10 +61,10 @@
/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn find_parent() -> Weight {
// Proof Size summary in bytes:
- // Measured: `698`
- // Estimated: `5867`
- // Minimum execution time: 9_834_000 picoseconds.
- Weight::from_parts(10_073_000, 5867)
+ // Measured: `634`
+ // Estimated: `7847`
+ // Minimum execution time: 10_781_000 picoseconds.
+ Weight::from_parts(11_675_000, 7847)
.saturating_add(RocksDbWeight::get().reads(2_u64))
}
}
pallets/unique/src/weights.rsdiffbeforeafterboth--- a/pallets/unique/src/weights.rs
+++ b/pallets/unique/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_unique
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -66,10 +65,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn create_collection() -> Weight {
// Proof Size summary in bytes:
- // Measured: `277`
- // Estimated: `6204`
- // Minimum execution time: 37_430_000 picoseconds.
- Weight::from_parts(42_154_000, 6204)
+ // Measured: `245`
+ // Estimated: `9174`
+ // Minimum execution time: 31_198_000 picoseconds.
+ Weight::from_parts(32_046_000, 9174)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -89,10 +88,10 @@
/// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
fn destroy_collection() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1118`
- // Estimated: `6366`
- // Minimum execution time: 51_399_000 picoseconds.
- Weight::from_parts(52_256_000, 6366)
+ // Measured: `1086`
+ // Estimated: `9336`
+ // Minimum execution time: 48_208_000 picoseconds.
+ Weight::from_parts(49_031_000, 9336)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -102,10 +101,10 @@
/// Proof: Common Allowlist (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
fn add_to_allow_list() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `3335`
- // Minimum execution time: 16_355_000 picoseconds.
- Weight::from_parts(16_737_000, 3335)
+ // Measured: `967`
+ // Estimated: `4325`
+ // Minimum execution time: 14_852_000 picoseconds.
+ Weight::from_parts(15_268_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -115,10 +114,10 @@
/// Proof: Common Allowlist (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
fn remove_from_allow_list() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1032`
- // Estimated: `3335`
- // Minimum execution time: 15_812_000 picoseconds.
- Weight::from_parts(16_102_000, 3335)
+ // Measured: `1000`
+ // Estimated: `4325`
+ // Minimum execution time: 14_595_000 picoseconds.
+ Weight::from_parts(14_933_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -126,10 +125,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn change_collection_owner() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `3335`
- // Minimum execution time: 15_072_000 picoseconds.
- Weight::from_parts(15_540_000, 3335)
+ // Measured: `967`
+ // Estimated: `4325`
+ // Minimum execution time: 14_132_000 picoseconds.
+ Weight::from_parts(14_501_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -141,10 +140,10 @@
/// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
fn add_collection_admin() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `8379`
- // Minimum execution time: 18_268_000 picoseconds.
- Weight::from_parts(18_931_000, 8379)
+ // Measured: `967`
+ // Estimated: `11349`
+ // Minimum execution time: 17_229_000 picoseconds.
+ Weight::from_parts(17_657_000, 11349)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -156,10 +155,10 @@
/// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
fn remove_collection_admin() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1139`
- // Estimated: `8379`
- // Minimum execution time: 21_786_000 picoseconds.
- Weight::from_parts(22_088_000, 8379)
+ // Measured: `1107`
+ // Estimated: `11349`
+ // Minimum execution time: 19_827_000 picoseconds.
+ Weight::from_parts(20_479_000, 11349)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -167,10 +166,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn set_collection_sponsor() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `3335`
- // Minimum execution time: 15_245_000 picoseconds.
- Weight::from_parts(15_574_000, 3335)
+ // Measured: `967`
+ // Estimated: `4325`
+ // Minimum execution time: 14_049_000 picoseconds.
+ Weight::from_parts(14_420_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -178,10 +177,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn confirm_sponsorship() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1031`
- // Estimated: `3335`
- // Minimum execution time: 15_073_000 picoseconds.
- Weight::from_parts(15_407_000, 3335)
+ // Measured: `999`
+ // Estimated: `4325`
+ // Minimum execution time: 13_689_000 picoseconds.
+ Weight::from_parts(14_044_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -189,10 +188,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn remove_collection_sponsor() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1031`
- // Estimated: `3335`
- // Minimum execution time: 14_938_000 picoseconds.
- Weight::from_parts(15_262_000, 3335)
+ // Measured: `999`
+ // Estimated: `4325`
+ // Minimum execution time: 13_275_000 picoseconds.
+ Weight::from_parts(13_598_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -200,10 +199,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn set_transfers_enabled_flag() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `3335`
- // Minimum execution time: 10_318_000 picoseconds.
- Weight::from_parts(10_652_000, 3335)
+ // Measured: `967`
+ // Estimated: `4325`
+ // Minimum execution time: 9_411_000 picoseconds.
+ Weight::from_parts(9_706_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -211,10 +210,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn set_collection_limits() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `3335`
- // Minimum execution time: 15_535_000 picoseconds.
- Weight::from_parts(15_937_000, 3335)
+ // Measured: `967`
+ // Estimated: `4325`
+ // Minimum execution time: 13_864_000 picoseconds.
+ Weight::from_parts(14_368_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -223,9 +222,9 @@
fn force_repair_collection() -> Weight {
// Proof Size summary in bytes:
// Measured: `265`
- // Estimated: `43467`
- // Minimum execution time: 8_178_000 picoseconds.
- Weight::from_parts(8_390_000, 43467)
+ // Estimated: `44457`
+ // Minimum execution time: 7_104_000 picoseconds.
+ Weight::from_parts(7_293_000, 44457)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -247,10 +246,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn create_collection() -> Weight {
// Proof Size summary in bytes:
- // Measured: `277`
- // Estimated: `6204`
- // Minimum execution time: 37_430_000 picoseconds.
- Weight::from_parts(42_154_000, 6204)
+ // Measured: `245`
+ // Estimated: `9174`
+ // Minimum execution time: 31_198_000 picoseconds.
+ Weight::from_parts(32_046_000, 9174)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -270,10 +269,10 @@
/// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
fn destroy_collection() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1118`
- // Estimated: `6366`
- // Minimum execution time: 51_399_000 picoseconds.
- Weight::from_parts(52_256_000, 6366)
+ // Measured: `1086`
+ // Estimated: `9336`
+ // Minimum execution time: 48_208_000 picoseconds.
+ Weight::from_parts(49_031_000, 9336)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -283,10 +282,10 @@
/// Proof: Common Allowlist (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
fn add_to_allow_list() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `3335`
- // Minimum execution time: 16_355_000 picoseconds.
- Weight::from_parts(16_737_000, 3335)
+ // Measured: `967`
+ // Estimated: `4325`
+ // Minimum execution time: 14_852_000 picoseconds.
+ Weight::from_parts(15_268_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -296,10 +295,10 @@
/// Proof: Common Allowlist (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
fn remove_from_allow_list() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1032`
- // Estimated: `3335`
- // Minimum execution time: 15_812_000 picoseconds.
- Weight::from_parts(16_102_000, 3335)
+ // Measured: `1000`
+ // Estimated: `4325`
+ // Minimum execution time: 14_595_000 picoseconds.
+ Weight::from_parts(14_933_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -307,10 +306,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn change_collection_owner() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `3335`
- // Minimum execution time: 15_072_000 picoseconds.
- Weight::from_parts(15_540_000, 3335)
+ // Measured: `967`
+ // Estimated: `4325`
+ // Minimum execution time: 14_132_000 picoseconds.
+ Weight::from_parts(14_501_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -322,10 +321,10 @@
/// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
fn add_collection_admin() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `8379`
- // Minimum execution time: 18_268_000 picoseconds.
- Weight::from_parts(18_931_000, 8379)
+ // Measured: `967`
+ // Estimated: `11349`
+ // Minimum execution time: 17_229_000 picoseconds.
+ Weight::from_parts(17_657_000, 11349)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -337,10 +336,10 @@
/// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
fn remove_collection_admin() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1139`
- // Estimated: `8379`
- // Minimum execution time: 21_786_000 picoseconds.
- Weight::from_parts(22_088_000, 8379)
+ // Measured: `1107`
+ // Estimated: `11349`
+ // Minimum execution time: 19_827_000 picoseconds.
+ Weight::from_parts(20_479_000, 11349)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -348,10 +347,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn set_collection_sponsor() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `3335`
- // Minimum execution time: 15_245_000 picoseconds.
- Weight::from_parts(15_574_000, 3335)
+ // Measured: `967`
+ // Estimated: `4325`
+ // Minimum execution time: 14_049_000 picoseconds.
+ Weight::from_parts(14_420_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -359,10 +358,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn confirm_sponsorship() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1031`
- // Estimated: `3335`
- // Minimum execution time: 15_073_000 picoseconds.
- Weight::from_parts(15_407_000, 3335)
+ // Measured: `999`
+ // Estimated: `4325`
+ // Minimum execution time: 13_689_000 picoseconds.
+ Weight::from_parts(14_044_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -370,10 +369,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn remove_collection_sponsor() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1031`
- // Estimated: `3335`
- // Minimum execution time: 14_938_000 picoseconds.
- Weight::from_parts(15_262_000, 3335)
+ // Measured: `999`
+ // Estimated: `4325`
+ // Minimum execution time: 13_275_000 picoseconds.
+ Weight::from_parts(13_598_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -381,10 +380,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn set_transfers_enabled_flag() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `3335`
- // Minimum execution time: 10_318_000 picoseconds.
- Weight::from_parts(10_652_000, 3335)
+ // Measured: `967`
+ // Estimated: `4325`
+ // Minimum execution time: 9_411_000 picoseconds.
+ Weight::from_parts(9_706_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -392,10 +391,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn set_collection_limits() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `3335`
- // Minimum execution time: 15_535_000 picoseconds.
- Weight::from_parts(15_937_000, 3335)
+ // Measured: `967`
+ // Estimated: `4325`
+ // Minimum execution time: 13_864_000 picoseconds.
+ Weight::from_parts(14_368_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -404,9 +403,9 @@
fn force_repair_collection() -> Weight {
// Proof Size summary in bytes:
// Measured: `265`
- // Estimated: `43467`
- // Minimum execution time: 8_178_000 picoseconds.
- Weight::from_parts(8_390_000, 43467)
+ // Estimated: `44457`
+ // Minimum execution time: 7_104_000 picoseconds.
+ Weight::from_parts(7_293_000, 44457)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
runtime/common/weights/xcm.rsdiffbeforeafterboth--- a/runtime/common/weights/xcm.rs
+++ b/runtime/common/weights/xcm.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_xcm
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
@@ -48,9 +48,9 @@
fn send() -> Weight {
// Proof Size summary in bytes:
// Measured: `211`
- // Estimated: `5510`
- // Minimum execution time: 17_608_000 picoseconds.
- Weight::from_parts(18_024_000, 5510)
+ // Estimated: `10460`
+ // Minimum execution time: 17_089_000 picoseconds.
+ Weight::from_parts(17_615_000, 10460)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -59,9 +59,9 @@
fn teleport_assets() -> Weight {
// Proof Size summary in bytes:
// Measured: `136`
- // Estimated: `499`
- // Minimum execution time: 17_648_000 picoseconds.
- Weight::from_parts(18_103_000, 499)
+ // Estimated: `1489`
+ // Minimum execution time: 14_443_000 picoseconds.
+ Weight::from_parts(14_895_000, 1489)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: ParachainInfo ParachainId (r:1 w:0)
@@ -69,17 +69,17 @@
fn reserve_transfer_assets() -> Weight {
// Proof Size summary in bytes:
// Measured: `136`
- // Estimated: `499`
- // Minimum execution time: 17_529_000 picoseconds.
- Weight::from_parts(18_009_000, 499)
+ // Estimated: `1489`
+ // Minimum execution time: 14_340_000 picoseconds.
+ Weight::from_parts(14_748_000, 1489)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
fn execute() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 5_314_000 picoseconds.
- Weight::from_parts(6_053_000, 0)
+ // Minimum execution time: 5_266_000 picoseconds.
+ Weight::from_parts(5_430_000, 0)
}
/// Storage: PolkadotXcm SupportedVersion (r:0 w:1)
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
@@ -87,8 +87,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 5_577_000 picoseconds.
- Weight::from_parts(5_831_000, 0)
+ // Minimum execution time: 5_621_000 picoseconds.
+ Weight::from_parts(5_888_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1)
@@ -97,8 +97,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_902_000 picoseconds.
- Weight::from_parts(2_018_000, 0)
+ // Minimum execution time: 2_087_000 picoseconds.
+ Weight::from_parts(2_218_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)
@@ -120,9 +120,9 @@
fn force_subscribe_version_notify() -> Weight {
// Proof Size summary in bytes:
// Measured: `211`
- // Estimated: `9113`
- // Minimum execution time: 21_675_000 picoseconds.
- Weight::from_parts(22_161_000, 9113)
+ // Estimated: `16043`
+ // Minimum execution time: 21_067_000 picoseconds.
+ Weight::from_parts(21_466_000, 16043)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -143,9 +143,9 @@
fn force_unsubscribe_version_notify() -> Weight {
// Proof Size summary in bytes:
// Measured: `394`
- // Estimated: `9688`
- // Minimum execution time: 24_643_000 picoseconds.
- Weight::from_parts(25_027_000, 9688)
+ // Estimated: `15628`
+ // Minimum execution time: 23_986_000 picoseconds.
+ Weight::from_parts(25_328_000, 15628)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -154,9 +154,9 @@
fn migrate_supported_version() -> Weight {
// Proof Size summary in bytes:
// Measured: `131`
- // Estimated: `10031`
- // Minimum execution time: 14_077_000 picoseconds.
- Weight::from_parts(14_594_000, 10031)
+ // Estimated: `11021`
+ // Minimum execution time: 15_073_000 picoseconds.
+ Weight::from_parts(15_451_000, 11021)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -165,9 +165,9 @@
fn migrate_version_notifiers() -> Weight {
// Proof Size summary in bytes:
// Measured: `135`
- // Estimated: `10035`
- // Minimum execution time: 14_117_000 picoseconds.
- Weight::from_parts(14_590_000, 10035)
+ // Estimated: `11025`
+ // Minimum execution time: 14_840_000 picoseconds.
+ Weight::from_parts(15_347_000, 11025)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -176,9 +176,9 @@
fn already_notified_target() -> Weight {
// Proof Size summary in bytes:
// Measured: `142`
- // Estimated: `12517`
- // Minimum execution time: 16_284_000 picoseconds.
- Weight::from_parts(16_817_000, 12517)
+ // Estimated: `13507`
+ // Minimum execution time: 16_215_000 picoseconds.
+ Weight::from_parts(16_461_000, 13507)
.saturating_add(T::DbWeight::get().reads(5_u64))
}
/// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1)
@@ -196,9 +196,9 @@
fn notify_current_targets() -> Weight {
// Proof Size summary in bytes:
// Measured: `278`
- // Estimated: `11073`
- // Minimum execution time: 21_980_000 picoseconds.
- Weight::from_parts(22_452_000, 11073)
+ // Estimated: `17013`
+ // Minimum execution time: 21_705_000 picoseconds.
+ Weight::from_parts(22_313_000, 17013)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -207,9 +207,9 @@
fn notify_target_migration_fail() -> Weight {
// Proof Size summary in bytes:
// Measured: `172`
- // Estimated: `7597`
- // Minimum execution time: 6_848_000 picoseconds.
- Weight::from_parts(7_077_000, 7597)
+ // Estimated: `8587`
+ // Minimum execution time: 7_869_000 picoseconds.
+ Weight::from_parts(8_052_000, 8587)
.saturating_add(T::DbWeight::get().reads(3_u64))
}
/// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)
@@ -217,9 +217,9 @@
fn migrate_version_notify_targets() -> Weight {
// Proof Size summary in bytes:
// Measured: `142`
- // Estimated: `10042`
- // Minimum execution time: 14_509_000 picoseconds.
- Weight::from_parts(15_012_000, 10042)
+ // Estimated: `11032`
+ // Minimum execution time: 15_340_000 picoseconds.
+ Weight::from_parts(15_738_000, 11032)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -238,9 +238,9 @@
fn migrate_and_notify_old_targets() -> Weight {
// Proof Size summary in bytes:
// Measured: `284`
- // Estimated: `16059`
- // Minimum execution time: 27_426_000 picoseconds.
- Weight::from_parts(27_878_000, 16059)
+ // Estimated: `21999`
+ // Minimum execution time: 27_809_000 picoseconds.
+ Weight::from_parts(28_290_000, 21999)
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}