diff options
author | Matteo Collina <hello@matteocollina.com> | 2016-01-29 14:18:27 +0100 |
---|---|---|
committer | Matteo Collina <hello@matteocollina.com> | 2016-01-29 19:26:44 +0100 |
commit | 137f53c7b72ff9cb36694d058136344076661f4a (patch) | |
tree | b5dd2bad2463b37ff541726ad1f272e21920f212 /Makefile | |
parent | 4126441013bb569c19417f4a23c5f6b3bc38ef2b (diff) | |
download | android-node-v8-137f53c7b72ff9cb36694d058136344076661f4a.tar.gz android-node-v8-137f53c7b72ff9cb36694d058136344076661f4a.tar.bz2 android-node-v8-137f53c7b72ff9cb36694d058136344076661f4a.zip |
dgram: support dgram.send with multiple buffers
Added ability to dgram.send to send multiple buffers, _writev style.
The offset and length parameters in dgram.send are now optional.
Refactored the dgram benchmarks, and seperated them from net.
Added docs for the new signature.
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Fixes: https://github.com/nodejs/node/issues/4302
PR-URL: https://github.com/nodejs/node/pull/4374
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -501,7 +501,10 @@ bench-events: all bench-util: all @$(NODE) benchmark/common.js util -bench-all: bench bench-misc bench-array bench-buffer bench-url bench-events +bench-dgram: all + @$(NODE) benchmark/common.js dgram + +bench-all: bench bench-misc bench-array bench-buffer bench-url bench-events bench-dgram bench-util bench: bench-net bench-http bench-fs bench-tls |