(c: &mut Criterion)
| 62 | } |
| 63 | |
| 64 | fn criterion_benchmark(c: &mut Criterion) { |
| 65 | let rt = Runtime::new().unwrap(); |
| 66 | |
| 67 | for column_count in [10, 100, 200, 500] { |
| 68 | let ctx = create_context(column_count).unwrap(); |
| 69 | |
| 70 | c.bench_function(&format!("with_column_{column_count}"), |b| { |
| 71 | b.iter(|| run(column_count, ctx.clone(), &rt)) |
| 72 | }); |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | criterion_group! { |
| 77 | name = benches; |
nothing calls this directly
no test coverage detected
searching dependent graphs…