Open Bug 1625542 Opened 5 years ago Updated 2 years ago

Make it possible to "capture and save" a profile instead of opening perf-html.io

Categories

(DevTools :: Performance Tools (Profiler/Timeline), enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: gregtatum, Unassigned)

References

()

Details

This is moved from: https://github.com/firefox-devtools/Gecko-Profiler-Addon/issues/98

Julien wrote:

This comes from @fqueze.

This is for when he profiles on a old computer: capturing into perf-html, symbolicating, and sharing takes at least 30 minutes on this machine.

From the addon we could have a button to capture and save the profile as a json file, so that it can be loaded on a better computer -- and symbolicated there too once we have firefox-devtools/profiler#253.

Julien/Florian: Do we still want this? It might be nice to add more details on how this could work in the new system.

Flags: needinfo?(florian)
Flags: needinfo?(felash)

I still believe this could be useful.

My strawman idea is to embed a very simple page in Firefox, that would receive the profile, and only render 2 options to download and publish.
Maybe this could also be shipped to Android builds?

Flags: needinfo?(felash)

I also think we still want this. But I personally don't profile anymore on machines that take 30 minutes to load a profile.

Another way to see this could be about reducing confusion for people who are trying to capture a profile to report a bug, but have no knowledge of how to read a profile. We could put the sharing / sanitization UI at the center of the window, and have a button to 'see' the profile for people who do want to see profiles themselves.

Flags: needinfo?(florian)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.