Page 1 of 1

Loading Layout Catalog Taking 2,665 ms

Posted: 30 Jul 2016 17:59
by GregH
I'm crazy about XYplorer - this is one of the finest pieces of software (and support) I've ever purchased.
My initial load seemed a bit pokey and the culprit appears to be the Layout Catalog. Of the 3,025 ms it takes for XY to startup the Catalog is responsible for 2,665 of them or 88%. Obviously, I'm searching for something with the catalog that is slowing down the works.
In the catalog there are 8 items, 6 of which look to local sub-directories and 2 which are of networked sub-directories. One networked sub-dir is on my home LAN and the other is on the work LAN, thus, only one of them is available at any given time. Is the catalog checking the availability of the networked folders at startup? Is there a setting to tell it not to bother unless I select the catalog item?

Here is my Various Information listing:
XY ver: XYplorer 17.00.0000 - upgraded from v16.90.0300
OS: Windows 10, 64-bit
Loaded: 2016-07-30 10:43:46 in 3,025 ms

0 ms: 55 ms - Start Load
55 ms: 11 ms - Init Language
66 ms: 11 ms - Load Language
77 ms: 9 ms - Load Settings
86 ms: 3 ms - Init Custom File Icons
89 ms: 8 ms - Init Controls
97 ms: 31 ms - Init Graphics
128 ms: 6 ms - Init Tabs
134 ms: 11 ms - Create Info Panel
145 ms: 23 ms - Set Interface Font
168 ms: 14 ms - Init Panes
182 ms: 15 ms - Init Tree
197 ms: 1 ms - Tab Icons
198 ms: 0 ms - Load Catalog
198 ms: 1 ms - Load Tags
199 ms: 0 ms - Load Folder Size Cache
199 ms: 14 ms - Load Mini Tree
213 ms: 0 ms - Init Custom Toolbar Buttons
213 ms: 4 ms - Init UDC and KS
217 ms: 13 ms - Load This Pane
230 ms: 9 ms - Load Other Pane
239 ms: 4 ms - Layout Window
243 ms: 2,665 ms - Layout Catalog
2,908 ms: 51 ms - Layout List
2,959 ms: 15 ms - Show Window
2,974 ms: 1 ms - Layout Catalog
2,975 ms: 50 ms - Layout List
3,025 ms: 0 ms - Init Menus
3,025 ms: - Load Done

MiniTree: Rows=10, Nodes=17, Expanded=2
Check Existence of Subfolders in Tree: Yes
Icon Overlays: Yes
Pane 1: Items=23/23, Pane 2: Items=10/10, Catalog: Items=10

Thanks for the help,
Greg

Re: Loading Layout Catalog Taking 2,665 ms

Posted: 30 Jul 2016 18:35
by highend
Did you experiment with:
Configuration | Controls and More | Network | Assume that servers are available
-> If they don't ask for a password!

Configuration | Controls and More | Network | Cache network servers

Configuration | Startup & Exit | No network browsing on startup

And if these don't cut down the time you could try to use a script instead of the location...

Location:
::load "My home LAN";
and the script "My home LAN.xys" (in your XY script folder) just contains a:

Code: Select all

goto "\\<server name>\folder...";

Re: Loading Layout Catalog Taking 2,665 ms

Posted: 02 Aug 2016 21:50
by GregH
The fix was to use scripts to jump to the network drives. Now the Catalog loads in 1 ms!
Not only did this fix my XY load issue but it also got me digging into the scripting language so I'm making a number of other tweaks to improve my efficiency.
I've already sent some beer money for you through PayPal. Thanks, highend.

The new, improved Various Information:
XY ver: XYplorer 17.00.0000
OS: Windows 10, 64-bit
Loaded: 2016-08-02 14:38:26 in 317 ms

0 ms: 63 ms - Start Load
63 ms: 11 ms - Init Language
74 ms: 12 ms - Load Language
86 ms: 4 ms - Load Settings
90 ms: 3 ms - Init Custom File Icons
93 ms: 8 ms - Init Controls
101 ms: 33 ms - Init Graphics
134 ms: 6 ms - Init Tabs
140 ms: 13 ms - Create Info Panel
153 ms: 18 ms - Set Interface Font
171 ms: 9 ms - Init Panes
180 ms: 16 ms - Init Tree
196 ms: 1 ms - Tab Icons
197 ms: 1 ms - Load Catalog
198 ms: 0 ms - Load Tags
198 ms: 0 ms - Load Folder Size Cache
198 ms: 10 ms - Load Mini Tree
208 ms: 0 ms - Init Custom Toolbar Buttons
208 ms: 3 ms - Init UDC and KS
211 ms: 7 ms - Load This Pane
218 ms: 3 ms - Load Other Pane
221 ms: 4 ms - Layout Window
225 ms: 3 ms - Layout Catalog
228 ms: 41 ms - Layout List
269 ms: 13 ms - Show Window
282 ms: 1 ms - Layout Catalog
283 ms: 34 ms - Layout List
317 ms: 0 ms - Init Menus
317 ms: - Load Done

MiniTree: Rows=10, Nodes=17, Expanded=2, Mapped Drives=1
Check Existence of Subfolders in Tree: Yes
Icon Overlays: Yes
Pane 1: Items=26/26, Pane 2: Items=10/10, Catalog: Items=11

w00t! :mrgreen:

Re: Loading Layout Catalog Taking 2,665 ms

Posted: 02 Aug 2016 21:59
by highend
I've already sent some beer money for you
Thanks :)
282 ms: 1 ms - Layout Catalog
Definitely improved :mrgreen:

Re: Loading Layout Catalog Taking 2,665 ms

Posted: 02 Aug 2016 22:20
by GregH
It's even better:
The Layout Catalog went from 2,665 ms to 3 ms! Yowza! :shock:

Enjoy that beer! :beer:

Re: Loading Layout Catalog Taking 2,665 ms

Posted: 13 Aug 2016 10:12
by admin
Enjoyable story! :D