Aliaksandr Kalenik
0ab61a94d7
LibWeb: Bucket hover rules using RuleCache
...
Analysis of selectors on modern websites shows that the `:hover`
pseudo-class is mostly used in the subject position within relatively
simple selectors like `.a:hover`. This suggests that we could greatly
benefit from segregating them by id/class/tag name, this way reducing
number of selectors tested during hover style invalidation.
With this change, hover invalidation on Discord goes down from 70ms to
3ms on my machine. I also tested GMail and GitHub where this change
shows nice 2x-3x speedup.
2025-02-22 10:12:24 +01:00
..
2025-02-16 09:19:19 +01:00
2025-02-12 16:00:42 +00:00
2025-01-30 19:31:54 +01:00
2025-01-30 19:31:54 +01:00
2025-01-30 19:31:54 +01:00
2025-02-06 16:47:25 +00:00
2025-02-17 12:24:49 +00:00
2025-02-05 18:12:36 +01:00
2025-02-16 21:05:59 +01:00
2025-01-21 11:34:06 -05:00
2025-02-06 16:47:25 +00:00
2025-01-21 11:34:06 -05:00
2025-02-06 16:47:25 +00:00
2025-01-13 10:59:16 +00:00
2025-01-13 10:59:16 +00:00
2025-02-06 16:47:25 +00:00
2025-02-12 16:00:42 +00:00
2025-02-12 16:00:42 +00:00
2025-02-06 16:47:25 +00:00
2025-02-19 08:01:35 -05:00
2025-01-13 23:03:07 +01:00
2025-02-12 16:00:42 +00:00
2025-02-12 16:00:42 +00:00
2025-01-21 11:34:06 -05:00
2025-01-28 11:24:40 +00:00
2025-02-11 10:39:27 +01:00
2025-02-06 16:47:25 +00:00
2025-02-06 16:47:25 +00:00
2025-01-30 19:31:54 +01:00
2025-01-30 19:31:54 +01:00
2025-01-13 10:59:16 +00:00
2025-01-29 09:30:18 +01:00
2025-01-29 09:30:18 +01:00
2025-02-05 17:45:44 +00:00
2025-01-30 19:31:54 +01:00
2025-01-24 13:55:52 +01:00
2025-01-30 19:31:54 +01:00
2025-02-06 16:47:25 +00:00
2025-01-30 19:31:54 +01:00
2025-02-13 20:52:31 +01:00
2025-02-13 20:52:31 +01:00
2025-01-30 19:31:54 +01:00
2025-01-30 19:31:54 +01:00
2025-02-11 10:39:27 +01:00
2025-02-05 12:38:55 +00:00
2025-02-12 16:00:42 +00:00
2025-02-20 19:48:27 +01:00
2025-02-20 19:48:27 +01:00
2025-02-13 16:24:51 +01:00
2025-02-03 10:28:08 +01:00
2025-02-22 10:12:24 +01:00
2025-02-22 10:12:24 +01:00
2025-01-28 01:12:45 +01:00
2025-02-10 01:13:53 +01:00
2025-01-25 10:16:21 +01:00
2025-01-13 23:03:07 +01:00
2025-02-06 16:47:25 +00:00
2025-01-30 19:31:54 +01:00
2025-01-30 19:31:54 +01:00