Closed Bug 1747138 Opened 2 years ago Closed 2 years ago

Breakdown CPU and GPU time telemetry by process type


(Toolkit :: Performance Monitoring, task)




98 Branch
Tracking Status
firefox98 --- fixed


(Reporter: florian, Assigned: florian)




(2 files)

Bug 1736040 added telemetry for the total CPU time used. It would be useful to have a breakdown of this total by process type.

We are also interested in knowning how much CPU time is spent while the user is active or inactive, and how much time is spent in content processes for foreground or background tabs.

Depends on: 1748627
Attachment #9256442 - Attachment description: WIP: Bug 1747138 - Breakdown CPU and GPU time by process type, → Bug 1747138 - Breakdown CPU and GPU time by process type,

Comment on attachment 9261268 [details]
data-collection-review request


Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate?


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, Florian Quèze 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?


Is the data collection covered by the existing Firefox privacy notice?


Does the data collection use a third-party collection tool?


Result: datareview+

Attachment #9261268 - Flags: data-review?(chutten) → data-review+
Pushed by
Breakdown CPU and GPU time by process type, r=chutten,gsvelto

Backed out changeset cd96e020a609 (bug 1747138) for causing bc failures in browser_telemetry_video_hardware_decoding_support

Backout link:

Push with failures

Failure log

 INFO - Buffered messages finished
[task 2022-02-03T17:59:36.663Z] 17:59:36     INFO - TEST-UNEXPECTED-FAIL | dom/media/test/browser/browser_telemetry_video_hardware_decoding_support.js | Did not record scalar for small-shot.ogg - 
[task 2022-02-03T17:59:36.663Z] 17:59:36     INFO - Stack trace:
Flags: needinfo?(florian)

Oops, somehow this wasn't visible in my try run, sorry.

Flags: needinfo?(florian)
Pushed by
Breakdown CPU and GPU time by process type, r=chutten,gsvelto
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch

(In reply to Marian-Vasile Laza from comment #8)

Hi, after this push, Bug 1709184 started to appear more frequently

Thanks, I opened bug 1753598 to investigate, as even though the assertion is the same, the stack is different and points to,25

Flags: needinfo?(florian)
Regressions: 1753572
Regressions: 1754751
You need to log in before you can comment on or make changes to this bug.