-
Notifications
You must be signed in to change notification settings - Fork 446
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
feat!: measure transfer perf over time #2067
feat!: measure transfer perf over time #2067
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for tackling this!
Friendly ping @maschad. Anything blocking this pull request? |
Thanks for following up @mxinden I made the changes suggested in the feedback and this is ready for review now. |
Once libp2p/js-libp2p#2067 is merged, we can re-introduce it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a few comments, but looks mostly good to me. How could we run this locally to confirm? Can we add that info to README.md ?
I've made some changes here:
|
Measures upload/download speed separately and also over time rather than in total. Closes libp2p#2064 BREAKING CHANGE: `measurePerformance` now returns an async generator that yields `PerfOutput`s and no longer accepts the `startTime` parameter --------- Co-authored-by: Alex Potsides <[email protected]>
Closes #2064
BREAKING CHANGE:
measurePerformance
now returns an async generator that yieldsPerfOutput
s and no longer accepts thestartTime
parameter