-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Vitest UI very slow with large modules graph #1602
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
running the @DerYeger can you take a look at the repro?, my laptop with 64GB of RAM cannot load it (there are 200+ modules) |
@userquin I removed circular references and reduces the number of modules dependencies a bit, let me know. Thanks |
Sorry for the late response. I just tried the repro, and it is definitely very slow, though I can open it. The graph view is active/alive while other tabs are selected, to prevent the graph from resetting every time the tab is selected. For module graphs of this size an interactive graph view is probably not the right choice in the first place. |
Describe the bug
I have an app with a large module graph, and when I run
vitest --ui
, the ui is very unresponsive, even if I don't have the modules tab opened.When I uncheck the two checkboxes, then the ui is reponsive again

I don't use these modules graphs, it would be nice if having the tab closed would not affect the performance of the UI.
See video:
CleanShot.2022-07-05.at.16.33.56.mp4
Reproduction
https://github.com/MPeloquin/VitestUiSlowModules
Module graph is larger than the one I have on my app, but the issue is the same, UI becomes very slow.
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: