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.rsdiffbeforeafterboth3//! Autogenerated weights for pallet_foreign_assets3//! Autogenerated weights for pallet_foreign_assets4//!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;65 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)64 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)66 fn register_foreign_asset() -> Weight {65 fn register_foreign_asset() -> Weight {67 // Proof Size summary in bytes:66 // Proof Size summary in bytes:68 // Measured: `318`67 // Measured: `286`69 // Estimated: `17918`68 // Estimated: `25838`70 // Minimum execution time: 45_521_000 picoseconds.69 // Minimum execution time: 37_778_000 picoseconds.71 Weight::from_parts(46_333_000, 17918)70 Weight::from_parts(38_334_000, 25838)72 .saturating_add(T::DbWeight::get().reads(9_u64))71 .saturating_add(T::DbWeight::get().reads(9_u64))73 .saturating_add(T::DbWeight::get().writes(11_u64))72 .saturating_add(T::DbWeight::get().writes(11_u64))74 }73 }79 fn update_foreign_asset() -> Weight {78 fn update_foreign_asset() -> Weight {80 // Proof Size summary in bytes:79 // Proof Size summary in bytes:81 // Measured: `197`80 // Measured: `197`82 // Estimated: `5635`81 // Estimated: `7615`83 // Minimum execution time: 13_542_000 picoseconds.82 // Minimum execution time: 13_739_000 picoseconds.84 Weight::from_parts(13_913_000, 5635)83 Weight::from_parts(22_366_000, 7615)85 .saturating_add(T::DbWeight::get().reads(2_u64))84 .saturating_add(T::DbWeight::get().reads(2_u64))86 .saturating_add(T::DbWeight::get().writes(2_u64))85 .saturating_add(T::DbWeight::get().writes(2_u64))87 }86 }113 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)112 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)114 fn register_foreign_asset() -> Weight {113 fn register_foreign_asset() -> Weight {115 // Proof Size summary in bytes:114 // Proof Size summary in bytes:116 // Measured: `318`115 // Measured: `286`117 // Estimated: `17918`116 // Estimated: `25838`118 // Minimum execution time: 45_521_000 picoseconds.117 // Minimum execution time: 37_778_000 picoseconds.119 Weight::from_parts(46_333_000, 17918)118 Weight::from_parts(38_334_000, 25838)120 .saturating_add(RocksDbWeight::get().reads(9_u64))119 .saturating_add(RocksDbWeight::get().reads(9_u64))121 .saturating_add(RocksDbWeight::get().writes(11_u64))120 .saturating_add(RocksDbWeight::get().writes(11_u64))122 }121 }127 fn update_foreign_asset() -> Weight {126 fn update_foreign_asset() -> Weight {128 // Proof Size summary in bytes:127 // Proof Size summary in bytes:129 // Measured: `197`128 // Measured: `197`130 // Estimated: `5635`129 // Estimated: `7615`131 // Minimum execution time: 13_542_000 picoseconds.130 // Minimum execution time: 13_739_000 picoseconds.132 Weight::from_parts(13_913_000, 5635)131 Weight::from_parts(22_366_000, 7615)133 .saturating_add(RocksDbWeight::get().reads(2_u64))132 .saturating_add(RocksDbWeight::get().reads(2_u64))134 .saturating_add(RocksDbWeight::get().writes(2_u64))133 .saturating_add(RocksDbWeight::get().writes(2_u64))135 }134 }pallets/fungible/src/weights.rsdiffbeforeafterboth--- a/pallets/fungible/src/weights.rs
+++ b/pallets/fungible/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_fungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -55,9 +54,9 @@
fn create_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
- // Estimated: `5055`
- // Minimum execution time: 10_152_000 picoseconds.
- Weight::from_parts(10_520_000, 5055)
+ // Estimated: `7035`
+ // Minimum execution time: 10_168_000 picoseconds.
+ Weight::from_parts(10_453_000, 7035)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -69,11 +68,11 @@
fn create_multiple_items_ex(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
- // Estimated: `2503 + b * (2552 ±0)`
- // Minimum execution time: 3_437_000 picoseconds.
- Weight::from_parts(13_322_752, 2503)
- // Standard Error: 1_728
- .saturating_add(Weight::from_parts(3_605_522, 0).saturating_mul(b.into()))
+ // Estimated: `4483 + b * (2552 ±0)`
+ // Minimum execution time: 3_248_000 picoseconds.
+ Weight::from_parts(12_455_981, 4483)
+ // Standard Error: 2_698
+ .saturating_add(Weight::from_parts(3_426_148, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
@@ -87,9 +86,9 @@
fn burn_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `197`
- // Estimated: `5055`
- // Minimum execution time: 12_894_000 picoseconds.
- Weight::from_parts(13_347_000, 5055)
+ // Estimated: `7035`
+ // Minimum execution time: 12_717_000 picoseconds.
+ Weight::from_parts(13_031_000, 7035)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -98,9 +97,9 @@
fn transfer_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
- // Estimated: `5104`
- // Minimum execution time: 6_678_000 picoseconds.
- Weight::from_parts(7_151_000, 5104)
+ // Estimated: `6094`
+ // Minimum execution time: 13_640_000 picoseconds.
+ Weight::from_parts(13_935_000, 6094)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -111,9 +110,9 @@
fn approve() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
- // Estimated: `2552`
- // Minimum execution time: 12_417_000 picoseconds.
- Weight::from_parts(12_658_000, 2552)
+ // Estimated: `3542`
+ // Minimum execution time: 11_769_000 picoseconds.
+ Weight::from_parts(12_072_000, 3542)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -124,9 +123,9 @@
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `170`
- // Estimated: `2552`
- // Minimum execution time: 12_322_000 picoseconds.
- Weight::from_parts(12_629_000, 2552)
+ // Estimated: `3542`
+ // Minimum execution time: 11_603_000 picoseconds.
+ Weight::from_parts(12_003_000, 3542)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -135,9 +134,9 @@
fn check_allowed_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `210`
- // Estimated: `2568`
- // Minimum execution time: 2_842_000 picoseconds.
- Weight::from_parts(3_077_000, 2568)
+ // Estimated: `3558`
+ // Minimum execution time: 5_682_000 picoseconds.
+ Weight::from_parts(5_892_000, 3558)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Fungible Allowance (r:0 w:1)
@@ -146,8 +145,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_532_000 picoseconds.
- Weight::from_parts(2_680_000, 0)
+ // Minimum execution time: 6_415_000 picoseconds.
+ Weight::from_parts(6_599_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Fungible Allowance (r:1 w:1)
@@ -159,9 +158,9 @@
fn burn_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `315`
- // Estimated: `7623`
- // Minimum execution time: 21_271_000 picoseconds.
- Weight::from_parts(21_709_000, 7623)
+ // Estimated: `10593`
+ // Minimum execution time: 20_257_000 picoseconds.
+ Weight::from_parts(20_625_000, 10593)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -176,9 +175,9 @@
fn create_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
- // Estimated: `5055`
- // Minimum execution time: 10_152_000 picoseconds.
- Weight::from_parts(10_520_000, 5055)
+ // Estimated: `7035`
+ // Minimum execution time: 10_168_000 picoseconds.
+ Weight::from_parts(10_453_000, 7035)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -190,11 +189,11 @@
fn create_multiple_items_ex(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `42`
- // Estimated: `2503 + b * (2552 ±0)`
- // Minimum execution time: 3_437_000 picoseconds.
- Weight::from_parts(13_322_752, 2503)
- // Standard Error: 1_728
- .saturating_add(Weight::from_parts(3_605_522, 0).saturating_mul(b.into()))
+ // Estimated: `4483 + b * (2552 ±0)`
+ // Minimum execution time: 3_248_000 picoseconds.
+ Weight::from_parts(12_455_981, 4483)
+ // Standard Error: 2_698
+ .saturating_add(Weight::from_parts(3_426_148, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
@@ -208,9 +207,9 @@
fn burn_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `197`
- // Estimated: `5055`
- // Minimum execution time: 12_894_000 picoseconds.
- Weight::from_parts(13_347_000, 5055)
+ // Estimated: `7035`
+ // Minimum execution time: 12_717_000 picoseconds.
+ Weight::from_parts(13_031_000, 7035)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -219,9 +218,9 @@
fn transfer_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
- // Estimated: `5104`
- // Minimum execution time: 6_678_000 picoseconds.
- Weight::from_parts(7_151_000, 5104)
+ // Estimated: `6094`
+ // Minimum execution time: 13_640_000 picoseconds.
+ Weight::from_parts(13_935_000, 6094)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -232,9 +231,9 @@
fn approve() -> Weight {
// Proof Size summary in bytes:
// Measured: `182`
- // Estimated: `2552`
- // Minimum execution time: 12_417_000 picoseconds.
- Weight::from_parts(12_658_000, 2552)
+ // Estimated: `3542`
+ // Minimum execution time: 11_769_000 picoseconds.
+ Weight::from_parts(12_072_000, 3542)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -245,9 +244,9 @@
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `170`
- // Estimated: `2552`
- // Minimum execution time: 12_322_000 picoseconds.
- Weight::from_parts(12_629_000, 2552)
+ // Estimated: `3542`
+ // Minimum execution time: 11_603_000 picoseconds.
+ Weight::from_parts(12_003_000, 3542)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -256,9 +255,9 @@
fn check_allowed_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `210`
- // Estimated: `2568`
- // Minimum execution time: 2_842_000 picoseconds.
- Weight::from_parts(3_077_000, 2568)
+ // Estimated: `3558`
+ // Minimum execution time: 5_682_000 picoseconds.
+ Weight::from_parts(5_892_000, 3558)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Fungible Allowance (r:0 w:1)
@@ -267,8 +266,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_532_000 picoseconds.
- Weight::from_parts(2_680_000, 0)
+ // Minimum execution time: 6_415_000 picoseconds.
+ Weight::from_parts(6_599_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Fungible Allowance (r:1 w:1)
@@ -280,9 +279,9 @@
fn burn_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `315`
- // Estimated: `7623`
- // Minimum execution time: 21_271_000 picoseconds.
- Weight::from_parts(21_709_000, 7623)
+ // Estimated: `10593`
+ // Minimum execution time: 20_257_000 picoseconds.
+ Weight::from_parts(20_625_000, 10593)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
pallets/maintenance/src/weights.rsdiffbeforeafterboth--- a/pallets/maintenance/src/weights.rs
+++ b/pallets/maintenance/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_maintenance
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -48,8 +47,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_721_000 picoseconds.
- Weight::from_parts(4_918_000, 0)
+ // Minimum execution time: 4_407_000 picoseconds.
+ Weight::from_parts(4_556_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Maintenance Enabled (r:0 w:1)
@@ -58,8 +57,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_795_000 picoseconds.
- Weight::from_parts(5_006_000, 0)
+ // Minimum execution time: 5_868_000 picoseconds.
+ Weight::from_parts(6_100_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Preimage StatusFor (r:1 w:0)
@@ -69,9 +68,9 @@
fn execute_preimage() -> Weight {
// Proof Size summary in bytes:
// Measured: `209`
- // Estimated: `5250`
- // Minimum execution time: 10_004_000 picoseconds.
- Weight::from_parts(10_964_000, 5250)
+ // Estimated: `7230`
+ // Minimum execution time: 14_046_000 picoseconds.
+ Weight::from_parts(14_419_000, 7230)
.saturating_add(T::DbWeight::get().reads(2_u64))
}
}
@@ -84,8 +83,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_721_000 picoseconds.
- Weight::from_parts(4_918_000, 0)
+ // Minimum execution time: 4_407_000 picoseconds.
+ Weight::from_parts(4_556_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Maintenance Enabled (r:0 w:1)
@@ -94,8 +93,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_795_000 picoseconds.
- Weight::from_parts(5_006_000, 0)
+ // Minimum execution time: 5_868_000 picoseconds.
+ Weight::from_parts(6_100_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Preimage StatusFor (r:1 w:0)
@@ -105,9 +104,9 @@
fn execute_preimage() -> Weight {
// Proof Size summary in bytes:
// Measured: `209`
- // Estimated: `5250`
- // Minimum execution time: 10_004_000 picoseconds.
- Weight::from_parts(10_964_000, 5250)
+ // Estimated: `7230`
+ // Minimum execution time: 14_046_000 picoseconds.
+ Weight::from_parts(14_419_000, 7230)
.saturating_add(RocksDbWeight::get().reads(2_u64))
}
}
pallets/nonfungible/src/weights.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/weights.rs
+++ b/pallets/nonfungible/src/weights.rs
@@ -3,8 +3,9 @@
//! Autogenerated weights for pallet_nonfungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
+//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -26,8 +27,6 @@
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
-#![allow(missing_docs)]
-#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
@@ -72,9 +71,9 @@
fn create_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `390`
- // Estimated: `59511`
- // Minimum execution time: 23_081_000 picoseconds.
- Weight::from_parts(23_551_000, 59511)
+ // Estimated: `63471`
+ // Minimum execution time: 25_892_000 picoseconds.
+ Weight::from_parts(26_424_000, 63471)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -94,11 +93,11 @@
fn create_multiple_items(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `390`
- // Estimated: `24232 + b * (35279 ±0)`
- // Minimum execution time: 4_557_000 picoseconds.
- Weight::from_parts(5_994_058, 24232)
- // Standard Error: 4_326
- .saturating_add(Weight::from_parts(7_369_489, 0).saturating_mul(b.into()))
+ // Estimated: `28192 + b * (35279 ±0)`
+ // Minimum execution time: 4_612_000 picoseconds.
+ Weight::from_parts(6_399_460, 28192)
+ // Standard Error: 5_119
+ .saturating_add(Weight::from_parts(7_230_389, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(2_u64))
@@ -121,11 +120,11 @@
fn create_multiple_items_ex(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `390`
- // Estimated: `21692 + b * (37819 ±0)`
- // Minimum execution time: 4_533_000 picoseconds.
- Weight::from_parts(2_822_660, 21692)
- // Standard Error: 3_650
- .saturating_add(Weight::from_parts(9_100_706, 0).saturating_mul(b.into()))
+ // Estimated: `25652 + b * (37819 ±0)`
+ // Minimum execution time: 4_538_000 picoseconds.
+ Weight::from_parts(4_686_000, 25652)
+ // Standard Error: 3_518
+ .saturating_add(Weight::from_parts(8_905_771, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
@@ -148,10 +147,10 @@
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_item() -> Weight {
// Proof Size summary in bytes:
- // Measured: `412`
- // Estimated: `12611`
- // Minimum execution time: 23_528_000 picoseconds.
- Weight::from_parts(24_680_000, 12611)
+ // Measured: `380`
+ // Estimated: `17561`
+ // Minimum execution time: 24_230_000 picoseconds.
+ Weight::from_parts(24_672_000, 17561)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -171,10 +170,10 @@
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_recursively_self_raw() -> Weight {
// Proof Size summary in bytes:
- // Measured: `412`
- // Estimated: `12611`
- // Minimum execution time: 29_770_000 picoseconds.
- Weight::from_parts(30_114_000, 12611)
+ // Measured: `380`
+ // Estimated: `17561`
+ // Minimum execution time: 30_521_000 picoseconds.
+ Weight::from_parts(31_241_000, 17561)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -197,12 +196,12 @@
/// The range of component `b` is `[0, 200]`.
fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `1530 + b * (58 ±0)`
- // Estimated: `18290 + b * (10097 ±0)`
- // Minimum execution time: 31_413_000 picoseconds.
- Weight::from_parts(31_865_000, 18290)
- // Standard Error: 980_032
- .saturating_add(Weight::from_parts(205_236_443, 0).saturating_mul(b.into()))
+ // Measured: `1467 + b * (58 ±0)`
+ // Estimated: `24230 + b * (10097 ±0)`
+ // Minimum execution time: 31_734_000 picoseconds.
+ Weight::from_parts(32_162_000, 24230)
+ // Standard Error: 210_514
+ .saturating_add(Weight::from_parts(71_382_804, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(6_u64))
@@ -219,10 +218,10 @@
/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn transfer_raw() -> Weight {
// Proof Size summary in bytes:
- // Measured: `412`
- // Estimated: `10144`
- // Minimum execution time: 9_307_000 picoseconds.
- Weight::from_parts(10_108_000, 10144)
+ // Measured: `380`
+ // Estimated: `13114`
+ // Minimum execution time: 18_305_000 picoseconds.
+ Weight::from_parts(18_859_000, 13114)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -232,10 +231,10 @@
/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn approve() -> Weight {
// Proof Size summary in bytes:
- // Measured: `358`
- // Estimated: `5064`
- // Minimum execution time: 11_507_000 picoseconds.
- Weight::from_parts(11_771_000, 5064)
+ // Measured: `326`
+ // Estimated: `7044`
+ // Minimum execution time: 10_977_000 picoseconds.
+ Weight::from_parts(11_184_000, 7044)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -246,9 +245,9 @@
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `313`
- // Estimated: `5064`
- // Minimum execution time: 11_558_000 picoseconds.
- Weight::from_parts(11_789_000, 5064)
+ // Estimated: `7044`
+ // Minimum execution time: 11_456_000 picoseconds.
+ Weight::from_parts(11_731_000, 7044)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -256,10 +255,10 @@
/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn check_allowed_raw() -> Weight {
// Proof Size summary in bytes:
- // Measured: `394`
- // Estimated: `2532`
- // Minimum execution time: 2_668_000 picoseconds.
- Weight::from_parts(2_877_000, 2532)
+ // Measured: `362`
+ // Estimated: `3522`
+ // Minimum execution time: 5_771_000 picoseconds.
+ Weight::from_parts(5_972_000, 3522)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible Allowance (r:1 w:1)
@@ -278,10 +277,10 @@
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_from() -> Weight {
// Proof Size summary in bytes:
- // Measured: `527`
- // Estimated: `12611`
- // Minimum execution time: 30_713_000 picoseconds.
- Weight::from_parts(31_160_000, 12611)
+ // Measured: `463`
+ // Estimated: `17561`
+ // Minimum execution time: 30_633_000 picoseconds.
+ Weight::from_parts(31_136_000, 17561)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -291,11 +290,11 @@
fn set_token_property_permissions(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `281`
- // Estimated: `19201`
- // Minimum execution time: 2_360_000 picoseconds.
- Weight::from_parts(2_396_000, 19201)
- // Standard Error: 43_257
- .saturating_add(Weight::from_parts(12_085_808, 0).saturating_mul(b.into()))
+ // Estimated: `20191`
+ // Minimum execution time: 2_300_000 picoseconds.
+ Weight::from_parts(2_382_000, 20191)
+ // Standard Error: 45_076
+ .saturating_add(Weight::from_parts(12_000_777, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -306,12 +305,12 @@
/// The range of component `b` is `[0, 64]`.
fn set_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `616 + b * (261 ±0)`
- // Estimated: `54480`
- // Minimum execution time: 12_543_000 picoseconds.
- Weight::from_parts(12_686_000, 54480)
- // Standard Error: 52_286
- .saturating_add(Weight::from_parts(6_894_785, 0).saturating_mul(b.into()))
+ // Measured: `584 + b * (261 ±0)`
+ // Estimated: `56460`
+ // Minimum execution time: 12_422_000 picoseconds.
+ Weight::from_parts(5_523_689, 56460)
+ // Standard Error: 74_137
+ .saturating_add(Weight::from_parts(6_320_501, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -322,12 +321,12 @@
/// The range of component `b` is `[0, 64]`.
fn delete_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `653 + b * (33291 ±0)`
- // Estimated: `54480`
- // Minimum execution time: 12_352_000 picoseconds.
- Weight::from_parts(12_523_000, 54480)
- // Standard Error: 70_401
- .saturating_add(Weight::from_parts(21_959_228, 0).saturating_mul(b.into()))
+ // Measured: `589 + b * (33291 ±0)`
+ // Estimated: `56460`
+ // Minimum execution time: 12_006_000 picoseconds.
+ Weight::from_parts(12_216_000, 56460)
+ // Standard Error: 83_431
+ .saturating_add(Weight::from_parts(24_556_999, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -335,10 +334,10 @@
/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn token_owner() -> Weight {
// Proof Size summary in bytes:
- // Measured: `358`
- // Estimated: `2532`
- // Minimum execution time: 4_797_000 picoseconds.
- Weight::from_parts(5_499_000, 2532)
+ // Measured: `326`
+ // Estimated: `3522`
+ // Minimum execution time: 4_827_000 picoseconds.
+ Weight::from_parts(4_984_000, 3522)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible CollectionAllowance (r:0 w:1)
@@ -347,8 +346,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 6_303_000 picoseconds.
- Weight::from_parts(6_712_000, 0)
+ // Minimum execution time: 6_151_000 picoseconds.
+ Weight::from_parts(6_394_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Nonfungible CollectionAllowance (r:1 w:0)
@@ -356,9 +355,9 @@
fn allowance_for_all() -> Weight {
// Proof Size summary in bytes:
// Measured: `109`
- // Estimated: `2586`
- // Minimum execution time: 3_798_000 picoseconds.
- Weight::from_parts(4_017_000, 2586)
+ // Estimated: `3576`
+ // Minimum execution time: 3_791_000 picoseconds.
+ Weight::from_parts(3_950_000, 3576)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible TokenProperties (r:1 w:1)
@@ -366,9 +365,9 @@
fn repair_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `300`
- // Estimated: `35279`
- // Minimum execution time: 5_531_000 picoseconds.
- Weight::from_parts(5_750_000, 35279)
+ // Estimated: `36269`
+ // Minimum execution time: 5_364_000 picoseconds.
+ Weight::from_parts(5_539_000, 36269)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -391,9 +390,9 @@
fn create_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `390`
- // Estimated: `59511`
- // Minimum execution time: 23_081_000 picoseconds.
- Weight::from_parts(23_551_000, 59511)
+ // Estimated: `63471`
+ // Minimum execution time: 25_892_000 picoseconds.
+ Weight::from_parts(26_424_000, 63471)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -413,11 +412,11 @@
fn create_multiple_items(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `390`
- // Estimated: `24232 + b * (35279 ±0)`
- // Minimum execution time: 4_557_000 picoseconds.
- Weight::from_parts(5_994_058, 24232)
- // Standard Error: 4_326
- .saturating_add(Weight::from_parts(7_369_489, 0).saturating_mul(b.into()))
+ // Estimated: `28192 + b * (35279 ±0)`
+ // Minimum execution time: 4_612_000 picoseconds.
+ Weight::from_parts(6_399_460, 28192)
+ // Standard Error: 5_119
+ .saturating_add(Weight::from_parts(7_230_389, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(2_u64))
@@ -440,11 +439,11 @@
fn create_multiple_items_ex(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `390`
- // Estimated: `21692 + b * (37819 ±0)`
- // Minimum execution time: 4_533_000 picoseconds.
- Weight::from_parts(2_822_660, 21692)
- // Standard Error: 3_650
- .saturating_add(Weight::from_parts(9_100_706, 0).saturating_mul(b.into()))
+ // Estimated: `25652 + b * (37819 ±0)`
+ // Minimum execution time: 4_538_000 picoseconds.
+ Weight::from_parts(4_686_000, 25652)
+ // Standard Error: 3_518
+ .saturating_add(Weight::from_parts(8_905_771, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
@@ -467,10 +466,10 @@
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_item() -> Weight {
// Proof Size summary in bytes:
- // Measured: `412`
- // Estimated: `12611`
- // Minimum execution time: 23_528_000 picoseconds.
- Weight::from_parts(24_680_000, 12611)
+ // Measured: `380`
+ // Estimated: `17561`
+ // Minimum execution time: 24_230_000 picoseconds.
+ Weight::from_parts(24_672_000, 17561)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -490,10 +489,10 @@
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_recursively_self_raw() -> Weight {
// Proof Size summary in bytes:
- // Measured: `412`
- // Estimated: `12611`
- // Minimum execution time: 29_770_000 picoseconds.
- Weight::from_parts(30_114_000, 12611)
+ // Measured: `380`
+ // Estimated: `17561`
+ // Minimum execution time: 30_521_000 picoseconds.
+ Weight::from_parts(31_241_000, 17561)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -516,12 +515,12 @@
/// The range of component `b` is `[0, 200]`.
fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `1530 + b * (58 ±0)`
- // Estimated: `18290 + b * (10097 ±0)`
- // Minimum execution time: 31_413_000 picoseconds.
- Weight::from_parts(31_865_000, 18290)
- // Standard Error: 980_032
- .saturating_add(Weight::from_parts(205_236_443, 0).saturating_mul(b.into()))
+ // Measured: `1467 + b * (58 ±0)`
+ // Estimated: `24230 + b * (10097 ±0)`
+ // Minimum execution time: 31_734_000 picoseconds.
+ Weight::from_parts(32_162_000, 24230)
+ // Standard Error: 210_514
+ .saturating_add(Weight::from_parts(71_382_804, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(6_u64))
@@ -538,10 +537,10 @@
/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn transfer_raw() -> Weight {
// Proof Size summary in bytes:
- // Measured: `412`
- // Estimated: `10144`
- // Minimum execution time: 9_307_000 picoseconds.
- Weight::from_parts(10_108_000, 10144)
+ // Measured: `380`
+ // Estimated: `13114`
+ // Minimum execution time: 18_305_000 picoseconds.
+ Weight::from_parts(18_859_000, 13114)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -551,10 +550,10 @@
/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn approve() -> Weight {
// Proof Size summary in bytes:
- // Measured: `358`
- // Estimated: `5064`
- // Minimum execution time: 11_507_000 picoseconds.
- Weight::from_parts(11_771_000, 5064)
+ // Measured: `326`
+ // Estimated: `7044`
+ // Minimum execution time: 10_977_000 picoseconds.
+ Weight::from_parts(11_184_000, 7044)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -565,9 +564,9 @@
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `313`
- // Estimated: `5064`
- // Minimum execution time: 11_558_000 picoseconds.
- Weight::from_parts(11_789_000, 5064)
+ // Estimated: `7044`
+ // Minimum execution time: 11_456_000 picoseconds.
+ Weight::from_parts(11_731_000, 7044)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -575,10 +574,10 @@
/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn check_allowed_raw() -> Weight {
// Proof Size summary in bytes:
- // Measured: `394`
- // Estimated: `2532`
- // Minimum execution time: 2_668_000 picoseconds.
- Weight::from_parts(2_877_000, 2532)
+ // Measured: `362`
+ // Estimated: `3522`
+ // Minimum execution time: 5_771_000 picoseconds.
+ Weight::from_parts(5_972_000, 3522)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible Allowance (r:1 w:1)
@@ -597,10 +596,10 @@
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn burn_from() -> Weight {
// Proof Size summary in bytes:
- // Measured: `527`
- // Estimated: `12611`
- // Minimum execution time: 30_713_000 picoseconds.
- Weight::from_parts(31_160_000, 12611)
+ // Measured: `463`
+ // Estimated: `17561`
+ // Minimum execution time: 30_633_000 picoseconds.
+ Weight::from_parts(31_136_000, 17561)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -610,11 +609,11 @@
fn set_token_property_permissions(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `281`
- // Estimated: `19201`
- // Minimum execution time: 2_360_000 picoseconds.
- Weight::from_parts(2_396_000, 19201)
- // Standard Error: 43_257
- .saturating_add(Weight::from_parts(12_085_808, 0).saturating_mul(b.into()))
+ // Estimated: `20191`
+ // Minimum execution time: 2_300_000 picoseconds.
+ Weight::from_parts(2_382_000, 20191)
+ // Standard Error: 45_076
+ .saturating_add(Weight::from_parts(12_000_777, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -625,12 +624,12 @@
/// The range of component `b` is `[0, 64]`.
fn set_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `616 + b * (261 ±0)`
- // Estimated: `54480`
- // Minimum execution time: 12_543_000 picoseconds.
- Weight::from_parts(12_686_000, 54480)
- // Standard Error: 52_286
- .saturating_add(Weight::from_parts(6_894_785, 0).saturating_mul(b.into()))
+ // Measured: `584 + b * (261 ±0)`
+ // Estimated: `56460`
+ // Minimum execution time: 12_422_000 picoseconds.
+ Weight::from_parts(5_523_689, 56460)
+ // Standard Error: 74_137
+ .saturating_add(Weight::from_parts(6_320_501, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -641,12 +640,12 @@
/// The range of component `b` is `[0, 64]`.
fn delete_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `653 + b * (33291 ±0)`
- // Estimated: `54480`
- // Minimum execution time: 12_352_000 picoseconds.
- Weight::from_parts(12_523_000, 54480)
- // Standard Error: 70_401
- .saturating_add(Weight::from_parts(21_959_228, 0).saturating_mul(b.into()))
+ // Measured: `589 + b * (33291 ±0)`
+ // Estimated: `56460`
+ // Minimum execution time: 12_006_000 picoseconds.
+ Weight::from_parts(12_216_000, 56460)
+ // Standard Error: 83_431
+ .saturating_add(Weight::from_parts(24_556_999, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -654,10 +653,10 @@
/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
fn token_owner() -> Weight {
// Proof Size summary in bytes:
- // Measured: `358`
- // Estimated: `2532`
- // Minimum execution time: 4_797_000 picoseconds.
- Weight::from_parts(5_499_000, 2532)
+ // Measured: `326`
+ // Estimated: `3522`
+ // Minimum execution time: 4_827_000 picoseconds.
+ Weight::from_parts(4_984_000, 3522)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible CollectionAllowance (r:0 w:1)
@@ -666,8 +665,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 6_303_000 picoseconds.
- Weight::from_parts(6_712_000, 0)
+ // Minimum execution time: 6_151_000 picoseconds.
+ Weight::from_parts(6_394_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Nonfungible CollectionAllowance (r:1 w:0)
@@ -675,9 +674,9 @@
fn allowance_for_all() -> Weight {
// Proof Size summary in bytes:
// Measured: `109`
- // Estimated: `2586`
- // Minimum execution time: 3_798_000 picoseconds.
- Weight::from_parts(4_017_000, 2586)
+ // Estimated: `3576`
+ // Minimum execution time: 3_791_000 picoseconds.
+ Weight::from_parts(3_950_000, 3576)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible TokenProperties (r:1 w:1)
@@ -685,9 +684,9 @@
fn repair_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `300`
- // Estimated: `35279`
- // Minimum execution time: 5_531_000 picoseconds.
- Weight::from_parts(5_750_000, 35279)
+ // Estimated: `36269`
+ // Minimum execution time: 5_364_000 picoseconds.
+ Weight::from_parts(5_539_000, 36269)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
pallets/refungible/src/weights.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))
}