-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Extension causes high cpu load #19
Comments
could you provide the |
bung87.rails-unresponsive.cpuprofile.txt |
thank you! I can't confirm what cause this problem,the profiler log shows it gets stuck in loading js module,I have not face this problem on my rails project developing. |
I do have the same problem. Could it be caused by solargraph? |
have no idea, after installing it ,never activate it , status bar always show |
Same problem. |
yes. it's solargraph. I recommend removing the dependency, so solargraph can be optional. By watching 'top' on the console, I can see the ruby process for solargraph constantly running. I guess ruby language server for rails projects isn't ready for prime-time. |
thank you guys! I'm still not sure what reason is, and I'm working a rails project that I enabled solargraph and vscode-rails never happened the problem you faced, and I upgrade a version that highly relys on solargraph that make this extension more simpler. @leifcr think solargraph constantly running is not the problem as it's a ruby language server, if there is it should be the solargraph highly consuming cpu time, but I can't see it from the log. |
does this problem still existed?
so problem exists in one extension side, or both side, even it 's not as vscode-rails extension dependency, as they register same providers. also see castwide/vscode-solargraph#116 Extension causes high cpu load
vscode-rails/src/rails_definition.ts Line 485 in 97e3b61
it may introduce this error #45
it's also sound make sense , leave language level extension to end user choises |
Might be a Ruby version issue. It pops up all the time on a Ruby 2.3.3 project I'm working on. |
Performance
rails
0.8.5
Darwin x64 17.7.0
1.30.1
/Users/andreyagra/bung87.rails-unresponsive.cpuprofile.txt
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load
The text was updated successfully, but these errors were encountered: