uber/multitransport-jsonrpc — pull request #5 by squamos (2013-03-01 02:37:04+00:00)
Title: Buffers + Add a length prefix for better performance on large messages

full-stack.js
✔ loopbackHttp
✔ failureTcp
TCP took 566ms, 17667.844522968197 reqs/sec
HTTP took 8928ms, 1120.0716845878137 reqs/sec
✔ perf_simple
TCP took 547ms, 18281.535648994515 reqs/sec
HTTP took 9621ms, 1039.3929944912172 reqs/sec
✔ perf_100
TCP took 676ms, 14792.899408284024 reqs/sec
HTTP took 9566ms, 1045.3690152623876 reqs/sec
✔ perf_1000
TCP took 2288ms, 4370.629370629371 reqs/sec
HTTP took 9286ms, 1076.8899418479432 reqs/sec
✔ perf_10000
TCP took 18828ms, 531.1238580837052 reqs/sec
HTTP took 9733ms, 1027.4324463166547 reqs/sec
✔ perf_100000