Skip to content

Slow loading time on first execution on app built with CI action #1156

Description

@jourdain

Hi All,

I'm currently building this app and when I bundle the application using my dev machine and distribute the DMG file, the initial startup is about 2s. When I use the DMG from the CI, the initial startup is 45s and subsequent one 2s.

Is there something I can do on the CI to get similar performance as my local build?
So far, I'm really not sure to know why we have such difference (2s vs 45s). I don't know if it is related to the tauri toolchain or specific to the CI/machine setup.

Side note and additional context:

  • I'm working on macOS 26 with M2-max/M4 CPU
  • The application server (sidecar) is a Python application bundled using PyInstaller.
  • We do run the application once before bundling to compute any python cache so it should start fast the very first time too.

Thanks for any input/idea you may have,

Seb

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions