dfellis/multitransport-jsonrpc — pull request #2 by squamos (2013-03-01 02:29:54+00:00)
Title: Buffers only

Revised the data parsing to use buffers. Expanded the performance tests for a variety of message sizes:

full-stack.js
✔ loopbackHttp
✔ failureTcp
TCP took 537ms, 18621.973929236497 reqs/sec
HTTP took 9626ms, 1038.8531061707874 reqs/sec
✔ perf_simple
TCP took 516ms, 19379.84496124031 reqs/sec
HTTP took 8970ms, 1114.8272017837235 reqs/sec
✔ perf_100
TCP took 632ms, 15822.784810126583 reqs/sec
HTTP took 8987ms, 1112.7183709803048 reqs/sec
✔ perf_1000
TCP took 2529ms, 3954.1320680110716 reqs/sec
HTTP took 9579ms, 1043.950307965341 reqs/sec
✔ perf_10000
TCP took 22395ms, 446.52824291136415 reqs/sec
HTTP took 8958ms, 1116.3206072784103 reqs/sec
✔ perf_100000