Find Usages is slow in v5 beta

I recently installed the beta version of ReSharper (version 5), and I noticed
that the find usages command is much slower in this version than it has been
in version 4.  I have a pretty pretty large web site project in my solution,
and when I did a find usages on a method of a class in a referenced .csproj
file, it took a few minutes to find them all.  This used to take only a couple
seconds for the same search in version 4.  Have there been some architectural
changes that have caused this slow down, and is there any plans to address
this?  I am using VS 2008.

~Andy


22 comments
Comment actions Permalink

Hello Andy,

Do you use MVC?
Do you have resx files and how much in the web project?


Best regards,
Alexander Nesterenko
ReSharper developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

Hello Alexander,

Our site is in transition.  About half of the site is using the ASP.NET Mvc
framework, and about half of it is using classic ASP.NET pages.  It is a
pretty large site.  Here is an approximate count of pages/controls/resx files:

.aspx Pages: 140
User Controls: 340
.resx Files (not counting localized copies):240

Something I noticed that was a little odd was that when I did a find usages
search of a method, it took about 3 minutes to complete, and during much
of that time it was searching through various .xml and .resx files.

~Andy


Hello Andy,

Do you use MVC?
Do you have resx files and how much in the web project?
Best regards,
Alexander Nesterenko
ReSharper developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"




0
Comment actions Permalink

Is Anyone at ReSharper looking into this issue?  This seems like a pretty
critical issue that needs to be addressed.  I know from other forum posts
I've seen I'm not the only one experiencing it.

Thanks,

~Andy

Hello Alexander,

Our site is in transition.  About half of the site is using the
ASP.NET Mvc framework, and about half of it is using classic ASP.NET
pages.  It is a pretty large site.  Here is an approximate count of
pages/controls/resx files:

.aspx Pages: 140
User Controls: 340
.resx Files (not counting localized copies):240
Something I noticed that was a little odd was that when I did a find
usages search of a method, it took about 3 minutes to complete, and
during much of that time it was searching through various .xml and
.resx files.

~Andy

>> Hello Andy,
>>
>> Do you use MVC?
>> Do you have resx files and how much in the web project?
>> Best regards,
>> Alexander Nesterenko
>> ReSharper developer
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"


0
Avatar
Andrey Serebryansky
Comment actions Permalink

Hello Andrew
     We're currently investigating the problems with Find Usages performance. Could you please follow the instructions at http://www.jetbrains.net/confluence/display/ReSharper/ReSharper+Performance+Profiling+Instructions to gather some performance snapshots of this problem and send them to andrew dot serebryansky at jetbrains dot com? This would really help us to track the problem down. Thank you!

Andrey Serebryansky

Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0
Comment actions Permalink

Hello Andrey,

I followed the instructions and I have a dtc snapshot file.  However, it
is 3.25 GB in size, which is too large for me to email to you.  Is there
some other location I can upload it to?  It also seems like it is too large
for me to open in dotTrace (it says I do not have enough memory...I have 4GB)

I made sure to not start the profile until after the solution has completely
loaded.  I simply started the profile, did a find usages on a class in the
solution.  It took about 5 minutes or so, then as soon as it was done, I
got the snapshot.  During the find usages, it seemed to be looking in a number
of .cs, .ascx, .aspx, .master, .resx, and .xml files in the solution based
on the status message above the progress bar.  Its like it doesn't have an
index of class references like it did in previous versions of ReSharper.

Please let me know if I can upload tha file for you, or if there is something
further I can do to help.

~Andy

Hello Andrew
We're currently investigating the problems with Find Usages
performance. Could you please follow the instructions at
http://www.jetbrains.net/confluence/display/ReSharper/ReSharper+Perfor
manceProfilingInstructions to gather some performance snapshots of
this problem and send them to andrew dot serebryansky at jetbrains dot
com? This would really help us to track the problem down. Thank you!
Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
---
Original message URL:
http://www.jetbrains.net/devnet/message/5254483#5254483



0
Comment actions Permalink

Hello Andy,

Could you please upload it to ftp.intellij.net/.uploads ? Thanks a lot!

Sincerely,
Ilya Ryzhenkov

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


AA> Hello Andrey,
AA>
AA> I followed the instructions and I have a dtc snapshot file.
AA> However, it is 3.25 GB in size, which is too large for me to email
AA> to you.  Is there some other location I can upload it to?  It also
AA> seems like it is too large for me to open in dotTrace (it says I do
AA> not have enough memory...I have 4GB)
AA>
AA> I made sure to not start the profile until after the solution has
AA> completely loaded.  I simply started the profile, did a find usages
AA> on a class in the solution.  It took about 5 minutes or so, then as
AA> soon as it was done, I got the snapshot.  During the find usages, it
AA> seemed to be looking in a number of .cs, .ascx, .aspx, .master,
AA> .resx, and .xml files in the solution based on the status message
AA> above the progress bar.  Its like it doesn't have an index of class
AA> references like it did in previous versions of ReSharper.
AA>
AA> Please let me know if I can upload tha file for you, or if there is
AA> something further I can do to help.
AA>
AA> ~Andy
AA>
>> Hello Andrew
>> We're currently investigating the problems with Find Usages
>> performance. Could you please follow the instructions at
>> http://www.jetbrains.net/confluence/display/ReSharper/ReSharper+Perfo
>> r
>> manceProfilingInstructions to gather some performance snapshots of
>> this problem and send them to andrew dot serebryansky at jetbrains
>> dot
>> com? This would really help us to track the problem down. Thank you!
>> Andrey Serebryansky
>> Support Engineer
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>> ---
>> Original message URL:
>> http://www.jetbrains.net/devnet/message/5254483#5254483


0
Comment actions Permalink

Hello Ilya,

I tried to upload it to that server, and after going for a few hours I came
back and it said it had failed.  Here is the FTP log:

Command:     PASV
Response:     227 Entering Passive Mode (213,182,181,98,205,98).
Command:     STOR Resharper5_FindUsagesSlow.dtc
Response:     550 Resharper5_FindUsagesSlow.dtc: Overwrite permission denied

Do I need a special account to upload to this location?  I wis using FileZilla
to do the upload.  Any help is appreciated.

~Andy

Hello Andy,

Could you please upload it to ftp.intellij.net/.uploads ? Thanks a
lot!

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

AA>> Hello Andrey,
AA>>
AA>> I followed the instructions and I have a dtc snapshot file.
AA>> However, it is 3.25 GB in size, which is too large for me to email
AA>> to you.  Is there some other location I can upload it to?  It also
AA>> seems like it is too large for me to open in dotTrace (it says I do
AA>> not have enough memory...I have 4GB)
AA>>
AA>> I made sure to not start the profile until after the solution has
AA>> completely loaded.  I simply started the profile, did a find usages
AA>> on a class in the solution.  It took about 5 minutes or so, then as
AA>> soon as it was done, I got the snapshot.  During the find usages,
AA>> it seemed to be looking in a number of .cs, .ascx, .aspx, .master,
AA>> .resx, and .xml files in the solution based on the status message
AA>> above the progress bar.  Its like it doesn't have an index of class
AA>> references like it did in previous versions of ReSharper.
AA>>
AA>> Please let me know if I can upload tha file for you, or if there is
AA>> something further I can do to help.
AA>>
AA>> ~Andy
AA>>
>>> Hello Andrew
>>> We're currently investigating the problems with Find Usages
>>> performance. Could you please follow the instructions at
>>> http://www.jetbrains.net/confluence/display/ReSharper/ReSharper+Perf
>>> o
>>> r
>>> manceProfilingInstructions to gather some performance snapshots of
>>> this problem and send them to andrew dot serebryansky at jetbrains
>>> dot
>>> com? This would really help us to track the problem down. Thank you!
>>> Andrey Serebryansky
>>> Support Engineer
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>> ---
>>> Original message URL:
>>> http://www.jetbrains.net/devnet/message/5254483#5254483


0
Comment actions Permalink

Hello Andy,

It looks like it failed to download it first time and retried. Resharper5_FindUsagesSlow.dtc
file is there on FTP of 1Gb size. I've erased it.

Sincerely,
Ilya Ryzhenkov

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


AA> Hello Ilya,
AA>
AA> I tried to upload it to that server, and after going for a few hours
AA> I came back and it said it had failed.  Here is the FTP log:
AA>
AA> Command:     PASV
AA> Response:     227 Entering Passive Mode (213,182,181,98,205,98).
AA> Command:     STOR Resharper5_FindUsagesSlow.dtc
AA> Response:     550 Resharper5_FindUsagesSlow.dtc: Overwrite permission
AA> denied
AA> Do I need a special account to upload to this location?  I wis using
AA> FileZilla to do the upload.  Any help is appreciated.
AA>
AA> ~Andy
AA>
>> Hello Andy,
>>
>> Could you please upload it to ftp.intellij.net/.uploads ? Thanks a
>> lot!
>>
>> Sincerely,
>> Ilya Ryzhenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
AA>>> Hello Andrey,
AA>>>
AA>>> I followed the instructions and I have a dtc snapshot file.
AA>>> However, it is 3.25 GB in size, which is too large for me to email
AA>>> to you.  Is there some other location I can upload it to?  It also
AA>>> seems like it is too large for me to open in dotTrace (it says I
AA>>> do not have enough memory...I have 4GB)
AA>>>
AA>>> I made sure to not start the profile until after the solution has
AA>>> completely loaded.  I simply started the profile, did a find
AA>>> usages on a class in the solution.  It took about 5 minutes or so,
AA>>> then as soon as it was done, I got the snapshot.  During the find
AA>>> usages, it seemed to be looking in a number of .cs, .ascx, .aspx,
AA>>> .master, .resx, and .xml files in the solution based on the status
AA>>> message above the progress bar.  Its like it doesn't have an index
AA>>> of class references like it did in previous versions of ReSharper.
AA>>>
AA>>> Please let me know if I can upload tha file for you, or if there
AA>>> is something further I can do to help.
AA>>>
AA>>> ~Andy
AA>>>
>>>> Hello Andrew
>>>> We're currently investigating the problems with Find Usages
>>>> performance. Could you please follow the instructions at
>>>> http://www.jetbrains.net/confluence/display/ReSharper/ReSharper+Per
>>>> f
>>>> o
>>>> r
>>>> manceProfilingInstructions to gather some performance snapshots
>>>> of
>>>> this problem and send them to andrew dot serebryansky at jetbrains
>>>> dot
>>>> com? This would really help us to track the problem down. Thank
>>>> you!
>>>> Andrey Serebryansky
>>>> Support Engineer
>>>> JetBrains, Inc
>>>> http://www.jetbrains.com
>>>> "Develop with pleasure!"
>>>> ---
>>>> Original message URL:
>>>> http://www.jetbrains.net/devnet/message/5254483#5254483


0
Comment actions Permalink

Hello Andy,

Also, does it help to compress the file?

Sincerely,
Ilya Ryzhenkov

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


AA> Hello Ilya,
AA>
AA> I tried to upload it to that server, and after going for a few hours
AA> I came back and it said it had failed.  Here is the FTP log:
AA>
AA> Command:     PASV
AA> Response:     227 Entering Passive Mode (213,182,181,98,205,98).
AA> Command:     STOR Resharper5_FindUsagesSlow.dtc
AA> Response:     550 Resharper5_FindUsagesSlow.dtc: Overwrite permission
AA> denied
AA> Do I need a special account to upload to this location?  I wis using
AA> FileZilla to do the upload.  Any help is appreciated.
AA>
AA> ~Andy
AA>
>> Hello Andy,
>>
>> Could you please upload it to ftp.intellij.net/.uploads ? Thanks a
>> lot!
>>
>> Sincerely,
>> Ilya Ryzhenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
AA>>> Hello Andrey,
AA>>>
AA>>> I followed the instructions and I have a dtc snapshot file.
AA>>> However, it is 3.25 GB in size, which is too large for me to email
AA>>> to you.  Is there some other location I can upload it to?  It also
AA>>> seems like it is too large for me to open in dotTrace (it says I
AA>>> do not have enough memory...I have 4GB)
AA>>>
AA>>> I made sure to not start the profile until after the solution has
AA>>> completely loaded.  I simply started the profile, did a find
AA>>> usages on a class in the solution.  It took about 5 minutes or so,
AA>>> then as soon as it was done, I got the snapshot.  During the find
AA>>> usages, it seemed to be looking in a number of .cs, .ascx, .aspx,
AA>>> .master, .resx, and .xml files in the solution based on the status
AA>>> message above the progress bar.  Its like it doesn't have an index
AA>>> of class references like it did in previous versions of ReSharper.
AA>>>
AA>>> Please let me know if I can upload tha file for you, or if there
AA>>> is something further I can do to help.
AA>>>
AA>>> ~Andy
AA>>>
>>>> Hello Andrew
>>>> We're currently investigating the problems with Find Usages
>>>> performance. Could you please follow the instructions at
>>>> http://www.jetbrains.net/confluence/display/ReSharper/ReSharper+Per
>>>> f
>>>> o
>>>> r
>>>> manceProfilingInstructions to gather some performance snapshots
>>>> of
>>>> this problem and send them to andrew dot serebryansky at jetbrains
>>>> dot
>>>> com? This would really help us to track the problem down. Thank
>>>> you!
>>>> Andrey Serebryansky
>>>> Support Engineer
>>>> JetBrains, Inc
>>>> http://www.jetbrains.com
>>>> "Develop with pleasure!"
>>>> ---
>>>> Original message URL:
>>>> http://www.jetbrains.net/devnet/message/5254483#5254483


0
Comment actions Permalink

andyalm wrote:

I recently installed the beta version of ReSharper (version 5), and I noticed
that the find usages command is much slower in this version than it has been
in version 4.


We have exactly the same problem. The difference doesn't seem to be that it's slower per se, but rather that in v4.5 it used cached symbol data, whereas in v5 it does a live search in the files in the solution. In the progress bar you can clearly see .cs files flashing by, not just resource files and HTML files.

"Find usages" is almost unusably slow in our ASP.NET MVC 1 project, which has ~10 resource files and ~100 views. But the views and resource files don't seem to be the problem.

0
Avatar
Andrey Serebryansky
Comment actions Permalink

Hello Kod
     Could you please follow the instructions athttp://www.jetbrains.net/confluence/display/ReSharper/ReSharper+Performance+Profiling+Instructions to gather some performance snapshots of this problem and send them to andrew dot serebryansky at jetbrains dot com or upload it to ftp://ftp.intellij.net/.uploads/? Thank you!

Andrey Serebryansky

Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0
Comment actions Permalink

marcus23 wrote:

Could you please (...) gather some performance snapshots of this problem


I'll try!

But I don't see how performance is the problem. In v4.5, it doesn't fastly go through all files in the solution to Find Usages - it doesn't go through all files in the solution at all.

EDIT: The file is on your FTP now. 28 minutes in v5EAP, ~3 seconds in v4.5. Same solution; MVC1 with ~10 resx and ~100 as?x.

0
Comment actions Permalink

Hello Ilya,

Good idea to compress it first (I should have thought of that).  I compressed
it to a .7z file and uploaded it to the .uploads directory.  It succeeded
this time.  The name of the file is ReSharper5_FindUsagesSlow.7z.

Let me know if I can be of further assistence.

~Andy

Hello Andy,

It looks like it failed to download it first time and retried.
Resharper5_FindUsagesSlow.dtc file is there on FTP of 1Gb size. I've
erased it.

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

