Repository navigation
Skills: a profile's share is not a count - #151
Merged
Merged
Conversation
Three levers picked from a frame's share scored flat on the clock, and one phase split misread the same profiles. The page says what to count before building, how inlining moves the blame, and which measurement is the ground truth. Generated-by: Claude Code (Claude Fable 5.1)
This was referenced Nov 22, 2026
MaxGekk
pushed a commit
that referenced
this pull request
Nov 22, 2026
Generated-by: Claude Code (Claude Fable 5.1)
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.
What changes were proposed in this pull request?
Part of #138, #145, #149 and #146. Documentation only: a new page under
docs/skills/, "A profile's share is not a count", and its row in the index.The page records what three changes in a row taught. Each was picked from a frame's share of a JFR profile, and each scored flat on the clock: the hash table (#138, PR #144), the operator in the hash (#145, PR #148) and the walk that binds without asking (#149, PR #150). It also records the phase split that filed the apply's adds under search (#146).
The lesson in one line: a self-frame share says where samples sit, not what a change removes. Count first, with throwaway counters on the branch; predict the gain as the share times the fraction the count says goes away; score against the wall clock by phase, with egg as the control; write into the issue which result closes it with no code.
Why are the changes needed?
docs/skills/is where the repository keeps what it learned the hard way, one page per lesson. This one cost three branches and about a day of runs.Does this PR introduce any user-facing change?
No.
How was this patch tested?
Documentation. Lines are under 100 columns outside the tables; the links name issues, PRs and committed files.
Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Fable 5.1)