Skip to content

various performance improvements - #131

Merged
reynaldichernando merged 2 commits into
mainfrom
suggestion
Oct 28, 2026
Merged

reynaldichernando merged 2 commits into
mainfrom
suggestion

Conversation

@reynaldichernando

Copy link
Copy Markdown
Member

closes #123

  • Suggestions: a small model now writes the chips after the turn, so the build model no longer holds the composer while it writes them.
  • End-of-turn save: the composer no longer waits for the save, which finishes in the background, cutting that gap from 2.2s to under 10ms.
  • Manifest check: its reads now run in parallel and skip .puter/, taking it from about 1s to 0.2s.
  • Cache clear: it now starts right after the AI writes files instead of when update_preview is called, saving about 1.5 to 2s per edit.

- the checkpoint after a turn's last round saves it as finished, so a
  reload before the end-of-turn save lands doesn't offer Resume
- only earlier turns' SuggestNextSteps calls are left out of requests, so a
  call in this turn keeps its error and a resumed turn ends on a result
- the early preview clear starts only when a refresh is pending, not after
  a failed write or publish_site's own refresh
- fix the snapshot comment and the comment merged into CUT_OFF_TOOL_ERROR

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@reynaldichernando
reynaldichernando merged commit 1595f60 into main Oct 28, 2026
1 check passed
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.

improve performance suggestion pills

1 participant