[Bug 23887] [Shadow] Put only the final destination insertion point to the event path

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23887

--- Comment #83 from Dimitri Glazkov <dglazkov@chromium.org> ---
(In reply to Olli Pettay from comment #81)
> (In reply to Hayato Ito from comment #79)
> > I'm not saying that this will apply to all user-agent's implementations.
> > I'd like to share my experience in blink, hoping it might be useful for the
> > discussion.
> (IIRC when shadow dom event dispatch was added to webkit/blink, its
> event dispatch speed regressed significantly. At least there was a time
> when doing perf testing I noticed chrome's event dispatch speed regressed
> quite a bit)

FWIW, this code has been extensively rewritten many times and we have not seen
this particular codepath being a perf issue in real world.

I am not saying that we haven't done our share of poorly-written code when we
first started exploring the problem, but the algorithm we settled on and what's
in spec today is O(N). You shouldn't see any dramatic perf problems.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 28 March 2014 18:13:02 UTC