difftreelog
chore temporary bench nft/rft/common
in: master
3 files changed
pallets/common/src/weights.rsdiffbeforeafterboth--- a/pallets/common/src/weights.rs
+++ b/pallets/common/src/weights.rs
@@ -3,9 +3,9 @@
//! Autogenerated weights for pallet_common
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-09-26, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-09-30, 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`
+//! HOSTNAME: `hearthstone`, CPU: `AMD Ryzen 9 7950X3D 16-Core Processor`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -20,7 +20,7 @@
// *
// --template=.maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=400
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/common/src/weights.rs
@@ -36,6 +36,7 @@
fn set_collection_properties(b: u32, ) -> Weight;
fn delete_collection_properties(b: u32, ) -> Weight;
fn check_accesslist() -> Weight;
+ fn init_token_properties_common() -> Weight;
}
/// Weights for pallet_common using the Substrate node and recommended hardware.
@@ -48,10 +49,10 @@
// Proof Size summary in bytes:
// Measured: `298`
// Estimated: `44457`
- // Minimum execution time: 4_862_000 picoseconds.
- Weight::from_parts(5_003_000, 44457)
- // Standard Error: 3_889
- .saturating_add(Weight::from_parts(4_918_195, 0).saturating_mul(b.into()))
+ // Minimum execution time: 2_831_000 picoseconds.
+ Weight::from_parts(8_612_860, 44457)
+ // Standard Error: 8_791
+ .saturating_add(Weight::from_parts(2_512_039, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -62,10 +63,10 @@
// Proof Size summary in bytes:
// Measured: `303 + b * (33030 ±0)`
// Estimated: `44457`
- // Minimum execution time: 4_739_000 picoseconds.
- Weight::from_parts(4_887_000, 44457)
- // Standard Error: 37_951
- .saturating_add(Weight::from_parts(23_410_931, 0).saturating_mul(b.into()))
+ // Minimum execution time: 2_650_000 picoseconds.
+ Weight::from_parts(2_750_000, 44457)
+ // Standard Error: 28_392
+ .saturating_add(Weight::from_parts(8_897_514, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -75,10 +76,22 @@
// Proof Size summary in bytes:
// Measured: `373`
// Estimated: `3535`
- // Minimum execution time: 4_183_000 picoseconds.
- Weight::from_parts(4_391_000, 3535)
+ // Minimum execution time: 2_730_000 picoseconds.
+ Weight::from_parts(2_850_000, 3535)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
+ /// Storage: Common IsAdmin (r:1 w:0)
+ /// Proof: Common IsAdmin (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
+ /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
+ /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ fn init_token_properties_common() -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `326`
+ // Estimated: `20191`
+ // Minimum execution time: 3_770_000 picoseconds.
+ Weight::from_parts(3_930_000, 20191)
+ .saturating_add(T::DbWeight::get().reads(2_u64))
+ }
}
// For backwards compatibility and tests
@@ -90,10 +103,10 @@
// Proof Size summary in bytes:
// Measured: `298`
// Estimated: `44457`
- // Minimum execution time: 4_862_000 picoseconds.
- Weight::from_parts(5_003_000, 44457)
- // Standard Error: 3_889
- .saturating_add(Weight::from_parts(4_918_195, 0).saturating_mul(b.into()))
+ // Minimum execution time: 2_831_000 picoseconds.
+ Weight::from_parts(8_612_860, 44457)
+ // Standard Error: 8_791
+ .saturating_add(Weight::from_parts(2_512_039, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -104,10 +117,10 @@
// Proof Size summary in bytes:
// Measured: `303 + b * (33030 ±0)`
// Estimated: `44457`
- // Minimum execution time: 4_739_000 picoseconds.
- Weight::from_parts(4_887_000, 44457)
- // Standard Error: 37_951
- .saturating_add(Weight::from_parts(23_410_931, 0).saturating_mul(b.into()))
+ // Minimum execution time: 2_650_000 picoseconds.
+ Weight::from_parts(2_750_000, 44457)
+ // Standard Error: 28_392
+ .saturating_add(Weight::from_parts(8_897_514, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -117,9 +130,21 @@
// Proof Size summary in bytes:
// Measured: `373`
// Estimated: `3535`
- // Minimum execution time: 4_183_000 picoseconds.
- Weight::from_parts(4_391_000, 3535)
+ // Minimum execution time: 2_730_000 picoseconds.
+ Weight::from_parts(2_850_000, 3535)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
+ /// Storage: Common IsAdmin (r:1 w:0)
+ /// Proof: Common IsAdmin (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
+ /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
+ /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ fn init_token_properties_common() -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `326`
+ // Estimated: `20191`
+ // Minimum execution time: 3_770_000 picoseconds.
+ Weight::from_parts(3_930_000, 20191)
+ .saturating_add(RocksDbWeight::get().reads(2_u64))
+ }
}
pallets/nonfungible/src/weights.rsdiffbeforeafterboth1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_nonfungible4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2023-09-26, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`8//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`9//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10241011// Executed Command:12// target/production/unique-collator13// benchmark14// pallet15// --pallet16// pallet-nonfungible17// --wasm-execution18// compiled19// --extrinsic20// *21// --template=.maintain/frame-weight-template.hbs22// --steps=5023// --repeat=40024// --heap-pages=409625// --output=./pallets/nonfungible/src/weights.rs2627#![cfg_attr(rustfmt, rustfmt_skip)]28#![allow(unused_parens)]29#![allow(unused_imports)]3031use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use sp_std::marker::PhantomData;3334/// Weight functions needed for pallet_nonfungible.35pub trait WeightInfo {36 fn create_item() -> Weight;37 fn create_multiple_items(b: u32, ) -> Weight;38 fn create_multiple_items_ex(b: u32, ) -> Weight;39 fn burn_item() -> Weight;40 fn burn_recursively_self_raw() -> Weight;41 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight;42 fn transfer_raw() -> Weight;43 fn approve() -> Weight;44 fn approve_from() -> Weight;45 fn check_allowed_raw() -> Weight;46 fn burn_from() -> Weight;47 fn set_token_property_permissions(b: u32, ) -> Weight;48 fn set_token_properties(b: u32, ) -> Weight;49 fn reset_token_properties(b: u32, ) -> Weight;50 fn delete_token_properties(b: u32, ) -> Weight;51 fn token_owner() -> Weight;52 fn set_allowance_for_all() -> Weight;53 fn allowance_for_all() -> Weight;54 fn repair_item() -> Weight;55}5657/// Weights for pallet_nonfungible using the Substrate node and recommended hardware.58pub struct SubstrateWeight<T>(PhantomData<T>);59impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {60 /// Storage: Nonfungible TokensMinted (r:1 w:1)61 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)62 /// Storage: Nonfungible AccountBalance (r:1 w:1)63 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)64 /// Storage: Nonfungible TokenData (r:0 w:1)65 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)66 /// Storage: Nonfungible Owned (r:0 w:1)67 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)68 fn create_item() -> Weight {69 // Proof Size summary in bytes:70 // Measured: `142`71 // Estimated: `3530`72 // Minimum execution time: 10_723_000 picoseconds.73 Weight::from_parts(11_038_000, 3530)74 .saturating_add(T::DbWeight::get().reads(2_u64))75 .saturating_add(T::DbWeight::get().writes(4_u64))76 }77 /// Storage: Nonfungible TokensMinted (r:1 w:1)78 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)79 /// Storage: Nonfungible AccountBalance (r:1 w:1)80 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)81 /// Storage: Nonfungible TokenData (r:0 w:200)82 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)83 /// Storage: Nonfungible Owned (r:0 w:200)84 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)85 /// The range of component `b` is `[0, 200]`.86 fn create_multiple_items(b: u32, ) -> Weight {87 // Proof Size summary in bytes:88 // Measured: `142`89 // Estimated: `3530`90 // Minimum execution time: 3_170_000 picoseconds.91 Weight::from_parts(2_230_822, 3530)92 // Standard Error: 41793 .saturating_add(Weight::from_parts(3_552_754, 0).saturating_mul(b.into()))94 .saturating_add(T::DbWeight::get().reads(2_u64))95 .saturating_add(T::DbWeight::get().writes(2_u64))96 .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(b.into())))97 }98 /// Storage: Nonfungible TokensMinted (r:1 w:1)99 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)100 /// Storage: Nonfungible AccountBalance (r:200 w:200)101 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)102 /// Storage: Nonfungible TokenData (r:0 w:200)103 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)104 /// Storage: Nonfungible Owned (r:0 w:200)105 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)106 /// The range of component `b` is `[0, 200]`.107 fn create_multiple_items_ex(b: u32, ) -> Weight {108 // Proof Size summary in bytes:109 // Measured: `142`110 // Estimated: `3481 + b * (2540 ±0)`111 // Minimum execution time: 3_234_000 picoseconds.112 Weight::from_parts(3_359_000, 3481)113 // Standard Error: 598114 .saturating_add(Weight::from_parts(4_872_803, 0).saturating_mul(b.into()))115 .saturating_add(T::DbWeight::get().reads(1_u64))116 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))117 .saturating_add(T::DbWeight::get().writes(1_u64))118 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))119 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))120 }121 /// Storage: Nonfungible TokenData (r:1 w:1)122 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)123 /// Storage: Nonfungible TokenChildren (r:1 w:0)124 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)125 /// Storage: Nonfungible TokensBurnt (r:1 w:1)126 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)127 /// Storage: Nonfungible AccountBalance (r:1 w:1)128 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)129 /// Storage: Nonfungible Allowance (r:1 w:0)130 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)131 /// Storage: Nonfungible Owned (r:0 w:1)132 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)133 /// Storage: Nonfungible TokenProperties (r:0 w:1)134 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)135 fn burn_item() -> Weight {136 // Proof Size summary in bytes:137 // Measured: `380`138 // Estimated: `3530`139 // Minimum execution time: 17_970_000 picoseconds.140 Weight::from_parts(18_458_000, 3530)141 .saturating_add(T::DbWeight::get().reads(5_u64))142 .saturating_add(T::DbWeight::get().writes(5_u64))143 }144 /// Storage: Nonfungible TokenChildren (r:1 w:0)145 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)146 /// Storage: Nonfungible TokenData (r:1 w:1)147 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)148 /// Storage: Nonfungible TokensBurnt (r:1 w:1)149 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)150 /// Storage: Nonfungible AccountBalance (r:1 w:1)151 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)152 /// Storage: Nonfungible Allowance (r:1 w:0)153 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)154 /// Storage: Nonfungible Owned (r:0 w:1)155 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)156 /// Storage: Nonfungible TokenProperties (r:0 w:1)157 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)158 fn burn_recursively_self_raw() -> Weight {159 // Proof Size summary in bytes:160 // Measured: `380`161 // Estimated: `3530`162 // Minimum execution time: 22_995_000 picoseconds.163 Weight::from_parts(23_505_000, 3530)164 .saturating_add(T::DbWeight::get().reads(5_u64))165 .saturating_add(T::DbWeight::get().writes(5_u64))166 }167 /// Storage: Nonfungible TokenChildren (r:401 w:200)168 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)169 /// Storage: Common CollectionById (r:1 w:0)170 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)171 /// Storage: Nonfungible TokenData (r:201 w:201)172 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)173 /// Storage: Nonfungible TokensBurnt (r:1 w:1)174 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)175 /// Storage: Nonfungible AccountBalance (r:2 w:2)176 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)177 /// Storage: Nonfungible Allowance (r:201 w:0)178 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)179 /// Storage: Nonfungible Owned (r:0 w:201)180 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)181 /// Storage: Nonfungible TokenProperties (r:0 w:201)182 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)183 /// The range of component `b` is `[0, 200]`.184 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {185 // Proof Size summary in bytes:186 // Measured: `1500 + b * (58 ±0)`187 // Estimated: `5874 + b * (5032 ±0)`188 // Minimum execution time: 22_854_000 picoseconds.189 Weight::from_parts(23_291_000, 5874)190 // Standard Error: 83_594191 .saturating_add(Weight::from_parts(59_695_924, 0).saturating_mul(b.into()))192 .saturating_add(T::DbWeight::get().reads(7_u64))193 .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(b.into())))194 .saturating_add(T::DbWeight::get().writes(6_u64))195 .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))196 .saturating_add(Weight::from_parts(0, 5032).saturating_mul(b.into()))197 }198 /// Storage: Nonfungible TokenData (r:1 w:1)199 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)200 /// Storage: Nonfungible AccountBalance (r:2 w:2)201 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)202 /// Storage: Nonfungible Allowance (r:1 w:0)203 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)204 /// Storage: Nonfungible Owned (r:0 w:2)205 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)206 fn transfer_raw() -> Weight {207 // Proof Size summary in bytes:208 // Measured: `380`209 // Estimated: `6070`210 // Minimum execution time: 13_873_000 picoseconds.211 Weight::from_parts(14_318_000, 6070)212 .saturating_add(T::DbWeight::get().reads(4_u64))213 .saturating_add(T::DbWeight::get().writes(5_u64))214 }215 /// Storage: Nonfungible TokenData (r:1 w:0)216 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)217 /// Storage: Nonfungible Allowance (r:1 w:1)218 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)219 fn approve() -> Weight {220 // Proof Size summary in bytes:221 // Measured: `326`222 // Estimated: `3522`223 // Minimum execution time: 7_895_000 picoseconds.224 Weight::from_parts(8_131_000, 3522)225 .saturating_add(T::DbWeight::get().reads(2_u64))226 .saturating_add(T::DbWeight::get().writes(1_u64))227 }228 /// Storage: Nonfungible TokenData (r:1 w:0)229 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)230 /// Storage: Nonfungible Allowance (r:1 w:1)231 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)232 fn approve_from() -> Weight {233 // Proof Size summary in bytes:234 // Measured: `313`235 // Estimated: `3522`236 // Minimum execution time: 7_931_000 picoseconds.237 Weight::from_parts(8_185_000, 3522)238 .saturating_add(T::DbWeight::get().reads(2_u64))239 .saturating_add(T::DbWeight::get().writes(1_u64))240 }241 /// Storage: Nonfungible Allowance (r:1 w:0)242 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)243 fn check_allowed_raw() -> Weight {244 // Proof Size summary in bytes:245 // Measured: `362`246 // Estimated: `3522`247 // Minimum execution time: 4_111_000 picoseconds.248 Weight::from_parts(4_280_000, 3522)249 .saturating_add(T::DbWeight::get().reads(1_u64))250 }251 /// Storage: Nonfungible Allowance (r:1 w:1)252 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)253 /// Storage: Nonfungible TokenData (r:1 w:1)254 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)255 /// Storage: Nonfungible TokenChildren (r:1 w:0)256 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)257 /// Storage: Nonfungible TokensBurnt (r:1 w:1)258 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)259 /// Storage: Nonfungible AccountBalance (r:1 w:1)260 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)261 /// Storage: Nonfungible Owned (r:0 w:1)262 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)263 /// Storage: Nonfungible TokenProperties (r:0 w:1)264 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)265 fn burn_from() -> Weight {266 // Proof Size summary in bytes:267 // Measured: `463`268 // Estimated: `3530`269 // Minimum execution time: 21_756_000 picoseconds.270 Weight::from_parts(22_237_000, 3530)271 .saturating_add(T::DbWeight::get().reads(5_u64))272 .saturating_add(T::DbWeight::get().writes(6_u64))273 }274 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)275 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)276 /// The range of component `b` is `[0, 64]`.277 fn set_token_property_permissions(b: u32, ) -> Weight {278 // Proof Size summary in bytes:279 // Measured: `314`280 // Estimated: `20191`281 // Minimum execution time: 1_411_000 picoseconds.282 Weight::from_parts(1_505_000, 20191)283 // Standard Error: 14_327284 .saturating_add(Weight::from_parts(8_366_431, 0).saturating_mul(b.into()))285 .saturating_add(T::DbWeight::get().reads(1_u64))286 .saturating_add(T::DbWeight::get().writes(1_u64))287 }288 /// Storage: Nonfungible TokenProperties (r:1 w:1)289 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)290 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)291 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)292 /// Storage: Nonfungible TokenData (r:1 w:0)293 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)294 /// The range of component `b` is `[0, 64]`.295 fn set_token_properties(b: u32, ) -> Weight {296 // Proof Size summary in bytes:297 // Measured: `640 + b * (261 ±0)`298 // Estimated: `36269`299 // Minimum execution time: 3_628_000 picoseconds.300 Weight::from_parts(1_438_616, 36269)301 // Standard Error: 13_799302 .saturating_add(Weight::from_parts(5_486_048, 0).saturating_mul(b.into()))303 .saturating_add(T::DbWeight::get().reads(3_u64))304 .saturating_add(T::DbWeight::get().writes(1_u64))305 }306 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)307 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)308 /// Storage: Nonfungible TokenProperties (r:0 w:1)309 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)310 /// The range of component `b` is `[0, 64]`.311 fn reset_token_properties(b: u32, ) -> Weight {312 // Proof Size summary in bytes:313 // Measured: `317 + b * (261 ±0)`314 // Estimated: `20191`315 // Minimum execution time: 1_016_000 picoseconds.316 Weight::from_parts(4_628_460, 20191)317 // Standard Error: 23_738318 .saturating_add(Weight::from_parts(5_023_391, 0).saturating_mul(b.into()))319 .saturating_add(T::DbWeight::get().reads(1_u64))320 .saturating_add(T::DbWeight::get().writes(1_u64))321 }322 /// Storage: Nonfungible TokenProperties (r:1 w:1)323 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)324 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)325 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)326 /// Storage: Nonfungible TokenData (r:1 w:0)327 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)328 /// The range of component `b` is `[0, 64]`.329 fn delete_token_properties(b: u32, ) -> Weight {330 // Proof Size summary in bytes:331 // Measured: `699 + b * (33291 ±0)`332 // Estimated: `36269`333 // Minimum execution time: 3_576_000 picoseconds.334 Weight::from_parts(3_709_000, 36269)335 // Standard Error: 36_977336 .saturating_add(Weight::from_parts(23_798_574, 0).saturating_mul(b.into()))337 .saturating_add(T::DbWeight::get().reads(3_u64))338 .saturating_add(T::DbWeight::get().writes(1_u64))339 }340 /// Storage: Nonfungible TokenData (r:1 w:0)341 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)342 fn token_owner() -> Weight {343 // Proof Size summary in bytes:344 // Measured: `326`345 // Estimated: `3522`346 // Minimum execution time: 3_614_000 picoseconds.347 Weight::from_parts(3_776_000, 3522)348 .saturating_add(T::DbWeight::get().reads(1_u64))349 }350 /// Storage: Nonfungible CollectionAllowance (r:0 w:1)351 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)352 fn set_allowance_for_all() -> Weight {353 // Proof Size summary in bytes:354 // Measured: `0`355 // Estimated: `0`356 // Minimum execution time: 4_345_000 picoseconds.357 Weight::from_parts(4_555_000, 0)358 .saturating_add(T::DbWeight::get().writes(1_u64))359 }360 /// Storage: Nonfungible CollectionAllowance (r:1 w:0)361 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)362 fn allowance_for_all() -> Weight {363 // Proof Size summary in bytes:364 // Measured: `142`365 // Estimated: `3576`366 // Minimum execution time: 2_810_000 picoseconds.367 Weight::from_parts(2_982_000, 3576)368 .saturating_add(T::DbWeight::get().reads(1_u64))369 }370 /// Storage: Nonfungible TokenProperties (r:1 w:1)371 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)372 fn repair_item() -> Weight {373 // Proof Size summary in bytes:374 // Measured: `279`375 // Estimated: `36269`376 // Minimum execution time: 3_050_000 picoseconds.377 Weight::from_parts(3_169_000, 36269)378 .saturating_add(T::DbWeight::get().reads(1_u64))379 .saturating_add(T::DbWeight::get().writes(1_u64))380 }381}382383// For backwards compatibility and tests384impl WeightInfo for () {385 /// Storage: Nonfungible TokensMinted (r:1 w:1)386 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)387 /// Storage: Nonfungible AccountBalance (r:1 w:1)388 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)389 /// Storage: Nonfungible TokenData (r:0 w:1)390 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)391 /// Storage: Nonfungible Owned (r:0 w:1)392 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)393 fn create_item() -> Weight {394 // Proof Size summary in bytes:395 // Measured: `142`396 // Estimated: `3530`397 // Minimum execution time: 10_723_000 picoseconds.398 Weight::from_parts(11_038_000, 3530)399 .saturating_add(RocksDbWeight::get().reads(2_u64))400 .saturating_add(RocksDbWeight::get().writes(4_u64))401 }402 /// Storage: Nonfungible TokensMinted (r:1 w:1)403 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)404 /// Storage: Nonfungible AccountBalance (r:1 w:1)405 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)406 /// Storage: Nonfungible TokenData (r:0 w:200)407 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)408 /// Storage: Nonfungible Owned (r:0 w:200)409 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)410 /// The range of component `b` is `[0, 200]`.411 fn create_multiple_items(b: u32, ) -> Weight {412 // Proof Size summary in bytes:413 // Measured: `142`414 // Estimated: `3530`415 // Minimum execution time: 3_170_000 picoseconds.416 Weight::from_parts(2_230_822, 3530)417 // Standard Error: 417418 .saturating_add(Weight::from_parts(3_552_754, 0).saturating_mul(b.into()))419 .saturating_add(RocksDbWeight::get().reads(2_u64))420 .saturating_add(RocksDbWeight::get().writes(2_u64))421 .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(b.into())))422 }423 /// Storage: Nonfungible TokensMinted (r:1 w:1)424 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)425 /// Storage: Nonfungible AccountBalance (r:200 w:200)426 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)427 /// Storage: Nonfungible TokenData (r:0 w:200)428 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)429 /// Storage: Nonfungible Owned (r:0 w:200)430 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)431 /// The range of component `b` is `[0, 200]`.432 fn create_multiple_items_ex(b: u32, ) -> Weight {433 // Proof Size summary in bytes:434 // Measured: `142`435 // Estimated: `3481 + b * (2540 ±0)`436 // Minimum execution time: 3_234_000 picoseconds.437 Weight::from_parts(3_359_000, 3481)438 // Standard Error: 598439 .saturating_add(Weight::from_parts(4_872_803, 0).saturating_mul(b.into()))440 .saturating_add(RocksDbWeight::get().reads(1_u64))441 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))442 .saturating_add(RocksDbWeight::get().writes(1_u64))443 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))444 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))445 }446 /// Storage: Nonfungible TokenData (r:1 w:1)447 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)448 /// Storage: Nonfungible TokenChildren (r:1 w:0)449 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)450 /// Storage: Nonfungible TokensBurnt (r:1 w:1)451 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)452 /// Storage: Nonfungible AccountBalance (r:1 w:1)453 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)454 /// Storage: Nonfungible Allowance (r:1 w:0)455 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)456 /// Storage: Nonfungible Owned (r:0 w:1)457 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)458 /// Storage: Nonfungible TokenProperties (r:0 w:1)459 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)460 fn burn_item() -> Weight {461 // Proof Size summary in bytes:462 // Measured: `380`463 // Estimated: `3530`464 // Minimum execution time: 17_970_000 picoseconds.465 Weight::from_parts(18_458_000, 3530)466 .saturating_add(RocksDbWeight::get().reads(5_u64))467 .saturating_add(RocksDbWeight::get().writes(5_u64))468 }469 /// Storage: Nonfungible TokenChildren (r:1 w:0)470 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)471 /// Storage: Nonfungible TokenData (r:1 w:1)472 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)473 /// Storage: Nonfungible TokensBurnt (r:1 w:1)474 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)475 /// Storage: Nonfungible AccountBalance (r:1 w:1)476 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)477 /// Storage: Nonfungible Allowance (r:1 w:0)478 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)479 /// Storage: Nonfungible Owned (r:0 w:1)480 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)481 /// Storage: Nonfungible TokenProperties (r:0 w:1)482 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)483 fn burn_recursively_self_raw() -> Weight {484 // Proof Size summary in bytes:485 // Measured: `380`486 // Estimated: `3530`487 // Minimum execution time: 22_995_000 picoseconds.488 Weight::from_parts(23_505_000, 3530)489 .saturating_add(RocksDbWeight::get().reads(5_u64))490 .saturating_add(RocksDbWeight::get().writes(5_u64))491 }492 /// Storage: Nonfungible TokenChildren (r:401 w:200)493 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)494 /// Storage: Common CollectionById (r:1 w:0)495 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)496 /// Storage: Nonfungible TokenData (r:201 w:201)497 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)498 /// Storage: Nonfungible TokensBurnt (r:1 w:1)499 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)500 /// Storage: Nonfungible AccountBalance (r:2 w:2)501 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)502 /// Storage: Nonfungible Allowance (r:201 w:0)503 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)504 /// Storage: Nonfungible Owned (r:0 w:201)505 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)506 /// Storage: Nonfungible TokenProperties (r:0 w:201)507 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)508 /// The range of component `b` is `[0, 200]`.509 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {510 // Proof Size summary in bytes:511 // Measured: `1500 + b * (58 ±0)`512 // Estimated: `5874 + b * (5032 ±0)`513 // Minimum execution time: 22_854_000 picoseconds.514 Weight::from_parts(23_291_000, 5874)515 // Standard Error: 83_594516 .saturating_add(Weight::from_parts(59_695_924, 0).saturating_mul(b.into()))517 .saturating_add(RocksDbWeight::get().reads(7_u64))518 .saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(b.into())))519 .saturating_add(RocksDbWeight::get().writes(6_u64))520 .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))521 .saturating_add(Weight::from_parts(0, 5032).saturating_mul(b.into()))522 }523 /// Storage: Nonfungible TokenData (r:1 w:1)524 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)525 /// Storage: Nonfungible AccountBalance (r:2 w:2)526 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)527 /// Storage: Nonfungible Allowance (r:1 w:0)528 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)529 /// Storage: Nonfungible Owned (r:0 w:2)530 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)531 fn transfer_raw() -> Weight {532 // Proof Size summary in bytes:533 // Measured: `380`534 // Estimated: `6070`535 // Minimum execution time: 13_873_000 picoseconds.536 Weight::from_parts(14_318_000, 6070)537 .saturating_add(RocksDbWeight::get().reads(4_u64))538 .saturating_add(RocksDbWeight::get().writes(5_u64))539 }540 /// Storage: Nonfungible TokenData (r:1 w:0)541 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)542 /// Storage: Nonfungible Allowance (r:1 w:1)543 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)544 fn approve() -> Weight {545 // Proof Size summary in bytes:546 // Measured: `326`547 // Estimated: `3522`548 // Minimum execution time: 7_895_000 picoseconds.549 Weight::from_parts(8_131_000, 3522)550 .saturating_add(RocksDbWeight::get().reads(2_u64))551 .saturating_add(RocksDbWeight::get().writes(1_u64))552 }553 /// Storage: Nonfungible TokenData (r:1 w:0)554 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)555 /// Storage: Nonfungible Allowance (r:1 w:1)556 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)557 fn approve_from() -> Weight {558 // Proof Size summary in bytes:559 // Measured: `313`560 // Estimated: `3522`561 // Minimum execution time: 7_931_000 picoseconds.562 Weight::from_parts(8_185_000, 3522)563 .saturating_add(RocksDbWeight::get().reads(2_u64))564 .saturating_add(RocksDbWeight::get().writes(1_u64))565 }566 /// Storage: Nonfungible Allowance (r:1 w:0)567 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)568 fn check_allowed_raw() -> Weight {569 // Proof Size summary in bytes:570 // Measured: `362`571 // Estimated: `3522`572 // Minimum execution time: 4_111_000 picoseconds.573 Weight::from_parts(4_280_000, 3522)574 .saturating_add(RocksDbWeight::get().reads(1_u64))575 }576 /// Storage: Nonfungible Allowance (r:1 w:1)577 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)578 /// Storage: Nonfungible TokenData (r:1 w:1)579 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)580 /// Storage: Nonfungible TokenChildren (r:1 w:0)581 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)582 /// Storage: Nonfungible TokensBurnt (r:1 w:1)583 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)584 /// Storage: Nonfungible AccountBalance (r:1 w:1)585 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)586 /// Storage: Nonfungible Owned (r:0 w:1)587 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)588 /// Storage: Nonfungible TokenProperties (r:0 w:1)589 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)590 fn burn_from() -> Weight {591 // Proof Size summary in bytes:592 // Measured: `463`593 // Estimated: `3530`594 // Minimum execution time: 21_756_000 picoseconds.595 Weight::from_parts(22_237_000, 3530)596 .saturating_add(RocksDbWeight::get().reads(5_u64))597 .saturating_add(RocksDbWeight::get().writes(6_u64))598 }599 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)600 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)601 /// The range of component `b` is `[0, 64]`.602 fn set_token_property_permissions(b: u32, ) -> Weight {603 // Proof Size summary in bytes:604 // Measured: `314`605 // Estimated: `20191`606 // Minimum execution time: 1_411_000 picoseconds.607 Weight::from_parts(1_505_000, 20191)608 // Standard Error: 14_327609 .saturating_add(Weight::from_parts(8_366_431, 0).saturating_mul(b.into()))610 .saturating_add(RocksDbWeight::get().reads(1_u64))611 .saturating_add(RocksDbWeight::get().writes(1_u64))612 }613 /// Storage: Nonfungible TokenProperties (r:1 w:1)614 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)615 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)616 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)617 /// Storage: Nonfungible TokenData (r:1 w:0)618 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)619 /// The range of component `b` is `[0, 64]`.620 fn set_token_properties(b: u32, ) -> Weight {621 // Proof Size summary in bytes:622 // Measured: `640 + b * (261 ±0)`623 // Estimated: `36269`624 // Minimum execution time: 3_628_000 picoseconds.625 Weight::from_parts(1_438_616, 36269)626 // Standard Error: 13_799627 .saturating_add(Weight::from_parts(5_486_048, 0).saturating_mul(b.into()))628 .saturating_add(RocksDbWeight::get().reads(3_u64))629 .saturating_add(RocksDbWeight::get().writes(1_u64))630 }631 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)632 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)633 /// Storage: Nonfungible TokenProperties (r:0 w:1)634 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)635 /// The range of component `b` is `[0, 64]`.636 fn reset_token_properties(b: u32, ) -> Weight {637 // Proof Size summary in bytes:638 // Measured: `317 + b * (261 ±0)`639 // Estimated: `20191`640 // Minimum execution time: 1_016_000 picoseconds.641 Weight::from_parts(4_628_460, 20191)642 // Standard Error: 23_738643 .saturating_add(Weight::from_parts(5_023_391, 0).saturating_mul(b.into()))644 .saturating_add(RocksDbWeight::get().reads(1_u64))645 .saturating_add(RocksDbWeight::get().writes(1_u64))646 }647 /// Storage: Nonfungible TokenProperties (r:1 w:1)648 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)649 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)650 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)651 /// Storage: Nonfungible TokenData (r:1 w:0)652 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)653 /// The range of component `b` is `[0, 64]`.654 fn delete_token_properties(b: u32, ) -> Weight {655 // Proof Size summary in bytes:656 // Measured: `699 + b * (33291 ±0)`657 // Estimated: `36269`658 // Minimum execution time: 3_576_000 picoseconds.659 Weight::from_parts(3_709_000, 36269)660 // Standard Error: 36_977661 .saturating_add(Weight::from_parts(23_798_574, 0).saturating_mul(b.into()))662 .saturating_add(RocksDbWeight::get().reads(3_u64))663 .saturating_add(RocksDbWeight::get().writes(1_u64))664 }665 /// Storage: Nonfungible TokenData (r:1 w:0)666 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)667 fn token_owner() -> Weight {668 // Proof Size summary in bytes:669 // Measured: `326`670 // Estimated: `3522`671 // Minimum execution time: 3_614_000 picoseconds.672 Weight::from_parts(3_776_000, 3522)673 .saturating_add(RocksDbWeight::get().reads(1_u64))674 }675 /// Storage: Nonfungible CollectionAllowance (r:0 w:1)676 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)677 fn set_allowance_for_all() -> Weight {678 // Proof Size summary in bytes:679 // Measured: `0`680 // Estimated: `0`681 // Minimum execution time: 4_345_000 picoseconds.682 Weight::from_parts(4_555_000, 0)683 .saturating_add(RocksDbWeight::get().writes(1_u64))684 }685 /// Storage: Nonfungible CollectionAllowance (r:1 w:0)686 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)687 fn allowance_for_all() -> Weight {688 // Proof Size summary in bytes:689 // Measured: `142`690 // Estimated: `3576`691 // Minimum execution time: 2_810_000 picoseconds.692 Weight::from_parts(2_982_000, 3576)693 .saturating_add(RocksDbWeight::get().reads(1_u64))694 }695 /// Storage: Nonfungible TokenProperties (r:1 w:1)696 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)697 fn repair_item() -> Weight {698 // Proof Size summary in bytes:699 // Measured: `279`700 // Estimated: `36269`701 // Minimum execution time: 3_050_000 picoseconds.702 Weight::from_parts(3_169_000, 36269)703 .saturating_add(RocksDbWeight::get().reads(1_u64))704 .saturating_add(RocksDbWeight::get().writes(1_u64))705 }706}7071// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_nonfungible4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2023-09-30, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`8//! HOSTNAME: `hearthstone`, CPU: `AMD Ryzen 9 7950X3D 16-Core Processor`9//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10241011// Executed Command:12// target/production/unique-collator13// benchmark14// pallet15// --pallet16// pallet-nonfungible17// --wasm-execution18// compiled19// --extrinsic20// *21// --template=.maintain/frame-weight-template.hbs22// --steps=5023// --repeat=8024// --heap-pages=409625// --output=./pallets/nonfungible/src/weights.rs2627#![cfg_attr(rustfmt, rustfmt_skip)]28#![allow(unused_parens)]29#![allow(unused_imports)]3031use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use sp_std::marker::PhantomData;3334/// Weight functions needed for pallet_nonfungible.35pub trait WeightInfo {36 fn create_item() -> Weight;37 fn create_multiple_items(b: u32, ) -> Weight;38 fn create_multiple_items_ex(b: u32, ) -> Weight;39 fn burn_item() -> Weight;40 fn burn_recursively_self_raw() -> Weight;41 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight;42 fn transfer_raw() -> Weight;43 fn approve() -> Weight;44 fn approve_from() -> Weight;45 fn check_allowed_raw() -> Weight;46 fn burn_from() -> Weight;47 fn set_token_property_permissions(b: u32, ) -> Weight;48 fn set_token_properties(b: u32, ) -> Weight;49 fn init_token_properties(b: u32, ) -> Weight;50 fn delete_token_properties(b: u32, ) -> Weight;51 fn token_owner() -> Weight;52 fn set_allowance_for_all() -> Weight;53 fn allowance_for_all() -> Weight;54 fn repair_item() -> Weight;55}5657/// Weights for pallet_nonfungible using the Substrate node and recommended hardware.58pub struct SubstrateWeight<T>(PhantomData<T>);59impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {60 /// Storage: Nonfungible TokensMinted (r:1 w:1)61 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)62 /// Storage: Nonfungible AccountBalance (r:1 w:1)63 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)64 /// Storage: Nonfungible TokenData (r:0 w:1)65 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)66 /// Storage: Nonfungible Owned (r:0 w:1)67 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)68 fn create_item() -> Weight {69 // Proof Size summary in bytes:70 // Measured: `142`71 // Estimated: `3530`72 // Minimum execution time: 4_981_000 picoseconds.73 Weight::from_parts(5_160_000, 3530)74 .saturating_add(T::DbWeight::get().reads(2_u64))75 .saturating_add(T::DbWeight::get().writes(4_u64))76 }77 /// Storage: Nonfungible TokensMinted (r:1 w:1)78 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)79 /// Storage: Nonfungible AccountBalance (r:1 w:1)80 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)81 /// Storage: Nonfungible TokenData (r:0 w:200)82 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)83 /// Storage: Nonfungible Owned (r:0 w:200)84 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)85 /// The range of component `b` is `[0, 200]`.86 fn create_multiple_items(b: u32, ) -> Weight {87 // Proof Size summary in bytes:88 // Measured: `142`89 // Estimated: `3530`90 // Minimum execution time: 1_701_000 picoseconds.91 Weight::from_parts(1_750_000, 3530)92 // Standard Error: 54993 .saturating_add(Weight::from_parts(2_507_305, 0).saturating_mul(b.into()))94 .saturating_add(T::DbWeight::get().reads(2_u64))95 .saturating_add(T::DbWeight::get().writes(2_u64))96 .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(b.into())))97 }98 /// Storage: Nonfungible TokensMinted (r:1 w:1)99 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)100 /// Storage: Nonfungible AccountBalance (r:200 w:200)101 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)102 /// Storage: Nonfungible TokenData (r:0 w:200)103 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)104 /// Storage: Nonfungible Owned (r:0 w:200)105 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)106 /// The range of component `b` is `[0, 200]`.107 fn create_multiple_items_ex(b: u32, ) -> Weight {108 // Proof Size summary in bytes:109 // Measured: `142`110 // Estimated: `3481 + b * (2540 ±0)`111 // Minimum execution time: 1_600_000 picoseconds.112 Weight::from_parts(1_661_000, 3481)113 // Standard Error: 1_210114 .saturating_add(Weight::from_parts(3_472_463, 0).saturating_mul(b.into()))115 .saturating_add(T::DbWeight::get().reads(1_u64))116 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))117 .saturating_add(T::DbWeight::get().writes(1_u64))118 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))119 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))120 }121 /// Storage: Nonfungible TokenData (r:1 w:1)122 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)123 /// Storage: Nonfungible TokenChildren (r:1 w:0)124 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)125 /// Storage: Nonfungible TokensBurnt (r:1 w:1)126 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)127 /// Storage: Nonfungible AccountBalance (r:1 w:1)128 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)129 /// Storage: Nonfungible Allowance (r:1 w:0)130 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)131 /// Storage: Nonfungible Owned (r:0 w:1)132 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)133 /// Storage: Nonfungible TokenProperties (r:0 w:1)134 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)135 fn burn_item() -> Weight {136 // Proof Size summary in bytes:137 // Measured: `380`138 // Estimated: `3530`139 // Minimum execution time: 10_401_000 picoseconds.140 Weight::from_parts(10_701_000, 3530)141 .saturating_add(T::DbWeight::get().reads(5_u64))142 .saturating_add(T::DbWeight::get().writes(5_u64))143 }144 /// Storage: Nonfungible TokenChildren (r:1 w:0)145 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)146 /// Storage: Nonfungible TokenData (r:1 w:1)147 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)148 /// Storage: Nonfungible TokensBurnt (r:1 w:1)149 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)150 /// Storage: Nonfungible AccountBalance (r:1 w:1)151 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)152 /// Storage: Nonfungible Allowance (r:1 w:0)153 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)154 /// Storage: Nonfungible Owned (r:0 w:1)155 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)156 /// Storage: Nonfungible TokenProperties (r:0 w:1)157 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)158 fn burn_recursively_self_raw() -> Weight {159 // Proof Size summary in bytes:160 // Measured: `380`161 // Estimated: `3530`162 // Minimum execution time: 12_982_000 picoseconds.163 Weight::from_parts(13_522_000, 3530)164 .saturating_add(T::DbWeight::get().reads(5_u64))165 .saturating_add(T::DbWeight::get().writes(5_u64))166 }167 /// Storage: Nonfungible TokenChildren (r:401 w:200)168 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)169 /// Storage: Common CollectionById (r:1 w:0)170 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)171 /// Storage: Nonfungible TokenData (r:201 w:201)172 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)173 /// Storage: Nonfungible TokensBurnt (r:1 w:1)174 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)175 /// Storage: Nonfungible AccountBalance (r:2 w:2)176 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)177 /// Storage: Nonfungible Allowance (r:201 w:0)178 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)179 /// Storage: Nonfungible Owned (r:0 w:201)180 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)181 /// Storage: Nonfungible TokenProperties (r:0 w:201)182 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)183 /// The range of component `b` is `[0, 200]`.184 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {185 // Proof Size summary in bytes:186 // Measured: `1500 + b * (58 ±0)`187 // Estimated: `5874 + b * (5032 ±0)`188 // Minimum execution time: 13_201_000 picoseconds.189 Weight::from_parts(13_371_000, 5874)190 // Standard Error: 124_410191 .saturating_add(Weight::from_parts(41_526_223, 0).saturating_mul(b.into()))192 .saturating_add(T::DbWeight::get().reads(7_u64))193 .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(b.into())))194 .saturating_add(T::DbWeight::get().writes(6_u64))195 .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))196 .saturating_add(Weight::from_parts(0, 5032).saturating_mul(b.into()))197 }198 /// Storage: Nonfungible TokenData (r:1 w:1)199 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)200 /// Storage: Nonfungible AccountBalance (r:2 w:2)201 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)202 /// Storage: Nonfungible Allowance (r:1 w:0)203 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)204 /// Storage: Nonfungible Owned (r:0 w:2)205 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)206 fn transfer_raw() -> Weight {207 // Proof Size summary in bytes:208 // Measured: `380`209 // Estimated: `6070`210 // Minimum execution time: 8_681_000 picoseconds.211 Weight::from_parts(8_891_000, 6070)212 .saturating_add(T::DbWeight::get().reads(4_u64))213 .saturating_add(T::DbWeight::get().writes(5_u64))214 }215 /// Storage: Nonfungible TokenData (r:1 w:0)216 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)217 /// Storage: Nonfungible Allowance (r:1 w:1)218 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)219 fn approve() -> Weight {220 // Proof Size summary in bytes:221 // Measured: `326`222 // Estimated: `3522`223 // Minimum execution time: 4_651_000 picoseconds.224 Weight::from_parts(4_830_000, 3522)225 .saturating_add(T::DbWeight::get().reads(2_u64))226 .saturating_add(T::DbWeight::get().writes(1_u64))227 }228 /// Storage: Nonfungible TokenData (r:1 w:0)229 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)230 /// Storage: Nonfungible Allowance (r:1 w:1)231 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)232 fn approve_from() -> Weight {233 // Proof Size summary in bytes:234 // Measured: `313`235 // Estimated: `3522`236 // Minimum execution time: 4_721_000 picoseconds.237 Weight::from_parts(4_851_000, 3522)238 .saturating_add(T::DbWeight::get().reads(2_u64))239 .saturating_add(T::DbWeight::get().writes(1_u64))240 }241 /// Storage: Nonfungible Allowance (r:1 w:0)242 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)243 fn check_allowed_raw() -> Weight {244 // Proof Size summary in bytes:245 // Measured: `362`246 // Estimated: `3522`247 // Minimum execution time: 2_621_000 picoseconds.248 Weight::from_parts(2_760_000, 3522)249 .saturating_add(T::DbWeight::get().reads(1_u64))250 }251 /// Storage: Nonfungible Allowance (r:1 w:1)252 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)253 /// Storage: Nonfungible TokenData (r:1 w:1)254 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)255 /// Storage: Nonfungible TokenChildren (r:1 w:0)256 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)257 /// Storage: Nonfungible TokensBurnt (r:1 w:1)258 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)259 /// Storage: Nonfungible AccountBalance (r:1 w:1)260 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)261 /// Storage: Nonfungible Owned (r:0 w:1)262 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)263 /// Storage: Nonfungible TokenProperties (r:0 w:1)264 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)265 fn burn_from() -> Weight {266 // Proof Size summary in bytes:267 // Measured: `463`268 // Estimated: `3530`269 // Minimum execution time: 13_432_000 picoseconds.270 Weight::from_parts(13_681_000, 3530)271 .saturating_add(T::DbWeight::get().reads(5_u64))272 .saturating_add(T::DbWeight::get().writes(6_u64))273 }274 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)275 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)276 /// The range of component `b` is `[0, 64]`.277 fn set_token_property_permissions(b: u32, ) -> Weight {278 // Proof Size summary in bytes:279 // Measured: `314`280 // Estimated: `20191`281 // Minimum execution time: 610_000 picoseconds.282 Weight::from_parts(640_000, 20191)283 // Standard Error: 22_744284 .saturating_add(Weight::from_parts(5_938_386, 0).saturating_mul(b.into()))285 .saturating_add(T::DbWeight::get().reads(1_u64))286 .saturating_add(T::DbWeight::get().writes(1_u64))287 }288 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)289 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)290 /// Storage: Nonfungible TokenProperties (r:1 w:1)291 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)292 /// Storage: Nonfungible TokenData (r:1 w:0)293 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)294 /// The range of component `b` is `[0, 64]`.295 fn set_token_properties(b: u32, ) -> Weight {296 // Proof Size summary in bytes:297 // Measured: `640 + b * (261 ±0)`298 // Estimated: `36269`299 // Minimum execution time: 360_000 picoseconds.300 Weight::from_parts(3_526_074, 36269)301 // Standard Error: 8_803302 .saturating_add(Weight::from_parts(2_784_005, 0).saturating_mul(b.into()))303 .saturating_add(T::DbWeight::get().reads(3_u64))304 .saturating_add(T::DbWeight::get().writes(1_u64))305 }306 /// Storage: Nonfungible TokenProperties (r:0 w:1)307 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)308 /// The range of component `b` is `[0, 64]`.309 fn init_token_properties(b: u32, ) -> Weight {310 // Proof Size summary in bytes:311 // Measured: `0`312 // Estimated: `0`313 // Minimum execution time: 70_000 picoseconds.314 Weight::from_parts(2_216_986, 0)315 // Standard Error: 5_264316 .saturating_add(Weight::from_parts(2_408_457, 0).saturating_mul(b.into()))317 .saturating_add(T::DbWeight::get().writes(1_u64))318 }319 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)320 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)321 /// Storage: Nonfungible TokenData (r:1 w:0)322 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)323 /// Storage: Nonfungible TokenProperties (r:1 w:1)324 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)325 /// The range of component `b` is `[0, 64]`.326 fn delete_token_properties(b: u32, ) -> Weight {327 // Proof Size summary in bytes:328 // Measured: `699 + b * (33291 ±0)`329 // Estimated: `36269`330 // Minimum execution time: 360_000 picoseconds.331 Weight::from_parts(380_000, 36269)332 // Standard Error: 26_060333 .saturating_add(Weight::from_parts(9_230_365, 0).saturating_mul(b.into()))334 .saturating_add(T::DbWeight::get().reads(3_u64))335 .saturating_add(T::DbWeight::get().writes(1_u64))336 }337 /// Storage: Nonfungible TokenData (r:1 w:0)338 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)339 fn token_owner() -> Weight {340 // Proof Size summary in bytes:341 // Measured: `326`342 // Estimated: `3522`343 // Minimum execution time: 2_350_000 picoseconds.344 Weight::from_parts(2_450_000, 3522)345 .saturating_add(T::DbWeight::get().reads(1_u64))346 }347 /// Storage: Nonfungible CollectionAllowance (r:0 w:1)348 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)349 fn set_allowance_for_all() -> Weight {350 // Proof Size summary in bytes:351 // Measured: `0`352 // Estimated: `0`353 // Minimum execution time: 2_040_000 picoseconds.354 Weight::from_parts(2_150_000, 0)355 .saturating_add(T::DbWeight::get().writes(1_u64))356 }357 /// Storage: Nonfungible CollectionAllowance (r:1 w:0)358 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)359 fn allowance_for_all() -> Weight {360 // Proof Size summary in bytes:361 // Measured: `142`362 // Estimated: `3576`363 // Minimum execution time: 1_560_000 picoseconds.364 Weight::from_parts(1_670_000, 3576)365 .saturating_add(T::DbWeight::get().reads(1_u64))366 }367 /// Storage: Nonfungible TokenProperties (r:1 w:1)368 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)369 fn repair_item() -> Weight {370 // Proof Size summary in bytes:371 // Measured: `279`372 // Estimated: `36269`373 // Minimum execution time: 1_710_000 picoseconds.374 Weight::from_parts(1_781_000, 36269)375 .saturating_add(T::DbWeight::get().reads(1_u64))376 .saturating_add(T::DbWeight::get().writes(1_u64))377 }378}379380// For backwards compatibility and tests381impl WeightInfo for () {382 /// Storage: Nonfungible TokensMinted (r:1 w:1)383 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)384 /// Storage: Nonfungible AccountBalance (r:1 w:1)385 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)386 /// Storage: Nonfungible TokenData (r:0 w:1)387 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)388 /// Storage: Nonfungible Owned (r:0 w:1)389 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)390 fn create_item() -> Weight {391 // Proof Size summary in bytes:392 // Measured: `142`393 // Estimated: `3530`394 // Minimum execution time: 4_981_000 picoseconds.395 Weight::from_parts(5_160_000, 3530)396 .saturating_add(RocksDbWeight::get().reads(2_u64))397 .saturating_add(RocksDbWeight::get().writes(4_u64))398 }399 /// Storage: Nonfungible TokensMinted (r:1 w:1)400 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)401 /// Storage: Nonfungible AccountBalance (r:1 w:1)402 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)403 /// Storage: Nonfungible TokenData (r:0 w:200)404 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)405 /// Storage: Nonfungible Owned (r:0 w:200)406 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)407 /// The range of component `b` is `[0, 200]`.408 fn create_multiple_items(b: u32, ) -> Weight {409 // Proof Size summary in bytes:410 // Measured: `142`411 // Estimated: `3530`412 // Minimum execution time: 1_701_000 picoseconds.413 Weight::from_parts(1_750_000, 3530)414 // Standard Error: 549415 .saturating_add(Weight::from_parts(2_507_305, 0).saturating_mul(b.into()))416 .saturating_add(RocksDbWeight::get().reads(2_u64))417 .saturating_add(RocksDbWeight::get().writes(2_u64))418 .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(b.into())))419 }420 /// Storage: Nonfungible TokensMinted (r:1 w:1)421 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)422 /// Storage: Nonfungible AccountBalance (r:200 w:200)423 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)424 /// Storage: Nonfungible TokenData (r:0 w:200)425 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)426 /// Storage: Nonfungible Owned (r:0 w:200)427 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)428 /// The range of component `b` is `[0, 200]`.429 fn create_multiple_items_ex(b: u32, ) -> Weight {430 // Proof Size summary in bytes:431 // Measured: `142`432 // Estimated: `3481 + b * (2540 ±0)`433 // Minimum execution time: 1_600_000 picoseconds.434 Weight::from_parts(1_661_000, 3481)435 // Standard Error: 1_210436 .saturating_add(Weight::from_parts(3_472_463, 0).saturating_mul(b.into()))437 .saturating_add(RocksDbWeight::get().reads(1_u64))438 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))439 .saturating_add(RocksDbWeight::get().writes(1_u64))440 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))441 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))442 }443 /// Storage: Nonfungible TokenData (r:1 w:1)444 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)445 /// Storage: Nonfungible TokenChildren (r:1 w:0)446 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)447 /// Storage: Nonfungible TokensBurnt (r:1 w:1)448 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)449 /// Storage: Nonfungible AccountBalance (r:1 w:1)450 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)451 /// Storage: Nonfungible Allowance (r:1 w:0)452 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)453 /// Storage: Nonfungible Owned (r:0 w:1)454 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)455 /// Storage: Nonfungible TokenProperties (r:0 w:1)456 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)457 fn burn_item() -> Weight {458 // Proof Size summary in bytes:459 // Measured: `380`460 // Estimated: `3530`461 // Minimum execution time: 10_401_000 picoseconds.462 Weight::from_parts(10_701_000, 3530)463 .saturating_add(RocksDbWeight::get().reads(5_u64))464 .saturating_add(RocksDbWeight::get().writes(5_u64))465 }466 /// Storage: Nonfungible TokenChildren (r:1 w:0)467 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)468 /// Storage: Nonfungible TokenData (r:1 w:1)469 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)470 /// Storage: Nonfungible TokensBurnt (r:1 w:1)471 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)472 /// Storage: Nonfungible AccountBalance (r:1 w:1)473 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)474 /// Storage: Nonfungible Allowance (r:1 w:0)475 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)476 /// Storage: Nonfungible Owned (r:0 w:1)477 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)478 /// Storage: Nonfungible TokenProperties (r:0 w:1)479 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)480 fn burn_recursively_self_raw() -> Weight {481 // Proof Size summary in bytes:482 // Measured: `380`483 // Estimated: `3530`484 // Minimum execution time: 12_982_000 picoseconds.485 Weight::from_parts(13_522_000, 3530)486 .saturating_add(RocksDbWeight::get().reads(5_u64))487 .saturating_add(RocksDbWeight::get().writes(5_u64))488 }489 /// Storage: Nonfungible TokenChildren (r:401 w:200)490 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)491 /// Storage: Common CollectionById (r:1 w:0)492 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)493 /// Storage: Nonfungible TokenData (r:201 w:201)494 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)495 /// Storage: Nonfungible TokensBurnt (r:1 w:1)496 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)497 /// Storage: Nonfungible AccountBalance (r:2 w:2)498 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)499 /// Storage: Nonfungible Allowance (r:201 w:0)500 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)501 /// Storage: Nonfungible Owned (r:0 w:201)502 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)503 /// Storage: Nonfungible TokenProperties (r:0 w:201)504 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)505 /// The range of component `b` is `[0, 200]`.506 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {507 // Proof Size summary in bytes:508 // Measured: `1500 + b * (58 ±0)`509 // Estimated: `5874 + b * (5032 ±0)`510 // Minimum execution time: 13_201_000 picoseconds.511 Weight::from_parts(13_371_000, 5874)512 // Standard Error: 124_410513 .saturating_add(Weight::from_parts(41_526_223, 0).saturating_mul(b.into()))514 .saturating_add(RocksDbWeight::get().reads(7_u64))515 .saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(b.into())))516 .saturating_add(RocksDbWeight::get().writes(6_u64))517 .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))518 .saturating_add(Weight::from_parts(0, 5032).saturating_mul(b.into()))519 }520 /// Storage: Nonfungible TokenData (r:1 w:1)521 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)522 /// Storage: Nonfungible AccountBalance (r:2 w:2)523 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)524 /// Storage: Nonfungible Allowance (r:1 w:0)525 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)526 /// Storage: Nonfungible Owned (r:0 w:2)527 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)528 fn transfer_raw() -> Weight {529 // Proof Size summary in bytes:530 // Measured: `380`531 // Estimated: `6070`532 // Minimum execution time: 8_681_000 picoseconds.533 Weight::from_parts(8_891_000, 6070)534 .saturating_add(RocksDbWeight::get().reads(4_u64))535 .saturating_add(RocksDbWeight::get().writes(5_u64))536 }537 /// Storage: Nonfungible TokenData (r:1 w:0)538 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)539 /// Storage: Nonfungible Allowance (r:1 w:1)540 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)541 fn approve() -> Weight {542 // Proof Size summary in bytes:543 // Measured: `326`544 // Estimated: `3522`545 // Minimum execution time: 4_651_000 picoseconds.546 Weight::from_parts(4_830_000, 3522)547 .saturating_add(RocksDbWeight::get().reads(2_u64))548 .saturating_add(RocksDbWeight::get().writes(1_u64))549 }550 /// Storage: Nonfungible TokenData (r:1 w:0)551 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)552 /// Storage: Nonfungible Allowance (r:1 w:1)553 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)554 fn approve_from() -> Weight {555 // Proof Size summary in bytes:556 // Measured: `313`557 // Estimated: `3522`558 // Minimum execution time: 4_721_000 picoseconds.559 Weight::from_parts(4_851_000, 3522)560 .saturating_add(RocksDbWeight::get().reads(2_u64))561 .saturating_add(RocksDbWeight::get().writes(1_u64))562 }563 /// Storage: Nonfungible Allowance (r:1 w:0)564 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)565 fn check_allowed_raw() -> Weight {566 // Proof Size summary in bytes:567 // Measured: `362`568 // Estimated: `3522`569 // Minimum execution time: 2_621_000 picoseconds.570 Weight::from_parts(2_760_000, 3522)571 .saturating_add(RocksDbWeight::get().reads(1_u64))572 }573 /// Storage: Nonfungible Allowance (r:1 w:1)574 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)575 /// Storage: Nonfungible TokenData (r:1 w:1)576 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)577 /// Storage: Nonfungible TokenChildren (r:1 w:0)578 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)579 /// Storage: Nonfungible TokensBurnt (r:1 w:1)580 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)581 /// Storage: Nonfungible AccountBalance (r:1 w:1)582 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)583 /// Storage: Nonfungible Owned (r:0 w:1)584 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)585 /// Storage: Nonfungible TokenProperties (r:0 w:1)586 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)587 fn burn_from() -> Weight {588 // Proof Size summary in bytes:589 // Measured: `463`590 // Estimated: `3530`591 // Minimum execution time: 13_432_000 picoseconds.592 Weight::from_parts(13_681_000, 3530)593 .saturating_add(RocksDbWeight::get().reads(5_u64))594 .saturating_add(RocksDbWeight::get().writes(6_u64))595 }596 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)597 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)598 /// The range of component `b` is `[0, 64]`.599 fn set_token_property_permissions(b: u32, ) -> Weight {600 // Proof Size summary in bytes:601 // Measured: `314`602 // Estimated: `20191`603 // Minimum execution time: 610_000 picoseconds.604 Weight::from_parts(640_000, 20191)605 // Standard Error: 22_744606 .saturating_add(Weight::from_parts(5_938_386, 0).saturating_mul(b.into()))607 .saturating_add(RocksDbWeight::get().reads(1_u64))608 .saturating_add(RocksDbWeight::get().writes(1_u64))609 }610 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)611 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)612 /// Storage: Nonfungible TokenProperties (r:1 w:1)613 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)614 /// Storage: Nonfungible TokenData (r:1 w:0)615 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)616 /// The range of component `b` is `[0, 64]`.617 fn set_token_properties(b: u32, ) -> Weight {618 // Proof Size summary in bytes:619 // Measured: `640 + b * (261 ±0)`620 // Estimated: `36269`621 // Minimum execution time: 360_000 picoseconds.622 Weight::from_parts(3_526_074, 36269)623 // Standard Error: 8_803624 .saturating_add(Weight::from_parts(2_784_005, 0).saturating_mul(b.into()))625 .saturating_add(RocksDbWeight::get().reads(3_u64))626 .saturating_add(RocksDbWeight::get().writes(1_u64))627 }628 /// Storage: Nonfungible TokenProperties (r:0 w:1)629 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)630 /// The range of component `b` is `[0, 64]`.631 fn init_token_properties(b: u32, ) -> Weight {632 // Proof Size summary in bytes:633 // Measured: `0`634 // Estimated: `0`635 // Minimum execution time: 70_000 picoseconds.636 Weight::from_parts(2_216_986, 0)637 // Standard Error: 5_264638 .saturating_add(Weight::from_parts(2_408_457, 0).saturating_mul(b.into()))639 .saturating_add(RocksDbWeight::get().writes(1_u64))640 }641 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)642 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)643 /// Storage: Nonfungible TokenData (r:1 w:0)644 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)645 /// Storage: Nonfungible TokenProperties (r:1 w:1)646 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)647 /// The range of component `b` is `[0, 64]`.648 fn delete_token_properties(b: u32, ) -> Weight {649 // Proof Size summary in bytes:650 // Measured: `699 + b * (33291 ±0)`651 // Estimated: `36269`652 // Minimum execution time: 360_000 picoseconds.653 Weight::from_parts(380_000, 36269)654 // Standard Error: 26_060655 .saturating_add(Weight::from_parts(9_230_365, 0).saturating_mul(b.into()))656 .saturating_add(RocksDbWeight::get().reads(3_u64))657 .saturating_add(RocksDbWeight::get().writes(1_u64))658 }659 /// Storage: Nonfungible TokenData (r:1 w:0)660 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)661 fn token_owner() -> Weight {662 // Proof Size summary in bytes:663 // Measured: `326`664 // Estimated: `3522`665 // Minimum execution time: 2_350_000 picoseconds.666 Weight::from_parts(2_450_000, 3522)667 .saturating_add(RocksDbWeight::get().reads(1_u64))668 }669 /// Storage: Nonfungible CollectionAllowance (r:0 w:1)670 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)671 fn set_allowance_for_all() -> Weight {672 // Proof Size summary in bytes:673 // Measured: `0`674 // Estimated: `0`675 // Minimum execution time: 2_040_000 picoseconds.676 Weight::from_parts(2_150_000, 0)677 .saturating_add(RocksDbWeight::get().writes(1_u64))678 }679 /// Storage: Nonfungible CollectionAllowance (r:1 w:0)680 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)681 fn allowance_for_all() -> Weight {682 // Proof Size summary in bytes:683 // Measured: `142`684 // Estimated: `3576`685 // Minimum execution time: 1_560_000 picoseconds.686 Weight::from_parts(1_670_000, 3576)687 .saturating_add(RocksDbWeight::get().reads(1_u64))688 }689 /// Storage: Nonfungible TokenProperties (r:1 w:1)690 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)691 fn repair_item() -> Weight {692 // Proof Size summary in bytes:693 // Measured: `279`694 // Estimated: `36269`695 // Minimum execution time: 1_710_000 picoseconds.696 Weight::from_parts(1_781_000, 36269)697 .saturating_add(RocksDbWeight::get().reads(1_u64))698 .saturating_add(RocksDbWeight::get().writes(1_u64))699 }700}701pallets/refungible/src/weights.rsdiffbeforeafterboth--- a/pallets/refungible/src/weights.rs
+++ b/pallets/refungible/src/weights.rs
@@ -3,9 +3,9 @@
//! Autogenerated weights for pallet_refungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-09-26, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-09-30, 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`
+//! HOSTNAME: `hearthstone`, CPU: `AMD Ryzen 9 7950X3D 16-Core Processor`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -20,7 +20,7 @@
// *
// --template=.maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=400
+// --repeat=80
// --heap-pages=4096
// --output=./pallets/refungible/src/weights.rs
@@ -52,7 +52,7 @@
fn burn_from() -> Weight;
fn set_token_property_permissions(b: u32, ) -> Weight;
fn set_token_properties(b: u32, ) -> Weight;
- fn reset_token_properties(b: u32, ) -> Weight;
+ fn init_token_properties(b: u32, ) -> Weight;
fn delete_token_properties(b: u32, ) -> Weight;
fn repartition_item() -> Weight;
fn token_owner() -> Weight;
@@ -78,8 +78,8 @@
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3530`
- // Minimum execution time: 12_168_000 picoseconds.
- Weight::from_parts(12_531_000, 3530)
+ // Minimum execution time: 5_410_000 picoseconds.
+ Weight::from_parts(5_630_000, 3530)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -98,10 +98,10 @@
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3530`
- // Minimum execution time: 2_583_000 picoseconds.
- Weight::from_parts(2_726_000, 3530)
- // Standard Error: 1_051
- .saturating_add(Weight::from_parts(4_727_433, 0).saturating_mul(b.into()))
+ // Minimum execution time: 1_210_000 picoseconds.
+ Weight::from_parts(1_280_000, 3530)
+ // Standard Error: 1_172
+ .saturating_add(Weight::from_parts(3_145_627, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))
@@ -121,10 +121,10 @@
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3481 + b * (2540 ±0)`
- // Minimum execution time: 2_565_000 picoseconds.
- Weight::from_parts(2_710_000, 3481)
- // Standard Error: 862
- .saturating_add(Weight::from_parts(5_951_711, 0).saturating_mul(b.into()))
+ // Minimum execution time: 1_230_000 picoseconds.
+ Weight::from_parts(1_310_000, 3481)
+ // Standard Error: 1_385
+ .saturating_add(Weight::from_parts(3_942_825, 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))
@@ -146,10 +146,10 @@
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3481 + b * (2540 ±0)`
- // Minimum execution time: 4_281_000 picoseconds.
- Weight::from_parts(3_252_037, 3481)
- // Standard Error: 568
- .saturating_add(Weight::from_parts(4_380_356, 0).saturating_mul(b.into()))
+ // Minimum execution time: 1_610_000 picoseconds.
+ Weight::from_parts(1_650_000, 3481)
+ // Standard Error: 1_090
+ .saturating_add(Weight::from_parts(3_125_098, 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(2_u64))
@@ -168,8 +168,8 @@
// Proof Size summary in bytes:
// Measured: `456`
// Estimated: `8682`
- // Minimum execution time: 22_354_000 picoseconds.
- Weight::from_parts(22_787_000, 8682)
+ // Minimum execution time: 12_180_000 picoseconds.
+ Weight::from_parts(12_580_000, 8682)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -189,8 +189,8 @@
// Proof Size summary in bytes:
// Measured: `341`
// Estimated: `3554`
- // Minimum execution time: 21_689_000 picoseconds.
- Weight::from_parts(22_199_000, 3554)
+ // Minimum execution time: 12_230_000 picoseconds.
+ Weight::from_parts(12_550_000, 3554)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -202,8 +202,8 @@
// Proof Size summary in bytes:
// Measured: `365`
// Estimated: `6118`
- // Minimum execution time: 13_673_000 picoseconds.
- Weight::from_parts(14_067_000, 6118)
+ // Minimum execution time: 7_630_000 picoseconds.
+ Weight::from_parts(7_919_000, 6118)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -219,8 +219,8 @@
// Proof Size summary in bytes:
// Measured: `341`
// Estimated: `6118`
- // Minimum execution time: 15_863_000 picoseconds.
- Weight::from_parts(16_197_000, 6118)
+ // Minimum execution time: 8_840_000 picoseconds.
+ Weight::from_parts(9_080_000, 6118)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -236,8 +236,8 @@
// Proof Size summary in bytes:
// Measured: `456`
// Estimated: `6118`
- // Minimum execution time: 18_123_000 picoseconds.
- Weight::from_parts(18_501_000, 6118)
+ // Minimum execution time: 10_270_000 picoseconds.
+ Weight::from_parts(10_670_000, 6118)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -253,8 +253,8 @@
// Proof Size summary in bytes:
// Measured: `341`
// Estimated: `6118`
- // Minimum execution time: 17_966_000 picoseconds.
- Weight::from_parts(18_305_000, 6118)
+ // Minimum execution time: 10_199_000 picoseconds.
+ Weight::from_parts(10_479_000, 6118)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -266,8 +266,8 @@
// Proof Size summary in bytes:
// Measured: `223`
// Estimated: `3554`
- // Minimum execution time: 8_636_000 picoseconds.
- Weight::from_parts(8_882_000, 3554)
+ // Minimum execution time: 4_750_000 picoseconds.
+ Weight::from_parts(4_910_000, 3554)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -279,8 +279,8 @@
// Proof Size summary in bytes:
// Measured: `211`
// Estimated: `3554`
- // Minimum execution time: 8_756_000 picoseconds.
- Weight::from_parts(8_978_000, 3554)
+ // Minimum execution time: 4_700_000 picoseconds.
+ Weight::from_parts(4_840_000, 3554)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -294,8 +294,8 @@
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `6118`
- // Minimum execution time: 19_417_000 picoseconds.
- Weight::from_parts(19_945_000, 6118)
+ // Minimum execution time: 11_419_000 picoseconds.
+ Weight::from_parts(11_800_000, 6118)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -313,8 +313,8 @@
// Proof Size summary in bytes:
// Measured: `471`
// Estimated: `6118`
- // Minimum execution time: 21_425_000 picoseconds.
- Weight::from_parts(21_829_000, 6118)
+ // Minimum execution time: 12_440_000 picoseconds.
+ Weight::from_parts(12_740_000, 6118)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -332,8 +332,8 @@
// Proof Size summary in bytes:
// Measured: `586`
// Estimated: `6118`
- // Minimum execution time: 23_854_000 picoseconds.
- Weight::from_parts(24_352_000, 6118)
+ // Minimum execution time: 14_030_000 picoseconds.
+ Weight::from_parts(14_380_000, 6118)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -351,8 +351,8 @@
// Proof Size summary in bytes:
// Measured: `471`
// Estimated: `6118`
- // Minimum execution time: 23_775_000 picoseconds.
- Weight::from_parts(24_236_000, 6118)
+ // Minimum execution time: 14_200_000 picoseconds.
+ Weight::from_parts(14_560_000, 6118)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
@@ -374,8 +374,8 @@
// Proof Size summary in bytes:
// Measured: `471`
// Estimated: `3570`
- // Minimum execution time: 27_885_000 picoseconds.
- Weight::from_parts(28_492_000, 3570)
+ // Minimum execution time: 16_590_000 picoseconds.
+ Weight::from_parts(17_079_000, 3570)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
@@ -386,17 +386,17 @@
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `20191`
- // Minimum execution time: 1_299_000 picoseconds.
- Weight::from_parts(1_410_000, 20191)
- // Standard Error: 14_247
- .saturating_add(Weight::from_parts(8_221_449, 0).saturating_mul(b.into()))
+ // Minimum execution time: 560_000 picoseconds.
+ Weight::from_parts(590_000, 20191)
+ // Standard Error: 20_539
+ .saturating_add(Weight::from_parts(5_317_277, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Refungible TokenProperties (r:1 w:1)
- /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
/// Storage: Common CollectionPropertyPermissions (r:1 w:0)
/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ /// Storage: Refungible TokenProperties (r:1 w:1)
+ /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
/// Storage: Refungible TotalSupply (r:1 w:0)
/// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
/// The range of component `b` is `[0, 64]`.
@@ -404,44 +404,41 @@
// Proof Size summary in bytes:
// Measured: `502 + b * (261 ±0)`
// Estimated: `36269`
- // Minimum execution time: 2_717_000 picoseconds.
- Weight::from_parts(6_076_231, 36269)
- // Standard Error: 10_349
- .saturating_add(Weight::from_parts(4_950_943, 0).saturating_mul(b.into()))
+ // Minimum execution time: 340_000 picoseconds.
+ Weight::from_parts(4_825_296, 36269)
+ // Standard Error: 4_846
+ .saturating_add(Weight::from_parts(2_632_821, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
- /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
/// Storage: Refungible TokenProperties (r:0 w:1)
/// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
/// The range of component `b` is `[0, 64]`.
- fn reset_token_properties(b: u32, ) -> Weight {
+ fn init_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `317 + b * (261 ±0)`
- // Estimated: `20191`
- // Minimum execution time: 936_000 picoseconds.
- Weight::from_parts(1_015_000, 20191)
- // Standard Error: 9_051
- .saturating_add(Weight::from_parts(5_454_224, 0).saturating_mul(b.into()))
- .saturating_add(T::DbWeight::get().reads(1_u64))
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 70_000 picoseconds.
+ Weight::from_parts(70_000, 0)
+ // Standard Error: 2_858
+ .saturating_add(Weight::from_parts(2_259_760, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
- /// Storage: Refungible TokenProperties (r:1 w:1)
- /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
/// Storage: Common CollectionPropertyPermissions (r:1 w:0)
/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
/// Storage: Refungible TotalSupply (r:1 w:0)
/// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible TokenProperties (r:1 w:1)
+ /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
/// The range of component `b` is `[0, 64]`.
fn delete_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `561 + b * (33291 ±0)`
// Estimated: `36269`
- // Minimum execution time: 2_707_000 picoseconds.
- Weight::from_parts(2_851_000, 36269)
- // Standard Error: 36_568
- .saturating_add(Weight::from_parts(23_557_445, 0).saturating_mul(b.into()))
+ // Minimum execution time: 320_000 picoseconds.
+ Weight::from_parts(350_000, 36269)
+ // Standard Error: 24_256
+ .saturating_add(Weight::from_parts(8_471_382, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -453,8 +450,8 @@
// Proof Size summary in bytes:
// Measured: `288`
// Estimated: `3554`
- // Minimum execution time: 10_556_000 picoseconds.
- Weight::from_parts(10_904_000, 3554)
+ // Minimum execution time: 5_600_000 picoseconds.
+ Weight::from_parts(5_850_000, 3554)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -464,8 +461,8 @@
// Proof Size summary in bytes:
// Measured: `288`
// Estimated: `6118`
- // Minimum execution time: 4_708_000 picoseconds.
- Weight::from_parts(4_974_000, 6118)
+ // Minimum execution time: 2_430_000 picoseconds.
+ Weight::from_parts(2_590_000, 6118)
.saturating_add(T::DbWeight::get().reads(2_u64))
}
/// Storage: Refungible CollectionAllowance (r:0 w:1)
@@ -474,8 +471,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_332_000 picoseconds.
- Weight::from_parts(4_506_000, 0)
+ // Minimum execution time: 1_970_000 picoseconds.
+ Weight::from_parts(2_050_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Refungible CollectionAllowance (r:1 w:0)
@@ -484,8 +481,8 @@
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3576`
- // Minimum execution time: 2_207_000 picoseconds.
- Weight::from_parts(2_358_000, 3576)
+ // Minimum execution time: 1_140_000 picoseconds.
+ Weight::from_parts(1_240_000, 3576)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Refungible TokenProperties (r:1 w:1)
@@ -494,8 +491,8 @@
// Proof Size summary in bytes:
// Measured: `120`
// Estimated: `36269`
- // Minimum execution time: 2_230_000 picoseconds.
- Weight::from_parts(2_337_000, 36269)
+ // Minimum execution time: 1_000_000 picoseconds.
+ Weight::from_parts(1_060_000, 36269)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -517,8 +514,8 @@
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3530`
- // Minimum execution time: 12_168_000 picoseconds.
- Weight::from_parts(12_531_000, 3530)
+ // Minimum execution time: 5_410_000 picoseconds.
+ Weight::from_parts(5_630_000, 3530)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -537,10 +534,10 @@
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3530`
- // Minimum execution time: 2_583_000 picoseconds.
- Weight::from_parts(2_726_000, 3530)
- // Standard Error: 1_051
- .saturating_add(Weight::from_parts(4_727_433, 0).saturating_mul(b.into()))
+ // Minimum execution time: 1_210_000 picoseconds.
+ Weight::from_parts(1_280_000, 3530)
+ // Standard Error: 1_172
+ .saturating_add(Weight::from_parts(3_145_627, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))
@@ -560,10 +557,10 @@
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3481 + b * (2540 ±0)`
- // Minimum execution time: 2_565_000 picoseconds.
- Weight::from_parts(2_710_000, 3481)
- // Standard Error: 862
- .saturating_add(Weight::from_parts(5_951_711, 0).saturating_mul(b.into()))
+ // Minimum execution time: 1_230_000 picoseconds.
+ Weight::from_parts(1_310_000, 3481)
+ // Standard Error: 1_385
+ .saturating_add(Weight::from_parts(3_942_825, 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))
@@ -585,10 +582,10 @@
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3481 + b * (2540 ±0)`
- // Minimum execution time: 4_281_000 picoseconds.
- Weight::from_parts(3_252_037, 3481)
- // Standard Error: 568
- .saturating_add(Weight::from_parts(4_380_356, 0).saturating_mul(b.into()))
+ // Minimum execution time: 1_610_000 picoseconds.
+ Weight::from_parts(1_650_000, 3481)
+ // Standard Error: 1_090
+ .saturating_add(Weight::from_parts(3_125_098, 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(2_u64))
@@ -607,8 +604,8 @@
// Proof Size summary in bytes:
// Measured: `456`
// Estimated: `8682`
- // Minimum execution time: 22_354_000 picoseconds.
- Weight::from_parts(22_787_000, 8682)
+ // Minimum execution time: 12_180_000 picoseconds.
+ Weight::from_parts(12_580_000, 8682)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -628,8 +625,8 @@
// Proof Size summary in bytes:
// Measured: `341`
// Estimated: `3554`
- // Minimum execution time: 21_689_000 picoseconds.
- Weight::from_parts(22_199_000, 3554)
+ // Minimum execution time: 12_230_000 picoseconds.
+ Weight::from_parts(12_550_000, 3554)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -641,8 +638,8 @@
// Proof Size summary in bytes:
// Measured: `365`
// Estimated: `6118`
- // Minimum execution time: 13_673_000 picoseconds.
- Weight::from_parts(14_067_000, 6118)
+ // Minimum execution time: 7_630_000 picoseconds.
+ Weight::from_parts(7_919_000, 6118)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -658,8 +655,8 @@
// Proof Size summary in bytes:
// Measured: `341`
// Estimated: `6118`
- // Minimum execution time: 15_863_000 picoseconds.
- Weight::from_parts(16_197_000, 6118)
+ // Minimum execution time: 8_840_000 picoseconds.
+ Weight::from_parts(9_080_000, 6118)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -675,8 +672,8 @@
// Proof Size summary in bytes:
// Measured: `456`
// Estimated: `6118`
- // Minimum execution time: 18_123_000 picoseconds.
- Weight::from_parts(18_501_000, 6118)
+ // Minimum execution time: 10_270_000 picoseconds.
+ Weight::from_parts(10_670_000, 6118)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -692,8 +689,8 @@
// Proof Size summary in bytes:
// Measured: `341`
// Estimated: `6118`
- // Minimum execution time: 17_966_000 picoseconds.
- Weight::from_parts(18_305_000, 6118)
+ // Minimum execution time: 10_199_000 picoseconds.
+ Weight::from_parts(10_479_000, 6118)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -705,8 +702,8 @@
// Proof Size summary in bytes:
// Measured: `223`
// Estimated: `3554`
- // Minimum execution time: 8_636_000 picoseconds.
- Weight::from_parts(8_882_000, 3554)
+ // Minimum execution time: 4_750_000 picoseconds.
+ Weight::from_parts(4_910_000, 3554)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -718,8 +715,8 @@
// Proof Size summary in bytes:
// Measured: `211`
// Estimated: `3554`
- // Minimum execution time: 8_756_000 picoseconds.
- Weight::from_parts(8_978_000, 3554)
+ // Minimum execution time: 4_700_000 picoseconds.
+ Weight::from_parts(4_840_000, 3554)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -733,8 +730,8 @@
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `6118`
- // Minimum execution time: 19_417_000 picoseconds.
- Weight::from_parts(19_945_000, 6118)
+ // Minimum execution time: 11_419_000 picoseconds.
+ Weight::from_parts(11_800_000, 6118)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -752,8 +749,8 @@
// Proof Size summary in bytes:
// Measured: `471`
// Estimated: `6118`
- // Minimum execution time: 21_425_000 picoseconds.
- Weight::from_parts(21_829_000, 6118)
+ // Minimum execution time: 12_440_000 picoseconds.
+ Weight::from_parts(12_740_000, 6118)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -771,8 +768,8 @@
// Proof Size summary in bytes:
// Measured: `586`
// Estimated: `6118`
- // Minimum execution time: 23_854_000 picoseconds.
- Weight::from_parts(24_352_000, 6118)
+ // Minimum execution time: 14_030_000 picoseconds.
+ Weight::from_parts(14_380_000, 6118)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -790,8 +787,8 @@
// Proof Size summary in bytes:
// Measured: `471`
// Estimated: `6118`
- // Minimum execution time: 23_775_000 picoseconds.
- Weight::from_parts(24_236_000, 6118)
+ // Minimum execution time: 14_200_000 picoseconds.
+ Weight::from_parts(14_560_000, 6118)
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}
@@ -813,8 +810,8 @@
// Proof Size summary in bytes:
// Measured: `471`
// Estimated: `3570`
- // Minimum execution time: 27_885_000 picoseconds.
- Weight::from_parts(28_492_000, 3570)
+ // Minimum execution time: 16_590_000 picoseconds.
+ Weight::from_parts(17_079_000, 3570)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}
@@ -825,17 +822,17 @@
// Proof Size summary in bytes:
// Measured: `314`
// Estimated: `20191`
- // Minimum execution time: 1_299_000 picoseconds.
- Weight::from_parts(1_410_000, 20191)
- // Standard Error: 14_247
- .saturating_add(Weight::from_parts(8_221_449, 0).saturating_mul(b.into()))
+ // Minimum execution time: 560_000 picoseconds.
+ Weight::from_parts(590_000, 20191)
+ // Standard Error: 20_539
+ .saturating_add(Weight::from_parts(5_317_277, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
+ /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
+ /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
/// Storage: Refungible TokenProperties (r:1 w:1)
/// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
- /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
- /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
/// Storage: Refungible TotalSupply (r:1 w:0)
/// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
/// The range of component `b` is `[0, 64]`.
@@ -843,44 +840,41 @@
// Proof Size summary in bytes:
// Measured: `502 + b * (261 ±0)`
// Estimated: `36269`
- // Minimum execution time: 2_717_000 picoseconds.
- Weight::from_parts(6_076_231, 36269)
- // Standard Error: 10_349
- .saturating_add(Weight::from_parts(4_950_943, 0).saturating_mul(b.into()))
+ // Minimum execution time: 340_000 picoseconds.
+ Weight::from_parts(4_825_296, 36269)
+ // Standard Error: 4_846
+ .saturating_add(Weight::from_parts(2_632_821, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
- /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
/// Storage: Refungible TokenProperties (r:0 w:1)
/// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
/// The range of component `b` is `[0, 64]`.
- fn reset_token_properties(b: u32, ) -> Weight {
+ fn init_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `317 + b * (261 ±0)`
- // Estimated: `20191`
- // Minimum execution time: 936_000 picoseconds.
- Weight::from_parts(1_015_000, 20191)
- // Standard Error: 9_051
- .saturating_add(Weight::from_parts(5_454_224, 0).saturating_mul(b.into()))
- .saturating_add(RocksDbWeight::get().reads(1_u64))
+ // Measured: `0`
+ // Estimated: `0`
+ // Minimum execution time: 70_000 picoseconds.
+ Weight::from_parts(70_000, 0)
+ // Standard Error: 2_858
+ .saturating_add(Weight::from_parts(2_259_760, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
- /// Storage: Refungible TokenProperties (r:1 w:1)
- /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
/// Storage: Common CollectionPropertyPermissions (r:1 w:0)
/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
/// Storage: Refungible TotalSupply (r:1 w:0)
/// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
+ /// Storage: Refungible TokenProperties (r:1 w:1)
+ /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
/// The range of component `b` is `[0, 64]`.
fn delete_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `561 + b * (33291 ±0)`
// Estimated: `36269`
- // Minimum execution time: 2_707_000 picoseconds.
- Weight::from_parts(2_851_000, 36269)
- // Standard Error: 36_568
- .saturating_add(Weight::from_parts(23_557_445, 0).saturating_mul(b.into()))
+ // Minimum execution time: 320_000 picoseconds.
+ Weight::from_parts(350_000, 36269)
+ // Standard Error: 24_256
+ .saturating_add(Weight::from_parts(8_471_382, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -892,8 +886,8 @@
// Proof Size summary in bytes:
// Measured: `288`
// Estimated: `3554`
- // Minimum execution time: 10_556_000 picoseconds.
- Weight::from_parts(10_904_000, 3554)
+ // Minimum execution time: 5_600_000 picoseconds.
+ Weight::from_parts(5_850_000, 3554)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -903,8 +897,8 @@
// Proof Size summary in bytes:
// Measured: `288`
// Estimated: `6118`
- // Minimum execution time: 4_708_000 picoseconds.
- Weight::from_parts(4_974_000, 6118)
+ // Minimum execution time: 2_430_000 picoseconds.
+ Weight::from_parts(2_590_000, 6118)
.saturating_add(RocksDbWeight::get().reads(2_u64))
}
/// Storage: Refungible CollectionAllowance (r:0 w:1)
@@ -913,8 +907,8 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_332_000 picoseconds.
- Weight::from_parts(4_506_000, 0)
+ // Minimum execution time: 1_970_000 picoseconds.
+ Weight::from_parts(2_050_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Refungible CollectionAllowance (r:1 w:0)
@@ -923,8 +917,8 @@
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3576`
- // Minimum execution time: 2_207_000 picoseconds.
- Weight::from_parts(2_358_000, 3576)
+ // Minimum execution time: 1_140_000 picoseconds.
+ Weight::from_parts(1_240_000, 3576)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Refungible TokenProperties (r:1 w:1)
@@ -933,8 +927,8 @@
// Proof Size summary in bytes:
// Measured: `120`
// Estimated: `36269`
- // Minimum execution time: 2_230_000 picoseconds.
- Weight::from_parts(2_337_000, 36269)
+ // Minimum execution time: 1_000_000 picoseconds.
+ Weight::from_parts(1_060_000, 36269)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}