Skip to content

Start watcher process with low CPU priority #247

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

Closed
ammario opened this issue Mar 15, 2019 · 1 comment
Closed

Start watcher process with low CPU priority #247

ammario opened this issue Mar 15, 2019 · 1 comment

Comments

@ammario
Copy link
Member

ammario commented Mar 15, 2019

Probably via nice.

Marking this as urgent because the watcher process consumes so much CPU on the cloud offering during IDE load
that the terminal is unusable for a few seconds.

@ammario ammario added the urgent label Mar 15, 2019
@kylecarbs
Copy link
Member

cc: @coderasher

code-asher added a commit that referenced this issue Mar 27, 2019
code-asher added a commit that referenced this issue Jun 19, 2019
* Set low CPU priority on watcher

Fixes #247.

* Batch stat and readdir calls

* Fix fs.exists

callbackify seems to always adds an error as the first argument. Opted
to just use the promise for this one.

* Batch lstat

* Add maximum time for flushing batches
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