-
Notifications
You must be signed in to change notification settings - Fork 62
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
Optimise gcc.SendSideBWE
#142
Conversation
- Generate `rtcp.TransportLayerCC` packets with given seq numbers
- instead of passing each `cc.Acknowledgement` 1 by 1 in respective channel; pass them all at once to decrease the internal overhead of go channels
Codecov Report
@@ Coverage Diff @@
## master #142 +/- ##
==========================================
+ Coverage 79.95% 80.71% +0.75%
==========================================
Files 58 58
Lines 2779 2779
==========================================
+ Hits 2222 2243 +21
+ Misses 449 430 -19
+ Partials 108 106 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
Looks good to me, thanks @adityaa30 !
@adityaa30 would you mind applying this patch to fix the linter errors?
|
fixes pion#141
@mengelbart Done |
Thanks, @adityaa30. I'm not sure why the WASM tests fail, I think there's a deadlock while closing the channels, but I'm not sure if it was introduced by this change. Anyway, I included your changes in #147 which builds on another optimization (#146) that reduces the overall number of goroutines and should fix the tests. |
Sure @mengelbart Thanks a lot |
Merged in #147 |
Description
Reference issue
Fixes #141