Files
ladybird/Libraries/LibWeb
Andreas Kling 8497da8a13 LibWeb: Cache CSS::Display on Paintable for O(1) display() lookups
Paintable::display() was chasing through layout_node().display() which
goes through computed_values().display() on every call. Since display
never changes after the Paintable is constructed, cache it as a member
set in the constructor.

This was 1.6% of CPU time while playing a YouTube video.
2026-02-21 15:53:22 +01:00
..
2026-02-18 08:02:45 -05:00
2026-02-17 10:48:09 -05:00
2026-02-18 08:02:45 -05:00
2026-02-18 08:02:45 -05:00