guijs
guijs copied to clipboard
Startup is slow
Describe the bug It takes a few seconds to start on Windows (~6-7 sec. on my computer)
To Reproduce Steps to reproduce the behavior:
- Open the app
Expected behavior Startup time should be lower, maximum 1 or 2 seconds.
Desktop (please complete the following information):
- OS: Windows 10
- Node version: 12.16
- Are you using nvm? Yes
FWIW: My startup time is ~2-3 sec. This is similar to Slack, VSCode, Discord. Slower than Firefox, Sublime Text 3. Faster than Spotify, Steam.
Machine: Win 10 Pro 1909 i5-6600 @ 3.30GHz 16GB RAM
Node: 12.16.1
nvm: No
Is your startup time the time it takes to have the home screen displayed? My window opens almost instantly.
That's the time to see the guijs UI/home screen. Launched again and used a stopwatch app for rough timing: got 4 seconds. Seems close to yours; could be improved I'd guess.
On my computers:
- Windows 10, i7 3.5GHz 16GB RAM ➡️ ~7.5s
- Linux, i7 2.7 GHz 8GB RAM ➡️ ~4s
I think that this is because of the way we are making sure the latest version is installed. Right @lucasfernog ?
Yeah we really should make the updater run only once a day or something like that, or maybe run after the UI is shown, but that would require a better integration with frontend-core.
maybe run after the UI is shown, but that would require a better integration with frontend-core
That would be rad. I'll work on a new updater UI in the future.
Server startup time could be improved too I think.