mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 15:47:58 +00:00
New Weights for All Pallets (#12325)
* new weights for everything * fix * fmt * new batch * fmt * new batch * Update run_all_benchmarks.sh * add headers * update weights * Update lib.rs * block and extrinsic weight
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -18,24 +18,24 @@
|
||||
//! Autogenerated weights for pallet_uniques
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-10-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// /home/benchbot/cargo_target_dir/production/substrate
|
||||
// ./target/production/substrate
|
||||
// benchmark
|
||||
// pallet
|
||||
// --chain=dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_uniques
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --heap-pages=4096
|
||||
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/substrate/.git/.artifacts/bench.json
|
||||
// --pallet=pallet_uniques
|
||||
// --chain=dev
|
||||
// --output=./frame/uniques/src/weights.rs
|
||||
// --header=./HEADER-APACHE2
|
||||
// --template=./.maintain/frame-weight-template.hbs
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
@@ -81,16 +81,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||
fn create() -> Weight {
|
||||
// Minimum execution time: 32_901 nanoseconds.
|
||||
Weight::from_ref_time(33_628_000 as u64)
|
||||
// Minimum execution time: 35_358 nanoseconds.
|
||||
Weight::from_ref_time(35_935_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||
fn force_create() -> Weight {
|
||||
// Minimum execution time: 21_633 nanoseconds.
|
||||
Weight::from_ref_time(22_380_000 as u64)
|
||||
// Minimum execution time: 22_767 nanoseconds.
|
||||
Weight::from_ref_time(23_235_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -106,14 +106,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// The range of component `m` is `[0, 1000]`.
|
||||
/// The range of component `a` is `[0, 1000]`.
|
||||
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
|
||||
// Minimum execution time: 2_429_508 nanoseconds.
|
||||
Weight::from_ref_time(2_446_263_000 as u64)
|
||||
// Standard Error: 28_236
|
||||
.saturating_add(Weight::from_ref_time(8_477_090 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 28_236
|
||||
.saturating_add(Weight::from_ref_time(314_268 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 28_236
|
||||
.saturating_add(Weight::from_ref_time(249_624 as u64).saturating_mul(a as u64))
|
||||
// Minimum execution time: 2_453_194 nanoseconds.
|
||||
Weight::from_ref_time(2_469_109_000 as u64)
|
||||
// Standard Error: 27_900
|
||||
.saturating_add(Weight::from_ref_time(8_974_176 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 27_900
|
||||
.saturating_add(Weight::from_ref_time(344_842 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 27_900
|
||||
.saturating_add(Weight::from_ref_time(185_438 as u64).saturating_mul(a as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
@@ -126,8 +126,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Uniques CollectionMaxSupply (r:1 w:0)
|
||||
// Storage: Uniques Account (r:0 w:1)
|
||||
fn mint() -> Weight {
|
||||
// Minimum execution time: 41_938 nanoseconds.
|
||||
Weight::from_ref_time(42_814_000 as u64)
|
||||
// Minimum execution time: 45_115 nanoseconds.
|
||||
Weight::from_ref_time(45_746_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -136,8 +136,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Uniques Account (r:0 w:1)
|
||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||
fn burn() -> Weight {
|
||||
// Minimum execution time: 43_593 nanoseconds.
|
||||
Weight::from_ref_time(44_420_000 as u64)
|
||||
// Minimum execution time: 46_447 nanoseconds.
|
||||
Weight::from_ref_time(46_994_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -146,8 +146,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Uniques Account (r:0 w:2)
|
||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||
fn transfer() -> Weight {
|
||||
// Minimum execution time: 34_037 nanoseconds.
|
||||
Weight::from_ref_time(34_848_000 as u64)
|
||||
// Minimum execution time: 35_953 nanoseconds.
|
||||
Weight::from_ref_time(36_375_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -155,10 +155,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Uniques Asset (r:102 w:102)
|
||||
/// The range of component `i` is `[0, 5000]`.
|
||||
fn redeposit(i: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_295 nanoseconds.
|
||||
Weight::from_ref_time(23_482_000 as u64)
|
||||
// Standard Error: 9_490
|
||||
.saturating_add(Weight::from_ref_time(10_899_320 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 24_238 nanoseconds.
|
||||
Weight::from_ref_time(24_788_000 as u64)
|
||||
// Standard Error: 9_232
|
||||
.saturating_add(Weight::from_ref_time(11_322_011 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64)))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
@@ -167,30 +167,30 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Uniques Asset (r:1 w:1)
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
fn freeze() -> Weight {
|
||||
// Minimum execution time: 27_005 nanoseconds.
|
||||
Weight::from_ref_time(27_344_000 as u64)
|
||||
// Minimum execution time: 28_595 nanoseconds.
|
||||
Weight::from_ref_time(29_280_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Asset (r:1 w:1)
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
fn thaw() -> Weight {
|
||||
// Minimum execution time: 26_815 nanoseconds.
|
||||
Weight::from_ref_time(27_400_000 as u64)
|
||||
// Minimum execution time: 28_581 nanoseconds.
|
||||
Weight::from_ref_time(29_038_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
fn freeze_collection() -> Weight {
|
||||
// Minimum execution time: 21_988 nanoseconds.
|
||||
Weight::from_ref_time(22_596_000 as u64)
|
||||
// Minimum execution time: 24_298 nanoseconds.
|
||||
Weight::from_ref_time(24_742_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
fn thaw_collection() -> Weight {
|
||||
// Minimum execution time: 21_886 nanoseconds.
|
||||
Weight::from_ref_time(22_617_000 as u64)
|
||||
// Minimum execution time: 24_004 nanoseconds.
|
||||
Weight::from_ref_time(24_536_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -198,23 +198,23 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassAccount (r:0 w:2)
|
||||
fn transfer_ownership() -> Weight {
|
||||
// Minimum execution time: 30_241 nanoseconds.
|
||||
Weight::from_ref_time(30_677_000 as u64)
|
||||
// Minimum execution time: 32_599 nanoseconds.
|
||||
Weight::from_ref_time(33_201_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
fn set_team() -> Weight {
|
||||
// Minimum execution time: 23_011 nanoseconds.
|
||||
Weight::from_ref_time(23_796_000 as u64)
|
||||
// Minimum execution time: 25_137 nanoseconds.
|
||||
Weight::from_ref_time(25_877_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||
fn force_item_status() -> Weight {
|
||||
// Minimum execution time: 25_739 nanoseconds.
|
||||
Weight::from_ref_time(26_572_000 as u64)
|
||||
// Minimum execution time: 27_736 nanoseconds.
|
||||
Weight::from_ref_time(28_279_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -222,8 +222,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||
// Storage: Uniques Attribute (r:1 w:1)
|
||||
fn set_attribute() -> Weight {
|
||||
// Minimum execution time: 48_486 nanoseconds.
|
||||
Weight::from_ref_time(49_029_000 as u64)
|
||||
// Minimum execution time: 51_195 nanoseconds.
|
||||
Weight::from_ref_time(51_674_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -231,79 +231,79 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||
// Storage: Uniques Attribute (r:1 w:1)
|
||||
fn clear_attribute() -> Weight {
|
||||
// Minimum execution time: 47_408 nanoseconds.
|
||||
Weight::from_ref_time(48_753_000 as u64)
|
||||
// Minimum execution time: 50_159 nanoseconds.
|
||||
Weight::from_ref_time(51_412_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||
fn set_metadata() -> Weight {
|
||||
// Minimum execution time: 40_085 nanoseconds.
|
||||
Weight::from_ref_time(40_625_000 as u64)
|
||||
// Minimum execution time: 42_608 nanoseconds.
|
||||
Weight::from_ref_time(42_880_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||
fn clear_metadata() -> Weight {
|
||||
// Minimum execution time: 40_546 nanoseconds.
|
||||
Weight::from_ref_time(41_113_000 as u64)
|
||||
// Minimum execution time: 43_239 nanoseconds.
|
||||
Weight::from_ref_time(43_752_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||
fn set_collection_metadata() -> Weight {
|
||||
// Minimum execution time: 39_902 nanoseconds.
|
||||
Weight::from_ref_time(40_599_000 as u64)
|
||||
// Minimum execution time: 41_224 nanoseconds.
|
||||
Weight::from_ref_time(41_974_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||
fn clear_collection_metadata() -> Weight {
|
||||
// Minimum execution time: 37_597 nanoseconds.
|
||||
Weight::from_ref_time(37_964_000 as u64)
|
||||
// Minimum execution time: 40_836 nanoseconds.
|
||||
Weight::from_ref_time(41_864_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
// Storage: Uniques Asset (r:1 w:1)
|
||||
fn approve_transfer() -> Weight {
|
||||
// Minimum execution time: 28_719 nanoseconds.
|
||||
Weight::from_ref_time(29_213_000 as u64)
|
||||
// Minimum execution time: 29_558 nanoseconds.
|
||||
Weight::from_ref_time(29_948_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
// Storage: Uniques Asset (r:1 w:1)
|
||||
fn cancel_approval() -> Weight {
|
||||
// Minimum execution time: 27_608 nanoseconds.
|
||||
Weight::from_ref_time(28_096_000 as u64)
|
||||
// Minimum execution time: 29_694 nanoseconds.
|
||||
Weight::from_ref_time(30_156_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
||||
fn set_accept_ownership() -> Weight {
|
||||
// Minimum execution time: 25_568 nanoseconds.
|
||||
Weight::from_ref_time(26_098_000 as u64)
|
||||
// Minimum execution time: 27_819 nanoseconds.
|
||||
Weight::from_ref_time(28_245_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques CollectionMaxSupply (r:1 w:1)
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
fn set_collection_max_supply() -> Weight {
|
||||
// Minimum execution time: 24_521 nanoseconds.
|
||||
Weight::from_ref_time(25_062_000 as u64)
|
||||
// Minimum execution time: 26_317 nanoseconds.
|
||||
Weight::from_ref_time(26_893_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Asset (r:1 w:0)
|
||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||
fn set_price() -> Weight {
|
||||
// Minimum execution time: 25_337 nanoseconds.
|
||||
Weight::from_ref_time(25_902_000 as u64)
|
||||
// Minimum execution time: 26_546 nanoseconds.
|
||||
Weight::from_ref_time(27_142_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -312,8 +312,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
// Storage: Uniques Account (r:0 w:2)
|
||||
fn buy_item() -> Weight {
|
||||
// Minimum execution time: 46_736 nanoseconds.
|
||||
Weight::from_ref_time(47_264_000 as u64)
|
||||
// Minimum execution time: 49_238 nanoseconds.
|
||||
Weight::from_ref_time(50_444_000 as u64)
|
||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -324,16 +324,16 @@ impl WeightInfo for () {
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||
fn create() -> Weight {
|
||||
// Minimum execution time: 32_901 nanoseconds.
|
||||
Weight::from_ref_time(33_628_000 as u64)
|
||||
// Minimum execution time: 35_358 nanoseconds.
|
||||
Weight::from_ref_time(35_935_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||
fn force_create() -> Weight {
|
||||
// Minimum execution time: 21_633 nanoseconds.
|
||||
Weight::from_ref_time(22_380_000 as u64)
|
||||
// Minimum execution time: 22_767 nanoseconds.
|
||||
Weight::from_ref_time(23_235_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -349,14 +349,14 @@ impl WeightInfo for () {
|
||||
/// The range of component `m` is `[0, 1000]`.
|
||||
/// The range of component `a` is `[0, 1000]`.
|
||||
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
|
||||
// Minimum execution time: 2_429_508 nanoseconds.
|
||||
Weight::from_ref_time(2_446_263_000 as u64)
|
||||
// Standard Error: 28_236
|
||||
.saturating_add(Weight::from_ref_time(8_477_090 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 28_236
|
||||
.saturating_add(Weight::from_ref_time(314_268 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 28_236
|
||||
.saturating_add(Weight::from_ref_time(249_624 as u64).saturating_mul(a as u64))
|
||||
// Minimum execution time: 2_453_194 nanoseconds.
|
||||
Weight::from_ref_time(2_469_109_000 as u64)
|
||||
// Standard Error: 27_900
|
||||
.saturating_add(Weight::from_ref_time(8_974_176 as u64).saturating_mul(n as u64))
|
||||
// Standard Error: 27_900
|
||||
.saturating_add(Weight::from_ref_time(344_842 as u64).saturating_mul(m as u64))
|
||||
// Standard Error: 27_900
|
||||
.saturating_add(Weight::from_ref_time(185_438 as u64).saturating_mul(a as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(n as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
@@ -369,8 +369,8 @@ impl WeightInfo for () {
|
||||
// Storage: Uniques CollectionMaxSupply (r:1 w:0)
|
||||
// Storage: Uniques Account (r:0 w:1)
|
||||
fn mint() -> Weight {
|
||||
// Minimum execution time: 41_938 nanoseconds.
|
||||
Weight::from_ref_time(42_814_000 as u64)
|
||||
// Minimum execution time: 45_115 nanoseconds.
|
||||
Weight::from_ref_time(45_746_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -379,8 +379,8 @@ impl WeightInfo for () {
|
||||
// Storage: Uniques Account (r:0 w:1)
|
||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||
fn burn() -> Weight {
|
||||
// Minimum execution time: 43_593 nanoseconds.
|
||||
Weight::from_ref_time(44_420_000 as u64)
|
||||
// Minimum execution time: 46_447 nanoseconds.
|
||||
Weight::from_ref_time(46_994_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -389,8 +389,8 @@ impl WeightInfo for () {
|
||||
// Storage: Uniques Account (r:0 w:2)
|
||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||
fn transfer() -> Weight {
|
||||
// Minimum execution time: 34_037 nanoseconds.
|
||||
Weight::from_ref_time(34_848_000 as u64)
|
||||
// Minimum execution time: 35_953 nanoseconds.
|
||||
Weight::from_ref_time(36_375_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
@@ -398,10 +398,10 @@ impl WeightInfo for () {
|
||||
// Storage: Uniques Asset (r:102 w:102)
|
||||
/// The range of component `i` is `[0, 5000]`.
|
||||
fn redeposit(i: u32, ) -> Weight {
|
||||
// Minimum execution time: 23_295 nanoseconds.
|
||||
Weight::from_ref_time(23_482_000 as u64)
|
||||
// Standard Error: 9_490
|
||||
.saturating_add(Weight::from_ref_time(10_899_320 as u64).saturating_mul(i as u64))
|
||||
// Minimum execution time: 24_238 nanoseconds.
|
||||
Weight::from_ref_time(24_788_000 as u64)
|
||||
// Standard Error: 9_232
|
||||
.saturating_add(Weight::from_ref_time(11_322_011 as u64).saturating_mul(i as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(i as u64)))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
@@ -410,30 +410,30 @@ impl WeightInfo for () {
|
||||
// Storage: Uniques Asset (r:1 w:1)
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
fn freeze() -> Weight {
|
||||
// Minimum execution time: 27_005 nanoseconds.
|
||||
Weight::from_ref_time(27_344_000 as u64)
|
||||
// Minimum execution time: 28_595 nanoseconds.
|
||||
Weight::from_ref_time(29_280_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Asset (r:1 w:1)
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
fn thaw() -> Weight {
|
||||
// Minimum execution time: 26_815 nanoseconds.
|
||||
Weight::from_ref_time(27_400_000 as u64)
|
||||
// Minimum execution time: 28_581 nanoseconds.
|
||||
Weight::from_ref_time(29_038_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
fn freeze_collection() -> Weight {
|
||||
// Minimum execution time: 21_988 nanoseconds.
|
||||
Weight::from_ref_time(22_596_000 as u64)
|
||||
// Minimum execution time: 24_298 nanoseconds.
|
||||
Weight::from_ref_time(24_742_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
fn thaw_collection() -> Weight {
|
||||
// Minimum execution time: 21_886 nanoseconds.
|
||||
Weight::from_ref_time(22_617_000 as u64)
|
||||
// Minimum execution time: 24_004 nanoseconds.
|
||||
Weight::from_ref_time(24_536_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -441,23 +441,23 @@ impl WeightInfo for () {
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassAccount (r:0 w:2)
|
||||
fn transfer_ownership() -> Weight {
|
||||
// Minimum execution time: 30_241 nanoseconds.
|
||||
Weight::from_ref_time(30_677_000 as u64)
|
||||
// Minimum execution time: 32_599 nanoseconds.
|
||||
Weight::from_ref_time(33_201_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
fn set_team() -> Weight {
|
||||
// Minimum execution time: 23_011 nanoseconds.
|
||||
Weight::from_ref_time(23_796_000 as u64)
|
||||
// Minimum execution time: 25_137 nanoseconds.
|
||||
Weight::from_ref_time(25_877_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||
fn force_item_status() -> Weight {
|
||||
// Minimum execution time: 25_739 nanoseconds.
|
||||
Weight::from_ref_time(26_572_000 as u64)
|
||||
// Minimum execution time: 27_736 nanoseconds.
|
||||
Weight::from_ref_time(28_279_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -465,8 +465,8 @@ impl WeightInfo for () {
|
||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||
// Storage: Uniques Attribute (r:1 w:1)
|
||||
fn set_attribute() -> Weight {
|
||||
// Minimum execution time: 48_486 nanoseconds.
|
||||
Weight::from_ref_time(49_029_000 as u64)
|
||||
// Minimum execution time: 51_195 nanoseconds.
|
||||
Weight::from_ref_time(51_674_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -474,79 +474,79 @@ impl WeightInfo for () {
|
||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||
// Storage: Uniques Attribute (r:1 w:1)
|
||||
fn clear_attribute() -> Weight {
|
||||
// Minimum execution time: 47_408 nanoseconds.
|
||||
Weight::from_ref_time(48_753_000 as u64)
|
||||
// Minimum execution time: 50_159 nanoseconds.
|
||||
Weight::from_ref_time(51_412_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||
fn set_metadata() -> Weight {
|
||||
// Minimum execution time: 40_085 nanoseconds.
|
||||
Weight::from_ref_time(40_625_000 as u64)
|
||||
// Minimum execution time: 42_608 nanoseconds.
|
||||
Weight::from_ref_time(42_880_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||
fn clear_metadata() -> Weight {
|
||||
// Minimum execution time: 40_546 nanoseconds.
|
||||
Weight::from_ref_time(41_113_000 as u64)
|
||||
// Minimum execution time: 43_239 nanoseconds.
|
||||
Weight::from_ref_time(43_752_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:1)
|
||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||
fn set_collection_metadata() -> Weight {
|
||||
// Minimum execution time: 39_902 nanoseconds.
|
||||
Weight::from_ref_time(40_599_000 as u64)
|
||||
// Minimum execution time: 41_224 nanoseconds.
|
||||
Weight::from_ref_time(41_974_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||
fn clear_collection_metadata() -> Weight {
|
||||
// Minimum execution time: 37_597 nanoseconds.
|
||||
Weight::from_ref_time(37_964_000 as u64)
|
||||
// Minimum execution time: 40_836 nanoseconds.
|
||||
Weight::from_ref_time(41_864_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
// Storage: Uniques Asset (r:1 w:1)
|
||||
fn approve_transfer() -> Weight {
|
||||
// Minimum execution time: 28_719 nanoseconds.
|
||||
Weight::from_ref_time(29_213_000 as u64)
|
||||
// Minimum execution time: 29_558 nanoseconds.
|
||||
Weight::from_ref_time(29_948_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
// Storage: Uniques Asset (r:1 w:1)
|
||||
fn cancel_approval() -> Weight {
|
||||
// Minimum execution time: 27_608 nanoseconds.
|
||||
Weight::from_ref_time(28_096_000 as u64)
|
||||
// Minimum execution time: 29_694 nanoseconds.
|
||||
Weight::from_ref_time(30_156_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
||||
fn set_accept_ownership() -> Weight {
|
||||
// Minimum execution time: 25_568 nanoseconds.
|
||||
Weight::from_ref_time(26_098_000 as u64)
|
||||
// Minimum execution time: 27_819 nanoseconds.
|
||||
Weight::from_ref_time(28_245_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques CollectionMaxSupply (r:1 w:1)
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
fn set_collection_max_supply() -> Weight {
|
||||
// Minimum execution time: 24_521 nanoseconds.
|
||||
Weight::from_ref_time(25_062_000 as u64)
|
||||
// Minimum execution time: 26_317 nanoseconds.
|
||||
Weight::from_ref_time(26_893_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(2 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: Uniques Asset (r:1 w:0)
|
||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||
fn set_price() -> Weight {
|
||||
// Minimum execution time: 25_337 nanoseconds.
|
||||
Weight::from_ref_time(25_902_000 as u64)
|
||||
// Minimum execution time: 26_546 nanoseconds.
|
||||
Weight::from_ref_time(27_142_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -555,8 +555,8 @@ impl WeightInfo for () {
|
||||
// Storage: Uniques Class (r:1 w:0)
|
||||
// Storage: Uniques Account (r:0 w:2)
|
||||
fn buy_item() -> Weight {
|
||||
// Minimum execution time: 46_736 nanoseconds.
|
||||
Weight::from_ref_time(47_264_000 as u64)
|
||||
// Minimum execution time: 49_238 nanoseconds.
|
||||
Weight::from_ref_time(50_444_000 as u64)
|
||||
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user