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

Share analysis results with a running analysis server #3805

Open
tylandercasper opened this issue Jan 30, 2025 · 1 comment
Open

Share analysis results with a running analysis server #3805

tylandercasper opened this issue Jan 30, 2025 · 1 comment
Assignees

Comments

@tylandercasper
Copy link

Since 99% of build_runner time is anaylzing files, and we've already done that if we're running vscode or Android Studio, is it possible for build_runner to just use the existing LSP server to do it's parsing?

In theory this allow us to make changes with the same speed of build_runner watch

@davidmorgan
Copy link
Contributor

Actually--based on the benchmarking I've been doing--very little of build_runner's time on big projects is spent analyzing files.

So the first optimization is to speed things up so analyzing files really is most of the work.

After that, yes, it might make sense to share work with another running analyzer instance.

@davidmorgan davidmorgan changed the title can build_runner use an existing lsp server instead of reanalyzing everything? Share analysis results with a running analysis server Jan 30, 2025
@davidmorgan davidmorgan self-assigned this Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants