[Webkit-unassigned] [Bug 79880] [WebSocket]Optimize the masking/unmasking operation by SSE2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 4 23:16:59 PST 2012


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





--- Comment #8 from joey <li.yin at intel.com>  2012-03-04 23:16:59 PST ---
JavaScript code from benchmark.

var NUM = 10*1024*1024;
var data = "";
var i=0;
var wsocket = new WebSocket("ws://127.0.0.1:8880/websocket/tests/hixie76/echo");
for(i=0;i<NUM;i++){
   data += "A";
}
wsocket.onopen = function(){
   var start = (new Date()).getTime();
   wsocket.send(data);
   var end = (new Date()).getTime();
   console.log("Consumed time:"+ (end - start) + "ms");
};

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