-
Notifications
You must be signed in to change notification settings - Fork 481
Connection establishment time increase between tcp v9 and v10 #3029
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
Comments
Logs for v1 and v2 here https://gist.github.com/dozyio/e49942344c2c37badb48e23b465dcaa6 |
Found the issue v1
V2
https://github.com/libp2p/js-libp2p/blob/main/packages/multistream-select/src/select.ts#L68 V2 after change
|
Uh oh!
There was an error while loading. Please reload this page.
To connect to another js-libp2p peer and send one byte takes 0.2s with
@libp2p/[email protected]
but 0.4s with@libp2p/[email protected]
.An extra round-trip may have been added - it needs some investigation as to why.
https://observablehq.com/@libp2p-workspace/performance-dashboard?branch=04d78b7e02f35038bed154f5772cbeade2b87912
The relevant deps are:
Before
After
The text was updated successfully, but these errors were encountered: