node/benchmark/streams
Trivikram Kamat f954ab3f1a
stream: use data listener for compose forwarding
Forward Node.js tail stream data through a pipe-style data listener
instead of manually draining readable events. This keeps compose closer
to the stream pipe hot path while preserving backpressure with pause
and resume.

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/63593
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
2026-06-18 21:12:36 +01:00
..
compose.js stream: use data listener for compose forwarding 2026-06-18 21:12:36 +01:00
creation.js benchmark: add trailing commas 2023-01-29 19:13:35 +01:00
destroy.js benchmark: add trailing commas 2023-01-29 19:13:35 +01:00
pipe-object-mode.js benchmark: add trailing commas 2023-01-29 19:13:35 +01:00
pipe.js benchmark: add trailing commas 2023-01-29 19:13:35 +01:00
readable-async-iterator.js benchmark: add trailing commas 2023-01-29 19:13:35 +01:00
readable-bigread.js stream: use Array for Readable buffer 2023-10-25 15:35:05 +00:00
readable-bigunevenread.js benchmark: add trailing commas 2023-01-29 19:13:35 +01:00
readable-boundaryread.js benchmark: add trailing commas 2023-01-29 19:13:35 +01:00
readable-from.js benchmark: add more cases to Readable.from 2023-10-24 01:36:17 +00:00
readable-readall.js stream: use Array for Readable buffer 2023-10-25 15:35:05 +00:00
readable-uint8array.js stream: support typed arrays 2024-03-20 17:27:29 +00:00
readable-unevenread.js benchmark: add trailing commas 2023-01-29 19:13:35 +01:00
writable-manywrites.js stream: writable state bitmap 2023-09-29 18:13:44 +00:00
writable-uint8array.js stream: support typed arrays 2024-03-20 17:27:29 +00:00