Skip to content

feat: implement lazy-load for git stats #13

@androidZzT

Description

@androidZzT

Background

PR #8 removed the synchronous collectGitStats() subprocess call that was forking git log --numstat for every session during refresh — the single biggest performance bottleneck.

Git stats fields (gitCommits, gitAdditions, gitDeletions) are currently hardcoded to 0. The data model is preserved.

Requirements

  • Implement lazy-loading of git stats (load on demand, not during initial refresh)
  • Consider async/background loading to avoid blocking the main thread
  • Cache results to avoid redundant subprocess calls
  • Update UI to show git stats when available

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions