vscode-csharp: Extension causes high cpu load

  • Issue Type: Performance
  • Extension Name: csharp
  • Extension Version: 1.17.1
  • OS Version: Linux x64 4.18.0-15-generic
  • VSCode version: 1.31.0

ms-vscode.csharp-unresponsive.cpuprofile.txt

Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

About this issue

  • Original URL
  • State: open
  • Created 5 years ago
  • Reactions: 9
  • Comments: 18 (5 by maintainers)

Most upvoted comments

despite setting the logging level to error, I’m still running into the same symptoms. Curiously, I’m running into this on my mac at work. Curiously it looks like mono-sgen64 is eating a ton of CPU. It seems to be triggered by intellisense. If I just type and never hit ctrl+space it seems to be fine.

Screen Shot 2019-04-16 at 1 02 53 PM

despite setting the logging level to error, I’m still running into the same symptoms. Curiously, I’m running into this on my mac at work. Curiously it looks like mono-sgen64 is eating a ton of CPU. It seems to be triggered by intellisense. If I just type and never hit ctrl+space it seems to be fine.

I am having the same.

@floyd-may I suspect the slow down maybe because omnisharp is sending a lot of messages. Could you try setting “omnisharp.loggingLevel” : error and restart vscode. That way it will only log error messages and might be faster