GitComet/docs/PERFORMANCE.md
Sampo Kivistö 7168412425
save
2026-01-10 21:04:02 +02:00

384 B

Performance guidelines

  • Prefer paged history (limit, cursor) over full rev-walks.
  • Cache by commit id and ref tip id, not by branch name.
  • Use stable, immutable snapshots for UI, and update incrementally.
  • Defer expensive work (diff/graph layout) to background tasks and stream results.
  • Measure hot paths: open, status, log page, graph page, diff.