Closed Bug 1554527 Opened 5 years ago Closed 5 years ago

Slow Firefox UI with YouTube in a container

Categories

(Core :: DOM: Core & HTML, defect, P1)

69 Branch
defect

Tracking

()

VERIFIED FIXED
mozilla69
Tracking Status
firefox-esr60 --- unaffected
firefox67 --- unaffected
firefox68 --- unaffected
firefox69 blocking verified

People

(Reporter: valflaux, Assigned: baku)

References

(Blocks 1 open bug, Regression, )

Details

(Keywords: perf, regression, Whiteboard: [rca - Logical Error])

Attachments

(1 obsolete file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0

Steps to reproduce:

With Nightly (Build ID: 20190526093457):

Actual results:

Each interaction with UI is slow: switching tabs, moving window, clicking on buttons etc.

Expected results:

Firefox should run smoothly (as usual).

Mozregression:
app_name: firefox
build_date: 2019-05-24 20:50:28.918000
build_file: C:\Users\Okarin.mozilla\mozregression\persist\daf113171d63-shippable--autoland--target.zip
build_type: inbound
build_url: https://queue.taskcluster.net/v1/task/BZr7cSNUQCCP-OqakLP-FQ/runs/0/artifacts/public%2Fbuild%2Ftarget.zip
changeset: daf113171d6342f925fb8265cdbee384c7f64dc3
pushlog_url: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=181ef326f7a8f6e604db2d55a3cca175ae396c7b&tochange=daf113171d6342f925fb8265cdbee384c7f64dc3
repo_name: autoland
repo_url: https://hg.mozilla.org/integration/autoland
task_id: BZr7cSNUQCCP-OqakLP-FQ

Differential Revision: https://phabricator.services.mozilla.com/D32364

Keywords: perf, regression
Regressed by: 1553867
Has Regression Range: --- → yes
Has STR: --- → yes
Component: Untriaged → DOM: Core & HTML
Flags: needinfo?(amarchesini)
Product: Firefox → Core

I also experienced a similar issue. I was running latest nightly on Linux, and whenever I opened an Youtube tab, my fan would start to spin and I could feel the UI was slow and janky.

About:support: https://pastebin.com/f7360cYE
Profile: https://perfht.ml/2wl2Xlp

I don't know if my patch fixes this issue, but definitely, the creation of the principal can be avoided if there are no permissions involved.

Flags: needinfo?(amarchesini)
Priority: -- → P1
Assignee: nobody → amarchesini
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1e85291f97de
Clone the principal for permission checks in CookieSettings only if needed, r=Ehsan

Setting flags based on the regressor's pushed changeset.

QA Whiteboard: [qa-regression-triage]
QA Whiteboard: [qa-regression-triage] → [qa-regression-triage][qf:p1:responsiveness]
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69

I can still reproduce the issue with latest nightly (build 20190528172821).

Blocks: 1555166

(In reply to Okarin from comment #9)

I can still reproduce the issue with latest nightly (build 20190528172821).

I can also reproduce the UI freeze and high CPU usage and high memory usage.
Filed Bug 1555166

Backed out as requested by Sylvestre for causing huge perf regressions. https://hg.mozilla.org/mozilla-central/rev/3a79d3be67486be1d30bda47988cf8c76ee3a3ee

Status: RESOLVED → REOPENED
Flags: needinfo?(amarchesini)
Resolution: FIXED → ---
Target Milestone: mozilla69 → ---
No longer blocks: 1555166

This was fixed by the backout of bug 1553867.

Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Flags: needinfo?(amarchesini)
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Target Milestone: --- → mozilla69
QA Whiteboard: [qa-regression-triage][qf:p1:responsiveness] → [qf:p1:responsiveness]
Attachment #9067679 - Attachment is obsolete: true

This bug has been identified as part of a pilot on determining root causes of blocking and dot release drivers.

It needs a root-cause set for it. Please see the list at https://docs.google.com/document/d/1FFEGsmoU8T0N8R9kk-MXWptOPtXXXRRIe4vQo3_HgMw/.

Add the root cause as a whiteboard tag in the form [rca - <cause> ] and remove the rca-needed keyword.

If you have questions, please contact :tmaity.

Keywords: rca-needed

(In reply to Emma Humphries, Bugmaster ☕️🎸🧞‍♀️✨ (she/her) [:emceeaich] (UTC-8) needinfo? me from comment #14)

This bug has been identified as part of a pilot on determining root causes of blocking and dot release drivers.

It needs a root-cause set for it. Please see the list at https://docs.google.com/document/d/1FFEGsmoU8T0N8R9kk-MXWptOPtXXXRRIe4vQo3_HgMw/.

Add the root cause as a whiteboard tag in the form [rca - <cause> ] and remove the rca-needed keyword.

If you have questions, please contact :tmaity.

Hi :baku, as you were the assignee of this bug, I think you are the best person to determine the root cause. Could you please follow comment 14? Thank you.

Flags: needinfo?(amarchesini)

[rca - Logical Error] but it should be more a performance issue.

Flags: needinfo?(amarchesini)
Keywords: rca-needed
Whiteboard: [rca - Logical Error]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: