Closed Bug 1461672 Opened 6 years ago Closed 6 years ago

JSBC: DOM_SCRIPT_* telemetry probe expire in 62.

Categories

(Core :: JavaScript Engine, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: nbp, Assigned: nbp)

Details

Attachments

(1 file)

The DOM_SCRIPT_* probes were made to keep track of the JSBC (Bug 900784), and as a tuning mechanism.  I do not think there is much to tune today, except for mobile, where we have no telemetry reports, and  the size of the encoded data after some XDR encoding improvements (Bug 1377268).

However, I think we can easily add these probes back when needed. Therefore, I am tempted to:
 - Keep the DOM_SCRIPT_LOADING_SOURCE: as a way to have a metric to know if the JSBC is accidentally disabled.
 - Remove all the other probes added for the JSBC.
Ben, do you think we should keep other probes, or extend the collection of all the current one?

https://searchfox.org/mozilla-central/rev/2b9779c59390ecc47be7a70d99753653d8eb5afc/toolkit/components/telemetry/Histograms.json#12415
Flags: needinfo?(bkelly)
Comment 0 plan sounds good to me.
Flags: needinfo?(bkelly)
Priority: -- → P2
This patch remove most of the DOM_SCRIPT telemetry probes.

This patch extends the DOM_SCRIPT_LOADING_SOURCE to never expire as a way to
monitor if the JSBC is still running well on users computers.
Attachment #8979248 - Flags: review?(francois)
Attachment #8979248 - Flags: review?(bkelly)
Comment on attachment 8979248 [details] [diff] [review]
Remove Telemetry probe added to tune the JSBC.

Review of attachment 8979248 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks for that big cleanup!
Attachment #8979248 - Flags: review?(francois) → review+
Comment on attachment 8979248 [details] [diff] [review]
Remove Telemetry probe added to tune the JSBC.

Review of attachment 8979248 [details] [diff] [review]:
-----------------------------------------------------------------

rs+
Attachment #8979248 - Flags: review?(bkelly) → review+
Pushed by npierron@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/7ae884246635
Remove Telemetry probe added to tune the JSBC. r=francois,bkelly
https://hg.mozilla.org/mozilla-central/rev/7ae884246635
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: