einaros/ws — pull request #16 by kazuyukitanimura (2012-02-02 07:01:27+00:00)
Title: speed up by not copying for non-fragmented data in Receiver.prototype.concatBuffer

I observed approx. 50% performance improvement with this patch.
The benchmark is the same as before (https://github.com/kazuyukitanimura/websocketBinaryTransferBenchmark).

On my MacBook Air Mid 2011 (Core i 5 4GB RAM), I got 3Gbps for sending 2^20 bytes binary data.