11//! Autogenerated weights for pallet_domains
22//!
33//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
4- //! DATE: 2022-04-12 , STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
4+ //! DATE: 2022-04-22 , STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
55//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
66
77// Executed Command:
@@ -43,6 +43,7 @@ pub trait WeightInfo {
4343 fn force_set_inner_value ( ) -> Weight ;
4444 fn set_outer_value ( ) -> Weight ;
4545 fn set_domain_content ( ) -> Weight ;
46+ fn set_default_domain ( ) -> Weight ;
4647 fn reserve_words ( s : u32 , ) -> Weight ;
4748 fn support_tlds ( s : u32 , ) -> Weight ;
4849}
@@ -56,7 +57,7 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
5657 // Storage: Domains RegisteredDomains (r:1 w:1)
5758 // Storage: Timestamp Now (r:1 w:0)
5859 fn register_domain ( ) -> Weight {
59- ( 45_091_000 as Weight )
60+ ( 67_000_000 as Weight )
6061 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 5 as Weight ) )
6162 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 2 as Weight ) )
6263 }
@@ -65,49 +66,56 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
6566 // Storage: Domains RegisteredDomains (r:1 w:1)
6667 // Storage: Timestamp Now (r:1 w:0)
6768 fn force_register_domain ( ) -> Weight {
68- ( 30_322_000 as Weight )
69+ ( 44_000_000 as Weight )
6970 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 4 as Weight ) )
7071 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 2 as Weight ) )
7172 }
7273 // Storage: Domains RegisteredDomains (r:1 w:1)
7374 // Storage: Domains DomainByInnerValue (r:0 w:2)
7475 fn set_inner_value ( ) -> Weight {
75- ( 26_162_000 as Weight )
76+ ( 38_000_000 as Weight )
7677 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 as Weight ) )
7778 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 as Weight ) )
7879 }
7980 // Storage: Domains RegisteredDomains (r:1 w:1)
8081 // Storage: Domains DomainByInnerValue (r:0 w:2)
8182 fn force_set_inner_value ( ) -> Weight {
82- ( 25_274_000 as Weight )
83+ ( 37_000_000 as Weight )
8384 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 as Weight ) )
8485 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 as Weight ) )
8586 }
8687 // Storage: Domains RegisteredDomains (r:1 w:1)
8788 fn set_outer_value ( ) -> Weight {
88- ( 35_425_000 as Weight )
89+ ( 51_000_000 as Weight )
8990 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 as Weight ) )
9091 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 as Weight ) )
9192 }
9293 // Storage: Domains RegisteredDomains (r:1 w:1)
9394 fn set_domain_content ( ) -> Weight {
94- ( 21_323_000 as Weight )
95+ ( 31_000_000 as Weight )
9596 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 as Weight ) )
9697 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 as Weight ) )
98+ }
99+ // Storage: Domains RegisteredDomains (r:1 w:0)
100+ // Storage: Domains DefaultDomain (r:1 w:1)
101+ fn set_default_domain ( ) -> Weight {
102+ ( 34_000_000 as Weight )
103+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 2 as Weight ) )
104+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 as Weight ) )
97105 }
98106 // Storage: Domains ReservedWords (r:0 w:1)
99107 fn reserve_words ( s : u32 , ) -> Weight {
100- ( 56_416_000 as Weight )
101- // Standard Error: 2_000
102- . saturating_add ( ( 1_702_000 as Weight ) . saturating_mul ( s as Weight ) )
108+ ( 0 as Weight )
109+ // Standard Error: 16_000
110+ . saturating_add ( ( 2_488_000 as Weight ) . saturating_mul ( s as Weight ) )
103111 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 311 as Weight ) )
104112 . saturating_add ( T :: DbWeight :: get ( ) . writes ( ( 1 as Weight ) . saturating_mul ( s as Weight ) ) )
105113 }
106114 // Storage: Domains SupportedTlds (r:0 w:1)
107115 fn support_tlds ( s : u32 , ) -> Weight {
108- ( 53_216_000 as Weight )
109- // Standard Error: 3_000
110- . saturating_add ( ( 1_685_000 as Weight ) . saturating_mul ( s as Weight ) )
116+ ( 59_257_000 as Weight )
117+ // Standard Error: 9_000
118+ . saturating_add ( ( 2_269_000 as Weight ) . saturating_mul ( s as Weight ) )
111119 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 311 as Weight ) )
112120 . saturating_add ( T :: DbWeight :: get ( ) . writes ( ( 1 as Weight ) . saturating_mul ( s as Weight ) ) )
113121 }
@@ -121,7 +129,7 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
121129 // Storage: Domains RegisteredDomains (r:1 w:1)
122130 // Storage: Timestamp Now (r:1 w:0)
123131 fn register_domain ( ) -> Weight {
124- ( 45_091_000 as Weight )
132+ ( 67_000_000 as Weight )
125133 . saturating_add ( RocksDbWeight :: get ( ) . reads ( 5 as Weight ) )
126134 . saturating_add ( RocksDbWeight :: get ( ) . writes ( 2 as Weight ) )
127135 }
@@ -130,49 +138,56 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
130138 // Storage: Domains RegisteredDomains (r:1 w:1)
131139 // Storage: Timestamp Now (r:1 w:0)
132140 fn force_register_domain ( ) -> Weight {
133- ( 30_322_000 as Weight )
141+ ( 44_000_000 as Weight )
134142 . saturating_add ( RocksDbWeight :: get ( ) . reads ( 4 as Weight ) )
135143 . saturating_add ( RocksDbWeight :: get ( ) . writes ( 2 as Weight ) )
136144 }
137145 // Storage: Domains RegisteredDomains (r:1 w:1)
138146 // Storage: Domains DomainByInnerValue (r:0 w:2)
139147 fn set_inner_value ( ) -> Weight {
140- ( 26_162_000 as Weight )
148+ ( 38_000_000 as Weight )
141149 . saturating_add ( RocksDbWeight :: get ( ) . reads ( 1 as Weight ) )
142150 . saturating_add ( RocksDbWeight :: get ( ) . writes ( 3 as Weight ) )
143151 }
144152 // Storage: Domains RegisteredDomains (r:1 w:1)
145153 // Storage: Domains DomainByInnerValue (r:0 w:2)
146154 fn force_set_inner_value ( ) -> Weight {
147- ( 25_274_000 as Weight )
155+ ( 37_000_000 as Weight )
148156 . saturating_add ( RocksDbWeight :: get ( ) . reads ( 1 as Weight ) )
149157 . saturating_add ( RocksDbWeight :: get ( ) . writes ( 3 as Weight ) )
150158 }
151159 // Storage: Domains RegisteredDomains (r:1 w:1)
152160 fn set_outer_value ( ) -> Weight {
153- ( 35_425_000 as Weight )
161+ ( 51_000_000 as Weight )
154162 . saturating_add ( RocksDbWeight :: get ( ) . reads ( 1 as Weight ) )
155163 . saturating_add ( RocksDbWeight :: get ( ) . writes ( 1 as Weight ) )
156164 }
157165 // Storage: Domains RegisteredDomains (r:1 w:1)
158166 fn set_domain_content ( ) -> Weight {
159- ( 21_323_000 as Weight )
167+ ( 31_000_000 as Weight )
160168 . saturating_add ( RocksDbWeight :: get ( ) . reads ( 1 as Weight ) )
161169 . saturating_add ( RocksDbWeight :: get ( ) . writes ( 1 as Weight ) )
170+ }
171+ // Storage: Domains RegisteredDomains (r:1 w:0)
172+ // Storage: Domains DefaultDomain (r:1 w:1)
173+ fn set_default_domain ( ) -> Weight {
174+ ( 34_000_000 as Weight )
175+ . saturating_add ( RocksDbWeight :: get ( ) . reads ( 2 as Weight ) )
176+ . saturating_add ( RocksDbWeight :: get ( ) . writes ( 1 as Weight ) )
162177 }
163178 // Storage: Domains ReservedWords (r:0 w:1)
164179 fn reserve_words ( s : u32 , ) -> Weight {
165- ( 56_416_000 as Weight )
166- // Standard Error: 2_000
167- . saturating_add ( ( 1_702_000 as Weight ) . saturating_mul ( s as Weight ) )
180+ ( 0 as Weight )
181+ // Standard Error: 16_000
182+ . saturating_add ( ( 2_488_000 as Weight ) . saturating_mul ( s as Weight ) )
168183 . saturating_add ( RocksDbWeight :: get ( ) . writes ( 311 as Weight ) )
169184 . saturating_add ( RocksDbWeight :: get ( ) . writes ( ( 1 as Weight ) . saturating_mul ( s as Weight ) ) )
170185 }
171186 // Storage: Domains SupportedTlds (r:0 w:1)
172187 fn support_tlds ( s : u32 , ) -> Weight {
173- ( 53_216_000 as Weight )
174- // Standard Error: 3_000
175- . saturating_add ( ( 1_685_000 as Weight ) . saturating_mul ( s as Weight ) )
188+ ( 59_257_000 as Weight )
189+ // Standard Error: 9_000
190+ . saturating_add ( ( 2_269_000 as Weight ) . saturating_mul ( s as Weight ) )
176191 . saturating_add ( RocksDbWeight :: get ( ) . writes ( 311 as Weight ) )
177192 . saturating_add ( RocksDbWeight :: get ( ) . writes ( ( 1 as Weight ) . saturating_mul ( s as Weight ) ) )
178193 }
0 commit comments