Closed Bug 1898515 Opened 1 year ago Closed 1 year ago

Disable `performance.clone.deserialize` metrics in Android

Categories

(Core :: XPConnect, task, P1)

task

Tracking

()

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

People

(Reporter: chutten, Assigned: chutten)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

These metrics are high-volume, leading to some negative performance impacts in Firefox for Android.

Here's a profile of Firefox Nightly that shows us nearly saturating an entire core doing telemetry db serialization while scrolling news.ycombinator.com

https://share.firefox.dev/4arKYKE

Assignee: nobody → chutten
Status: NEW → ASSIGNED
Pushed by chutten@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/98be0e0b6e10 Disable clone deserialize instrumentation on Android r=jrmuizel
Attachment #9403588 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: Negative perf impact on startup and common actions like scrolling webpages
  • 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: Medium
  • Explanation of risk level: Low because it's solely omitting instrumentation code only on Android, Medium because it's not covered by tests
  • String changes made/needed: None
  • Is Android affected?: yes
Attachment #9403589 - Flags: approval-mozilla-release?

release Uplift Approval Request

  • User impact if declined: Negative perf impact on startup and common actions like scrolling webpages
  • 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: Medium
  • Explanation of risk level: Low because it's solely omitting instrumentation code only on Android, Medium because it's not covered by tests
  • String changes made/needed: N/A
  • Is Android affected?: yes

For the record, the structured clone during scroll appears to be coming from receiving "GeckoView:ScrollChanged" in the parent.

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
Attachment #9403588 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9403589 - Flags: approval-mozilla-release? → approval-mozilla-release+
See Also: → 1957731
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: