[Webkit-unassigned] [Bug 76592] [v8]Low efficiency of writing long string in npruntime infrastructure

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 18 21:53:05 PST 2012


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





--- Comment #2 from joey <li.yin at intel.com>  2012-01-18 21:53:05 PST ---
In chromium-gtk mode, when the big string was transported from web page to plug-in through invoke function, the elapsed time is too long. I found the root cause was that the time of WriteUtf8 operation was too expensive, when the data type of String was ConsString.

Pseudo-code in JavaScript side:
var str="";
var num=1024*1024;
for(var i=0; i<num; i++)
    str+="A";
plugin_object.writeString(str);

Suppose that plugin_object is a plugin object, and has the function "writeString" in plug-in, although the this function could do nothing.

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