Closed Bug 1628734 Opened 5 years ago Closed 5 years ago

Collect Telemetry on how long it takes to initialize PSM / NSS from Necko

Categories

(Core :: Networking, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: mconley, Assigned: mconley)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(4 files, 1 obsolete file)

Just as it says on the tin.

Here's a profile from the 2017 reference device showing a ~1s hang in the parent process initializing PSM / NSS: https://perfht.ml/2RsduGt

Summary: Collect Telemetry on how long it takes to initialize NSS from Necko → Collect Telemetry on how long it takes to initialize PSM / NSS from Necko
Assignee: nobody → mconley
Status: NEW → ASSIGNED
Attached file Data review form (obsolete) —
Attachment #9139591 - Flags: data-review?(chutten)
Priority: -- → P2
Whiteboard: [necko-triaged]
Attachment #9139591 - Attachment is obsolete: true
Attachment #9139591 - Flags: data-review?(chutten)
Attached file Data review form
Attachment #9140204 - Flags: data-review?(chutten)
Comment on attachment 9140204 [details] Data review form DATA COLLECTION REVIEW RESPONSE: Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate? Yes. This collection is Telemetry so is documented in its definitions file [Scalars.yaml](https://hg.mozilla.org/mozilla-central/file/tip/toolkit/components/telemetry/Scalars.yaml) and the [Probe Dictionary](https://telemetry.mozilla.org/probe-dictionary/). Is there a control mechanism that allows the user to turn the data collection on and off? Yes. This collection is Telemetry so can be controlled through Firefox's Preferences. If the request is for permanent data collection, is there someone who will monitor the data over time? Yes, Mike Conley is responsible. Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under? Category 1, Technical. Is the data collection request for default-on or default-off? Default on for all channels. Does the instrumentation include the addition of any new identifiers? No. Is the data collection covered by the existing Firefox privacy notice? Yes. Does there need to be a check-in in the future to determine whether to renew the data? No. This collection is permanent. --- Result: datareview+
Attachment #9140204 - Flags: data-review?(chutten) → data-review+
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/48613e802ca6 Add a AutoScalarTimer RAII helper to Telemetry library. r=chutten https://hg.mozilla.org/integration/autoland/rev/4619e96bf52e Record the time to initialize the NSS component as a scalar. r=keeler,data-review=chutten https://hg.mozilla.org/integration/autoland/rev/cba7768b1b6b Record the time to load certificates off of the main-thread as a scalar. r=keeler,data-review=chutten
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: