Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Startup is slow #53

Open
Akryum opened this issue Mar 1, 2020 · 8 comments
Open

Startup is slow #53

Akryum opened this issue Mar 1, 2020 · 8 comments
Labels
enhancement New feature or request server tauri

Comments

@Akryum
Copy link
Owner

Akryum commented Mar 1, 2020

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:

  1. 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
@tbeseda
Copy link

tbeseda commented Mar 1, 2020

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

@Akryum
Copy link
Owner Author

Akryum commented Mar 2, 2020

Is your startup time the time it takes to have the home screen displayed? My window opens almost instantly.

@tbeseda
Copy link

tbeseda commented Mar 2, 2020

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.

@Akryum
Copy link
Owner Author

Akryum commented Mar 2, 2020

On my computers:

  • Windows 10, i7 3.5GHz 16GB RAM ➡️ ~7.5s
  • Linux, i7 2.7 GHz 8GB RAM ➡️ ~4s

@nothingismagick
Copy link
Collaborator

I think that this is because of the way we are making sure the latest version is installed. Right @lucasfernog ?

@lucasfernog
Copy link
Collaborator

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.

@Akryum
Copy link
Owner Author

Akryum commented Mar 3, 2020

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.

@Akryum Akryum changed the title Windows startup is slow Startup is slow Mar 3, 2020
@Akryum Akryum added enhancement New feature or request and removed bug Something isn't working platform:windows labels Mar 3, 2020
@Akryum
Copy link
Owner Author

Akryum commented Mar 3, 2020

Server startup time could be improved too I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request server tauri
Projects
None yet
Development

No branches or pull requests

4 participants