[Webkit-unassigned] [Bug 261123] Performance improvement for the word boundary finding algorithm
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 5 10:18:48 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=261123
zalan <zalan at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Text |HTML Editing
--- Comment #3 from zalan <zalan at apple.com> ---
Looks like we spend some time in nextWordFromIndex:forward
32.79 s 82.2% 0 s WebCore::jsDOMSelectionPrototypeFunction_modify(JSC::JSGlobalObject*, JSC::CallFrame*)
32.79 s 82.2% 0 s WebCore::DOMSelection::modify(WTF::String const&, WTF::String const&, WTF::String const&)
32.79 s 82.2% 0 s WebCore::FrameSelection::modify(WebCore::FrameSelection::EAlteration, WebCore::SelectionDirection, WebCore::TextGranularity, WebCore::EUserTriggered)
32.79 s 82.2% 0 s WebCore::FrameSelection::modifyExtendingForward(WebCore::TextGranularity)
32.79 s 82.2% 0 s WebCore::FrameSelection::nextWordPositionForPlatform(WebCore::VisiblePosition const&)
32.79 s 82.2% 0 s WebCore::nextWordPosition(WebCore::VisiblePosition const&)
32.79 s 82.2% 0 s WebCore::nextBoundary(WebCore::VisiblePosition const&, unsigned int (*)(WTF::StringView, unsigned int, WebCore::BoundarySearchContextAvailability, bool&))
32.79 s 82.2% 0 s WebCore::forwardSearchForBoundaryWithTextIterator(WebCore::TextIterator&, WTF::Vector<char16_t, 1024ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, unsigned int, unsigned int (*)(WTF::StringView, unsigned int, WebCore::BoundarySearchContextAvailability, bool&))
29.34 s 73.6% 0 s WebCore::findNextWordFromIndex(WTF::StringView, int, bool)
27.03 s 67.8% 0 s -[NSAttributedString(NSAttributedStringUIFoundationAdditions) nextWordFromIndex:forward:]
(changing component to editing)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230905/ff3245b5/attachment.htm>
More information about the webkit-unassigned
mailing list