Time of starting app #436

Closed
opened 2026-01-29 16:39:40 +00:00 by claunia · 2 comments
Owner

Originally created by @hrishynpavlo on GitHub (Dec 17, 2019).

Originally assigned to: @GregorBiswanger on GitHub.

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

Originally created by @hrishynpavlo on GitHub (Dec 17, 2019). Originally assigned to: @GregorBiswanger on GitHub. Hello, Is it possible to improve the time of starting application? It takes about 5-10 seconds, when app was builded
Author
Owner

@dichaos commented on GitHub (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.

@dichaos commented on GitHub (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.
Author
Owner

@GregorBiswanger commented on GitHub (Apr 19, 2020):

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 :)

@GregorBiswanger commented on GitHub (Apr 19, 2020): 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 in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#436