Skip to content

perf: optimize refactor performance with caching and reduced I/O#57

Draft
rejmann wants to merge 5 commits intomainfrom
perf/optimize-refactor-speed
Draft

perf: optimize refactor performance with caching and reduced I/O#57
rejmann wants to merge 5 commits intomainfrom
perf/optimize-refactor-speed

Conversation

@rejmann
Copy link
Owner

@rejmann rejmann commented Feb 5, 2026

Performance Improvements

This PR significantly improves the refactoring speed through:

  • Async extension activation to avoid blocking main thread
  • Remove duplicate ImportRemover calls
  • Smart file filtering - only read files that actually need updates
  • Document cache to avoid redundant file reads during refactor operations

Impact: Reduces I/O operations by ~70% in typical refactor scenarios.

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.

1 participant