Adding network location to rapid access results in slow start of XYplorer

Features wanted...
terrytw
Posts: 121
Joined: 03 Mar 2023 03:37

Adding network location to rapid access results in slow start of XYplorer

Post by terrytw »

If you add smb shared folders to rapid access, XYplorer hangs for a couple of seconds before opening up during start up.

I know it is obviously checking if the folders are there. Is it possible to lazy load it?

admin
Site Admin
Posts: 65316
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Adding network location to rapid access results in slow start of XYplorer

Post by admin »

Moved to wishes.

admin
Site Admin
Posts: 65316
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Adding network location to rapid access results in slow start of XYplorer

Post by admin »

Does it help when you tick this?

Configuration | General | Startup & Exit | No network browsing at startup

terrytw
Posts: 121
Joined: 03 Mar 2023 03:37

Re: Adding network location to rapid access results in slow start of XYplorer

Post by terrytw »

admin wrote: 15 Jun 2024 12:31 Does it help when you tick this?

Configuration | General | Startup & Exit | No network browsing at startup
I have just tried it and it didn't change anything.

admin
Site Admin
Posts: 65316
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Adding network location to rapid access results in slow start of XYplorer

Post by admin »

Cannot explain. Just as weird as your network slowdown in the other thread. :|

terrytw
Posts: 121
Joined: 03 Mar 2023 03:37

Re: Adding network location to rapid access results in slow start of XYplorer

Post by terrytw »

admin wrote: 16 Jun 2024 18:22 Cannot explain. Just as weird as your network slowdown in the other thread. :|
Here are 2 runs with rapid access enabled, the first, I have some folders from network location, and they are available

Code: Select all

XY ver: 	XYplorer 26.10.0000 - Lifetime License Professional
OS:     	Windows 10 Enterprise, 64-bit, Version 22H2, Build 19045.3448 (10.0)
Loaded: 	2024-06-16 11:12:23 in 2,969 ms
Threshold: 	10 ms (shorter tasks are skipped below)

     0 ms:     132 ms - Start Load
   139 ms:      35 ms - Load Language
   179 ms:   1,545 ms - Init Custom File Icons
 1,724 ms:      12 ms - Init Controls
 1,736 ms:     109 ms - Init Graphics
 1,845 ms:      10 ms - Init Tabs
 1,855 ms:      23 ms - Create Info Panel
 1,878 ms:      46 ms - Set Interface Font
 1,924 ms:      14 ms - Init Panes
 1,943 ms:     886 ms - Add Rapid Access Folders
 2,851 ms:      11 ms - Get FileInfo U Drive: J:\
 2,872 ms:      17 ms - Layout List
 2,891 ms:      62 ms - --- Show Window ---
 2,955 ms:      14 ms - Tree Check Subfolders Exist Late
 2,969 ms:            - Load Done

MaxiTree: Rows=18, Nodes=23, Expanded=3
Tree Check Subfolders Exist: Yes
Icon Overlays (List, Tree, Network): Yes, No, No
Network on Startup: Browse=Yes, Reconnect=No, CacheServers=Yes
Pane 1: Items=15/102, Pane 2: Items=1/5, Catalog: Items=1
Tagged Items in Database: 0
The second run, I removed all the network locations from the rapid access:

Code: Select all

XY ver: 	XYplorer 26.10.0000 - Lifetime License Professional
OS:     	Windows 10 Enterprise, 64-bit, Version 22H2, Build 19045.3448 (10.0)
Loaded: 	2024-06-16 11:13:19 in 584 ms
Threshold: 	10 ms (shorter tasks are skipped below)

     0 ms:     132 ms - Start Load
   138 ms:      37 ms - Load Language
   179 ms:      10 ms - Init Custom File Icons
   189 ms:      17 ms - Init Controls
   206 ms:     110 ms - Init Graphics
   316 ms:      10 ms - Init Tabs
   326 ms:      22 ms - Create Info Panel
   348 ms:      44 ms - Set Interface Font
   392 ms:      15 ms - Init Panes
   427 ms:      10 ms - Load This Pane
   437 ms:      19 ms - Set LookIn Text
   458 ms:      13 ms - Get FileInfo U Drive: J:\
   471 ms:      34 ms - Layout Bars
   505 ms:      13 ms - Layout List
   521 ms:      47 ms - --- Show Window ---
   569 ms:      15 ms - Tree Check Subfolders Exist Late
   584 ms:            - Load Done

MaxiTree: Rows=12, Nodes=17, Expanded=3
Tree Check Subfolders Exist: Yes
Icon Overlays (List, Tree, Network): Yes, No, No
Network on Startup: Browse=Yes, Reconnect=No, CacheServers=Yes
Pane 1: Items=2/2, Pane 2: Items=1/5, Catalog: Items=1
Tagged Items in Database: 0
As you can see there are clearly huge differences.

One more thing, I noticed that if the network folders in rapid access is not available, their icons becomes different (a circle with question mark in the center). Considering that "Init Custom File Icons" takes so long, I suspect that rapid access is checking whether network location is available and render the folder icon accordingly, which takes so long.

jupe
Posts: 3313
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Adding network location to rapid access results in slow start of XYplorer

Post by jupe »

Have you got CFI entries that are located on that network drive.

terrytw
Posts: 121
Joined: 03 Mar 2023 03:37

Re: Adding network location to rapid access results in slow start of XYplorer

Post by terrytw »

jupe wrote: 17 Jun 2024 03:20 Have you got CFI entries that are located on that network drive.
Sorry I don't know what a CFI is, so I guess maybe not..

jupe
Posts: 3313
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Adding network location to rapid access results in slow start of XYplorer

Post by jupe »

terrytw wrote: 16 Jun 2024 20:18"Custom File Icons"
Tools | Customize File Icons...

terrytw
Posts: 121
Joined: 03 Mar 2023 03:37

Re: Adding network location to rapid access results in slow start of XYplorer

Post by terrytw »

jupe wrote: 17 Jun 2024 03:37
terrytw wrote: 16 Jun 2024 20:18"Custom File Icons"
Tools | Customize File Icons...
Oh that, no...I got some in XYpath, and also used some icon from shell32.dll. Nothing on the network.

jupe
Posts: 3313
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Adding network location to rapid access results in slow start of XYplorer

Post by jupe »

If you enable this with network entry in your Rapid Access you get fast starts?

Configuration | General | Refresh, Icons, History | Icons | Use generic icons for super-fast browsing

If not, try disabling this temporarily

Configuration | General | Refresh, Icons, History | Icons | Enable custom file icons

terrytw
Posts: 121
Joined: 03 Mar 2023 03:37

Re: Adding network location to rapid access results in slow start of XYplorer

Post by terrytw »

jupe wrote: 17 Jun 2024 04:04 If you enable this with network entry in your Rapid Access you get fast starts?

Configuration | General | Refresh, Icons, History | Icons | Use generic icons for super-fast browsing

If not, try disabling this temporarily

Configuration | General | Refresh, Icons, History | Icons | Enable custom file icons
Generic icon didn't help, see log:

Code: Select all

XY ver: 	XYplorer 26.10.0000 - Lifetime License Professional
OS:     	Windows 10 Enterprise, 64-bit, Version 22H2, Build 19045.3448 (10.0)
Loaded: 	2024-06-16 19:39:04 in 1,677 ms
Threshold: 	10 ms (shorter tasks are skipped below)

     0 ms:      86 ms - Start Load
    90 ms:      23 ms - Load Language
   116 ms:     210 ms - Init Custom File Icons
   326 ms:      20 ms - Init Controls
   346 ms:     114 ms - Init Graphics
   468 ms:      22 ms - Create Info Panel
   490 ms:      44 ms - Set Interface Font
   534 ms:      13 ms - Init Panes
   555 ms:     893 ms - Add Rapid Access Folders
 1,463 ms:      31 ms - Layout Bars
 1,498 ms:      30 ms - --- Show Window ---
 1,530 ms:      50 ms - List 1 Browse: E:\Downloads\
 1,583 ms:      23 ms - Get FileInfo U Drive: J:\
 1,606 ms:      49 ms - XY64 Init
 1,656 ms:      21 ms - Tree Check Subfolders Exist Late
 1,677 ms:            - Load Done

MaxiTree: Rows=13, Nodes=26, Expanded=3
Tree Check Subfolders Exist: Yes
Icon Overlays (List, Tree, Network): Yes, No, No
Network on Startup: Browse=Yes, Reconnect=No, CacheServers=Yes
Pane 1: Items=18/6, Pane 2: Items=1/5, Catalog: Items=1
Tagged Items in Database: 0
Unchecking custom CFI doesn seem to make it a bit faster, but still slow compared to when no network location is present in rapid access.

Code: Select all

