[webkit-changes] [WebKit/WebKit] 153929: innerHTML fast parser should leverage the same att...

Chris Dumez noreply at github.com
Sat Feb 11 19:06:20 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 153929d8a8d479703a52fc8a86a8303b0ad64995
      https://github.com/WebKit/WebKit/commit/153929d8a8d479703a52fc8a86a8303b0ad64995
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-02-11 (Sat, 11 Feb 2023)

  Changed paths:
    M Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp
    M Source/WebCore/html/parser/HTMLNameCache.h

  Log Message:
  -----------
  innerHTML fast parser should leverage the same attribute value cache as the full HTML parser
https://bugs.webkit.org/show_bug.cgi?id=252116

Reviewed by Darin Adler.

innerHTML fast parser should leverage the same attribute value cache as the full
HTML parser. This may be a ~0.3% progression on Speedometer.

* Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp:
(WebCore::HTMLFastPathParser::processAttribute):
* Source/WebCore/html/parser/HTMLNameCache.h:
(WebCore::HTMLNameCache::makeAttributeValue):
(WebCore::HTMLNameCache::makeAtomString):

Canonical link: https://commits.webkit.org/260165@main




More information about the webkit-changes mailing list