fs: implemented WriteStream#writev
authorRon Korving <rkorving@wizcorp.jp>
Tue, 28 Jul 2015 05:59:35 +0000 (14:59 +0900)
committerJeremiah Senkpiel <fishrock123@rocketmail.com>
Tue, 15 Sep 2015 01:51:00 +0000 (21:51 -0400)
commit2b6aa9415fc35acd35d4ab33e4d3dcf61e8bfa81
treef0d628d2e18f3e6d68728d33d6e02d05f71b3e0e
parentff6d30d784c37b1a74140fdff0a714e3403d410f
fs: implemented WriteStream#writev

Streams with writev allow many buffers to be pushed to underlying OS
APIs in one batch, in this case improving write throughput by an order
of magnitude. This is especially noticeable when writing many (small)
buffers.

PR-URL: https://github.com/nodejs/node/pull/2167
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
lib/fs.js
src/node_file.cc