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

pkg:2.0.5 In big project, it is very slow to show the prompts. pkg:1.8.27 show smoothly #4005

Closed
zyhnbyyds opened this issue Mar 6, 2024 · 12 comments

Comments

@zyhnbyyds
Copy link

In large projects(about dozens to hundreds of pages.), the plugin's prompts are very slow, and I'm not sure if something is blocking it. The IDE's prompts take about 5 seconds, without any errors appearing. If there are errors, it will freeze for a long time. I downgraded the version to 1.8.27, and everything is running smoothly, with timely prompts as well.😫

I test a init project, it works well.

@IVanMissAya
Copy link

I also encountered the same situation

@sinpor
Copy link

sinpor commented Mar 6, 2024

The performance is good after I downgraded to 2.0.4.

@hotdogc1017
Copy link

Me too

@stormzhangbx
Copy link

I encountered the same situation too, downgrade to 2.0.4 will ok.

@parox2014
Copy link

Me too

@yuqibin
Copy link

yuqibin commented Mar 6, 2024

同,代码提示出来太慢了 ,已卸载

@GabrielHangor
Copy link

Can confirm that 2.0.4 works fine, issue is with 2.0.5

@medvesekg
Copy link

I had the same issue, reverting to 2.0.4 solved it.

@pm0u
Copy link

pm0u commented Mar 6, 2024

Same here. I was also occasionally getting TS warnings that "Type instantiation is excessively deep and possibly infinite" when creating types for Pinia stores. The error no longer is popping up and the speed is greatley improved in 2.0.4

@niaodan2b
Copy link

In my case (project with 2700+ files in /src), v2.0.4 already slower than v1.8.27 (1 sec vs instant), and v2.0.5 is much more slower (10+ sec).
So maybe not purely 2.0.5 issue?

@so1ve
Copy link
Member

so1ve commented Mar 7, 2024

In the preview feedback thread(#3789) we've received positive comments that the performance got a great improvement, however 2.0.5 upgraded volar.js and that may cause a performance regression.

@so1ve
Copy link
Member

so1ve commented Mar 7, 2024

Duplicate of #4024

@so1ve so1ve marked this as a duplicate of #4024 Mar 7, 2024
@so1ve so1ve closed this as not planned Won't fix, can't repro, duplicate, stale Mar 7, 2024
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

No branches or pull requests