1818//! Autogenerated weights for pallet_lottery
1919//!
2020//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
21- //! DATE: 2022-11-18 , STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
21+ //! DATE: 2022-12-08 , STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
2222//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
2323//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
2424
@@ -67,33 +67,33 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
6767 // Storage: System Account (r:1 w:1)
6868 // Storage: Lottery Tickets (r:0 w:1)
6969 fn buy_ticket ( ) -> Weight {
70- // Minimum execution time: 53_735 nanoseconds.
71- Weight :: from_ref_time ( 54_235_000 )
70+ // Minimum execution time: 52_479 nanoseconds.
71+ Weight :: from_ref_time ( 53_225_000 )
7272 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 ) )
7373 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 4 ) )
7474 }
7575 // Storage: Lottery CallIndices (r:0 w:1)
7676 /// The range of component `n` is `[0, 10]`.
7777 fn set_calls ( n : u32 , ) -> Weight {
78- // Minimum execution time: 15_065 nanoseconds.
79- Weight :: from_ref_time ( 16_467_398 )
80- // Standard Error: 5_392
81- . saturating_add ( Weight :: from_ref_time ( 294_914 ) . saturating_mul ( n. into ( ) ) )
78+ // Minimum execution time: 14_433 nanoseconds.
79+ Weight :: from_ref_time ( 15_660_780 )
80+ // Standard Error: 5_894
81+ . saturating_add ( Weight :: from_ref_time ( 290_482 ) . saturating_mul ( n. into ( ) ) )
8282 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 ) )
8383 }
8484 // Storage: Lottery Lottery (r:1 w:1)
8585 // Storage: Lottery LotteryIndex (r:1 w:1)
8686 // Storage: System Account (r:1 w:1)
8787 fn start_lottery ( ) -> Weight {
88- // Minimum execution time: 45_990 nanoseconds.
89- Weight :: from_ref_time ( 46_789_000 )
88+ // Minimum execution time: 43_683 nanoseconds.
89+ Weight :: from_ref_time ( 44_580_000 )
9090 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 3 ) )
9191 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 ) )
9292 }
9393 // Storage: Lottery Lottery (r:1 w:1)
9494 fn stop_repeat ( ) -> Weight {
95- // Minimum execution time: 10_783 nanoseconds.
96- Weight :: from_ref_time ( 11_180_000 )
95+ // Minimum execution time: 10_514 nanoseconds.
96+ Weight :: from_ref_time ( 10_821_000 )
9797 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 ) )
9898 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 ) )
9999 }
@@ -103,8 +103,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
103103 // Storage: Lottery TicketsCount (r:1 w:1)
104104 // Storage: Lottery Tickets (r:1 w:0)
105105 fn on_initialize_end ( ) -> Weight {
106- // Minimum execution time: 62_088 nanoseconds.
107- Weight :: from_ref_time ( 63_670_000 )
106+ // Minimum execution time: 60_254 nanoseconds.
107+ Weight :: from_ref_time ( 61_924_000 )
108108 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 6 ) )
109109 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 4 ) )
110110 }
@@ -115,8 +115,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
115115 // Storage: Lottery Tickets (r:1 w:0)
116116 // Storage: Lottery LotteryIndex (r:1 w:1)
117117 fn on_initialize_repeat ( ) -> Weight {
118- // Minimum execution time: 64_953 nanoseconds.
119- Weight :: from_ref_time ( 65_465_000 )
118+ // Minimum execution time: 61_552 nanoseconds.
119+ Weight :: from_ref_time ( 62_152_000 )
120120 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 7 ) )
121121 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 5 ) )
122122 }
@@ -132,33 +132,33 @@ impl WeightInfo for () {
132132 // Storage: System Account (r:1 w:1)
133133 // Storage: Lottery Tickets (r:0 w:1)
134134 fn buy_ticket ( ) -> Weight {
135- // Minimum execution time: 53_735 nanoseconds.
136- Weight :: from_ref_time ( 54_235_000 )
135+ // Minimum execution time: 52_479 nanoseconds.
136+ Weight :: from_ref_time ( 53_225_000 )
137137 . saturating_add ( RocksDbWeight :: get ( ) . reads ( 6 ) )
138138 . saturating_add ( RocksDbWeight :: get ( ) . writes ( 4 ) )
139139 }
140140 // Storage: Lottery CallIndices (r:0 w:1)
141141 /// The range of component `n` is `[0, 10]`.
142142 fn set_calls ( n : u32 , ) -> Weight {
143- // Minimum execution time: 15_065 nanoseconds.
144- Weight :: from_ref_time ( 16_467_398 )
145- // Standard Error: 5_392
146- . saturating_add ( Weight :: from_ref_time ( 294_914 ) . saturating_mul ( n. into ( ) ) )
143+ // Minimum execution time: 14_433 nanoseconds.
144+ Weight :: from_ref_time ( 15_660_780 )
145+ // Standard Error: 5_894
146+ . saturating_add ( Weight :: from_ref_time ( 290_482 ) . saturating_mul ( n. into ( ) ) )
147147 . saturating_add ( RocksDbWeight :: get ( ) . writes ( 1 ) )
148148 }
149149 // Storage: Lottery Lottery (r:1 w:1)
150150 // Storage: Lottery LotteryIndex (r:1 w:1)
151151 // Storage: System Account (r:1 w:1)
152152 fn start_lottery ( ) -> Weight {
153- // Minimum execution time: 45_990 nanoseconds.
154- Weight :: from_ref_time ( 46_789_000 )
153+ // Minimum execution time: 43_683 nanoseconds.
154+ Weight :: from_ref_time ( 44_580_000 )
155155 . saturating_add ( RocksDbWeight :: get ( ) . reads ( 3 ) )
156156 . saturating_add ( RocksDbWeight :: get ( ) . writes ( 3 ) )
157157 }
158158 // Storage: Lottery Lottery (r:1 w:1)
159159 fn stop_repeat ( ) -> Weight {
160- // Minimum execution time: 10_783 nanoseconds.
161- Weight :: from_ref_time ( 11_180_000 )
160+ // Minimum execution time: 10_514 nanoseconds.
161+ Weight :: from_ref_time ( 10_821_000 )
162162 . saturating_add ( RocksDbWeight :: get ( ) . reads ( 1 ) )
163163 . saturating_add ( RocksDbWeight :: get ( ) . writes ( 1 ) )
164164 }
@@ -168,8 +168,8 @@ impl WeightInfo for () {
168168 // Storage: Lottery TicketsCount (r:1 w:1)
169169 // Storage: Lottery Tickets (r:1 w:0)
170170 fn on_initialize_end ( ) -> Weight {
171- // Minimum execution time: 62_088 nanoseconds.
172- Weight :: from_ref_time ( 63_670_000 )
171+ // Minimum execution time: 60_254 nanoseconds.
172+ Weight :: from_ref_time ( 61_924_000 )
173173 . saturating_add ( RocksDbWeight :: get ( ) . reads ( 6 ) )
174174 . saturating_add ( RocksDbWeight :: get ( ) . writes ( 4 ) )
175175 }
@@ -180,8 +180,8 @@ impl WeightInfo for () {
180180 // Storage: Lottery Tickets (r:1 w:0)
181181 // Storage: Lottery LotteryIndex (r:1 w:1)
182182 fn on_initialize_repeat ( ) -> Weight {
183- // Minimum execution time: 64_953 nanoseconds.
184- Weight :: from_ref_time ( 65_465_000 )
183+ // Minimum execution time: 61_552 nanoseconds.
184+ Weight :: from_ref_time ( 62_152_000 )
185185 . saturating_add ( RocksDbWeight :: get ( ) . reads ( 7 ) )
186186 . saturating_add ( RocksDbWeight :: get ( ) . writes ( 5 ) )
187187 }
0 commit comments