-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Difference in CPU usage after Bundling #1970
Comments
Interesting. Electron version? We use Electron original Info.plist as is (only meta like name and version are changed), so, issue is not clear for me. |
Latest version from npm: 1.6.11 |
Latest stable is 1.7.5. Could you please update just to be sure? |
Ah, I do have Just |
Unlikely I can help you. electron-builder doesn't touch any setting and doesn't try to customise something. You can send me app to check it on another machine. If you use electron-is-dev (or similar approach) — check such places in your code. Try to don't use devtools or devtron (if you use) in the dev mode to check. |
Is app signed? |
I will try to make a test-case. Yes, the app is signed. |
To be sure, try to test unsigned app. |
Why did you close this? |
I cannot help you and want to keep issue list clear. If you want to keep this issue open to make visible for other users — ok, reopened. |
Thanks, your choice. When I get around to the testcase I'll report what I find. |
You can still send me your app to test on another machine to ensure, that it is not your local issue. |
I haven't tracked down the bug, but I've verified that this occurs sometimes without electron-builder as well, so I'm closing this issue. Thank you for your quick help. |
@fab1an maybe related electron/electron#9413 |
My problem was: I had LSUIElement set in Info.plist to hude the dock icon. I solved it by setting "focusable" to false on the BrowserWindow. |
I have an application that displays a desktop-widget (frameless desktop window).
When I start electron directly everything works as it should.
When I package and sign the app using electron-builder performance drops.
Whenever I fiddle my mouse over the desktop I see the main-process using CPU in the Activity Monitor.
I tried profiling my app, but this ONLY occurs after packaging everything to an
.app
- bundle.The text was updated successfully, but these errors were encountered: