Skip to content

Commit

Permalink
#2036: Tests: Reuse the perfMakeRunnable function for collection_loca…
Browse files Browse the repository at this point in the history
…l_send perf test
  • Loading branch information
JacobDomagala committed Jun 13, 2023
1 parent 60bfbc2 commit 1e98754
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/perf/collection_local_send.cc
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,7 @@ struct NodeObj {
msgs.emplace_back(makeMessage<TestCol::ColMsg>());
}

theTerm()->disableTD();

test_obj_->StartTimer(fmt::format("colSend {}", num_iters));
perfRunBenchmark();
test_obj_->StopTimer(fmt::format("colSend {}", num_iters));

theTerm()->enableTD();
perfMakeRunnable(in_msg);
}

void perfMakeRunnable(MyMsg* in_msg) {
Expand Down

0 comments on commit 1e98754

Please sign in to comment.