difftreelog
build run benchmarks
in: master
12 files changed
pallets/app-promotion/src/weights.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/weights.rs
+++ b/pallets/app-promotion/src/weights.rs
@@ -3,7 +3,9 @@
//! Autogenerated weights for pallet_app_promotion
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -16,8 +18,7 @@
// compiled
// --extrinsic
// *
-// --template
-// .maintain/frame-weight-template.hbs
+// --template=.maintain/frame-weight-template.hbs
// --steps=50
// --repeat=80
// --heap-pages=4096
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -49,194 +48,357 @@
/// Weights for pallet_app_promotion using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
- // Storage: AppPromotion PendingUnstake (r:1 w:0)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: System Account (r:1 w:1)
+ /// Storage: AppPromotion PendingUnstake (r:1 w:1)
+ /// Proof: AppPromotion PendingUnstake (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen)
+ /// Storage: Balances Locks (r:3 w:3)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
+ /// Storage: System Account (r:3 w:3)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 3]`.
fn on_initialize(b: u32, ) -> Weight {
- Weight::from_ref_time(2_592_346 as u64)
- // Standard Error: 23_629
- .saturating_add(Weight::from_ref_time(7_523_802 as u64).saturating_mul(b as u64))
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(b as u64)))
- .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(b as u64)))
+ // Proof Size summary in bytes:
+ // Measured: `180 + b * (277 ±0)`
+ // Estimated: `5602 + b * (6377 ±0)`
+ // Minimum execution time: 3_724_000 picoseconds.
+ Weight::from_parts(4_538_653, 5602)
+ // Standard Error: 14_774
+ .saturating_add(Weight::from_parts(10_368_686, 0).saturating_mul(b.into()))
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))
+ .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(b.into())))
+ .saturating_add(Weight::from_parts(0, 6377).saturating_mul(b.into()))
}
- // Storage: AppPromotion Admin (r:0 w:1)
+ /// Storage: AppPromotion Admin (r:0 w:1)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
fn set_admin_address() -> Weight {
- Weight::from_ref_time(6_209_000 as u64)
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 5_426_000 picoseconds.
+ Weight::from_parts(6_149_000, 0)
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: AppPromotion Admin (r:1 w:0)
- // Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
- // Storage: ParachainSystem ValidationData (r:1 w:0)
- // Storage: AppPromotion PreviousCalculatedRecord (r:1 w:1)
- // Storage: AppPromotion Staked (r:11 w:10)
- // Storage: System Account (r:2 w:2)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Storage: AppPromotion Admin (r:1 w:0)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
+ /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)
+ /// Storage: ParachainSystem ValidationData (r:1 w:0)
+ /// Proof Skipped: ParachainSystem ValidationData (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: AppPromotion PreviousCalculatedRecord (r:1 w:1)
+ /// Proof: AppPromotion PreviousCalculatedRecord (max_values: Some(1), max_size: Some(36), added: 531, mode: MaxEncodedLen)
+ /// Storage: AppPromotion Staked (r:1001 w:1000)
+ /// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
+ /// Storage: System Account (r:101 w:101)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: Balances Locks (r:100 w:100)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
+ /// Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// The range of component `b` is `[1, 100]`.
fn payout_stakers(b: u32, ) -> Weight {
- Weight::from_ref_time(64_917_000 as u64)
- // Standard Error: 34_206
- .saturating_add(Weight::from_ref_time(51_518_500 as u64).saturating_mul(b as u64))
- .saturating_add(T::DbWeight::get().reads(7 as u64))
- .saturating_add(T::DbWeight::get().reads((12 as u64).saturating_mul(b as u64)))
- .saturating_add(T::DbWeight::get().writes(3 as u64))
- .saturating_add(T::DbWeight::get().writes((12 as u64).saturating_mul(b as u64)))
+ // Proof Size summary in bytes:
+ // Measured: `531 + b * (633 ±0)`
+ // Estimated: `16194 + b * (32560 ±0)`
+ // Minimum execution time: 84_632_000 picoseconds.
+ Weight::from_parts(800_384, 16194)
+ // Standard Error: 19_457
+ .saturating_add(Weight::from_parts(49_393_958, 0).saturating_mul(b.into()))
+ .saturating_add(T::DbWeight::get().reads(7_u64))
+ .saturating_add(T::DbWeight::get().reads((12_u64).saturating_mul(b.into())))
+ .saturating_add(T::DbWeight::get().writes(3_u64))
+ .saturating_add(T::DbWeight::get().writes((12_u64).saturating_mul(b.into())))
+ .saturating_add(Weight::from_parts(0, 32560).saturating_mul(b.into()))
}
- // Storage: AppPromotion StakesPerAccount (r:1 w:1)
- // Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
- // Storage: System Account (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: ParachainSystem ValidationData (r:1 w:0)
- // Storage: AppPromotion Staked (r:1 w:1)
- // Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Storage: AppPromotion StakesPerAccount (r:1 w:1)
+ /// Proof: AppPromotion StakesPerAccount (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
+ /// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
+ /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: Balances Locks (r:1 w:1)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
+ /// Storage: ParachainSystem ValidationData (r:1 w:0)
+ /// Proof Skipped: ParachainSystem ValidationData (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: AppPromotion Staked (r:1 w:1)
+ /// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
+ /// Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
fn stake() -> Weight {
- Weight::from_ref_time(18_208_000 as u64)
- .saturating_add(T::DbWeight::get().reads(7 as u64))
- .saturating_add(T::DbWeight::get().writes(5 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `356`
+ // Estimated: `20260`
+ // Minimum execution time: 24_750_000 picoseconds.
+ Weight::from_parts(25_157_000, 20260)
+ .saturating_add(T::DbWeight::get().reads(7_u64))
+ .saturating_add(T::DbWeight::get().writes(5_u64))
}
- // Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
- // Storage: AppPromotion PendingUnstake (r:1 w:1)
- // Storage: AppPromotion Staked (r:11 w:10)
- // Storage: AppPromotion TotalStaked (r:1 w:1)
- // Storage: AppPromotion StakesPerAccount (r:0 w:1)
+ /// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
+ /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)
+ /// Storage: AppPromotion PendingUnstake (r:1 w:1)
+ /// Proof: AppPromotion PendingUnstake (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen)
+ /// Storage: AppPromotion Staked (r:11 w:10)
+ /// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
+ /// Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: AppPromotion StakesPerAccount (r:0 w:1)
+ /// Proof: AppPromotion StakesPerAccount (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
fn unstake_all() -> Weight {
- Weight::from_ref_time(45_018_000 as u64)
- .saturating_add(T::DbWeight::get().reads(14 as u64))
- .saturating_add(T::DbWeight::get().writes(13 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `796`
+ // Estimated: `35720`
+ // Minimum execution time: 53_670_000 picoseconds.
+ Weight::from_parts(54_376_000, 35720)
+ .saturating_add(T::DbWeight::get().reads(14_u64))
+ .saturating_add(T::DbWeight::get().writes(13_u64))
}
- // Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
- // Storage: AppPromotion PendingUnstake (r:1 w:1)
- // Storage: AppPromotion Staked (r:11 w:10)
- // Storage: AppPromotion TotalStaked (r:1 w:1)
- // Storage: AppPromotion StakesPerAccount (r:1 w:1)
+ /// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
+ /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)
+ /// Storage: AppPromotion PendingUnstake (r:1 w:1)
+ /// Proof: AppPromotion PendingUnstake (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen)
+ /// Storage: AppPromotion Staked (r:11 w:10)
+ /// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
+ /// Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: AppPromotion StakesPerAccount (r:1 w:1)
+ /// Proof: AppPromotion StakesPerAccount (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
fn unstake_partial() -> Weight {
- Weight::from_ref_time(49_066_000 as u64)
- .saturating_add(T::DbWeight::get().reads(15 as u64))
- .saturating_add(T::DbWeight::get().writes(13 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `796`
+ // Estimated: `39234`
+ // Minimum execution time: 58_317_000 picoseconds.
+ Weight::from_parts(59_059_000, 39234)
+ .saturating_add(T::DbWeight::get().reads(15_u64))
+ .saturating_add(T::DbWeight::get().writes(13_u64))
}
- // Storage: AppPromotion Admin (r:1 w:0)
- // Storage: Common CollectionById (r:1 w:1)
+ /// Storage: AppPromotion Admin (r:1 w:0)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: Common CollectionById (r:1 w:1)
+ /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn sponsor_collection() -> Weight {
- Weight::from_ref_time(15_039_000 as u64)
- .saturating_add(T::DbWeight::get().reads(2 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `1027`
+ // Estimated: `5842`
+ // Minimum execution time: 18_117_000 picoseconds.
+ Weight::from_parts(18_634_000, 5842)
+ .saturating_add(T::DbWeight::get().reads(2_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: AppPromotion Admin (r:1 w:0)
- // Storage: Common CollectionById (r:1 w:1)
+ /// Storage: AppPromotion Admin (r:1 w:0)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: Common CollectionById (r:1 w:1)
+ /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn stop_sponsoring_collection() -> Weight {
- Weight::from_ref_time(14_692_000 as u64)
- .saturating_add(T::DbWeight::get().reads(2 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `1059`
+ // Estimated: `5842`
+ // Minimum execution time: 16_999_000 picoseconds.
+ Weight::from_parts(17_417_000, 5842)
+ .saturating_add(T::DbWeight::get().reads(2_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: AppPromotion Admin (r:1 w:0)
- // Storage: EvmContractHelpers Sponsoring (r:0 w:1)
+ /// Storage: AppPromotion Admin (r:1 w:0)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: EvmContractHelpers Sponsoring (r:0 w:1)
+ /// Proof: EvmContractHelpers Sponsoring (max_values: None, max_size: Some(62), added: 2537, mode: MaxEncodedLen)
fn sponsor_contract() -> Weight {
- Weight::from_ref_time(11_810_000 as u64)
- .saturating_add(T::DbWeight::get().reads(1 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `198`
+ // Estimated: `1517`
+ // Minimum execution time: 14_438_000 picoseconds.
+ Weight::from_parts(14_931_000, 1517)
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
- // Storage: AppPromotion Admin (r:1 w:0)
- // Storage: EvmContractHelpers Sponsoring (r:1 w:1)
+ /// Storage: AppPromotion Admin (r:1 w:0)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: EvmContractHelpers Sponsoring (r:1 w:1)
+ /// Proof: EvmContractHelpers Sponsoring (max_values: None, max_size: Some(62), added: 2537, mode: MaxEncodedLen)
fn stop_sponsoring_contract() -> Weight {
- Weight::from_ref_time(13_570_000 as u64)
- .saturating_add(T::DbWeight::get().reads(2 as u64))
- .saturating_add(T::DbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `363`
+ // Estimated: `5044`
+ // Minimum execution time: 14_786_000 picoseconds.
+ Weight::from_parts(15_105_000, 5044)
+ .saturating_add(T::DbWeight::get().reads(2_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
- // Storage: AppPromotion PendingUnstake (r:1 w:0)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: System Account (r:1 w:1)
+ /// Storage: AppPromotion PendingUnstake (r:1 w:1)
+ /// Proof: AppPromotion PendingUnstake (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen)
+ /// Storage: Balances Locks (r:3 w:3)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
+ /// Storage: System Account (r:3 w:3)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 3]`.
fn on_initialize(b: u32, ) -> Weight {
- Weight::from_ref_time(2_592_346 as u64)
- // Standard Error: 23_629
- .saturating_add(Weight::from_ref_time(7_523_802 as u64).saturating_mul(b as u64))
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().reads((2 as u64).saturating_mul(b as u64)))
- .saturating_add(RocksDbWeight::get().writes((2 as u64).saturating_mul(b as u64)))
+ // Proof Size summary in bytes:
+ // Measured: `180 + b * (277 ±0)`
+ // Estimated: `5602 + b * (6377 ±0)`
+ // Minimum execution time: 3_724_000 picoseconds.
+ Weight::from_parts(4_538_653, 5602)
+ // Standard Error: 14_774
+ .saturating_add(Weight::from_parts(10_368_686, 0).saturating_mul(b.into()))
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))
+ .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(b.into())))
+ .saturating_add(Weight::from_parts(0, 6377).saturating_mul(b.into()))
}
- // Storage: AppPromotion Admin (r:0 w:1)
+ /// Storage: AppPromotion Admin (r:0 w:1)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
fn set_admin_address() -> Weight {
- Weight::from_ref_time(6_209_000 as u64)
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 5_426_000 picoseconds.
+ Weight::from_parts(6_149_000, 0)
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: AppPromotion Admin (r:1 w:0)
- // Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
- // Storage: ParachainSystem ValidationData (r:1 w:0)
- // Storage: AppPromotion PreviousCalculatedRecord (r:1 w:1)
- // Storage: AppPromotion Staked (r:11 w:10)
- // Storage: System Account (r:2 w:2)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Storage: AppPromotion Admin (r:1 w:0)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
+ /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)
+ /// Storage: ParachainSystem ValidationData (r:1 w:0)
+ /// Proof Skipped: ParachainSystem ValidationData (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: AppPromotion PreviousCalculatedRecord (r:1 w:1)
+ /// Proof: AppPromotion PreviousCalculatedRecord (max_values: Some(1), max_size: Some(36), added: 531, mode: MaxEncodedLen)
+ /// Storage: AppPromotion Staked (r:1001 w:1000)
+ /// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
+ /// Storage: System Account (r:101 w:101)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: Balances Locks (r:100 w:100)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
+ /// Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// The range of component `b` is `[1, 100]`.
fn payout_stakers(b: u32, ) -> Weight {
- Weight::from_ref_time(64_917_000 as u64)
- // Standard Error: 34_206
- .saturating_add(Weight::from_ref_time(51_518_500 as u64).saturating_mul(b as u64))
- .saturating_add(RocksDbWeight::get().reads(7 as u64))
- .saturating_add(RocksDbWeight::get().reads((12 as u64).saturating_mul(b as u64)))
- .saturating_add(RocksDbWeight::get().writes(3 as u64))
- .saturating_add(RocksDbWeight::get().writes((12 as u64).saturating_mul(b as u64)))
+ // Proof Size summary in bytes:
+ // Measured: `531 + b * (633 ±0)`
+ // Estimated: `16194 + b * (32560 ±0)`
+ // Minimum execution time: 84_632_000 picoseconds.
+ Weight::from_parts(800_384, 16194)
+ // Standard Error: 19_457
+ .saturating_add(Weight::from_parts(49_393_958, 0).saturating_mul(b.into()))
+ .saturating_add(RocksDbWeight::get().reads(7_u64))
+ .saturating_add(RocksDbWeight::get().reads((12_u64).saturating_mul(b.into())))
+ .saturating_add(RocksDbWeight::get().writes(3_u64))
+ .saturating_add(RocksDbWeight::get().writes((12_u64).saturating_mul(b.into())))
+ .saturating_add(Weight::from_parts(0, 32560).saturating_mul(b.into()))
}
- // Storage: AppPromotion StakesPerAccount (r:1 w:1)
- // Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
- // Storage: System Account (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: ParachainSystem ValidationData (r:1 w:0)
- // Storage: AppPromotion Staked (r:1 w:1)
- // Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Storage: AppPromotion StakesPerAccount (r:1 w:1)
+ /// Proof: AppPromotion StakesPerAccount (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
+ /// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
+ /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)
+ /// Storage: System Account (r:1 w:1)
+ /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
+ /// Storage: Balances Locks (r:1 w:1)
+ /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
+ /// Storage: ParachainSystem ValidationData (r:1 w:0)
+ /// Proof Skipped: ParachainSystem ValidationData (max_values: Some(1), max_size: None, mode: Measured)
+ /// Storage: AppPromotion Staked (r:1 w:1)
+ /// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
+ /// Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
fn stake() -> Weight {
- Weight::from_ref_time(18_208_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(7 as u64))
- .saturating_add(RocksDbWeight::get().writes(5 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `356`
+ // Estimated: `20260`
+ // Minimum execution time: 24_750_000 picoseconds.
+ Weight::from_parts(25_157_000, 20260)
+ .saturating_add(RocksDbWeight::get().reads(7_u64))
+ .saturating_add(RocksDbWeight::get().writes(5_u64))
}
- // Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
- // Storage: AppPromotion PendingUnstake (r:1 w:1)
- // Storage: AppPromotion Staked (r:11 w:10)
- // Storage: AppPromotion TotalStaked (r:1 w:1)
- // Storage: AppPromotion StakesPerAccount (r:0 w:1)
+ /// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
+ /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)
+ /// Storage: AppPromotion PendingUnstake (r:1 w:1)
+ /// Proof: AppPromotion PendingUnstake (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen)
+ /// Storage: AppPromotion Staked (r:11 w:10)
+ /// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
+ /// Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: AppPromotion StakesPerAccount (r:0 w:1)
+ /// Proof: AppPromotion StakesPerAccount (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
fn unstake_all() -> Weight {
- Weight::from_ref_time(45_018_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(14 as u64))
- .saturating_add(RocksDbWeight::get().writes(13 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `796`
+ // Estimated: `35720`
+ // Minimum execution time: 53_670_000 picoseconds.
+ Weight::from_parts(54_376_000, 35720)
+ .saturating_add(RocksDbWeight::get().reads(14_u64))
+ .saturating_add(RocksDbWeight::get().writes(13_u64))
}
- // Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
- // Storage: AppPromotion PendingUnstake (r:1 w:1)
- // Storage: AppPromotion Staked (r:11 w:10)
- // Storage: AppPromotion TotalStaked (r:1 w:1)
- // Storage: AppPromotion StakesPerAccount (r:1 w:1)
+ /// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)
+ /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)
+ /// Storage: AppPromotion PendingUnstake (r:1 w:1)
+ /// Proof: AppPromotion PendingUnstake (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen)
+ /// Storage: AppPromotion Staked (r:11 w:10)
+ /// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
+ /// Storage: AppPromotion TotalStaked (r:1 w:1)
+ /// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
+ /// Storage: AppPromotion StakesPerAccount (r:1 w:1)
+ /// Proof: AppPromotion StakesPerAccount (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
fn unstake_partial() -> Weight {
- Weight::from_ref_time(49_066_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(15 as u64))
- .saturating_add(RocksDbWeight::get().writes(13 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `796`
+ // Estimated: `39234`
+ // Minimum execution time: 58_317_000 picoseconds.
+ Weight::from_parts(59_059_000, 39234)
+ .saturating_add(RocksDbWeight::get().reads(15_u64))
+ .saturating_add(RocksDbWeight::get().writes(13_u64))
}
- // Storage: AppPromotion Admin (r:1 w:0)
- // Storage: Common CollectionById (r:1 w:1)
+ /// Storage: AppPromotion Admin (r:1 w:0)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: Common CollectionById (r:1 w:1)
+ /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn sponsor_collection() -> Weight {
- Weight::from_ref_time(15_039_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(2 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `1027`
+ // Estimated: `5842`
+ // Minimum execution time: 18_117_000 picoseconds.
+ Weight::from_parts(18_634_000, 5842)
+ .saturating_add(RocksDbWeight::get().reads(2_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: AppPromotion Admin (r:1 w:0)
- // Storage: Common CollectionById (r:1 w:1)
+ /// Storage: AppPromotion Admin (r:1 w:0)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: Common CollectionById (r:1 w:1)
+ /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn stop_sponsoring_collection() -> Weight {
- Weight::from_ref_time(14_692_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(2 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `1059`
+ // Estimated: `5842`
+ // Minimum execution time: 16_999_000 picoseconds.
+ Weight::from_parts(17_417_000, 5842)
+ .saturating_add(RocksDbWeight::get().reads(2_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: AppPromotion Admin (r:1 w:0)
- // Storage: EvmContractHelpers Sponsoring (r:0 w:1)
+ /// Storage: AppPromotion Admin (r:1 w:0)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: EvmContractHelpers Sponsoring (r:0 w:1)
+ /// Proof: EvmContractHelpers Sponsoring (max_values: None, max_size: Some(62), added: 2537, mode: MaxEncodedLen)
fn sponsor_contract() -> Weight {
- Weight::from_ref_time(11_810_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(1 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `198`
+ // Estimated: `1517`
+ // Minimum execution time: 14_438_000 picoseconds.
+ Weight::from_parts(14_931_000, 1517)
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
- // Storage: AppPromotion Admin (r:1 w:0)
- // Storage: EvmContractHelpers Sponsoring (r:1 w:1)
+ /// Storage: AppPromotion Admin (r:1 w:0)
+ /// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
+ /// Storage: EvmContractHelpers Sponsoring (r:1 w:1)
+ /// Proof: EvmContractHelpers Sponsoring (max_values: None, max_size: Some(62), added: 2537, mode: MaxEncodedLen)
fn stop_sponsoring_contract() -> Weight {
- Weight::from_ref_time(13_570_000 as u64)
- .saturating_add(RocksDbWeight::get().reads(2 as u64))
- .saturating_add(RocksDbWeight::get().writes(1 as u64))
+ // Proof Size summary in bytes:
+ // Measured: `363`
+ // Estimated: `5044`
+ // Minimum execution time: 14_786_000 picoseconds.
+ Weight::from_parts(15_105_000, 5044)
+ .saturating_add(RocksDbWeight::get().reads(2_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
}
}
+
pallets/common/src/weights.rsdiffbeforeafterboth--- a/pallets/common/src/weights.rs
+++ b/pallets/common/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_common
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -48,11 +47,11 @@
fn set_collection_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `265`
- // Estimated: `43467`
- // Minimum execution time: 7_163_000 picoseconds.
- Weight::from_parts(586_898, 43467)
- // Standard Error: 23_783
- .saturating_add(Weight::from_parts(6_089_494, 0).saturating_mul(b.into()))
+ // Estimated: `44457`
+ // Minimum execution time: 6_805_000 picoseconds.
+ Weight::from_parts(6_965_000, 44457)
+ // Standard Error: 20_175
+ .saturating_add(Weight::from_parts(6_191_369, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -61,12 +60,12 @@
/// The range of component `b` is `[0, 64]`.
fn delete_collection_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `302 + b * (33030 ±0)`
- // Estimated: `43467`
- // Minimum execution time: 6_540_000 picoseconds.
- Weight::from_parts(6_684_000, 43467)
- // Standard Error: 67_984
- .saturating_add(Weight::from_parts(21_502_829, 0).saturating_mul(b.into()))
+ // Measured: `270 + b * (33030 ±0)`
+ // Estimated: `44457`
+ // Minimum execution time: 6_284_000 picoseconds.
+ Weight::from_parts(6_416_000, 44457)
+ // Standard Error: 81_929
+ .saturating_add(Weight::from_parts(23_972_425, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -75,9 +74,9 @@
fn check_accesslist() -> Weight {
// Proof Size summary in bytes:
// Measured: `340`
- // Estimated: `2545`
- // Minimum execution time: 2_887_000 picoseconds.
- Weight::from_parts(3_072_000, 2545)
+ // Estimated: `3535`
+ // Minimum execution time: 5_205_000 picoseconds.
+ Weight::from_parts(5_438_000, 3535)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
}
@@ -90,11 +89,11 @@
fn set_collection_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `265`
- // Estimated: `43467`
- // Minimum execution time: 7_163_000 picoseconds.
- Weight::from_parts(586_898, 43467)
- // Standard Error: 23_783
- .saturating_add(Weight::from_parts(6_089_494, 0).saturating_mul(b.into()))
+ // Estimated: `44457`
+ // Minimum execution time: 6_805_000 picoseconds.
+ Weight::from_parts(6_965_000, 44457)
+ // Standard Error: 20_175
+ .saturating_add(Weight::from_parts(6_191_369, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -103,12 +102,12 @@
/// The range of component `b` is `[0, 64]`.
fn delete_collection_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `302 + b * (33030 ±0)`
- // Estimated: `43467`
- // Minimum execution time: 6_540_000 picoseconds.
- Weight::from_parts(6_684_000, 43467)
- // Standard Error: 67_984
- .saturating_add(Weight::from_parts(21_502_829, 0).saturating_mul(b.into()))
+ // Measured: `270 + b * (33030 ±0)`
+ // Estimated: `44457`
+ // Minimum execution time: 6_284_000 picoseconds.
+ Weight::from_parts(6_416_000, 44457)
+ // Standard Error: 81_929
+ .saturating_add(Weight::from_parts(23_972_425, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -117,9 +116,9 @@
fn check_accesslist() -> Weight {
// Proof Size summary in bytes:
// Measured: `340`
- // Estimated: `2545`
- // Minimum execution time: 2_887_000 picoseconds.
- Weight::from_parts(3_072_000, 2545)
+ // Estimated: `3535`
+ // Minimum execution time: 5_205_000 picoseconds.
+ Weight::from_parts(5_438_000, 3535)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
}
pallets/configuration/src/weights.rsdiffbeforeafterboth--- a/pallets/configuration/src/weights.rs
+++ b/pallets/configuration/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_configuration
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -51,8 +50,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_565_000 picoseconds.
- Weight::from_parts(1_636_000, 0)
+ // Minimum execution time: 1_725_000 picoseconds.
+ Weight::from_parts(1_853_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Configuration MinGasPriceOverride (r:0 w:1)
@@ -61,8 +60,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_695_000 picoseconds.
- Weight::from_parts(1_798_000, 0)
+ // Minimum execution time: 1_802_000 picoseconds.
+ Weight::from_parts(1_903_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Configuration AppPromomotionConfigurationOverride (r:0 w:1)
@@ -71,8 +70,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_546_000 picoseconds.
- Weight::from_parts(2_796_000, 0)
+ // Minimum execution time: 2_048_000 picoseconds.
+ Weight::from_parts(2_157_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:0 w:1)
@@ -81,8 +80,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 7_323_000 picoseconds.
- Weight::from_parts(8_251_000, 0)
+ // Minimum execution time: 7_622_000 picoseconds.
+ Weight::from_parts(8_014_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Configuration CollatorSelectionLicenseBondOverride (r:0 w:1)
@@ -91,8 +90,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_286_000 picoseconds.
- Weight::from_parts(4_442_000, 0)
+ // Minimum execution time: 4_981_000 picoseconds.
+ Weight::from_parts(5_811_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Configuration CollatorSelectionKickThresholdOverride (r:0 w:1)
@@ -101,8 +100,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_216_000 picoseconds.
- Weight::from_parts(4_389_000, 0)
+ // Minimum execution time: 4_664_000 picoseconds.
+ Weight::from_parts(4_816_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
}
@@ -115,8 +114,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_565_000 picoseconds.
- Weight::from_parts(1_636_000, 0)
+ // Minimum execution time: 1_725_000 picoseconds.
+ Weight::from_parts(1_853_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Configuration MinGasPriceOverride (r:0 w:1)
@@ -125,8 +124,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_695_000 picoseconds.
- Weight::from_parts(1_798_000, 0)
+ // Minimum execution time: 1_802_000 picoseconds.
+ Weight::from_parts(1_903_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Configuration AppPromomotionConfigurationOverride (r:0 w:1)
@@ -135,8 +134,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_546_000 picoseconds.
- Weight::from_parts(2_796_000, 0)
+ // Minimum execution time: 2_048_000 picoseconds.
+ Weight::from_parts(2_157_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:0 w:1)
@@ -145,8 +144,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 7_323_000 picoseconds.
- Weight::from_parts(8_251_000, 0)
+ // Minimum execution time: 7_622_000 picoseconds.
+ Weight::from_parts(8_014_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Configuration CollatorSelectionLicenseBondOverride (r:0 w:1)
@@ -155,8 +154,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_286_000 picoseconds.
- Weight::from_parts(4_442_000, 0)
+ // Minimum execution time: 4_981_000 picoseconds.
+ Weight::from_parts(5_811_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Configuration CollatorSelectionKickThresholdOverride (r:0 w:1)
@@ -165,8 +164,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_216_000 picoseconds.
- Weight::from_parts(4_389_000, 0)
+ // Minimum execution time: 4_664_000 picoseconds.
+ Weight::from_parts(4_816_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
}
pallets/evm-migration/src/weights.rsdiffbeforeafterboth--- a/pallets/evm-migration/src/weights.rs
+++ b/pallets/evm-migration/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_evm_migration
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -53,9 +52,9 @@
fn begin() -> Weight {
// Proof Size summary in bytes:
// Measured: `94`
- // Estimated: `7676`
- // Minimum execution time: 12_699_000 picoseconds.
- Weight::from_parts(12_989_000, 7676)
+ // Estimated: `10646`
+ // Minimum execution time: 8_519_000 picoseconds.
+ Weight::from_parts(8_729_000, 10646)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -67,11 +66,11 @@
fn set_data(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `96`
- // Estimated: `2600`
- // Minimum execution time: 9_157_000 picoseconds.
- Weight::from_parts(7_442_065, 2600)
- // Standard Error: 1_138
- .saturating_add(Weight::from_parts(934_789, 0).saturating_mul(b.into()))
+ // Estimated: `3590`
+ // Minimum execution time: 6_062_000 picoseconds.
+ Weight::from_parts(7_193_727, 3590)
+ // Standard Error: 1_844
+ .saturating_add(Weight::from_parts(876_826, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(b.into())))
}
@@ -80,14 +79,12 @@
/// Storage: EVM AccountCodes (r:0 w:1)
/// Proof Skipped: EVM AccountCodes (max_values: None, max_size: None, mode: Measured)
/// The range of component `b` is `[0, 80]`.
- fn finish(b: u32, ) -> Weight {
+ fn finish(_b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `96`
- // Estimated: `2600`
- // Minimum execution time: 7_719_000 picoseconds.
- Weight::from_parts(8_237_929, 2600)
- // Standard Error: 266
- .saturating_add(Weight::from_parts(3_473, 0).saturating_mul(b.into()))
+ // Estimated: `3590`
+ // Minimum execution time: 7_452_000 picoseconds.
+ Weight::from_parts(8_531_888, 3590)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -96,20 +93,20 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_193_000 picoseconds.
- Weight::from_parts(2_667_314, 0)
- // Standard Error: 583
- .saturating_add(Weight::from_parts(690_704, 0).saturating_mul(b.into()))
+ // Minimum execution time: 1_377_000 picoseconds.
+ Weight::from_parts(3_388_877, 0)
+ // Standard Error: 1_205
+ .saturating_add(Weight::from_parts(696_701, 0).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 200]`.
fn insert_events(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_253_000 picoseconds.
- Weight::from_parts(4_685_069, 0)
- // Standard Error: 1_036
- .saturating_add(Weight::from_parts(1_322_329, 0).saturating_mul(b.into()))
+ // Minimum execution time: 1_671_000 picoseconds.
+ Weight::from_parts(4_402_497, 0)
+ // Standard Error: 723
+ .saturating_add(Weight::from_parts(1_338_678, 0).saturating_mul(b.into()))
}
}
@@ -124,9 +121,9 @@
fn begin() -> Weight {
// Proof Size summary in bytes:
// Measured: `94`
- // Estimated: `7676`
- // Minimum execution time: 12_699_000 picoseconds.
- Weight::from_parts(12_989_000, 7676)
+ // Estimated: `10646`
+ // Minimum execution time: 8_519_000 picoseconds.
+ Weight::from_parts(8_729_000, 10646)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -138,11 +135,11 @@
fn set_data(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `96`
- // Estimated: `2600`
- // Minimum execution time: 9_157_000 picoseconds.
- Weight::from_parts(7_442_065, 2600)
- // Standard Error: 1_138
- .saturating_add(Weight::from_parts(934_789, 0).saturating_mul(b.into()))
+ // Estimated: `3590`
+ // Minimum execution time: 6_062_000 picoseconds.
+ Weight::from_parts(7_193_727, 3590)
+ // Standard Error: 1_844
+ .saturating_add(Weight::from_parts(876_826, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(b.into())))
}
@@ -151,14 +148,12 @@
/// Storage: EVM AccountCodes (r:0 w:1)
/// Proof Skipped: EVM AccountCodes (max_values: None, max_size: None, mode: Measured)
/// The range of component `b` is `[0, 80]`.
- fn finish(b: u32, ) -> Weight {
+ fn finish(_b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `96`
- // Estimated: `2600`
- // Minimum execution time: 7_719_000 picoseconds.
- Weight::from_parts(8_237_929, 2600)
- // Standard Error: 266
- .saturating_add(Weight::from_parts(3_473, 0).saturating_mul(b.into()))
+ // Estimated: `3590`
+ // Minimum execution time: 7_452_000 picoseconds.
+ Weight::from_parts(8_531_888, 3590)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -167,20 +162,20 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_193_000 picoseconds.
- Weight::from_parts(2_667_314, 0)
- // Standard Error: 583
- .saturating_add(Weight::from_parts(690_704, 0).saturating_mul(b.into()))
+ // Minimum execution time: 1_377_000 picoseconds.
+ Weight::from_parts(3_388_877, 0)
+ // Standard Error: 1_205
+ .saturating_add(Weight::from_parts(696_701, 0).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 200]`.
fn insert_events(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_253_000 picoseconds.
- Weight::from_parts(4_685_069, 0)
- // Standard Error: 1_036
- .saturating_add(Weight::from_parts(1_322_329, 0).saturating_mul(b.into()))
+ // Minimum execution time: 1_671_000 picoseconds.
+ Weight::from_parts(4_402_497, 0)
+ // Standard Error: 723
+ .saturating_add(Weight::from_parts(1_338_678, 0).saturating_mul(b.into()))
}
}
pallets/foreign-assets/src/weights.rsdiffbeforeafterboth--- a/pallets/foreign-assets/src/weights.rs
+++ b/pallets/foreign-assets/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_foreign_assets
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -65,10 +64,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn register_foreign_asset() -> Weight {
// Proof Size summary in bytes:
- // Measured: `318`
- // Estimated: `17918`
- // Minimum execution time: 45_521_000 picoseconds.
- Weight::from_parts(46_333_000, 17918)
+ // Measured: `286`
+ // Estimated: `25838`
+ // Minimum execution time: 37_778_000 picoseconds.
+ Weight::from_parts(38_334_000, 25838)
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(11_u64))
}
@@ -79,9 +78,9 @@
fn update_foreign_asset() -> Weight {
// Proof Size summary in bytes:
// Measured: `197`
- // Estimated: `5635`
- // Minimum execution time: 13_542_000 picoseconds.
- Weight::from_parts(13_913_000, 5635)
+ // Estimated: `7615`
+ // Minimum execution time: 13_739_000 picoseconds.
+ Weight::from_parts(22_366_000, 7615)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -113,10 +112,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn register_foreign_asset() -> Weight {
// Proof Size summary in bytes:
- // Measured: `318`
- // Estimated: `17918`
- // Minimum execution time: 45_521_000 picoseconds.
- Weight::from_parts(46_333_000, 17918)
+ // Measured: `286`
+ // Estimated: `25838`
+ // Minimum execution time: 37_778_000 picoseconds.
+ Weight::from_parts(38_334_000, 25838)
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().writes(11_u64))
}
@@ -127,9 +126,9 @@
fn update_foreign_asset() -> Weight {
// Proof Size summary in bytes:
// Measured: `197`
- // Estimated: `5635`
- // Minimum execution time: 13_542_000 picoseconds.
- Weight::from_parts(13_913_000, 5635)
+ // Estimated: `7615`
+ // Minimum execution time: 13_739_000 picoseconds.
+ Weight::from_parts(22_366_000, 7615)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
pallets/fungible/src/weights.rsdiffbeforeafterboth--- a/pallets/fungible/src/weights.rs
+++ b/pallets/fungible/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_fungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -55,9 +54,9 @@
fn create_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
- // Estimated: `5055`
- // Minimum execution time: 10_152_000 picoseconds.
- Weight::from_parts(10_520_000, 5055)
+ // Estimated: `7035`
+ // Minimum execution time: 10_168_000 picoseconds.
+ Weight::from_parts(10_453_000, 7035)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -69,11 +68,11 @@
fn create_multiple_items_ex(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
- // Estimated: `2503 + b * (2552 ±0)`
- // Minimum execution time: 3_437_000 picoseconds.
- Weight::from_parts(13_322_752, 2503)
- // Standard Error: 1_728
- .saturating_add(Weight::from_parts(3_605_522, 0).saturating_mul(b.into()))
+ // Estimated: `4483 + b * (2552 ±0)`
+ // Minimum execution time: 3_248_000 picoseconds.
+ Weight::from_parts(12_455_981, 4483)
+ // Standard Error: 2_698
+ .saturating_add(Weight::from_parts(3_426_148, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
@@ -87,9 +86,9 @@
fn burn_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `197`
- // Estimated: `5055`
- // Minimum execution time: 12_894_000 picoseconds.
- Weight::from_parts(13_347_000, 5055)
+ // Estimated: `7035`
+ // Minimum execution time: 12_717_000 picoseconds.
+ Weight::from_parts(13_031_000, 7035)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -98,9 +97,9 @@
fn transfer_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
- // Estimated: `5104`
- // Minimum execution time: 6_678_000 picoseconds.
- Weight::from_parts(7_151_000, 5104)
+ // Estimated: `6094`
+ // Minimum execution time: 13_640_000 picoseconds.
+ Weight::from_parts(13_935_000, 6094)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -111,9 +110,9 @@
fn approve() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
- // Estimated: `2552`
- // Minimum execution time: 12_417_000 picoseconds.
- Weight::from_parts(12_658_000, 2552)
+ // Estimated: `3542`
+ // Minimum execution time: 11_769_000 picoseconds.
+ Weight::from_parts(12_072_000, 3542)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -124,9 +123,9 @@
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `170`
- // Estimated: `2552`
- // Minimum execution time: 12_322_000 picoseconds.
- Weight::from_parts(12_629_000, 2552)
+ // Estimated: `3542`
+ // Minimum execution time: 11_603_000 picoseconds.
+ Weight::from_parts(12_003_000, 3542)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -135,9 +134,9 @@
fn check_allowed_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `210`
- // Estimated: `2568`
- // Minimum execution time: 2_842_000 picoseconds.
- Weight::from_parts(3_077_000, 2568)
+ // Estimated: `3558`
+ // Minimum execution time: 5_682_000 picoseconds.
+ Weight::from_parts(5_892_000, 3558)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Fungible Allowance (r:0 w:1)
@@ -146,8 +145,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_532_000 picoseconds.
- Weight::from_parts(2_680_000, 0)
+ // Minimum execution time: 6_415_000 picoseconds.
+ Weight::from_parts(6_599_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Fungible Allowance (r:1 w:1)
@@ -159,9 +158,9 @@
fn burn_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `315`
- // Estimated: `7623`
- // Minimum execution time: 21_271_000 picoseconds.
- Weight::from_parts(21_709_000, 7623)
+ // Estimated: `10593`
+ // Minimum execution time: 20_257_000 picoseconds.
+ Weight::from_parts(20_625_000, 10593)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -176,9 +175,9 @@
fn create_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
- // Estimated: `5055`
- // Minimum execution time: 10_152_000 picoseconds.
- Weight::from_parts(10_520_000, 5055)
+ // Estimated: `7035`
+ // Minimum execution time: 10_168_000 picoseconds.
+ Weight::from_parts(10_453_000, 7035)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -190,11 +189,11 @@
fn create_multiple_items_ex(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
- // Estimated: `2503 + b * (2552 ±0)`
- // Minimum execution time: 3_437_000 picoseconds.
- Weight::from_parts(13_322_752, 2503)
- // Standard Error: 1_728
- .saturating_add(Weight::from_parts(3_605_522, 0).saturating_mul(b.into()))
+ // Estimated: `4483 + b * (2552 ±0)`
+ // Minimum execution time: 3_248_000 picoseconds.
+ Weight::from_parts(12_455_981, 4483)
+ // Standard Error: 2_698
+ .saturating_add(Weight::from_parts(3_426_148, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
@@ -208,9 +207,9 @@
fn burn_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `197`
- // Estimated: `5055`
- // Minimum execution time: 12_894_000 picoseconds.
- Weight::from_parts(13_347_000, 5055)
+ // Estimated: `7035`
+ // Minimum execution time: 12_717_000 picoseconds.
+ Weight::from_parts(13_031_000, 7035)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -219,9 +218,9 @@
fn transfer_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
- // Estimated: `5104`
- // Minimum execution time: 6_678_000 picoseconds.
- Weight::from_parts(7_151_000, 5104)
+ // Estimated: `6094`
+ // Minimum execution time: 13_640_000 picoseconds.
+ Weight::from_parts(13_935_000, 6094)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -232,9 +231,9 @@
fn approve() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
- // Estimated: `2552`
- // Minimum execution time: 12_417_000 picoseconds.
- Weight::from_parts(12_658_000, 2552)
+ // Estimated: `3542`
+ // Minimum execution time: 11_769_000 picoseconds.
+ Weight::from_parts(12_072_000, 3542)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -245,9 +244,9 @@
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `170`
- // Estimated: `2552`
- // Minimum execution time: 12_322_000 picoseconds.
- Weight::from_parts(12_629_000, 2552)
+ // Estimated: `3542`
+ // Minimum execution time: 11_603_000 picoseconds.
+ Weight::from_parts(12_003_000, 3542)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -256,9 +255,9 @@
fn check_allowed_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `210`
- // Estimated: `2568`
- // Minimum execution time: 2_842_000 picoseconds.
- Weight::from_parts(3_077_000, 2568)
+ // Estimated: `3558`
+ // Minimum execution time: 5_682_000 picoseconds.
+ Weight::from_parts(5_892_000, 3558)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Fungible Allowance (r:0 w:1)
@@ -267,8 +266,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_532_000 picoseconds.
- Weight::from_parts(2_680_000, 0)
+ // Minimum execution time: 6_415_000 picoseconds.
+ Weight::from_parts(6_599_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Fungible Allowance (r:1 w:1)
@@ -280,9 +279,9 @@
fn burn_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `315`
- // Estimated: `7623`
- // Minimum execution time: 21_271_000 picoseconds.
- Weight::from_parts(21_709_000, 7623)
+ // Estimated: `10593`
+ // Minimum execution time: 20_257_000 picoseconds.
+ Weight::from_parts(20_625_000, 10593)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
pallets/maintenance/src/weights.rsdiffbeforeafterboth--- a/pallets/maintenance/src/weights.rs
+++ b/pallets/maintenance/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_maintenance
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -48,8 +47,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_721_000 picoseconds.
- Weight::from_parts(4_918_000, 0)
+ // Minimum execution time: 4_407_000 picoseconds.
+ Weight::from_parts(4_556_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Maintenance Enabled (r:0 w:1)
@@ -58,8 +57,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_795_000 picoseconds.
- Weight::from_parts(5_006_000, 0)
+ // Minimum execution time: 5_868_000 picoseconds.
+ Weight::from_parts(6_100_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Preimage StatusFor (r:1 w:0)
@@ -69,9 +68,9 @@
fn execute_preimage() -> Weight {
// Proof Size summary in bytes:
// Measured: `209`
- // Estimated: `5250`
- // Minimum execution time: 10_004_000 picoseconds.
- Weight::from_parts(10_964_000, 5250)
+ // Estimated: `7230`
+ // Minimum execution time: 14_046_000 picoseconds.
+ Weight::from_parts(14_419_000, 7230)
.saturating_add(T::DbWeight::get().reads(2_u64))
}
}
@@ -84,8 +83,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_721_000 picoseconds.
- Weight::from_parts(4_918_000, 0)
+ // Minimum execution time: 4_407_000 picoseconds.
+ Weight::from_parts(4_556_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Maintenance Enabled (r:0 w:1)
@@ -94,8 +93,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_795_000 picoseconds.
- Weight::from_parts(5_006_000, 0)
+ // Minimum execution time: 5_868_000 picoseconds.
+ Weight::from_parts(6_100_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Preimage StatusFor (r:1 w:0)
@@ -105,9 +104,9 @@
fn execute_preimage() -> Weight {
// Proof Size summary in bytes:
// Measured: `209`
- // Estimated: `5250`
- // Minimum execution time: 10_004_000 picoseconds.
- Weight::from_parts(10_964_000, 5250)
+ // Estimated: `7230`
+ // Minimum execution time: 14_046_000 picoseconds.
+ Weight::from_parts(14_419_000, 7230)
.saturating_add(RocksDbWeight::get().reads(2_u64))
}
}
pallets/nonfungible/src/weights.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/weights.rs
+++ b/pallets/nonfungible/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_nonfungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -72,9 +71,9 @@
fn create_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `390`
- // Estimated: `59511`
- // Minimum execution time: 23_081_000 picoseconds.
- Weight::from_parts(23_551_000, 59511)
+ // Estimated: `63471`
+ // Minimum execution time: 25_892_000 picoseconds.
+ Weight::from_parts(26_424_000, 63471)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -94,11 +93,11 @@
fn create_multiple_items(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `390`
- // Estimated: `24232 + b * (35279 ±0)`
- // Minimum execution time: 4_557_000 picoseconds.
- Weight::from_parts(5_994_058, 24232)
- // Standard Error: 4_326
- .saturating_add(Weight::from_parts(7_369_489, 0).saturating_mul(b.into()))
+ // Estimated: `28192 + b * (35279 ±0)`
+ // Minimum execution time: 4_612_000 picoseconds.
+ Weight::from_parts(6_399_460, 28192)
+ // Standard Error: 5_119
+ .saturating_add(Weight::from_parts(7_230_389, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(2_u64))
@@ -121,11 +120,11 @@
fn create_multiple_items_ex(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `390`
- // Estimated: `21692 + b * (37819 ±0)`
- // Minimum execution time: 4_533_000 picoseconds.
- Weight::from_parts(2_822_660, 21692)
- // Standard Error: 3_650
- .saturating_add(Weight::from_parts(9_100_706, 0).saturating_mul(b.into()))
+ // Estimated: `25652 + b * (37819 ±0)`
+ // Minimum execution time: 4_538_000 picoseconds.
+ Weight::from_parts(4_686_000, 25652)
+ // Standard Error: 3_518
+ .saturating_add(Weight::from_parts(8_905_771, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
@@ -148,10 +147,10 @@
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_item() -> Weight {
// Proof Size summary in bytes:
- // Measured: `412`
- // Estimated: `12611`
- // Minimum execution time: 23_528_000 picoseconds.
- Weight::from_parts(24_680_000, 12611)
+ // Measured: `380`
+ // Estimated: `17561`
+ // Minimum execution time: 24_230_000 picoseconds.
+ Weight::from_parts(24_672_000, 17561)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -171,10 +170,10 @@
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_recursively_self_raw() -> Weight {
// Proof Size summary in bytes:
- // Measured: `412`
- // Estimated: `12611`
- // Minimum execution time: 29_770_000 picoseconds.
- Weight::from_parts(30_114_000, 12611)
+ // Measured: `380`
+ // Estimated: `17561`
+ // Minimum execution time: 30_521_000 picoseconds.
+ Weight::from_parts(31_241_000, 17561)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -197,12 +196,12 @@
/// The range of component `b` is `[0, 200]`.
fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `1530 + b * (58 ±0)`
- // Estimated: `18290 + b * (10097 ±0)`
- // Minimum execution time: 31_413_000 picoseconds.
- Weight::from_parts(31_865_000, 18290)
- // Standard Error: 980_032
- .saturating_add(Weight::from_parts(205_236_443, 0).saturating_mul(b.into()))
+ // Measured: `1467 + b * (58 ±0)`
+ // Estimated: `24230 + b * (10097 ±0)`
+ // Minimum execution time: 31_734_000 picoseconds.
+ Weight::from_parts(32_162_000, 24230)
+ // Standard Error: 210_514
+ .saturating_add(Weight::from_parts(71_382_804, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(6_u64))
@@ -219,10 +218,10 @@
/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn transfer_raw() -> Weight {
// Proof Size summary in bytes:
- // Measured: `412`
- // Estimated: `10144`
- // Minimum execution time: 9_307_000 picoseconds.
- Weight::from_parts(10_108_000, 10144)
+ // Measured: `380`
+ // Estimated: `13114`
+ // Minimum execution time: 18_305_000 picoseconds.
+ Weight::from_parts(18_859_000, 13114)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -232,10 +231,10 @@
/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn approve() -> Weight {
// Proof Size summary in bytes:
- // Measured: `358`
- // Estimated: `5064`
- // Minimum execution time: 11_507_000 picoseconds.
- Weight::from_parts(11_771_000, 5064)
+ // Measured: `326`
+ // Estimated: `7044`
+ // Minimum execution time: 10_977_000 picoseconds.
+ Weight::from_parts(11_184_000, 7044)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -246,9 +245,9 @@
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `313`
- // Estimated: `5064`
- // Minimum execution time: 11_558_000 picoseconds.
- Weight::from_parts(11_789_000, 5064)
+ // Estimated: `7044`
+ // Minimum execution time: 11_456_000 picoseconds.
+ Weight::from_parts(11_731_000, 7044)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -256,10 +255,10 @@
/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn check_allowed_raw() -> Weight {
// Proof Size summary in bytes:
- // Measured: `394`
- // Estimated: `2532`
- // Minimum execution time: 2_668_000 picoseconds.
- Weight::from_parts(2_877_000, 2532)
+ // Measured: `362`
+ // Estimated: `3522`
+ // Minimum execution time: 5_771_000 picoseconds.
+ Weight::from_parts(5_972_000, 3522)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible Allowance (r:1 w:1)
@@ -278,10 +277,10 @@
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_from() -> Weight {
// Proof Size summary in bytes:
- // Measured: `527`
- // Estimated: `12611`
- // Minimum execution time: 30_713_000 picoseconds.
- Weight::from_parts(31_160_000, 12611)
+ // Measured: `463`
+ // Estimated: `17561`
+ // Minimum execution time: 30_633_000 picoseconds.
+ Weight::from_parts(31_136_000, 17561)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -291,11 +290,11 @@
fn set_token_property_permissions(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `281`
- // Estimated: `19201`
- // Minimum execution time: 2_360_000 picoseconds.
- Weight::from_parts(2_396_000, 19201)
- // Standard Error: 43_257
- .saturating_add(Weight::from_parts(12_085_808, 0).saturating_mul(b.into()))
+ // Estimated: `20191`
+ // Minimum execution time: 2_300_000 picoseconds.
+ Weight::from_parts(2_382_000, 20191)
+ // Standard Error: 45_076
+ .saturating_add(Weight::from_parts(12_000_777, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -306,12 +305,12 @@
/// The range of component `b` is `[0, 64]`.
fn set_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `616 + b * (261 ±0)`
- // Estimated: `54480`
- // Minimum execution time: 12_543_000 picoseconds.
- Weight::from_parts(12_686_000, 54480)
- // Standard Error: 52_286
- .saturating_add(Weight::from_parts(6_894_785, 0).saturating_mul(b.into()))
+ // Measured: `584 + b * (261 ±0)`
+ // Estimated: `56460`
+ // Minimum execution time: 12_422_000 picoseconds.
+ Weight::from_parts(5_523_689, 56460)
+ // Standard Error: 74_137
+ .saturating_add(Weight::from_parts(6_320_501, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -322,12 +321,12 @@
/// The range of component `b` is `[0, 64]`.
fn delete_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `653 + b * (33291 ±0)`
- // Estimated: `54480`
- // Minimum execution time: 12_352_000 picoseconds.
- Weight::from_parts(12_523_000, 54480)
- // Standard Error: 70_401
- .saturating_add(Weight::from_parts(21_959_228, 0).saturating_mul(b.into()))
+ // Measured: `589 + b * (33291 ±0)`
+ // Estimated: `56460`
+ // Minimum execution time: 12_006_000 picoseconds.
+ Weight::from_parts(12_216_000, 56460)
+ // Standard Error: 83_431
+ .saturating_add(Weight::from_parts(24_556_999, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -335,10 +334,10 @@
/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn token_owner() -> Weight {
// Proof Size summary in bytes:
- // Measured: `358`
- // Estimated: `2532`
- // Minimum execution time: 4_797_000 picoseconds.
- Weight::from_parts(5_499_000, 2532)
+ // Measured: `326`
+ // Estimated: `3522`
+ // Minimum execution time: 4_827_000 picoseconds.
+ Weight::from_parts(4_984_000, 3522)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible CollectionAllowance (r:0 w:1)
@@ -347,8 +346,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 6_303_000 picoseconds.
- Weight::from_parts(6_712_000, 0)
+ // Minimum execution time: 6_151_000 picoseconds.
+ Weight::from_parts(6_394_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Nonfungible CollectionAllowance (r:1 w:0)
@@ -356,9 +355,9 @@
fn allowance_for_all() -> Weight {
// Proof Size summary in bytes:
// Measured: `109`
- // Estimated: `2586`
- // Minimum execution time: 3_798_000 picoseconds.
- Weight::from_parts(4_017_000, 2586)
+ // Estimated: `3576`
+ // Minimum execution time: 3_791_000 picoseconds.
+ Weight::from_parts(3_950_000, 3576)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible TokenProperties (r:1 w:1)
@@ -366,9 +365,9 @@
fn repair_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `300`
- // Estimated: `35279`
- // Minimum execution time: 5_531_000 picoseconds.
- Weight::from_parts(5_750_000, 35279)
+ // Estimated: `36269`
+ // Minimum execution time: 5_364_000 picoseconds.
+ Weight::from_parts(5_539_000, 36269)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -391,9 +390,9 @@
fn create_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `390`
- // Estimated: `59511`
- // Minimum execution time: 23_081_000 picoseconds.
- Weight::from_parts(23_551_000, 59511)
+ // Estimated: `63471`
+ // Minimum execution time: 25_892_000 picoseconds.
+ Weight::from_parts(26_424_000, 63471)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -413,11 +412,11 @@
fn create_multiple_items(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `390`
- // Estimated: `24232 + b * (35279 ±0)`
- // Minimum execution time: 4_557_000 picoseconds.
- Weight::from_parts(5_994_058, 24232)
- // Standard Error: 4_326
- .saturating_add(Weight::from_parts(7_369_489, 0).saturating_mul(b.into()))
+ // Estimated: `28192 + b * (35279 ±0)`
+ // Minimum execution time: 4_612_000 picoseconds.
+ Weight::from_parts(6_399_460, 28192)
+ // Standard Error: 5_119
+ .saturating_add(Weight::from_parts(7_230_389, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(2_u64))
@@ -440,11 +439,11 @@
fn create_multiple_items_ex(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `390`
- // Estimated: `21692 + b * (37819 ±0)`
- // Minimum execution time: 4_533_000 picoseconds.
- Weight::from_parts(2_822_660, 21692)
- // Standard Error: 3_650
- .saturating_add(Weight::from_parts(9_100_706, 0).saturating_mul(b.into()))
+ // Estimated: `25652 + b * (37819 ±0)`
+ // Minimum execution time: 4_538_000 picoseconds.
+ Weight::from_parts(4_686_000, 25652)
+ // Standard Error: 3_518
+ .saturating_add(Weight::from_parts(8_905_771, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
@@ -467,10 +466,10 @@
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_item() -> Weight {
// Proof Size summary in bytes:
- // Measured: `412`
- // Estimated: `12611`
- // Minimum execution time: 23_528_000 picoseconds.
- Weight::from_parts(24_680_000, 12611)
+ // Measured: `380`
+ // Estimated: `17561`
+ // Minimum execution time: 24_230_000 picoseconds.
+ Weight::from_parts(24_672_000, 17561)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -490,10 +489,10 @@
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_recursively_self_raw() -> Weight {
// Proof Size summary in bytes:
- // Measured: `412`
- // Estimated: `12611`
- // Minimum execution time: 29_770_000 picoseconds.
- Weight::from_parts(30_114_000, 12611)
+ // Measured: `380`
+ // Estimated: `17561`
+ // Minimum execution time: 30_521_000 picoseconds.
+ Weight::from_parts(31_241_000, 17561)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -516,12 +515,12 @@
/// The range of component `b` is `[0, 200]`.
fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `1530 + b * (58 ±0)`
- // Estimated: `18290 + b * (10097 ±0)`
- // Minimum execution time: 31_413_000 picoseconds.
- Weight::from_parts(31_865_000, 18290)
- // Standard Error: 980_032
- .saturating_add(Weight::from_parts(205_236_443, 0).saturating_mul(b.into()))
+ // Measured: `1467 + b * (58 ±0)`
+ // Estimated: `24230 + b * (10097 ±0)`
+ // Minimum execution time: 31_734_000 picoseconds.
+ Weight::from_parts(32_162_000, 24230)
+ // Standard Error: 210_514
+ .saturating_add(Weight::from_parts(71_382_804, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(6_u64))
@@ -538,10 +537,10 @@
/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn transfer_raw() -> Weight {
// Proof Size summary in bytes:
- // Measured: `412`
- // Estimated: `10144`
- // Minimum execution time: 9_307_000 picoseconds.
- Weight::from_parts(10_108_000, 10144)
+ // Measured: `380`
+ // Estimated: `13114`
+ // Minimum execution time: 18_305_000 picoseconds.
+ Weight::from_parts(18_859_000, 13114)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -551,10 +550,10 @@
/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn approve() -> Weight {
// Proof Size summary in bytes:
- // Measured: `358`
- // Estimated: `5064`
- // Minimum execution time: 11_507_000 picoseconds.
- Weight::from_parts(11_771_000, 5064)
+ // Measured: `326`
+ // Estimated: `7044`
+ // Minimum execution time: 10_977_000 picoseconds.
+ Weight::from_parts(11_184_000, 7044)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -565,9 +564,9 @@
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `313`
- // Estimated: `5064`
- // Minimum execution time: 11_558_000 picoseconds.
- Weight::from_parts(11_789_000, 5064)
+ // Estimated: `7044`
+ // Minimum execution time: 11_456_000 picoseconds.
+ Weight::from_parts(11_731_000, 7044)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -575,10 +574,10 @@
/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn check_allowed_raw() -> Weight {
// Proof Size summary in bytes:
- // Measured: `394`
- // Estimated: `2532`
- // Minimum execution time: 2_668_000 picoseconds.
- Weight::from_parts(2_877_000, 2532)
+ // Measured: `362`
+ // Estimated: `3522`
+ // Minimum execution time: 5_771_000 picoseconds.
+ Weight::from_parts(5_972_000, 3522)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible Allowance (r:1 w:1)
@@ -597,10 +596,10 @@
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_from() -> Weight {
// Proof Size summary in bytes:
- // Measured: `527`
- // Estimated: `12611`
- // Minimum execution time: 30_713_000 picoseconds.
- Weight::from_parts(31_160_000, 12611)
+ // Measured: `463`
+ // Estimated: `17561`
+ // Minimum execution time: 30_633_000 picoseconds.
+ Weight::from_parts(31_136_000, 17561)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -610,11 +609,11 @@
fn set_token_property_permissions(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `281`
- // Estimated: `19201`
- // Minimum execution time: 2_360_000 picoseconds.
- Weight::from_parts(2_396_000, 19201)
- // Standard Error: 43_257
- .saturating_add(Weight::from_parts(12_085_808, 0).saturating_mul(b.into()))
+ // Estimated: `20191`
+ // Minimum execution time: 2_300_000 picoseconds.
+ Weight::from_parts(2_382_000, 20191)
+ // Standard Error: 45_076
+ .saturating_add(Weight::from_parts(12_000_777, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -625,12 +624,12 @@
/// The range of component `b` is `[0, 64]`.
fn set_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `616 + b * (261 ±0)`
- // Estimated: `54480`
- // Minimum execution time: 12_543_000 picoseconds.
- Weight::from_parts(12_686_000, 54480)
- // Standard Error: 52_286
- .saturating_add(Weight::from_parts(6_894_785, 0).saturating_mul(b.into()))
+ // Measured: `584 + b * (261 ±0)`
+ // Estimated: `56460`
+ // Minimum execution time: 12_422_000 picoseconds.
+ Weight::from_parts(5_523_689, 56460)
+ // Standard Error: 74_137
+ .saturating_add(Weight::from_parts(6_320_501, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -641,12 +640,12 @@
/// The range of component `b` is `[0, 64]`.
fn delete_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `653 + b * (33291 ±0)`
- // Estimated: `54480`
- // Minimum execution time: 12_352_000 picoseconds.
- Weight::from_parts(12_523_000, 54480)
- // Standard Error: 70_401
- .saturating_add(Weight::from_parts(21_959_228, 0).saturating_mul(b.into()))
+ // Measured: `589 + b * (33291 ±0)`
+ // Estimated: `56460`
+ // Minimum execution time: 12_006_000 picoseconds.
+ Weight::from_parts(12_216_000, 56460)
+ // Standard Error: 83_431
+ .saturating_add(Weight::from_parts(24_556_999, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -654,10 +653,10 @@
/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn token_owner() -> Weight {
// Proof Size summary in bytes:
- // Measured: `358`
- // Estimated: `2532`
- // Minimum execution time: 4_797_000 picoseconds.
- Weight::from_parts(5_499_000, 2532)
+ // Measured: `326`
+ // Estimated: `3522`
+ // Minimum execution time: 4_827_000 picoseconds.
+ Weight::from_parts(4_984_000, 3522)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible CollectionAllowance (r:0 w:1)
@@ -666,8 +665,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 6_303_000 picoseconds.
- Weight::from_parts(6_712_000, 0)
+ // Minimum execution time: 6_151_000 picoseconds.
+ Weight::from_parts(6_394_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Nonfungible CollectionAllowance (r:1 w:0)
@@ -675,9 +674,9 @@
fn allowance_for_all() -> Weight {
// Proof Size summary in bytes:
// Measured: `109`
- // Estimated: `2586`
- // Minimum execution time: 3_798_000 picoseconds.
- Weight::from_parts(4_017_000, 2586)
+ // Estimated: `3576`
+ // Minimum execution time: 3_791_000 picoseconds.
+ Weight::from_parts(3_950_000, 3576)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible TokenProperties (r:1 w:1)
@@ -685,9 +684,9 @@
fn repair_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `300`
- // Estimated: `35279`
- // Minimum execution time: 5_531_000 picoseconds.
- Weight::from_parts(5_750_000, 35279)
+ // Estimated: `36269`
+ // Minimum execution time: 5_364_000 picoseconds.
+ Weight::from_parts(5_539_000, 36269)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
pallets/refungible/src/weights.rsdiffbeforeafterboth3//! Autogenerated weights for pallet_refungible3//! Autogenerated weights for pallet_refungible4//!4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev5//! 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: `[]`6//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`7//! WORST CASE MAP SIZE: `1000000`8//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`8//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10249//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 102491010// Executed Command:11// Executed Command:26#![cfg_attr(rustfmt, rustfmt_skip)]27#![cfg_attr(rustfmt, rustfmt_skip)]27#![allow(unused_parens)]28#![allow(unused_parens)]28#![allow(unused_imports)]29#![allow(unused_imports)]29#![allow(missing_docs)]30#![allow(clippy::unnecessary_cast)]313032use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};31use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};33use sp_std::marker::PhantomData;32use sp_std::marker::PhantomData;81 fn create_item() -> Weight {80 fn create_item() -> Weight {82 // Proof Size summary in bytes:81 // Proof Size summary in bytes:83 // Measured: `285`82 // Measured: `285`84 // Estimated: `59511`83 // Estimated: `63471`85 // Minimum execution time: 25_287_000 picoseconds.84 // Minimum execution time: 30_759_000 picoseconds.86 Weight::from_parts(25_741_000, 59511)85 Weight::from_parts(31_321_000, 63471)87 .saturating_add(T::DbWeight::get().reads(4_u64))86 .saturating_add(T::DbWeight::get().reads(4_u64))88 .saturating_add(T::DbWeight::get().writes(6_u64))87 .saturating_add(T::DbWeight::get().writes(6_u64))89 }88 }105 fn create_multiple_items(b: u32, ) -> Weight {104 fn create_multiple_items(b: u32, ) -> Weight {106 // Proof Size summary in bytes:105 // Proof Size summary in bytes:107 // Measured: `285`106 // Measured: `285`108 // Estimated: `24232 + b * (35279 ±0)`107 // Estimated: `28192 + b * (35279 ±0)`109 // Minimum execution time: 4_618_000 picoseconds.108 // Minimum execution time: 4_024_000 picoseconds.110 Weight::from_parts(1_425_218, 24232)109 Weight::from_parts(4_145_000, 28192)111 // Standard Error: 4_343110 // Standard Error: 3_332112 .saturating_add(Weight::from_parts(9_154_733, 0).saturating_mul(b.into()))111 .saturating_add(Weight::from_parts(8_967_757, 0).saturating_mul(b.into()))113 .saturating_add(T::DbWeight::get().reads(3_u64))112 .saturating_add(T::DbWeight::get().reads(3_u64))114 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))113 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))115 .saturating_add(T::DbWeight::get().writes(2_u64))114 .saturating_add(T::DbWeight::get().writes(2_u64))134 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {133 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {135 // Proof Size summary in bytes:134 // Proof Size summary in bytes:136 // Measured: `285`135 // Measured: `285`137 // Estimated: `21692 + b * (37819 ±0)`136 // Estimated: `25652 + b * (37819 ±0)`138 // Minimum execution time: 4_063_000 picoseconds.137 // Minimum execution time: 3_715_000 picoseconds.139 Weight::from_parts(4_160_000, 21692)138 Weight::from_parts(3_881_000, 25652)140 // Standard Error: 2_386139 // Standard Error: 3_275141 .saturating_add(Weight::from_parts(10_836_802, 0).saturating_mul(b.into()))140 .saturating_add(Weight::from_parts(10_525_271, 0).saturating_mul(b.into()))142 .saturating_add(T::DbWeight::get().reads(2_u64))141 .saturating_add(T::DbWeight::get().reads(2_u64))143 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))142 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))144 .saturating_add(T::DbWeight::get().writes(1_u64))143 .saturating_add(T::DbWeight::get().writes(1_u64))163 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {162 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {164 // Proof Size summary in bytes:163 // Proof Size summary in bytes:165 // Measured: `285`164 // Measured: `285`166 // Estimated: `56971 + b * (2540 ±0)`165 // Estimated: `60931 + b * (2540 ±0)`167 // Minimum execution time: 14_637_000 picoseconds.166 // Minimum execution time: 13_150_000 picoseconds.168 Weight::from_parts(19_042_423, 56971)167 Weight::from_parts(15_655_930, 60931)169 // Standard Error: 1_632168 // Standard Error: 4_170170 .saturating_add(Weight::from_parts(5_976_694, 0).saturating_mul(b.into()))169 .saturating_add(Weight::from_parts(5_673_702, 0).saturating_mul(b.into()))171 .saturating_add(T::DbWeight::get().reads(3_u64))170 .saturating_add(T::DbWeight::get().reads(3_u64))172 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))171 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))173 .saturating_add(T::DbWeight::get().writes(3_u64))172 .saturating_add(T::DbWeight::get().writes(3_u64))185 fn burn_item_partial() -> Weight {184 fn burn_item_partial() -> Weight {186 // Proof Size summary in bytes:185 // Proof Size summary in bytes:187 // Measured: `490`186 // Measured: `490`188 // Estimated: `12747`187 // Estimated: `15717`189 // Minimum execution time: 35_018_000 picoseconds.188 // Minimum execution time: 28_992_000 picoseconds.190 Weight::from_parts(35_596_000, 12747)189 Weight::from_parts(29_325_000, 15717)191 .saturating_add(T::DbWeight::get().reads(5_u64))190 .saturating_add(T::DbWeight::get().reads(5_u64))192 .saturating_add(T::DbWeight::get().writes(4_u64))191 .saturating_add(T::DbWeight::get().writes(4_u64))193 }192 }206 fn burn_item_fully() -> Weight {205 fn burn_item_fully() -> Weight {207 // Proof Size summary in bytes:206 // Proof Size summary in bytes:208 // Measured: `375`207 // Measured: `375`209 // Estimated: `10110`208 // Estimated: `14070`210 // Minimum execution time: 30_441_000 picoseconds.209 // Minimum execution time: 27_980_000 picoseconds.211 Weight::from_parts(31_000_000, 10110)210 Weight::from_parts(28_582_000, 14070)212 .saturating_add(T::DbWeight::get().reads(4_u64))211 .saturating_add(T::DbWeight::get().reads(4_u64))213 .saturating_add(T::DbWeight::get().writes(6_u64))212 .saturating_add(T::DbWeight::get().writes(6_u64))214 }213 }219 fn transfer_normal() -> Weight {218 fn transfer_normal() -> Weight {220 // Proof Size summary in bytes:219 // Proof Size summary in bytes:221 // Measured: `398`220 // Measured: `398`222 // Estimated: `7643`221 // Estimated: `9623`223 // Minimum execution time: 20_055_000 picoseconds.222 // Minimum execution time: 18_746_000 picoseconds.224 Weight::from_parts(20_533_000, 7643)223 Weight::from_parts(19_096_000, 9623)225 .saturating_add(T::DbWeight::get().reads(3_u64))224 .saturating_add(T::DbWeight::get().reads(3_u64))226 .saturating_add(T::DbWeight::get().writes(2_u64))225 .saturating_add(T::DbWeight::get().writes(2_u64))227 }226 }236 fn transfer_creating() -> Weight {235 fn transfer_creating() -> Weight {237 // Proof Size summary in bytes:236 // Proof Size summary in bytes:238 // Measured: `375`237 // Measured: `375`239 // Estimated: `10183`238 // Estimated: `13153`240 // Minimum execution time: 23_443_000 picoseconds.239 // Minimum execution time: 21_719_000 picoseconds.241 Weight::from_parts(23_791_000, 10183)240 Weight::from_parts(22_219_000, 13153)242 .saturating_add(T::DbWeight::get().reads(4_u64))241 .saturating_add(T::DbWeight::get().reads(4_u64))243 .saturating_add(T::DbWeight::get().writes(4_u64))242 .saturating_add(T::DbWeight::get().writes(4_u64))244 }243 }253 fn transfer_removing() -> Weight {252 fn transfer_removing() -> Weight {254 // Proof Size summary in bytes:253 // Proof Size summary in bytes:255 // Measured: `490`254 // Measured: `490`256 // Estimated: `10183`255 // Estimated: `13153`257 // Minimum execution time: 26_489_000 picoseconds.256 // Minimum execution time: 24_784_000 picoseconds.258 Weight::from_parts(27_103_000, 10183)257 Weight::from_parts(25_231_000, 13153)259 .saturating_add(T::DbWeight::get().reads(4_u64))258 .saturating_add(T::DbWeight::get().reads(4_u64))260 .saturating_add(T::DbWeight::get().writes(4_u64))259 .saturating_add(T::DbWeight::get().writes(4_u64))261 }260 }270 fn transfer_creating_removing() -> Weight {269 fn transfer_creating_removing() -> Weight {271 // Proof Size summary in bytes:270 // Proof Size summary in bytes:272 // Measured: `375`271 // Measured: `375`273 // Estimated: `12723`272 // Estimated: `15693`274 // Minimum execution time: 26_719_000 picoseconds.273 // Minimum execution time: 24_865_000 picoseconds.275 Weight::from_parts(27_038_000, 12723)274 Weight::from_parts(25_253_000, 15693)276 .saturating_add(T::DbWeight::get().reads(5_u64))275 .saturating_add(T::DbWeight::get().reads(5_u64))277 .saturating_add(T::DbWeight::get().writes(6_u64))276 .saturating_add(T::DbWeight::get().writes(6_u64))278 }277 }283 fn approve() -> Weight {282 fn approve() -> Weight {284 // Proof Size summary in bytes:283 // Proof Size summary in bytes:285 // Measured: `256`284 // Measured: `256`286 // Estimated: `2564`285 // Estimated: `3554`287 // Minimum execution time: 12_949_000 picoseconds.286 // Minimum execution time: 12_318_000 picoseconds.288 Weight::from_parts(13_181_000, 2564)287 Weight::from_parts(12_597_000, 3554)289 .saturating_add(T::DbWeight::get().reads(1_u64))288 .saturating_add(T::DbWeight::get().reads(1_u64))290 .saturating_add(T::DbWeight::get().writes(1_u64))289 .saturating_add(T::DbWeight::get().writes(1_u64))291 }290 }296 fn approve_from() -> Weight {295 fn approve_from() -> Weight {297 // Proof Size summary in bytes:296 // Proof Size summary in bytes:298 // Measured: `244`297 // Measured: `244`299 // Estimated: `2564`298 // Estimated: `3554`300 // Minimum execution time: 12_942_000 picoseconds.299 // Minimum execution time: 12_276_000 picoseconds.301 Weight::from_parts(13_268_000, 2564)300 Weight::from_parts(12_557_000, 3554)302 .saturating_add(T::DbWeight::get().reads(1_u64))301 .saturating_add(T::DbWeight::get().reads(1_u64))303 .saturating_add(T::DbWeight::get().writes(1_u64))302 .saturating_add(T::DbWeight::get().writes(1_u64))304 }303 }311 fn transfer_from_normal() -> Weight {310 fn transfer_from_normal() -> Weight {312 // Proof Size summary in bytes:311 // Proof Size summary in bytes:313 // Measured: `528`312 // Measured: `528`314 // Estimated: `10223`313 // Estimated: `13193`315 // Minimum execution time: 28_907_000 picoseconds.314 // Minimum execution time: 26_852_000 picoseconds.316 Weight::from_parts(29_487_000, 10223)315 Weight::from_parts(27_427_000, 13193)317 .saturating_add(T::DbWeight::get().reads(4_u64))316 .saturating_add(T::DbWeight::get().reads(4_u64))318 .saturating_add(T::DbWeight::get().writes(3_u64))317 .saturating_add(T::DbWeight::get().writes(3_u64))319 }318 }330 fn transfer_from_creating() -> Weight {329 fn transfer_from_creating() -> Weight {331 // Proof Size summary in bytes:330 // Proof Size summary in bytes:332 // Measured: `505`331 // Measured: `505`333 // Estimated: `12763`332 // Estimated: `16723`334 // Minimum execution time: 31_271_000 picoseconds.333 // Minimum execution time: 29_893_000 picoseconds.335 Weight::from_parts(32_293_000, 12763)334 Weight::from_parts(30_345_000, 16723)336 .saturating_add(T::DbWeight::get().reads(5_u64))335 .saturating_add(T::DbWeight::get().reads(5_u64))337 .saturating_add(T::DbWeight::get().writes(5_u64))336 .saturating_add(T::DbWeight::get().writes(5_u64))338 }337 }349 fn transfer_from_removing() -> Weight {348 fn transfer_from_removing() -> Weight {350 // Proof Size summary in bytes:349 // Proof Size summary in bytes:351 // Measured: `620`350 // Measured: `620`352 // Estimated: `12763`351 // Estimated: `16723`353 // Minimum execution time: 34_295_000 picoseconds.352 // Minimum execution time: 32_784_000 picoseconds.354 Weight::from_parts(34_924_000, 12763)353 Weight::from_parts(33_322_000, 16723)355 .saturating_add(T::DbWeight::get().reads(5_u64))354 .saturating_add(T::DbWeight::get().reads(5_u64))356 .saturating_add(T::DbWeight::get().writes(5_u64))355 .saturating_add(T::DbWeight::get().writes(5_u64))357 }356 }368 fn transfer_from_creating_removing() -> Weight {367 fn transfer_from_creating_removing() -> Weight {369 // Proof Size summary in bytes:368 // Proof Size summary in bytes:370 // Measured: `505`369 // Measured: `505`371 // Estimated: `15303`370 // Estimated: `19263`372 // Minimum execution time: 35_447_000 picoseconds.371 // Minimum execution time: 32_987_000 picoseconds.373 Weight::from_parts(35_896_000, 15303)372 Weight::from_parts(33_428_000, 19263)374 .saturating_add(T::DbWeight::get().reads(6_u64))373 .saturating_add(T::DbWeight::get().reads(6_u64))375 .saturating_add(T::DbWeight::get().writes(7_u64))374 .saturating_add(T::DbWeight::get().writes(7_u64))376 }375 }391 fn burn_from() -> Weight {390 fn burn_from() -> Weight {392 // Proof Size summary in bytes:391 // Proof Size summary in bytes:393 // Measured: `505`392 // Measured: `505`394 // Estimated: `12690`393 // Estimated: `17640`395 // Minimum execution time: 39_395_000 picoseconds.394 // Minimum execution time: 38_277_000 picoseconds.396 Weight::from_parts(40_119_000, 12690)395 Weight::from_parts(38_983_000, 17640)397 .saturating_add(T::DbWeight::get().reads(5_u64))396 .saturating_add(T::DbWeight::get().reads(5_u64))398 .saturating_add(T::DbWeight::get().writes(7_u64))397 .saturating_add(T::DbWeight::get().writes(7_u64))399 }398 }403 fn set_token_property_permissions(b: u32, ) -> Weight {402 fn set_token_property_permissions(b: u32, ) -> Weight {404 // Proof Size summary in bytes:403 // Proof Size summary in bytes:405 // Measured: `281`404 // Measured: `281`406 // Estimated: `19201`405 // Estimated: `20191`407 // Minimum execution time: 2_337_000 picoseconds.406 // Minimum execution time: 2_254_000 picoseconds.408 Weight::from_parts(2_434_000, 19201)407 Weight::from_parts(2_335_000, 20191)409 // Standard Error: 43_425408 // Standard Error: 44_906410 .saturating_add(Weight::from_parts(12_286_502, 0).saturating_mul(b.into()))409 .saturating_add(Weight::from_parts(12_118_499, 0).saturating_mul(b.into()))411 .saturating_add(T::DbWeight::get().reads(1_u64))410 .saturating_add(T::DbWeight::get().reads(1_u64))412 .saturating_add(T::DbWeight::get().writes(1_u64))411 .saturating_add(T::DbWeight::get().writes(1_u64))413 }412 }418 /// The range of component `b` is `[0, 64]`.417 /// The range of component `b` is `[0, 64]`.419 fn set_token_properties(b: u32, ) -> Weight {418 fn set_token_properties(b: u32, ) -> Weight {420 // Proof Size summary in bytes:419 // Proof Size summary in bytes:421 // Measured: `490 + b * (261 ±0)`420 // Measured: `458 + b * (261 ±0)`422 // Estimated: `54480`421 // Estimated: `56460`423 // Minimum execution time: 11_857_000 picoseconds.422 // Minimum execution time: 11_249_000 picoseconds.424 Weight::from_parts(12_007_000, 54480)423 Weight::from_parts(11_420_000, 56460)425 // Standard Error: 22_963424 // Standard Error: 72_033426 .saturating_add(Weight::from_parts(6_609_180, 0).saturating_mul(b.into()))425 .saturating_add(Weight::from_parts(7_008_012, 0).saturating_mul(b.into()))427 .saturating_add(T::DbWeight::get().reads(2_u64))426 .saturating_add(T::DbWeight::get().reads(2_u64))428 .saturating_add(T::DbWeight::get().writes(1_u64))427 .saturating_add(T::DbWeight::get().writes(1_u64))429 }428 }434 /// The range of component `b` is `[0, 64]`.433 /// The range of component `b` is `[0, 64]`.435 fn delete_token_properties(b: u32, ) -> Weight {434 fn delete_token_properties(b: u32, ) -> Weight {436 // Proof Size summary in bytes:435 // Proof Size summary in bytes:437 // Measured: `527 + b * (33291 ±0)`436 // Measured: `463 + b * (33291 ±0)`438 // Estimated: `54480`437 // Estimated: `56460`439 // Minimum execution time: 12_001_000 picoseconds.438 // Minimum execution time: 11_368_000 picoseconds.440 Weight::from_parts(12_197_000, 54480)439 Weight::from_parts(11_546_000, 56460)441 // Standard Error: 70_580440 // Standard Error: 85_444442 .saturating_add(Weight::from_parts(21_847_004, 0).saturating_mul(b.into()))441 .saturating_add(Weight::from_parts(24_644_980, 0).saturating_mul(b.into()))443 .saturating_add(T::DbWeight::get().reads(2_u64))442 .saturating_add(T::DbWeight::get().reads(2_u64))444 .saturating_add(T::DbWeight::get().writes(1_u64))443 .saturating_add(T::DbWeight::get().writes(1_u64))445 }444 }450 fn repartition_item() -> Weight {449 fn repartition_item() -> Weight {451 // Proof Size summary in bytes:450 // Proof Size summary in bytes:452 // Measured: `321`451 // Measured: `321`453 // Estimated: `5079`452 // Estimated: `7059`454 // Minimum execution time: 14_497_000 picoseconds.453 // Minimum execution time: 13_586_000 picoseconds.455 Weight::from_parts(14_825_000, 5079)454 Weight::from_parts(14_489_000, 7059)456 .saturating_add(T::DbWeight::get().reads(2_u64))455 .saturating_add(T::DbWeight::get().reads(2_u64))457 .saturating_add(T::DbWeight::get().writes(2_u64))456 .saturating_add(T::DbWeight::get().writes(2_u64))458 }457 }461 fn token_owner() -> Weight {460 fn token_owner() -> Weight {462 // Proof Size summary in bytes:461 // Proof Size summary in bytes:463 // Measured: `321`462 // Measured: `321`464 // Estimated: `5128`463 // Estimated: `6118`465 // Minimum execution time: 8_888_000 picoseconds.464 // Minimum execution time: 7_049_000 picoseconds.466 Weight::from_parts(9_373_000, 5128)465 Weight::from_parts(7_320_000, 6118)467 .saturating_add(T::DbWeight::get().reads(2_u64))466 .saturating_add(T::DbWeight::get().reads(2_u64))468 }467 }469 /// Storage: Refungible CollectionAllowance (r:0 w:1)468 /// Storage: Refungible CollectionAllowance (r:0 w:1)472 // Proof Size summary in bytes:471 // Proof Size summary in bytes:473 // Measured: `0`472 // Measured: `0`474 // Estimated: `0`473 // Estimated: `0`475 // Minimum execution time: 7_042_000 picoseconds.474 // Minimum execution time: 6_432_000 picoseconds.476 Weight::from_parts(7_245_000, 0)475 Weight::from_parts(6_642_000, 0)477 .saturating_add(T::DbWeight::get().writes(1_u64))476 .saturating_add(T::DbWeight::get().writes(1_u64))478 }477 }479 /// Storage: Refungible CollectionAllowance (r:1 w:0)478 /// Storage: Refungible CollectionAllowance (r:1 w:0)480 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)479 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)481 fn allowance_for_all() -> Weight {480 fn allowance_for_all() -> Weight {482 // Proof Size summary in bytes:481 // Proof Size summary in bytes:483 // Measured: `4`482 // Measured: `4`484 // Estimated: `2586`483 // Estimated: `3576`485 // Minimum execution time: 3_425_000 picoseconds.484 // Minimum execution time: 3_030_000 picoseconds.486 Weight::from_parts(3_554_000, 2586)485 Weight::from_parts(3_206_000, 3576)487 .saturating_add(T::DbWeight::get().reads(1_u64))486 .saturating_add(T::DbWeight::get().reads(1_u64))488 }487 }489 /// Storage: Refungible TokenProperties (r:1 w:1)488 /// Storage: Refungible TokenProperties (r:1 w:1)490 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)489 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)491 fn repair_item() -> Weight {490 fn repair_item() -> Weight {492 // Proof Size summary in bytes:491 // Proof Size summary in bytes:493 // Measured: `174`492 // Measured: `174`494 // Estimated: `35279`493 // Estimated: `36269`495 // Minimum execution time: 4_684_000 picoseconds.494 // Minimum execution time: 4_371_000 picoseconds.496 Weight::from_parts(4_805_000, 35279)495 Weight::from_parts(4_555_000, 36269)497 .saturating_add(T::DbWeight::get().reads(1_u64))496 .saturating_add(T::DbWeight::get().reads(1_u64))498 .saturating_add(T::DbWeight::get().writes(1_u64))497 .saturating_add(T::DbWeight::get().writes(1_u64))499 }498 }518 fn create_item() -> Weight {517 fn create_item() -> Weight {519 // Proof Size summary in bytes:518 // Proof Size summary in bytes:520 // Measured: `285`519 // Measured: `285`521 // Estimated: `59511`520 // Estimated: `63471`522 // Minimum execution time: 25_287_000 picoseconds.521 // Minimum execution time: 30_759_000 picoseconds.523 Weight::from_parts(25_741_000, 59511)522 Weight::from_parts(31_321_000, 63471)524 .saturating_add(RocksDbWeight::get().reads(4_u64))523 .saturating_add(RocksDbWeight::get().reads(4_u64))525 .saturating_add(RocksDbWeight::get().writes(6_u64))524 .saturating_add(RocksDbWeight::get().writes(6_u64))526 }525 }542 fn create_multiple_items(b: u32, ) -> Weight {541 fn create_multiple_items(b: u32, ) -> Weight {543 // Proof Size summary in bytes:542 // Proof Size summary in bytes:544 // Measured: `285`543 // Measured: `285`545 // Estimated: `24232 + b * (35279 ±0)`544 // Estimated: `28192 + b * (35279 ±0)`546 // Minimum execution time: 4_618_000 picoseconds.545 // Minimum execution time: 4_024_000 picoseconds.547 Weight::from_parts(1_425_218, 24232)546 Weight::from_parts(4_145_000, 28192)548 // Standard Error: 4_343547 // Standard Error: 3_332549 .saturating_add(Weight::from_parts(9_154_733, 0).saturating_mul(b.into()))548 .saturating_add(Weight::from_parts(8_967_757, 0).saturating_mul(b.into()))550 .saturating_add(RocksDbWeight::get().reads(3_u64))549 .saturating_add(RocksDbWeight::get().reads(3_u64))551 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))550 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))552 .saturating_add(RocksDbWeight::get().writes(2_u64))551 .saturating_add(RocksDbWeight::get().writes(2_u64))571 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {570 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {572 // Proof Size summary in bytes:571 // Proof Size summary in bytes:573 // Measured: `285`572 // Measured: `285`574 // Estimated: `21692 + b * (37819 ±0)`573 // Estimated: `25652 + b * (37819 ±0)`575 // Minimum execution time: 4_063_000 picoseconds.574 // Minimum execution time: 3_715_000 picoseconds.576 Weight::from_parts(4_160_000, 21692)575 Weight::from_parts(3_881_000, 25652)577 // Standard Error: 2_386576 // Standard Error: 3_275578 .saturating_add(Weight::from_parts(10_836_802, 0).saturating_mul(b.into()))577 .saturating_add(Weight::from_parts(10_525_271, 0).saturating_mul(b.into()))579 .saturating_add(RocksDbWeight::get().reads(2_u64))578 .saturating_add(RocksDbWeight::get().reads(2_u64))580 .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))579 .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))581 .saturating_add(RocksDbWeight::get().writes(1_u64))580 .saturating_add(RocksDbWeight::get().writes(1_u64))600 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {599 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {601 // Proof Size summary in bytes:600 // Proof Size summary in bytes:602 // Measured: `285`601 // Measured: `285`603 // Estimated: `56971 + b * (2540 ±0)`602 // Estimated: `60931 + b * (2540 ±0)`604 // Minimum execution time: 14_637_000 picoseconds.603 // Minimum execution time: 13_150_000 picoseconds.605 Weight::from_parts(19_042_423, 56971)604 Weight::from_parts(15_655_930, 60931)606 // Standard Error: 1_632605 // Standard Error: 4_170607 .saturating_add(Weight::from_parts(5_976_694, 0).saturating_mul(b.into()))606 .saturating_add(Weight::from_parts(5_673_702, 0).saturating_mul(b.into()))608 .saturating_add(RocksDbWeight::get().reads(3_u64))607 .saturating_add(RocksDbWeight::get().reads(3_u64))609 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))608 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))610 .saturating_add(RocksDbWeight::get().writes(3_u64))609 .saturating_add(RocksDbWeight::get().writes(3_u64))622 fn burn_item_partial() -> Weight {621 fn burn_item_partial() -> Weight {623 // Proof Size summary in bytes:622 // Proof Size summary in bytes:624 // Measured: `490`623 // Measured: `490`625 // Estimated: `12747`624 // Estimated: `15717`626 // Minimum execution time: 35_018_000 picoseconds.625 // Minimum execution time: 28_992_000 picoseconds.627 Weight::from_parts(35_596_000, 12747)626 Weight::from_parts(29_325_000, 15717)628 .saturating_add(RocksDbWeight::get().reads(5_u64))627 .saturating_add(RocksDbWeight::get().reads(5_u64))629 .saturating_add(RocksDbWeight::get().writes(4_u64))628 .saturating_add(RocksDbWeight::get().writes(4_u64))630 }629 }643 fn burn_item_fully() -> Weight {642 fn burn_item_fully() -> Weight {644 // Proof Size summary in bytes:643 // Proof Size summary in bytes:645 // Measured: `375`644 // Measured: `375`646 // Estimated: `10110`645 // Estimated: `14070`647 // Minimum execution time: 30_441_000 picoseconds.646 // Minimum execution time: 27_980_000 picoseconds.648 Weight::from_parts(31_000_000, 10110)647 Weight::from_parts(28_582_000, 14070)649 .saturating_add(RocksDbWeight::get().reads(4_u64))648 .saturating_add(RocksDbWeight::get().reads(4_u64))650 .saturating_add(RocksDbWeight::get().writes(6_u64))649 .saturating_add(RocksDbWeight::get().writes(6_u64))651 }650 }656 fn transfer_normal() -> Weight {655 fn transfer_normal() -> Weight {657 // Proof Size summary in bytes:656 // Proof Size summary in bytes:658 // Measured: `398`657 // Measured: `398`659 // Estimated: `7643`658 // Estimated: `9623`660 // Minimum execution time: 20_055_000 picoseconds.659 // Minimum execution time: 18_746_000 picoseconds.661 Weight::from_parts(20_533_000, 7643)660 Weight::from_parts(19_096_000, 9623)662 .saturating_add(RocksDbWeight::get().reads(3_u64))661 .saturating_add(RocksDbWeight::get().reads(3_u64))663 .saturating_add(RocksDbWeight::get().writes(2_u64))662 .saturating_add(RocksDbWeight::get().writes(2_u64))664 }663 }673 fn transfer_creating() -> Weight {672 fn transfer_creating() -> Weight {674 // Proof Size summary in bytes:673 // Proof Size summary in bytes:675 // Measured: `375`674 // Measured: `375`676 // Estimated: `10183`675 // Estimated: `13153`677 // Minimum execution time: 23_443_000 picoseconds.676 // Minimum execution time: 21_719_000 picoseconds.678 Weight::from_parts(23_791_000, 10183)677 Weight::from_parts(22_219_000, 13153)679 .saturating_add(RocksDbWeight::get().reads(4_u64))678 .saturating_add(RocksDbWeight::get().reads(4_u64))680 .saturating_add(RocksDbWeight::get().writes(4_u64))679 .saturating_add(RocksDbWeight::get().writes(4_u64))681 }680 }690 fn transfer_removing() -> Weight {689 fn transfer_removing() -> Weight {691 // Proof Size summary in bytes:690 // Proof Size summary in bytes:692 // Measured: `490`691 // Measured: `490`693 // Estimated: `10183`692 // Estimated: `13153`694 // Minimum execution time: 26_489_000 picoseconds.693 // Minimum execution time: 24_784_000 picoseconds.695 Weight::from_parts(27_103_000, 10183)694 Weight::from_parts(25_231_000, 13153)696 .saturating_add(RocksDbWeight::get().reads(4_u64))695 .saturating_add(RocksDbWeight::get().reads(4_u64))697 .saturating_add(RocksDbWeight::get().writes(4_u64))696 .saturating_add(RocksDbWeight::get().writes(4_u64))698 }697 }707 fn transfer_creating_removing() -> Weight {706 fn transfer_creating_removing() -> Weight {708 // Proof Size summary in bytes:707 // Proof Size summary in bytes:709 // Measured: `375`708 // Measured: `375`710 // Estimated: `12723`709 // Estimated: `15693`711 // Minimum execution time: 26_719_000 picoseconds.710 // Minimum execution time: 24_865_000 picoseconds.712 Weight::from_parts(27_038_000, 12723)711 Weight::from_parts(25_253_000, 15693)713 .saturating_add(RocksDbWeight::get().reads(5_u64))712 .saturating_add(RocksDbWeight::get().reads(5_u64))714 .saturating_add(RocksDbWeight::get().writes(6_u64))713 .saturating_add(RocksDbWeight::get().writes(6_u64))715 }714 }720 fn approve() -> Weight {719 fn approve() -> Weight {721 // Proof Size summary in bytes:720 // Proof Size summary in bytes:722 // Measured: `256`721 // Measured: `256`723 // Estimated: `2564`722 // Estimated: `3554`724 // Minimum execution time: 12_949_000 picoseconds.723 // Minimum execution time: 12_318_000 picoseconds.725 Weight::from_parts(13_181_000, 2564)724 Weight::from_parts(12_597_000, 3554)726 .saturating_add(RocksDbWeight::get().reads(1_u64))725 .saturating_add(RocksDbWeight::get().reads(1_u64))727 .saturating_add(RocksDbWeight::get().writes(1_u64))726 .saturating_add(RocksDbWeight::get().writes(1_u64))728 }727 }733 fn approve_from() -> Weight {732 fn approve_from() -> Weight {734 // Proof Size summary in bytes:733 // Proof Size summary in bytes:735 // Measured: `244`734 // Measured: `244`736 // Estimated: `2564`735 // Estimated: `3554`737 // Minimum execution time: 12_942_000 picoseconds.736 // Minimum execution time: 12_276_000 picoseconds.738 Weight::from_parts(13_268_000, 2564)737 Weight::from_parts(12_557_000, 3554)739 .saturating_add(RocksDbWeight::get().reads(1_u64))738 .saturating_add(RocksDbWeight::get().reads(1_u64))740 .saturating_add(RocksDbWeight::get().writes(1_u64))739 .saturating_add(RocksDbWeight::get().writes(1_u64))741 }740 }748 fn transfer_from_normal() -> Weight {747 fn transfer_from_normal() -> Weight {749 // Proof Size summary in bytes:748 // Proof Size summary in bytes:750 // Measured: `528`749 // Measured: `528`751 // Estimated: `10223`750 // Estimated: `13193`752 // Minimum execution time: 28_907_000 picoseconds.751 // Minimum execution time: 26_852_000 picoseconds.753 Weight::from_parts(29_487_000, 10223)752 Weight::from_parts(27_427_000, 13193)754 .saturating_add(RocksDbWeight::get().reads(4_u64))753 .saturating_add(RocksDbWeight::get().reads(4_u64))755 .saturating_add(RocksDbWeight::get().writes(3_u64))754 .saturating_add(RocksDbWeight::get().writes(3_u64))756 }755 }767 fn transfer_from_creating() -> Weight {766 fn transfer_from_creating() -> Weight {768 // Proof Size summary in bytes:767 // Proof Size summary in bytes:769 // Measured: `505`768 // Measured: `505`770 // Estimated: `12763`769 // Estimated: `16723`771 // Minimum execution time: 31_271_000 picoseconds.770 // Minimum execution time: 29_893_000 picoseconds.772 Weight::from_parts(32_293_000, 12763)771 Weight::from_parts(30_345_000, 16723)773 .saturating_add(RocksDbWeight::get().reads(5_u64))772 .saturating_add(RocksDbWeight::get().reads(5_u64))774 .saturating_add(RocksDbWeight::get().writes(5_u64))773 .saturating_add(RocksDbWeight::get().writes(5_u64))775 }774 }786 fn transfer_from_removing() -> Weight {785 fn transfer_from_removing() -> Weight {787 // Proof Size summary in bytes:786 // Proof Size summary in bytes:788 // Measured: `620`787 // Measured: `620`789 // Estimated: `12763`788 // Estimated: `16723`790 // Minimum execution time: 34_295_000 picoseconds.789 // Minimum execution time: 32_784_000 picoseconds.791 Weight::from_parts(34_924_000, 12763)790 Weight::from_parts(33_322_000, 16723)792 .saturating_add(RocksDbWeight::get().reads(5_u64))791 .saturating_add(RocksDbWeight::get().reads(5_u64))793 .saturating_add(RocksDbWeight::get().writes(5_u64))792 .saturating_add(RocksDbWeight::get().writes(5_u64))794 }793 }805 fn transfer_from_creating_removing() -> Weight {804 fn transfer_from_creating_removing() -> Weight {806 // Proof Size summary in bytes:805 // Proof Size summary in bytes:807 // Measured: `505`806 // Measured: `505`808 // Estimated: `15303`807 // Estimated: `19263`809 // Minimum execution time: 35_447_000 picoseconds.808 // Minimum execution time: 32_987_000 picoseconds.810 Weight::from_parts(35_896_000, 15303)809 Weight::from_parts(33_428_000, 19263)811 .saturating_add(RocksDbWeight::get().reads(6_u64))810 .saturating_add(RocksDbWeight::get().reads(6_u64))812 .saturating_add(RocksDbWeight::get().writes(7_u64))811 .saturating_add(RocksDbWeight::get().writes(7_u64))813 }812 }828 fn burn_from() -> Weight {827 fn burn_from() -> Weight {829 // Proof Size summary in bytes:828 // Proof Size summary in bytes:830 // Measured: `505`829 // Measured: `505`831 // Estimated: `12690`830 // Estimated: `17640`832 // Minimum execution time: 39_395_000 picoseconds.831 // Minimum execution time: 38_277_000 picoseconds.833 Weight::from_parts(40_119_000, 12690)832 Weight::from_parts(38_983_000, 17640)834 .saturating_add(RocksDbWeight::get().reads(5_u64))833 .saturating_add(RocksDbWeight::get().reads(5_u64))835 .saturating_add(RocksDbWeight::get().writes(7_u64))834 .saturating_add(RocksDbWeight::get().writes(7_u64))836 }835 }840 fn set_token_property_permissions(b: u32, ) -> Weight {839 fn set_token_property_permissions(b: u32, ) -> Weight {841 // Proof Size summary in bytes:840 // Proof Size summary in bytes:842 // Measured: `281`841 // Measured: `281`843 // Estimated: `19201`842 // Estimated: `20191`844 // Minimum execution time: 2_337_000 picoseconds.843 // Minimum execution time: 2_254_000 picoseconds.845 Weight::from_parts(2_434_000, 19201)844 Weight::from_parts(2_335_000, 20191)846 // Standard Error: 43_425845 // Standard Error: 44_906847 .saturating_add(Weight::from_parts(12_286_502, 0).saturating_mul(b.into()))846 .saturating_add(Weight::from_parts(12_118_499, 0).saturating_mul(b.into()))848 .saturating_add(RocksDbWeight::get().reads(1_u64))847 .saturating_add(RocksDbWeight::get().reads(1_u64))849 .saturating_add(RocksDbWeight::get().writes(1_u64))848 .saturating_add(RocksDbWeight::get().writes(1_u64))850 }849 }855 /// The range of component `b` is `[0, 64]`.854 /// The range of component `b` is `[0, 64]`.856 fn set_token_properties(b: u32, ) -> Weight {855 fn set_token_properties(b: u32, ) -> Weight {857 // Proof Size summary in bytes:856 // Proof Size summary in bytes:858 // Measured: `490 + b * (261 ±0)`857 // Measured: `458 + b * (261 ±0)`859 // Estimated: `54480`858 // Estimated: `56460`860 // Minimum execution time: 11_857_000 picoseconds.859 // Minimum execution time: 11_249_000 picoseconds.861 Weight::from_parts(12_007_000, 54480)860 Weight::from_parts(11_420_000, 56460)862 // Standard Error: 22_963861 // Standard Error: 72_033863 .saturating_add(Weight::from_parts(6_609_180, 0).saturating_mul(b.into()))862 .saturating_add(Weight::from_parts(7_008_012, 0).saturating_mul(b.into()))864 .saturating_add(RocksDbWeight::get().reads(2_u64))863 .saturating_add(RocksDbWeight::get().reads(2_u64))865 .saturating_add(RocksDbWeight::get().writes(1_u64))864 .saturating_add(RocksDbWeight::get().writes(1_u64))866 }865 }871 /// The range of component `b` is `[0, 64]`.870 /// The range of component `b` is `[0, 64]`.872 fn delete_token_properties(b: u32, ) -> Weight {871 fn delete_token_properties(b: u32, ) -> Weight {873 // Proof Size summary in bytes:872 // Proof Size summary in bytes:874 // Measured: `527 + b * (33291 ±0)`873 // Measured: `463 + b * (33291 ±0)`875 // Estimated: `54480`874 // Estimated: `56460`876 // Minimum execution time: 12_001_000 picoseconds.875 // Minimum execution time: 11_368_000 picoseconds.877 Weight::from_parts(12_197_000, 54480)876 Weight::from_parts(11_546_000, 56460)878 // Standard Error: 70_580877 // Standard Error: 85_444879 .saturating_add(Weight::from_parts(21_847_004, 0).saturating_mul(b.into()))878 .saturating_add(Weight::from_parts(24_644_980, 0).saturating_mul(b.into()))880 .saturating_add(RocksDbWeight::get().reads(2_u64))879 .saturating_add(RocksDbWeight::get().reads(2_u64))881 .saturating_add(RocksDbWeight::get().writes(1_u64))880 .saturating_add(RocksDbWeight::get().writes(1_u64))882 }881 }887 fn repartition_item() -> Weight {886 fn repartition_item() -> Weight {888 // Proof Size summary in bytes:887 // Proof Size summary in bytes:889 // Measured: `321`888 // Measured: `321`890 // Estimated: `5079`889 // Estimated: `7059`891 // Minimum execution time: 14_497_000 picoseconds.890 // Minimum execution time: 13_586_000 picoseconds.892 Weight::from_parts(14_825_000, 5079)891 Weight::from_parts(14_489_000, 7059)893 .saturating_add(RocksDbWeight::get().reads(2_u64))892 .saturating_add(RocksDbWeight::get().reads(2_u64))894 .saturating_add(RocksDbWeight::get().writes(2_u64))893 .saturating_add(RocksDbWeight::get().writes(2_u64))895 }894 }898 fn token_owner() -> Weight {897 fn token_owner() -> Weight {899 // Proof Size summary in bytes:898 // Proof Size summary in bytes:900 // Measured: `321`899 // Measured: `321`901 // Estimated: `5128`900 // Estimated: `6118`902 // Minimum execution time: 8_888_000 picoseconds.901 // Minimum execution time: 7_049_000 picoseconds.903 Weight::from_parts(9_373_000, 5128)902 Weight::from_parts(7_320_000, 6118)904 .saturating_add(RocksDbWeight::get().reads(2_u64))903 .saturating_add(RocksDbWeight::get().reads(2_u64))905 }904 }906 /// Storage: Refungible CollectionAllowance (r:0 w:1)905 /// Storage: Refungible CollectionAllowance (r:0 w:1)909 // Proof Size summary in bytes:908 // Proof Size summary in bytes:910 // Measured: `0`909 // Measured: `0`911 // Estimated: `0`910 // Estimated: `0`912 // Minimum execution time: 7_042_000 picoseconds.911 // Minimum execution time: 6_432_000 picoseconds.913 Weight::from_parts(7_245_000, 0)912 Weight::from_parts(6_642_000, 0)914 .saturating_add(RocksDbWeight::get().writes(1_u64))913 .saturating_add(RocksDbWeight::get().writes(1_u64))915 }914 }916 /// Storage: Refungible CollectionAllowance (r:1 w:0)915 /// Storage: Refungible CollectionAllowance (r:1 w:0)917 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)916 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)918 fn allowance_for_all() -> Weight {917 fn allowance_for_all() -> Weight {919 // Proof Size summary in bytes:918 // Proof Size summary in bytes:920 // Measured: `4`919 // Measured: `4`921 // Estimated: `2586`920 // Estimated: `3576`922 // Minimum execution time: 3_425_000 picoseconds.921 // Minimum execution time: 3_030_000 picoseconds.923 Weight::from_parts(3_554_000, 2586)922 Weight::from_parts(3_206_000, 3576)924 .saturating_add(RocksDbWeight::get().reads(1_u64))923 .saturating_add(RocksDbWeight::get().reads(1_u64))925 }924 }926 /// Storage: Refungible TokenProperties (r:1 w:1)925 /// Storage: Refungible TokenProperties (r:1 w:1)927 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)926 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)928 fn repair_item() -> Weight {927 fn repair_item() -> Weight {929 // Proof Size summary in bytes:928 // Proof Size summary in bytes:930 // Measured: `174`929 // Measured: `174`931 // Estimated: `35279`930 // Estimated: `36269`932 // Minimum execution time: 4_684_000 picoseconds.931 // Minimum execution time: 4_371_000 picoseconds.933 Weight::from_parts(4_805_000, 35279)932 Weight::from_parts(4_555_000, 36269)934 .saturating_add(RocksDbWeight::get().reads(1_u64))933 .saturating_add(RocksDbWeight::get().reads(1_u64))935 .saturating_add(RocksDbWeight::get().writes(1_u64))934 .saturating_add(RocksDbWeight::get().writes(1_u64))936 }935 }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))
}