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

Commit

Permalink
Added bench for utf8
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao committed Jul 23, 2021
1 parent 9c15040 commit e7b33f1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions benches/sort_kernel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ fn add_benchmark(c: &mut Criterion) {
c.bench_function(&format!("lexsort null 2^{} f32", log2_size), |b| {
b.iter(|| bench_lexsort(&arr_a, &arr_b))
});

let arr_a = create_string_array::<i32>(size, 0.1);
c.bench_function(&format!("sort utf8 null 2^{}", log2_size), |b| {
b.iter(|| bench_sort(&arr_a))
});
});
}

Expand Down

0 comments on commit e7b33f1

Please sign in to comment.