Closed Bug 1898057 Opened 1 year ago Closed 1 year ago

Record how much energy was used per process type

Categories

(Toolkit :: Performance Monitoring, task)

ARM64
macOS
task

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox127 --- fixed
firefox128 --- fixed

People

(Reporter: florian, Assigned: florian)

References

Details

Attachments

(3 files)

On Apple Silicon, we can ask the kernel how much energy has been used by the current process. I think it would be interesting to send this data over Telemetry to be able to check how effective bug 1895985 is in the wild (we should see a significant decrease of power used by content.background processes after shipping that feature).

Pushed by fqueze@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/268ac502e3b7 Record how much energy was used per process type on Apple Silicon, r=chutten.
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
Pushed by fqueze@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/149f95e3b549 actually record how much energy was used per process type on Apple Silicon, r=chutten.

A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)

Attachment #9405256 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: None
  • Code covered by automated testing: no
  • Fix verified in Nightly: no
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: N/A
  • Risk associated with taking this patch: Low
  • Explanation of risk level: The new code only exists on Apple Silicon, and only collects power use data to send it through Glean
  • String changes made/needed: none
  • Is Android affected?: no
Attachment #9405256 - Flags: approval-mozilla-beta? → approval-mozilla-release?
Attachment #9405256 - Flags: approval-mozilla-release? → approval-mozilla-release+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: