Skip to content

Commit

Permalink
Benchmark query index is 1 offset and not 0 offset (#1467)
Browse files Browse the repository at this point in the history
  • Loading branch information
robert3005 authored Nov 25, 2024
1 parent 74d5aba commit 5837320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench-vortex/src/bin/tpch_benchmark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ fn render_table(receiver: Receiver<Measurement>, formats: &[Format]) -> anyhow::

for (query_idx, baseline_measure) in baseline.iter().enumerate().take(22) {
let query_baseline = baseline_measure.time.as_micros();
let mut row = vec![query_idx.to_string()];
let mut row = vec![(query_idx + 1).to_string()];
for (col_idx, format) in formats.iter().enumerate() {
let time_us = measurements[format][query_idx].time.as_micros();

Expand Down

0 comments on commit 5837320

Please sign in to comment.