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

Optimize trackPeerStatistics #13984

Closed
AskAlexSharov opened this issue Feb 27, 2025 · 3 comments
Closed

Optimize trackPeerStatistics #13984

AskAlexSharov opened this issue Feb 27, 2025 · 3 comments
Assignees

Comments

@AskAlexSharov
Copy link
Collaborator

Collecting info for trackPeerStatistics seems often calling expensive funcs - which visible on heap profiling:

profile001.pdf

probably peerInfo.peer.Fullname() and peerInfo.peer.ID() call is enough. but maybe you will find something else.

@VBulikov
Copy link
Member

@AskAlexSharov removed Assignees

@AskAlexSharov
Copy link
Collaborator Author

created basic PR for it: #13985 don't know is there something else or not.

@dvovk
Copy link
Member

dvovk commented Feb 28, 2025

I've not found anything big, the minor improvement here #14015

@dvovk dvovk closed this as completed Mar 3, 2025
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

No branches or pull requests

3 participants