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.
Just downloaded and installed latest build 5.1.1751.8
Still unfortunately having the same issues - mainly slow / jerky at scrolling. Got so bad had to disable resharper again and reluctantly do without it.
Looking forward to improvements in this area.
I am now at the same point, that I have to disable R# to be able to work in an normal speed. Which is really disappointing me, after all I bought a license to use R# and not to have it on a shelf. As of today, I cant use it in an acceptable way.
I definitely hope that the performance issue will be solved asap, should be top priority by now judging by the amount of reclamations and even by the obvious interest in this thread on the forum here.
I'm following this thread from the sideline for several months now. We are using VS2008 and I would like to switch to VS2010 (we got the whole MSDN-chiladas), but one things is keeping me: this thread. At first, I thought JetBrains would quickly cook up a performance fix, so I decided to buy R#5 anyway. But now I have to choose: either stick with VS2008 + R#5 or upgrade to VS2010 and loose R#5. Either way, it's a loss of investment if the issues don't get solved quickly.
I know I could just go and try whether my system would suffer any of the issues in this thread, but I don't feel like reverting if it does. It's a shame JetBrains can't get this right and to my feeling, they start to really lose on it.
I know what you mean but I think I like the improvements and experience of using VS2010 more than I miss R#. I'll give Dominic's tweaks a try and repost here how it goes. Symptoms normally took 30 mins or so to show up. I know other *power users* who don't seem to be experiencing any issues whatsoever.
Woops - just noticed there's been a post on another formerly dormant thread here that is worth following:
Hello,
We're constantly working on performance improvements both 'in-general' and
also with particular performance problems and we do fix almost every problem
we're able to identify (unless the problem cannot be fixed on our side).
It would be great if you could try Visual Studio 2010 with ReSharper 5.1.1
and let us know if you'll encounter any performance problems. I'm afraid
I cannot help you if we do not know whether there will be a problem or not.
Thank you!
Andrey Serebryansky
Support Engineer
JetBrains, Inc
"Develop with pleasure!"
I'm following this thread from the sideline for several months now. We
are using VS2008 and I would like to switch to VS2010 (we got the
whole MSDN-chiladas), but one things is keeping me: this thread. At
first, I thought JetBrains would quickly cook up a performance fix, so
I decided to buy R#5 anyway. But now I have to choose: either stick
with VS2008 + R#5 or upgrade to VS2010 and loose R#5. Either way, it's
a loss of investment if the issues don't get solved quickly.
I know I could just go and try whether my system would suffer any of
the issues in this thread, but I don't feel like reverting if it does.
It's a shame JetBrains can't get this right and to my feeling, they
start to really lose on it.
---
Original message URL:
Hello,
I know of two VS10-specific perf problems in R#, and both were fixed in 5.1.1.
The other perf issues should be more or less of the same degree on VS9 &
VS10. In fact, VS10 could even be a little better due to CLR4.
With R#, if you're switching between VS9&10, environment background color
is but the only noticeable change ![]()
—
Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”
Hello Andreas and Warren,
Could you please elaborate more information on this problem:
1. Which actions in particular are slow with ReSharper?
2. What's the size of the solution you're working with (the number and types
of projects, number of classes)
3. What's the average size (in terms of LOC) of the files you're working
with and what's the number of the files you usually keep opened in Visual
Studio at the same time?
4. Please describe your hardware configuration in detail
Could you please also take some performance snapshots and upload them to
our ftp server with some description of what you were doing while capturing
them? This would really help us to identify the performance problems you're
experiencing. Thank you!
Andrey Serebryansky
Support Engineer
JetBrains, Inc
"Develop with pleasure!"
I am now at the same point, that I have to disable R# to be able to
work in an normal speed. Which is really disappointing me, after all I
bought a license to use R# and not to have it on a shelf. As of today,
I cant use it in an acceptable way.
I definitely hope that the performance issue will be solved asap,
should be top priority by now judging by the amount of reclamations
and even by the obvious interest in this thread on the forum here.
---
Original message URL:
Hello Andrey,
I dont see a problem in any specific action, but any and all editing becomes slow. Even moving the cursor comes to a crawl and I see CPU usage up to 100% while I move around, not to talk about typing code. It does however not effect the IDE itself, so any operation outside the code editor windows is normal. The problem is localized to keypresses in the the editor window(s). And it doesnt happen at once or immediately, usually it takes somewhere between 10 and 30 minutes of active editing.
My typical solutions consist of 2-20 C# projects and possibly some ASP sites and/or webservices. Class count goes from 50 to thousands, What I have noticed to be a serious problem for the R# analyzer are obfuscated assembly references. There are a bunch of exception reports on your system dealing with this. Might be that this is a trigger for the problems.
Number of open files in the editor is usually rather low, seldom more than fit visually on the tab bar (less than 10 commonly).
My hardware is either a VM with 2GB memory, hardware virtualization enabled with one monitor, or the real machine with 4 gb, 4 processors, dual monitor. The same problem happens on both configurations.
When I have time I will do some performance snapshots and send them to you. So far I am already spending much more time on solving R# issues than I'd like.
I've been seeing the same behavior and it's difficult to track down the
cause. I opened Visual Studio 2010 and created a new solution containing
some new (empty) projects: new web site, blah.Domain, blah.Repository,
blah.Domain.Tests, and blah.Repository.Tests. I then added references to
NHibernate as appropriate, added App.config to the Repository.Tests project,
and added the NHibernate Ghost Buster test. As I added domain classes and
mapping files, performance gradually degraded over time until eventually
ReSharper couldn't keep up with my typing speed.
At this point I had maybe a dozen very small domain classes and about an
equal number of creator methods to feed the Ghost Buster to validate my
mapping files. Each time performance degrades, I open to the Command window
and run ReSharper_ToggleSuspended a couple of times to restart ReSharper and
performance immediately returns to normal - very snappy response while
creating new classes. Within an hour or two, performance is so sluggish
ReSharper Intellisense can't keep up with my typing again. Typing is very
jerky and I can typically type "public string Name { get; set; }" before
ReSharper highlights string in the Intellisense dropdown.
The sad part of this is that ReSharper continually degrades performance over
time to the point that I have to manually restart it several times each day
even though the solutions are very small. The weird thing is that the
performance degradation issue is very noticeable in solutions in which I'm
adding lots of new domain classes, but I haven't noticed this steady
performance degradation in solutions in which I am refactoring the code. I
thought about trying to run the performance profiler on Visual Studio 2010,
but this would require a huge performance snapshot unless someone knows a
way to begin capturing at a specific point in time.
I also have a large website project in which I have to occasionally suspend
ReSharper to build the solution. Most of the time it builds without problem,
but occasionally I get an out of memory exception from the compiler with
ReSharper enabled. I suspect this is a problem I'll have to live with until
Microsoft finally releases an x64 edition of Visual Studio.
The biggest problem I'm experiencing with ReSharper 5.1.1 is that rename
breaks my code and behaves very strangely when working with web projects. I
can rename a public property and ReSharper renames only the declaration - it
doesn't touch any of the instances. It seems to work initially, then all of
a sudden for some unknown reason it stops renaming the instances. I suspect
something in memory is corrupted because about the same time rename suddenly
starts blowing focus as well. Any time rename touches a secondary code file,
ReSharper leaves focus in some weird state such that the current window has
partial focus but doesn't have keyboard focus (e.g. typing has no affect
unless I click somewhere in the window or Alt+W | 1 to bring focus to the
top window). This is a known problem that's somewhat annoying. The other
problem here is that about the time ReSharper ceases renaming correctly,
just about any action in ReSharper - rename, quick fix, whatever - ReSharper
blows the focus every time to the point that I have to Alt+R | R, new name,
Alt+W | 1 on every rename - even renames of variables in a method. When that
happens, I shut down Visual Studio and restart to clear the problem.
I've also noticed that performing a rename with an application window open
behind Visual Studio causes ReSharper to flash the background window to the
foreground three or four times in quick succession. This happens mostly with
Visual Studio 2008 running on Windows Server 2003 x86 with SQL Server
Management Studio in the background. I've also had it happen with with other
applications in the background.
"Andreas Saurwein" wrote in message
news:23246589.127621285336053510.JavaMail.devnet@domU-12-31-39-18-36-57.compute-1.internal...
Hello Andrey,
I dont see a problem in any specific action, but any and all editing becomes
slow. Even moving the cursor comes to a crawl and I see CPU usage up to 100%
while I move around, not to talk about typing code. It does however not
effect the IDE itself, so any operation outside the code editor windows is
normal. The problem is localized to keypresses in the the editor window(s).
And it doesnt happen at once or immediately, usually it takes somewhere
between 10 and 30 minutes of active editing.
My typical solutions consist of 2-20 C# projects and possibly some ASP sites
and/or webservices. Class count goes from 50 to thousands, What I have
noticed to be a serious problem for the R# analyzer are obfuscated assembly
references. There are a bunch of exception reports on your system dealing
with this. Might be that this is a trigger for the problems.
Number of open files in the editor is usually rather low, seldom more than
fit visually on the tab bar (less than 10 commonly).
My hardware is either a VM with 2GB memory, hardware virtualization enabled
with one monitor, or the real machine with 4 gb, 4 processors, dual monitor.
The same problem happens on both configurations.
When I have time I will do some performance snapshots and send them to you.
So far I am already spending much more time on solving R# issues than I'd
like.
---
Original message URL: http://devnet.jetbrains.net/message/5273289#5273289
Hello Andreas,
We've added more performance fixes, so you're welcome to try the latest build
of ReSharper from http://confluence.jetbrains.net/display/ReSharper/ReSharper5.1.2Bugfix+Builds.
Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
"Develop with pleasure!"
Hello Andrey,
I dont see a problem in any specific action, but any and all editing
becomes slow. Even moving the cursor comes to a crawl and I see CPU
usage up to 100% while I move around, not to talk about typing code.
It does however not effect the IDE itself, so any operation outside
the code editor windows is normal. The problem is localized to
keypresses in the the editor window(s). And it doesnt happen at once
or immediately, usually it takes somewhere between 10 and 30 minutes
of active editing.
My typical solutions consist of 2-20 C# projects and possibly some ASP
sites and/or webservices. Class count goes from 50 to thousands, What
I have noticed to be a serious problem for the R# analyzer are
obfuscated assembly references. There are a bunch of exception reports
on your system dealing with this. Might be that this is a trigger for
the problems.
Number of open files in the editor is usually rather low, seldom more
than fit visually on the tab bar (less than 10 commonly).
My hardware is either a VM with 2GB memory, hardware virtualization
enabled with one monitor, or the real machine with 4 gb, 4 processors,
dual monitor. The same problem happens on both configurations.
When I have time I will do some performance snapshots and send them to
you. So far I am already spending much more time on solving R# issues
than I'd like.
---
Original message URL:
The above link is bad, even when copying the link including the non-hyperlinked part. Maybe use tinyurl.com? Would like to download a fix.
Edit: found it googling: http://tinyurl.com/2df6xmn
Hello,
Please try http://tinyurl.com/2df6xmn. Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
"Develop with pleasure!"
The above link is bad, even when copying the link including the
non-hyperlinked part. Maybe use tinyurl.com? Would like to download a
fix.
---
Original message URL:
I have also been having performance problems. I have managed to get a performance boost with the following settings:
1. Tools-> Options-> ReSharper. Then click Options.
2. Go to IntelliSense->Completion Behavior
3. UnCheck "Letters and Digits" and uncheck ""new" and other object creation keywords" everything else is checked by default.
So unchecking those two options greatly helped my performance such that i could actually use R#.
Hope it helps you. (See attached image)
PS I only had the problem with working with QuickFix which has an 18MB assembly.
Cheers,
Dom
I for one do not use R#'s Intellisense improvements at all because I prefer VisualAssist's, so R# is set to use VS's intellisense.
Your solution is not it, for me. Unfortunately.
Awesome - thanks - I'll give it a shot.
Good tip, I've tried that out and it has made some noticeable difference for me. Although these were some of the features I use R# for, it is better than nothing at the moment.
Unfortunately the problem is happening for me again even with the options above. So i have had to disable R#. ![]()
I've noticed a significant difference in Silverlight projects vs. .NET projects, and to that end... any projects with XAML in them (Silverlight or WPF) are significantly slower - and Silverlight is more so than WPF. When I say slower, I mean all-things-text-editor related (typing, scolling, intellisense)
After R# 5.1's release, I've been pretty happy... until this week when a huge .cs file was added to one of our projects that was the output of several XSD.exe runs. This file contains a couple hundred POCO classes. Even after wrapping all the generated code in a region and added that region text to the Generated Code list in R#'s options, the entire solution went to a crawl. Now I hate VS+R# again ![]()
I'm only on this project for a couple of more days, so I don't care to investigate much further, but... some observations for you all
Hi,
First of all please make sure that you are using the latest release R# release.
Is it possible to create a small demo solution with yours huge autogenerated file and send it to us for investigating? Or provide me with detailed steps to reproduce it.
Thanks in advance!
--
Kirill Falk
twitter : masterqa
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Hi Kirill,
You should be able to reproduce this problem (well the problem i was having) by doing the following:
1. Download the .NET version of quick fix from here: http://prdownloads.sourceforge.net/quickfix/quickfix-bin-vs10-1.13.3.zip
2. Extract the zip file to you PC
3. Create new VS2010 project
4. Add a reference to the lib\quickfix_net.dll and lib\quickfix_net_messages.dll
5. You should see slow down. If not then try using some of the Message class within the quickfix_net_messages assembly. When i do this VS2010 is basically unusage with R# installed.
Cheers,
Dom
I just installed the 5.1 trial and the performance has not improved at all compared to 5.0. Right now, as I'm typing, Visual Studio is trying to open a 25 line .cs file in Visual Studio, it's taking about 5 minutes! Of course, everything goes back to normal after suspending ReSharper.
Will this issue ever be fixed? It's the most discussed on the ReSharper community...
Thanks!
Hello Michiel,
We're sorry for the problems you're experiencing with ReSharper. Could you
please take a couple of performance snapshots and upload them to our ftp
server? This would really help us to find out what goes wrong with ReSharper
on your machine/on your solution, so that we could fix it. I'm afraid we
won't be able to address this problem without a snapshot or a sample solution
with repro steps. Thank you!
Andrey Serebryansky
Support Engineer
JetBrains, Inc
"Develop with pleasure!"
I just installed the 5.1 trial and the performance has not improved at
all compared to 5.0. Right now, as I'm typing, Visual Studio is trying
to open a 25 line .cs file in Visual Studio, it's taking about 5
minutes! Of course, everything goes back to normal after suspending
ReSharper.
Will this issue ever be fixed? It's the most discussed on the
ReSharper community...
Thanks!
---
Original message URL:
I am working on a solution that includes a commercial CMS. Unfortunately it's distributed as a Web Site project containing 12.500 files, among which 2000 .cs files, 1000 .aspx files (ASP.NET pages), 750 .ascx files (ASP.NET user controls) and 68 assemblies.
You can download the trial version of the CMS and install it to see how Visual Studio performance is impacted by this type of project when ReSharper is installed (basically unusable on my machine).
Looking forward to your response, and any tips you have to get ReSharper to work in this scenario.
Thanks!
Hello Michiel,
I've played with the original Kentico web site for some time (performing
various actions such as navigating, finding usages, refactoring, typing,
scrolling) on an underpowered virtual machine and didn's face any performance
problems. Could you please describe your hardware configuration in detail?
It would be great if you could attach a small screencast demonstrating the
actions you're performing in Visual Studio with Kentico CMS Web Site, so
that we could repeat them on our side. Thank you!
Andrey Serebryansky
Support Engineer
JetBrains, Inc
"Develop with pleasure!"
I am working on a solution that includes a commercial CMS.
Unfortunately it's distributed as a Web Site project containing 12.500
files, among which 2000 .cs files, 1000 .aspx files (ASP.NET pages),
750 .ascx files (ASP.NET user controls) and 68 assemblies.
You can download the http://www.kentico.com and install it to see how
Visual Studio performance is impacted by this type of project when
ReSharper is installed (basically unusable on my machine).
Looking forward to your response, and any tips you have to get
ReSharper to work in this scenario.
Thanks!
---
Original message URL:
Hi,
my hardware (MacBook Pro):
2.53GHz Intel Core 2 Duo
2GB of 1066MHz DDR3 SDRAM
250GB Serial ATA Drive @ 5400 rpm
NVIDIA GeForce 9400M graphics processor with 256MB of DDR3 SDRAM shared with main memory
With R# enabled Visual Studio becomes totally unresponsive. I couldn't even start the web site if my life depended on it. If I suspend R# then performance is great. If I remove the web site project from the solution and then enable R#, performance is great. But as soon as I combine the two, I am no longer able to interact with Visual Studio. This happens as soon as I enable R# or re-add the web site project with R# already enabled. Can't even open a menu or select a file in the Solution Explorer.
I have turned off analysis already, and chose to store cache in the solution folder.
Thanks for looking!
Since installing a recent build (Oct 6, 2010 5.1.1753.3) referenced here (and successors)
http://devnet.jetbrains.net/message/5274378#5274378 I've been having a pretty good run after switching Resharper back on. It slowed to a crawl once, but I've had that with VS. That was after quite a few hours of work interspersed with a couple of hibernations. Right now I'm very happy. Thank you Jetbrains for your efforts to rectify the problems.
Hello everyone!
If you are still experiencing performance problems in VS 2010 / VS 2008 with the latest R# 6.0 EAP builds installed, please mail me ASAP - Kirill[dot]Falk@jetbrains[dot]com or comment and vote for the appropriate issue request http://youtrack.jetbrains.net/issue/RSRP-179419. Any performance snapshots will be very appreciated. You could easily upload them to ftp://ftp.intellij.net/.uploads/
Thanks in advance!
Kirill Falk