jest-community / vscode-jest

The optimal flow for Jest based testing in VS Code
MIT License
2.83k stars 290 forks source link

Extension causes high cpu load #439

Open dlevkov opened 5 years ago

dlevkov commented 5 years ago

Orta.vscode-jest-unresponsive.cpuprofile.txt

:warning: Make sure to attach this file from your home-directory: /Users/denis/Orta.vscode-jest-unresponsive.cpuprofile.txt :warning:

Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

jmarceli commented 4 years ago

It looks like a similar issue to https://github.com/jest-community/vscode-jest/issues/455

connectdotz commented 4 years ago

@dlevkov thanks for including the actual profile for the high CPU issue. I finally got a chance to look at the profile today and suspect that it might have something to do with the snapshots... do you happen to have lots of snapshots in your project?