[webkit-help] What about WebKit makes DOM insertion slow when your template has whitespace / text nodes?
Ryosuke Niwa
rniwa at webkit.org
Wed May 8 10:10:49 PDT 2013
This was probably fixed by http://trac.webkit.org/changeset/144526.
- R. Niwa
On Wed, May 8, 2013 at 9:48 AM, Steven Luscher <webkit at steveluscher.com>wrote:
> Hello WebKit team,
>
> I've been able to replicate some strange behavior on Chrome 26 (Mac) and
> Safari 6.0.4 (Mac). Essentially, rendering an HTML template that has extra
> whitespace / text-nodes in it is incredibly slow.Rendering the same
> template with the whitespace stripped results in a 400x speedup.
>
> Here's a detailed explanation of the bug:
>
> http://stackoverflow.com/questions/16428987/what-about-webkit-makes-dom-insertion-slow-when-your-template-has-whitespace-t
>
> And here's a JSFiddle demonstrating it:
> http://jsfiddle.net/cEK2x/2/
>
> Any idea what about WebKit causes this? Firefox 26, IE9, and Chrome Canary
> don't exhibit the bug.
>
> Cheers,
> Steven…
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20130508/1b35daf9/attachment.html>
More information about the webkit-help
mailing list