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

Enable conditional profiling of Firefox #48

Open
TilBlechschmidt opened this issue Aug 11, 2021 · 0 comments
Open

Enable conditional profiling of Firefox #48

TilBlechschmidt opened this issue Aug 11, 2021 · 0 comments
Labels
Priority: Low Minor tweaks that do not impact the project but are still useful Status: Pending Initial issue stage waiting for further evaluation Type: Enhancement Feature requests and other improvements/ideas

Comments

@TilBlechschmidt
Copy link
Owner

Is your feature request related to a problem? Please describe.
Sometimes Firefox takes a long time to start up on certain hardware and container solutions. To debug such scenarios more efficiently, a performance profile of the browsers would be useful.

Describe the solution you'd like
A flag, preferably passed through the requested capabilities, which adds the following environment variables to Firefox:

.env("MOZ_PROFILER_STARTUP", "1")
.env("MOZ_PROFILER_SHUTDOWN", "/profile.json")

Additionally, the created file should be uploaded to the storage provider used for video recording. Making this as generic as possible would be of interest as it would allow arbitrary files stored within the container to be uploaded on shutdown (e.g. files downloaded during a test run).

An example profile can be found here: https://share.firefox.dev/3jGOd8u

@TilBlechschmidt TilBlechschmidt added Type: Enhancement Feature requests and other improvements/ideas Priority: Low Minor tweaks that do not impact the project but are still useful Status: Pending Initial issue stage waiting for further evaluation labels Aug 11, 2021
@TilBlechschmidt TilBlechschmidt self-assigned this Aug 11, 2021
@TilBlechschmidt TilBlechschmidt removed their assignment Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Low Minor tweaks that do not impact the project but are still useful Status: Pending Initial issue stage waiting for further evaluation Type: Enhancement Feature requests and other improvements/ideas
Projects
None yet
Development

No branches or pull requests

1 participant