I am using the Release version of VS 2010 with the latest R# 5.0 build (release build and not nightly).
I run all this on a MacBook Pro with 4GN of RAM running Windows 7 using BootCamp.
I tried VS without R# and it performs very well but as soon as I install R#, editing the files becomes painfully slow.Scrolling up and down the .cs files is very laggy for example but the slowness is noticeable on a lot of other actions.
I already turned off the solution-wide code analysis but it's still slow. Are there other things we can "tweak" in the settings or things we can turn off to improve the performance without removing too much of the R# functionality?
Any tips would be greatly appreciated because I don't want to have to uninstall R# and lose the money I spent on the license
Ben
Hello Benoit,
We have already investigated several performance/stability cases after ReSharper
5 release, and most of the time they were other extensions or Visual Studio
itself. I mean, before switching off things, it would be better to know the
real reason of the slowness. Is it possible you can download dotTrace 4 performance
profiler, capture a minute of slowness in a snapshot and upload it for us
for investigation? Thanks in advance.
Sincerely,
Ilya Ryzhenkov
JetBrains, Inc
"Develop with pleasure!"
BM> I am using the Release version of VS 2010 with the latest R# 5.0
BM> build (release build and not nightly).
BM>
BM> I run all this on a MacBook Pro with 4GN of RAM running Windows 7
BM> using BootCamp.
BM>
BM> I tried VS without R# and it performs very well but as soon as I
BM> install R#, editing the files becomes painfully slow.Scrolling up
BM> and down the .cs files is very laggy for example but the slowness is
BM> noticeable on a lot of other actions.
BM>
BM> I already turned off the solution-wide code analysis but it's still
BM> slow. Are there other things we can "tweak" in the settings or
BM> things we can turn off to improve the performance without removing
BM> too much of the R# functionality?
BM>
BM> Any tips would be greatly appreciated because I don't want to have
BM> to uninstall R# and lose the money I spent on the license
BM>
BM> Ben
BM>
BM> ---
BM> Original message URL:
BM> http://www.jetbrains.net/devnet/message/5261231#5261231
I did the capture and saved the snapshot following the instructions I found in the site.
Where should I upload the snapshot?
Please upload to ftp.intellij.net/.uploads and tell me name of the file.
Thanks!
Sincerely,
Ilya Ryzhenkov
JetBrains, Inc
"Develop with pleasure!"
IR> I did the capture and saved the snapshot following the instructions
IR> I found in the site. Where should I upload the snapshot?
IR>
IR> ---
IR> Original message URL:
IR> http://www.jetbrains.net/devnet/message/5261323#5261323
Done, the file name is resharper50-vs2010.dtp
Thank you
This is very weird - there's no ReSharper in the snapshot - it's all VS editor. What have you been doing while capturing the snapshot?
I am also seeing massive performance slowdowns using Resharper 5 and VS2010. I have 4GB RAM and an SSD - VS is really fast with ReSharper turned off. I tried the various beta builds of both VS and Resharper, and it was better then!
Thanks
James
I am having exactly the same issue. Suspending resharper (disabling so it's not running) completely alleviates the symptoms. Scrolling the screen is laggy and typing is laggy at times. I touch type and it is disconcerting enough that I can't focus on what I am typing when it happens.
I have disabled the code analysis aspect and that seems to help. I am quite addicted to the navigation shortcuts so I don't want to disable resharper entirely, not to mention the fact that I have purchased a 5.0 license.
I would be happy to provide a profile if a link to instructions can be posted. Thank you for any help you can give.
Thank you!
I seem to be having the same problem... noticeably slower than VS2008 + R# 4.5. Doesn't seem like this was the case with the RC's and Betas
Have you tried turning off the Navigation bar in Visual Studio? I don't
know if that helps in 5.x on 2010 but it helped speed things up when 4.x
first came out on 2008...
"jrob" <no_reply@jetbrains.com> wrote in message
news:5441109.107191271986008419.JavaMail.clearspace@app8.labs.intellij.net...
I am having exactly the same issue. Suspending resharper (disabling so
it's not running) completely alleviates the symptoms. Scrolling the screen
is laggy and typing is laggy at times. I touch type and it is
disconcerting enough that I can't focus on what I am typing when it
happens.
>
I have disabled the code analysis aspect and that seems to help. I am
quite additced to the navigation shortcuts so I don't want to disable
resharper entirely, not to mention the fact that I have purchased a 5.0
license.
>
I would be happy to provide a profile if a link to instructions can be
posted. Thank you for any help you can give.
>
---
Original message URL:
I just tried now and it doesn't seem to make any difference. Thanks a lot of the suggestion though
I have uploaded two snap shots with settings to the public ftp upload listed in an above post. I hope this helps and the issue can be resolved or a workaround can be provided because I miss my inline code analysis. ![]()
JRoberts_scrolling_2010-04-23.dtp
JRoberts_typing_2010-04-23.dtp
Both of these snapshots were taken with R# code analysis on and 2010 reset with default settings.
Also, has any progress been made on the this issue?
Hello
I've checked both snapshots, and actually there's almost no ReSharper activity. Most of the time is taken by Visual Studio (and the text editor in particular). Do I understand correctly that suspending ReSharper results in huge performance improvement?
Andrey Serebryansky
Support Engineer
JetBrains, Inc
"Develop with pleasure!"Correct. Suspending resharper completely or suspending only code analysis restores performance to normal.
Hello Jeremy
Could you please check if disabling only 'Color identifiers' option (under ReSharper > Options > Code Inspection > Settings) instead of fully disabling code analysis also speeds up editor interaction? Thank you!
Andrey Serebryansky
Support Engineer
JetBrains, Inc
"Develop with pleasure!"
I do not believe that I have had that option turned on at all.
The behaviour is exibited with the following setup for code analysis options. X denotes a check mark.
x Enable Code analysis
_ Color Identifiers
_ Analyze Errors in whole solution
x Show Analysis options in bulb menu
x Show the "Import Namespaces" action using popup
Assume value can be null
x When entity is explicitly marked with CanBeNull attribute
_ when entity doesn't have explicit NotNull attribute
I can also confirm that suspending Resharper restores the normal performance of VS.
I do not see much difference if I just disable code analysis on a per file basis though.
P.S. I'd be glad to provide more profiling trace for specific scenarios if that helps
I am having what appears to be the same issue. How can you suspend Resharper with uninstalling?
Hello Rob
You can suspend ReSharper under Tools > Options > ReSharper > General. Thank you!
Andrey Serebryansky
Support Engineer
JetBrains, Inc
"Develop with pleasure!"
Hello Benoit
I've asked one of the developers to take a look at the snapshot you've uploaded. I'll let you know if we require more info.
Andrey Serebryansky
Support Engineer
JetBrains, Inc
"Develop with pleasure!"
I'm having exactly the same problem. Scrolling stutters and typing is often delayed. However, if I suspend Resharper performance is fine. Let me know if I can be of any help in troubleshooting.
- @stucampbell
Hello Stuart
Please capture a couple of performance snapshots (following instructions at http://confluence.jetbrains.net/display/ReSharper/ReSharper+Performance+Profiling+Instructions) and upload them to ftp://ftp.intellij.net/.uploads. Thank you!
Andrey Serebryansky
Support Engineer
JetBrains, Inc
"Develop with pleasure!"I can also confirm the same behavior on my machine (I have 3 GB though). Also running with Solution Analysis off. With Resharper active, scrolling is laggy, and typing at times. Suspending it makes everything fine. While I haven't worked enough with VS2010 to be really sure of how much its memory requirements are compared to VS2008, I have noticed that the same solution now seems to require a much larger amount - when I start it up, it's comparable, but eventually it grows much larger (which it didn't really do in VS2008, at least never so noticeable). I'm wondering if maybe there's a memory leak somewhere? I'll try and investigate more with Resharper unloaded.
Yeah - there's definitely a problem here. With R# running, over time, the perform degrades to the point where literally the mouse wheel won't scroll and typing lags a second per keystroke. Suspending R# and the IDE immediately quick (quicker than VS2008 to me). But even right after a refresh instance of VS2010, R# running is noticeable. Naked VS2010 is faster than naked VS2008. VS2008+R# is significantly faster than VS2010+R#. VS2010+R# is barely usable (especially over time).
We are having the same problem as well, Visual Studio 2010 and ReSharper 5.0 in C#/ASP.NET MVC 2.
For example, while editing one file that is a 1000 line .aspx file that has a 500 line block of javascript in it, there's considerable typing and scrolling delays.
We've tested on a Xeon Quad-Core E5405 2.0GHz with 4 GB RAM, and most recently on Xeon Quad-Core X5470 3.33Ghz with 8 GB RAM. The 2.0GHz CPU machine was slow to the point of easily getting 30-200 characters behind while typing, experiencing several second delays, and the 3.33 GHz machine gets just a few characters behind and sub-second delays. Disabling ReSharper leads to an immediate speed boost.
Under the profiler it goes slow enough to see what's happening more clearly, it seems like Visual Studio 2010 is refreshing the whole screen for each character typed.
We have uploaded the following traces to the ftp site ftp.intellij.net in the .uploads folder:
ReSharper5-VisualStudio2010-SlowScrollingOnAspxPage.zip
ReSharper5-VisualStudio2010-SlowTypingOnAspxPageInJavaScriptBlock.zip
We also made a profile snapshot of typing with ReSharper on and ReSharper off.
ReSharper5-VisualStudio2010-SlowTypingOnAspxPageInJavaScriptBlock-ReSharperOff.zip
ReSharper5-VisualStudio2010-SlowTypingOnAspxPageInJavaScriptBlock-ReSharperOn.zip
Perhaps it's something with the AspRawLexer or the HtmlRawLexerGenerated?
Hope this helps you guys track down the issue, it is making it really difficult for us to work with ReSharper 5.0 turned on under Visual Studio 2010 for our project.
Thanks,
Michael Ferrante
I've checked the snapshots you've sent.
We have found the problem which causes stucks in typing, and we'll try to fix it in bugfix update.
Thank you.
Eugene
Glad you found the problem - just need to know about a ETA for this fix?
<rant>You are frustrating and loosing loyal customers with R# behaving like it is. This seems to be a recurring R# problem and even though I do have sympathy for the complexities that you guys need to cope with, I find a frustrating that with every new major R# release (and sometimes even with updates) we have to wait patiently for performance problems to be sorted out. I'm glad you guys released R# so close to VS 2010 this time, but as all the other people on this forum have mentioned, the current R# is totally unusuable in VS2010. Having gone through the same pains with R# 3.0 and R# 4.0 I am SO close to finally ditching R# and moving over to DevExpress Refactor Pro + CodeRush. They don't seem to have the same kind of recurring performance problems as R# does. With their new unit test runner being added, they now contain all the essential features we need for our team. Unfortunately we just spend a whole lot of money upgrading the team to R# so I probably won't be able to get money for doing this. From my perspective I would prefer less features in favour of a stable and "performing" R#. Focus on making the current product offering work great instead of adding new features every time.</rant>
Regards
We will open EAP for ReSharper 5.1 in June
Could you please mail me directly via email? Kirill[dot]Falk@jetbrains[dot]com
Kirill Falk
JetBrains, Inc
"Develop with pleasure!"
The slowdowns in .aspx files are fixed in 5.1 EAP which is available at http://confluence.jetbrains.net/display/ReSharper/ReSharper+5.1+Nightly+Builds
I just registered to say that I have exactly the same problem. I had been using the ReSharper 5.0 trial for 3 days, and just now it has become unusable. I can't open files anymore, t is now impossible to work in Visual Studio 2010 with ReSharper enabled!
I hope there's an easy fix, otherwise this has been a short trial...
Edit:
Here's a screenshot of my Visual Studio when I run it. This is since yesterday, and the problem goes away if I disable ReSharper:
Hello,
Could you please capture a couple of performance snapshots (following instructions at http://confluence.jetbrains.net/display/ReSharper/ReSharper+Performance+Profiling+Instructions) and upload them toftp://ftp.intellij.net/.uploads. Thank you!
--
Kirill Falk
JetBrains, Inc
"Develop with pleasure!"
I end up with uninstalling R#. It is cool, but it totally impossible to use R# with such scrolling and typing lags. After installing R# drops VS performance to netbook level.
It is impossible. Searches, navigating, building - everything becomes tooo slow. After uninstalling VS works well again. System monitor does not show significant difference.
I'm suspecting that R# somehow forces VS to wait for event handlers to complete and only then perform its own event handler. It does not look like something is loads CPU - something adds a delay.
Windows 7 Ultimate N x64, all updates, Visual Studio 2010 10.0.30319.1 + VisualSVN. Intel i7, 6GB RAM. Solution with 14 .NET 2.0 projects (class libraries and windows forms), about 2000 CS files. R# installed with default settings.
Same here. Unbelievably painful. 4GB of RAM and an SSD. And doesn't seem to be CPU either like Alex mentions. Scrolling, typing, doing anything... really slow with Resharper turned on.
Hello,
Could you please capture a couple of performance snapshots (following instructions at http://confluence.jetbrains.net/display/ReSharper/ReSharper+Performance+Profiling+Instructions)
and upload them to ftp://ftp.intellij.net/.uploads. Thank you!
Also you could mail me directly Kirill[dot]Falk@jetbrains[dot]com
--
Kirill Falk
JetBrains, Inc
"Develop with pleasure!"
I have just tried downloading the latest dotTrace beta, but I'm told my trial has expired. I downloaded this previously in the R# pre-releases to help with a few performance issues then too?
Also noticing a general lag... although not as dramatic as others have described. R# 4.5 on VS 2008 performance was snappy, however R# 5.0 on VS2010 is not as quick. One case, when I depress CTRL and hover with mouse cursor over a declaration prior clicking for "Go To Declaration" the mouse cursor flickers and it takes almost a full second for the blue line to appear beneath the symbol. Sometimes I have to click twice for the event to be recognized.
Windows Vista Business
Intel Core2 Duo 3.16GHz
8.00 GB RAM
-Geiman
With R# 5.0 enabled, opening an XML file of 37mb cripples VS 2010. R# must be suspended before I am able to gain control of the IDE again. This was not the case with R# 4.5 on VS2008.
-Geiman
There are some VS powertools released for VS2010 - and among other fine features like pin tabs they have ctrl+click as goto definition too. It works without any delay for me so may go as a replacement workaround until http://youtrack.jetbrains.net/issue/NP-25 fixed
Regards,
Sergei
Have you tried the latest 5.1 EAP nightly builds?
"James Crowley" <no_reply@jetbrains.com> wrote in message
news:7768310.51061274136885815.JavaMail.clearspace@app8.labs.intellij.net...
Same here. Unbelievably painful. 4GB of RAM and an SSD. And doesn't seem
to be CPU either like Alex mentions. Scrolling, typing, doing anything...
really slow with Resharper turned on.
>
---
Original message URL:
Just installed it. The behaviour I am seeing is still present and repeatable.
JetBrains ReSharper 5.1 C# Edition Pre-Release
Build 5.1.1700.249 on 2010-05-20T16:48:06
I wouldn't mind trying but I can't find where to download it
Also wanted to add that I'm hitting the same issue. One thing that did help was nuking the Resharper cache. At least for a little while... we'll see.
Same problems here. Even with the Nightly Build from June 5. the Texteditor performance is nearly unbearable. Scrolling with the cursors (up or down) and even with the mousewheel is always delayed at least .5 seconds. Sometimes even more. Suspending Resharper removes the problem completely. Using a Solution with 20 Projects and a few thousand files. Solution wide analysis is off at the moment. I hope this will be fixed soon!! Working without resharper is really hard ![]()
+1 PLEASE sort this sooooon guys.
I've given up entirely and switched to a trial of DevExpress's tools instead. They're not quite as extensive, but at least they're fast.
We do not see these performance issues at our side ![]()
Please could you install dotTrace profiler and make a snapshot with this slowdown, and then send it to us for analysis?
Thank you in advance.
I have already done this (sent to your support address), and was told that it was already under investigation???!
Hmmm...
I've checked that snapshot from he support. This problem is known - Garbage Collection during Avalon painting.... We are still investigating how we can handle this issue ![]()
It's nice to have a cofirmation that the issue is known, but it took you guys way to long to acknowledge this, especially if you take into consideration the amount of posts (and views) on this thread.
Now all we need is an estimate on the fix, will it be in 5.1 or after?
Thanks!
I think it would be hard to estimate a fix version since they are still "investigating how to handle the issue".
To estimate a "fix in version" you generally must know how to handle the issue, or at least know the different options available for handling it to estimate work/impact.
just my 2 cents..
(I'm also longing for a perf. improvment fix, my cpu spikes all the time with vstudio2008/RS 5.1 EAP, but also did it with 4.5 so dunno if it's the same problem))
You're probably right about that. What I meant to ask was if the issue would get priority based on the number of users affected, and maybe then it would be added to 5.1
If not, JetBrains could make a commitment to fix it in the first version after 5.1
Either way, my 5.0 trial has expired and I haven't been able to use ReSharper for more than 5 or 6 days effectively. I'm still interested in the product, but I guess I'll wait for the first version with a definitive fix for this particular issue before I can decide. That does leave me some time to try Refactor Pro ![]()
Hello Michael,
Could you please upload a couple of snapshots as well, so that we could confirm
the type of the problem you're having? Thank you!
Andrey Serebryansky
Support Engineer
JetBrains, Inc
"Develop with pleasure!"
Same problems here. Even with the Nightly Build from June 5. the
Texteditor performance is nearly unbearable. Scrolling with the
cursors (up or down) and even with the mousewheel is always delayed at
least .5 seconds. Sometimes even more. Suspending Resharper removes
the problem completely. Using a Solution with 20 Projects and a few
thousand files. Solution wide analysis is off at the moment. I hope
this will be fixed soon!! Working without resharper is really hard
---
Original message URL:
I am also suffering terrible performance on a high spec machine with the latest nightly build. Why is there no word on JB for this? Do they acknowledge the problem? Is it effecting everyone? What are the plans to fix it? We love resharper but we are seriously consider moving away if performance isn't addressed soon ![]()
Hello David,
There are several performance problems in ReSharper 5.0. Some of them have
been fixed and you can grab the latest nightly build with fixes at http://www.jetbrains.net/confluence/display/ReSharper/ReSharper5.1Nightly+Builds.
We're also aware of some of the others, but (as Eugene has pointed out) we
don't know how to fix them yet. There are also problems caused by Visual
Studio 2010 itself in combination with ReSharper and possibly there are some
issues we're not aware of yet.
So, in order to properly answer your questions we should first find out for
sure what kind of problem you're experiencing (since there're multiple kinds
of them). Please capture a couple of snapshots (the instructions have been
posted numerous times in this threads) and upload them to the corresponding
ftp server. After doing so, I'll be able to tell for sure if this problem
is known and if/when it will be fixed. Thank you!
Andrey Serebryansky
Support Engineer
JetBrains, Inc
"Develop with pleasure!"
I am also suffering terrible performance on a high spec machine with
the latest nightly build. Why is there no word on JB for this? Do they
acknowledge the problem? Is it effecting everyone? What are the plans
to fix it? We love resharper but we are seriously consider moving away
if performance isn't addressed soon
---
Original message URL:
Hi Andrey
I'm just wondering - might the problem at all be related to the VS 2010 option "Automatically adjust visual experience based on client performance?" (see Tools | Options | Environment | General). I've seen some bug reports about it being the cause of performance problems in VS 2010 editor.
Andrey,
I was having the exact same problems: slow editing of ASP.NET files, slow navigation through C# source files, half second delays between keystrokes...
I just installed 5.1.1707.19. I haven't had a chance to do a lot of work with it yet, but I can tell already that these problems are all VASTLY improved.
I am, unfortunatly, unable to say the same thing. The issue I am experiecing seems to still be present.
ditto - no change in (poor) performance for me either.
It would be great if you either send us your solution for investigation or at lest capture a snapshot of slowdown.
Thanks in advance.
FWIW: In my case it seems like the lack of available RAM is the critical issue (and/or the commit charge to the paging file).
I'm running 64bit XP dual core processor with 4GB RAM, using Visual Studio 2008.
After boot I generally have many apps loaded (indexing service, antivirus, IExplore, MS Outlook etc.).
If I work with Resharper enabled during this time it "crawls", making the work in it almost unbearable (simple things like renaming, goto definition, open unit test results etc. takes longer and longer.)
Suspending resharper makes things go fast again it seems (if comparing e.g. go to definitiion).
So I started to shut down every running non-critical app and used Process Explorer to monitor the Commit charge to pagefile and available RAM.
When almost all apps were closed, commit charge was about ~1.3GB and working with vstudio/Resharper went very fast.
I started some applications and I'm now up in commit charge 2.4GB (with 1.5GB availble RAM) and the response is still very quick.
So it seems either that a large commit charge to the paging file, and/or small % left of the total RAM is the critical issue in my case.
my 2 cents
I solved most of my performance problems (sort of) by buying a brand new computer. Now it´s acceptable, not perfect. But i have to say that the nightly builds seemed to me much faster than the release build of Resharper 5.1 The stutter was nearly gone with the nightly build but is back with the 5.1 release version.
Anyone else having the same problem or is it just me?
I also experienced this problem in Resharper 5.1.
Now I have found out, that the StyleCop Plugin 5.1 causes this problem. If I disable this plugin, typing speed returns to normal.
I already reported this at the StyleCop issue tracker.
Best Regards,
Gerhard
Me too am having serious problems with performance with R# 5.1 under VS2010, and as already mentioned, things return to normal when suspending R#. I already disabled the StyleCop plugin which did improve performance but not sufficiently.
I do use R# together with VA and the codemap extension. Disabling VA doesnt change anything, neither does codemap. So the problem is pretty reliably R#.
When will the performance problems of R# be fixed? Reducing R# memory usage would also not be a bad thing. Seriously, 270 mb memory for a solution with less than 3500 lines of C# code seems "slightly exaggerated". The solution has less than 2 mb on disk ![]()
Hello Andreas,
We've fixed some performance problems since ReSharper 5.1 release, so first
of all please install the latest build from http://www.jetbrains.net/confluence/display/ReSharper/ReSharper5.1.1Bugfix+Builds.
Let me know if that build works better for you. As to the memory usage, could
you please clarify if 270Mb is the managed memory usage reported by ReSharper
or if it's the memory footprint of devenv.exe process?
Andrey Serebryansky
Support Engineer
JetBrains, Inc
"Develop with pleasure!"
Me too am having serious problems with performance with R# 5.1 under
VS2010, and as already mentioned, things return to normal when
suspending R#. I already disabled the StyleCop plugin which did
improve performance but not sufficiently. I do use R# together with VA
and the codemap extension. Disabling VA doesnt change anything,
neither does codemap. So the problem is pretty reliably R#.
When will the performance problems of R# be fixed? Reducing R# memory
usage would also not be a bad thing. Seriously, 270 mb memory for a
solution with less than 3500 lines of C# code seems "slightly
exaggerated". The solution has less than 2 mb on disk
---
Original message URL:
Will try those builds, lets see.
As for the memory, its the reported by R#. From initially 110 Mb (which already seem pretty high) it grew steadily to 270 Mb over the course of a working day. Including switching solutions in between. My guess is that it doesn't clean up memory nicely when different solutions are loaded.
While there were numerous performance problems in 5.0, I can say 5.1 is muuuuuuch better. I always want better performance, but what user doesn't (especially MY users:)?
VS2010 is still a huge pig, but at least for me, I don't feel like R# is the culprit anymore. I'm running:
JetBrains ReSharper 5.1 Full Edition
Build 5.1.1727.12 on 2010-07-07T19:40:20
Licensed to: Kelly Brownsberger
Plugins: 2
#1. “Agent Smith Plugin” v1.4.2.31043 by “Sergey Zyuzin.”
#2. “AgUnit for R# 5.1” v0.1.0.0 by “”
Visual Studio 10.0.30319.1.
Copyright © 2003–2010 JetBrains s.r.o.. All rights reserved.
Ok, so I installed the build from Aug. 19 and used it for about a working day. No difference to notice from the last release build. Editing still comes to a crawl after relatively short time ( < 30 minutes)
Could this be related to the memory/GC.Collect issue?
http://youtrack.jetbrains.net/issue/RSRP-179107
Michael
This sounds just like it.