Resharper 2.0 Performance Is Terrible

Resharper 2.0 has always performed terribly for me. It always slows down the VS.NET 2005 IDE so badly that it can't even keep up with me typing. I just put the latest EAP build on, but it isn't any better. Before anyone tells me its because I don't have enough memory, this workstation has 8 GIGS of RAM, 7 or more of which are unallocated. So, what can I do to make Resharper not kill my IDE?

This used to be such a great product, but I'm at the point where I'm looking at alternatives.

15 comments
Comment actions Permalink

I have noticed performance problems related to disk usage. ReSharper creates a large number of very small files on disk, and if your disk is slow, heavily fragmented, or nearly full, that could be the problem.

I have also found that my on-access virus scanner will slow down ReSharper while it creates/accesses these files. To avoid this I keep the resharper caches "Under solution folder" and I put a special exclusion in the virus scanner to not scan files in the solution folder. Unfortunately this means that the resharper caches are now seen by the source control software, which is a pain.

Why was the option to keep the caches in an arbitrary location dropped? I liked that option...

ReSharper devs, is it necessary to create this many files? Could there be another solution?

0
Comment actions Permalink

Howdy.

Check out.
http://www.intellij.net/forums/thread.jspa?threadID=258220&tstart=30

Those options helped me greatly..

Cheers,

greg.

0
Comment actions Permalink

Thanks, I'll give this a shot. I sure hope it helps.

0
Comment actions Permalink

I've been testing this setup since my last message, and as near as I can tell it made zero difference. And now I see that they're working on adding new features for a 2.5 version of Resharper?? How about fixing what's wrong in 2.0, first!

0
Comment actions Permalink

Wow 8 GIGS! That really is going some! But, I guess you are using a 32 bit edition of windows or, at the very least the 32 bit version of VS 2005 on a Win64 platform.

On Win32, that gives VS 2005 a maximum 2gb of addressable space.
On Win64, that gives VS 2005 a maximum 4gb of addressable space.

1/ Have you ensured that you have at least 33% free disk space?
2/ Have you checked your disk fragmentation?

For some voodoo reason a minimum of 33% free disk is very important to Windows. The whole OS and all applications will thank you for that.

On my computers I have enough RAM (although, only a meagre 3GB!) and enough free disk space (40%). ReSharper performs very well for me.

If you want a good tool for finding bloat on your disk, I can highly recommend TreeSize Pro (http://www.jam-software.com/treesize/).

As for ReSharper 2.5, I am seeing performance improvements in this version, most notably the time to start up VS2005+R# has come down dramatically.

Hope this helps.

0
Comment actions Permalink

I'm running Windows XP x64. I have two drives in my computer. The primary drive (containing windows) is a 10k RPM SCSI drive with about 75% of the drive empty. I run defrag on it on a regular basis. The secondary drive, where most of VS.NET is installed, is a 7200 RPM SATA drive with more than 50% of the space free. If I watch the memory usage of VS.NET, its using less than 100 MB most of the time. I don't know if the number its reporting isn't accurate or what.

Also, I've noticed that some solutions seem to work fine with Resharper while others perform terribly. I've tried cleaning out all the Resharper temp files, caches, etc. I've uninstalled everything and completely nuked every file that was remotely related to Resharper, but the problems persist. Strangely there is nothing apparent in common between the solutions that perform terribly and those that don't. I've got single-project solutions with just a few classes that perform terribly, other single-project solutions with a few classes that perform fine, large solutions with lots of projects that perform terribly, and large solutions with lots of projects that perform just fine.

If anyone has any other ideas, please let me know. I really do like using Resharper (when it isn't slowing me down). I don't want to abandon it.

0
Comment actions Permalink

Wow - I want one of them (x64, 8gb RAM bla bla).

Sorry to hear about your R# performance though. Hope you get to the bottom of it.

0
Comment actions Permalink

Hello Matt,

Is it possible to obtain one of the small solutions that make ReSharper slow?

I'm running Windows XP x64. I have two drives in my computer. The
primary drive (containing windows) is a 10k RPM SCSI drive with about
75% of the drive empty. I run defrag on it on a regular basis. The
secondary drive, where most of VS.NET is installed, is a 7200 RPM SATA
drive with more than 50% of the space free. If I watch the memory
usage of VS.NET, its using less than 100 MB most of the time. I don't
know if the number its reporting isn't accurate or what.

Also, I've noticed that some solutions seem to work fine with
Resharper while others perform terribly. I've tried cleaning out all
the Resharper temp files, caches, etc. I've uninstalled everything
and completely nuked every file that was remotely related to
Resharper, but the problems persist. Strangely there is nothing
apparent in common between the solutions that perform terribly and
those that don't. I've got single-project solutions with just a few
classes that perform terribly, other single-project solutions with a
few classes that perform fine, large solutions with lots of projects
that perform terribly, and large solutions with lots of projects that
perform just fine.

If anyone has any other ideas, please let me know. I really do like
using Resharper (when it isn't slowing me down). I don't want to
abandon it.

Best regards,
Andrey Simanovsky


0
Comment actions Permalink

Sure. I'd love to see this get resolved, so I'm willing to do whatever I can to help.

Here's one that you can download that demonstrates the problem for me:

http://www.commercestarterkit.org/download.aspx

Any project I create from that template does terrible with Resharper installed (I even get graphical artifacts in certain VS.NET windows), but does fine when I open it without Resharper installed. I can send you the actual files from a project I created from that template, but I've made zero code changes to it.

If that one isn't helpful, I can supply others, I'll just have to clean them up a bit to remove anything that my company considers sensitive.

0
Comment actions Permalink

Matt,

I have tried these projects in ReSharper 2.5 (latest EAP) and haven't noticed
any slowdown in typing.
Is it some particular file you see these in? Do you use completion autopopup?

Frindly,
Dmitry

Sure. I'd love to see this get resolved, so I'm willing to do
whatever I can to help.

Here's one that you can download that demonstrates the problem for me:

http://www.commercestarterkit.org/download.aspx

Any project I create from that template does terrible with Resharper
installed (I even get graphical artifacts in certain VS.NET windows),
but does fine when I open it without Resharper installed. I can send
you the actual files from a project I created from that template, but
I've made zero code changes to it.

If that one isn't helpful, I can supply others, I'll just have to
clean them up a bit to remove anything that my company considers
sensitive.

--
Dmitry Lomov
Senior Software Developer
JetBrains, Inc.
"Develop With Pleasure!"


0
Comment actions Permalink

Thanks for looking in to it. I'll try with the latest 2.5 EAP and see if I still have any performance problems.

0
Comment actions Permalink

Hi,

I've been evaluating Resharper for a little while and it has some very promising features that I like quite a bit. I don't want to disrespect the hard work that's gone into this product but is there a reason we can't have more multithreading? The load time is pretty slow and this is due to the front loading of your xml (database) when VS is launched. I suppose all plugin's are essentially worker threads to the UI, but surely spawned threads from the plugin can be properly throttled.

Also I'd suggest taking a look at SQL Server Compact Edition. It's about 2MB in size and is able to make use of a subset of SQL. We've been burned pretty bad by XML performance at my company as well.

0
Comment actions Permalink

Hi Martin,

Did you try ReSharper 2.0 (released version) or early access version of ReSharper
2.5? We've made significant performance optimizations in ReSharper 2.5.

Valentin Kipiatkov
CTO and Chief Scientist
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hi,

I've been evaluating Resharper for a little while and it has some very
promising features that I like quite a bit. I don't want to
disrespect the hard work that's gone into this product but is there a
reason we can't have more multithreading? The load time is pretty
slow and this is due to the front loading of your xml (database) when
VS is launched. I suppose all plugin's are essentially worker threads
to the UI, but surely spawned threads from the plugin can be properly
throttled.

Also I'd suggest taking a look at SQL Server Compact Edition. It's
about 2MB in size and is able to make use of a subset of SQL. We've
been burned pretty bad by XML performance at my company as well.



0
Comment actions Permalink

Also I'd suggest taking a look at SQL Server Compact Edition.


Or SQL Everywhere.

Cool that you got a response from the CTO.


0
Comment actions Permalink

Hello Valentin,

I will check out the new version since I finally have some time for technology and tools review. I'm also from a relatively small software company, so I understand these kinda growth issues. As the last poster stated... yes it is cool to hear from the chief!

Thanks,
Steve

0

Please sign in to leave a comment.