[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
Mon Dec 21 19:02:44 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=32846
--- Comment #1 from jaimeyap at google.com 2009-12-21 19:02:44 PST ---
Essentially, timing information on the timeline panel can be totally incorrect
for certain traces.
(In reply to comment #0)
> When inspecting a page, the InspectorController binds the DOMAgent, which from
> my understanding registers DOM mutation event listener. This causes DOM
> Mutation Events to fire for every DOM mutation (innerHTML parsing, dom node
> appends, document fragment appends, etc...).
>
> This gets compounded by the fact that whenever a JS event handler for a DOM
> event is fired at a document context a call to
> Document::updateStyleForAllDocuments() is made. Thus firing DOM Mutation events
> repeatedly forces styles to be up to date inline with each mutation instead of
> getting deferred.
>
> see https://bugs.webkit.org/show_bug.cgi?id=32580 which is Jamesr's pending
> attempt to address the inline recalculation of styles.
>
> But a proper fix would be to somehow disable DOMMutation event dispatches when
> the timeline agent is recording.
--
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