Closed Bug 1353171 Opened 7 years ago Closed 7 years ago

Add telemetry for extension startup time

Categories

(WebExtensions :: General, enhancement, P1)

51 Branch
enhancement

Tracking

(firefox55 fixed)

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: bsilverberg, Assigned: bsilverberg)

References

(Blocks 1 open bug)

Details

(Whiteboard: [metrics] triaged)

Attachments

(1 file)

This would measure the time between when extension.startup is initiated and when the startup promise resolves.
Comment on attachment 8863710 [details]
Bug 1353171 - Add telemetry for extension startup time,

https://reviewboard.mozilla.org/r/135494/#review147148

This also needs data review.

::: toolkit/components/telemetry/Histograms.json:13017
(Diff revision 2)
>      "high": 60000,
>      "n_buckets": 100,
>      "description": "The amount of time it takes to load a WebExtensions background page, from when the build function is called to when the page has finished processing the onload event."
> +  },
> +  "WEBEXT_EXTENSION_STARTUP_MS": {
> +    "record_in_processes": ["main", "content"],

Just main.
Attachment #8863710 - Flags: review?(kmaglione+bmo) → review+
Comment on attachment 8863710 [details]
Bug 1353171 - Add telemetry for extension startup time,

Requesting data review for this telemetry probe. We would like to collect this data over the next several months to establish a baseline knowledge of what extension startup performance is in the wild, and to observe any changes to it as we make changes to the code over the next few releases.
Attachment #8863710 - Flags: feedback?(benjamin)
Comment on attachment 8863710 [details]
Bug 1353171 - Add telemetry for extension startup time,

https://reviewboard.mozilla.org/r/135494/#review148042

data-review=me
Attachment #8863710 - Flags: review+
Attachment #8863710 - Flags: feedback?(benjamin)
Pushed by bsilverberg@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/07370e32ef6a
Add telemetry for extension startup time, r=bsmedberg,kmag
https://hg.mozilla.org/mozilla-central/rev/07370e32ef6a
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Depends on: 1425957
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: