sonarlint-visualstudio icon indicating copy to clipboard operation
sonarlint-visualstudio copied to clipboard

Investigate reports of impact on performance of IntelliSense/editing experience

Open duncanp-sonar opened this issue 2 years ago • 5 comments

Description

We have had two recent reports of SonarLint for Visual Studio having an impact on the appearance of IntelliSense:

I experience slowdown as well when I begin typing and intellisense is supposed to pop up with suggestions. When SonarLint installed and active, it adds a very noticeable 0.5-1.0 second delay before intellisense appears. Disabling the plugin causes the delay to be removed entirely.

From here.

However, I had to disable the extension due to it being far too slow, and preventing VS in-line syntax/compilation checker from working in a useable way. Other Devs in my team have had this problem also. I am using SonarLint Version 6.13.0.62767 for Visual Studio 2022 Language used is C#

From VS Marketplace reviews.

So far we haven't been able to reproduce this locally.

Additional information/questions

  • which version(s) of VS?
  • for which languages does it occur? (C# is mentioned above - any others?)
  • does VS show a gold bar complaining about the issue?
  • using Connected Mode or standalone mode?
  • does it happen on all files or just some specific files?

It would be useful to have verbose SonarLint logs (Tools, Options, SonarLint, Logging level = verbose). The logs are displayed in the SonarLint pane of the Output window.

duncanp-sonar avatar Feb 24 '23 16:02 duncanp-sonar

Recently we had to inactive the extension due to performance, only investigate problems with threads see image attached image

lestival avatar Mar 27 '23 12:03 lestival

Recently we had to inactive the extension due to performance, only investigate problems with threads see image attached image

This cause CPU % use too high

lestival avatar Mar 27 '23 12:03 lestival

With SonarLint.VSIX-6.11 works fine, with SonarLint.VSIX-6.14 occurs

lestival avatar Mar 27 '23 14:03 lestival

Visual Studio Professional 17.5 Definite performance degradation noticable with Sonar Lint active.

Project is a Hybrid Blazor application I'm helping develop at work. I also noticed IIS Express instances spawning a ridiculous amount of times (and dissappearing when hovering over the taskbar entries with Sonarlint active. This behaviour dissappeared after I disabled SonarLint.

DutchJaFO avatar Apr 13 '23 19:04 DutchJaFO

Can confirm the above. I struggles with Hot reload taking too much time with SonarLint. ASP .NET Core 6 Razor Pages. Better if we can disable linting when debugging.

fmir864 avatar May 17 '23 13:05 fmir864