Visual Studio with ReSharper is slow

We do our best in terms of ReSharper performance, however there are some known and unknown cases where ReSharper can slow down Visual Studio.

Below is a check list that will help you troubleshoot, work around or fix the performance issues with ReSharper.

  1. First of all, make sure that the slowdown is caused by ReSharper, as opposed to a different part of your development environment. To do that, simply suspend ReSharper as described here and check if performance issues are still present. If performance improves noticeably when ReSharper is disabled, proceed to the following steps.
  2. Make sure that ReSharper system requirements are met. Please check your environment against the current system requirements. In addition, using more RAM and a Solid State Drive (SSD) instead of HDD is known to help a lot in improving Visual Studio performance with ReSharper.
  3. Review Visual Studio and ReSharper configuration. For a long list of Visual Studio and ReSharper settings that can be modified in order to improve performance, see Speeding Up ReSharper (and Visual Studio). For a maximum impact with minimum configuration changes, try the following short list:
    • Make sure that ReSharper's Solution-Wide Analysis (SWA) is turned off ("ReSharper | Options | Code Inspection | Settings | Enable solution-wide analysis" should be off).
    • If you're using Git command line or an external Git client, or if you're using a VCS other than Git, or you're working on a solution that's not under version control, please turn off Visual Studio's Git integration ("Tools | Options | Source Control | Current source control plug-in", set to "None", then restart Visual Studio)
    • Review Visual Studio settings listed under "Configuring Visual Studio preferences" in Speeding Up ReSharper (and Visual Studio)
  4. Take a Visual Studio performance snapshot and send it to JetBrains. If completing the steps outlined above didn't help improve performance, please capture a performance snapshot with ReSharper's bundled profiler, and provide it to JetBrains. We will be able to investigate the performance issue and provide specific recommendations for you. To do this, please follow steps described in How to collect a performance snapshot.
161 comments
Comment actions Permalink

Well we all used resharper. The combination of Resharper and Visual studio used to be the best IDE on the marker IMHO. Now. We are in the process of eliminating resharper because it is really really slow in VS 2019. For me it is unusable. Every keyboard hit is lagging the whole IDE. VS keeps suggesting to turn resharper of because it slows down the enviromnent etc. Its a shame to see such a good product to continue this path.

1
Comment actions Permalink

If your solution has 30+ projects, Resharper becomes like something worse than a virus. I causes Visual Studio crashes, slows down your PC.

And none of these suggestions works.

1
Comment actions Permalink

 

Please fix Resharper Performance.

2
Comment actions Permalink

Resharper completely slows my i9 9900K, 64GB of RAM, 2TB NVME SSD system down to a crawl.  Even on small projects!  I am shocked how much of a performance impact this causes.  I have used ReSharper for about 5 years now.  This makes me consider abandoning the software.

2
Comment actions Permalink

Nathaniel - maybe the min system specs are dual Xeon, 1TB RAM and NVME2 IN RAID? How dare we run it on only a single CPU + SSD! :)

We use Dell Precision Workstations with pretty high specs and perfomance is woeful for us.

2
Comment actions Permalink

Courtney - Do we need to get those 56-core Xeons, 4TB of RAM and Intel Optane?  I wonder how well it will perform with that system too.  You would think an 8-core i9 would be more than enough performance to handle this.

2
Comment actions Permalink

Nathaniel - Based on the performance I'm seeing - I'd say that's a definite yes!  50 cores for Resharper and 6 for OS and VS.

1
Comment actions Permalink

Honestly, I think ReSharper would be a great tool to benchmark all new CPUs, although I fear the results might always be the same - the CPU couldn't handle the strain.

1
Comment actions Permalink

Was listening to this podcast the other day https://dotnetcore.show/episode-38-rider-with-kirill-skyrgan/

From that I get the overwhelming impression that they've given up on fixing the performance of resharper and are attempting to move it out of process so that it doesn't suck all of visual studio down with it.  

As much as VS has improved in it's refactoring support over the last couple of years, Resharper is still better.  But for now I have to have it disabled most of the time and only turn it on when I really need it :(

 

0
Comment actions Permalink

Just crashes Visual Studio 2019 constantly while "processing files" or "saving caches", can't use R# at all!!!

0
Comment actions Permalink

Hello Wdcossey,

 

Could you please provide a dump as described in the article? You can do it privately via 'Submit a request' form at the top of the page.

We'd be really grateful for the assistance.
Thank you.

Edited by Angelina Elycheva
0

Please sign in to leave a comment.

Have more questions?

Submit a request