XY ver: 	XYplorer 26.10.0000 - Lifetime License Professional
OS:     	Windows 10 Enterprise, 64-bit, Version 22H2, Build 19045.3448 (10.0)
Loaded: 	2024-06-16 19:45:18 in 1,525 ms
Threshold: 	10 ms (shorter tasks are skipped below)

     0 ms:     152 ms - Start Load
   158 ms:      37 ms - Load Language
   200 ms:     501 ms - Init Custom File Icons
   701 ms:      12 ms - Init Controls
   713 ms:     108 ms - Init Graphics
   821 ms:      10 ms - Init Tabs
   831 ms:      22 ms - Create Info Panel
   853 ms:      46 ms - Set Interface Font
   899 ms:      14 ms - Init Panes
   919 ms:     424 ms - Add Rapid Access Folders
 1,358 ms:      19 ms - Layout Bars
 1,381 ms:      28 ms - --- Show Window ---
 1,412 ms:      31 ms - List 1 Browse: E:\Downloads\
 1,445 ms:      14 ms - Get FileInfo U Drive: J:\
 1,459 ms:      49 ms - XY64 Init
 1,509 ms:      16 ms - Tree Check Subfolders Exist Late
 1,525 ms:            - Load Done

MaxiTree: Rows=13, Nodes=26, Expanded=3
Tree Check Subfolders Exist: Yes
Icon Overlays (List, Tree, Network): Yes, No, No
Network on Startup: Browse=Yes, Reconnect=No, CacheServers=Yes
Pane 1: Items=18/6, Pane 2: Items=1/5, Catalog: Items=1
Tagged Items in Database: 0
Init Custom File Icons and Add Rapid Access Folders still takes a lot of time. I double checked that the enable CFI is indeed unchecked.
1.png
1.png (17.88 KiB) Viewed 3857 times
This has to be associated with network location in rapid access.

admin
Site Admin
Posts: 65316
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Adding network location to rapid access results in slow start of XYplorer

Post by admin »

Okay, I think I got it.

1) The "Init Custom File Icons" load times were misleading because they included some potentially time-consuming events that come after the CFI initialization.
2) I have now seen how getting icons from network items in RAF can cause slowness, so you were totally on the right track.

It should be faster in the next beta.

However, "Use generic icons for super-fast browsing" should also have done the trick. So there's a chance that something else was causing the slowness (I have a hunch, but let's see what comes out of the next beta first).

terrytw
Posts: 121
Joined: 03 Mar 2023 03:37

Re: Adding network location to rapid access results in slow start of XYplorer

Post by terrytw »

admin wrote: 17 Jun 2024 09:06 Okay, I think I got it.

1) The "Init Custom File Icons" load times were misleading because they included some potentially time-consuming events that come after the CFI initialization.
2) I have now seen how getting icons from network items in RAF can cause slowness, so you were totally on the right track.

It should be faster in the next beta.

However, "Use generic icons for super-fast browsing" should also have done the trick. So there's a chance that something else was causing the slowness (I have a hunch, but let's see what comes out of the next beta first).

Code: Select all

XY ver: 	XYplorer 26.10.0106 - Lifetime License Professional
OS:     	Windows 10 Enterprise, 64-bit, Version 22H2, Build 19045.3448 (10.0)
Loaded: 	2024-06-17 10:07:25 in 1,326 ms
Threshold: 	10 ms (shorter tasks are skipped below)

     0 ms:      89 ms - Start Load
    94 ms:      23 ms - Load Language
   129 ms:     322 ms - Init Rapid Access Folders
   451 ms:      13 ms - Init Controls
   464 ms:     108 ms - Init Graphics
   581 ms:      23 ms - Create Info Panel
   604 ms:      43 ms - Set Interface Font
   647 ms:      13 ms - Init Panes
   666 ms:     528 ms - Add Rapid Access Folders
 1,197 ms:      15 ms - Go Start Path: 软件\BlueStacks\
 1,223 ms:      12 ms - Get FileInfo U Drive: J:\
 1,243 ms:      10 ms - Layout List
 1,255 ms:      54 ms - --- Show Window ---
 1,310 ms:      16 ms - Tree Check Subfolders Exist Late
 1,326 ms:            - Load Done

MaxiTree: Rows=43, Nodes=48, Expanded=4
Tree Check Subfolders Exist: Yes
Icon Overlays (List, Tree, Network): Yes, No, No
Network on Startup: Browse=Yes, Reconnect=No, CacheServers=Yes
Pane 1: Items=2/2, Pane 2: Items=1/5, Catalog: Items=1
Tagged Items in Database: 0

Code: Select all

