Add telemetry for extension startup time

RESOLVED FIXED in Firefox 55

Status

enhancement
P1
normal
RESOLVED FIXED
2 years ago
Last year

People

(Reporter: bsilverberg, Assigned: bsilverberg)

Tracking

(Blocks 1 bug)

51 Branch
mozilla55
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(firefox55 fixed)

Details

(Whiteboard: [metrics] triaged)

Attachments

(1 attachment)

This would measure the time between when extension.startup is initiated and when the startup promise resolves.
Comment hidden (mozreview-request)
Comment hidden (mozreview-request)

Comment 3

2 years ago
mozreview-review
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 hidden (mozreview-request)
Assignee

Comment 5

2 years ago
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 6

2 years ago
mozreview-review
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+

Updated

2 years ago
Attachment #8863710 - Flags: feedback?(benjamin)

Comment 7

2 years ago
Pushed by bsilverberg@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/07370e32ef6a
Add telemetry for extension startup time, r=bsmedberg,kmag

Comment 8

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/07370e32ef6a
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Depends on: 1425957

Updated

Last year
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.