Slow performance, please help

Hi:
I'm using VS2005 R#3.1 latest version, 2GB RAM, Windows XP Pro.

When I'm using with large projects it takes around 20min to let me work.

How can I optimize my project for having a normal programming day :)

I already did not load at startup R# and load manually, but with not success. With this trick after some work, R# stops working. I have not intellisense.

How can I exclude some entire folder from R#, i.e., images files, html files, etc.

Any advice is welcomed.

Thanks in advance.

6 comments
Comment actions Permalink

It would be most helpful if you could provide some details regarding the solution you are working with, eg. types of projects, number of projects, number of files, size of files, source languages, number and type of files typically open at a time during an average working session, etc.

0
Comment actions Permalink

Hi:

1 project
c#
64 files .ascx
32 files .aspx
6000 files .gif
25 files .css
10 files .cs
300 xml
-


nettiers
componentart
telerik editor

0
Comment actions Permalink

Wow, that's small! Hopefully one of the JetBrains folk will drop by to ask some more detailed questions. Have you tried backing up your project and removing subsets of these files to see if there are any patterns that can be revealed regarding your perf issues? Also, how long are your .asx and asx.cs/vb (not sure which) files? And for yet more, how many warnings/errors are being shown in these files? And for yet more still, what kind of memory utilization are you seeing in devenv.exe once you get the IDE up and running with your project with versus without R# enabled?

0
Comment actions Permalink

Hello,

1 project
c#
64 files .ascx
32 files .aspx
6000 files .gif
25 files .css
10 files .cs
300 xml


I can see the two general speedbreakers here:
1) It's a Web project.
2) It has tons of non-code files.

Also note that the the Solution-Wide Analysis feature may have large startup
times, but it does not mean R# cannot be used while it starts; only the features
that come with it will be unavailable until it loads, the “classic” R# features
will work just fine.

As for the second issue, a fix has been recently administered, and you're
welcome to try the tomorrow's Nightly Build (I think the fix has found its
way into the fresh R#4 nightly build as well).

As for the Web projects as a whole, the things are worse for them if compared
to the regular DLL/EXE projects, but they're constantly improving. It would
be interesting to see how the recent exclusion of non-code files helps with
startup times on real-life projects, for instance.


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0
Comment actions Permalink

Hi:

I have already installed de 3.11 EAP from 17feb2008. I see in the Options - Code Inspection - Solution Wide Analysis a new section in which you can exclude folders or single files.

In my first case, I needed 20min to load the project, but the Memory wasted was around 150Mb.

With the 3.11 EAP from 17feb2008 Memory wasted(the one in the lower right corner) it's around 900Mb, and all the time the "code analysis" is working behind, havind the CPU use near 97% all the time.

Is there any way I can configure the R# 3.11 EAP for:

- consume 150Mb as it did before
- not having the CPU use over 90% all the time
- is it possible to exclude file patterns, ie. *.gif, .jpeg, some.txt ?

0
Comment actions Permalink

Hello iomega55,

We've got a fix to not scan non-source files. Unfortunately, 3.1 nightly
build publishing was broken by accident, when configuring 4.0 nightly builds.
I hope the fx will be public on monday or tuesday. Or you can try nightly
builds of ReSharper 4 :)

Sincerely,
Ilya Ryzhenkov

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


i> Hi:
i>
i> I have already installed de 3.11 EAP from 17feb2008. I see in the
i> Options - Code Inspection - Solution Wide Analysis a new section in
i> which you can exclude folders or single files.
i>
i> In my first case, I needed 20min to load the project, but the Memory
i> wasted was around 150Mb.
i>
i> With the 3.11 EAP from 17feb2008 Memory wasted(the one in the lower
i> right corner) it's around 900Mb, and all the time the "code analysis"
i> is working behind, havind the CPU use near 97% all the time.
i>
i> Is there any way I can configure the R# 3.11 EAP for:
i>
i> - consume 150Mb as it did before
i> - not having the CPU use over 90% all the time
i> - is it possible to exclude file patterns, ie. *.gif, *.jpeg,
i> some*.txt ?


0

Please sign in to leave a comment.