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

Refact plugin is using too much CPU usage when working with JavaScript files on VSCode #177

Open
lulunac27a opened this issue Feb 8, 2025 · 3 comments

Comments

@lulunac27a
Copy link

When I work with JavaScript files on VSCode, it sometimes stops and slows down due to high CPU usage.

@olegklimov olegklimov transferred this issue from smallcloudai/refact Feb 9, 2025
@olegklimov
Copy link
Contributor

Hmm it should slow down but only when indexing.

You can try top to check which process is responsible for CPU usage, and you can look at the logs over there tail -n 1000 -f ~/.cache/refact/logs/rustbinary.2025-02-09 maybe you'll see something interesting there.

@lulunac27a
Copy link
Author

Code Helper and refact-lsp is using too much CPU usage (more than 100%).

@lulunac27a
Copy link
Author

lulunac27a commented Feb 9, 2025

/Users/lulu/.vscode/extensions/smallcloud.codify-6.0.4-darwin-arm64/assets/refact-lsp --address-url Refact --api-key dFCrxWJ8BLAHaFZS6QLd9a4Q --ping-message ping-30f995f3acc2a000 --http-port 9089 --lsp-stdin-stdout 1 --enduser-client-version refact-6.0.4/vscode-1.96.4 --basic-telemetry --vecdb --vecdb-max-files 15000 --ast --ast-max-files 35000

is using too much CPU usage when saving and editing JavaScript code which is inside extensionHost [1].

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