AA>> Hello Ilya,
AA>>
AA>> I tried to upload it to that server, and after going for a few
AA>> hours I came back and it said it had failed.  Here is the FTP log:
AA>>
AA>> Command:     PASV
AA>> Response:     227 Entering Passive Mode (213,182,181,98,205,98).
AA>> Command:     STOR Resharper5_FindUsagesSlow.dtc
AA>> Response:     550 Resharper5_FindUsagesSlow.dtc: Overwrite permission
AA>> denied
AA>> Do I need a special account to upload to this location?  I wis
AA>> using
AA>> FileZilla to do the upload.  Any help is appreciated.
AA>> ~Andy
AA>>
>>> Hello Andy,
>>>
>>> Could you please upload it to ftp.intellij.net/.uploads ? Thanks a
>>> lot!
>>>
>>> Sincerely,
>>> Ilya Ryzhenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
AA>>>> Hello Andrey,
AA>>>>
AA>>>> I followed the instructions and I have a dtc snapshot file.
AA>>>> However, it is 3.25 GB in size, which is too large for me to
AA>>>> email to you.  Is there some other location I can upload it to?
AA>>>> It also seems like it is too large for me to open in dotTrace (it
AA>>>> says I do not have enough memory...I have 4GB)
AA>>>>
AA>>>> I made sure to not start the profile until after the solution has
AA>>>> completely loaded.  I simply started the profile, did a find
AA>>>> usages on a class in the solution.  It took about 5 minutes or
AA>>>> so, then as soon as it was done, I got the snapshot.  During the
AA>>>> find usages, it seemed to be looking in a number of .cs, .ascx,
AA>>>> .aspx, .master, .resx, and .xml files in the solution based on
AA>>>> the status message above the progress bar.  Its like it doesn't
AA>>>> have an index of class references like it did in previous
AA>>>> versions of ReSharper.
AA>>>>
AA>>>> Please let me know if I can upload tha file for you, or if there
AA>>>> is something further I can do to help.
AA>>>>
AA>>>> ~Andy
AA>>>>
>>>>> Hello Andrew
>>>>> We're currently investigating the problems with Find Usages
>>>>> performance. Could you please follow the instructions at
>>>>> http://www.jetbrains.net/confluence/display/ReSharper/ReSharper+Pe
>>>>> r
>>>>> f
>>>>> o
>>>>> r
>>>>> manceProfilingInstructions to gather some performance snapshots
>>>>> of
>>>>> this problem and send them to andrew dot serebryansky at jetbrains
>>>>> dot
>>>>> com? This would really help us to track the problem down. Thank
>>>>> you!
>>>>> Andrey Serebryansky
>>>>> Support Engineer
>>>>> JetBrains, Inc
>>>>> http://www.jetbrains.com
>>>>> "Develop with pleasure!"
>>>>> ---
>>>>> Original message URL:
>>>>> http://www.jetbrains.net/devnet/message/5254483#5254483


0
Comment actions Permalink

Did you get my snapshot?  Was it helpful?  Is there a bug/ticket number for
this issue that I can use to track its progress?

Thanks,

~Andy

Hello Ilya,

Good idea to compress it first (I should have thought of that).  I
compressed it to a .7z file and uploaded it to the .uploads directory.
It succeeded this time.  The name of the file is
ReSharper5_FindUsagesSlow.7z.

Let me know if I can be of further assistence.

~Andy

