Load time on 'Add Folder' at startup?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
chumbo
Posts: 272
Joined: 04 Jan 2015 15:20

Load time on 'Add Folder' at startup?

Post by chumbo »

When running this script:

Code: Select all

text get("LoadTimes");
I randomly get different folders that will take anywhere from +-1,5 sec to load up to....

Code: Select all

7,198 ms - Add Folder I:\System Volume Information
And sometimes the folders are really specific and deep in the folder structure of the drive (which are all external). Very strange how some folders take longer to load than others? In fact, I don't even understand what is actually going on? Add folders....to what?
Any reason for this and a way to avoid it?
Total load time was +-15 seconds and almost entirely due to dozens of 'Add Folder' operations.
Thanks!

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Load time on 'Add Folder' at startup?

Post by highend »

Spin up time of drives...
One of my scripts helped you out? Please donate via Paypal

chumbo
Posts: 272
Joined: 04 Jan 2015 15:20

Re: Load time on 'Add Folder' at startup?

Post by chumbo »

But isn't the script run from top to bottom? Meaning that what is higher up occured first?
Spin up drive time would account for the 7 sec I:\System Volume Information access time since it is the first time the I:\ drive appears in the script but then I have other random folders that come up midway through the script and still take each +-1500 secs instead of the sometimes 15s other folders take?
Any explanation to that?

For example:

Code: Select all

11,166 ms:     703 ms - Add Folder \\MERODENAS\...
11,873 ms:     115 ms - Add Folder \\MERODENAS\...
11,990 ms:   1,175 ms - Add Folder \\MERODENAS\...
13,211 ms:     227 ms - Add Folder \\MERODENAS\MyMusic\...
13,488 ms:     201 ms - Add Folder \\MERODENAS\MyMusic\...
13,749 ms:      61 ms - Add Folder \\MERODENAS\MyMusic\...
And as I asked before...what is this? What is going on exactly? I don't understand why some random folders are even added...and to what?? :?:
They aren't even folders opened in any specific tab, as I said, they are deep in the drive so...?

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Load time on 'Add Folder' at startup?

Post by highend »

And now you're posting network drive folders...

Configuration | General | Startup & Exit | [x] No network browsing on startup

Folders which take iirc more than 10 ms are listed.

Show the full output of text get("LoadTimes");
One of my scripts helped you out? Please donate via Paypal

chumbo
Posts: 272
Joined: 04 Jan 2015 15:20

Re: Load time on 'Add Folder' at startup?

Post by chumbo »

Configuration | General | Startup & Exit | [x] No network browsing on startup
Thanks! That did it, I'm now down to 1,4 sec! :appl:

Post Reply