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.rsdiffbeforeafterboth3//! Autogenerated weights for pallet_nonfungible3//! Autogenerated weights for pallet_nonfungible4//!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;72 fn create_item() -> Weight {71 fn create_item() -> Weight {73 // Proof Size summary in bytes:72 // Proof Size summary in bytes:74 // Measured: `390`73 // Measured: `390`75 // Estimated: `59511`74 // Estimated: `63471`76 // Minimum execution time: 23_081_000 picoseconds.75 // Minimum execution time: 25_892_000 picoseconds.77 Weight::from_parts(23_551_000, 59511)76 Weight::from_parts(26_424_000, 63471)78 .saturating_add(T::DbWeight::get().reads(4_u64))77 .saturating_add(T::DbWeight::get().reads(4_u64))79 .saturating_add(T::DbWeight::get().writes(5_u64))78 .saturating_add(T::DbWeight::get().writes(5_u64))80 }79 }94 fn create_multiple_items(b: u32, ) -> Weight {93 fn create_multiple_items(b: u32, ) -> Weight {95 // Proof Size summary in bytes:94 // Proof Size summary in bytes:96 // Measured: `390`95 // Measured: `390`97 // Estimated: `24232 + b * (35279 ±0)`96 // Estimated: `28192 + b * (35279 ±0)`98 // Minimum execution time: 4_557_000 picoseconds.97 // Minimum execution time: 4_612_000 picoseconds.99 Weight::from_parts(5_994_058, 24232)98 Weight::from_parts(6_399_460, 28192)100 // Standard Error: 4_32699 // Standard Error: 5_119101 .saturating_add(Weight::from_parts(7_369_489, 0).saturating_mul(b.into()))100 .saturating_add(Weight::from_parts(7_230_389, 0).saturating_mul(b.into()))102 .saturating_add(T::DbWeight::get().reads(3_u64))101 .saturating_add(T::DbWeight::get().reads(3_u64))103 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))102 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))104 .saturating_add(T::DbWeight::get().writes(2_u64))103 .saturating_add(T::DbWeight::get().writes(2_u64))121 fn create_multiple_items_ex(b: u32, ) -> Weight {120 fn create_multiple_items_ex(b: u32, ) -> Weight {122 // Proof Size summary in bytes:121 // Proof Size summary in bytes:123 // Measured: `390`122 // Measured: `390`124 // Estimated: `21692 + b * (37819 ±0)`123 // Estimated: `25652 + b * (37819 ±0)`125 // Minimum execution time: 4_533_000 picoseconds.124 // Minimum execution time: 4_538_000 picoseconds.126 Weight::from_parts(2_822_660, 21692)125 Weight::from_parts(4_686_000, 25652)127 // Standard Error: 3_650126 // Standard Error: 3_518128 .saturating_add(Weight::from_parts(9_100_706, 0).saturating_mul(b.into()))127 .saturating_add(Weight::from_parts(8_905_771, 0).saturating_mul(b.into()))129 .saturating_add(T::DbWeight::get().reads(2_u64))128 .saturating_add(T::DbWeight::get().reads(2_u64))130 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))129 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))131 .saturating_add(T::DbWeight::get().writes(1_u64))130 .saturating_add(T::DbWeight::get().writes(1_u64))148 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)147 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)149 fn burn_item() -> Weight {148 fn burn_item() -> Weight {150 // Proof Size summary in bytes:149 // Proof Size summary in bytes:151 // Measured: `412`150 // Measured: `380`152 // Estimated: `12611`151 // Estimated: `17561`153 // Minimum execution time: 23_528_000 picoseconds.152 // Minimum execution time: 24_230_000 picoseconds.154 Weight::from_parts(24_680_000, 12611)153 Weight::from_parts(24_672_000, 17561)155 .saturating_add(T::DbWeight::get().reads(5_u64))154 .saturating_add(T::DbWeight::get().reads(5_u64))156 .saturating_add(T::DbWeight::get().writes(5_u64))155 .saturating_add(T::DbWeight::get().writes(5_u64))157 }156 }171 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)170 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)172 fn burn_recursively_self_raw() -> Weight {171 fn burn_recursively_self_raw() -> Weight {173 // Proof Size summary in bytes:172 // Proof Size summary in bytes:174 // Measured: `412`173 // Measured: `380`175 // Estimated: `12611`174 // Estimated: `17561`176 // Minimum execution time: 29_770_000 picoseconds.175 // Minimum execution time: 30_521_000 picoseconds.177 Weight::from_parts(30_114_000, 12611)176 Weight::from_parts(31_241_000, 17561)178 .saturating_add(T::DbWeight::get().reads(5_u64))177 .saturating_add(T::DbWeight::get().reads(5_u64))179 .saturating_add(T::DbWeight::get().writes(5_u64))178 .saturating_add(T::DbWeight::get().writes(5_u64))180 }179 }197 /// The range of component `b` is `[0, 200]`.196 /// The range of component `b` is `[0, 200]`.198 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {197 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {199 // Proof Size summary in bytes:198 // Proof Size summary in bytes:200 // Measured: `1530 + b * (58 ±0)`199 // Measured: `1467 + b * (58 ±0)`201 // Estimated: `18290 + b * (10097 ±0)`200 // Estimated: `24230 + b * (10097 ±0)`202 // Minimum execution time: 31_413_000 picoseconds.201 // Minimum execution time: 31_734_000 picoseconds.203 Weight::from_parts(31_865_000, 18290)202 Weight::from_parts(32_162_000, 24230)204 // Standard Error: 980_032203 // Standard Error: 210_514205 .saturating_add(Weight::from_parts(205_236_443, 0).saturating_mul(b.into()))204 .saturating_add(Weight::from_parts(71_382_804, 0).saturating_mul(b.into()))206 .saturating_add(T::DbWeight::get().reads(7_u64))205 .saturating_add(T::DbWeight::get().reads(7_u64))207 .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(b.into())))206 .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(b.into())))208 .saturating_add(T::DbWeight::get().writes(6_u64))207 .saturating_add(T::DbWeight::get().writes(6_u64))219 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)218 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)220 fn transfer_raw() -> Weight {219 fn transfer_raw() -> Weight {221 // Proof Size summary in bytes:220 // Proof Size summary in bytes:222 // Measured: `412`221 // Measured: `380`223 // Estimated: `10144`222 // Estimated: `13114`224 // Minimum execution time: 9_307_000 picoseconds.223 // Minimum execution time: 18_305_000 picoseconds.225 Weight::from_parts(10_108_000, 10144)224 Weight::from_parts(18_859_000, 13114)226 .saturating_add(T::DbWeight::get().reads(4_u64))225 .saturating_add(T::DbWeight::get().reads(4_u64))227 .saturating_add(T::DbWeight::get().writes(5_u64))226 .saturating_add(T::DbWeight::get().writes(5_u64))228 }227 }232 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)231 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)233 fn approve() -> Weight {232 fn approve() -> Weight {234 // Proof Size summary in bytes:233 // Proof Size summary in bytes:235 // Measured: `358`234 // Measured: `326`236 // Estimated: `5064`235 // Estimated: `7044`237 // Minimum execution time: 11_507_000 picoseconds.236 // Minimum execution time: 10_977_000 picoseconds.238 Weight::from_parts(11_771_000, 5064)237 Weight::from_parts(11_184_000, 7044)239 .saturating_add(T::DbWeight::get().reads(2_u64))238 .saturating_add(T::DbWeight::get().reads(2_u64))240 .saturating_add(T::DbWeight::get().writes(1_u64))239 .saturating_add(T::DbWeight::get().writes(1_u64))241 }240 }246 fn approve_from() -> Weight {245 fn approve_from() -> Weight {247 // Proof Size summary in bytes:246 // Proof Size summary in bytes:248 // Measured: `313`247 // Measured: `313`249 // Estimated: `5064`248 // Estimated: `7044`250 // Minimum execution time: 11_558_000 picoseconds.249 // Minimum execution time: 11_456_000 picoseconds.251 Weight::from_parts(11_789_000, 5064)250 Weight::from_parts(11_731_000, 7044)252 .saturating_add(T::DbWeight::get().reads(2_u64))251 .saturating_add(T::DbWeight::get().reads(2_u64))253 .saturating_add(T::DbWeight::get().writes(1_u64))252 .saturating_add(T::DbWeight::get().writes(1_u64))254 }253 }255 /// Storage: Nonfungible Allowance (r:1 w:0)254 /// Storage: Nonfungible Allowance (r:1 w:0)256 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)255 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)257 fn check_allowed_raw() -> Weight {256 fn check_allowed_raw() -> Weight {258 // Proof Size summary in bytes:257 // Proof Size summary in bytes:259 // Measured: `394`258 // Measured: `362`260 // Estimated: `2532`259 // Estimated: `3522`261 // Minimum execution time: 2_668_000 picoseconds.260 // Minimum execution time: 5_771_000 picoseconds.262 Weight::from_parts(2_877_000, 2532)261 Weight::from_parts(5_972_000, 3522)263 .saturating_add(T::DbWeight::get().reads(1_u64))262 .saturating_add(T::DbWeight::get().reads(1_u64))264 }263 }265 /// Storage: Nonfungible Allowance (r:1 w:1)264 /// Storage: Nonfungible Allowance (r:1 w:1)278 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)277 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)279 fn burn_from() -> Weight {278 fn burn_from() -> Weight {280 // Proof Size summary in bytes:279 // Proof Size summary in bytes:281 // Measured: `527`280 // Measured: `463`282 // Estimated: `12611`281 // Estimated: `17561`283 // Minimum execution time: 30_713_000 picoseconds.282 // Minimum execution time: 30_633_000 picoseconds.284 Weight::from_parts(31_160_000, 12611)283 Weight::from_parts(31_136_000, 17561)285 .saturating_add(T::DbWeight::get().reads(5_u64))284 .saturating_add(T::DbWeight::get().reads(5_u64))286 .saturating_add(T::DbWeight::get().writes(6_u64))285 .saturating_add(T::DbWeight::get().writes(6_u64))287 }286 }291 fn set_token_property_permissions(b: u32, ) -> Weight {290 fn set_token_property_permissions(b: u32, ) -> Weight {292 // Proof Size summary in bytes:291 // Proof Size summary in bytes:293 // Measured: `281`292 // Measured: `281`294 // Estimated: `19201`293 // Estimated: `20191`295 // Minimum execution time: 2_360_000 picoseconds.294 // Minimum execution time: 2_300_000 picoseconds.296 Weight::from_parts(2_396_000, 19201)295 Weight::from_parts(2_382_000, 20191)297 // Standard Error: 43_257296 // Standard Error: 45_076298 .saturating_add(Weight::from_parts(12_085_808, 0).saturating_mul(b.into()))297 .saturating_add(Weight::from_parts(12_000_777, 0).saturating_mul(b.into()))299 .saturating_add(T::DbWeight::get().reads(1_u64))298 .saturating_add(T::DbWeight::get().reads(1_u64))300 .saturating_add(T::DbWeight::get().writes(1_u64))299 .saturating_add(T::DbWeight::get().writes(1_u64))301 }300 }306 /// The range of component `b` is `[0, 64]`.305 /// The range of component `b` is `[0, 64]`.307 fn set_token_properties(b: u32, ) -> Weight {306 fn set_token_properties(b: u32, ) -> Weight {308 // Proof Size summary in bytes:307 // Proof Size summary in bytes:309 // Measured: `616 + b * (261 ±0)`308 // Measured: `584 + b * (261 ±0)`310 // Estimated: `54480`309 // Estimated: `56460`311 // Minimum execution time: 12_543_000 picoseconds.310 // Minimum execution time: 12_422_000 picoseconds.312 Weight::from_parts(12_686_000, 54480)311 Weight::from_parts(5_523_689, 56460)313 // Standard Error: 52_286312 // Standard Error: 74_137314 .saturating_add(Weight::from_parts(6_894_785, 0).saturating_mul(b.into()))313 .saturating_add(Weight::from_parts(6_320_501, 0).saturating_mul(b.into()))315 .saturating_add(T::DbWeight::get().reads(2_u64))314 .saturating_add(T::DbWeight::get().reads(2_u64))316 .saturating_add(T::DbWeight::get().writes(1_u64))315 .saturating_add(T::DbWeight::get().writes(1_u64))317 }316 }322 /// The range of component `b` is `[0, 64]`.321 /// The range of component `b` is `[0, 64]`.323 fn delete_token_properties(b: u32, ) -> Weight {322 fn delete_token_properties(b: u32, ) -> Weight {324 // Proof Size summary in bytes:323 // Proof Size summary in bytes:325 // Measured: `653 + b * (33291 ±0)`324 // Measured: `589 + b * (33291 ±0)`326 // Estimated: `54480`325 // Estimated: `56460`327 // Minimum execution time: 12_352_000 picoseconds.326 // Minimum execution time: 12_006_000 picoseconds.328 Weight::from_parts(12_523_000, 54480)327 Weight::from_parts(12_216_000, 56460)329 // Standard Error: 70_401328 // Standard Error: 83_431330 .saturating_add(Weight::from_parts(21_959_228, 0).saturating_mul(b.into()))329 .saturating_add(Weight::from_parts(24_556_999, 0).saturating_mul(b.into()))331 .saturating_add(T::DbWeight::get().reads(2_u64))330 .saturating_add(T::DbWeight::get().reads(2_u64))332 .saturating_add(T::DbWeight::get().writes(1_u64))331 .saturating_add(T::DbWeight::get().writes(1_u64))333 }332 }334 /// Storage: Nonfungible TokenData (r:1 w:0)333 /// Storage: Nonfungible TokenData (r:1 w:0)335 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)334 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)336 fn token_owner() -> Weight {335 fn token_owner() -> Weight {337 // Proof Size summary in bytes:336 // Proof Size summary in bytes:338 // Measured: `358`337 // Measured: `326`339 // Estimated: `2532`338 // Estimated: `3522`340 // Minimum execution time: 4_797_000 picoseconds.339 // Minimum execution time: 4_827_000 picoseconds.341 Weight::from_parts(5_499_000, 2532)340 Weight::from_parts(4_984_000, 3522)342 .saturating_add(T::DbWeight::get().reads(1_u64))341 .saturating_add(T::DbWeight::get().reads(1_u64))343 }342 }344 /// Storage: Nonfungible CollectionAllowance (r:0 w:1)343 /// Storage: Nonfungible CollectionAllowance (r:0 w:1)347 // Proof Size summary in bytes:346 // Proof Size summary in bytes:348 // Measured: `0`347 // Measured: `0`349 // Estimated: `0`348 // Estimated: `0`350 // Minimum execution time: 6_303_000 picoseconds.349 // Minimum execution time: 6_151_000 picoseconds.351 Weight::from_parts(6_712_000, 0)350 Weight::from_parts(6_394_000, 0)352 .saturating_add(T::DbWeight::get().writes(1_u64))351 .saturating_add(T::DbWeight::get().writes(1_u64))353 }352 }354 /// Storage: Nonfungible CollectionAllowance (r:1 w:0)353 /// Storage: Nonfungible CollectionAllowance (r:1 w:0)355 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)354 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)356 fn allowance_for_all() -> Weight {355 fn allowance_for_all() -> Weight {357 // Proof Size summary in bytes:356 // Proof Size summary in bytes:358 // Measured: `109`357 // Measured: `109`359 // Estimated: `2586`358 // Estimated: `3576`360 // Minimum execution time: 3_798_000 picoseconds.359 // Minimum execution time: 3_791_000 picoseconds.361 Weight::from_parts(4_017_000, 2586)360 Weight::from_parts(3_950_000, 3576)362 .saturating_add(T::DbWeight::get().reads(1_u64))361 .saturating_add(T::DbWeight::get().reads(1_u64))363 }362 }364 /// Storage: Nonfungible TokenProperties (r:1 w:1)363 /// Storage: Nonfungible TokenProperties (r:1 w:1)365 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)364 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)366 fn repair_item() -> Weight {365 fn repair_item() -> Weight {367 // Proof Size summary in bytes:366 // Proof Size summary in bytes:368 // Measured: `300`367 // Measured: `300`369 // Estimated: `35279`368 // Estimated: `36269`370 // Minimum execution time: 5_531_000 picoseconds.369 // Minimum execution time: 5_364_000 picoseconds.371 Weight::from_parts(5_750_000, 35279)370 Weight::from_parts(5_539_000, 36269)372 .saturating_add(T::DbWeight::get().reads(1_u64))371 .saturating_add(T::DbWeight::get().reads(1_u64))373 .saturating_add(T::DbWeight::get().writes(1_u64))372 .saturating_add(T::DbWeight::get().writes(1_u64))374 }373 }391 fn create_item() -> Weight {390 fn create_item() -> Weight {392 // Proof Size summary in bytes:391 // Proof Size summary in bytes:393 // Measured: `390`392 // Measured: `390`394 // Estimated: `59511`393 // Estimated: `63471`395 // Minimum execution time: 23_081_000 picoseconds.394 // Minimum execution time: 25_892_000 picoseconds.396 Weight::from_parts(23_551_000, 59511)395 Weight::from_parts(26_424_000, 63471)397 .saturating_add(RocksDbWeight::get().reads(4_u64))396 .saturating_add(RocksDbWeight::get().reads(4_u64))398 .saturating_add(RocksDbWeight::get().writes(5_u64))397 .saturating_add(RocksDbWeight::get().writes(5_u64))399 }398 }413 fn create_multiple_items(b: u32, ) -> Weight {412 fn create_multiple_items(b: u32, ) -> Weight {414 // Proof Size summary in bytes:413 // Proof Size summary in bytes:415 // Measured: `390`414 // Measured: `390`416 // Estimated: `24232 + b * (35279 ±0)`415 // Estimated: `28192 + b * (35279 ±0)`417 // Minimum execution time: 4_557_000 picoseconds.416 // Minimum execution time: 4_612_000 picoseconds.418 Weight::from_parts(5_994_058, 24232)417 Weight::from_parts(6_399_460, 28192)419 // Standard Error: 4_326418 // Standard Error: 5_119420 .saturating_add(Weight::from_parts(7_369_489, 0).saturating_mul(b.into()))419 .saturating_add(Weight::from_parts(7_230_389, 0).saturating_mul(b.into()))421 .saturating_add(RocksDbWeight::get().reads(3_u64))420 .saturating_add(RocksDbWeight::get().reads(3_u64))422 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))421 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))423 .saturating_add(RocksDbWeight::get().writes(2_u64))422 .saturating_add(RocksDbWeight::get().writes(2_u64))440 fn create_multiple_items_ex(b: u32, ) -> Weight {439 fn create_multiple_items_ex(b: u32, ) -> Weight {441 // Proof Size summary in bytes:440 // Proof Size summary in bytes:442 // Measured: `390`441 // Measured: `390`443 // Estimated: `21692 + b * (37819 ±0)`442 // Estimated: `25652 + b * (37819 ±0)`444 // Minimum execution time: 4_533_000 picoseconds.443 // Minimum execution time: 4_538_000 picoseconds.445 Weight::from_parts(2_822_660, 21692)444 Weight::from_parts(4_686_000, 25652)446 // Standard Error: 3_650445 // Standard Error: 3_518447 .saturating_add(Weight::from_parts(9_100_706, 0).saturating_mul(b.into()))446 .saturating_add(Weight::from_parts(8_905_771, 0).saturating_mul(b.into()))448 .saturating_add(RocksDbWeight::get().reads(2_u64))447 .saturating_add(RocksDbWeight::get().reads(2_u64))449 .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))448 .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))450 .saturating_add(RocksDbWeight::get().writes(1_u64))449 .saturating_add(RocksDbWeight::get().writes(1_u64))467 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)466 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)468 fn burn_item() -> Weight {467 fn burn_item() -> Weight {469 // Proof Size summary in bytes:468 // Proof Size summary in bytes:470 // Measured: `412`469 // Measured: `380`471 // Estimated: `12611`470 // Estimated: `17561`472 // Minimum execution time: 23_528_000 picoseconds.471 // Minimum execution time: 24_230_000 picoseconds.473 Weight::from_parts(24_680_000, 12611)472 Weight::from_parts(24_672_000, 17561)474 .saturating_add(RocksDbWeight::get().reads(5_u64))473 .saturating_add(RocksDbWeight::get().reads(5_u64))475 .saturating_add(RocksDbWeight::get().writes(5_u64))474 .saturating_add(RocksDbWeight::get().writes(5_u64))476 }475 }490 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)489 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)491 fn burn_recursively_self_raw() -> Weight {490 fn burn_recursively_self_raw() -> Weight {492 // Proof Size summary in bytes:491 // Proof Size summary in bytes:493 // Measured: `412`492 // Measured: `380`494 // Estimated: `12611`493 // Estimated: `17561`495 // Minimum execution time: 29_770_000 picoseconds.494 // Minimum execution time: 30_521_000 picoseconds.496 Weight::from_parts(30_114_000, 12611)495 Weight::from_parts(31_241_000, 17561)497 .saturating_add(RocksDbWeight::get().reads(5_u64))496 .saturating_add(RocksDbWeight::get().reads(5_u64))498 .saturating_add(RocksDbWeight::get().writes(5_u64))497 .saturating_add(RocksDbWeight::get().writes(5_u64))499 }498 }516 /// The range of component `b` is `[0, 200]`.515 /// The range of component `b` is `[0, 200]`.517 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {516 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {518 // Proof Size summary in bytes:517 // Proof Size summary in bytes:519 // Measured: `1530 + b * (58 ±0)`518 // Measured: `1467 + b * (58 ±0)`520 // Estimated: `18290 + b * (10097 ±0)`519 // Estimated: `24230 + b * (10097 ±0)`521 // Minimum execution time: 31_413_000 picoseconds.520 // Minimum execution time: 31_734_000 picoseconds.522 Weight::from_parts(31_865_000, 18290)521 Weight::from_parts(32_162_000, 24230)523 // Standard Error: 980_032522 // Standard Error: 210_514524 .saturating_add(Weight::from_parts(205_236_443, 0).saturating_mul(b.into()))523 .saturating_add(Weight::from_parts(71_382_804, 0).saturating_mul(b.into()))525 .saturating_add(RocksDbWeight::get().reads(7_u64))524 .saturating_add(RocksDbWeight::get().reads(7_u64))526 .saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(b.into())))525 .saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(b.into())))527 .saturating_add(RocksDbWeight::get().writes(6_u64))526 .saturating_add(RocksDbWeight::get().writes(6_u64))538 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)537 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)539 fn transfer_raw() -> Weight {538 fn transfer_raw() -> Weight {540 // Proof Size summary in bytes:539 // Proof Size summary in bytes:541 // Measured: `412`540 // Measured: `380`542 // Estimated: `10144`541 // Estimated: `13114`543 // Minimum execution time: 9_307_000 picoseconds.542 // Minimum execution time: 18_305_000 picoseconds.544 Weight::from_parts(10_108_000, 10144)543 Weight::from_parts(18_859_000, 13114)545 .saturating_add(RocksDbWeight::get().reads(4_u64))544 .saturating_add(RocksDbWeight::get().reads(4_u64))546 .saturating_add(RocksDbWeight::get().writes(5_u64))545 .saturating_add(RocksDbWeight::get().writes(5_u64))547 }546 }551 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)550 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)552 fn approve() -> Weight {551 fn approve() -> Weight {553 // Proof Size summary in bytes:552 // Proof Size summary in bytes:554 // Measured: `358`553 // Measured: `326`555 // Estimated: `5064`554 // Estimated: `7044`556 // Minimum execution time: 11_507_000 picoseconds.555 // Minimum execution time: 10_977_000 picoseconds.557 Weight::from_parts(11_771_000, 5064)556 Weight::from_parts(11_184_000, 7044)558 .saturating_add(RocksDbWeight::get().reads(2_u64))557 .saturating_add(RocksDbWeight::get().reads(2_u64))559 .saturating_add(RocksDbWeight::get().writes(1_u64))558 .saturating_add(RocksDbWeight::get().writes(1_u64))560 }559 }565 fn approve_from() -> Weight {564 fn approve_from() -> Weight {566 // Proof Size summary in bytes:565 // Proof Size summary in bytes:567 // Measured: `313`566 // Measured: `313`568 // Estimated: `5064`567 // Estimated: `7044`569 // Minimum execution time: 11_558_000 picoseconds.568 // Minimum execution time: 11_456_000 picoseconds.570 Weight::from_parts(11_789_000, 5064)569 Weight::from_parts(11_731_000, 7044)571 .saturating_add(RocksDbWeight::get().reads(2_u64))570 .saturating_add(RocksDbWeight::get().reads(2_u64))572 .saturating_add(RocksDbWeight::get().writes(1_u64))571 .saturating_add(RocksDbWeight::get().writes(1_u64))573 }572 }574 /// Storage: Nonfungible Allowance (r:1 w:0)573 /// Storage: Nonfungible Allowance (r:1 w:0)575 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)574 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)576 fn check_allowed_raw() -> Weight {575 fn check_allowed_raw() -> Weight {577 // Proof Size summary in bytes:576 // Proof Size summary in bytes:578 // Measured: `394`577 // Measured: `362`579 // Estimated: `2532`578 // Estimated: `3522`580 // Minimum execution time: 2_668_000 picoseconds.579 // Minimum execution time: 5_771_000 picoseconds.581 Weight::from_parts(2_877_000, 2532)580 Weight::from_parts(5_972_000, 3522)582 .saturating_add(RocksDbWeight::get().reads(1_u64))581 .saturating_add(RocksDbWeight::get().reads(1_u64))583 }582 }584 /// Storage: Nonfungible Allowance (r:1 w:1)583 /// Storage: Nonfungible Allowance (r:1 w:1)597 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)596 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)598 fn burn_from() -> Weight {597 fn burn_from() -> Weight {599 // Proof Size summary in bytes:598 // Proof Size summary in bytes:600 // Measured: `527`599 // Measured: `463`601 // Estimated: `12611`600 // Estimated: `17561`602 // Minimum execution time: 30_713_000 picoseconds.601 // Minimum execution time: 30_633_000 picoseconds.603 Weight::from_parts(31_160_000, 12611)602 Weight::from_parts(31_136_000, 17561)604 .saturating_add(RocksDbWeight::get().reads(5_u64))603 .saturating_add(RocksDbWeight::get().reads(5_u64))605 .saturating_add(RocksDbWeight::get().writes(6_u64))604 .saturating_add(RocksDbWeight::get().writes(6_u64))606 }605 }610 fn set_token_property_permissions(b: u32, ) -> Weight {609 fn set_token_property_permissions(b: u32, ) -> Weight {611 // Proof Size summary in bytes:610 // Proof Size summary in bytes:612 // Measured: `281`611 // Measured: `281`613 // Estimated: `19201`612 // Estimated: `20191`614 // Minimum execution time: 2_360_000 picoseconds.613 // Minimum execution time: 2_300_000 picoseconds.615 Weight::from_parts(2_396_000, 19201)614 Weight::from_parts(2_382_000, 20191)616 // Standard Error: 43_257615 // Standard Error: 45_076617 .saturating_add(Weight::from_parts(12_085_808, 0).saturating_mul(b.into()))616 .saturating_add(Weight::from_parts(12_000_777, 0).saturating_mul(b.into()))618 .saturating_add(RocksDbWeight::get().reads(1_u64))617 .saturating_add(RocksDbWeight::get().reads(1_u64))619 .saturating_add(RocksDbWeight::get().writes(1_u64))618 .saturating_add(RocksDbWeight::get().writes(1_u64))620 }619 }625 /// The range of component `b` is `[0, 64]`.624 /// The range of component `b` is `[0, 64]`.626 fn set_token_properties(b: u32, ) -> Weight {625 fn set_token_properties(b: u32, ) -> Weight {627 // Proof Size summary in bytes:626 // Proof Size summary in bytes:628 // Measured: `616 + b * (261 ±0)`627 // Measured: `584 + b * (261 ±0)`629 // Estimated: `54480`628 // Estimated: `56460`630 // Minimum execution time: 12_543_000 picoseconds.629 // Minimum execution time: 12_422_000 picoseconds.631 Weight::from_parts(12_686_000, 54480)630 Weight::from_parts(5_523_689, 56460)632 // Standard Error: 52_286631 // Standard Error: 74_137633 .saturating_add(Weight::from_parts(6_894_785, 0).saturating_mul(b.into()))632 .saturating_add(Weight::from_parts(6_320_501, 0).saturating_mul(b.into()))634 .saturating_add(RocksDbWeight::get().reads(2_u64))633 .saturating_add(RocksDbWeight::get().reads(2_u64))635 .saturating_add(RocksDbWeight::get().writes(1_u64))634 .saturating_add(RocksDbWeight::get().writes(1_u64))636 }635 }641 /// The range of component `b` is `[0, 64]`.640 /// The range of component `b` is `[0, 64]`.642 fn delete_token_properties(b: u32, ) -> Weight {641 fn delete_token_properties(b: u32, ) -> Weight {643 // Proof Size summary in bytes:642 // Proof Size summary in bytes:644 // Measured: `653 + b * (33291 ±0)`643 // Measured: `589 + b * (33291 ±0)`645 // Estimated: `54480`644 // Estimated: `56460`646 // Minimum execution time: 12_352_000 picoseconds.645 // Minimum execution time: 12_006_000 picoseconds.647 Weight::from_parts(12_523_000, 54480)646 Weight::from_parts(12_216_000, 56460)648 // Standard Error: 70_401647 // Standard Error: 83_431649 .saturating_add(Weight::from_parts(21_959_228, 0).saturating_mul(b.into()))648 .saturating_add(Weight::from_parts(24_556_999, 0).saturating_mul(b.into()))650 .saturating_add(RocksDbWeight::get().reads(2_u64))649 .saturating_add(RocksDbWeight::get().reads(2_u64))651 .saturating_add(RocksDbWeight::get().writes(1_u64))650 .saturating_add(RocksDbWeight::get().writes(1_u64))652 }651 }653 /// Storage: Nonfungible TokenData (r:1 w:0)652 /// Storage: Nonfungible TokenData (r:1 w:0)654 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)653 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)655 fn token_owner() -> Weight {654 fn token_owner() -> Weight {656 // Proof Size summary in bytes:655 // Proof Size summary in bytes:657 // Measured: `358`656 // Measured: `326`658 // Estimated: `2532`657 // Estimated: `3522`659 // Minimum execution time: 4_797_000 picoseconds.658 // Minimum execution time: 4_827_000 picoseconds.660 Weight::from_parts(5_499_000, 2532)659 Weight::from_parts(4_984_000, 3522)661 .saturating_add(RocksDbWeight::get().reads(1_u64))660 .saturating_add(RocksDbWeight::get().reads(1_u64))662 }661 }663 /// Storage: Nonfungible CollectionAllowance (r:0 w:1)662 /// Storage: Nonfungible CollectionAllowance (r:0 w:1)666 // Proof Size summary in bytes:665 // Proof Size summary in bytes:667 // Measured: `0`666 // Measured: `0`668 // Estimated: `0`667 // Estimated: `0`669 // Minimum execution time: 6_303_000 picoseconds.668 // Minimum execution time: 6_151_000 picoseconds.670 Weight::from_parts(6_712_000, 0)669 Weight::from_parts(6_394_000, 0)671 .saturating_add(RocksDbWeight::get().writes(1_u64))670 .saturating_add(RocksDbWeight::get().writes(1_u64))672 }671 }673 /// Storage: Nonfungible CollectionAllowance (r:1 w:0)672 /// Storage: Nonfungible CollectionAllowance (r:1 w:0)674 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)673 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)675 fn allowance_for_all() -> Weight {674 fn allowance_for_all() -> Weight {676 // Proof Size summary in bytes:675 // Proof Size summary in bytes:677 // Measured: `109`676 // Measured: `109`678 // Estimated: `2586`677 // Estimated: `3576`679 // Minimum execution time: 3_798_000 picoseconds.678 // Minimum execution time: 3_791_000 picoseconds.680 Weight::from_parts(4_017_000, 2586)679 Weight::from_parts(3_950_000, 3576)681 .saturating_add(RocksDbWeight::get().reads(1_u64))680 .saturating_add(RocksDbWeight::get().reads(1_u64))682 }681 }683 /// Storage: Nonfungible TokenProperties (r:1 w:1)682 /// Storage: Nonfungible TokenProperties (r:1 w:1)684 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)683 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)685 fn repair_item() -> Weight {684 fn repair_item() -> Weight {686 // Proof Size summary in bytes:685 // Proof Size summary in bytes:687 // Measured: `300`686 // Measured: `300`688 // Estimated: `35279`687 // Estimated: `36269`689 // Minimum execution time: 5_531_000 picoseconds.688 // Minimum execution time: 5_364_000 picoseconds.690 Weight::from_parts(5_750_000, 35279)689 Weight::from_parts(5_539_000, 36269)691 .saturating_add(RocksDbWeight::get().reads(1_u64))690 .saturating_add(RocksDbWeight::get().reads(1_u64))692 .saturating_add(RocksDbWeight::get().writes(1_u64))691 .saturating_add(RocksDbWeight::get().writes(1_u64))693 }692 }pallets/refungible/src/weights.rsdiffbeforeafterboth--- a/pallets/refungible/src/weights.rs
+++ b/pallets/refungible/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_refungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -81,9 +80,9 @@
fn create_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `285`
- // Estimated: `59511`
- // Minimum execution time: 25_287_000 picoseconds.
- Weight::from_parts(25_741_000, 59511)
+ // Estimated: `63471`
+ // Minimum execution time: 30_759_000 picoseconds.
+ Weight::from_parts(31_321_000, 63471)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -105,11 +104,11 @@
fn create_multiple_items(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `285`
- // Estimated: `24232 + b * (35279 ±0)`
- // Minimum execution time: 4_618_000 picoseconds.
- Weight::from_parts(1_425_218, 24232)
- // Standard Error: 4_343
- .saturating_add(Weight::from_parts(9_154_733, 0).saturating_mul(b.into()))
+ // Estimated: `28192 + b * (35279 ±0)`
+ // Minimum execution time: 4_024_000 picoseconds.
+ Weight::from_parts(4_145_000, 28192)
+ // Standard Error: 3_332
+ .saturating_add(Weight::from_parts(8_967_757, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(2_u64))
@@ -134,11 +133,11 @@
fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `285`
- // Estimated: `21692 + b * (37819 ±0)`
- // Minimum execution time: 4_063_000 picoseconds.
- Weight::from_parts(4_160_000, 21692)
- // Standard Error: 2_386
- .saturating_add(Weight::from_parts(10_836_802, 0).saturating_mul(b.into()))
+ // Estimated: `25652 + b * (37819 ±0)`
+ // Minimum execution time: 3_715_000 picoseconds.
+ Weight::from_parts(3_881_000, 25652)
+ // Standard Error: 3_275
+ .saturating_add(Weight::from_parts(10_525_271, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
@@ -163,11 +162,11 @@
fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `285`
- // Estimated: `56971 + b * (2540 ±0)`
- // Minimum execution time: 14_637_000 picoseconds.
- Weight::from_parts(19_042_423, 56971)
- // Standard Error: 1_632
- .saturating_add(Weight::from_parts(5_976_694, 0).saturating_mul(b.into()))
+ // Estimated: `60931 + b * (2540 ±0)`
+ // Minimum execution time: 13_150_000 picoseconds.
+ Weight::from_parts(15_655_930, 60931)
+ // Standard Error: 4_170
+ .saturating_add(Weight::from_parts(5_673_702, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(3_u64))
@@ -185,9 +184,9 @@
fn burn_item_partial() -> Weight {
// Proof Size summary in bytes:
// Measured: `490`
- // Estimated: `12747`
- // Minimum execution time: 35_018_000 picoseconds.
- Weight::from_parts(35_596_000, 12747)
+ // Estimated: `15717`
+ // Minimum execution time: 28_992_000 picoseconds.
+ Weight::from_parts(29_325_000, 15717)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -206,9 +205,9 @@
fn burn_item_fully() -> Weight {
// Proof Size summary in bytes:
// Measured: `375`
- // Estimated: `10110`
- // Minimum execution time: 30_441_000 picoseconds.
- Weight::from_parts(31_000_000, 10110)
+ // Estimated: `14070`
+ // Minimum execution time: 27_980_000 picoseconds.
+ Weight::from_parts(28_582_000, 14070)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -219,9 +218,9 @@
fn transfer_normal() -> Weight {
// Proof Size summary in bytes:
// Measured: `398`
- // Estimated: `7643`
- // Minimum execution time: 20_055_000 picoseconds.
- Weight::from_parts(20_533_000, 7643)
+ // Estimated: `9623`
+ // Minimum execution time: 18_746_000 picoseconds.
+ Weight::from_parts(19_096_000, 9623)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -236,9 +235,9 @@
fn transfer_creating() -> Weight {
// Proof Size summary in bytes:
// Measured: `375`
- // Estimated: `10183`
- // Minimum execution time: 23_443_000 picoseconds.
- Weight::from_parts(23_791_000, 10183)
+ // Estimated: `13153`
+ // Minimum execution time: 21_719_000 picoseconds.
+ Weight::from_parts(22_219_000, 13153)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -253,9 +252,9 @@
fn transfer_removing() -> Weight {
// Proof Size summary in bytes:
// Measured: `490`
- // Estimated: `10183`
- // Minimum execution time: 26_489_000 picoseconds.
- Weight::from_parts(27_103_000, 10183)
+ // Estimated: `13153`
+ // Minimum execution time: 24_784_000 picoseconds.
+ Weight::from_parts(25_231_000, 13153)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -270,9 +269,9 @@
fn transfer_creating_removing() -> Weight {
// Proof Size summary in bytes:
// Measured: `375`
- // Estimated: `12723`
- // Minimum execution time: 26_719_000 picoseconds.
- Weight::from_parts(27_038_000, 12723)
+ // Estimated: `15693`
+ // Minimum execution time: 24_865_000 picoseconds.
+ Weight::from_parts(25_253_000, 15693)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -283,9 +282,9 @@
fn approve() -> Weight {
// Proof Size summary in bytes:
// Measured: `256`
- // Estimated: `2564`
- // Minimum execution time: 12_949_000 picoseconds.
- Weight::from_parts(13_181_000, 2564)
+ // Estimated: `3554`
+ // Minimum execution time: 12_318_000 picoseconds.
+ Weight::from_parts(12_597_000, 3554)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -296,9 +295,9 @@
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `244`
- // Estimated: `2564`
- // Minimum execution time: 12_942_000 picoseconds.
- Weight::from_parts(13_268_000, 2564)
+ // Estimated: `3554`
+ // Minimum execution time: 12_276_000 picoseconds.
+ Weight::from_parts(12_557_000, 3554)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -311,9 +310,9 @@
fn transfer_from_normal() -> Weight {
// Proof Size summary in bytes:
// Measured: `528`
- // Estimated: `10223`
- // Minimum execution time: 28_907_000 picoseconds.
- Weight::from_parts(29_487_000, 10223)
+ // Estimated: `13193`
+ // Minimum execution time: 26_852_000 picoseconds.
+ Weight::from_parts(27_427_000, 13193)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -330,9 +329,9 @@
fn transfer_from_creating() -> Weight {
// Proof Size summary in bytes:
// Measured: `505`
- // Estimated: `12763`
- // Minimum execution time: 31_271_000 picoseconds.
- Weight::from_parts(32_293_000, 12763)
+ // Estimated: `16723`
+ // Minimum execution time: 29_893_000 picoseconds.
+ Weight::from_parts(30_345_000, 16723)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -349,9 +348,9 @@
fn transfer_from_removing() -> Weight {
// Proof Size summary in bytes:
// Measured: `620`
- // Estimated: `12763`
- // Minimum execution time: 34_295_000 picoseconds.
- Weight::from_parts(34_924_000, 12763)
+ // Estimated: `16723`
+ // Minimum execution time: 32_784_000 picoseconds.
+ Weight::from_parts(33_322_000, 16723)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -368,9 +367,9 @@
fn transfer_from_creating_removing() -> Weight {
// Proof Size summary in bytes:
// Measured: `505`
- // Estimated: `15303`
- // Minimum execution time: 35_447_000 picoseconds.
- Weight::from_parts(35_896_000, 15303)
+ // Estimated: `19263`
+ // Minimum execution time: 32_987_000 picoseconds.
+ Weight::from_parts(33_428_000, 19263)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
@@ -391,9 +390,9 @@
fn burn_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `505`
- // Estimated: `12690`
- // Minimum execution time: 39_395_000 picoseconds.
- Weight::from_parts(40_119_000, 12690)
+ // Estimated: `17640`
+ // Minimum execution time: 38_277_000 picoseconds.
+ Weight::from_parts(38_983_000, 17640)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
@@ -403,11 +402,11 @@
fn set_token_property_permissions(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `281`
- // Estimated: `19201`
- // Minimum execution time: 2_337_000 picoseconds.
- Weight::from_parts(2_434_000, 19201)
- // Standard Error: 43_425
- .saturating_add(Weight::from_parts(12_286_502, 0).saturating_mul(b.into()))
+ // Estimated: `20191`
+ // Minimum execution time: 2_254_000 picoseconds.
+ Weight::from_parts(2_335_000, 20191)
+ // Standard Error: 44_906
+ .saturating_add(Weight::from_parts(12_118_499, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -418,12 +417,12 @@
/// The range of component `b` is `[0, 64]`.
fn set_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `490 + b * (261 ±0)`
- // Estimated: `54480`
- // Minimum execution time: 11_857_000 picoseconds.
- Weight::from_parts(12_007_000, 54480)
- // Standard Error: 22_963
- .saturating_add(Weight::from_parts(6_609_180, 0).saturating_mul(b.into()))
+ // Measured: `458 + b * (261 ±0)`
+ // Estimated: `56460`
+ // Minimum execution time: 11_249_000 picoseconds.
+ Weight::from_parts(11_420_000, 56460)
+ // Standard Error: 72_033
+ .saturating_add(Weight::from_parts(7_008_012, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -434,12 +433,12 @@
/// The range of component `b` is `[0, 64]`.
fn delete_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `527 + b * (33291 ±0)`
- // Estimated: `54480`
- // Minimum execution time: 12_001_000 picoseconds.
- Weight::from_parts(12_197_000, 54480)
- // Standard Error: 70_580
- .saturating_add(Weight::from_parts(21_847_004, 0).saturating_mul(b.into()))
+ // Measured: `463 + b * (33291 ±0)`
+ // Estimated: `56460`
+ // Minimum execution time: 11_368_000 picoseconds.
+ Weight::from_parts(11_546_000, 56460)
+ // Standard Error: 85_444
+ .saturating_add(Weight::from_parts(24_644_980, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -450,9 +449,9 @@
fn repartition_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `321`
- // Estimated: `5079`
- // Minimum execution time: 14_497_000 picoseconds.
- Weight::from_parts(14_825_000, 5079)
+ // Estimated: `7059`
+ // Minimum execution time: 13_586_000 picoseconds.
+ Weight::from_parts(14_489_000, 7059)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -461,9 +460,9 @@
fn token_owner() -> Weight {
// Proof Size summary in bytes:
// Measured: `321`
- // Estimated: `5128`
- // Minimum execution time: 8_888_000 picoseconds.
- Weight::from_parts(9_373_000, 5128)
+ // Estimated: `6118`
+ // Minimum execution time: 7_049_000 picoseconds.
+ Weight::from_parts(7_320_000, 6118)
.saturating_add(T::DbWeight::get().reads(2_u64))
}
/// Storage: Refungible CollectionAllowance (r:0 w:1)
@@ -472,8 +471,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 7_042_000 picoseconds.
- Weight::from_parts(7_245_000, 0)
+ // Minimum execution time: 6_432_000 picoseconds.
+ Weight::from_parts(6_642_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Refungible CollectionAllowance (r:1 w:0)
@@ -481,9 +480,9 @@
fn allowance_for_all() -> Weight {
// Proof Size summary in bytes:
// Measured: `4`
- // Estimated: `2586`
- // Minimum execution time: 3_425_000 picoseconds.
- Weight::from_parts(3_554_000, 2586)
+ // Estimated: `3576`
+ // Minimum execution time: 3_030_000 picoseconds.
+ Weight::from_parts(3_206_000, 3576)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Refungible TokenProperties (r:1 w:1)
@@ -491,9 +490,9 @@
fn repair_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `174`
- // Estimated: `35279`
- // Minimum execution time: 4_684_000 picoseconds.
- Weight::from_parts(4_805_000, 35279)
+ // Estimated: `36269`
+ // Minimum execution time: 4_371_000 picoseconds.
+ Weight::from_parts(4_555_000, 36269)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -518,9 +517,9 @@
fn create_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `285`
- // Estimated: `59511`
- // Minimum execution time: 25_287_000 picoseconds.
- Weight::from_parts(25_741_000, 59511)
+ // Estimated: `63471`
+ // Minimum execution time: 30_759_000 picoseconds.
+ Weight::from_parts(31_321_000, 63471)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -542,11 +541,11 @@
fn create_multiple_items(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `285`
- // Estimated: `24232 + b * (35279 ±0)`
- // Minimum execution time: 4_618_000 picoseconds.
- Weight::from_parts(1_425_218, 24232)
- // Standard Error: 4_343
- .saturating_add(Weight::from_parts(9_154_733, 0).saturating_mul(b.into()))
+ // Estimated: `28192 + b * (35279 ±0)`
+ // Minimum execution time: 4_024_000 picoseconds.
+ Weight::from_parts(4_145_000, 28192)
+ // Standard Error: 3_332
+ .saturating_add(Weight::from_parts(8_967_757, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(2_u64))
@@ -571,11 +570,11 @@
fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `285`
- // Estimated: `21692 + b * (37819 ±0)`
- // Minimum execution time: 4_063_000 picoseconds.
- Weight::from_parts(4_160_000, 21692)
- // Standard Error: 2_386
- .saturating_add(Weight::from_parts(10_836_802, 0).saturating_mul(b.into()))
+ // Estimated: `25652 + b * (37819 ±0)`
+ // Minimum execution time: 3_715_000 picoseconds.
+ Weight::from_parts(3_881_000, 25652)
+ // Standard Error: 3_275
+ .saturating_add(Weight::from_parts(10_525_271, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
@@ -600,11 +599,11 @@
fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `285`
- // Estimated: `56971 + b * (2540 ±0)`
- // Minimum execution time: 14_637_000 picoseconds.
- Weight::from_parts(19_042_423, 56971)
- // Standard Error: 1_632
- .saturating_add(Weight::from_parts(5_976_694, 0).saturating_mul(b.into()))
+ // Estimated: `60931 + b * (2540 ±0)`
+ // Minimum execution time: 13_150_000 picoseconds.
+ Weight::from_parts(15_655_930, 60931)
+ // Standard Error: 4_170
+ .saturating_add(Weight::from_parts(5_673_702, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(3_u64))
@@ -622,9 +621,9 @@
fn burn_item_partial() -> Weight {
// Proof Size summary in bytes:
// Measured: `490`
- // Estimated: `12747`
- // Minimum execution time: 35_018_000 picoseconds.
- Weight::from_parts(35_596_000, 12747)
+ // Estimated: `15717`
+ // Minimum execution time: 28_992_000 picoseconds.
+ Weight::from_parts(29_325_000, 15717)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -643,9 +642,9 @@
fn burn_item_fully() -> Weight {
// Proof Size summary in bytes:
// Measured: `375`
- // Estimated: `10110`
- // Minimum execution time: 30_441_000 picoseconds.
- Weight::from_parts(31_000_000, 10110)
+ // Estimated: `14070`
+ // Minimum execution time: 27_980_000 picoseconds.
+ Weight::from_parts(28_582_000, 14070)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -656,9 +655,9 @@
fn transfer_normal() -> Weight {
// Proof Size summary in bytes:
// Measured: `398`
- // Estimated: `7643`
- // Minimum execution time: 20_055_000 picoseconds.
- Weight::from_parts(20_533_000, 7643)
+ // Estimated: `9623`
+ // Minimum execution time: 18_746_000 picoseconds.
+ Weight::from_parts(19_096_000, 9623)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -673,9 +672,9 @@
fn transfer_creating() -> Weight {
// Proof Size summary in bytes:
// Measured: `375`
- // Estimated: `10183`
- // Minimum execution time: 23_443_000 picoseconds.
- Weight::from_parts(23_791_000, 10183)
+ // Estimated: `13153`
+ // Minimum execution time: 21_719_000 picoseconds.
+ Weight::from_parts(22_219_000, 13153)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -690,9 +689,9 @@
fn transfer_removing() -> Weight {
// Proof Size summary in bytes:
// Measured: `490`
- // Estimated: `10183`
- // Minimum execution time: 26_489_000 picoseconds.
- Weight::from_parts(27_103_000, 10183)
+ // Estimated: `13153`
+ // Minimum execution time: 24_784_000 picoseconds.
+ Weight::from_parts(25_231_000, 13153)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -707,9 +706,9 @@
fn transfer_creating_removing() -> Weight {
// Proof Size summary in bytes:
// Measured: `375`
- // Estimated: `12723`
- // Minimum execution time: 26_719_000 picoseconds.
- Weight::from_parts(27_038_000, 12723)
+ // Estimated: `15693`
+ // Minimum execution time: 24_865_000 picoseconds.
+ Weight::from_parts(25_253_000, 15693)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -720,9 +719,9 @@
fn approve() -> Weight {
// Proof Size summary in bytes:
// Measured: `256`
- // Estimated: `2564`
- // Minimum execution time: 12_949_000 picoseconds.
- Weight::from_parts(13_181_000, 2564)
+ // Estimated: `3554`
+ // Minimum execution time: 12_318_000 picoseconds.
+ Weight::from_parts(12_597_000, 3554)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -733,9 +732,9 @@
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `244`
- // Estimated: `2564`
- // Minimum execution time: 12_942_000 picoseconds.
- Weight::from_parts(13_268_000, 2564)
+ // Estimated: `3554`
+ // Minimum execution time: 12_276_000 picoseconds.
+ Weight::from_parts(12_557_000, 3554)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -748,9 +747,9 @@
fn transfer_from_normal() -> Weight {
// Proof Size summary in bytes:
// Measured: `528`
- // Estimated: `10223`
- // Minimum execution time: 28_907_000 picoseconds.
- Weight::from_parts(29_487_000, 10223)
+ // Estimated: `13193`
+ // Minimum execution time: 26_852_000 picoseconds.
+ Weight::from_parts(27_427_000, 13193)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -767,9 +766,9 @@
fn transfer_from_creating() -> Weight {
// Proof Size summary in bytes:
// Measured: `505`
- // Estimated: `12763`
- // Minimum execution time: 31_271_000 picoseconds.
- Weight::from_parts(32_293_000, 12763)
+ // Estimated: `16723`
+ // Minimum execution time: 29_893_000 picoseconds.
+ Weight::from_parts(30_345_000, 16723)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -786,9 +785,9 @@
fn transfer_from_removing() -> Weight {
// Proof Size summary in bytes:
// Measured: `620`
- // Estimated: `12763`
- // Minimum execution time: 34_295_000 picoseconds.
- Weight::from_parts(34_924_000, 12763)
+ // Estimated: `16723`
+ // Minimum execution time: 32_784_000 picoseconds.
+ Weight::from_parts(33_322_000, 16723)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -805,9 +804,9 @@
fn transfer_from_creating_removing() -> Weight {
// Proof Size summary in bytes:
// Measured: `505`
- // Estimated: `15303`
- // Minimum execution time: 35_447_000 picoseconds.
- Weight::from_parts(35_896_000, 15303)
+ // Estimated: `19263`
+ // Minimum execution time: 32_987_000 picoseconds.
+ Weight::from_parts(33_428_000, 19263)
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}
@@ -828,9 +827,9 @@
fn burn_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `505`
- // Estimated: `12690`
- // Minimum execution time: 39_395_000 picoseconds.
- Weight::from_parts(40_119_000, 12690)
+ // Estimated: `17640`
+ // Minimum execution time: 38_277_000 picoseconds.
+ Weight::from_parts(38_983_000, 17640)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}
@@ -840,11 +839,11 @@
fn set_token_property_permissions(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `281`
- // Estimated: `19201`
- // Minimum execution time: 2_337_000 picoseconds.
- Weight::from_parts(2_434_000, 19201)
- // Standard Error: 43_425
- .saturating_add(Weight::from_parts(12_286_502, 0).saturating_mul(b.into()))
+ // Estimated: `20191`
+ // Minimum execution time: 2_254_000 picoseconds.
+ Weight::from_parts(2_335_000, 20191)
+ // Standard Error: 44_906
+ .saturating_add(Weight::from_parts(12_118_499, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -855,12 +854,12 @@
/// The range of component `b` is `[0, 64]`.
fn set_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `490 + b * (261 ±0)`
- // Estimated: `54480`
- // Minimum execution time: 11_857_000 picoseconds.
- Weight::from_parts(12_007_000, 54480)
- // Standard Error: 22_963
- .saturating_add(Weight::from_parts(6_609_180, 0).saturating_mul(b.into()))
+ // Measured: `458 + b * (261 ±0)`
+ // Estimated: `56460`
+ // Minimum execution time: 11_249_000 picoseconds.
+ Weight::from_parts(11_420_000, 56460)
+ // Standard Error: 72_033
+ .saturating_add(Weight::from_parts(7_008_012, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -871,12 +870,12 @@
/// The range of component `b` is `[0, 64]`.
fn delete_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `527 + b * (33291 ±0)`
- // Estimated: `54480`
- // Minimum execution time: 12_001_000 picoseconds.
- Weight::from_parts(12_197_000, 54480)
- // Standard Error: 70_580
- .saturating_add(Weight::from_parts(21_847_004, 0).saturating_mul(b.into()))
+ // Measured: `463 + b * (33291 ±0)`
+ // Estimated: `56460`
+ // Minimum execution time: 11_368_000 picoseconds.
+ Weight::from_parts(11_546_000, 56460)
+ // Standard Error: 85_444
+ .saturating_add(Weight::from_parts(24_644_980, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -887,9 +886,9 @@
fn repartition_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `321`
- // Estimated: `5079`
- // Minimum execution time: 14_497_000 picoseconds.
- Weight::from_parts(14_825_000, 5079)
+ // Estimated: `7059`
+ // Minimum execution time: 13_586_000 picoseconds.
+ Weight::from_parts(14_489_000, 7059)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -898,9 +897,9 @@
fn token_owner() -> Weight {
// Proof Size summary in bytes:
// Measured: `321`
- // Estimated: `5128`
- // Minimum execution time: 8_888_000 picoseconds.
- Weight::from_parts(9_373_000, 5128)
+ // Estimated: `6118`
+ // Minimum execution time: 7_049_000 picoseconds.
+ Weight::from_parts(7_320_000, 6118)
.saturating_add(RocksDbWeight::get().reads(2_u64))
}
/// Storage: Refungible CollectionAllowance (r:0 w:1)
@@ -909,8 +908,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 7_042_000 picoseconds.
- Weight::from_parts(7_245_000, 0)
+ // Minimum execution time: 6_432_000 picoseconds.
+ Weight::from_parts(6_642_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Refungible CollectionAllowance (r:1 w:0)
@@ -918,9 +917,9 @@
fn allowance_for_all() -> Weight {
// Proof Size summary in bytes:
// Measured: `4`
- // Estimated: `2586`
- // Minimum execution time: 3_425_000 picoseconds.
- Weight::from_parts(3_554_000, 2586)
+ // Estimated: `3576`
+ // Minimum execution time: 3_030_000 picoseconds.
+ Weight::from_parts(3_206_000, 3576)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Refungible TokenProperties (r:1 w:1)
@@ -928,9 +927,9 @@
fn repair_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `174`
- // Estimated: `35279`
- // Minimum execution time: 4_684_000 picoseconds.
- Weight::from_parts(4_805_000, 35279)
+ // Estimated: `36269`
+ // Minimum execution time: 4_371_000 picoseconds.
+ Weight::from_parts(4_555_000, 36269)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
pallets/structure/src/weights.rsdiffbeforeafterboth--- a/pallets/structure/src/weights.rs
+++ b/pallets/structure/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_structure
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -46,10 +45,10 @@
/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn find_parent() -> Weight {
// Proof Size summary in bytes:
- // Measured: `698`
- // Estimated: `5867`
- // Minimum execution time: 9_834_000 picoseconds.
- Weight::from_parts(10_073_000, 5867)
+ // Measured: `634`
+ // Estimated: `7847`
+ // Minimum execution time: 10_781_000 picoseconds.
+ Weight::from_parts(11_675_000, 7847)
.saturating_add(T::DbWeight::get().reads(2_u64))
}
}
@@ -62,10 +61,10 @@
/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn find_parent() -> Weight {
// Proof Size summary in bytes:
- // Measured: `698`
- // Estimated: `5867`
- // Minimum execution time: 9_834_000 picoseconds.
- Weight::from_parts(10_073_000, 5867)
+ // Measured: `634`
+ // Estimated: `7847`
+ // Minimum execution time: 10_781_000 picoseconds.
+ Weight::from_parts(11_675_000, 7847)
.saturating_add(RocksDbWeight::get().reads(2_u64))
}
}
pallets/unique/src/weights.rsdiffbeforeafterboth--- a/pallets/unique/src/weights.rs
+++ b/pallets/unique/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_unique
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -66,10 +65,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn create_collection() -> Weight {
// Proof Size summary in bytes:
- // Measured: `277`
- // Estimated: `6204`
- // Minimum execution time: 37_430_000 picoseconds.
- Weight::from_parts(42_154_000, 6204)
+ // Measured: `245`
+ // Estimated: `9174`
+ // Minimum execution time: 31_198_000 picoseconds.
+ Weight::from_parts(32_046_000, 9174)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -89,10 +88,10 @@
/// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
fn destroy_collection() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1118`
- // Estimated: `6366`
- // Minimum execution time: 51_399_000 picoseconds.
- Weight::from_parts(52_256_000, 6366)
+ // Measured: `1086`
+ // Estimated: `9336`
+ // Minimum execution time: 48_208_000 picoseconds.
+ Weight::from_parts(49_031_000, 9336)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -102,10 +101,10 @@
/// Proof: Common Allowlist (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
fn add_to_allow_list() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `3335`
- // Minimum execution time: 16_355_000 picoseconds.
- Weight::from_parts(16_737_000, 3335)
+ // Measured: `967`
+ // Estimated: `4325`
+ // Minimum execution time: 14_852_000 picoseconds.
+ Weight::from_parts(15_268_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -115,10 +114,10 @@
/// Proof: Common Allowlist (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
fn remove_from_allow_list() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1032`
- // Estimated: `3335`
- // Minimum execution time: 15_812_000 picoseconds.
- Weight::from_parts(16_102_000, 3335)
+ // Measured: `1000`
+ // Estimated: `4325`
+ // Minimum execution time: 14_595_000 picoseconds.
+ Weight::from_parts(14_933_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -126,10 +125,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn change_collection_owner() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `3335`
- // Minimum execution time: 15_072_000 picoseconds.
- Weight::from_parts(15_540_000, 3335)
+ // Measured: `967`
+ // Estimated: `4325`
+ // Minimum execution time: 14_132_000 picoseconds.
+ Weight::from_parts(14_501_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -141,10 +140,10 @@
/// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
fn add_collection_admin() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `8379`
- // Minimum execution time: 18_268_000 picoseconds.
- Weight::from_parts(18_931_000, 8379)
+ // Measured: `967`
+ // Estimated: `11349`
+ // Minimum execution time: 17_229_000 picoseconds.
+ Weight::from_parts(17_657_000, 11349)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -156,10 +155,10 @@
/// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
fn remove_collection_admin() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1139`
- // Estimated: `8379`
- // Minimum execution time: 21_786_000 picoseconds.
- Weight::from_parts(22_088_000, 8379)
+ // Measured: `1107`
+ // Estimated: `11349`
+ // Minimum execution time: 19_827_000 picoseconds.
+ Weight::from_parts(20_479_000, 11349)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -167,10 +166,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn set_collection_sponsor() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `3335`
- // Minimum execution time: 15_245_000 picoseconds.
- Weight::from_parts(15_574_000, 3335)
+ // Measured: `967`
+ // Estimated: `4325`
+ // Minimum execution time: 14_049_000 picoseconds.
+ Weight::from_parts(14_420_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -178,10 +177,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn confirm_sponsorship() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1031`
- // Estimated: `3335`
- // Minimum execution time: 15_073_000 picoseconds.
- Weight::from_parts(15_407_000, 3335)
+ // Measured: `999`
+ // Estimated: `4325`
+ // Minimum execution time: 13_689_000 picoseconds.
+ Weight::from_parts(14_044_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -189,10 +188,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn remove_collection_sponsor() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1031`
- // Estimated: `3335`
- // Minimum execution time: 14_938_000 picoseconds.
- Weight::from_parts(15_262_000, 3335)
+ // Measured: `999`
+ // Estimated: `4325`
+ // Minimum execution time: 13_275_000 picoseconds.
+ Weight::from_parts(13_598_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -200,10 +199,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn set_transfers_enabled_flag() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `3335`
- // Minimum execution time: 10_318_000 picoseconds.
- Weight::from_parts(10_652_000, 3335)
+ // Measured: `967`
+ // Estimated: `4325`
+ // Minimum execution time: 9_411_000 picoseconds.
+ Weight::from_parts(9_706_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -211,10 +210,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn set_collection_limits() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `3335`
- // Minimum execution time: 15_535_000 picoseconds.
- Weight::from_parts(15_937_000, 3335)
+ // Measured: `967`
+ // Estimated: `4325`
+ // Minimum execution time: 13_864_000 picoseconds.
+ Weight::from_parts(14_368_000, 4325)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -223,9 +222,9 @@
fn force_repair_collection() -> Weight {
// Proof Size summary in bytes:
// Measured: `265`
- // Estimated: `43467`
- // Minimum execution time: 8_178_000 picoseconds.
- Weight::from_parts(8_390_000, 43467)
+ // Estimated: `44457`
+ // Minimum execution time: 7_104_000 picoseconds.
+ Weight::from_parts(7_293_000, 44457)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -247,10 +246,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn create_collection() -> Weight {
// Proof Size summary in bytes:
- // Measured: `277`
- // Estimated: `6204`
- // Minimum execution time: 37_430_000 picoseconds.
- Weight::from_parts(42_154_000, 6204)
+ // Measured: `245`
+ // Estimated: `9174`
+ // Minimum execution time: 31_198_000 picoseconds.
+ Weight::from_parts(32_046_000, 9174)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -270,10 +269,10 @@
/// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
fn destroy_collection() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1118`
- // Estimated: `6366`
- // Minimum execution time: 51_399_000 picoseconds.
- Weight::from_parts(52_256_000, 6366)
+ // Measured: `1086`
+ // Estimated: `9336`
+ // Minimum execution time: 48_208_000 picoseconds.
+ Weight::from_parts(49_031_000, 9336)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -283,10 +282,10 @@
/// Proof: Common Allowlist (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
fn add_to_allow_list() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `3335`
- // Minimum execution time: 16_355_000 picoseconds.
- Weight::from_parts(16_737_000, 3335)
+ // Measured: `967`
+ // Estimated: `4325`
+ // Minimum execution time: 14_852_000 picoseconds.
+ Weight::from_parts(15_268_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -296,10 +295,10 @@
/// Proof: Common Allowlist (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
fn remove_from_allow_list() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1032`
- // Estimated: `3335`
- // Minimum execution time: 15_812_000 picoseconds.
- Weight::from_parts(16_102_000, 3335)
+ // Measured: `1000`
+ // Estimated: `4325`
+ // Minimum execution time: 14_595_000 picoseconds.
+ Weight::from_parts(14_933_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -307,10 +306,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn change_collection_owner() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `3335`
- // Minimum execution time: 15_072_000 picoseconds.
- Weight::from_parts(15_540_000, 3335)
+ // Measured: `967`
+ // Estimated: `4325`
+ // Minimum execution time: 14_132_000 picoseconds.
+ Weight::from_parts(14_501_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -322,10 +321,10 @@
/// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
fn add_collection_admin() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `8379`
- // Minimum execution time: 18_268_000 picoseconds.
- Weight::from_parts(18_931_000, 8379)
+ // Measured: `967`
+ // Estimated: `11349`
+ // Minimum execution time: 17_229_000 picoseconds.
+ Weight::from_parts(17_657_000, 11349)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -337,10 +336,10 @@
/// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
fn remove_collection_admin() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1139`
- // Estimated: `8379`
- // Minimum execution time: 21_786_000 picoseconds.
- Weight::from_parts(22_088_000, 8379)
+ // Measured: `1107`
+ // Estimated: `11349`
+ // Minimum execution time: 19_827_000 picoseconds.
+ Weight::from_parts(20_479_000, 11349)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -348,10 +347,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn set_collection_sponsor() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `3335`
- // Minimum execution time: 15_245_000 picoseconds.
- Weight::from_parts(15_574_000, 3335)
+ // Measured: `967`
+ // Estimated: `4325`
+ // Minimum execution time: 14_049_000 picoseconds.
+ Weight::from_parts(14_420_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -359,10 +358,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn confirm_sponsorship() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1031`
- // Estimated: `3335`
- // Minimum execution time: 15_073_000 picoseconds.
- Weight::from_parts(15_407_000, 3335)
+ // Measured: `999`
+ // Estimated: `4325`
+ // Minimum execution time: 13_689_000 picoseconds.
+ Weight::from_parts(14_044_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -370,10 +369,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn remove_collection_sponsor() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1031`
- // Estimated: `3335`
- // Minimum execution time: 14_938_000 picoseconds.
- Weight::from_parts(15_262_000, 3335)
+ // Measured: `999`
+ // Estimated: `4325`
+ // Minimum execution time: 13_275_000 picoseconds.
+ Weight::from_parts(13_598_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -381,10 +380,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn set_transfers_enabled_flag() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `3335`
- // Minimum execution time: 10_318_000 picoseconds.
- Weight::from_parts(10_652_000, 3335)
+ // Measured: `967`
+ // Estimated: `4325`
+ // Minimum execution time: 9_411_000 picoseconds.
+ Weight::from_parts(9_706_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -392,10 +391,10 @@
/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
fn set_collection_limits() -> Weight {
// Proof Size summary in bytes:
- // Measured: `999`
- // Estimated: `3335`
- // Minimum execution time: 15_535_000 picoseconds.
- Weight::from_parts(15_937_000, 3335)
+ // Measured: `967`
+ // Estimated: `4325`
+ // Minimum execution time: 13_864_000 picoseconds.
+ Weight::from_parts(14_368_000, 4325)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -404,9 +403,9 @@
fn force_repair_collection() -> Weight {
// Proof Size summary in bytes:
// Measured: `265`
- // Estimated: `43467`
- // Minimum execution time: 8_178_000 picoseconds.
- Weight::from_parts(8_390_000, 43467)
+ // Estimated: `44457`
+ // Minimum execution time: 7_104_000 picoseconds.
+ Weight::from_parts(7_293_000, 44457)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
runtime/common/weights/xcm.rsdiffbeforeafterboth--- a/runtime/common/weights/xcm.rs
+++ b/runtime/common/weights/xcm.rs
@@ -3,7 +3,7 @@
//! Autogenerated weights for pallet_xcm
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
@@ -48,9 +48,9 @@
fn send() -> Weight {
// Proof Size summary in bytes:
// Measured: `211`
- // Estimated: `5510`
- // Minimum execution time: 17_608_000 picoseconds.
- Weight::from_parts(18_024_000, 5510)
+ // Estimated: `10460`
+ // Minimum execution time: 17_089_000 picoseconds.
+ Weight::from_parts(17_615_000, 10460)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -59,9 +59,9 @@
fn teleport_assets() -> Weight {
// Proof Size summary in bytes:
// Measured: `136`
- // Estimated: `499`
- // Minimum execution time: 17_648_000 picoseconds.
- Weight::from_parts(18_103_000, 499)
+ // Estimated: `1489`
+ // Minimum execution time: 14_443_000 picoseconds.
+ Weight::from_parts(14_895_000, 1489)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: ParachainInfo ParachainId (r:1 w:0)
@@ -69,17 +69,17 @@
fn reserve_transfer_assets() -> Weight {
// Proof Size summary in bytes:
// Measured: `136`
- // Estimated: `499`
- // Minimum execution time: 17_529_000 picoseconds.
- Weight::from_parts(18_009_000, 499)
+ // Estimated: `1489`
+ // Minimum execution time: 14_340_000 picoseconds.
+ Weight::from_parts(14_748_000, 1489)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
fn execute() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 5_314_000 picoseconds.
- Weight::from_parts(6_053_000, 0)
+ // Minimum execution time: 5_266_000 picoseconds.
+ Weight::from_parts(5_430_000, 0)
}
/// Storage: PolkadotXcm SupportedVersion (r:0 w:1)
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
@@ -87,8 +87,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 5_577_000 picoseconds.
- Weight::from_parts(5_831_000, 0)
+ // Minimum execution time: 5_621_000 picoseconds.
+ Weight::from_parts(5_888_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1)
@@ -97,8 +97,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_902_000 picoseconds.
- Weight::from_parts(2_018_000, 0)
+ // Minimum execution time: 2_087_000 picoseconds.
+ Weight::from_parts(2_218_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)
@@ -120,9 +120,9 @@
fn force_subscribe_version_notify() -> Weight {
// Proof Size summary in bytes:
// Measured: `211`
- // Estimated: `9113`
- // Minimum execution time: 21_675_000 picoseconds.
- Weight::from_parts(22_161_000, 9113)
+ // Estimated: `16043`
+ // Minimum execution time: 21_067_000 picoseconds.
+ Weight::from_parts(21_466_000, 16043)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -143,9 +143,9 @@
fn force_unsubscribe_version_notify() -> Weight {
// Proof Size summary in bytes:
// Measured: `394`
- // Estimated: `9688`
- // Minimum execution time: 24_643_000 picoseconds.
- Weight::from_parts(25_027_000, 9688)
+ // Estimated: `15628`
+ // Minimum execution time: 23_986_000 picoseconds.
+ Weight::from_parts(25_328_000, 15628)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -154,9 +154,9 @@
fn migrate_supported_version() -> Weight {
// Proof Size summary in bytes:
// Measured: `131`
- // Estimated: `10031`
- // Minimum execution time: 14_077_000 picoseconds.
- Weight::from_parts(14_594_000, 10031)
+ // Estimated: `11021`
+ // Minimum execution time: 15_073_000 picoseconds.
+ Weight::from_parts(15_451_000, 11021)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -165,9 +165,9 @@
fn migrate_version_notifiers() -> Weight {
// Proof Size summary in bytes:
// Measured: `135`
- // Estimated: `10035`
- // Minimum execution time: 14_117_000 picoseconds.
- Weight::from_parts(14_590_000, 10035)
+ // Estimated: `11025`
+ // Minimum execution time: 14_840_000 picoseconds.
+ Weight::from_parts(15_347_000, 11025)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -176,9 +176,9 @@
fn already_notified_target() -> Weight {
// Proof Size summary in bytes:
// Measured: `142`
- // Estimated: `12517`
- // Minimum execution time: 16_284_000 picoseconds.
- Weight::from_parts(16_817_000, 12517)
+ // Estimated: `13507`
+ // Minimum execution time: 16_215_000 picoseconds.
+ Weight::from_parts(16_461_000, 13507)
.saturating_add(T::DbWeight::get().reads(5_u64))
}
/// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1)
@@ -196,9 +196,9 @@
fn notify_current_targets() -> Weight {
// Proof Size summary in bytes:
// Measured: `278`
- // Estimated: `11073`
- // Minimum execution time: 21_980_000 picoseconds.
- Weight::from_parts(22_452_000, 11073)
+ // Estimated: `17013`
+ // Minimum execution time: 21_705_000 picoseconds.
+ Weight::from_parts(22_313_000, 17013)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -207,9 +207,9 @@
fn notify_target_migration_fail() -> Weight {
// Proof Size summary in bytes:
// Measured: `172`
- // Estimated: `7597`
- // Minimum execution time: 6_848_000 picoseconds.
- Weight::from_parts(7_077_000, 7597)
+ // Estimated: `8587`
+ // Minimum execution time: 7_869_000 picoseconds.
+ Weight::from_parts(8_052_000, 8587)
.saturating_add(T::DbWeight::get().reads(3_u64))
}
/// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)
@@ -217,9 +217,9 @@
fn migrate_version_notify_targets() -> Weight {
// Proof Size summary in bytes:
// Measured: `142`
- // Estimated: `10042`
- // Minimum execution time: 14_509_000 picoseconds.
- Weight::from_parts(15_012_000, 10042)
+ // Estimated: `11032`
+ // Minimum execution time: 15_340_000 picoseconds.
+ Weight::from_parts(15_738_000, 11032)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -238,9 +238,9 @@
fn migrate_and_notify_old_targets() -> Weight {
// Proof Size summary in bytes:
// Measured: `284`
- // Estimated: `16059`
- // Minimum execution time: 27_426_000 picoseconds.
- Weight::from_parts(27_878_000, 16059)
+ // Estimated: `21999`
+ // Minimum execution time: 27_809_000 picoseconds.
+ Weight::from_parts(28_290_000, 21999)
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}