Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 OFIW performance :(

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
znakeeye Posted - Mar 10 2008 : 03:46:07 AM
I really don't understand why OFIW has to be so slow. If you have like 10 projects with ~50 files each, this indispensible dialog takes several seconds to open.

I guess you re-read the whole file tree when initiating the dialog. If that is the case, see the solution below. Otherwise, I guess the population of the list is the bottleneck. In that case, why not keep the whole dialog in memory?

Possible optimization
1) Read all files upon startup (or whenever suitable). Keep the list!
2) Whenever a file is added/removed from the project, update the list!
3) Use this list when the OFIW dialog is shown. Boom-shack-a-lak!
6   L A T E S T    R E P L I E S    (Newest First)
support Posted - Dec 16 2011 : 1:55:37 PM
Open Files in Solution performance issue is case=19139, and is fixed in build 1862
feline Posted - Mar 15 2008 : 10:19:03 AM
How many windows do you normally have open in the IDE?

I have used OFIW to open approximately 200 files in VS2005, with VA 1626 and the OFIW dialog is now opening in approximately 1 second.

So far I cannot see any way to make the IDE tell me how many windows are open, so I do not have an exact count.
Erik Olofsson Posted - Mar 14 2008 : 2:22:18 PM
I had the same issue back in 2006, and it would be great if you could actually fix it. I even posted the probable cause in your code. It would be great if Whole Tomato could take a look at it as it's really useful to have the the option of seeing files not in the project.

http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=4918
feline Posted - Mar 10 2008 : 5:23:24 PM
This check box is unchecked on my test system. From memory there is only a speed issue if you have a Lot of open files. If you have 100+ files open then I would expect this dialog to be slower.
accord Posted - Mar 10 2008 : 5:18:18 PM
If you check "Show only files in the current solution", this feature should be lighting fast.
There is a know issue about this dialog: if you keep this option unchecked, the dialog gets slower and slower with every open.
feline Posted - Mar 10 2008 : 09:50:38 AM
Which IDE and version of VA are you using?
How many files does your solution actually contain?

I have just pressed Alt-Shift-O in my VS2005 test project, and the dialog appeared "instantly". There was no noticeable delay at all. The dialog lists 648 files and the solution contains 6 projects.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000