Skip to content

Skills: a profile's share is not a count - #151

Merged
MaxGekk merged 1 commit into
mainfrom
skill-profile-share
Nov 22, 2026
Merged

MaxGekk merged 1 commit into
mainfrom
skill-profile-share

Conversation

@MaxGekk

@MaxGekk MaxGekk commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

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)

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)
@MaxGekk
MaxGekk merged commit 98cdea2 into main Nov 22, 2026
1 check passed
@MaxGekk
MaxGekk deleted the skill-profile-share branch November 22, 2026 14:51
MaxGekk pushed a commit that referenced this pull request Nov 22, 2026
Generated-by: Claude Code (Claude Fable 5.1)
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.

1 participant