Skip to content

Commit

Permalink
Add cast f64 to string to benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
psvri committed Feb 15, 2024
1 parent eb4be68 commit 0bcb19b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arrow/benches/cast_kernels.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@ fn add_benchmark(c: &mut Criterion) {
c.bench_function("cast f32 to string 512", |b| {
b.iter(|| cast_array(&f32_array, DataType::Utf8))
});

c.bench_function("cast f64 to string 512", |b| {
b.iter(|| cast_array(&f64_array, DataType::Utf8))
});
c.bench_function("cast timestamp_ms to i64 512", |b| {
b.iter(|| cast_array(&time_ms_array, DataType::Int64))
});
Expand Down

0 comments on commit 0bcb19b

Please sign in to comment.