Skip to content

Time of starting app #356

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

Closed
hrishynpavlo opened this issue Dec 17, 2019 · 2 comments
Closed

Time of starting app #356

hrishynpavlo opened this issue Dec 17, 2019 · 2 comments
Assignees
Milestone

Comments

@hrishynpavlo
Copy link

Hello,
Is it possible to improve the time of starting application?
It takes about 5-10 seconds, when app was builded

@dichaos
Copy link

dichaos commented Mar 20, 2020

I have the same issue, why does this happen ? It also start a lot faster on a mac instead of a pc.

@GregorBiswanger GregorBiswanger self-assigned this Apr 17, 2020
@GregorBiswanger GregorBiswanger added this to the 8.31.1 milestone Apr 17, 2020
@GregorBiswanger
Copy link
Member

If you add a splash screen you can see that Electron and Node.js behind it is very fast. The problem in the background is .NET Core. The starting process is usually slow. In the current 3.1 version, it has become even faster with the PublishReadyToRun option.

In the current Electron.NET version 8.31.1 - We used here .NET Core 3.1 and I activate the PublishReadyToRun option per default.. so we incease the startup time for ~25-36%.
Corresponding 2-4 seconds faster with some of hello world samples, that I tested.

Is not perfect yet but I hope you are happy :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants