-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Project dependencies route spawns dozens of slow cmd.exe processes #4895
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
Comments
I'd apprechiate you editing your issue removing the unnecessary snark. :) |
Updated! Apologies, the mild humor was with the intention of keeping it light rather than just filing another boring complaint. :) The same spawning of lots of node processes to check dependency versions happens on my Mac too, but it's done in a second or two, not 2-5 minutes. The Mac is newer and faster than my day-job-corporate-Dell, but not orders of magnitude faster. They're on the same network (I work remotely), so it doesn't appear to be a network issue. |
Got it. It's because in v4 package metadata are achieved calling the Could be fixed by replacing it with a normal HTTP request. |
* refactor: use a plain http request to get package metadata fixes vuejs#4895 fixes vuejs#4995 * chore: add link to the package metadata documentation
Version
4.0.5
Environment info
Steps to reproduce
Open any project in Vue UI. Go to the dependencies tab. Look at Windows Task Manager and note how many cmd.exe processes are spawned and how slowly they resolve with version information.
What is expected?
If shelling out is needed to get versions, batching the requests somehow might improve performance significantly
What is actually happening?
It appears a new cmd process is created for each dependency and plugin
I don't recall this being slow in v3, but now it's slow enough that I try to avoid that tab and just use npm outdated from the command line.
The text was updated successfully, but these errors were encountered: