[Enhancement] Desktop application opening time
The addition of a desktop application is awesome, but currently, it can take nearly 10 seconds for it to open even on a high end system. Is this a limitation of the application's framework or is it something that could be optimized? Note that I have only tested on Windows, and not on Linux (yet).
I noticed that the app launches quicker if it has been opened once.
Preferences and localization are loaded before launching the app. Currently, this process is sequential. I'll update the implementation to be asynchronous, which should optimize this behaviour. Thanks for reporting this; it will be fixed in the next version.
I have tested and there's not a major impact even with the current approach, although the new implementation does speed it up but it's negligible:
-
sequentialrefers to the current approach of loading these values of preferences and localization. -
asyncrefers to the implementation that will be included in the next version.
Now, this of course depends on the system, but the async approach might be useful for low-end systems.
Is this a limitation of the application's framework or is it something that could be optimized?
AFAIK initialization does take some time but I don't think it will hit the 10-second mark on a decent machine, and the current approach of the app seems to be ok, so I'm not sure if I can improve the initialization time.