[Webkit-unassigned] [Bug 73853] Inserting nodes is slow due to Node::notifyNodeListsAttributeChanged (20%+)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 6 14:56:06 PST 2011


--- Comment #10 from Ryosuke Niwa <rniwa at webkit.org>  2011-12-06 14:56:05 PST ---
I have a hypothesis that we can just invalidate all caches whenever DOM mutation happens. In this world, each document will have a hashmap from node -> node list (probably excluding childnodes), and we'll remove all caches whenever a DOM mutation happens.

I've collected 191220 samples while browsing websites like Gmail, Google+, Twitter, Facebook, etc...

total:  191220
hits: 185772 (97.151%)
misses: 3559 (1.861%)
hits that will be missed under this approach: 1889 (0.988%)

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list