Skip to content

Commit 60bdb22

Browse files
onursaticiAdamGS
authored andcommitted
benchmarks site to show compression time rather than throughput (#3162)
1 parent 51151ef commit 60bdb22

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

bench-vortex/src/measurements.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ pub struct CompressionTimingMeasurement {
241241
impl ToJson for CompressionTimingMeasurement {
242242
fn to_json(&self) -> JsonValue {
243243
let name = match self.format {
244-
Format::OnDiskVortex => format!("{} throughput", self.name),
245-
Format::Parquet => format!("parquet_rs-zstd {} throughput", self.name),
244+
Format::OnDiskVortex => self.name.to_string(),
245+
Format::Parquet => format!("parquet_rs-zstd {}", self.name),
246246
_ => vortex_panic!(
247247
"CompressionTimingMeasurement only supports vortex and parquet formats"
248248
),

benchmarks-website/index.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,10 @@
2424
["Random Access", undefined],
2525
["Compression", {
2626
"keptCharts": [
27-
"COMPRESS THROUGHPUT",
28-
"PARQUET RS-ZSTD COMPRESS THROUGHPUT",
29-
"DECOMPRESS THROUGHPUT",
30-
"PARQUET RS-ZSTD DECOMPRESS THROUGHPUT",
31-
"VORTEX COMPRESSION RATIO",
27+
"COMPRESS",
28+
"PARQUET RS-ZSTD COMPRESS",
29+
"DECOMPRESS",
30+
"PARQUET RS-ZSTD DECOMPRESS",
3231
"VORTEX:PARQUET-ZSTD SIZE",
3332
],
3433
"hiddenDatasets": undefined,

0 commit comments

Comments
 (0)