>> Hello Andy,
>>
>> It looks like it failed to download it first time and retried.
>> Resharper5_FindUsagesSlow.dtc file is there on FTP of 1Gb size. I've
>> erased it.
>>
>> Sincerely,
>> Ilya Ryzhenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
AA>>> Hello Ilya,
AA>>>
AA>>> I tried to upload it to that server, and after going for a few
AA>>> hours I came back and it said it had failed.  Here is the FTP log:
AA>>>
AA>>> Command:     PASV
AA>>> Response:     227 Entering Passive Mode (213,182,181,98,205,98).
AA>>> Command:     STOR Resharper5_FindUsagesSlow.dtc
AA>>> Response:     550 Resharper5_FindUsagesSlow.dtc: Overwrite permission
AA>>> denied
AA>>> Do I need a special account to upload to this location?  I wis
AA>>> using
AA>>> FileZilla to do the upload.  Any help is appreciated.
AA>>> ~Andy
>>>> Hello Andy,
>>>>
>>>> Could you please upload it to ftp.intellij.net/.uploads ? Thanks a
>>>> lot!
>>>>
>>>> Sincerely,
>>>> Ilya Ryzhenkov
>>>> JetBrains, Inc
>>>> http://www.jetbrains.com
>>>> "Develop with pleasure!"
AA>>>>> Hello Andrey,
AA>>>>>
AA>>>>> I followed the instructions and I have a dtc snapshot file.
AA>>>>> However, it is 3.25 GB in size, which is too large for me to
AA>>>>> email to you.  Is there some other location I can upload it to?
AA>>>>> It also seems like it is too large for me to open in dotTrace
AA>>>>> (it says I do not have enough memory...I have 4GB)
AA>>>>>
AA>>>>> I made sure to not start the profile until after the solution
AA>>>>> has completely loaded.  I simply started the profile, did a find
AA>>>>> usages on a class in the solution.  It took about 5 minutes or
AA>>>>> so, then as soon as it was done, I got the snapshot.  During the
AA>>>>> find usages, it seemed to be looking in a number of .cs, .ascx,
AA>>>>> .aspx, .master, .resx, and .xml files in the solution based on
AA>>>>> the status message above the progress bar.  Its like it doesn't
AA>>>>> have an index of class references like it did in previous
AA>>>>> versions of ReSharper.
AA>>>>>
AA>>>>> Please let me know if I can upload tha file for you, or if there
AA>>>>> is something further I can do to help.
AA>>>>>
AA>>>>> ~Andy
AA>>>>>
>>>>>> Hello Andrew
>>>>>> We're currently investigating the problems with Find Usages
>>>>>> performance. Could you please follow the instructions at
>>>>>> http://www.jetbrains.net/confluence/display/ReSharper/ReSharper+P
>>>>>> e
>>>>>> r
>>>>>> f
>>>>>> o
>>>>>> r
>>>>>> manceProfilingInstructions to gather some performance snapshots
>>>>>> of
>>>>>> this problem and send them to andrew dot serebryansky at
>>>>>> jetbrains
>>>>>> dot
>>>>>> com? This would really help us to track the problem down. Thank
>>>>>> you!
>>>>>> Andrey Serebryansky
>>>>>> Support Engineer
>>>>>> JetBrains, Inc
>>>>>> http://www.jetbrains.com
>>>>>> "Develop with pleasure!"
>>>>>> ---
>>>>>> Original message URL:
>>>>>> http://www.jetbrains.net/devnet/message/5254483#5254483


0
Comment actions Permalink

andyalm wrote:

Did you get my snapshot?  Was it helpful?  Is there a bug/ticket number for
this issue that I can use to track its progress?


I was wondering the same thing.

Andy, please remove the hundreds of lines of quoted text that are in every message you post. You're making it very hard to follow the thread.

0
Comment actions Permalink

Hello Andy,

Oh, sorry, I didn't respond here. I've got snapshot, but it is huge for dotTrace
3.1 to open it directly. I've asked our dotTrace developers to help me open
it. Didn't see the traces yet :(

Sincerely,
Ilya Ryzhenkov

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


