Skip to content

Conversation

@kyle-rader
Copy link
Owner

Optimize repo stats performance for large repositories and add a delayed progress meter.

The repo stats command previously loaded the entire git log into memory and processed it in-app, leading to slow performance on large codebases. This PR streams git log output, pushes date filtering directly to git using --since/--until flags, and removes an unused internal timeline data structure. A 1-second delayed, self-clearing progress spinner is also added to improve UX for long-running computations.


Open in Cursor Open in Web

Co-authored-by: kylewrader <kylewrader@gmail.com>
@cursor
Copy link

cursor bot commented Dec 12, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Co-authored-by: kylewrader <kylewrader@gmail.com>
@kyle-rader kyle-rader marked this pull request as ready for review December 12, 2025 21:26
cursoragent and others added 2 commits December 12, 2025 21:27
Co-authored-by: kylewrader <kylewrader@gmail.com>
Co-authored-by: kylewrader <kylewrader@gmail.com>
@kyle-rader kyle-rader merged commit 6a3ec58 into main Dec 12, 2025
3 checks passed
@kyle-rader kyle-rader deleted the cursor/rep-stats-performance-and-progress-41f8 branch December 12, 2025 21:40
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.

3 participants