Closed Bug 1772216 Opened 2 years ago Closed 2 years ago

Add telemetry probe to measure how much time we spent waiting on the GPU

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

(Reporter: bas.schouten, Assigned: bas.schouten)

Details

Attachments

(2 files)

When presenting a new frame we block the render frame on the GPU to have finished executing past GPU commands. We should measure how much time we spend doing this.

https://searchfox.org/mozilla-central/rev/1739f1301d658c9bff544a0a095ab11fca2e549d/gfx/webrender_bindings/RenderThread.cpp#567

Attached file gpuwait-datareview
Attachment #9279342 - Flags: data-review?(chutten)

Comment on attachment 9279342 [details]
gpuwait-datareview

DATA COLLECTION REVIEW RESPONSE:

Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate?

Yes.

Is there a control mechanism that allows the user to turn the data collection on and off?

Yes. This collection is Telemetry so can be controlled through Firefox's Preferences.

If the request is for permanent data collection, is there someone who will monitor the data over time?

Yes, :Bas and gfx-telemetry-alerts are responsible.

Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?

Category 1, Technical.

Is the data collection request for default-on or default-off?

Default on for all channels.

Does the instrumentation include the addition of any new identifiers?

No.

Is the data collection covered by the existing Firefox privacy notice?

Yes.

Does the data collection use a third-party collection tool?

No.


Result: datareview+

Attachment #9279342 - Flags: data-review?(chutten) → data-review+
Pushed by bschouten@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/94fa038eea8e Add telemetry probe to measure time spent waiting for the GPU. r=mstange

Backed out for causing webrender build bustages

Backout link

Push with failures

Failure log

Flags: needinfo?(bas)
Pushed by bschouten@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f72a3e1b8a8d Add telemetry probe to measure time spent waiting for the GPU. r=mstange
Flags: needinfo?(bas)
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: