Skip to content

perf: reduce TUI and startup overhead - #480

Merged
mohitranka merged 1 commit into
mainfrom
perf/reduce-hot-path-cost
Sep 1, 2026
Merged

mohitranka merged 1 commit into
mainfrom
perf/reduce-hot-path-cost

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Summary

  • stop redraw animation for hidden or exited embedded terminals
  • coalesce editor syntax highlighting until application ticks
  • cache unified diff row generation by width and patch
  • combine repo branch and dirty checks into one git process
  • resume active sibling sessions concurrently

Validation

  • cargo fmt --all
  • cargo clippy --workspace --all-targets --locked -- -D warnings
  • cargo test -p forge-tui --lib --release
  • cargo test -p forge-session --lib --release
  • cargo test -p forge-workspace --lib --release
  • cargo test -p forge-durable --lib --release

Workspace index and durable checkpoint paths were already optimized or intentionally kept synchronous for correctness.

@mohitranka
mohitranka merged commit a61664d into main Sep 1, 2026
4 of 5 checks passed
@mohitranka
mohitranka deleted the perf/reduce-hot-path-cost branch September 1, 2026 23:17
mohitranka added a commit that referenced this pull request Sep 11, 2026
mohitranka added a commit that referenced this pull request Sep 11, 2026
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