Closed Bug 1553261 Opened 5 years ago Closed 5 years ago

WebRender currently does not collect KeyPress telemetry

Categories

(Core :: Graphics: WebRender, defect)

defect
Not set
major

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox-esr60 --- unaffected
firefox67 --- wontfix
firefox68 --- fixed
firefox69 --- fixed

People

(Reporter: bas.schouten, Assigned: barret)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 2 obsolete files)

This was implement for other platforms in bug 1506537. The work to make this work on WebRender was never done, which means we currently do not have KeyPress telemetry for machines where WebRender is enabled.

Assignee: nobody → brennie
Status: NEW → ASSIGNED
Blocks: wr-telemetry

Some time ago (bug 819791), InfallibleTArray and nsTArray become equivalent, so
continuing to use InfallibleTArray here will just lead to confusion.

Previously we were only registering CompositionPayloads with LayerManagers
and ignoring WebRender altogether. We now thread the CompositionPayload through
to the RenderThread. This allows us to record composition metadata in profiles
and record KeyPress telemetry in WebRender.

Depends on D32059

Blocks: 1551735
Attachment #9066543 - Attachment is obsolete: true
Attachment #9066542 - Attachment is obsolete: true

Some time ago (bug 819791), InfallibleTArray and nsTArray become equivalent, so
continuing to use InfallibleTArray here will just lead to confusion.

Attachment #9066871 - Attachment description: Bug 1553261 - Replace usage of InfallibleTArray with nsTArray in the CompositionPayload infrastructure r?bas → Bug 1553261 - Clean up some of the CompositionPayload infrastructure r?kats
Attachment #9066872 - Attachment description: Bug 1553261 - Register CompositionPayloads with WebRender's RenderThread and enable key press telemetry r?bas,kvark → Bug 1553261 - Register CompositionPayloads with the WebRenderBridge and enable key press telemetry r?bas,kats
Pushed by brennie@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a8973dc65dc4 Clean up some of the CompositionPayload infrastructure r=kats https://hg.mozilla.org/integration/autoland/rev/c6cf628d6045 Register CompositionPayloads with the WebRenderBridge and enable key press telemetry r=kats
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69

Comment on attachment 9066871 [details]
Bug 1553261 - Clean up some of the CompositionPayload infrastructure r?kats

Beta/Release Uplift Approval Request

  • User impact if declined: This will have no user facing impact, but we will miss out on telemetry from users using Web Render.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): These patches introduce additional telemetry recording.
  • String changes made/needed:
Attachment #9066871 - Flags: approval-mozilla-beta?
Attachment #9066872 - Flags: approval-mozilla-beta?
Blocks: 1555379
No longer blocks: 1551735

(In reply to Barret Rennie [:brennie] from comment #7)

  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No

Can we at least verify this in about:telemetry or something?

Comment on attachment 9066871 [details]
Bug 1553261 - Clean up some of the CompositionPayload infrastructure r?kats

add missing KEYPRESS_PRESENT_LATENCY telemetry when using webrender, approved for 68.0b7

Attachment #9066871 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9066872 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

:jcristau, I can verify that the telemetry is recorded in about:telemetry in nightly.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: