Closed Bug 1695430 Opened 4 years ago Closed 4 years ago

Graphics demo seems to spend large time in Style

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: mayankleoboy1, Unassigned)

Details

Attachments

(1 file)

Open the testcase and click on the "scroll with moz-transform" link on top left of the page

AR: profile shows most of the time is spent in style.
ER: better, if possible

https://share.firefox.dev/3bHyy53 with sequential styling enabled and ublock disabled.

Attached file rotate.html

So the page is changing 500 divs with overflow:scroll at a frame. Not super realistic, but it'd be good to know how other browsers perform here. It seems a good amount of stuff here is just updating the anonymous boxes for the scrollers, which could be sped up I think...

If there is nothing much actionable here, I am happy to close this bug

Flags: needinfo?(emilio)

Could you take an updated profile? I took one and it doesn't seem to be spending so much time updating scrollbar styles... Maybe that's because on Linux we now create less anon content.

But yeah this could be improvable I'd think.

Flags: needinfo?(emilio) → needinfo?(mayankleoboy1)

I don't have access to a working machine right now. I will keep the ni? and respond later.

updated profile with sequential styling : https://share.firefox.dev/3BkJ2CG

Flags: needinfo?(mayankleoboy1) → needinfo?(emilio)

Ok, this doesn't seem too terrible now. There's still a fair amount of anon box restyling on windows, but nothing super-concerning I think.

Flags: needinfo?(emilio)

Cool! I will close this for now.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: