Faster startup

Features wanted...
Post Reply
giovaniluigi
Posts: 2
Joined: 17 Jan 2020 18:17

Faster startup

Post by giovaniluigi »

In order to replace Windows Explorer for good, the only thing not quite right yet is the startup time.
I am a programmer and I know how this sometimes might be a challenge specially when you have no control over the user's machine.
But my Win10 x64 is a fresh installation and most of the settings are default. I am using SSD and I was expecting a bit faster launch.
It just takes like 1 second at most, but for power users like me, which launches Explorer tenths of times in a day, it makes a great difference in the user experience (trust me)

I managed to workaround this limitations. What I did was to:
1. minimize to tray (so it apparently remains fully loaded in RAM)
2. do not allow multiple sessions (so when you launch a new session, it restores the one in RAM)
3. I manually made it to start when windows starts, otherwise the first time it launches, it still has the lag.

This way whenever I launch from the shortcut in my taskbar, (as I usually launch Windows Explorer) it basically shows up immediately even in the first time.
I had to go through some steps to get this behavior and manually make it to start with Windows.
The only drawback is that I cannot launch multiple sessions...

My suggestion is to implement this scheme by default (optionally can be disabled to reduce RAM usage) and improve it.
Please, keep always a copy of your app always loaded in RAM... just refresh the parts that need.

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

Re: Faster startup

Post by highend »

Execute this from the address bar and show the output: text <get loadtimes>;
One of my scripts helped you out? Please donate via Paypal

giovaniluigi
Posts: 2
Joined: 17 Jan 2020 18:17

Re: Faster startup

Post by giovaniluigi »

XY ver: XYplorer 20.60.0300
OS: Windows 10 Professional, 64-bit, Release 1909, Build 18363.592
Loaded: 2020-02-02 14:13:03 in 3,857 ms
Threshold: 10 ms

0 ms: 205 ms - Start Load
205 ms: 12 ms - Init Language
217 ms: 38 ms - Load Language
269 ms: 28 ms - Init Controls
297 ms: 88 ms - Init Graphics
385 ms: 19 ms - Init Tabs
404 ms: 48 ms - Create Info Panel
452 ms: 92 ms - Set Interface Font
544 ms: 27 ms - Init Panes
581 ms: 1,001 ms - Add Drive G:\
1,597 ms: 11 ms - Add Folder C:\Users\Giovani\Documents\STM32F7
1,608 ms: 12 ms - Add Folder C:\Users\Giovani\Dropbox
1,624 ms: 2,092 ms - Add Drive D:\
3,759 ms: 26 ms - Load Mini Tree 3
3,806 ms: 50 ms - Show Window
3,857 ms: - Load Done

MiniTree: Rows=208, Nodes=208, Expanded=72
Remember Tree State: Yes (137 stored paths)
Check Existence of Subfolders in Tree: Yes
Pane 1: Items=4/46, Pane 2: Items=1/1, Catalog: Items=1
Interesting... yeah those drive G: is locked with Bitlocker while drive D: should not be there... there is nothing mounted on that letter.
I will investigate, but you see where I am coming from... Probably waiting for all drives to be ready is one issue on the startup.
Windows Explorer somehow doesn't seem too sensitive about that.
Apart from that, the 500ms of the app loading time seems ok... but leaving in memory will still be faster than anything else.

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

Re: Faster startup

Post by highend »

Remove any traces of the D:\ drive by modifying the MiniTreePaths
variable in XYplorer.ini file (while XY is not running)...
One of my scripts helped you out? Please donate via Paypal

Post Reply