This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 9c7853c ARROW-4282: [Rust] builder benchmark is broken
9c7853c is described below
commit 9c7853c2137792eeef60110986e3ff6a388fb9d6
Author: Paddy Horan <[email protected]>
AuthorDate: Mon Jan 21 05:15:16 2019 +0900
ARROW-4282: [Rust] builder benchmark is broken
Author: Paddy Horan <[email protected]>
Closes #3422 from paddyhoran/bench-bug and squashes the following commits:
e8e7c9da <Paddy Horan> Bug fix in builder benchmark
---
rust/arrow/benches/builder.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rust/arrow/benches/builder.rs b/rust/arrow/benches/builder.rs
index 90fd75a..7036980 100644
--- a/rust/arrow/benches/builder.rs
+++ b/rust/arrow/benches/builder.rs
@@ -39,7 +39,7 @@ fn bench_primitive(c: &mut Criterion) {
b.iter(|| {
let mut builder = Int64Builder::new(64);
for _ in 0..NUM_BATCHES {
- let _ = black_box(builder.push_slice(&data[..]));
+ let _ = black_box(builder.append_slice(&data[..]));
}
black_box(builder.finish());
})
@@ -62,7 +62,7 @@ fn bench_bool(c: &mut Criterion) {
b.iter(|| {
let mut builder = BooleanBuilder::new(64);
for _ in 0..NUM_BATCHES {
- let _ = black_box(builder.push_slice(&data[..]));
+ let _ = black_box(builder.append_slice(&data[..]));
}
black_box(builder.finish());
})