vscode-extension-auto-import icon indicating copy to clipboard operation
vscode-extension-auto-import copied to clipboard

High CPU on Linux

Open benkaiser opened this issue 5 years ago • 1 comments

When running a build of my project on Linux, this extension (and each of the extensions it's forked from) starts hundreds of ripgrep processes. If I simply disable this extension I see no hammering of the CPU.

Here is an example of one of the processes (they all have the exact same parameters) of which I believe it probably starts one process per file created during build.

benkais+  2783  4.2  0.1  37980 16768 ?        Sl   15:23   0:00 /opt/visual-studio-code/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg --files --hidden --case-sensitive -g **/*.{js,jsx,ts,tsx} -g !**/node_modules/** -g !**/.git -g !**/.svn -g !**/.hg -g !**/CVS -g !**/.DS_Store --no-ignore --follow --no-config

The extension is literally unusable on Linux with this flaw. For reference this issue isn't present when running the build under Windows.

benkaiser avatar Dec 19 '18 23:12 benkaiser

I have same problem

sergeushenecz avatar Nov 19 '20 17:11 sergeushenecz