Skip to content

File tree performance degrades on large repositories (10k+ files) #29

@Codename-11

Description

@Codename-11

The file tree scans up to 5 levels deep synchronously via fs.readdirSync. For repositories with many files (monorepos, node_modules edge cases), this can cause noticeable lag.

Potential improvements

  • Lazy-load directory contents on expand (instead of full upfront scan)
  • Virtual scrolling for the file list
  • Debounced file watcher instead of polling
  • Exclude patterns configurable per-project

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingperformancePerformance improvements

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions