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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 5 20:30:46 PST 2012


--- Comment #13 from joey <li.yin at intel.com>  2012-03-05 20:30:45 PST ---
(In reply to comment #11)
> I'm also surprised to see this patch, but it's somewhat understandable that the frame masking code is a hot path. I'm not an expert of SSE2 operations so I'm not qualified to review the patch, though.
> A few thoughts:
> * Current code masks frames for each byte (char). Have you tried to mask frames for each machine word (32-bit or 64-bit)? I believe that would improve the performance, even without SSE.

Yeah, the performance can be improved using 64-bit data, almost 7~8 times faster than the original method.

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