[Webkit-unassigned] [Bug 100873] attribute modification 10% performance regression

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 31 13:09:15 PDT 2012


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





--- Comment #5 from Antti Koivisto <koivisto at iki.fi>  2012-10-31 13:10:35 PST ---
Turns out the difference finding algorithm using SpaceSplitString mutation is too slow:

Running Time    Self        Symbol Name
1714.0ms    5.6%    302,0          WebCore::Element::classAttributeChanged(WTF::AtomicString const&)
532.0ms    1.7%    174,0           WebCore::SpaceSplitString::remove(WTF::AtomicString const&)
277.0ms    0.9%    66,0            WebCore::SpaceSplitString::ensureUnique()
136.0ms    0.4%    136,0             WTF::fastMalloc(unsigned long)
75.0ms    0.2%    75,0             WTF::Vector<WTF::AtomicString, 4ul>::Vector(WTF::Vector<WTF::AtomicString, 4ul> const&)

Should be easy to optimize this away.

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