Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: measuring total sent and received bytes #552

Merged
merged 3 commits into from
Jun 29, 2023

Conversation

b00f
Copy link
Collaborator

@b00f b00f commented Jun 27, 2023

Description

In this PR, we measure the total bytes sent and received by the node within the sync package.
This might address issue #529, but we still need more information.
For instance, we could measure the total stream and gossip messages.
We could even categorize the measurements by message type.

Related issue(s)

It's related to #529

@codecov
Copy link

codecov bot commented Jun 27, 2023

Codecov Report

Merging #552 (bc85c6b) into main (7281c49) will increase coverage by 0.09%.
The diff coverage is 91.17%.

@@            Coverage Diff             @@
##             main     #552      +/-   ##
==========================================
+ Coverage   83.28%   83.38%   +0.09%     
==========================================
  Files         154      154              
  Lines        7341     7420      +79     
==========================================
+ Hits         6114     6187      +73     
- Misses        947      952       +5     
- Partials      280      281       +1     

@b00f b00f force-pushed the total-send-receive branch from 7845672 to 8da78dc Compare June 27, 2023 13:30
@b00f b00f requested review from vlasfama, yenkhoon, Ja7ad and a team and removed request for a team June 27, 2023 15:18
@b00f b00f merged commit 5beaf33 into pactus-project:main Jun 29, 2023
@b00f b00f deleted the total-send-receive branch June 29, 2023 14:22
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