Open Bug 1815422 Opened 2 years ago Updated 9 months ago

Slow performance on https://compat-table.github.io/compat-table/es6/ compared to Chrome

Categories

(Core :: Web Painting, defect)

defect

Tracking

()

People

(Reporter: bas.schouten, Unassigned)

References

(Depends on 1 open bug, )

Details

Attachments

(1 obsolete file)

Hovering on the page is significantly slower in Firefox when compared to Chrome.

See the profile: https://share.firefox.dev/3YsDPnN

Emilio noted some of this is caused by querySelectorAll. There is also an unexplained reflow here. And DisplayList building also shows up.

Flags: needinfo?(emilio)
See Also: → 1427417

FWIW, the difference becomes even more stark if you first expand the whole table by clicking on the arrow on the "Feature NAme" cell on the table.
Example profile: https://share.firefox.dev/3HFdZWN

Chrome is visually smoother.

Assignee: nobody → emilio
Status: NEW → ASSIGNED

Comment on attachment 9316431 [details]
Bug 1815422 - Deal with table cells in the abspos cb change optimization code-path. r=dholbert,#layout

Revision D169127 was moved to bug 1815552. Setting attachment 9316431 [details] to obsolete.

Attachment #9316431 - Attachment is obsolete: true

Bug 1815552 makes it quite noticeably faster, removing all the reflow. The rest is display list building.

Flags: needinfo?(emilio)
Assignee: emilio → nobody
Status: ASSIGNED → NEW

The severity field is not set for this bug.
:jwatt, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jwatt)

(After bug 1815552 this should be much better as per comment 4)

Component: Layout → Web Painting
Flags: needinfo?(jwatt)

(In reply to Mayank Bansal from comment #1)

FWIW, the difference becomes even more stark if you first expand the whole table by clicking on the arrow on the "Feature NAme" cell on the table.
Example profile: https://share.firefox.dev/3HFdZWN

Chrome is visually smoother.

Profile with patches from bug 1815552 : https://share.firefox.dev/3EOktCj
Visually, we are comparable (and maybe slightly faster) than Chrome

The severity field is not set for this bug.
:tnikkel, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(tnikkel)

If we are on par or slightly better than Chrome -> S3.

Severity: -- → S3
Flags: needinfo?(tnikkel)
Summary: Slow performance on https://kangax.github.io/compat-table/es6/ compared to Chrome → Slow performance on https://compat-table.github.io/compat-table/es6/ compared to Chrome
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: