Skip to content
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

High CPU on Linux #25

Open
benkaiser opened this issue Dec 19, 2018 · 1 comment
Open

High CPU on Linux #25

benkaiser opened this issue Dec 19, 2018 · 1 comment

Comments

@benkaiser
Copy link

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.

@sergeushenecz
Copy link

I have same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants