docs(blog): the leak that wasn't in any Context#620
Merged
Conversation
Blog post tracing the IntersectionObserver / BufferLine retention story — wrong turn in #614, byte-delta heap diff as the pivot, the one-line WeakRef patch in xtermjs/xterm.js#5821. Written in the voice of the debugging-story canon: cold open on the symptom, the wrong turns compressed rather than storied, anticlimactic fix. Targets readers from backend / systems backgrounds who may not be fluent in web-frontend memory tooling — links to MDN and Chrome DevTools docs for the web-specific concepts. Credit: I drove; Claude Code (https://claude.com/claude-code) did the agent-side work. Under docs/perf-investigations/ alongside the technical chapters in memory-learnings.md.
This was referenced Apr 21, 2026
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.
Draft blog post for review. Push revisions as additional commits for iteration.
Preview on GitHub by clicking the file in the diff, or view raw for a cleaner markdown render:
Shape of the post:
Contextcount proxy on perf(memory): cut canvas-toggle retention (-89% Contexts, -91% SVG bytes) #614, 89% reduction, zero Task Manager movementperformance.memoryfor readers who aren't web-perf fluentAttribution: I drove; Claude Code did the agent-side work.
Not for merge as-is — draft is to iterate on wording before deciding where it's actually published.