benchmark: Add net-pipe benchmark
authorisaacs <i@izs.me>
Mon, 12 Nov 2012 19:01:03 +0000 (11:01 -0800)
committerisaacs <i@izs.me>
Sat, 1 Dec 2012 02:26:18 +0000 (18:26 -0800)
commit3149d2f7dce4c90f28c82cdde5f011cffebd7ad6
tree1456570b3d70ec3db85baaf594bae2a2e04c75a3
parent8fc578b631d032778d49c65f9de48c946d01f902
benchmark: Add net-pipe benchmark

Just sends a buffer to a server, which echoes it back, and then measures
the Gbits/second.  Very similar to throughput.js, but using a single
process, so that it's possible to dtrace and get the jsstack frames for
profile comparison.
benchmark/net-pipe.js [new file with mode: 0644]