Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#2036: Tests: Reuse the perfMakeRunnable function for collection_loca…
Browse files Browse the repository at this point in the history
…l_send perf test
JacobDomagala committed Jun 6, 2023

Partially verified

This commit is signed with the committer’s verified signature.
spydon’s contribution has been verified via GPG key.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
1 parent 1fb0e2d commit 3d416a5
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
@@ -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) {

0 comments on commit 3d416a5

Please sign in to comment.