Skip to content

refactor(p2p/connection): Slight refactor to sendManyPackets that helps highlight performance improvements (backport #2953) (#2978) (backport #61)#65

Merged
PaddyMc merged 1 commit intoosmo-v25/v0.37.4from
mergify/bp/osmo-v25/v0.37.4/pr-61
May 23, 2024
Merged

refactor(p2p/connection): Slight refactor to sendManyPackets that helps highlight performance improvements (backport #2953) (#2978) (backport #61)#65
PaddyMc merged 1 commit intoosmo-v25/v0.37.4from
mergify/bp/osmo-v25/v0.37.4/pr-61

Conversation

@mergify
Copy link

@mergify mergify bot commented May 22, 2024

Fully compatible refactor to the sendSomePacketMsgs loop, that I think makes it easier to:

  1. Understand the code
  2. See how we improve it for serial time performance 3) Puts my notes for how to improve some consensus gossip bottlenecks.

PR checklist


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

This is an automatic backport of pull request #61 done by [Mergify](https://mergify.com).

…ps highlight performance improvements (backport cometbft#2953) (cometbft#2978) (#61)

* refactor(p2p/connection): Slight refactor to sendManyPackets that helps highlight performance improvements (cometbft#2978) (#61)

Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
(cherry picked from commit 6d0070e)
@PaddyMc PaddyMc merged commit c8f003d into osmo-v25/v0.37.4 May 23, 2024
@mergify mergify bot deleted the mergify/bp/osmo-v25/v0.37.4/pr-61 branch May 23, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants