7.1 Painfully Slow

I've been using R# for ages now, and it seems that with each version it gets a little slower.  Admittedly, the project I have been working on is largish- it has 11 assemblies and ~2600 classes.  I am using VS 2008 and .net 3.5.  My machine is a core i7 and is running on a SSD.
 
Since upgrading to 7.1, code analysis is so slow it seems that I spend my day waiting for the blue indicator in the right hand corner of the code editor to complete.  When this occurs, navigation, either in the editor, accessing menus, mouse wheel scrolling, or going to another class, is choppy at best and sometimes it is impossible.  At this point, it is disrupting my flow and I am seriously considering abandoning R#.
 
I’ve excluded some large classes from code analysis, but this has not really helped.  Exiting periodically will help temporarily and slightly.  Clearing caches has no noticeable effect.  Are there any other options for improving performance?
 
Thanks,
MB          

6 comments
Comment actions Permalink

Hello Matt,

We apologize for the inconvenience.

Could you please help us to determine the cause of the issue by profiling Visual Studio for us?

In the ReSharper 7 you may do that straight away with 'ReSharper | Help | Profile Visual Studio'. This action will start the profiling of the VS immediately - after you finish doing the repro actions, please press the 'Get Snapshot' button in the dialog.

After profiling is complete, you 'll be able to upload the snapshot to our FTP server, so we could investigate it to provide a solution and/or bugfix for the performance issues.

Please let me know how it goes.

Thank you!

0
Comment actions Permalink

I tried, but I get this message:

Can't Initialize profiler.  Attach is possible ony for processes under .Net Frameworkd v4.0 or later.

Our project is using 3.5

Thanks,

MB

0
Comment actions Permalink

Hi Matt,

Sorry about that - I forgot that the 'Attach to process' feature of dotTrace requires .NET 4.0 and above.

So, could you create a performance snapshot of this issue with standalone dotTrace (http://confluence.jetbrains.net/display/ReSharper/ReSharper+Profiling+Instructions) and upload it to ftp://ftp.intellij.net/.uploads/?

Please note, that you won't be able to see the file after uploading is finished.

Please let me know the filename when its done.

Thank you!

0
Comment actions Permalink

I've uploaded the trace file and created a case.

MB

0
Comment actions Permalink

Hello Matt,

Thank you. I've logged this issue here for further investigation: http://youtrack.jetbrains.com/issue/RSRP-336649.

0
Comment actions Permalink

Matt,

Thanks for the snapshot. We've found some strange activity in there, and would like to ask if you are able to send us a source code for this problematic solution. We guarantee that it will be used for testing/bugfixing purposes only, as well as we can sign any kind of NDA for it (if necessary).

You can contact me directly about this via email: Alex[dot]Berezoutsky[at]jetbrains[dot]com

Thank you in advance!

0

Please sign in to leave a comment.