Closed Bug 1742722 Opened 2 years ago Closed 2 years ago

Move CompositorScreenshot markers to the main thread

Categories

(Core :: Gecko Profiler, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: florian, Assigned: florian)

Details

Attachments

(1 file)

It's annoying to lose screenshots when the Renderer thread is not in the list of sampled threads, or when that thread is sanitized out at upload time.

Severity: -- → S4
Type: task → enhancement
Priority: -- → P2

Good idea !
I just want to mention that if there's a performance issue doing this in Firefox (because of the size of the data possibly?), it's always possible to do a frontend patch adressing this problem.

Thanks for the offer Julien, but I think the problem is really in Firefox: If the Renderer thread is not selected for profiling, the screenshot markers won't even be present in the output json profile!
This patch only targets the markers to appear in the main thread data, it won't add any work on the actual main thread during profiling.

Pushed by fqueze@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e6d7fdfdaca7
Move CompositorScreenshot markers to the main thread, r=mstange.
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: