Skip to content

Project dependencies route spawns dozens of slow cmd.exe processes #4895

Closed
@richardtallent

Description

@richardtallent

Version

4.0.5

Environment info

 System:
   OS: Windows 7
   CPU: (4) x64 Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz
 Binaries:
   Node: 10.15.1 - C:\Program Files\nodejs\node.EXE
   Yarn: Not Found
   npm: 6.7.0 - C:\Program Files\nodejs\npm.CMD
 npmGlobalPackages:
   @vue/cli: Not Found

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions