There is a bunch of overhead in running the full HTMLDocumentParser. We should add some fast paths to speed things up for innerHTML.
Created attachment 419683 [details] WIP
Created attachment 419775 [details] Patch
Created attachment 419776 [details] Patch
Comment on attachment 419776 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=419776&action=review > Source/WebCore/html/parser/HTMLDocumentParser.cpp:519 > + // HTMLTreeBuilder may have a parser blokcing script element but we ignore them during fragment parsing. blokcing
(In reply to Simon Fraser (smfr) from comment #4) > Comment on attachment 419776 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=419776&action=review > > > Source/WebCore/html/parser/HTMLDocumentParser.cpp:519 > > + // HTMLTreeBuilder may have a parser blokcing script element but we ignore them during fragment parsing. > > blokcing Fixed.
Created attachment 419778 [details] Patch for landing
Committed r272622: <https://commits.webkit.org/r272622> All reviewed patches have been landed. Closing bug and clearing flags on attachment 419778 [details].
<rdar://problem/74167433>