Skip to content

Commit

Permalink
Remove useless pause/resume
Browse files Browse the repository at this point in the history
  • Loading branch information
zanmato1984 committed Aug 29, 2024
1 parent 534b7c4 commit 2afaf47
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cpp/src/arrow/acero/hash_join_benchmark.cc
Original file line number Diff line number Diff line change
Expand Up @@ -686,9 +686,7 @@ void RowArrayDecodeBenchmark(benchmark::State& st, const std::shared_ptr<Schema>
DCHECK_OK(rows.DecodeSelected(&column, column_to_decode,
static_cast<int>(batch.length), row_ids_decode.data(),
default_memory_pool()));
st.PauseTiming();
total_rows += batch.length;
st.ResumeTiming();
}
st.counters["rows/sec"] = benchmark::Counter(total_rows, benchmark::Counter::kIsRate);
}
Expand Down

0 comments on commit 2afaf47

Please sign in to comment.