[Webkit-unassigned] [Bug 32846] Timeline Panel timings are polluted by DOM Mutation events (which force inline Style Recalculations)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 22 00:18:46 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32846





--- Comment #7 from Pavel Feldman <pfeldman at chromium.org>  2009-12-22 00:18:46 PST ---
(In reply to comment #6)
> Yes, most likely that can be fixed as well.  But that's a larger, trickier
> issue.

So we have two options:

1) Mute elements panel, implement removeListenerType.

- Adding removeListenerType sounds straightforward to me - I can only see
addListenerType invoked in two places: DOMWindow and Node. Both have symmetric
remove placeholders. Seems like a good thing in general, but I know that people
do not remove listeners, so we are not likely to gain much WebCore performance
gain out of it.
- Muting dom panel is an extra effort that will complicated ui and I'd like to
avoid it if possible.

2) Push dom events explicitly into inspector controller.

DOMNodeInsertedEvent, DOMNodeRemovedEvent, DOMAttrModifiedEvent,
DOMContentLoadedEvent and loadEvent should be pushed into InspectorController
for all the documents on the page. InspectorController should then decide
whether it needs them or not.
This approach is interesting for two reasons: 
- we can get these events for detached subtrees.
- we could get Attr events as a side effect

Tim, are you supporting (2)?

-- 
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