MCPcopy Create free account
hub / github.com/apache/arrow-rs / make_input

Function make_input

arrow-array/benches/record_batch.rs:72–80  ·  view source on GitHub ↗
(
    column_count: usize,
    row_count: usize,
    projection_size: usize,
)

Source from the content-addressed store, hash-verified

70}
71
72fn make_input(
73 column_count: usize,
74 row_count: usize,
75 projection_size: usize,
76) -> (RecordBatch, Vec<usize>) {
77 let rb = make_record_batch(column_count, row_count);
78 let projection = (0..projection_size).collect::<Vec<_>>();
79 (rb, projection)
80}
81
82fn criterion_benchmark(c: &mut Criterion) {
83 [10, 100, 1000].iter().for_each(|&column_count| {

Callers 1

project_benchmarkFunction · 0.85

Calls 1

make_record_batchFunction · 0.85

Tested by

no test coverage detected