MCPcopy Create free account
hub / github.com/apache/datafusion / criterion_benchmark

Function criterion_benchmark

datafusion/core/benches/dataframe.rs:64–74  ·  view source on GitHub ↗
(c: &mut Criterion)

Source from the content-addressed store, hash-verified

62}
63
64fn 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
76criterion_group! {
77 name = benches;

Callers

nothing calls this directly

Calls 5

newFunction · 0.85
create_contextFunction · 0.70
runFunction · 0.70
iterMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…