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

build: make electron renderer init scripts profilable #23891

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Jun 1, 2020

Backport of #23855

See that PR for details.

Notes: none

The devtools profiler is not attached at the point we run out init scripts (or our apps preload scripts), we do not really want to change when we run these init scripts but for when a dev is doing performance work it makes sense to give them an option to make the devtools profiler actually work on both our init scripts and their preload script.  This PR adds that logic behind an environment variable ELECTRON_PROFILE_INIT_SCRIPTS.
@trop trop bot requested a review from MarshallOfSound June 1, 2020 23:08
@trop trop bot added 10-x-y backport This is a backport PR labels Jun 1, 2020
@MarshallOfSound MarshallOfSound merged commit eeaad9c into 10-x-y Jun 2, 2020
@release-clerk
Copy link

release-clerk bot commented Jun 2, 2020

No Release Notes

@MarshallOfSound MarshallOfSound deleted the trop/10-x-y-bp-build-make-electron-renderer-init-scripts-profilable-1591052927613 branch June 2, 2020 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10-x-y backport This is a backport PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant