cannon,op-challenger: Add metric to report i-cache misses#17123
Merged
cannon,op-challenger: Add metric to report i-cache misses#17123
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #17123 +/- ##
===========================================
+ Coverage 43.74% 45.39% +1.64%
===========================================
Files 1372 1478 +106
Lines 115501 120096 +4595
===========================================
+ Hits 50524 54514 +3990
- Misses 61134 61758 +624
+ Partials 3843 3824 -19
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
janjakubnanista
pushed a commit
that referenced
this pull request
Aug 19, 2025
leopoldjoy
pushed a commit
to leopoldjoy/optimism
that referenced
this pull request
Aug 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The instruction pre-heap contains a cache of decoded instructions. It is initialized the first time Cannon is executed using a 2 GiB region. In almost all cases, this is sufficient to cover all instructions in a program. In rare cases, such as when the program exceeds 2 GiB or due to misconfiguration, a cache miss may occur. Detecting this today is not straightforward.
This patch adds a metric to track cache misses in the pre-heap, making it easier to identify when they happen.