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.rsdiffbeforeafterboth1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_nonfungible4//!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-nonfungible16// --wasm-execution17// compiled18// --extrinsic19// *20// --template=.maintain/frame-weight-template.hbs21// --steps=5022// --repeat=8023// --heap-pages=409624// --output=./pallets/nonfungible/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_nonfungible.36pub trait WeightInfo {37 fn create_item() -> Weight;38 fn create_multiple_items(b: u32, ) -> Weight;39 fn create_multiple_items_ex(b: u32, ) -> Weight;40 fn burn_item() -> Weight;41 fn burn_recursively_self_raw() -> Weight;42 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight;43 fn transfer_raw() -> Weight;44 fn approve() -> Weight;45 fn approve_from() -> Weight;46 fn check_allowed_raw() -> Weight;47 fn burn_from() -> Weight;48 fn set_token_property_permissions(b: u32, ) -> Weight;49 fn set_token_properties(b: u32, ) -> Weight;50 fn delete_token_properties(b: u32, ) -> Weight;51 fn token_owner() -> Weight;52 fn set_allowance_for_all() -> Weight;53 fn allowance_for_all() -> Weight;54 fn repair_item() -> Weight;55}5657/// Weights for pallet_nonfungible using the Substrate node and recommended hardware.58pub struct SubstrateWeight<T>(PhantomData<T>);59impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {60 /// Storage: Nonfungible TokensMinted (r:1 w:1)61 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)62 /// Storage: Nonfungible AccountBalance (r:1 w:1)63 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)64 /// Storage: Nonfungible TokenProperties (r:1 w:1)65 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)66 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)67 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)68 /// Storage: Nonfungible TokenData (r:0 w:1)69 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)70 /// Storage: Nonfungible Owned (r:0 w:1)71 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)72 fn create_item() -> Weight {73 // Proof Size summary in bytes:74 // Measured: `390`75 // Estimated: `59511`76 // Minimum execution time: 23_081_000 picoseconds.77 Weight::from_parts(23_551_000, 59511)78 .saturating_add(T::DbWeight::get().reads(4_u64))79 .saturating_add(T::DbWeight::get().writes(5_u64))80 }81 /// Storage: Nonfungible TokensMinted (r:1 w:1)82 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)83 /// Storage: Nonfungible AccountBalance (r:1 w:1)84 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)85 /// Storage: Nonfungible TokenProperties (r:200 w:200)86 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)87 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)88 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)89 /// Storage: Nonfungible TokenData (r:0 w:200)90 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)91 /// Storage: Nonfungible Owned (r:0 w:200)92 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)93 /// The range of component `b` is `[0, 200]`.94 fn create_multiple_items(b: u32, ) -> Weight {95 // Proof Size summary in bytes:96 // Measured: `390`97 // Estimated: `24232 + b * (35279 ±0)`98 // Minimum execution time: 4_557_000 picoseconds.99 Weight::from_parts(5_994_058, 24232)100 // Standard Error: 4_326101 .saturating_add(Weight::from_parts(7_369_489, 0).saturating_mul(b.into()))102 .saturating_add(T::DbWeight::get().reads(3_u64))103 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))104 .saturating_add(T::DbWeight::get().writes(2_u64))105 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))106 .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))107 }108 /// Storage: Nonfungible TokensMinted (r:1 w:1)109 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)110 /// Storage: Nonfungible AccountBalance (r:200 w:200)111 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)112 /// Storage: Nonfungible TokenProperties (r:200 w:200)113 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)114 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)115 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)116 /// Storage: Nonfungible TokenData (r:0 w:200)117 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)118 /// Storage: Nonfungible Owned (r:0 w:200)119 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)120 /// The range of component `b` is `[0, 200]`.121 fn create_multiple_items_ex(b: u32, ) -> Weight {122 // Proof Size summary in bytes:123 // Measured: `390`124 // Estimated: `21692 + b * (37819 ±0)`125 // Minimum execution time: 4_533_000 picoseconds.126 Weight::from_parts(2_822_660, 21692)127 // Standard Error: 3_650128 .saturating_add(Weight::from_parts(9_100_706, 0).saturating_mul(b.into()))129 .saturating_add(T::DbWeight::get().reads(2_u64))130 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))131 .saturating_add(T::DbWeight::get().writes(1_u64))132 .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))133 .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))134 }135 /// Storage: Nonfungible TokenData (r:1 w:1)136 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)137 /// Storage: Nonfungible TokenChildren (r:1 w:0)138 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)139 /// Storage: Nonfungible TokensBurnt (r:1 w:1)140 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)141 /// Storage: Nonfungible AccountBalance (r:1 w:1)142 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)143 /// Storage: Nonfungible Allowance (r:1 w:0)144 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)145 /// Storage: Nonfungible Owned (r:0 w:1)146 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)147 /// Storage: Nonfungible TokenProperties (r:0 w:1)148 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)149 fn burn_item() -> Weight {150 // Proof Size summary in bytes:151 // Measured: `412`152 // Estimated: `12611`153 // Minimum execution time: 23_528_000 picoseconds.154 Weight::from_parts(24_680_000, 12611)155 .saturating_add(T::DbWeight::get().reads(5_u64))156 .saturating_add(T::DbWeight::get().writes(5_u64))157 }158 /// Storage: Nonfungible TokenChildren (r:1 w:0)159 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)160 /// Storage: Nonfungible TokenData (r:1 w:1)161 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)162 /// Storage: Nonfungible TokensBurnt (r:1 w:1)163 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)164 /// Storage: Nonfungible AccountBalance (r:1 w:1)165 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)166 /// Storage: Nonfungible Allowance (r:1 w:0)167 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)168 /// Storage: Nonfungible Owned (r:0 w:1)169 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)170 /// Storage: Nonfungible TokenProperties (r:0 w:1)171 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)172 fn burn_recursively_self_raw() -> Weight {173 // Proof Size summary in bytes:174 // Measured: `412`175 // Estimated: `12611`176 // Minimum execution time: 29_770_000 picoseconds.177 Weight::from_parts(30_114_000, 12611)178 .saturating_add(T::DbWeight::get().reads(5_u64))179 .saturating_add(T::DbWeight::get().writes(5_u64))180 }181 /// Storage: Nonfungible TokenChildren (r:401 w:200)182 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)183 /// Storage: Common CollectionById (r:1 w:0)184 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)185 /// Storage: Nonfungible TokenData (r:201 w:201)186 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)187 /// Storage: Nonfungible TokensBurnt (r:1 w:1)188 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)189 /// Storage: Nonfungible AccountBalance (r:2 w:2)190 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)191 /// Storage: Nonfungible Allowance (r:201 w:0)192 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)193 /// Storage: Nonfungible Owned (r:0 w:201)194 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)195 /// Storage: Nonfungible TokenProperties (r:0 w:201)196 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)197 /// The range of component `b` is `[0, 200]`.198 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {199 // Proof Size summary in bytes:200 // Measured: `1530 + b * (58 ±0)`201 // Estimated: `18290 + b * (10097 ±0)`202 // Minimum execution time: 31_413_000 picoseconds.203 Weight::from_parts(31_865_000, 18290)204 // Standard Error: 980_032205 .saturating_add(Weight::from_parts(205_236_443, 0).saturating_mul(b.into()))206 .saturating_add(T::DbWeight::get().reads(7_u64))207 .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(b.into())))208 .saturating_add(T::DbWeight::get().writes(6_u64))209 .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))210 .saturating_add(Weight::from_parts(0, 10097).saturating_mul(b.into()))211 }212 /// Storage: Nonfungible TokenData (r:1 w:1)213 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)214 /// Storage: Nonfungible AccountBalance (r:2 w:2)215 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)216 /// Storage: Nonfungible Allowance (r:1 w:0)217 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)218 /// Storage: Nonfungible Owned (r:0 w:2)219 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)220 fn transfer_raw() -> Weight {221 // Proof Size summary in bytes:222 // Measured: `412`223 // Estimated: `10144`224 // Minimum execution time: 9_307_000 picoseconds.225 Weight::from_parts(10_108_000, 10144)226 .saturating_add(T::DbWeight::get().reads(4_u64))227 .saturating_add(T::DbWeight::get().writes(5_u64))228 }229 /// Storage: Nonfungible TokenData (r:1 w:0)230 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)231 /// Storage: Nonfungible Allowance (r:1 w:1)232 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)233 fn approve() -> Weight {234 // Proof Size summary in bytes:235 // Measured: `358`236 // Estimated: `5064`237 // Minimum execution time: 11_507_000 picoseconds.238 Weight::from_parts(11_771_000, 5064)239 .saturating_add(T::DbWeight::get().reads(2_u64))240 .saturating_add(T::DbWeight::get().writes(1_u64))241 }242 /// Storage: Nonfungible TokenData (r:1 w:0)243 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)244 /// Storage: Nonfungible Allowance (r:1 w:1)245 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)246 fn approve_from() -> Weight {247 // Proof Size summary in bytes:248 // Measured: `313`249 // Estimated: `5064`250 // Minimum execution time: 11_558_000 picoseconds.251 Weight::from_parts(11_789_000, 5064)252 .saturating_add(T::DbWeight::get().reads(2_u64))253 .saturating_add(T::DbWeight::get().writes(1_u64))254 }255 /// Storage: Nonfungible Allowance (r:1 w:0)256 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)257 fn check_allowed_raw() -> Weight {258 // Proof Size summary in bytes:259 // Measured: `394`260 // Estimated: `2532`261 // Minimum execution time: 2_668_000 picoseconds.262 Weight::from_parts(2_877_000, 2532)263 .saturating_add(T::DbWeight::get().reads(1_u64))264 }265 /// Storage: Nonfungible Allowance (r:1 w:1)266 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)267 /// Storage: Nonfungible TokenData (r:1 w:1)268 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)269 /// Storage: Nonfungible TokenChildren (r:1 w:0)270 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)271 /// Storage: Nonfungible TokensBurnt (r:1 w:1)272 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)273 /// Storage: Nonfungible AccountBalance (r:1 w:1)274 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)275 /// Storage: Nonfungible Owned (r:0 w:1)276 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)277 /// Storage: Nonfungible TokenProperties (r:0 w:1)278 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)279 fn burn_from() -> Weight {280 // Proof Size summary in bytes:281 // Measured: `527`282 // Estimated: `12611`283 // Minimum execution time: 30_713_000 picoseconds.284 Weight::from_parts(31_160_000, 12611)285 .saturating_add(T::DbWeight::get().reads(5_u64))286 .saturating_add(T::DbWeight::get().writes(6_u64))287 }288 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)289 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)290 /// The range of component `b` is `[0, 64]`.291 fn set_token_property_permissions(b: u32, ) -> Weight {292 // Proof Size summary in bytes:293 // Measured: `281`294 // Estimated: `19201`295 // Minimum execution time: 2_360_000 picoseconds.296 Weight::from_parts(2_396_000, 19201)297 // Standard Error: 43_257298 .saturating_add(Weight::from_parts(12_085_808, 0).saturating_mul(b.into()))299 .saturating_add(T::DbWeight::get().reads(1_u64))300 .saturating_add(T::DbWeight::get().writes(1_u64))301 }302 /// Storage: Nonfungible TokenProperties (r:1 w:1)303 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)304 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)305 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)306 /// The range of component `b` is `[0, 64]`.307 fn set_token_properties(b: u32, ) -> Weight {308 // Proof Size summary in bytes:309 // Measured: `616 + b * (261 ±0)`310 // Estimated: `54480`311 // Minimum execution time: 12_543_000 picoseconds.312 Weight::from_parts(12_686_000, 54480)313 // Standard Error: 52_286314 .saturating_add(Weight::from_parts(6_894_785, 0).saturating_mul(b.into()))315 .saturating_add(T::DbWeight::get().reads(2_u64))316 .saturating_add(T::DbWeight::get().writes(1_u64))317 }318 /// Storage: Nonfungible TokenProperties (r:1 w:1)319 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)320 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)321 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)322 /// The range of component `b` is `[0, 64]`.323 fn delete_token_properties(b: u32, ) -> Weight {324 // Proof Size summary in bytes:325 // Measured: `653 + b * (33291 ±0)`326 // Estimated: `54480`327 // Minimum execution time: 12_352_000 picoseconds.328 Weight::from_parts(12_523_000, 54480)329 // Standard Error: 70_401330 .saturating_add(Weight::from_parts(21_959_228, 0).saturating_mul(b.into()))331 .saturating_add(T::DbWeight::get().reads(2_u64))332 .saturating_add(T::DbWeight::get().writes(1_u64))333 }334 /// Storage: Nonfungible TokenData (r:1 w:0)335 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)336 fn token_owner() -> Weight {337 // Proof Size summary in bytes:338 // Measured: `358`339 // Estimated: `2532`340 // Minimum execution time: 4_797_000 picoseconds.341 Weight::from_parts(5_499_000, 2532)342 .saturating_add(T::DbWeight::get().reads(1_u64))343 }344 /// Storage: Nonfungible CollectionAllowance (r:0 w:1)345 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)346 fn set_allowance_for_all() -> Weight {347 // Proof Size summary in bytes:348 // Measured: `0`349 // Estimated: `0`350 // Minimum execution time: 6_303_000 picoseconds.351 Weight::from_parts(6_712_000, 0)352 .saturating_add(T::DbWeight::get().writes(1_u64))353 }354 /// Storage: Nonfungible CollectionAllowance (r:1 w:0)355 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)356 fn allowance_for_all() -> Weight {357 // Proof Size summary in bytes:358 // Measured: `109`359 // Estimated: `2586`360 // Minimum execution time: 3_798_000 picoseconds.361 Weight::from_parts(4_017_000, 2586)362 .saturating_add(T::DbWeight::get().reads(1_u64))363 }364 /// Storage: Nonfungible TokenProperties (r:1 w:1)365 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)366 fn repair_item() -> Weight {367 // Proof Size summary in bytes:368 // Measured: `300`369 // Estimated: `35279`370 // Minimum execution time: 5_531_000 picoseconds.371 Weight::from_parts(5_750_000, 35279)372 .saturating_add(T::DbWeight::get().reads(1_u64))373 .saturating_add(T::DbWeight::get().writes(1_u64))374 }375}376377// For backwards compatibility and tests378impl WeightInfo for () {379 /// Storage: Nonfungible TokensMinted (r:1 w:1)380 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)381 /// Storage: Nonfungible AccountBalance (r:1 w:1)382 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)383 /// Storage: Nonfungible TokenProperties (r:1 w:1)384 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)385 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)386 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)387 /// Storage: Nonfungible TokenData (r:0 w:1)388 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)389 /// Storage: Nonfungible Owned (r:0 w:1)390 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)391 fn create_item() -> Weight {392 // Proof Size summary in bytes:393 // Measured: `390`394 // Estimated: `59511`395 // Minimum execution time: 23_081_000 picoseconds.396 Weight::from_parts(23_551_000, 59511)397 .saturating_add(RocksDbWeight::get().reads(4_u64))398 .saturating_add(RocksDbWeight::get().writes(5_u64))399 }400 /// Storage: Nonfungible TokensMinted (r:1 w:1)401 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)402 /// Storage: Nonfungible AccountBalance (r:1 w:1)403 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)404 /// Storage: Nonfungible TokenProperties (r:200 w:200)405 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)406 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)407 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)408 /// Storage: Nonfungible TokenData (r:0 w:200)409 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)410 /// Storage: Nonfungible Owned (r:0 w:200)411 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)412 /// The range of component `b` is `[0, 200]`.413 fn create_multiple_items(b: u32, ) -> Weight {414 // Proof Size summary in bytes:415 // Measured: `390`416 // Estimated: `24232 + b * (35279 ±0)`417 // Minimum execution time: 4_557_000 picoseconds.418 Weight::from_parts(5_994_058, 24232)419 // Standard Error: 4_326420 .saturating_add(Weight::from_parts(7_369_489, 0).saturating_mul(b.into()))421 .saturating_add(RocksDbWeight::get().reads(3_u64))422 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))423 .saturating_add(RocksDbWeight::get().writes(2_u64))424 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))425 .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))426 }427 /// Storage: Nonfungible TokensMinted (r:1 w:1)428 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)429 /// Storage: Nonfungible AccountBalance (r:200 w:200)430 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)431 /// Storage: Nonfungible TokenProperties (r:200 w:200)432 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)433 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)434 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)435 /// Storage: Nonfungible TokenData (r:0 w:200)436 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)437 /// Storage: Nonfungible Owned (r:0 w:200)438 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)439 /// The range of component `b` is `[0, 200]`.440 fn create_multiple_items_ex(b: u32, ) -> Weight {441 // Proof Size summary in bytes:442 // Measured: `390`443 // Estimated: `21692 + b * (37819 ±0)`444 // Minimum execution time: 4_533_000 picoseconds.445 Weight::from_parts(2_822_660, 21692)446 // Standard Error: 3_650447 .saturating_add(Weight::from_parts(9_100_706, 0).saturating_mul(b.into()))448 .saturating_add(RocksDbWeight::get().reads(2_u64))449 .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))450 .saturating_add(RocksDbWeight::get().writes(1_u64))451 .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))452 .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))453 }454 /// Storage: Nonfungible TokenData (r:1 w:1)455 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)456 /// Storage: Nonfungible TokenChildren (r:1 w:0)457 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)458 /// Storage: Nonfungible TokensBurnt (r:1 w:1)459 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)460 /// Storage: Nonfungible AccountBalance (r:1 w:1)461 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)462 /// Storage: Nonfungible Allowance (r:1 w:0)463 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)464 /// Storage: Nonfungible Owned (r:0 w:1)465 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)466 /// Storage: Nonfungible TokenProperties (r:0 w:1)467 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)468 fn burn_item() -> Weight {469 // Proof Size summary in bytes:470 // Measured: `412`471 // Estimated: `12611`472 // Minimum execution time: 23_528_000 picoseconds.473 Weight::from_parts(24_680_000, 12611)474 .saturating_add(RocksDbWeight::get().reads(5_u64))475 .saturating_add(RocksDbWeight::get().writes(5_u64))476 }477 /// Storage: Nonfungible TokenChildren (r:1 w:0)478 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)479 /// Storage: Nonfungible TokenData (r:1 w:1)480 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)481 /// Storage: Nonfungible TokensBurnt (r:1 w:1)482 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)483 /// Storage: Nonfungible AccountBalance (r:1 w:1)484 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)485 /// Storage: Nonfungible Allowance (r:1 w:0)486 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)487 /// Storage: Nonfungible Owned (r:0 w:1)488 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)489 /// Storage: Nonfungible TokenProperties (r:0 w:1)490 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)491 fn burn_recursively_self_raw() -> Weight {492 // Proof Size summary in bytes:493 // Measured: `412`494 // Estimated: `12611`495 // Minimum execution time: 29_770_000 picoseconds.496 Weight::from_parts(30_114_000, 12611)497 .saturating_add(RocksDbWeight::get().reads(5_u64))498 .saturating_add(RocksDbWeight::get().writes(5_u64))499 }500 /// Storage: Nonfungible TokenChildren (r:401 w:200)501 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)502 /// Storage: Common CollectionById (r:1 w:0)503 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)504 /// Storage: Nonfungible TokenData (r:201 w:201)505 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)506 /// Storage: Nonfungible TokensBurnt (r:1 w:1)507 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)508 /// Storage: Nonfungible AccountBalance (r:2 w:2)509 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)510 /// Storage: Nonfungible Allowance (r:201 w:0)511 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)512 /// Storage: Nonfungible Owned (r:0 w:201)513 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)514 /// Storage: Nonfungible TokenProperties (r:0 w:201)515 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)516 /// The range of component `b` is `[0, 200]`.517 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {518 // Proof Size summary in bytes:519 // Measured: `1530 + b * (58 ±0)`520 // Estimated: `18290 + b * (10097 ±0)`521 // Minimum execution time: 31_413_000 picoseconds.522 Weight::from_parts(31_865_000, 18290)523 // Standard Error: 980_032524 .saturating_add(Weight::from_parts(205_236_443, 0).saturating_mul(b.into()))525 .saturating_add(RocksDbWeight::get().reads(7_u64))526 .saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(b.into())))527 .saturating_add(RocksDbWeight::get().writes(6_u64))528 .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))529 .saturating_add(Weight::from_parts(0, 10097).saturating_mul(b.into()))530 }531 /// Storage: Nonfungible TokenData (r:1 w:1)532 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)533 /// Storage: Nonfungible AccountBalance (r:2 w:2)534 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)535 /// Storage: Nonfungible Allowance (r:1 w:0)536 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)537 /// Storage: Nonfungible Owned (r:0 w:2)538 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)539 fn transfer_raw() -> Weight {540 // Proof Size summary in bytes:541 // Measured: `412`542 // Estimated: `10144`543 // Minimum execution time: 9_307_000 picoseconds.544 Weight::from_parts(10_108_000, 10144)545 .saturating_add(RocksDbWeight::get().reads(4_u64))546 .saturating_add(RocksDbWeight::get().writes(5_u64))547 }548 /// Storage: Nonfungible TokenData (r:1 w:0)549 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)550 /// Storage: Nonfungible Allowance (r:1 w:1)551 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)552 fn approve() -> Weight {553 // Proof Size summary in bytes:554 // Measured: `358`555 // Estimated: `5064`556 // Minimum execution time: 11_507_000 picoseconds.557 Weight::from_parts(11_771_000, 5064)558 .saturating_add(RocksDbWeight::get().reads(2_u64))559 .saturating_add(RocksDbWeight::get().writes(1_u64))560 }561 /// Storage: Nonfungible TokenData (r:1 w:0)562 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)563 /// Storage: Nonfungible Allowance (r:1 w:1)564 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)565 fn approve_from() -> Weight {566 // Proof Size summary in bytes:567 // Measured: `313`568 // Estimated: `5064`569 // Minimum execution time: 11_558_000 picoseconds.570 Weight::from_parts(11_789_000, 5064)571 .saturating_add(RocksDbWeight::get().reads(2_u64))572 .saturating_add(RocksDbWeight::get().writes(1_u64))573 }574 /// Storage: Nonfungible Allowance (r:1 w:0)575 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)576 fn check_allowed_raw() -> Weight {577 // Proof Size summary in bytes:578 // Measured: `394`579 // Estimated: `2532`580 // Minimum execution time: 2_668_000 picoseconds.581 Weight::from_parts(2_877_000, 2532)582 .saturating_add(RocksDbWeight::get().reads(1_u64))583 }584 /// Storage: Nonfungible Allowance (r:1 w:1)585 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)586 /// Storage: Nonfungible TokenData (r:1 w:1)587 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)588 /// Storage: Nonfungible TokenChildren (r:1 w:0)589 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)590 /// Storage: Nonfungible TokensBurnt (r:1 w:1)591 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)592 /// Storage: Nonfungible AccountBalance (r:1 w:1)593 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)594 /// Storage: Nonfungible Owned (r:0 w:1)595 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)596 /// Storage: Nonfungible TokenProperties (r:0 w:1)597 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)598 fn burn_from() -> Weight {599 // Proof Size summary in bytes:600 // Measured: `527`601 // Estimated: `12611`602 // Minimum execution time: 30_713_000 picoseconds.603 Weight::from_parts(31_160_000, 12611)604 .saturating_add(RocksDbWeight::get().reads(5_u64))605 .saturating_add(RocksDbWeight::get().writes(6_u64))606 }607 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)608 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)609 /// The range of component `b` is `[0, 64]`.610 fn set_token_property_permissions(b: u32, ) -> Weight {611 // Proof Size summary in bytes:612 // Measured: `281`613 // Estimated: `19201`614 // Minimum execution time: 2_360_000 picoseconds.615 Weight::from_parts(2_396_000, 19201)616 // Standard Error: 43_257617 .saturating_add(Weight::from_parts(12_085_808, 0).saturating_mul(b.into()))618 .saturating_add(RocksDbWeight::get().reads(1_u64))619 .saturating_add(RocksDbWeight::get().writes(1_u64))620 }621 /// Storage: Nonfungible TokenProperties (r:1 w:1)622 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)623 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)624 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)625 /// The range of component `b` is `[0, 64]`.626 fn set_token_properties(b: u32, ) -> Weight {627 // Proof Size summary in bytes:628 // Measured: `616 + b * (261 ±0)`629 // Estimated: `54480`630 // Minimum execution time: 12_543_000 picoseconds.631 Weight::from_parts(12_686_000, 54480)632 // Standard Error: 52_286633 .saturating_add(Weight::from_parts(6_894_785, 0).saturating_mul(b.into()))634 .saturating_add(RocksDbWeight::get().reads(2_u64))635 .saturating_add(RocksDbWeight::get().writes(1_u64))636 }637 /// Storage: Nonfungible TokenProperties (r:1 w:1)638 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)639 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)640 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)641 /// The range of component `b` is `[0, 64]`.642 fn delete_token_properties(b: u32, ) -> Weight {643 // Proof Size summary in bytes:644 // Measured: `653 + b * (33291 ±0)`645 // Estimated: `54480`646 // Minimum execution time: 12_352_000 picoseconds.647 Weight::from_parts(12_523_000, 54480)648 // Standard Error: 70_401649 .saturating_add(Weight::from_parts(21_959_228, 0).saturating_mul(b.into()))650 .saturating_add(RocksDbWeight::get().reads(2_u64))651 .saturating_add(RocksDbWeight::get().writes(1_u64))652 }653 /// Storage: Nonfungible TokenData (r:1 w:0)654 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)655 fn token_owner() -> Weight {656 // Proof Size summary in bytes:657 // Measured: `358`658 // Estimated: `2532`659 // Minimum execution time: 4_797_000 picoseconds.660 Weight::from_parts(5_499_000, 2532)661 .saturating_add(RocksDbWeight::get().reads(1_u64))662 }663 /// Storage: Nonfungible CollectionAllowance (r:0 w:1)664 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)665 fn set_allowance_for_all() -> Weight {666 // Proof Size summary in bytes:667 // Measured: `0`668 // Estimated: `0`669 // Minimum execution time: 6_303_000 picoseconds.670 Weight::from_parts(6_712_000, 0)671 .saturating_add(RocksDbWeight::get().writes(1_u64))672 }673 /// Storage: Nonfungible CollectionAllowance (r:1 w:0)674 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)675 fn allowance_for_all() -> Weight {676 // Proof Size summary in bytes:677 // Measured: `109`678 // Estimated: `2586`679 // Minimum execution time: 3_798_000 picoseconds.680 Weight::from_parts(4_017_000, 2586)681 .saturating_add(RocksDbWeight::get().reads(1_u64))682 }683 /// Storage: Nonfungible TokenProperties (r:1 w:1)684 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)685 fn repair_item() -> Weight {686 // Proof Size summary in bytes:687 // Measured: `300`688 // Estimated: `35279`689 // Minimum execution time: 5_531_000 picoseconds.690 Weight::from_parts(5_750_000, 35279)691 .saturating_add(RocksDbWeight::get().reads(1_u64))692 .saturating_add(RocksDbWeight::get().writes(1_u64))693 }694}6951// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_nonfungible4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`8//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`9//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10241011// Executed Command:12// target/release/unique-collator13// benchmark14// pallet15// --pallet16// pallet-nonfungible17// --wasm-execution18// compiled19// --extrinsic20// *21// --template=.maintain/frame-weight-template.hbs22// --steps=5023// --repeat=8024// --heap-pages=409625// --output=./pallets/nonfungible/src/weights.rs2627#![cfg_attr(rustfmt, rustfmt_skip)]28#![allow(unused_parens)]29#![allow(unused_imports)]3031use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use sp_std::marker::PhantomData;3334/// Weight functions needed for pallet_nonfungible.35pub trait WeightInfo {36 fn create_item() -> Weight;37 fn create_multiple_items(b: u32, ) -> Weight;38 fn create_multiple_items_ex(b: u32, ) -> Weight;39 fn burn_item() -> Weight;40 fn burn_recursively_self_raw() -> Weight;41 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight;42 fn transfer_raw() -> Weight;43 fn approve() -> Weight;44 fn approve_from() -> Weight;45 fn check_allowed_raw() -> Weight;46 fn burn_from() -> Weight;47 fn set_token_property_permissions(b: u32, ) -> Weight;48 fn set_token_properties(b: u32, ) -> Weight;49 fn delete_token_properties(b: u32, ) -> Weight;50 fn token_owner() -> Weight;51 fn set_allowance_for_all() -> Weight;52 fn allowance_for_all() -> Weight;53 fn repair_item() -> Weight;54}5556/// Weights for pallet_nonfungible using the Substrate node and recommended hardware.57pub struct SubstrateWeight<T>(PhantomData<T>);58impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {59 /// Storage: Nonfungible TokensMinted (r:1 w:1)60 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)61 /// Storage: Nonfungible AccountBalance (r:1 w:1)62 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)63 /// Storage: Nonfungible TokenProperties (r:1 w:1)64 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)65 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)66 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)67 /// Storage: Nonfungible TokenData (r:0 w:1)68 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)69 /// Storage: Nonfungible Owned (r:0 w:1)70 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)71 fn create_item() -> Weight {72 // Proof Size summary in bytes:73 // Measured: `390`74 // Estimated: `63471`75 // Minimum execution time: 25_892_000 picoseconds.76 Weight::from_parts(26_424_000, 63471)77 .saturating_add(T::DbWeight::get().reads(4_u64))78 .saturating_add(T::DbWeight::get().writes(5_u64))79 }80 /// Storage: Nonfungible TokensMinted (r:1 w:1)81 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)82 /// Storage: Nonfungible AccountBalance (r:1 w:1)83 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)84 /// Storage: Nonfungible TokenProperties (r:200 w:200)85 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)86 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)87 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)88 /// Storage: Nonfungible TokenData (r:0 w:200)89 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)90 /// Storage: Nonfungible Owned (r:0 w:200)91 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)92 /// The range of component `b` is `[0, 200]`.93 fn create_multiple_items(b: u32, ) -> Weight {94 // Proof Size summary in bytes:95 // Measured: `390`96 // Estimated: `28192 + b * (35279 ±0)`97 // Minimum execution time: 4_612_000 picoseconds.98 Weight::from_parts(6_399_460, 28192)99 // Standard Error: 5_119100 .saturating_add(Weight::from_parts(7_230_389, 0).saturating_mul(b.into()))101 .saturating_add(T::DbWeight::get().reads(3_u64))102 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))103 .saturating_add(T::DbWeight::get().writes(2_u64))104 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))105 .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))106 }107 /// Storage: Nonfungible TokensMinted (r:1 w:1)108 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)109 /// Storage: Nonfungible AccountBalance (r:200 w:200)110 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)111 /// Storage: Nonfungible TokenProperties (r:200 w:200)112 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)113 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)114 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)115 /// Storage: Nonfungible TokenData (r:0 w:200)116 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)117 /// Storage: Nonfungible Owned (r:0 w:200)118 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)119 /// The range of component `b` is `[0, 200]`.120 fn create_multiple_items_ex(b: u32, ) -> Weight {121 // Proof Size summary in bytes:122 // Measured: `390`123 // Estimated: `25652 + b * (37819 ±0)`124 // Minimum execution time: 4_538_000 picoseconds.125 Weight::from_parts(4_686_000, 25652)126 // Standard Error: 3_518127 .saturating_add(Weight::from_parts(8_905_771, 0).saturating_mul(b.into()))128 .saturating_add(T::DbWeight::get().reads(2_u64))129 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))130 .saturating_add(T::DbWeight::get().writes(1_u64))131 .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))132 .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))133 }134 /// Storage: Nonfungible TokenData (r:1 w:1)135 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)136 /// Storage: Nonfungible TokenChildren (r:1 w:0)137 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)138 /// Storage: Nonfungible TokensBurnt (r:1 w:1)139 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)140 /// Storage: Nonfungible AccountBalance (r:1 w:1)141 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)142 /// Storage: Nonfungible Allowance (r:1 w:0)143 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)144 /// Storage: Nonfungible Owned (r:0 w:1)145 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)146 /// Storage: Nonfungible TokenProperties (r:0 w:1)147 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)148 fn burn_item() -> Weight {149 // Proof Size summary in bytes:150 // Measured: `380`151 // Estimated: `17561`152 // Minimum execution time: 24_230_000 picoseconds.153 Weight::from_parts(24_672_000, 17561)154 .saturating_add(T::DbWeight::get().reads(5_u64))155 .saturating_add(T::DbWeight::get().writes(5_u64))156 }157 /// Storage: Nonfungible TokenChildren (r:1 w:0)158 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)159 /// Storage: Nonfungible TokenData (r:1 w:1)160 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)161 /// Storage: Nonfungible TokensBurnt (r:1 w:1)162 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)163 /// Storage: Nonfungible AccountBalance (r:1 w:1)164 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)165 /// Storage: Nonfungible Allowance (r:1 w:0)166 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)167 /// Storage: Nonfungible Owned (r:0 w:1)168 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)169 /// Storage: Nonfungible TokenProperties (r:0 w:1)170 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)171 fn burn_recursively_self_raw() -> Weight {172 // Proof Size summary in bytes:173 // Measured: `380`174 // Estimated: `17561`175 // Minimum execution time: 30_521_000 picoseconds.176 Weight::from_parts(31_241_000, 17561)177 .saturating_add(T::DbWeight::get().reads(5_u64))178 .saturating_add(T::DbWeight::get().writes(5_u64))179 }180 /// Storage: Nonfungible TokenChildren (r:401 w:200)181 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)182 /// Storage: Common CollectionById (r:1 w:0)183 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)184 /// Storage: Nonfungible TokenData (r:201 w:201)185 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)186 /// Storage: Nonfungible TokensBurnt (r:1 w:1)187 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)188 /// Storage: Nonfungible AccountBalance (r:2 w:2)189 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)190 /// Storage: Nonfungible Allowance (r:201 w:0)191 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)192 /// Storage: Nonfungible Owned (r:0 w:201)193 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)194 /// Storage: Nonfungible TokenProperties (r:0 w:201)195 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)196 /// The range of component `b` is `[0, 200]`.197 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {198 // Proof Size summary in bytes:199 // Measured: `1467 + b * (58 ±0)`200 // Estimated: `24230 + b * (10097 ±0)`201 // Minimum execution time: 31_734_000 picoseconds.202 Weight::from_parts(32_162_000, 24230)203 // Standard Error: 210_514204 .saturating_add(Weight::from_parts(71_382_804, 0).saturating_mul(b.into()))205 .saturating_add(T::DbWeight::get().reads(7_u64))206 .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(b.into())))207 .saturating_add(T::DbWeight::get().writes(6_u64))208 .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))209 .saturating_add(Weight::from_parts(0, 10097).saturating_mul(b.into()))210 }211 /// Storage: Nonfungible TokenData (r:1 w:1)212 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)213 /// Storage: Nonfungible AccountBalance (r:2 w:2)214 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)215 /// Storage: Nonfungible Allowance (r:1 w:0)216 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)217 /// Storage: Nonfungible Owned (r:0 w:2)218 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)219 fn transfer_raw() -> Weight {220 // Proof Size summary in bytes:221 // Measured: `380`222 // Estimated: `13114`223 // Minimum execution time: 18_305_000 picoseconds.224 Weight::from_parts(18_859_000, 13114)225 .saturating_add(T::DbWeight::get().reads(4_u64))226 .saturating_add(T::DbWeight::get().writes(5_u64))227 }228 /// Storage: Nonfungible TokenData (r:1 w:0)229 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)230 /// Storage: Nonfungible Allowance (r:1 w:1)231 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)232 fn approve() -> Weight {233 // Proof Size summary in bytes:234 // Measured: `326`235 // Estimated: `7044`236 // Minimum execution time: 10_977_000 picoseconds.237 Weight::from_parts(11_184_000, 7044)238 .saturating_add(T::DbWeight::get().reads(2_u64))239 .saturating_add(T::DbWeight::get().writes(1_u64))240 }241 /// Storage: Nonfungible TokenData (r:1 w:0)242 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)243 /// Storage: Nonfungible Allowance (r:1 w:1)244 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)245 fn approve_from() -> Weight {246 // Proof Size summary in bytes:247 // Measured: `313`248 // Estimated: `7044`249 // Minimum execution time: 11_456_000 picoseconds.250 Weight::from_parts(11_731_000, 7044)251 .saturating_add(T::DbWeight::get().reads(2_u64))252 .saturating_add(T::DbWeight::get().writes(1_u64))253 }254 /// Storage: Nonfungible Allowance (r:1 w:0)255 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)256 fn check_allowed_raw() -> Weight {257 // Proof Size summary in bytes:258 // Measured: `362`259 // Estimated: `3522`260 // Minimum execution time: 5_771_000 picoseconds.261 Weight::from_parts(5_972_000, 3522)262 .saturating_add(T::DbWeight::get().reads(1_u64))263 }264 /// Storage: Nonfungible Allowance (r:1 w:1)265 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)266 /// Storage: Nonfungible TokenData (r:1 w:1)267 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)268 /// Storage: Nonfungible TokenChildren (r:1 w:0)269 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)270 /// Storage: Nonfungible TokensBurnt (r:1 w:1)271 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)272 /// Storage: Nonfungible AccountBalance (r:1 w:1)273 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)274 /// Storage: Nonfungible Owned (r:0 w:1)275 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)276 /// Storage: Nonfungible TokenProperties (r:0 w:1)277 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)278 fn burn_from() -> Weight {279 // Proof Size summary in bytes:280 // Measured: `463`281 // Estimated: `17561`282 // Minimum execution time: 30_633_000 picoseconds.283 Weight::from_parts(31_136_000, 17561)284 .saturating_add(T::DbWeight::get().reads(5_u64))285 .saturating_add(T::DbWeight::get().writes(6_u64))286 }287 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)288 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)289 /// The range of component `b` is `[0, 64]`.290 fn set_token_property_permissions(b: u32, ) -> Weight {291 // Proof Size summary in bytes:292 // Measured: `281`293 // Estimated: `20191`294 // Minimum execution time: 2_300_000 picoseconds.295 Weight::from_parts(2_382_000, 20191)296 // Standard Error: 45_076297 .saturating_add(Weight::from_parts(12_000_777, 0).saturating_mul(b.into()))298 .saturating_add(T::DbWeight::get().reads(1_u64))299 .saturating_add(T::DbWeight::get().writes(1_u64))300 }301 /// Storage: Nonfungible TokenProperties (r:1 w:1)302 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)303 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)304 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)305 /// The range of component `b` is `[0, 64]`.306 fn set_token_properties(b: u32, ) -> Weight {307 // Proof Size summary in bytes:308 // Measured: `584 + b * (261 ±0)`309 // Estimated: `56460`310 // Minimum execution time: 12_422_000 picoseconds.311 Weight::from_parts(5_523_689, 56460)312 // Standard Error: 74_137313 .saturating_add(Weight::from_parts(6_320_501, 0).saturating_mul(b.into()))314 .saturating_add(T::DbWeight::get().reads(2_u64))315 .saturating_add(T::DbWeight::get().writes(1_u64))316 }317 /// Storage: Nonfungible TokenProperties (r:1 w:1)318 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)319 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)320 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)321 /// The range of component `b` is `[0, 64]`.322 fn delete_token_properties(b: u32, ) -> Weight {323 // Proof Size summary in bytes:324 // Measured: `589 + b * (33291 ±0)`325 // Estimated: `56460`326 // Minimum execution time: 12_006_000 picoseconds.327 Weight::from_parts(12_216_000, 56460)328 // Standard Error: 83_431329 .saturating_add(Weight::from_parts(24_556_999, 0).saturating_mul(b.into()))330 .saturating_add(T::DbWeight::get().reads(2_u64))331 .saturating_add(T::DbWeight::get().writes(1_u64))332 }333 /// Storage: Nonfungible TokenData (r:1 w:0)334 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)335 fn token_owner() -> Weight {336 // Proof Size summary in bytes:337 // Measured: `326`338 // Estimated: `3522`339 // Minimum execution time: 4_827_000 picoseconds.340 Weight::from_parts(4_984_000, 3522)341 .saturating_add(T::DbWeight::get().reads(1_u64))342 }343 /// Storage: Nonfungible CollectionAllowance (r:0 w:1)344 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)345 fn set_allowance_for_all() -> Weight {346 // Proof Size summary in bytes:347 // Measured: `0`348 // Estimated: `0`349 // Minimum execution time: 6_151_000 picoseconds.350 Weight::from_parts(6_394_000, 0)351 .saturating_add(T::DbWeight::get().writes(1_u64))352 }353 /// Storage: Nonfungible CollectionAllowance (r:1 w:0)354 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)355 fn allowance_for_all() -> Weight {356 // Proof Size summary in bytes:357 // Measured: `109`358 // Estimated: `3576`359 // Minimum execution time: 3_791_000 picoseconds.360 Weight::from_parts(3_950_000, 3576)361 .saturating_add(T::DbWeight::get().reads(1_u64))362 }363 /// Storage: Nonfungible TokenProperties (r:1 w:1)364 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)365 fn repair_item() -> Weight {366 // Proof Size summary in bytes:367 // Measured: `300`368 // Estimated: `36269`369 // Minimum execution time: 5_364_000 picoseconds.370 Weight::from_parts(5_539_000, 36269)371 .saturating_add(T::DbWeight::get().reads(1_u64))372 .saturating_add(T::DbWeight::get().writes(1_u64))373 }374}375376// For backwards compatibility and tests377impl WeightInfo for () {378 /// Storage: Nonfungible TokensMinted (r:1 w:1)379 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)380 /// Storage: Nonfungible AccountBalance (r:1 w:1)381 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)382 /// Storage: Nonfungible TokenProperties (r:1 w:1)383 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)384 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)385 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)386 /// Storage: Nonfungible TokenData (r:0 w:1)387 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)388 /// Storage: Nonfungible Owned (r:0 w:1)389 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)390 fn create_item() -> Weight {391 // Proof Size summary in bytes:392 // Measured: `390`393 // Estimated: `63471`394 // Minimum execution time: 25_892_000 picoseconds.395 Weight::from_parts(26_424_000, 63471)396 .saturating_add(RocksDbWeight::get().reads(4_u64))397 .saturating_add(RocksDbWeight::get().writes(5_u64))398 }399 /// Storage: Nonfungible TokensMinted (r:1 w:1)400 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)401 /// Storage: Nonfungible AccountBalance (r:1 w:1)402 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)403 /// Storage: Nonfungible TokenProperties (r:200 w:200)404 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)405 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)406 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)407 /// Storage: Nonfungible TokenData (r:0 w:200)408 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)409 /// Storage: Nonfungible Owned (r:0 w:200)410 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)411 /// The range of component `b` is `[0, 200]`.412 fn create_multiple_items(b: u32, ) -> Weight {413 // Proof Size summary in bytes:414 // Measured: `390`415 // Estimated: `28192 + b * (35279 ±0)`416 // Minimum execution time: 4_612_000 picoseconds.417 Weight::from_parts(6_399_460, 28192)418 // Standard Error: 5_119419 .saturating_add(Weight::from_parts(7_230_389, 0).saturating_mul(b.into()))420 .saturating_add(RocksDbWeight::get().reads(3_u64))421 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))422 .saturating_add(RocksDbWeight::get().writes(2_u64))423 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))424 .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))425 }426 /// Storage: Nonfungible TokensMinted (r:1 w:1)427 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)428 /// Storage: Nonfungible AccountBalance (r:200 w:200)429 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)430 /// Storage: Nonfungible TokenProperties (r:200 w:200)431 /// Proof: Nonfungible 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 /// Storage: Nonfungible TokenData (r:0 w:200)435 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)436 /// Storage: Nonfungible Owned (r:0 w:200)437 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)438 /// The range of component `b` is `[0, 200]`.439 fn create_multiple_items_ex(b: u32, ) -> Weight {440 // Proof Size summary in bytes:441 // Measured: `390`442 // Estimated: `25652 + b * (37819 ±0)`443 // Minimum execution time: 4_538_000 picoseconds.444 Weight::from_parts(4_686_000, 25652)445 // Standard Error: 3_518446 .saturating_add(Weight::from_parts(8_905_771, 0).saturating_mul(b.into()))447 .saturating_add(RocksDbWeight::get().reads(2_u64))448 .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))449 .saturating_add(RocksDbWeight::get().writes(1_u64))450 .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))451 .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))452 }453 /// Storage: Nonfungible TokenData (r:1 w:1)454 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)455 /// Storage: Nonfungible TokenChildren (r:1 w:0)456 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)457 /// Storage: Nonfungible TokensBurnt (r:1 w:1)458 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)459 /// Storage: Nonfungible AccountBalance (r:1 w:1)460 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)461 /// Storage: Nonfungible Allowance (r:1 w:0)462 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)463 /// Storage: Nonfungible Owned (r:0 w:1)464 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)465 /// Storage: Nonfungible TokenProperties (r:0 w:1)466 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)467 fn burn_item() -> Weight {468 // Proof Size summary in bytes:469 // Measured: `380`470 // Estimated: `17561`471 // Minimum execution time: 24_230_000 picoseconds.472 Weight::from_parts(24_672_000, 17561)473 .saturating_add(RocksDbWeight::get().reads(5_u64))474 .saturating_add(RocksDbWeight::get().writes(5_u64))475 }476 /// Storage: Nonfungible TokenChildren (r:1 w:0)477 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)478 /// Storage: Nonfungible TokenData (r:1 w:1)479 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)480 /// Storage: Nonfungible TokensBurnt (r:1 w:1)481 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)482 /// Storage: Nonfungible AccountBalance (r:1 w:1)483 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)484 /// Storage: Nonfungible Allowance (r:1 w:0)485 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)486 /// Storage: Nonfungible Owned (r:0 w:1)487 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)488 /// Storage: Nonfungible TokenProperties (r:0 w:1)489 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)490 fn burn_recursively_self_raw() -> Weight {491 // Proof Size summary in bytes:492 // Measured: `380`493 // Estimated: `17561`494 // Minimum execution time: 30_521_000 picoseconds.495 Weight::from_parts(31_241_000, 17561)496 .saturating_add(RocksDbWeight::get().reads(5_u64))497 .saturating_add(RocksDbWeight::get().writes(5_u64))498 }499 /// Storage: Nonfungible TokenChildren (r:401 w:200)500 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)501 /// Storage: Common CollectionById (r:1 w:0)502 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)503 /// Storage: Nonfungible TokenData (r:201 w:201)504 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)505 /// Storage: Nonfungible TokensBurnt (r:1 w:1)506 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)507 /// Storage: Nonfungible AccountBalance (r:2 w:2)508 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)509 /// Storage: Nonfungible Allowance (r:201 w:0)510 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)511 /// Storage: Nonfungible Owned (r:0 w:201)512 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)513 /// Storage: Nonfungible TokenProperties (r:0 w:201)514 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)515 /// The range of component `b` is `[0, 200]`.516 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {517 // Proof Size summary in bytes:518 // Measured: `1467 + b * (58 ±0)`519 // Estimated: `24230 + b * (10097 ±0)`520 // Minimum execution time: 31_734_000 picoseconds.521 Weight::from_parts(32_162_000, 24230)522 // Standard Error: 210_514523 .saturating_add(Weight::from_parts(71_382_804, 0).saturating_mul(b.into()))524 .saturating_add(RocksDbWeight::get().reads(7_u64))525 .saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(b.into())))526 .saturating_add(RocksDbWeight::get().writes(6_u64))527 .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))528 .saturating_add(Weight::from_parts(0, 10097).saturating_mul(b.into()))529 }530 /// Storage: Nonfungible TokenData (r:1 w:1)531 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)532 /// Storage: Nonfungible AccountBalance (r:2 w:2)533 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)534 /// Storage: Nonfungible Allowance (r:1 w:0)535 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)536 /// Storage: Nonfungible Owned (r:0 w:2)537 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)538 fn transfer_raw() -> Weight {539 // Proof Size summary in bytes:540 // Measured: `380`541 // Estimated: `13114`542 // Minimum execution time: 18_305_000 picoseconds.543 Weight::from_parts(18_859_000, 13114)544 .saturating_add(RocksDbWeight::get().reads(4_u64))545 .saturating_add(RocksDbWeight::get().writes(5_u64))546 }547 /// Storage: Nonfungible TokenData (r:1 w:0)548 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)549 /// Storage: Nonfungible Allowance (r:1 w:1)550 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)551 fn approve() -> Weight {552 // Proof Size summary in bytes:553 // Measured: `326`554 // Estimated: `7044`555 // Minimum execution time: 10_977_000 picoseconds.556 Weight::from_parts(11_184_000, 7044)557 .saturating_add(RocksDbWeight::get().reads(2_u64))558 .saturating_add(RocksDbWeight::get().writes(1_u64))559 }560 /// Storage: Nonfungible TokenData (r:1 w:0)561 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)562 /// Storage: Nonfungible Allowance (r:1 w:1)563 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)564 fn approve_from() -> Weight {565 // Proof Size summary in bytes:566 // Measured: `313`567 // Estimated: `7044`568 // Minimum execution time: 11_456_000 picoseconds.569 Weight::from_parts(11_731_000, 7044)570 .saturating_add(RocksDbWeight::get().reads(2_u64))571 .saturating_add(RocksDbWeight::get().writes(1_u64))572 }573 /// Storage: Nonfungible Allowance (r:1 w:0)574 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)575 fn check_allowed_raw() -> Weight {576 // Proof Size summary in bytes:577 // Measured: `362`578 // Estimated: `3522`579 // Minimum execution time: 5_771_000 picoseconds.580 Weight::from_parts(5_972_000, 3522)581 .saturating_add(RocksDbWeight::get().reads(1_u64))582 }583 /// Storage: Nonfungible Allowance (r:1 w:1)584 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)585 /// Storage: Nonfungible TokenData (r:1 w:1)586 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)587 /// Storage: Nonfungible TokenChildren (r:1 w:0)588 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)589 /// Storage: Nonfungible TokensBurnt (r:1 w:1)590 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)591 /// Storage: Nonfungible AccountBalance (r:1 w:1)592 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)593 /// Storage: Nonfungible Owned (r:0 w:1)594 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)595 /// Storage: Nonfungible TokenProperties (r:0 w:1)596 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)597 fn burn_from() -> Weight {598 // Proof Size summary in bytes:599 // Measured: `463`600 // Estimated: `17561`601 // Minimum execution time: 30_633_000 picoseconds.602 Weight::from_parts(31_136_000, 17561)603 .saturating_add(RocksDbWeight::get().reads(5_u64))604 .saturating_add(RocksDbWeight::get().writes(6_u64))605 }606 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)607 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)608 /// The range of component `b` is `[0, 64]`.609 fn set_token_property_permissions(b: u32, ) -> Weight {610 // Proof Size summary in bytes:611 // Measured: `281`612 // Estimated: `20191`613 // Minimum execution time: 2_300_000 picoseconds.614 Weight::from_parts(2_382_000, 20191)615 // Standard Error: 45_076616 .saturating_add(Weight::from_parts(12_000_777, 0).saturating_mul(b.into()))617 .saturating_add(RocksDbWeight::get().reads(1_u64))618 .saturating_add(RocksDbWeight::get().writes(1_u64))619 }620 /// Storage: Nonfungible TokenProperties (r:1 w:1)621 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)622 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)623 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)624 /// The range of component `b` is `[0, 64]`.625 fn set_token_properties(b: u32, ) -> Weight {626 // Proof Size summary in bytes:627 // Measured: `584 + b * (261 ±0)`628 // Estimated: `56460`629 // Minimum execution time: 12_422_000 picoseconds.630 Weight::from_parts(5_523_689, 56460)631 // Standard Error: 74_137632 .saturating_add(Weight::from_parts(6_320_501, 0).saturating_mul(b.into()))633 .saturating_add(RocksDbWeight::get().reads(2_u64))634 .saturating_add(RocksDbWeight::get().writes(1_u64))635 }636 /// Storage: Nonfungible TokenProperties (r:1 w:1)637 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)638 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)639 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)640 /// The range of component `b` is `[0, 64]`.641 fn delete_token_properties(b: u32, ) -> Weight {642 // Proof Size summary in bytes:643 // Measured: `589 + b * (33291 ±0)`644 // Estimated: `56460`645 // Minimum execution time: 12_006_000 picoseconds.646 Weight::from_parts(12_216_000, 56460)647 // Standard Error: 83_431648 .saturating_add(Weight::from_parts(24_556_999, 0).saturating_mul(b.into()))649 .saturating_add(RocksDbWeight::get().reads(2_u64))650 .saturating_add(RocksDbWeight::get().writes(1_u64))651 }652 /// Storage: Nonfungible TokenData (r:1 w:0)653 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)654 fn token_owner() -> Weight {655 // Proof Size summary in bytes:656 // Measured: `326`657 // Estimated: `3522`658 // Minimum execution time: 4_827_000 picoseconds.659 Weight::from_parts(4_984_000, 3522)660 .saturating_add(RocksDbWeight::get().reads(1_u64))661 }662 /// Storage: Nonfungible CollectionAllowance (r:0 w:1)663 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)664 fn set_allowance_for_all() -> Weight {665 // Proof Size summary in bytes:666 // Measured: `0`667 // Estimated: `0`668 // Minimum execution time: 6_151_000 picoseconds.669 Weight::from_parts(6_394_000, 0)670 .saturating_add(RocksDbWeight::get().writes(1_u64))671 }672 /// Storage: Nonfungible CollectionAllowance (r:1 w:0)673 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)674 fn allowance_for_all() -> Weight {675 // Proof Size summary in bytes:676 // Measured: `109`677 // Estimated: `3576`678 // Minimum execution time: 3_791_000 picoseconds.679 Weight::from_parts(3_950_000, 3576)680 .saturating_add(RocksDbWeight::get().reads(1_u64))681 }682 /// Storage: Nonfungible TokenProperties (r:1 w:1)683 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)684 fn repair_item() -> Weight {685 // Proof Size summary in bytes:686 // Measured: `300`687 // Estimated: `36269`688 // Minimum execution time: 5_364_000 picoseconds.689 Weight::from_parts(5_539_000, 36269)690 .saturating_add(RocksDbWeight::get().reads(1_u64))691 .saturating_add(RocksDbWeight::get().writes(1_u64))692 }693}694pallets/refungible/src/weights.rsdiffbeforeafterboth--- a/pallets/refungible/src/weights.rs
+++ b/pallets/refungible/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_refungible
//!
//! 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;
@@ -81,9 +80,9 @@
fn create_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `285`
- // Estimated: `59511`
- // Minimum execution time: 25_287_000 picoseconds.
- Weight::from_parts(25_741_000, 59511)
+ // Estimated: `63471`
+ // Minimum execution time: 30_759_000 picoseconds.
+ Weight::from_parts(31_321_000, 63471)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -105,11 +104,11 @@
fn create_multiple_items(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `285`
- // Estimated: `24232 + b * (35279 ±0)`
- // Minimum execution time: 4_618_000 picoseconds.
- Weight::from_parts(1_425_218, 24232)
- // Standard Error: 4_343
- .saturating_add(Weight::from_parts(9_154_733, 0).saturating_mul(b.into()))
+ // Estimated: `28192 + b * (35279 ±0)`
+ // Minimum execution time: 4_024_000 picoseconds.
+ Weight::from_parts(4_145_000, 28192)
+ // Standard Error: 3_332
+ .saturating_add(Weight::from_parts(8_967_757, 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))
@@ -134,11 +133,11 @@
fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `285`
- // Estimated: `21692 + b * (37819 ±0)`
- // Minimum execution time: 4_063_000 picoseconds.
- Weight::from_parts(4_160_000, 21692)
- // Standard Error: 2_386
- .saturating_add(Weight::from_parts(10_836_802, 0).saturating_mul(b.into()))
+ // Estimated: `25652 + b * (37819 ±0)`
+ // Minimum execution time: 3_715_000 picoseconds.
+ Weight::from_parts(3_881_000, 25652)
+ // Standard Error: 3_275
+ .saturating_add(Weight::from_parts(10_525_271, 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))
@@ -163,11 +162,11 @@
fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `285`
- // Estimated: `56971 + b * (2540 ±0)`
- // Minimum execution time: 14_637_000 picoseconds.
- Weight::from_parts(19_042_423, 56971)
- // Standard Error: 1_632
- .saturating_add(Weight::from_parts(5_976_694, 0).saturating_mul(b.into()))
+ // Estimated: `60931 + b * (2540 ±0)`
+ // Minimum execution time: 13_150_000 picoseconds.
+ Weight::from_parts(15_655_930, 60931)
+ // Standard Error: 4_170
+ .saturating_add(Weight::from_parts(5_673_702, 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(3_u64))
@@ -185,9 +184,9 @@
fn burn_item_partial() -> Weight {
// Proof Size summary in bytes:
// Measured: `490`
- // Estimated: `12747`
- // Minimum execution time: 35_018_000 picoseconds.
- Weight::from_parts(35_596_000, 12747)
+ // Estimated: `15717`
+ // Minimum execution time: 28_992_000 picoseconds.
+ Weight::from_parts(29_325_000, 15717)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -206,9 +205,9 @@
fn burn_item_fully() -> Weight {
// Proof Size summary in bytes:
// Measured: `375`
- // Estimated: `10110`
- // Minimum execution time: 30_441_000 picoseconds.
- Weight::from_parts(31_000_000, 10110)
+ // Estimated: `14070`
+ // Minimum execution time: 27_980_000 picoseconds.
+ Weight::from_parts(28_582_000, 14070)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -219,9 +218,9 @@
fn transfer_normal() -> Weight {
// Proof Size summary in bytes:
// Measured: `398`
- // Estimated: `7643`
- // Minimum execution time: 20_055_000 picoseconds.
- Weight::from_parts(20_533_000, 7643)
+ // Estimated: `9623`
+ // Minimum execution time: 18_746_000 picoseconds.
+ Weight::from_parts(19_096_000, 9623)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -236,9 +235,9 @@
fn transfer_creating() -> Weight {
// Proof Size summary in bytes:
// Measured: `375`
- // Estimated: `10183`
- // Minimum execution time: 23_443_000 picoseconds.
- Weight::from_parts(23_791_000, 10183)
+ // Estimated: `13153`
+ // Minimum execution time: 21_719_000 picoseconds.
+ Weight::from_parts(22_219_000, 13153)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -253,9 +252,9 @@
fn transfer_removing() -> Weight {
// Proof Size summary in bytes:
// Measured: `490`
- // Estimated: `10183`
- // Minimum execution time: 26_489_000 picoseconds.
- Weight::from_parts(27_103_000, 10183)
+ // Estimated: `13153`
+ // Minimum execution time: 24_784_000 picoseconds.
+ Weight::from_parts(25_231_000, 13153)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -270,9 +269,9 @@
fn transfer_creating_removing() -> Weight {
// Proof Size summary in bytes:
// Measured: `375`
- // Estimated: `12723`
- // Minimum execution time: 26_719_000 picoseconds.
- Weight::from_parts(27_038_000, 12723)
+ // Estimated: `15693`
+ // Minimum execution time: 24_865_000 picoseconds.
+ Weight::from_parts(25_253_000, 15693)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -283,9 +282,9 @@
fn approve() -> Weight {
// Proof Size summary in bytes:
// Measured: `256`
- // Estimated: `2564`
- // Minimum execution time: 12_949_000 picoseconds.
- Weight::from_parts(13_181_000, 2564)
+ // Estimated: `3554`
+ // Minimum execution time: 12_318_000 picoseconds.
+ Weight::from_parts(12_597_000, 3554)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -296,9 +295,9 @@
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `244`
- // Estimated: `2564`
- // Minimum execution time: 12_942_000 picoseconds.
- Weight::from_parts(13_268_000, 2564)
+ // Estimated: `3554`
+ // Minimum execution time: 12_276_000 picoseconds.
+ Weight::from_parts(12_557_000, 3554)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -311,9 +310,9 @@
fn transfer_from_normal() -> Weight {
// Proof Size summary in bytes:
// Measured: `528`
- // Estimated: `10223`
- // Minimum execution time: 28_907_000 picoseconds.
- Weight::from_parts(29_487_000, 10223)
+ // Estimated: `13193`
+ // Minimum execution time: 26_852_000 picoseconds.
+ Weight::from_parts(27_427_000, 13193)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -330,9 +329,9 @@
fn transfer_from_creating() -> Weight {
// Proof Size summary in bytes:
// Measured: `505`
- // Estimated: `12763`
- // Minimum execution time: 31_271_000 picoseconds.
- Weight::from_parts(32_293_000, 12763)
+ // Estimated: `16723`
+ // Minimum execution time: 29_893_000 picoseconds.
+ Weight::from_parts(30_345_000, 16723)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -349,9 +348,9 @@
fn transfer_from_removing() -> Weight {
// Proof Size summary in bytes:
// Measured: `620`
- // Estimated: `12763`
- // Minimum execution time: 34_295_000 picoseconds.
- Weight::from_parts(34_924_000, 12763)
+ // Estimated: `16723`
+ // Minimum execution time: 32_784_000 picoseconds.
+ Weight::from_parts(33_322_000, 16723)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -368,9 +367,9 @@
fn transfer_from_creating_removing() -> Weight {
// Proof Size summary in bytes:
// Measured: `505`
- // Estimated: `15303`
- // Minimum execution time: 35_447_000 picoseconds.
- Weight::from_parts(35_896_000, 15303)
+ // Estimated: `19263`
+ // Minimum execution time: 32_987_000 picoseconds.
+ Weight::from_parts(33_428_000, 19263)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
@@ -391,9 +390,9 @@
fn burn_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `505`
- // Estimated: `12690`
- // Minimum execution time: 39_395_000 picoseconds.
- Weight::from_parts(40_119_000, 12690)
+ // Estimated: `17640`
+ // Minimum execution time: 38_277_000 picoseconds.
+ Weight::from_parts(38_983_000, 17640)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
@@ -403,11 +402,11 @@
fn set_token_property_permissions(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `281`
- // Estimated: `19201`
- // Minimum execution time: 2_337_000 picoseconds.
- Weight::from_parts(2_434_000, 19201)
- // Standard Error: 43_425
- .saturating_add(Weight::from_parts(12_286_502, 0).saturating_mul(b.into()))
+ // Estimated: `20191`
+ // Minimum execution time: 2_254_000 picoseconds.
+ Weight::from_parts(2_335_000, 20191)
+ // Standard Error: 44_906
+ .saturating_add(Weight::from_parts(12_118_499, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -418,12 +417,12 @@
/// The range of component `b` is `[0, 64]`.
fn set_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `490 + b * (261 ±0)`
- // Estimated: `54480`
- // Minimum execution time: 11_857_000 picoseconds.
- Weight::from_parts(12_007_000, 54480)
- // Standard Error: 22_963
- .saturating_add(Weight::from_parts(6_609_180, 0).saturating_mul(b.into()))
+ // Measured: `458 + b * (261 ±0)`
+ // Estimated: `56460`
+ // Minimum execution time: 11_249_000 picoseconds.
+ Weight::from_parts(11_420_000, 56460)
+ // Standard Error: 72_033
+ .saturating_add(Weight::from_parts(7_008_012, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -434,12 +433,12 @@
/// The range of component `b` is `[0, 64]`.
fn delete_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `527 + b * (33291 ±0)`
- // Estimated: `54480`
- // Minimum execution time: 12_001_000 picoseconds.
- Weight::from_parts(12_197_000, 54480)
- // Standard Error: 70_580
- .saturating_add(Weight::from_parts(21_847_004, 0).saturating_mul(b.into()))
+ // Measured: `463 + b * (33291 ±0)`
+ // Estimated: `56460`
+ // Minimum execution time: 11_368_000 picoseconds.
+ Weight::from_parts(11_546_000, 56460)
+ // Standard Error: 85_444
+ .saturating_add(Weight::from_parts(24_644_980, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -450,9 +449,9 @@
fn repartition_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `321`
- // Estimated: `5079`
- // Minimum execution time: 14_497_000 picoseconds.
- Weight::from_parts(14_825_000, 5079)
+ // Estimated: `7059`
+ // Minimum execution time: 13_586_000 picoseconds.
+ Weight::from_parts(14_489_000, 7059)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -461,9 +460,9 @@
fn token_owner() -> Weight {
// Proof Size summary in bytes:
// Measured: `321`
- // Estimated: `5128`
- // Minimum execution time: 8_888_000 picoseconds.
- Weight::from_parts(9_373_000, 5128)
+ // Estimated: `6118`
+ // Minimum execution time: 7_049_000 picoseconds.
+ Weight::from_parts(7_320_000, 6118)
.saturating_add(T::DbWeight::get().reads(2_u64))
}
/// Storage: Refungible CollectionAllowance (r:0 w:1)
@@ -472,8 +471,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 7_042_000 picoseconds.
- Weight::from_parts(7_245_000, 0)
+ // Minimum execution time: 6_432_000 picoseconds.
+ Weight::from_parts(6_642_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Refungible CollectionAllowance (r:1 w:0)
@@ -481,9 +480,9 @@
fn allowance_for_all() -> Weight {
// Proof Size summary in bytes:
// Measured: `4`
- // Estimated: `2586`
- // Minimum execution time: 3_425_000 picoseconds.
- Weight::from_parts(3_554_000, 2586)
+ // Estimated: `3576`
+ // Minimum execution time: 3_030_000 picoseconds.
+ Weight::from_parts(3_206_000, 3576)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Refungible TokenProperties (r:1 w:1)
@@ -491,9 +490,9 @@
fn repair_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `174`
- // Estimated: `35279`
- // Minimum execution time: 4_684_000 picoseconds.
- Weight::from_parts(4_805_000, 35279)
+ // Estimated: `36269`
+ // Minimum execution time: 4_371_000 picoseconds.
+ Weight::from_parts(4_555_000, 36269)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -518,9 +517,9 @@
fn create_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `285`
- // Estimated: `59511`
- // Minimum execution time: 25_287_000 picoseconds.
- Weight::from_parts(25_741_000, 59511)
+ // Estimated: `63471`
+ // Minimum execution time: 30_759_000 picoseconds.
+ Weight::from_parts(31_321_000, 63471)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -542,11 +541,11 @@
fn create_multiple_items(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `285`
- // Estimated: `24232 + b * (35279 ±0)`
- // Minimum execution time: 4_618_000 picoseconds.
- Weight::from_parts(1_425_218, 24232)
- // Standard Error: 4_343
- .saturating_add(Weight::from_parts(9_154_733, 0).saturating_mul(b.into()))
+ // Estimated: `28192 + b * (35279 ±0)`
+ // Minimum execution time: 4_024_000 picoseconds.
+ Weight::from_parts(4_145_000, 28192)
+ // Standard Error: 3_332
+ .saturating_add(Weight::from_parts(8_967_757, 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))
@@ -571,11 +570,11 @@
fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `285`
- // Estimated: `21692 + b * (37819 ±0)`
- // Minimum execution time: 4_063_000 picoseconds.
- Weight::from_parts(4_160_000, 21692)
- // Standard Error: 2_386
- .saturating_add(Weight::from_parts(10_836_802, 0).saturating_mul(b.into()))
+ // Estimated: `25652 + b * (37819 ±0)`
+ // Minimum execution time: 3_715_000 picoseconds.
+ Weight::from_parts(3_881_000, 25652)
+ // Standard Error: 3_275
+ .saturating_add(Weight::from_parts(10_525_271, 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))
@@ -600,11 +599,11 @@
fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `285`
- // Estimated: `56971 + b * (2540 ±0)`
- // Minimum execution time: 14_637_000 picoseconds.
- Weight::from_parts(19_042_423, 56971)
- // Standard Error: 1_632
- .saturating_add(Weight::from_parts(5_976_694, 0).saturating_mul(b.into()))
+ // Estimated: `60931 + b * (2540 ±0)`
+ // Minimum execution time: 13_150_000 picoseconds.
+ Weight::from_parts(15_655_930, 60931)
+ // Standard Error: 4_170
+ .saturating_add(Weight::from_parts(5_673_702, 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(3_u64))
@@ -622,9 +621,9 @@
fn burn_item_partial() -> Weight {
// Proof Size summary in bytes:
// Measured: `490`
- // Estimated: `12747`
- // Minimum execution time: 35_018_000 picoseconds.
- Weight::from_parts(35_596_000, 12747)
+ // Estimated: `15717`
+ // Minimum execution time: 28_992_000 picoseconds.
+ Weight::from_parts(29_325_000, 15717)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -643,9 +642,9 @@
fn burn_item_fully() -> Weight {
// Proof Size summary in bytes:
// Measured: `375`
- // Estimated: `10110`
- // Minimum execution time: 30_441_000 picoseconds.
- Weight::from_parts(31_000_000, 10110)
+ // Estimated: `14070`
+ // Minimum execution time: 27_980_000 picoseconds.
+ Weight::from_parts(28_582_000, 14070)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -656,9 +655,9 @@
fn transfer_normal() -> Weight {
// Proof Size summary in bytes:
// Measured: `398`
- // Estimated: `7643`
- // Minimum execution time: 20_055_000 picoseconds.
- Weight::from_parts(20_533_000, 7643)
+ // Estimated: `9623`
+ // Minimum execution time: 18_746_000 picoseconds.
+ Weight::from_parts(19_096_000, 9623)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -673,9 +672,9 @@
fn transfer_creating() -> Weight {
// Proof Size summary in bytes:
// Measured: `375`
- // Estimated: `10183`
- // Minimum execution time: 23_443_000 picoseconds.
- Weight::from_parts(23_791_000, 10183)
+ // Estimated: `13153`
+ // Minimum execution time: 21_719_000 picoseconds.
+ Weight::from_parts(22_219_000, 13153)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -690,9 +689,9 @@
fn transfer_removing() -> Weight {
// Proof Size summary in bytes:
// Measured: `490`
- // Estimated: `10183`
- // Minimum execution time: 26_489_000 picoseconds.
- Weight::from_parts(27_103_000, 10183)
+ // Estimated: `13153`
+ // Minimum execution time: 24_784_000 picoseconds.
+ Weight::from_parts(25_231_000, 13153)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -707,9 +706,9 @@
fn transfer_creating_removing() -> Weight {
// Proof Size summary in bytes:
// Measured: `375`
- // Estimated: `12723`
- // Minimum execution time: 26_719_000 picoseconds.
- Weight::from_parts(27_038_000, 12723)
+ // Estimated: `15693`
+ // Minimum execution time: 24_865_000 picoseconds.
+ Weight::from_parts(25_253_000, 15693)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -720,9 +719,9 @@
fn approve() -> Weight {
// Proof Size summary in bytes:
// Measured: `256`
- // Estimated: `2564`
- // Minimum execution time: 12_949_000 picoseconds.
- Weight::from_parts(13_181_000, 2564)
+ // Estimated: `3554`
+ // Minimum execution time: 12_318_000 picoseconds.
+ Weight::from_parts(12_597_000, 3554)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -733,9 +732,9 @@
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `244`
- // Estimated: `2564`
- // Minimum execution time: 12_942_000 picoseconds.
- Weight::from_parts(13_268_000, 2564)
+ // Estimated: `3554`
+ // Minimum execution time: 12_276_000 picoseconds.
+ Weight::from_parts(12_557_000, 3554)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -748,9 +747,9 @@
fn transfer_from_normal() -> Weight {
// Proof Size summary in bytes:
// Measured: `528`
- // Estimated: `10223`
- // Minimum execution time: 28_907_000 picoseconds.
- Weight::from_parts(29_487_000, 10223)
+ // Estimated: `13193`
+ // Minimum execution time: 26_852_000 picoseconds.
+ Weight::from_parts(27_427_000, 13193)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -767,9 +766,9 @@
fn transfer_from_creating() -> Weight {
// Proof Size summary in bytes:
// Measured: `505`
- // Estimated: `12763`
- // Minimum execution time: 31_271_000 picoseconds.
- Weight::from_parts(32_293_000, 12763)
+ // Estimated: `16723`
+ // Minimum execution time: 29_893_000 picoseconds.
+ Weight::from_parts(30_345_000, 16723)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -786,9 +785,9 @@
fn transfer_from_removing() -> Weight {
// Proof Size summary in bytes:
// Measured: `620`
- // Estimated: `12763`
- // Minimum execution time: 34_295_000 picoseconds.
- Weight::from_parts(34_924_000, 12763)
+ // Estimated: `16723`
+ // Minimum execution time: 32_784_000 picoseconds.
+ Weight::from_parts(33_322_000, 16723)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -805,9 +804,9 @@
fn transfer_from_creating_removing() -> Weight {
// Proof Size summary in bytes:
// Measured: `505`
- // Estimated: `15303`
- // Minimum execution time: 35_447_000 picoseconds.
- Weight::from_parts(35_896_000, 15303)
+ // Estimated: `19263`
+ // Minimum execution time: 32_987_000 picoseconds.
+ Weight::from_parts(33_428_000, 19263)
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}
@@ -828,9 +827,9 @@
fn burn_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `505`
- // Estimated: `12690`
- // Minimum execution time: 39_395_000 picoseconds.
- Weight::from_parts(40_119_000, 12690)
+ // Estimated: `17640`
+ // Minimum execution time: 38_277_000 picoseconds.
+ Weight::from_parts(38_983_000, 17640)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}
@@ -840,11 +839,11 @@
fn set_token_property_permissions(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `281`
- // Estimated: `19201`
- // Minimum execution time: 2_337_000 picoseconds.
- Weight::from_parts(2_434_000, 19201)
- // Standard Error: 43_425
- .saturating_add(Weight::from_parts(12_286_502, 0).saturating_mul(b.into()))
+ // Estimated: `20191`
+ // Minimum execution time: 2_254_000 picoseconds.
+ Weight::from_parts(2_335_000, 20191)
+ // Standard Error: 44_906
+ .saturating_add(Weight::from_parts(12_118_499, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -855,12 +854,12 @@
/// The range of component `b` is `[0, 64]`.
fn set_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `490 + b * (261 ±0)`
- // Estimated: `54480`
- // Minimum execution time: 11_857_000 picoseconds.
- Weight::from_parts(12_007_000, 54480)
- // Standard Error: 22_963
- .saturating_add(Weight::from_parts(6_609_180, 0).saturating_mul(b.into()))
+ // Measured: `458 + b * (261 ±0)`
+ // Estimated: `56460`
+ // Minimum execution time: 11_249_000 picoseconds.
+ Weight::from_parts(11_420_000, 56460)
+ // Standard Error: 72_033
+ .saturating_add(Weight::from_parts(7_008_012, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -871,12 +870,12 @@
/// The range of component `b` is `[0, 64]`.
fn delete_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `527 + b * (33291 ±0)`
- // Estimated: `54480`
- // Minimum execution time: 12_001_000 picoseconds.
- Weight::from_parts(12_197_000, 54480)
- // Standard Error: 70_580
- .saturating_add(Weight::from_parts(21_847_004, 0).saturating_mul(b.into()))
+ // Measured: `463 + b * (33291 ±0)`
+ // Estimated: `56460`
+ // Minimum execution time: 11_368_000 picoseconds.
+ Weight::from_parts(11_546_000, 56460)
+ // Standard Error: 85_444
+ .saturating_add(Weight::from_parts(24_644_980, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -887,9 +886,9 @@
fn repartition_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `321`
- // Estimated: `5079`
- // Minimum execution time: 14_497_000 picoseconds.
- Weight::from_parts(14_825_000, 5079)
+ // Estimated: `7059`
+ // Minimum execution time: 13_586_000 picoseconds.
+ Weight::from_parts(14_489_000, 7059)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -898,9 +897,9 @@
fn token_owner() -> Weight {
// Proof Size summary in bytes:
// Measured: `321`
- // Estimated: `5128`
- // Minimum execution time: 8_888_000 picoseconds.
- Weight::from_parts(9_373_000, 5128)
+ // Estimated: `6118`
+ // Minimum execution time: 7_049_000 picoseconds.
+ Weight::from_parts(7_320_000, 6118)
.saturating_add(RocksDbWeight::get().reads(2_u64))
}
/// Storage: Refungible CollectionAllowance (r:0 w:1)
@@ -909,8 +908,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 7_042_000 picoseconds.
- Weight::from_parts(7_245_000, 0)
+ // Minimum execution time: 6_432_000 picoseconds.
+ Weight::from_parts(6_642_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Refungible CollectionAllowance (r:1 w:0)
@@ -918,9 +917,9 @@
fn allowance_for_all() -> Weight {
// Proof Size summary in bytes:
// Measured: `4`
- // Estimated: `2586`
- // Minimum execution time: 3_425_000 picoseconds.
- Weight::from_parts(3_554_000, 2586)
+ // Estimated: `3576`
+ // Minimum execution time: 3_030_000 picoseconds.
+ Weight::from_parts(3_206_000, 3576)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Refungible TokenProperties (r:1 w:1)
@@ -928,9 +927,9 @@
fn repair_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `174`
- // Estimated: `35279`
- // Minimum execution time: 4_684_000 picoseconds.
- Weight::from_parts(4_805_000, 35279)
+ // Estimated: `36269`
+ // Minimum execution time: 4_371_000 picoseconds.
+ Weight::from_parts(4_555_000, 36269)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
pallets/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))
}