node/benchmark/streams
Trivikram Kamat a6e2322ee6
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-05-30 19:26:26 +02:00
..
compose.js stream: use data listener for compose forwarding 2026-05-30 19:26:26 +02: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
finished.js stream: preserve AsyncLocalStorage on finished only when needed 2025-10-27 19:23:34 +00:00
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 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