Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 temporary directory set to a fast drive
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

slymz
Junior Member

USA
18 Posts

Posted - Nov 18 2015 :  10:16:44 AM  Show Profile  Reply with Quote
I have fast SSD and want to allow Visual Assist to use it for any caches etc it generates.

1. Is there a setting for caches
2. Would it actually help speed up Visual Assist


feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Nov 18 2015 :  5:03:48 PM  Show Profile  Reply with Quote
You can use this setting to change where VA stores its database:

http://docs.wholetomato.com/default.asp?W332

this might speed VA up, but I would not expect it to have a major effect. It depends what the bottleneck is. A big operation is parsing all of your code, but the stable include directories are only parsed occasionally. If you have a large solution, then parsing it on load takes time, but this is only partly bound by hard drive access, it is also bound by CPU.

If you are using the SSD as your boot drive, then the VA database should already be using the SSD.

zen is the art of being at one with the two'ness
Go to Top of Page

slymz
Junior Member

USA
18 Posts

Posted - Nov 20 2015 :  07:54:49 AM  Show Profile  Reply with Quote
Hey thanks for the link. Boot drive isn't SSD, neither the default locations listed therein.

I applied the changes and set the cache to the new SSD location. Of course I haven't done a quantitative measurement, but it already *feels* faster. Or rather, it looks like it reparsed entire stable and custom directories in a flash. Thanks!

One thing though, and this could be considered a bug, I lost all my custom snippets when I did the switch (yes, I closed all IDE's, edited the registry, then opened VS)

Edited by - slymz on Nov 20 2015 07:55:39 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Nov 20 2015 :  2:38:57 PM  Show Profile  Reply with Quote
Which IDE and OS are you using? Your custom VA snippets should still be in the directory:

%APPDATA%\\VisualAssist\\Autotext\
can you please look in this directory and see if you have any .TPL files?

Changing the setting should have no effect on this, so I am not sure what happened here.

zen is the art of being at one with the two'ness
Go to Top of Page

slymz
Junior Member

USA
18 Posts

Posted - Nov 26 2015 :  09:48:43 AM  Show Profile  Reply with Quote
Hi feline,

Thanks, I checked, indeed the TPL files are still there in the %APPDATA% (old default database location). But VA is apparently not using these with the changed database location. Copying the tpl over to the new location brought them back.

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Nov 26 2015 :  5:43:24 PM  Show Profile  Reply with Quote
I am glad the solution was so simple, once you knew what to do, and apologies for the inconvenience caused. I have put in a feature request to copy across the current Snippets when using this setting, and moving the VA symbol database to a new location:

case=93528

zen is the art of being at one with the two'ness

Edited by - feline on Nov 27 2015 12:59:48 AM
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000