Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve performance for large workspaces #171

Closed
wants to merge 11 commits into from
Closed

Conversation

rvanasa
Copy link
Contributor

@rvanasa rvanasa commented Feb 9, 2023

Implements the following optimizations:

  • Limits the type checker to the open tab and canister entry points (rather than the entire workspace).
  • Increases delay before checking workspace on file save
  • Caches diagnostics to reduce number of LSP messages
  • Refactors for non-blocking file I/O

@rvanasa rvanasa changed the title Experiment: only type-check open tabs Improve performance for large projects Feb 9, 2023
@rvanasa rvanasa changed the title Improve performance for large projects Improve performance for large workspaces Feb 9, 2023
@rvanasa
Copy link
Contributor Author

rvanasa commented Feb 10, 2023

Closing in favor of a minimal subset of these optimizations which offer the biggest performance improvements.

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