XY ver: 	XYplorer 26.10.0106 - Lifetime License Professional
OS:     	Windows 10 Enterprise, 64-bit, Version 22H2, Build 19045.3448 (10.0)
Loaded: 	2024-06-17 10:16:59 in 1,005 ms
Threshold: 	10 ms (shorter tasks are skipped below)

     0 ms:      91 ms - Start Load
    96 ms:      22 ms - Load Language
   130 ms:     369 ms - Init Rapid Access Folders
   499 ms:      19 ms - Init Controls
   518 ms:     112 ms - Init Graphics
   639 ms:      22 ms - Create Info Panel
   661 ms:      43 ms - Set Interface Font
   704 ms:      13 ms - Init Panes
   722 ms:     152 ms - Add Rapid Access Folders
   877 ms:      14 ms - Go Start Path: 软件\BlueStacks\
   904 ms:      11 ms - Get FileInfo U Drive: J:\
   922 ms:      10 ms - Layout List
   934 ms:      54 ms - --- Show Window ---
   990 ms:      15 ms - Tree Check Subfolders Exist Late
 1,005 ms:            - Load Done

MaxiTree: Rows=43, Nodes=48, Expanded=4
Tree Check Subfolders Exist: Yes
Icon Overlays (List, Tree, Network): Yes, No, No
Network on Startup: Browse=Yes, Reconnect=No, CacheServers=Yes
Pane 1: Items=2/2, Pane 2: Items=1/5, Catalog: Items=1
Tagged Items in Database: 0

Code: Select all

XY ver: 	XYplorer 26.10.0106 - Lifetime License Professional
OS:     	Windows 10 Enterprise, 64-bit, Version 22H2, Build 19045.3448 (10.0)
Loaded: 	2024-06-17 10:19:55 in 2,505 ms
Threshold: 	10 ms (shorter tasks are skipped below)

     0 ms:      91 ms - Start Load
    96 ms:      23 ms - Load Language
   130 ms:     896 ms - Init Rapid Access Folders
 1,026 ms:      17 ms - Init Controls
 1,043 ms:     120 ms - Init Graphics
 1,163 ms:      12 ms - Init Tabs
 1,175 ms:      27 ms - Create Info Panel
 1,202 ms:      52 ms - Set Interface Font
 1,254 ms:      16 ms - Init Panes
 1,275 ms:   1,100 ms - Add Rapid Access Folders
 2,378 ms:      15 ms - Go Start Path: 软件\BlueStacks\
 2,405 ms:      11 ms - Get FileInfo U Drive: J:\
 2,424 ms:      10 ms - Layout List
 2,437 ms:      52 ms - --- Show Window ---
 2,490 ms:      15 ms - Tree Check Subfolders Exist Late
 2,505 ms:            - Load Done

MaxiTree: Rows=43, Nodes=48, Expanded=4
Tree Check Subfolders Exist: Yes
Icon Overlays (List, Tree, Network): Yes, No, No
Network on Startup: Browse=Yes, Reconnect=No, CacheServers=Yes
Pane 1: Items=2/2, Pane 2: Items=1/5, Catalog: Items=1
Tagged Items in Database: 0

Code: Select all

XY ver: 	XYplorer 26.10.0106 - Lifetime License Professional
OS:     	Windows 10 Enterprise, 64-bit, Version 22H2, Build 19045.3448 (10.0)
Loaded: 	2024-06-17 10:21:46 in 1,311 ms
Threshold: 	10 ms (shorter tasks are skipped below)

     0 ms:      92 ms - Start Load
    96 ms:      23 ms - Load Language
   131 ms:     348 ms - Init Rapid Access Folders
   479 ms:      18 ms - Init Controls
   497 ms:     112 ms - Init Graphics
   618 ms:      23 ms - Create Info Panel
   641 ms:      42 ms - Set Interface Font
   683 ms:      13 ms - Init Panes
   701 ms:     482 ms - Add Rapid Access Folders
 1,186 ms:      14 ms - Go Start Path: 软件\BlueStacks\
 1,212 ms:      11 ms - Get FileInfo U Drive: J:\
 1,231 ms:      10 ms - Layout List
 1,243 ms:      53 ms - --- Show Window ---
 1,297 ms:      14 ms - Tree Check Subfolders Exist Late
 1,311 ms:            - Load Done

MaxiTree: Rows=43, Nodes=48, Expanded=4
Tree Check Subfolders Exist: Yes
Icon Overlays (List, Tree, Network): Yes, No, No
Network on Startup: Browse=Yes, Reconnect=No, CacheServers=Yes
Pane 1: Items=2/2, Pane 2: Items=1/5, Catalog: Items=1
Tagged Items in Database: 0
It is inconsistent, I went ahead and did a little test, I opened and closed 26.10 and 0106 version 10 times, with 12 seconds between the close and next open, and did a little average calculation:
1.png
1.png (5.67 KiB) Viewed 3786 times
Seems the same..

admin
Site Admin
Posts: 65316
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Adding network location to rapid access results in slow start of XYplorer

Post by admin »

Try next beta.

Post Reply