AA> Did you get my snapshot?  Was it helpful?  Is there a bug/ticket
AA> number for this issue that I can use to track its progress?
AA>
AA> Thanks,
AA>
AA> ~Andy
AA>
>> Hello Ilya,
>>
>> Good idea to compress it first (I should have thought of that).  I
>> compressed it to a .7z file and uploaded it to the .uploads
>> directory. It succeeded this time.  The name of the file is
>> ReSharper5_FindUsagesSlow.7z.
>>
>> Let me know if I can be of further assistence.
>>
>> ~Andy
>>
>>> Hello Andy,
>>>
>>> It looks like it failed to download it first time and retried.
>>> Resharper5_FindUsagesSlow.dtc file is there on FTP of 1Gb size. I've
>>> erased it.
>>>
>>> Sincerely,
>>> Ilya Ryzhenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
AA>>>> Hello Ilya,
AA>>>>
AA>>>> I tried to upload it to that server, and after going for a few
AA>>>> hours I came back and it said it had failed.  Here is the FTP
AA>>>> log:
AA>>>>
AA>>>> Command:     PASV
AA>>>> Response:     227 Entering Passive Mode (213,182,181,98,205,98).
AA>>>> Command:     STOR Resharper5_FindUsagesSlow.dtc
AA>>>> Response:     550 Resharper5_FindUsagesSlow.dtc: Overwrite permission
AA>>>> denied
AA>>>> Do I need a special account to upload to this location?  I wis
AA>>>> using
AA>>>> FileZilla to do the upload.  Any help is appreciated.
AA>>>> ~Andy
>>>>> Hello Andy,
>>>>>
>>>>> Could you please upload it to ftp.intellij.net/.uploads ? Thanks a
>>>>> lot!
>>>>>
>>>>> Sincerely,
>>>>> Ilya Ryzhenkov
>>>>> JetBrains, Inc
>>>>> http://www.jetbrains.com
>>>>> "Develop with pleasure!"
AA>>>>>> Hello Andrey,
AA>>>>>>
AA>>>>>> I followed the instructions and I have a dtc snapshot file.
AA>>>>>> However, it is 3.25 GB in size, which is too large for me to
AA>>>>>> email to you.  Is there some other location I can upload it to?
AA>>>>>> It also seems like it is too large for me to open in dotTrace
AA>>>>>> (it says I do not have enough memory...I have 4GB)
AA>>>>>>
AA>>>>>> I made sure to not start the profile until after the solution
AA>>>>>> has completely loaded.  I simply started the profile, did a
AA>>>>>> find usages on a class in the solution.  It took about 5
AA>>>>>> minutes or so, then as soon as it was done, I got the snapshot.
AA>>>>>> During the find usages, it seemed to be looking in a number of
AA>>>>>> .cs, .ascx, .aspx, .master, .resx, and .xml files in the
AA>>>>>> solution based on the status message above the progress bar.
AA>>>>>> Its like it doesn't have an index of class references like it
AA>>>>>> did in previous versions of ReSharper.
AA>>>>>>
AA>>>>>> Please let me know if I can upload tha file for you, or if
AA>>>>>> there is something further I can do to help.
AA>>>>>>
AA>>>>>> ~Andy
AA>>>>>>
>>>>>>> Hello Andrew
>>>>>>> We're currently investigating the problems with Find Usages
>>>>>>> performance. Could you please follow the instructions at
>>>>>>> http://www.jetbrains.net/confluence/display/ReSharper/ReSharper+
>>>>>>> P
>>>>>>> e
>>>>>>> r
>>>>>>> f
>>>>>>> o
>>>>>>> r
>>>>>>> manceProfilingInstructions to gather some performance
>>>>>>> snapshots
>>>>>>> of
>>>>>>> this problem and send them to andrew dot serebryansky at
>>>>>>> jetbrains
>>>>>>> dot
>>>>>>> com? This would really help us to track the problem down. Thank
>>>>>>> you!
>>>>>>> Andrey Serebryansky
>>>>>>> Support Engineer
>>>>>>> JetBrains, Inc
>>>>>>> http://www.jetbrains.com
>>>>>>> "Develop with pleasure!"
>>>>>>> ---
>>>>>>> Original message URL:
>>>>>>> http://www.jetbrains.net/devnet/message/5254483#5254483


0
Comment actions Permalink

