Skip to content

perf: keep repository watching and intraline diffs off hot paths - #24

Merged
erwin-wee merged 3 commits into
mainfrom
perf/repository-watcher-intraline
Sep 21, 2026
Merged

erwin-wee merged 3 commits into
mainfrom
perf/repository-watcher-intraline

Conversation

@erwin-wee

Copy link
Copy Markdown
Owner

Summary

  • move repository watching, Git enumeration and stat work to a worker thread
  • calculate intraline diffs only for rendered rows

Verification

  • npm run typecheck
  • npx vitest run --project fixture test/fixture/watcher.test.ts test/fixture/worktrees.test.ts
  • GITGOOD_SMOKE_FILTER=windowed-intraline npm run test:smoke

@erwin-wee
erwin-wee force-pushed the perf/repository-watcher-intraline branch from 9399dc5 to 0581b19 Compare September 21, 2026 08:25
@erwin-wee
erwin-wee merged commit 5f31104 into main Sep 21, 2026
2 checks 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.

1 participant