[Webkit-unassigned] [Bug 66634] Inserting <style> nodes in the DOM can be REALLY slow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 8 20:48:25 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=66634





--- Comment #8 from Simon Fraser (smfr) <simon.fraser at apple.com>  2013-02-08 20:50:33 PST ---
Sample shows all the time under:

      2328 WebCore::replaceChildrenWithFragment(WebCore::ContainerNode*, WTF::PassRefPtr<WebCore::DocumentFragment>, int&)  (in WebCore) + 277  [0x1022fe405]
        2328 WebCore::ContainerNode::appendChild(WTF::PassRefPtr<WebCore::Node>, int&, bool)  (in WebCore) + 278  [0x101981556]
          2328 WebCore::updateTreeAfterInsertion(WebCore::ContainerNode*, WebCore::Node*, bool)  (in WebCore) + 190  [0x101dc441e]
            2297 WebCore::StyleElement::process(WebCore::Element*)  (in WebCore) + 522  [0x1019c07ba]
            ! 1698 WebCore::StyleElement::createSheet(WebCore::Element*, WTF::OrdinalNumber, WTF::String const&)  (in WebCore) + 855  [0x10249ace7]
            ! : 1697 WebCore::StyleSheetContents::parseStringAtLine(WTF::String const&, int)  (in WebCore) + 66  [0x1024c7782]
            ! : | 1697 WebCore::CSSParser::parseSheet(WebCore::StyleSheetContents*, WTF::String const&, int, WTF::Vector<WTF::RefPtr<WebCore::CSSRuleSourceData>, 0ul>*)  (in WebCore) + 231  [0x101e0f457]
            ! : |   517 cssyyparse(WebCore::CSSParser*)  (in WebCore) + 15060  [0x101e05f64]
            ! : |   + 505 WebCore::CSSParser::parseValue(WebCore::CSSPropertyID, bool)  (in WebCore) + 16814  [0x101e16b2e]
            ! : |   + ! 278 WebCore::CSSParser::parseFillShorthand(WebCore::CSSPropertyID, WebCore::CSSPropertyID const*, int, bool)  (in WebCore) + 368  [0x101e20130]
            ! : |   + ! : 143 WebCore::CSSParser::parseFillProperty(WebCore::CSSPropertyID, WebCore::CSSPropertyID&, WebCore::CSSPropertyID&, WTF::RefPtr<WebCore::CSSValue>&, WTF::RefPtr<WebCore::CSSValue>&)  (in WebCore) + 572  [0x101e1962c]
            ! : |   + ! : | 120 WebCore::CSSParser::parseBackgroundColor()  (in WebCore) + 140  [0x101a3372c]
            ! : |   + ! : | + 82 WebCore::CSSParser::parseColorFromValue(WebCore::CSSParserValue*, unsigned int&)  (in WebCore) + 337  [0x1019484f1]
            ! : |   + ! : | + ! 65 WebCore::CSSParser::fastParseColor(unsigned int&, WTF::String const&, bool)  (in WebCore) + 2105  [0x101e11469]
            ! : |   + ! : | + ! : 37 WebCore::Color::setNamedColor(WTF::String const&)  (in WebCore) + 154  [0x1018d513a]
            ! : |   + ! : | + ! : | 20 WebCore::findColor(char const*, unsigned int)  (in WebCore) + 37  [0x1018d5195]
...

-- 
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