Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Dec 20, 2024
1 parent 2b2ccd1 commit e32db8d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions native/core/benches/batch_serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@

use arrow_array::{builder::StringBuilder, ArrayRef, RecordBatch};
use arrow_schema::{DataType, Field, Schema};
use comet::execution::shuffle::batch_serde::{
read_batch_fast, read_batch_ipc, write_batch_fast, write_batch_ipc,
};
use comet::execution::shuffle::batch_serde::{read_batch_fast, read_batch_ipc, write_batch_fast, write_batch_ipc, write_batch_ipc_data_only};
use criterion::{criterion_group, criterion_main, Criterion};
use std::sync::Arc;

Expand Down Expand Up @@ -72,7 +70,7 @@ fn criterion_benchmark(c: &mut Criterion) {
let mut buffer = vec![];
b.iter(|| {
buffer.clear();
criterion::black_box(write_batch_ipc(&batch, &mut buffer).unwrap())
criterion::black_box(write_batch_ipc_data_only(&batch, &mut buffer).unwrap())
});
});
}
Expand Down

0 comments on commit e32db8d

Please sign in to comment.