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

eth/protocols, metrics, p2p: add handler performance metrics #22581

Merged
merged 1 commit into from
Mar 26, 2021

Conversation

karalabe
Copy link
Member

Currently we have no insight into how much time serving specific network requests take. This is a problem because we can't correlate performance issues with network traffic. This PR adds a measurement to all eth and snap packet handlers to track the latency of handling each packet type in a histogram. Hopefully this will shed some light onto how much time we actually take to serve certain requests and what might influence it.

TL;DR: PR makes colored pixels

Screenshot from 2021-03-26 14-03-58

Copy link
Contributor

@holiman holiman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

colored pixels guud

@karalabe karalabe added this to the 1.10.2 milestone Mar 26, 2021
@karalabe karalabe merged commit efe0229 into ethereum:master Mar 26, 2021
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 10, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 10, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 13, 2024
JukLee0ira pushed a commit to JukLee0ira/XDPoSChain that referenced this pull request Dec 16, 2024
JukLee0ira pushed a commit to JukLee0ira/XDPoSChain that referenced this pull request Dec 16, 2024
JukLee0ira pushed a commit to JukLee0ira/XDPoSChain that referenced this pull request Dec 20, 2024
JukLee0ira pushed a commit to JukLee0ira/XDPoSChain that referenced this pull request Dec 20, 2024
JukLee0ira pushed a commit to JukLee0ira/XDPoSChain that referenced this pull request Dec 22, 2024
JukLee0ira pushed a commit to JukLee0ira/XDPoSChain that referenced this pull request Jan 2, 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

Successfully merging this pull request may close these issues.

2 participants