Skip to content

build: make electron renderer init scripts profilable - #23892

Merged
MarshallOfSound merged 1 commit into
9-x-yfrom
trop/9-x-y-bp-build-make-electron-renderer-init-scripts-profilable-1591052929541
Jun 2, 2020
Merged

MarshallOfSound merged 1 commit into
9-x-yfrom
trop/9-x-y-bp-build-make-electron-renderer-init-scripts-profilable-1591052929541

Conversation

@trop

@trop trop Bot commented Jun 1, 2020

Copy link
Copy Markdown
Contributor

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:09
@trop trop Bot added 9-x-y backport This is a backport PR labels Jun 1, 2020
@MarshallOfSound
MarshallOfSound merged commit dd7c9fb into 9-x-y Jun 2, 2020
@release-clerk

release-clerk Bot commented Jun 2, 2020

Copy link
Copy Markdown

No Release Notes

@MarshallOfSound
MarshallOfSound deleted the trop/9-x-y-bp-build-make-electron-renderer-init-scripts-profilable-1591052929541 branch June 2, 2020 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

9-x-y backport This is a backport PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant