File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
tests/integration_tests/performance Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ pub fn block_request_benchmark(c: &mut Criterion) {
3636
3737criterion_group ! {
3838 name = block_request_benches;
39- config = Criterion :: default ( ) . sample_size ( 1000 ) . noise_threshold( 0.05 ) ;
39+ config = Criterion :: default ( ) . noise_threshold( 0.05 ) . measurement_time ( std :: time :: Duration :: from_secs ( 10 ) ) . sample_size ( 10000 ) ;
4040 targets = block_request_benchmark
4141}
4242
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ pub fn cpu_template_benchmark(c: &mut Criterion) {
4444
4545criterion_group ! {
4646 name = cpu_template_benches;
47- config = Criterion :: default ( ) . sample_size ( 200 ) . noise_threshold( 0.05 ) ;
47+ config = Criterion :: default ( ) . noise_threshold( 0.05 ) . measurement_time ( std :: time :: Duration :: from_secs ( 10 ) ) . sample_size ( 10000 ) ;
4848 targets = cpu_template_benchmark
4949}
5050
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ pub fn bench_2m_page_fault(c: &mut Criterion) {
5959
6060criterion_group ! {
6161 name = memory_access_benches;
62- config = Criterion :: default ( ) . noise_threshold( 0.05 ) ;
62+ config = Criterion :: default ( ) . noise_threshold( 0.05 ) . measurement_time ( std :: time :: Duration :: from_secs ( 10 ) ) . sample_size ( 10000 ) ;
6363 targets = bench_4k_page_fault, bench_2m_page_fault
6464}
6565
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ pub fn queue_benchmark(c: &mut Criterion) {
108108
109109criterion_group ! {
110110 name = queue_benches;
111- config = Criterion :: default ( ) . sample_size ( 1000 ) . noise_threshold( 0.15 ) ;
111+ config = Criterion :: default ( ) . noise_threshold( 0.15 ) . measurement_time ( std :: time :: Duration :: from_secs ( 10 ) ) . sample_size ( 10000 ) ;
112112 targets = queue_benchmark
113113}
114114
Original file line number Diff line number Diff line change 1818
1919
2020@pytest .mark .no_block_pr
21- @pytest .mark .timeout (900 )
21+ @pytest .mark .timeout (9000 )
2222def test_no_regression_relative_to_target_branch ():
2323 """
2424 Run the microbenchmarks in this repository, comparing results from pull
You can’t perform that action at this time.
0 commit comments