[Webkit-unassigned] [Bug 119158] Document::encoding creates new String on every call

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 30 16:05:35 PDT 2013


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


Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |BlinkMergeCandidate




--- Comment #1 from Ryosuke Niwa <rniwa at webkit.org>  2013-07-30 16:05:21 PST ---
Remove unecessary malloc seen in http://sina.com.cn (#17)

Content calls down into Blink a bunch of times during loading to
check the document's encoding.  Every time we were allocating a
new copy of a constant string.  The right fix is to fix TextEncoding
to have fancier static-string technology, but this is the quick-fix
to get this malloc off the profile of http://sina.com.cn.

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