Hello Ilya,

Would it still be useful if I did the profiling using the sampling profiling
instead of the tracing profiling?  That should make it significantly smaller
I would think, at the expense of less detailed information that is.  Let
me know if that would be useful and I can run it again.

~Andy

Hello Andy,

Oh, sorry, I didn't respond here. I've got snapshot, but it is huge
for dotTrace 3.1 to open it directly. I've asked our dotTrace
developers to help me open it. Didn't see the traces yet :(

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



0
Comment actions Permalink

Hello Kod,

I'm sorry my messages were causing you pain.  I am using Jetbrains Omea Newsreader
and was just using the default settings that include the thread contents
at the bottom of the message.  It actually looks quite nice in Omea, but
I guess that doesn't transfer well to other tools.  I'll try to remember
to remove all but the most recent conversation from the thread if that helps
you out.

~Andy

andyalm wrote:
>
> Did you get my snapshot?  Was it helpful?  Is there a bug/ticket
> number for this issue that I can use to track its progress?


I was wondering the same thing.

Andy, please *remove the hundreds of lines of quoted text that
are in* every message you post. You're making it very *hard
to follow the thread.*

---
Original message URL:
http://www.jetbrains.net/devnet/message/5255220#5255220



0
Comment actions Permalink

Hello,

I'm sorry my messages were causing you pain.  I am using Jetbrains
Omea Newsreader and was just using the default settings that include
the thread contents at the bottom of the message.


In email, previous messages would usually be included at the bottom, for
the context. In News (NNTP), this is not necessary, because the whole thread
of messages is always available for review. Usually just a line or two of
text is quoted to give a hint on what you're replying to. Of course the tool
does not know which quoted lines you're going to use in your reply, that's
why Omea would initially present you with the complete quote. Overquoting
isn't considered a good practice.

It actually looks
quite nice in Omea, but I guess that doesn't transfer well to other
tools.


On the Web mirror this is formatted nicely too, but makes it harder to read
the thread in a row if the original content is duplicated every time.

I'll try to remember to remove all but the most recent
conversation from the thread if that helps you out.


Bottom-quoting the whole message is of no much use as well. If you're replying
to the message in the whole, just the reply text would be OK. Maybe a couple
lines from the previous message as a highlight.


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


0
Comment actions Permalink

andyalm wrote:

Would it still be useful if I did the profiling using the sampling profiling
instead of the tracing profiling?


Any progress on the actual problem? Would it help to install a new nightly build? Find usages on a method is still traversing every file in the solution (.cs, .aspx, .Master, ...) even with solution-wide analysis enabled.

0
Comment actions Permalink

I just installed the latest build (1612) and its still a problem.  As Kod
said, you don't need a profiler to see what is happening.  When I do a find
usages it goes and scans every .cs, .ascx, .aspx, .xml, etc in the entire
solution which can take a very long time.  In all previous versions of ReSharper
this search would take less than a second as it would clearly just use its
symbol cache to find stuff.  It clearly is not doing that in version 5. 
This seems like a showstopper of an issue.  Has a bug been filed for this
issue?

andyalm wrote:
>
> Would it still be useful if I did the profiling using the sampling
> profiling instead of the tracing profiling?


Any progress on the actual problem? Would it help to install a new
nightly build? Find usages on a method is still traversing every file
in the solution (.cs, .aspx, .Master, ...) even with solution-wide
analysis enabled.

---
Original message URL:
http://www.jetbrains.net/devnet/message/5255367#5255367



0
Comment actions Permalink

andyalm wrote:

I recently installed the beta version of ReSharper (version 5), and I noticed
that the find usages command is much slower in this version than it has been
in version 4.


This is still broken in Beta 2. Using Visual 2008 with an ASP.NET MVC solution, Find Usages still takes 10-20 minutes to run, since it still searches every file in the solution (including files that would not typically contain usages) for usages. (And no, I won't send any more profiling reports.)

0

Please sign in to leave a comment.