File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -277,25 +277,19 @@ fn criterion_sine_gain(c: &mut Criterion) {
277
277
}
278
278
#[ cfg( not( feature = "iai" ) ) ]
279
279
fn criterion_sine_gain_delay ( c : & mut Criterion ) {
280
- c. bench_function ( "bench_sine_gain_delay" , |b| {
281
- b. iter ( bench_sine_gain_delay)
282
- } ) ;
280
+ c. bench_function ( "bench_sine_gain_delay" , |b| b. iter ( bench_sine_gain_delay) ) ;
283
281
}
284
282
#[ cfg( not( feature = "iai" ) ) ]
285
283
fn criterion_buffer_src ( c : & mut Criterion ) {
286
284
c. bench_function ( "bench_buffer_src" , |b| b. iter ( bench_buffer_src) ) ;
287
285
}
288
286
#[ cfg( not( feature = "iai" ) ) ]
289
287
fn criterion_buffer_src_delay ( c : & mut Criterion ) {
290
- c. bench_function ( "bench_buffer_src_delay" , |b| {
291
- b. iter ( bench_buffer_src_delay)
292
- } ) ;
288
+ c. bench_function ( "bench_buffer_src_delay" , |b| b. iter ( bench_buffer_src_delay) ) ;
293
289
}
294
290
#[ cfg( not( feature = "iai" ) ) ]
295
291
fn criterion_buffer_src_iir ( c : & mut Criterion ) {
296
- c. bench_function ( "bench_buffer_src_iir" , |b| {
297
- b. iter ( bench_buffer_src_iir)
298
- } ) ;
292
+ c. bench_function ( "bench_buffer_src_iir" , |b| b. iter ( bench_buffer_src_iir) ) ;
299
293
}
300
294
#[ cfg( not( feature = "iai" ) ) ]
301
295
fn criterion_buffer_src_biquad ( c : & mut Criterion ) {
You can’t perform that action at this time.
0 commit comments