Closed Bug 1648284 Opened 5 months ago Closed 5 months ago

Add a telemetry probe to record the number of pending input events when a timeout handler is about to run

Categories

(Core :: DOM: Core & HTML, enhancement)

All
Unspecified
enhancement

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: sefeng, Assigned: sefeng)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

In bug 1644284, we plan to do more setTimeout tweaks by deferring it when there are important pending input events.

Before we start, we'd like to have a telemetry probe to see how often it happens.

This telemetry is mainly used for bug 1644284. We'd like to tell
how often do we run timeout handlers when there are a lot of
pending input events.

Once we know the data, we can use it to do further setTimeout
improvements.

Assignee: nobody → sefeng
Status: NEW → ASSIGNED
Attachment #9159715 - Attachment description: Bug 1648284 - Add a telemetry probe to record the number of pending critical input events r=smaug → Bug 1648284 - Record the number of pending critical input events r=smaug
Attachment #9159728 - Flags: data-review?(tdsmith)
Comment on attachment 9159728 [details]
data_collection_review.txt

lgtm; thanks!
--

1) Is there or will there be **documentation** that describes the schema for the ultimate data set in a public, complete, and accurate way? 

Yes, through the probe dictionary and Histograms.json.

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

Yes, the Firefox telemetry opt-out.

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

n/a

4) Using the **[category system of data types](https://wiki.mozilla.org/Firefox/Data_Collection)** on the Mozilla wiki, what collection type of data do the requested measurements fall under?

Category 1, technical data.

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

Default-on.

6) Does the instrumentation include the addition of **any *new* identifiers** (whether anonymous or otherwise; e.g., username, random IDs, etc.  See the appendix for more details)?

No.

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

Yes.

8) Does there need to be a check-in in the future to determine whether to renew the data?

sefeng is responsible for renewing as needed.

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

No.
Attachment #9159728 - Flags: data-review?(tdsmith) → data-review+
Pushed by sefeng@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b6a6c9c513da
Record the number of pending critical input events r=smaug
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
See Also: → 1666975

Screenshot of the stats from Release.

Screenshot of the stats from Beta.

Screenshot of the stats from Nightly.

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