Skip to content

Commit

Permalink
fix compile error in benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
liuneng1994 committed Apr 7, 2022
1 parent b228517 commit 507e81a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/local-engine/tests/benchmark_local_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ static void BM_ShuffleSplitter(benchmark::State& state) {
while(executor.pull(chunk))
{
sum += chunk.rows();
splitter->split(new Block(chunk));
splitter->split(chunk);
}
splitter->stop();
splitter->writeIndexFile();
Expand Down Expand Up @@ -303,7 +303,7 @@ static void BM_HashShuffleSplitter(benchmark::State& state) {
while(executor.pull(chunk))
{
sum += chunk.rows();
splitter->split(new Block(chunk));
splitter->split(chunk);
}
splitter->stop();
splitter->writeIndexFile();
Expand Down

0 comments on commit 507e81a

Please sign in to comment.