Skip to content
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

perf: remove GC timer that fired once per minute. #25958

Merged
merged 1 commit into from Oct 20, 2020

Conversation

ckerr
Copy link
Member

@ckerr ckerr commented Oct 15, 2020

Description of Change

Fixes #25954

ElectronBrowserMainParts has a periodic timer that is used to trigger GC once a minute even on an idle system. While one wakeup per minute isn't bad, it's also been in there since 2014 and doesn't seem to be necessary.

This heartbeat doesn't seem to be necessary, at least for a simple system. I see no difference in memory use with or without this timer when running the default app for an hour.

Any review welcomed. CC'ing @nornagon as he commented on #25954

Checklist

Release Notes

Notes: none.

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Oct 15, 2020
Copy link
Member

@MarshallOfSound MarshallOfSound left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lol, weird 😆

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Oct 16, 2020
@zcbenz zcbenz merged commit ae5de3d into master Oct 20, 2020
@release-clerk
Copy link

release-clerk bot commented Oct 20, 2020

No Release Notes

@trop
Copy link
Contributor

trop bot commented Oct 20, 2020

I have automatically backported this PR to "11-x-y", please check out #26051

@trop trop bot removed the target/11-x-y label Oct 20, 2020
@trop
Copy link
Contributor

trop bot commented Oct 20, 2020

I have automatically backported this PR to "10-x-y", please check out #26052

@trop
Copy link
Contributor

trop bot commented Oct 20, 2020

I have automatically backported this PR to "9-x-y", please check out #26053

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ElectronBrowserMainParts wakes up every minute even if everything is idle
5 participants