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

Why is resharper so slow? I used to use resharper years ago and stopped due to the terrible performance.  I am trying it once again and I do not see any improvement.  I have tried your suggestions above and they do not help.  I just tried to reformat 600 lines of code in a .cshtml file and with resharper running and it took over 90 seconds to run.  I suspended resharper and the same procedure completed in 4 seconds.  If I try to highlight code using the mouse I have to click drag and then wait as much as 5 seconds for the highlighting to complete.  Is this typical of your product even after all these years?  Is there some setting not mentioned above I need to change?  I would like to use your product but rather than in creasing productivity it seems to do nothing but bog everything down. 

85
Comment actions Permalink

Very very very slow with TypeScript in VisualStudio 2015. It takes ages to refactor a ts file when using "Move to" functionality

6
Comment actions Permalink

I too have to complain that ReSharper is painfully slow. I'm using Visual Studio 2017 v15.6 and ReSharper 2017.3.3 and the performance is simply terrible. Startup time is more than 20 seconds compared to about 4 seconds with ReSharper disabled. I applied all the performance suggestions and the difference is negligible, if any. There are hangs every now and then, typing suggestions come up slowly etc.

My computer is no potato, it's a 4 core machine with 16 GB of RAM and a fast SSD.

BTW ReSharper performance has always been an issue for me over the past few years, no matter what computer I used. I always ended up disabling it due to terrible performance. I wish we would see some major improvement (or any improvement for that matter). ReSharper is an awesome tool, the only thing that's bringing it down is performance.

5
Comment actions Permalink

Hello, after updating from 2015.1.1 to 2015.1.2 resharper became very slow. Downgrading to 2015.1.1 helped get rid of the lags

4
Comment actions Permalink

If they were going to wake up and make their product better, they would have done it already.  They have no incentive to make their product better as long as they keep receiving money every year.  Complaints alone don't cost them any money.

4
Comment actions Permalink

I've tried to use resharper c++ in simple project near 5 files cpp with 20 headers for tests + MSVS 2010 the system works very slow, periodically out of memory exception occured and after that only kill process for VS  in taskmanager solves freezing. system configuration core i7 + 16gb ram. where is the problem ? codeanalys ?

3
Comment actions Permalink

resharper is a memory hog

windows 7 x64 32gb min

3
Comment actions Permalink

If I created an app that was this slow, I would be fired.  Developers have been fussing about how slow ReSharper is for years.  While it gives a lot of extra functionality, does it really need to come at such a performance penalty?  I pasted code into a unit test to get the message above.  After about 20 seconds I got a message alerting me ReSharper was auto formatting the incoming text.  Visual Studio can do this instantly.  While I like what ReSharper gives me, I can't stand how slow it makes my dev machine.  For those holding your breath the new version will bring performance improvements, I'd say it's even worse.

3
Comment actions Permalink

I hate to say it but I'm trying harder and harder to wean myself off of ReSharper, as are others in my team. Right now I'm experiencing significant input lag just typing comments. After suspending it and trying again, sure enough everything is fine.

I'm using R# 2018.3.4 with VS2017 15.9.9 if it makes any difference.

I'll reiterate: ReSharper makes typing comments slow. How do you even do that?

This is on a 4-core Xeon E3-1505M @ 3GHz w/ 32GB RAM. There's really no excuse for this kind of abysmal performance and telling your users to disable everything that makes R# useful just isn't a legitimate solution.

3
Comment actions Permalink

Not wanting to get competitors involved here but I have been playing with CodeRush. I don't think it has the same feature set as R#, and I do notice little helpers missing (maybe they are a configuration, I don't know yet) but what I do notice is that I don't have any of the performance problems with R#. Same laptop, same solutions, no lags. It clearly is possible to provide above and beyond what VS does out the box without killing the "experience" in the process. Question is why aren't JetBrains doing it?

3
Comment actions Permalink

I just submitted my profiling files using the link above. Also couldn't upload using the built in tool.  Going to paste the text I had as a description there:

I just got a new Windows 10 machine, 16 GB ram SSD drive, Core I7 6th Generation, so enough power. I had a desktop with the same configuration before and never had this issue.

As soon as the solution loads, and the initial loading process is finished, if I start typing, it gets really slow. I finish typing and I can see the words slowly comming.. it's almost impossible to work.

I tried everything from this page: https://resharper-support.jetbrains.com/hc/en-us/articles/207243205
even disabled Git on VS which is totally not ideal.. but even with that the problem happens. Uninstalled all other extensions I had on VS as well.

As soon as I disable Resharper, the problem dissapears. I asked other colleagues in the company and none of them had the issue, same laptop. So.. I don't know whether is some configuration or hardware issue. But.. it's suspicious that everything is fine once Resharper is disabled.

I even went to the trouble of recording the problem.. in a simple empty class, the problem occurs. I was typing very fast, but you can see how slow the words appear.

Visual Studio Professional 2017 15.7.2
Resharper Ultimate 2018.1.1

3
Comment actions Permalink

2017.1 EAP makes R# C++ usable. Prior to this release, VS would crash after a few minutes reporting an OutOfMemoryException. I've been using 2017.1 all day and not had a crash yet. Opening our solution still takes ~20 minutes, during which VS is hung. Once VS is open there are still hangs, but these are in seconds where they used to be minutes.

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

It's driving me crazy. I hotkeyed "Suspend ReSharper" and the ENTIRE IDE is 10x faster when I suspend ReSharper. It's insane. I get microstutters all the time. It takes ages for IntelliSense/AutoComplete to pop up sometimes. I have to periodically clear the cache in order to get somewhat acceptable performance.

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

