Closed Bug 1291513 Opened 8 years ago Closed 7 years ago

stylo: Look at Blink's approach to style sharing to increase Servo's style cache performance

Categories

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

defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox57 --- fixed

People

(Reporter: emilio, Unassigned)

References

(Blocks 1 open bug)

Details

Servo's style sharing cache is pretty likely to become very similar to Blink's[1][2][3].

They already have a good set of heuristics in place that can set a baseline and save us a lot of time. We should look into that in order to improve the style sharing cache practically for free.

[1]: https://github.com/servo/servo/pull/12668
[2]: https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp?rcl=1470165659&l=320
Priority: -- → P3
Priority: P3 → P4
I suspect we're fine with the current state of style sharing in stylo. Also blink no longer has a style sharing cache.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.