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
feat: track timings of various stages of block import #6439
Conversation
@@ -133,19 +133,28 @@ function getDefaultHandlers(modules: ValidatorFnsModules, options: GossipHandler | |||
const blockInputMeta = | |||
config.getForkSeq(signedBlock.message.slot) >= ForkSeq.deneb ? blockInputRes.blockInputMeta : {}; | |||
|
|||
metrics?.gossipBlock.receivedToGossipValidate.observe(recvToVal); |
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.
this previously was incorrect because it was observing the latency not the actual rec to validation time, fixed below
|
||
const {blockInput, blockInputMeta} = chain.seenGossipBlockInput.getGossipBlockInput(config, { | ||
type: GossipedInputType.blob, | ||
blobSidecar, | ||
blobBytes, | ||
}); | ||
|
||
metrics?.gossipBlob.receivedToGossipValidate.observe(recvToVal); |
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.
this previously was incorrect because it was observing the latency not the actual rec to validation time, fixed below
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## unstable #6439 +/- ##
============================================
- Coverage 61.70% 61.64% -0.07%
============================================
Files 553 553
Lines 57858 57918 +60
Branches 1829 1829
============================================
Hits 35702 35702
- Misses 22119 22179 +60
Partials 37 37 |
Performance Report✔️ no performance regression detected Full benchmark results
|
🎉 This PR is included in v1.16.0 🎉 |
to track correctly various stages of block import to figure out why we have verify latency for e.g. and to uncover any possible optimizations
also
dashboard for new values coming up in followup PR