diff --git a/bench-vortex/src/lib.rs b/bench-vortex/src/lib.rs index eb3e4c01f8..541e2d8609 100644 --- a/bench-vortex/src/lib.rs +++ b/bench-vortex/src/lib.rs @@ -184,14 +184,11 @@ pub fn fetch_taxi_data() -> Array { .into_array() } -pub fn compress_taxi_data() -> (usize, Array) { +pub fn compress_taxi_data() -> Array { let uncompressed = fetch_taxi_data(); let compressor: &dyn CompressionStrategy = &SamplingCompressor::new(COMPRESSORS.clone()); - let uncompressed_size = uncompressed.nbytes(); - let compressed = compressor.compress(&uncompressed).unwrap(); - - (uncompressed_size, compressed) + compressor.compress(&uncompressed).unwrap() } pub struct CompressionRunStats {