Skip to content

Commit

Permalink
prints
Browse files Browse the repository at this point in the history
  • Loading branch information
a10y committed Sep 3, 2024
1 parent aff74c1 commit f55092b
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions bench-vortex/benches/compress_benchmark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use bench_vortex::taxi_data::taxi_data_parquet;
use bench_vortex::tpch::dbgen::{DBGen, DBGenOptions};
use bench_vortex::{compress_taxi_data, tpch};
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use vortex::array::ChunkedArray;
use vortex::{IntoArray, IntoCanonical};
use vortex_sampling_compressor::compressors::fsst::FSSTCompressor;
// use vortex_sampling_compressor::compressors::fsst::FSSTCompressor;
Expand Down Expand Up @@ -54,19 +53,6 @@ fn vortex_compress_tpch(c: &mut Criterion) {
.unwrap()
});

// Print the size of each chunk
for (idx, chunk) in ChunkedArray::try_from(comments.clone())
.unwrap()
.chunks()
.enumerate()
{
println!(
"chunk {idx} nbytes = {} len = {}",
chunk.nbytes(),
chunk.len()
);
}

group.sample_size(10);
group.bench_function("compress-default", |b| {
b.iter_with_large_drop(|| {
Expand Down

0 comments on commit f55092b

Please sign in to comment.