22//! Autogenerated weights for `pallet_rmrk_core`
33//!
44//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
5- //! DATE: 2022-11-11 , STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
6- //! HOSTNAME: `ilias-MacBook-Pro.local `, CPU: `<UNKNOWN>`
5+ //! DATE: 2022-11-10 , STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
6+ //! HOSTNAME: `ilias-MBP.localdomain `, CPU: `<UNKNOWN>`
77//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
88
99// Executed Command:
@@ -39,9 +39,9 @@ pub trait WeightInfo {
3939 fn destroy_collection ( ) -> Weight ;
4040 fn send_to_account ( ) -> Weight ;
4141 fn send_to_nft ( ) -> Weight ;
42- fn burn_nft ( ) -> Weight ;
42+ fn burn_nft ( n : u32 ) -> Weight ;
4343 fn accept_nft ( ) -> Weight ;
44- fn reject_nft ( ) -> Weight ;
44+ fn reject_nft ( n : u32 ) -> Weight ;
4545 fn change_collection_issuer ( ) -> Weight ;
4646 fn set_property ( ) -> Weight ;
4747 fn lock_collection ( ) -> Weight ;
@@ -55,14 +55,13 @@ pub trait WeightInfo {
5555 fn replace_resource ( ) -> Weight ;
5656}
5757
58- /// Weight functions for `pallet_rmrk_core`.
5958pub struct SubstrateWeight < T > ( PhantomData < T > ) ;
6059impl < T : frame_system:: Config > WeightInfo for SubstrateWeight < T > {
6160 // Storage: Uniques Class (r:1 w:1)
6261 // Storage: RmrkCore Collections (r:0 w:1)
6362 // Storage: Uniques ClassAccount (r:0 w:1)
6463 fn create_collection ( ) -> Weight {
65- Weight :: from_ref_time ( 36_000_000 as u64 )
64+ Weight :: from_ref_time ( 38_000_000 as u64 )
6665 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 as u64 ) )
6766 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 as u64 ) )
6867 }
@@ -73,7 +72,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
7372 // Storage: Uniques CollectionMaxSupply (r:1 w:0)
7473 // Storage: Uniques Account (r:0 w:1)
7574 fn mint_nft ( ) -> Weight {
76- Weight :: from_ref_time ( 54_000_000 as u64 )
75+ Weight :: from_ref_time ( 55_000_000 as u64 )
7776 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 5 as u64 ) )
7877 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 5 as u64 ) )
7978 }
@@ -85,7 +84,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
8584 // Storage: RmrkCore Children (r:0 w:1)
8685 // Storage: Uniques Account (r:0 w:1)
8786 fn mint_nft_directly_to_nft ( ) -> Weight {
88- Weight :: from_ref_time ( 59_000_000 as u64 )
87+ Weight :: from_ref_time ( 60_000_000 as u64 )
8988 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 as u64 ) )
9089 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 6 as u64 ) )
9190 }
@@ -96,7 +95,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
9695 // Storage: Uniques ClassMetadataOf (r:0 w:1)
9796 // Storage: Uniques CollectionMaxSupply (r:0 w:1)
9897 fn destroy_collection ( ) -> Weight {
99- Weight :: from_ref_time ( 60_000_000 as u64 )
98+ Weight :: from_ref_time ( 61_000_000 as u64 )
10099 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 3 as u64 ) )
101100 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 5 as u64 ) )
102101 }
@@ -107,7 +106,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
107106 // Storage: Uniques Account (r:0 w:2)
108107 // Storage: Uniques ItemPriceOf (r:0 w:1)
109108 fn send_to_account ( ) -> Weight {
110- Weight :: from_ref_time ( 48_000_000 as u64 )
109+ Weight :: from_ref_time ( 50_000_000 as u64 )
111110 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 4 as u64 ) )
112111 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 5 as u64 ) )
113112 }
@@ -119,7 +118,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
119118 // Storage: Uniques Account (r:0 w:2)
120119 // Storage: Uniques ItemPriceOf (r:0 w:1)
121120 fn send_to_nft ( ) -> Weight {
122- Weight :: from_ref_time ( 56_000_000 as u64 )
121+ Weight :: from_ref_time ( 58_000_000 as u64 )
123122 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 as u64 ) )
124123 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 6 as u64 ) )
125124 }
@@ -130,15 +129,20 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
130129 // Storage: Uniques Class (r:1 w:1)
131130 // Storage: Uniques Account (r:0 w:1)
132131 // Storage: Uniques ItemPriceOf (r:0 w:1)
133- fn burn_nft ( ) -> Weight {
134- Weight :: from_ref_time ( 63_000_000 as u64 )
135- . saturating_add ( T :: DbWeight :: get ( ) . reads ( 5 as u64 ) )
136- . saturating_add ( T :: DbWeight :: get ( ) . writes ( 6 as u64 ) )
132+ /// The range of component `n` is `[1, 20]`.
133+ fn burn_nft ( n : u32 , ) -> Weight {
134+ Weight :: from_ref_time ( 0 as u64 )
135+ // Standard Error: 400_000
136+ . saturating_add ( Weight :: from_ref_time ( 79_057_000 as u64 ) . saturating_mul ( n as u64 ) )
137+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 as u64 ) )
138+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( ( 4 as u64 ) . saturating_mul ( n as u64 ) ) )
139+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 as u64 ) )
140+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( ( 5 as u64 ) . saturating_mul ( n as u64 ) ) )
137141 }
138142 // Storage: Uniques Asset (r:2 w:0)
139143 // Storage: RmrkCore Nfts (r:1 w:1)
140144 fn accept_nft ( ) -> Weight {
141- Weight :: from_ref_time ( 33_000_000 as u64 )
145+ Weight :: from_ref_time ( 35_000_000 as u64 )
142146 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 3 as u64 ) )
143147 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 as u64 ) )
144148 }
@@ -149,9 +153,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
149153 // Storage: Uniques Class (r:1 w:1)
150154 // Storage: Uniques Account (r:0 w:1)
151155 // Storage: Uniques ItemPriceOf (r:0 w:1)
152- fn reject_nft ( ) -> Weight {
153- Weight :: from_ref_time ( 82_000_000 as u64 )
154- . saturating_add ( T :: DbWeight :: get ( ) . reads ( 7 as u64 ) )
156+ /// The range of component `n` is `[1, 20]`.
157+ fn reject_nft ( n : u32 , ) -> Weight {
158+ Weight :: from_ref_time ( 82_707_000 as u64 )
159+ // Standard Error: 10_000
160+ . saturating_add ( Weight :: from_ref_time ( 128_000 as u64 ) . saturating_mul ( n as u64 ) )
161+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 as u64 ) )
155162 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 7 as u64 ) )
156163 }
157164 // Storage: RmrkCore Collections (r:1 w:1)
@@ -160,7 +167,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
160167 // Storage: System Account (r:1 w:1)
161168 // Storage: Uniques ClassAccount (r:0 w:2)
162169 fn change_collection_issuer ( ) -> Weight {
163- Weight :: from_ref_time ( 57_000_000 as u64 )
170+ Weight :: from_ref_time ( 56_000_000 as u64 )
164171 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 4 as u64 ) )
165172 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 6 as u64 ) )
166173 }
@@ -169,13 +176,13 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
169176 // Storage: Uniques Asset (r:1 w:0)
170177 // Storage: RmrkCore Properties (r:0 w:1)
171178 fn set_property ( ) -> Weight {
172- Weight :: from_ref_time ( 30_000_000 as u64 )
179+ Weight :: from_ref_time ( 29_000_000 as u64 )
173180 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 3 as u64 ) )
174181 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 as u64 ) )
175182 }
176183 // Storage: RmrkCore Collections (r:1 w:1)
177184 fn lock_collection ( ) -> Weight {
178- Weight :: from_ref_time ( 23_000_000 as u64 )
185+ Weight :: from_ref_time ( 22_000_000 as u64 )
179186 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 as u64 ) )
180187 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 as u64 ) )
181188 }
@@ -184,13 +191,13 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
184191 Weight :: from_ref_time ( 25_000_000 as u64 )
185192 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 as u64 ) )
186193 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 as u64 ) )
187- }
194+ }
188195 // Storage: RmrkCore Collections (r:1 w:0)
189196 // Storage: Uniques Asset (r:1 w:0)
190197 // Storage: RmrkCore Lock (r:1 w:0)
191198 // Storage: RmrkCore Resources (r:1 w:1)
192199 fn add_basic_resource ( ) -> Weight {
193- Weight :: from_ref_time ( 32_000_000 as u64 )
200+ Weight :: from_ref_time ( 31_000_000 as u64 )
194201 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 4 as u64 ) )
195202 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 as u64 ) )
196203 }
@@ -200,7 +207,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
200207 // Storage: RmrkCore Resources (r:1 w:1)
201208 // Storage: RmrkCore EquippableBases (r:0 w:1)
202209 fn add_composable_resource ( ) -> Weight {
203- Weight :: from_ref_time ( 34_000_000 as u64 )
210+ Weight :: from_ref_time ( 33_000_000 as u64 )
204211 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 4 as u64 ) )
205212 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 2 as u64 ) )
206213 }
@@ -242,10 +249,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
242249 // Storage: RmrkCore Priorities (r:0 w:1)
243250 /// The range of component `n` is `[1, 25]`.
244251 fn set_priority ( n : u32 , ) -> Weight {
245- Weight :: from_ref_time ( 22_537_000 as u64 )
246- // Standard Error: 7_000
247- . saturating_add ( Weight :: from_ref_time ( 2_385_000 as u64 ) . saturating_mul ( n as u64 ) )
252+ Weight :: from_ref_time ( 21_901_000 as u64 )
253+ // Standard Error: 3_000
254+ . saturating_add ( Weight :: from_ref_time ( 2_436_000 as u64 ) . saturating_mul ( n as u64 ) )
248255 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 2 as u64 ) )
249256 . saturating_add ( T :: DbWeight :: get ( ) . writes ( ( 1 as u64 ) . saturating_mul ( n as u64 ) ) )
250257 }
251- }
258+ }
0 commit comments