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

Volar 1.6 and 1.7 very slow for large project #3226

Closed
Doeke opened this issue May 26, 2023 · 2 comments · Fixed by #3259
Closed

Volar 1.6 and 1.7 very slow for large project #3226

Doeke opened this issue May 26, 2023 · 2 comments · Fixed by #3259

Comments

@Doeke
Copy link

Doeke commented May 26, 2023

I have a large Vue 3 + Typescript project. Since updating Volar to 1.6.x, the performance of Volar took a nosedive. If I make any edit in .vue files, it takes up to 20 seconds for linting and syntax highlighting to be updated. There is no performance issue when editing .ts files in the same project, so I don't think the typescript server is the limiting factor. If I downgrade Volar to 1.2.x or 1.4.x, the performance is fast again.

It would be difficult for me to make this into a reproduction repo, are there other steps I can take to help debug this issue? Which features or changes in 1.6 could be responsible for such a decrease in performance?

@rdunk
Copy link

rdunk commented May 26, 2023

Having the same issue with both v1.6.5 and v1.7.8, taking ~35 seconds for updates to appear after changes.

@johnsoncodehk
Copy link
Member

Related to #3148.

I think this is most likely caused by #2685, but I can't confirm this, I hope someone can provide a repro case, so I can add tests based on it to avoid future regressions.

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

Successfully merging a pull request may close this issue.

3 participants