-
-
Notifications
You must be signed in to change notification settings - Fork 289
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
libp2p-noise handshake performance #4140
Comments
|
@dapplion the hot path is at |
looks like |
right now we maintain an uint, call |
@wemeetagain yeah that's the best way, even better than we increase Uint8Array by 1 manually
this is the same optimization @dapplion did for ssz where he maintained both Uint8Array and DataView, in our a case we should represent a Nonce as an |
Agree it's worth improving it as the fix is really simple 👍 |
Investigate why libp2p-noise handshake takes > 7% of cpu time
0522_contabo_20_subscribe_all_subnets.cpuprofile.zip
The text was updated successfully, but these errors were encountered: