node/benchmark/streams
Trivikram Kamat 9a394bab84
benchmark: respect stream/iter broadcast backpressure
Only decrement the remaining byte count after a stream/iter broadcast
write is accepted. If writeSync() is blocked by strict backpressure,
fall back to the async write() path for the same chunk.

Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com>
Assisted-by: openai:gpt-5.5
PR-URL: https://github.com/nodejs/node/pull/63314
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2026-05-19 14:08:25 +02:00
..
compose.js
creation.js
destroy.js
finished.js
iter-creation.js benchmark: add benchmarks for experimental stream/iter 2026-03-27 19:55:35 -07:00
iter-file-read.js benchmark: add benchmarks for experimental stream/iter 2026-03-27 19:55:35 -07:00
iter-from-batching.js stream: limit iter from sync iterable batches 2026-05-19 14:08:24 +02:00
iter-throughput-broadcast.js benchmark: respect stream/iter broadcast backpressure 2026-05-19 14:08:25 +02:00
iter-throughput-compression.js benchmark: add benchmarks for experimental stream/iter 2026-03-27 19:55:35 -07:00
iter-throughput-identity.js benchmark: add benchmarks for experimental stream/iter 2026-03-27 19:55:35 -07:00
iter-throughput-pipeto.js stream: add sync iterable fast path to pipeTo 2026-05-19 14:08:25 +02:00
iter-throughput-share.js stream: cache minimum cursor count in share 2026-05-19 14:08:21 +02:00
iter-throughput-transform.js benchmark: add benchmarks for experimental stream/iter 2026-03-27 19:55:35 -07:00
pipe-object-mode.js
pipe.js
readable-async-iterator.js
readable-bigread.js
readable-bigunevenread.js
readable-boundaryread.js
readable-from.js
readable-readall.js
readable-uint8array.js
readable-unevenread.js
writable-manywrites.js
writable-uint8array.js