Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Added bench
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao committed Aug 1, 2022
1 parent 3f3febf commit 0d5b2ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions benches/read_parquet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ fn add_benchmark(c: &mut Criterion) {
let a = format!("read i64 2^{}", i);
c.bench_function(&a, |b| b.iter(|| read_batch(&buffer, size, 0).unwrap()));

let buffer = to_buffer(size, true, true, false, false);
let a = format!("read ts dict 2^{}", i);
c.bench_function(&a, |b| b.iter(|| read_batch(&buffer, size, 11).unwrap()));

let a = format!("read utf8 2^{}", i);
c.bench_function(&a, |b| b.iter(|| read_batch(&buffer, size, 2).unwrap()));

Expand Down

0 comments on commit 0d5b2ca

Please sign in to comment.