Skip to content

Very slow app startup #1024

@mu88

Description

@mu88
  • Version: 0.4.0

  • .NET SDK / runtime: 10.0.102 / 10.0.2

  • Target: win-x64

Starting my Electron.NET app takes between 60 s and 90 s 🐌 I've already excluded both the app's path and the EXE itself from Windows Defender - barely any difference on three different Win11 machines.

Furthermore, I've started the app via the perf profiler JetBrains dotTrace, but all the time seems to be spent in the unmanaged world:

Image

Steps to Reproduce:

  1. Clone the repo https://github.com/mu88/BlazorFotoManager/.
  2. Run dotnet publish FotoManager\FotoManager.csproj /p:PublishProfile=win-x64
  3. Run the built and packaged app FotoManager\publish\Release\net10.0\win-x64\FotoFlipper_3.0.1.exe

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions