Very slow loadtime with websolutions

Hi,

Why can't I once and for all prevent resharper from inspecting every file in
specific folders under my website when I open the websolution ?

I have a folder structure containing about 30000 jpeg previews under my
website and when I open the websolution in VS2005 it takes around 5 minutes
to open it with resharper #4 build 911. ( I have also tried with earlier
builds)

Without resharper enabled it takes 5 SECONDS.

If I move my folder structure out of my websolution it takes 1 minute to
open with resharper enabled.

And yes, I have under resharper/ options/ settings /advanced.. added the
root folder of the folder structure to the list with 'Files and folders to
skip'. But resharper ignores this when the solution is loaded.

I have had FileMon inspecting fileaccess on solution load, and resharper
does look at every subfolder and file in this excluded folder.

Please fix this bug.

john






0
10 comments

Hello,

We appreciate your feedback. The corresponding JIRA request has been created,
and you are welcome to monitor its status at http://www.jetbrains.net/jira/browse/RSRP-75997.

You may want to check our request tracking policy here: http://www.jetbrains.net/confluence/display/ReSharper/ReSharperIssueTracker

Best regards,
- Development Team.


0

I hope this is considered super-ultra-high-priority, and makes it into
bugfix 4.01 release... this performance problem is really a killer.

We have a HUGE website, and it can take over 10 minutes to open the project
the first time. Without resharper, it opens in a matter of seconds.

This is a huge barrier to adoption of Resharper in my department.

"Ilya Ryzhenkov" <orangy@jetbrains.com> wrote in message
news:76a2bd0b15d69f8cabedf85e3d17e@news.intellij.net...

Hello,

>

We appreciate your feedback. The corresponding JIRA request has been
created, and you are welcome to monitor its status at
http://www.jetbrains.net/jira/browse/RSRP-75997.

>

You may want to check our request tracking policy here:
http://www.jetbrains.net/confluence/display/ReSharper/ReSharperIssueTracker

>

Best regards,
- Development Team.

>


0

Paul,

its priority is really high, but it's well complicated even to reproduce the
problem on any reasonable sample (Some cases were discovered and fixed prior
to 4.0 release). I cannot expect you to send us your website for
investigation (it would help us a lot though), but could you provide us with
some information?
1. Is it a web site or a web application project in your case?
2. What VS is used?
3. Could you dump the file structure of your website for us?

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

John,

We need some information to reproduce your problem.

1. Could you dump your website file structure for us?
2. Is it a website or a web application project you are using?
3. What VS version is used?

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Hi,

VS2005 on XP with the local webserver enabled.

Very easy to reproduce:

Create a new website as http://localhost/WebSite_test. (ASP.net website)
Check it runs and close VS2005.
Create a folder structure with alot of folders and files (jpg) in the new
WebSite_test folder. In my case a 'Ads' folder with 35640 files, 1061
subfolders and a total size of 1.9 GB.
Open the WebSite_test solution again and VS2005 takes forever to open it.
Try to exclude 'Ads' in Resharper options/settings (\), close VS2005 and open it again. Same poor loadtime. John "Sergey V. Coox (JetBrains)" ]]> wrote in message
news:g6rnjo$14l$1@is.intellij.net...

John,

>

We need some information to reproduce your problem.

>

1. Could you dump your website file structure for us?
2. Is it a website or a web application project you are using?
3. What VS version is used?

>

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

John,

what build are you using? I tested your scenario against VS2005 and VS2008
with the recent nightly build of R#.
The opening of a website took 1,5 to 2 min. I know that's far more than
without R# and there is a room for performance improvements, that will
definitely take place in R# 4.5. In the upcoming bugfix update we will just
speed up it slightly (for substantial speed-up requires significant redesign
of the internal architecture).

PS The website was generated as follows (1,000 folders, 40,000 files):
string basePath = @"c:\111";
for( var i = 0; i < 20; ++i )
{
var directory = Directory.CreateDirectory( basePath + "
dir" + i );
for( var j = 0; j < 50; ++j )
{
var dir2 = Directory.CreateDirectory( directory.FullName +
"
subDir" + j );
for( int k=0; k < 40; ++k )
{
File.Copy( basePath + "
a.gif",dir2.FullName + "
img" + k +
".gif" );
Console.Out.WriteLine( "." );
}
}
}



PPS Could you run your website with performance profiler (you may use
dotTrace http://www.jetbrains.com/profiler/index.html - it has free
evaluation period) and take several snapshots while opening website, it
would help us a lot. Thanks in advance.


--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Hej,

My build was 911.

But the bottom off the problem is that Resharper looks at every file and
subfolder in my excluded folder, nothing else. So again, why can't I once
and for all tell Resharper to skip a given folder and all its subfolders ?

Filemon monitors that my folder is scanned by VS2005 when Resharper is
enabled even if I excluded this folder in in Reshaper options. This scanning
takes minutes to do and I want Resharper to stop this behavour.

John

"Sergey V. Coox (JetBrains)" <qx@intellij.com> wrote in message
news:g76tsi$st9$1@is.intellij.net...

John,

>

what build are you using? I tested your scenario against VS2005 and VS2008
with the recent nightly build of R#.
The opening of a website took 1,5 to 2 min. I know that's far more than
without R# and there is a room for performance improvements, that will
definitely take place in R# 4.5. In the upcoming bugfix update we will
just speed up it slightly (for substantial speed-up requires significant
redesign of the internal architecture).

>

PS The website was generated as follows (1,000 folders, 40,000 files):
string basePath = @"c:\111";
for( var i = 0; i < 20; ++i )
{
var directory = Directory.CreateDirectory( basePath + "
dir" +
i );
for( var j = 0; j < 50; ++j )
{
var dir2 = Directory.CreateDirectory( directory.FullName +
"
subDir" + j );
for( int k=0; k < 40; ++k )
{
File.Copy( basePath + "
a.gif",dir2.FullName + "
img" + k +
".gif" );
Console.Out.WriteLine( "." );
}
}
}

>
>
>

PPS Could you run your website with performance profiler (you may use
dotTrace http://www.jetbrains.com/profiler/index.html - it has free
evaluation period) and take several snapshots while opening website, it
would help us a lot. Thanks in advance.

>
>

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>


0

John,

Currently we have no option to exclude any folder. The one you're talking
about is for highlighting only.

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Hi,

So you are saying that Options/settings/advanced... 'Folders and files to
skip when analysing', is not really folders and files to skip when analysing
:)

Then I need this feature asap!

John

"Sergey V. Coox (JetBrains)" <qx@intellij.com> wrote in message
news:g797el$683$1@is.intellij.net...

John,

>

Currently we have no option to exclude any folder. The one you're talking
about is for highlighting only.

>

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"



0

1) It is a web site

2) VS2008

3) I'll have to get back to you on that...


"Sergey V. Coox (JetBrains)" <qx@intellij.com> wrote in message
news:g6rngj$vi2$1@is.intellij.net...

Paul,

>

its priority is really high, but it's well complicated even to reproduce
the problem on any reasonable sample (Some cases were discovered and fixed
prior to 4.0 release). I cannot expect you to send us your website for
investigation (it would help us a lot though), but could you provide us
with some information?
1. Is it a web site or a web application project in your case?
2. What VS is used?
3. Could you dump the file structure of your website for us?

>

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Please sign in to leave a comment.