Nick5454, are you talking to me? Read my message again and please indicate where I use an insult about clean code. If the code is simple and clean according to *their* engine constraints, R# will be probably faster because it does not have to analyze all the stuff it is supposed to analyze in a larger project where things are often messy with large classes, and so on. Try to put a large class with 2000 lines and tons of R# hints and it will be slow like hell. That's my point but it's probably too advanced for you. 

I am working with a solution with several projects, more than yours and R# is -not- satisfying on a daily basis in these legacy projects. Read all my messages again before talking about trolling. I have been complaining for years about R#. Now you can go away with your frustration and lack of readability skills, I am not a JB employee but I would definitely not hire you either.

Edited by KD
2
Comment actions Permalink

@Jan Kalfus, 100% agreed. And they really have to take this problem seriously because it has always been an issue. I am not sure they grasp the extent of this problem and how things are turning sour into the professional world that are using their tool. I hear more and more partners that are not happy using it and are seriously reconsidering renewing their licenses.

I personally don't care about the latest fancy features if I have to disable this plugin each time I open more than 5 documents....

Edited by KD
2
Comment actions Permalink

I can't take it anymore. I've tried all the suggestions, solution wide analysis is off, etc. Resharper slows VS down to the point I can't type, restarting it fixes it for a short while, but it soon becomes unusable. 

My issues:

  1. Slow typing, or unable to type at all (unacceptable)
  2. Intellisense slowly gets slow, until it stops working completely.  The status bar just shows the message "cannot resolve symbol", or "identifier or xml expression expected"
  3. Memory usage. At launch, starts off at like, 500mb, and starts climbing, by the time it reaches 1.2gb, VS is completely unusable.
  4. If you are editing html/css/javascript, if you add a variable, function etc or paste some code, there is considerable jitter and the page freezes for a few seconds.
  5. Startup. Resharper takes maybe, 2 minutes "Processing Files". 

 

I've cleared caches etc. I will not renew my sub after this. I'm done.

Edited by John K.
2
Comment actions Permalink

This has been going on with Resharper for years. I uninstalled it a long time ago but recently wanted to use it again. On VS 2017 opening a new project takes forever. Building is definitely a lot slower along with everything else. For the amount of money that's going into this plugin, I'm just dumbfounded by the lack of improvements. It's a great product but performance fixes should be a top priority.

Edited by Earneson
2
Comment actions Permalink

I have used ReSharper for years and lately I find myself wondering if I shouldn't just figure out how to do certain refactoring through VS itself or find an alternate plugin. We are paying big bucks for this garbage to bring top tier pcs to their knees with bad / zero optimization. I have gone through all the "exclude these things" tutorials and performance checks. ReSharper just can't keep up. This is a rather slim core web app, nothing crazy at all. What is your team _actually_ doing to fix this?

2
Comment actions Permalink

I managed to convince my company that ReSharper is causing more trouble than it solves. We will slowly get rid of it now. Good day!

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

I'm finding terrible performance with Resharper and Visual Studio - With Resharper turned on devenv jumps up to around 2.4 GB memory usage and becomes exceptionally sluggish, prone to not responding and overall a pain to use.

With Resharper suspended, Visual studio runs really well.  I've started finding that to work more efficiently I turn off Resharper.

2
Comment actions Permalink

As I said in previous comments,  the original team who created ReSharper is long gone.  They are on a beach somewhere and left it up to the B Team to maintain and collect money.   

They will reply to this comment stating there commitment and home many improvements, but in the end.  The software is SLOW!  

Also,  please do not reply with post us the solution BS.  It's insulting!  Just open any solution!  ANY!

 

2
Comment actions Permalink

I have a top of the line computer, it is 100% R# causing the issue.

You are the first person I have heard that does not have performance issues. Count yourself lucky.  

I guess the most frustrating thing is, JetBrains support, always asking for a files, then, most likely not even looking at them telling you to turn everything off.  It's hilarious really. 

 

2
Comment actions Permalink

Same here, we slowly stopped using it. It is very unlikely we renew our licenses. Most of our devs are already using a plain VS with its default features.

2
Comment actions Permalink

Sigh. After many years I'm left with no choice but to remove R#. I had hoped 2019.1.1 with VS 2019 would bring some improvements, but it's no better. I can't add anything to what others have already said, the delays are numerous and simply not acceptable. I do wonder whether the R# developers use R# themselves, and if they do, and are presumably happy with their own experiences, perhaps they'd like to post the specs of their PCs so we can all see what is needed to make R# real world usable. Of all the people you'd expect to understand the significance of not having ANY delays in your IDE, you'd think it'd be fellow developers.

2
Comment actions Permalink

 

Please fix Resharper Performance.

2
Comment actions Permalink

ReSharper always kind of slowed down VS 2017 on my machine, but an update that came through last week for ReSharper Ultimate has completely killed VS. I am running on a machine with 32 GB of RAM, a 512GB SSD and an i7.. My machine has never had issues before. I've always had System Wide Analysis disabled and I've tried all the other steps you guys mention and nothing is really helping... Any chance any one else has seen this slowdown with the latest RS Ultimate and VS 2017?

2
Comment actions Permalink

I will, schedule a week in my calendar, where I will disable Resharper to test, how it impacts my development process and see, if I can find the right addons for the features that are still missing in plain VS.

2

Please sign in to leave a comment.

Have more questions?

Submit a request