Page 1 of 1

startup time

PostPosted: Mon Jan 21, 2013 7:09 am
by pesgd
I don´t know how this has happened, but I´m getting significantly faster startup times with GD version 504...
I´m using passmark apptimer and I just got this:

C:\Program Files (x86)\GoldenDict\goldendict.exe - 2 executions
0.9819
0.4079

The startup tooltip shows 442 dictionaries! (including the huge wikipedia aardicts files)
The one thing I know is that I have left unchecked all my dictionaries paths in the Sources dialog...

When I leave all the paths checked startup goes up to 19 sec. but only cca 100 more dictionaries will show up... :?

edit: ah well, I forgot that checkmark is meant to search the folders recursively. I think I need to tidy up the folder structure...

Re: startup time

PostPosted: Mon Jan 21, 2013 8:37 am
by Tvangeste
Yep, the directory scanning is a very expensive thing.

Also, I'd recommend not to use "sound dirs" feature, especially with huge amount of media files. Plus, do not store dictionaries' media content in plain directories, use *.files.zip instead, that would significantly reduce the scanning and lookup times.

And and based on my experience, switching from hard disk to SSD shows very significant gains, especially during the first start, for me that means less than a second of startup time, compared to a dozen or so.

Re: startup time

PostPosted: Mon Jan 21, 2013 9:51 pm
by pesgd
I think another thing that has made my startup fast is that I have put together in the same folder all the single-file dics, but I´m still doing tests. SSD is not an option for me atm :/