Page 1 of 1

Faster startup

Posted: 01 Aug 2022 15:02
by geek13
I suggest to implement faster XYplorer startup user experience (from curernt 1.x seconds to 0.5 s or less if possible). Original windows explorer opens a bit faster which feels more responsive.

There has been some discussions about optimizing app loading speed in the past (like excluding antivirus), which I did. Currently on my computer XYplorer opens in 1267 ms, which is not too bad. But for everyday work would be quite convenient if loading time would be quicker. Escpecially if you want to open multiple instances. Maybe if you could implement some prefetch/preloading option for the app, so it automatically preloads on windows startup (like windows explorer I think). Or at least if the app can show some basic UI quicker (like windows explorer - first it shows command bar & left menu, then it takes a few ms to show folder contents. On my machine startup windows explorer takes similar time from launching to showing folder contents than XYplorer, but windows explorer shows UI quicker, which feels more responsive (XYplorer takes too long to show UI, and sometimes I feel like maybe I haven't pressed the button and it won't lauch).

Super app overall though! :appl:

Thanks for consideration.

Re: Faster startup

Posted: 01 Aug 2022 15:25
by admin
I work on speed all the time. Trust me, whenever I find a way to make it faster I will go that way. There are so many factors that control startup speed. I'm on a rather slow computer (> 8 years old) and I'm usually around 800 ms with the current version. Not a fan of preload on win start.

Re: Faster startup

Posted: 01 Aug 2022 15:55
by LittleBiG
geek13 wrote: 01 Aug 2022 15:02 I suggest to implement faster XYplorer startup user experience (from curernt 1.x seconds to 0.5 s or less if possible). Original windows explorer opens a bit faster which feels more responsive.

There has been some discussions about optimizing app loading speed in the past (like excluding antivirus), which I did. Currently on my computer XYplorer opens in 1267 ms, which is not too bad. But for everyday work would be quite convenient if loading time would be quicker. Escpecially if you want to open multiple instances. Maybe if you could implement some prefetch/preloading option for the app, so it automatically preloads on windows startup (like windows explorer I think). Or at least if the app can show some basic UI quicker (like windows explorer - first it shows command bar & left menu, then it takes a few ms to show folder contents. On my machine startup windows explorer takes similar time from launching to showing folder contents than XYplorer, but windows explorer shows UI quicker, which feels more responsive (XYplorer takes too long to show UI, and sometimes I feel like maybe I haven't pressed the button and it won't lauch).

Super app overall though! :appl:

Thanks for consideration.
Mine was loaded in 5,294 ms on a relatively new notebook, but I am not complaining :-P
I'm usually around 800 ms
For me, the browsing of List 1 is more than 800 ms in itself :biggrin:

Re: Faster startup

Posted: 01 Aug 2022 16:09
by admin
To fuel your envy, these are my startup times of a virgin 23.40 :P
2022-08-01_160803.png
2022-08-01_161101.png

Re: Faster startup

Posted: 01 Aug 2022 16:28
by LittleBiG
Why are rows which would be expected to appear missing? Like adding drives, showing the lists, init and layout tabs.

However, I am more concerned, that showing the Configuration window is slower than the start of a fresh XY instance :veryconfused:
EDIT: I got versions from the freezer, but all are slow, although I went back five years or so.

Re: Faster startup

Posted: 01 Aug 2022 17:29
by admin
1) Threshold 10 ms. Faster lines are not shown.

2) Your machine lacks speed. :)

Re: Faster startup

Posted: 01 Aug 2022 18:05
by JLoftus
I have an overclocked Ryzen 3950X with 16 cores (32 threads) running at 4.3GHz, with 128GB RAM, M.2 drives...

...and I'm still seeing 2524ms, 3/4 of a second just to "Start Load" ... what is this? Why?

other things "slow": Load Settings, Init Graphics, Set Interface Font....

I get "Load Tags" as I have almost 29,000 items tagged... but all these other things, on an otherwise insanely fast machine.
Untitled.png

Re: Faster startup

Posted: 01 Aug 2022 18:14
by admin
Who knows, Windows is complex and opaque. I can only tell you this: it's not XY.

Re: Faster startup

Posted: 02 Aug 2022 09:53
by geek13
Apparently the older windows you have the faster it works. On Win 11, windows explorer is very laggy when changing folder (to show even a small folder content). I have an ancient PC with Win 98, where win explorer is blazingly responsive (ok, it has FAT drive that doesn't need to process user permissions etc., but it's sad to see how modern windows lost these kind of responsivenes, and we think this is normal :| )

My XYplorer stats :cry: (envy of those virgins above):

Image

Re: Faster startup

Posted: 02 Aug 2022 10:03
by admin
Yep, same experience. Sloppy coding eats up hardware gains.

But relax, how often do you need to start up XYplorer? It can run for weeks. It is not like Explorer that gets slower and slower the longer it runs.

Re: Faster startup

Posted: 02 Aug 2022 10:39
by eil
JLoftus wrote: 01 Aug 2022 18:05 I have an overclocked Ryzen 3950X with 16 cores (32 threads) running at 4.3GHz, with 128GB RAM, M.2 drives...

...and I'm still seeing 2524ms, 3/4 of a second just to "Start Load" ... what is this? Why?
"cause that's just too limited resources, at least 24 cores and 0,5T Ram needed. ;)
geek13 wrote: 02 Aug 2022 09:53 Apparently the older windows you have the faster it works. On Win 11, windows explorer is very laggy when changing folder
No wonder, it's W11, uncle Gates needs to know what folder you open. 8)

Re: Faster startup

Posted: 02 Aug 2022 10:45
by geek13
admin wrote: 02 Aug 2022 10:03 Yep, same experience. Sloppy coding eats up hardware gains.

But relax, how often do you need to start up XYplorer? It can run for weeks. It is not like Explorer that gets slower and slower the longer it runs.
The problem is when I want to use multiple instances of XYplorer (like win explorer). This way it must be launched many times per day. But maybe I should get used to the one-instance-only concept, which may take me some time for forgetting the 20 year old habits with win explorer :)

Re: Faster startup

Posted: 02 Aug 2022 10:48
by admin
Tip: It has tabs. :P

Re: Faster startup

Posted: 02 Aug 2022 18:26
by RalphM
And it is a nightmare to keep track of setting changes across multiple instances and make sure to save the right ones in the end.