WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 24468
24469
Big performance improvement to FontQt.cpp and hence all text drawing and layouting in QtWebKit
https://bugs.webkit.org/show_bug.cgi?id=24469
Summary
Big performance improvement to FontQt.cpp and hence all text drawing and layo...
Adam Treat
Reported
2009-03-09 13:26:13 PDT
Hi, Currently the QtWebKit class FontQt.cpp is using a very expensive method to effectively inform Qt's text engine that it should substitute glyphs for particular unicode characters with another unicode character. Right now FontQt.cpp is reconstructing a QString based on a TextRun and then detaching and memcpy'ing whenever it encounters a character that should be treated differently by Qt's text engine according to WebCore::Font::treatAsSpace and WebCore::Font::treatAsZeroWidthSpace. Profiling shows that this is one of the top ten most expensive methods in all of QtWebKit right now.
Attachments
Add attachment
proposed patch, testcase, etc.
Adam Treat
Comment 1
2009-03-09 13:30:15 PDT
*** This bug has been marked as a duplicate of
24468
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug