-
Notifications
You must be signed in to change notification settings - Fork 16.5k
Description
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
30
What operating system(s) are you using?
macOS
Operating System Version
Mac
What arch are you using?
x64
Last Known Working Electron version
28.3.3
Does the issue also appear in Chromium / Google Chrome?
I don't know how to test
Expected Behavior
I’ve identified a performance issue that only occurs in the macOS distribution build when using Electron 30.x or newer.
During development, the application runs smoothly — there are no signs of slowness or visible errors.
However, once the compiled version (.app or .pkg) is generated and executed on macOS, it becomes extremely slow, with long delays when loading screens or interacting with the interface, as if it were running with very limited system resources.
This behavior only affects macOS; the same build performs normally on Windows and Linux.
So far, I haven’t been able to determine the exact cause. There are no errors in the console and nothing that clearly points to a dependency or compatibility issue.
At this stage, the main difficulty is that I can’t find a clear way to debug this issue.
The application doesn’t show any errors in the console, either during the build process or at runtime in macOS.
I’ve tried checking both:
The build logs generated by electron-builder.
The macOS Console app for system-level logs when launching the compiled .app.
So far, nothing indicates what could be causing the slowdown — everything seems to work correctly except for the very poor performance of the distributed build.
I’m not sure if there’s a specific way to enable more detailed logs for Electron in production mode or if I should try to run the packaged app with extra flags or profiling tools to get more information.
Actual Behavior
I don’t know why the installers or executables are so slow.
Testcase Gist URL
No response
Additional Information
No response