Closed Bug 1656071 Opened 5 years ago Closed 5 years ago

Add a way to dump profiler stats into a capture

Categories

(Core :: Graphics: WebRender, task)

task

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: kats, Assigned: kats)

References

Details

Attachments

(1 file)

I had cooked up a patch (semi-cleaned up version here) to dump WR's internal profiler sample data to a file in the WR capture. This was useful in breaking down a talos regression that I couldn't reproduce locally, since bug 1654373 allows us to get captures from WR when running in talos. The patch can be cleaned up further and landed as it might be useful to others.

The yak-shaving expedition begins...

This adds a profiler-stats.txt file to captures that dumps the profiler
stats, if those are being recorded. They get recorded if the profiler is
visible, or if the (newly added) PROFILER_CAPTURE debug option is enabled.

Pushed by kgupta@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0d50962a0bb9 Record profiler stats into captures to assist with debugging talos regressions. r=kvark
Flags: needinfo?(kats)
Pushed by kgupta@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d79a45fa9d67 Record profiler stats into captures to assist with debugging talos regressions. r=kvark
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: