Closed Bug 1417991 Opened 7 years ago Closed 6 years ago

stylo: Worse style system performance than Gecko in https://s.codepen.io/tomhodgins/debug/ggWMpg

Categories

(Core :: CSS Parsing and Computation, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox-esr52 --- unaffected
firefox57 --- wontfix
firefox58 --- affected
firefox59 --- affected

People

(Reporter: emilio, Unassigned)

References

()

Details

(Keywords: perf)

It looks like we're flushing style twice as often as Gecko, I haven't looked into why yet, but we have a flush from EQCSS.tryWithEval, and then the normal style flush because the stylesheets changed, I think.

 * Gecko profile: https://perfht.ml/2z7mSIe
 * Servo profile: https://perfht.ml/2z8i8lT
(If someone could confirm that measurements, it'd be nice too!)
Flags: needinfo?(emilio)
See Also: → 1421310
Emilio is waiting for mstange's perf.html profile fix to show Stylo frames. Emilio says this bug is not a high priority because a web developer wouldn't design a real website like this.
Priority: P1 → P3
This doesn't look worse than Gecko now I think. If some can confirm that'd be great.
Flags: needinfo?(emilio)
(In reply to Emilio Cobos Álvarez (:emilio) from comment #4)
> This doesn't look worse than Gecko now I think. If some can confirm that'd
> be great.

On latest nightly and clean profile: 

Stylo : https://perfht.ml/2yFfikW
Stylo+Sequential: https://perfht.ml/2yDBXhT
Flags: needinfo?(emilio)
I think that's pretty ok for now, I don't see anything particularly actionable.
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(emilio)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.