Repository navigation
docs: 1036: performance learnings from the fast code generation series - #1037
Open
jasperpotts wants to merge 3 commits into
Open
jasperpotts wants to merge 3 commits into
jasperpotts wants to merge 3 commits into
Conversation
…aths, history of the series Adds docs/performance/ with README.md (the rules to remember), zero-allocation.md and history.md, and points CLAUDE.md at it. measuring.md, jit-and-inlining.md and format-comparison.md follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Jasper Potts <1466205+jasperpotts@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Jasper Potts <1466205+jasperpotts@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Jasper Potts <1466205+jasperpotts@users.noreply.github.com>
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.
Closes #1036. Stacked on #1035 (
1031-array-parser-nested), because the documents describe features that only exist there.Summary
Everything the fast code generation series (#991 to #1035) learned about performance, collected where the next round of work will find it, instead of spread over twenty PR descriptions. Documentation only; no code changes.
Performance: no change. These documents record the numbers measured in the series.
docs/performance/:README.md: an index, and ten rules to remember (decide on AMD EPYC, measure the real shape of the data, keep generated methods under 8,000 bytes, per-message cost is the cost, …).measuring.md: the method:Level.Invocation, interleaving, pinning, two machines;PrintInliningrecipes;jit-and-inlining.md:PrintInlining;format-comparison.md:zero-allocation.md:history.md: every PR in the series, with what it changed and why, its numbers, and the final table against 0.16.4 and the hand-written reference codec. Tried-and-reverted lessons stay in §9 ofdocs/fast-codegen-plan.mdand are linked, not copied.CLAUDE.mdgains a "Performance Work" section pointing atdocs/performance/README.md, so future sessions start from what is already known.All numbers are from two identical AMD EPYC 9275F machines.
Checks
🤖 Generated with Claude Code