docs(bench): record remaining gajae optimization deltas#44
Merged
Conversation
Plan: plans/port-gajae-3day-remaining-optimizations.md
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.
Summary
bench/IMPROVEMENTS.{md,json}.Evidence
22.34375ms -> 8.114834ms,63.68%improvement, PR perf(coding-agent): fast-path single-line intra-line diffs #41.29.648125ms -> 12.111666ms,59.15%improvement, PR perf(coding-agent): prune compaction budget with a running token total #42.2.278792ms -> 1.645875ms,27.77%improvement, PR perf(coding-agent): clone emit context messages via JSON #43.AgentMessageobjects, so shared-object caching needs deeper proof.Verification
node -e 'JSON.parse(require("fs").readFileSync("bench/IMPROVEMENTS.json","utf8")); console.log("json ok")'rg -n "Remaining gajae|WI-5|WI-3|WI-4|WI-2" bench/IMPROVEMENTS.md bench/IMPROVEMENTS.jsongit diff --checknpm run checkpassed.Plan: plans/port-gajae-3day-remaining-optimizations.md
Summary by cubic
Documented the remaining Gajae 3‑day optimization results by adding WI‑5 (word‑diff), WI‑3 (compaction‑trim), and WI‑4 (emit‑context‑clone) benchmark deltas with evidence and PR links in bench/IMPROVEMENTS.{md,json}. Marked WI‑2 “mutation safety” as deferred (no code shipped) due to in‑place mutation findings in
packages/agentandpackages/coding-agent.Written for commit 8719d83. Summary will update on new commits.