Reporter | Alex Berezoutsky (fergard) |
---|---|
Created | May 5, 2011 4:36:25 PM |
Updated | Jan 16, 2012 10:17:31 PM |
Resolved | Jan 16, 2012 4:44:55 PM |
Priority | Show-stopper |
Type | Performance Problem |
Fix versions | Next |
State | Fixed |
Assignee | Sergey Coox (coox) |
Subsystem | No subsystem |
Affected versions | 5.1.3 |
Fixed in build | 6.5.1.2465 |
Snapshot is available on our FTP/.uploads by the name "SlowRenameExamples.zip".
- The GUI is always responsive, and I can cancel the operation at any time
- I have a few base libraries that I call in the decoding library
- I've been re-factoring these a bit to work with the automatic code generator
- If I use the ReSharper rename one of these base functions, it basically never completes (I've waited 10 minutes)
- The GUI is always responsive, and I can cancel the operation at any time
- These functions are being called 3000-4000 times in the code; mostly in the same large files though
- I can replace all the instances manually by finding all references, then doing search/replace in each individual file >in about 1-2 minutes, so I don't think this is a totally unreasonable performance expectation
- All the source files are local on the hard drive. The source files are in Subversion, but Subversion is not integrated >into Visual Studio, so from Visual Studio's point of view they're just local files on the disk without any source >control.
- I ran two tests and took two performance of snapshots while the GUI was stuck in the "performing rename..." part; the >steps before that take about 20 seconds, the "performing rename" part takes at least 15-minutes but less than 1 hour.
- Both snapshots show the code spending a bit over 99.5% of the time in one function, so at least that should make it >easy to understand what it's spending all the time doing. This was uploaded to your site as "SlowRenameExamples.zip".