Skip to content

Performance: Limit or filter revwalk for large repos #1

Description

@Alex-Grimes

Iterating over the entire git history using revwalk is expensive and slow for large repositories.

Tasks:

  • Add logic to limit the number of commits traversed (e.g., "HEAD~100..HEAD"), or add a date-based filter.
  • Make this limit configurable (through a constant, argument, or config file).
  • Document the behavior in code comments or README.

Impact:
Prevents performance issues in large repositories and improves CLI tool responsiveness.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions