4.1: One solution is painfully slow (other ones fine)

I have a solution with only one project in it that I use for proof of concept testing or for a one-off utility that I need for something.  The project here only has about 20 files or so in it, all are pretty short - the biggest file is only about 600 lines or so.  I've used Resharper on this in the past without issue - but I opened it up today and it is painfully slow.  By painful, I mean type a letter and wait about 1/2 or more for it to show up - if I type an entire word, the cursor flashes between the hourglass and  | for a few seconds, then the entire word shows up at once.  This is not an exaggeration.  I typed the word "Directory" out with my normal typing speed and timed it - it took 4 seconds from my first keystroke before the word showed up in the editor.  As soon as I turn off Resharper, everything is back to normal.

There are a few wierd things about this that don't quite make sense to me.  First, it only happens with this solution, not other solutions that I'm in every day and are MUCH larger.  The one I'm normally in has 59 projects and I don't even know how many code files, and Resharper is working just fine.  Also, it doesn't matter what file I'm using in the problem solution - whether it's a file with several warnings or a new file that has none - typing is the same slow speed on all.  It doesn't matter if I'm typing inside of a string, inside of a code block, adding a using statement, nothing - all typing is the same.

Things I've tried which have had no impact:
- Clearing the cache through the Options dialog.
- Doing a clean and rebuild.
- Manually deleting all resharper files in the solution, as well as the normal VS .sou file.
- Verified that Solution-Wide analysis was off (never had it on, did a sanity check anyway).

Both solutions are 2005 solutions that have been converted to 2008, which was done on both shortly after VS2008 came out.  I have recently installed SP1 of VS2008, but since other solutions are working fine I don't think that would be it.  The only difference I see from the problem solution and the ones that work fine, is that the problem one is not under source control while the others are.

Are there any ideas of what else I could try?  If not, is there anyway to turn off Resharper for only this problem solution?

Message was edited by: Darrell Bennington (fixed typo in title)

3 comments

Hello Darrell,

If this is throw-away solution, is it possible we can have it for tests?
If not, would you mind running VS under dotTrace, start profiling when before
you type, type and end profiling session. Then save snapshot and send it
to us? Thanks in advance, you can send files directly to me: orangy at jetbrains

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


IR> I have a solution with only one project in it that I use for proof
IR> of concept testing or for a one-off utility that I need for
IR> something. The project here only has about 20 files or so in it,
IR> all are pretty short - the biggest file is only about 600 lines or
IR> so. I've used Resharper on this in the
IR>
IR> past without issue - but I opened it up today and it is +*painfully
IR> slow*+. By painful, I mean type a letter and wait about 1/2 or more
IR> for it to show up - if I type an entire word, the cursor flashes
IR> between the hourglass and | for a few seconds, then the entire word
IR> shows up at once. This is no
IR>
IR> t an exaggeration. I typed the word "Directory" out with my normal
IR> typing speed and timed it - it took 4 seconds from my first
IR> keystroke before the word showed up in the editor. As soon as I
IR> turn off Resharper, everything is back to normal.
IR>
IR> There are a few wierd things about this that don't quite make sense
IR> to me. First, it only happens with this solution, not other
IR> solutions that I'm in every day and are MUCH larger. The one I'm
IR> normally in has 59 projects and I don't even know how many code
IR> files, and Resharper is working just fine
IR> Also, it doesn't matter what file I'm using in the problem
IR> solution - whether it's a file with several warnings or a new file
IR> that has none - typing is the same slow speed on all. It doesn't
IR> matter if I'm typing inside of a string, inside of a code block,
IR> adding a using statement, nothing - all
IR> typing is the same.
IR> Things I've tried which have had no impact:
IR> - Clearing the cache through the Options dialog.
IR> - Doing a clean and rebuild.
IR> - Manually deleting all resharper files in the solution, as well as
IR> the normal VS .sou file.
IR> - Verified that Solution-Wide analysis was off (never had it on, did
IR> a sanity check anyway).
IR> Both solutions are 2005 solutions that have been converted to 2008,
IR> which was done on both shortly after VS2008 came out. I have
IR> recently installed SP1 of VS2008, but since other solutions are
IR> working fine I don't think that would be it. The only difference I
IR> see from the problem solution and the ones that work fine, is that
IR> the problem one is not under source control while the others are.
IR>
IR> Are there any ideas of what else I could try? If not, is there
IR> anyway to turn off Resharper for only this problem solution?
IR>
IR> ---
IR> Original message URL:
IR> http://www.jetbrains.net/devnet/message/5233530#5233530


0

OK, project is sent to your e-mail.  I hope this is something simple.

0

I just installed the 4.5 Beta on my machine, and figured I'd try out the problem solution with the new version.  It is definitely much improved, but still very slow.  With 4.1, any typing was horrible, even inside of strings.  With 4.5 Beta some typing is normal, but some isn't, like when typing out an identifier or bringing up intellisense.

0

Please sign in to leave a comment.