[Webkit-unassigned] [Bug 98711] New: DOM/textarea-edit.html spends 35% of time in numGraphemeClusters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 8 19:38:42 PDT 2012


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

           Summary: DOM/textarea-edit.html spends 35% of time in
                    numGraphemeClusters
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: ap at webkit.org, mitz at webkit.org, koivisto at iki.fi,
                    tkent at chromium.org, kling at webkit.org


It appears that the bottleneck is numGraphemeClusters. It's very slow :(

Running Time    Self        Symbol Name
17515.0ms   36.0%    17515.0         icu::RuleBasedBreakIterator::handleNext(icu::RBBIStateTable const*)
17460.0ms   35.9%    0.0          icu::RuleBasedBreakIterator::next()
17031.0ms   35.0%    0.0           WebCore::numGraphemeClusters(WTF::String const&)
8731.0ms   17.9%    0.0            WebCore::HTMLTextAreaElement::tooLong() const
8731.0ms   17.9%    0.0             non-virtual thunk to WebCore::HTMLTextAreaElement::tooLong() const
8300.0ms   17.0%    0.0            WebCore::HTMLTextAreaElement::handleBeforeTextInsertedEvent(WebCore::BeforeTextInsertedEvent*) const
8300.0ms   17.0%    0.0             WebCore::HTMLTextAreaElement::defaultEventHandler(WebCore::Event*)

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