Closed
Bug 1513512
Opened 6 years ago
Closed 6 years ago
A gfx demo spends most of its time (250ms) in styling
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
DUPLICATE
of bug 1493420
People
(Reporter: mayankleoboy1, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0
Steps to reproduce:
This is the "surane" demo which is used to test WR etc.
IF you change the container.innerHTML to 5000 , the demo spends 300ms in styling
Not sure if this is expected or not. Feel free to WONTFIX this as needed.
Actual results:
lots of time spend in styling.
Array 5000 : https://perfht.ml/2SJUmC2
ray 500 : https://perfht.ml/2SG5EqM
Expected results:
maybe not so
Reporter | ||
Updated•6 years ago
|
Component: General → CSS Parsing and Computation
Reporter | ||
Comment 1•6 years ago
|
||
the default testcase, which spends more time in gfx as expected
Reporter | ||
Updated•6 years ago
|
Summary: A gfx demo spends most of its time (300ms) in styling → A gfx demo spends most of its time (250ms) in styling
Reporter | ||
Comment 2•6 years ago
|
||
Here is the sequential stylo profile of the 5000 case : https://perfht.ml/2SG7mbG
Comment 3•6 years ago
|
||
Looks like the same root cause / fix as bug 1493420.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Comment 4•5 years ago
|
||
This should look much better now, mind confirming? The testcase in comment 0 still spends a long time in styling, and I think I could spend some time trying to optimize out various bits here and there.
Please reopen if you still think it's bad and I'll take a look :)
Flags: needinfo?(mayankleoboy1)
Reporter | ||
Comment 5•5 years ago
|
||
Profile with 5000 : http://bit.ly/2WxU4DM . Time reduced from ~300ms to ~90ms in styling.
I dont know if optimising further is worth pursuing or not . For reference, Chrome performs worse than Nightly.
Flags: needinfo?(mayankleoboy1) → needinfo?(emilio)
Comment 6•5 years ago
|
||
Great. That works for me, for now at least, gotta do other stuff :)
Flags: needinfo?(emilio)
You need to log in
before you can comment on or make changes to this bug.
Description
•