Closed Bug 1634507 Opened 5 years ago Closed 5 years ago

Record telemetry of WindowGlobalParents per Origin

Categories

(Core :: Performance: General, enhancement)

enhancement

Tracking

()

RESOLVED WONTFIX
Performance Impact none
Fission Milestone M6a

People

(Reporter: beth, Assigned: beth)

References

Details

We would like telemetry for how many BrowsingContextGroups exist within a process, which tells us in Fission how many different documents have loaded a single origin.

Type: task → enhancement

Barret, what decisions will we make using this telemetry?

IIUC, Nika says counting BrowsingContextGroups is a pretty indirect way of measuring the number of documents for a single origin and this probe would only be reported by the couple hundred users with Fission enabled.

Flags: needinfo?(brennie)

We discussed this in #fission:mozilla.org and the metrics meeting last week. AIUI, we want this probe because it can give us insight into if users will be running a large amount of documents with the same origin, which could lead to slow downs for those origins since they will all be running in a single process in the fission case (versus being spread over multiple processes in the non-fission case).

Flags: needinfo?(brennie)

Clarifying what exactly this is supposed to be measuring.

We were going to measure BCGs per process to get an idea of the number of tabs that had a document with a specific origin, but there are a few issues with that, namely that BCGs never go away once a process has been made aware of them.

Instead what we are going to do is measure the number of WindowGlobalParents per origin, which does not measure how many tabs have a specific origin loaded, but how many documents and subdocuments have a specific origin loaded.

Summary: Record telemetry of number of BrowsingContextGroups per process → Record telemetry of WindowGlobalParents per Origin

Tracking for Fission Nightly milestone (M6a) because, IIUC, Barret will be working on this soon.

Assignee: nobody → brennie
Severity: -- → N/A
Fission Milestone: --- → M6a
Whiteboard: [qf-]

After discussing this offline, we're not sure how to proceed with collecting this telemetry. If someone really wants this, please re-open with a plan for how to collect it.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Performance Impact: --- → -
Whiteboard: [qf-]
You need to log in before you can comment on or make changes to this bug.