Yosuke Furukawa
3abfb56f9b
benchmark: fix tcp bench after internal api change
...
Fix up the tcp raw benchmarks after an internal API change.
PR-URL: https://github.com/iojs/io.js/pull/495
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2015-01-18 18:09:10 +01:00
Fedor Indutny
9836a4eeda
stream_wrap: use uv_try_write where possible
...
Use `uv_try_write` for string and buffer writes, thus avoiding to do
allocations and copying in some of the cases.
2014-01-29 02:49:03 +04:00
Ben Noordhuis
d75f67f949
bench: fix up benchmarks after internal api change
2013-07-20 12:13:54 +02:00
Trevor Norris
22668db73d
benchmark: update callbacks only receive data
...
Since the SlabAllocator was removed the buffer length/offset is no
longer sent to the onread callback. The benchmarks have been updated to
reflect that.
2013-07-08 16:53:41 -07:00
Ben Noordhuis
3dac421393
bench: add dgram send/recv benchmark
2013-03-20 17:16:30 +01:00
isaacs
4b80f217cd
bench: Simplify duration arguments to benchmarks
...
For throughput benchmarks, run with just 5s durations rather than 1s and 3s.
For startup benchmark, run with just a single 1s duration, since it's very
consistent anyway.
2013-02-19 17:16:55 -08:00
isaacs
e82f97401f
bench: net benchmarks using common script
2013-02-19 14:14:30 -08:00
isaacs
baea73ccda
bench: Move net-pipe into benchmark/net
2013-02-19 14:14:30 -08:00