Skip to content

Conversation

@bitwiseguy
Copy link
Contributor

@bitwiseguy bitwiseguy commented Oct 17, 2025

Overview

To provide more visibility into block processing performance (useful for benchmarking execution clients), it's useful to log the time it takes to execute all 4 engineApi calls op-node makes to its execution client as part of the block processing lifecycle.

Additional context

Last year we merged this pr, which updated both code paths to log the block processing durations. This pr from ~2 months ago removed the log from the async code path. It would also be good to add some metrics for some of the logged data field, but can do that in a follow-up pr.

Open questions

  1. Previously, there were two code paths the engine could take: a synchronous path, and an async/event-based path. Are both of those paths going to be supported going forward or will the synchronous path be deprecated? We no longer see the sync block processing logs in our grafana dashboard for production nodes, which makes me think the sync path is currently dead code

@bitwiseguy bitwiseguy requested review from a team as code owners October 17, 2025 14:31
@bitwiseguy bitwiseguy requested a review from ajsutton October 17, 2025 14:31
@bitwiseguy bitwiseguy force-pushed the ss/op-node-log-block-processing-data branch 3 times, most recently from 93e15f0 to 182c6c0 Compare October 17, 2025 19:45
@bitwiseguy bitwiseguy added this pull request to the merge queue Oct 17, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 17, 2025
Copy link
Contributor

@scharissis scharissis left a comment

Choose a reason for hiding this comment

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

LGTM; left a few questions/nits

@bitwiseguy bitwiseguy force-pushed the ss/op-node-log-block-processing-data branch 3 times, most recently from 15cd643 to ce11d7e Compare October 21, 2025 15:23
@bitwiseguy bitwiseguy self-assigned this Oct 21, 2025
@bitwiseguy bitwiseguy force-pushed the ss/op-node-log-block-processing-data branch from ce11d7e to 384914b Compare October 21, 2025 20:43
@bitwiseguy bitwiseguy added this pull request to the merge queue Oct 21, 2025
Merged via the queue into develop with commit cca18bc Oct 21, 2025
67 checks passed
@bitwiseguy bitwiseguy deleted the ss/op-node-log-block-processing-data branch October 21, 2025 21:28
theochap pushed a commit that referenced this pull request Oct 22, 2025
* op-node: revive async block processing timing log

* op-node: add clarifying comments to logBlockProcessingMetrics
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.

4 participants