Closed Bug 1794924 Opened 3 years ago Closed 2 months ago

Telemetry probe to measure the number of times we get killed in the background

Categories

(Firefox for Android :: Browser Engine, task)

All
Android
task

Tracking

()

RESOLVED DUPLICATE of bug 1836795

People

(Reporter: csadilek, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid])

From github: https://github.com/mozilla-mobile/android-components/issues/9999.

Individual issue to track new telemetry related to page persistence metrics.

  • number of times we get killed in the background using
  • onKill (for content process) and
    
  • getHistoricalProcessExitReasons for main process https://developer.android.com/reference/kotlin/android/app/ActivityManager#gethistoricalprocessexitreasons (API30 only I think)
    

This metrics could help us track how memory/performance affects retaining tabs/getting killed and how often our users get their tabs reloaded. Also it can help us know how many tabs are actually alive in users devices (e.g. when thinking about memory/performance tradeoffs based on number of tabs)

┆Issue is synchronized with this Jira Task

Change performed by the Move to Bugzilla add-on.

Severity: -- → N/A
Type: defect → task
Priority: -- → P2

As mentioned in the github comment, this task would be to measure number of times background tabs get killed and their corresponding getHistoricalProcessExitReasons. onKill is already tracked by https://github.com/mozilla-mobile/fenix/pull/17864.

Clearing Priority so we can reprioritize these bugs relative to our ux-fun-2024 bugs.

Priority: P2 → --
Status: NEW → RESOLVED
Closed: 2 months ago
Duplicate of bug: 1836795
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.