Sosuke Suzuki
e67b06a34a
perf: avoid loading full node:stream in internal/fs/streams.ts
...
Replace require('node:stream') with direct submodule requires:
- require('internal/streams/readable')
- require('internal/streams/writable')
- require('internal/streams/end-of-stream')
This avoids eagerly loading unused submodules (Transform, Duplex,
PassThrough, pipeline, operators, etc.) when accessing process.stdin,
fs.createReadStream, or fs.createWriteStream.
Benchmark shows ~0.5ms improvement in process.stdin startup cost.
2026-02-24 15:01:38 +09:00
..
2024-11-08 23:15:24 -08:00
2023-07-19 23:57:41 -07:00
2023-03-02 19:02:10 -08:00
2024-11-08 23:15:24 -08:00
2025-03-21 19:49:44 -07:00
2024-11-08 23:15:24 -08:00
2024-11-08 23:15:24 -08:00
2025-07-10 00:10:43 -07:00
2025-05-14 18:43:15 -07:00
2024-11-08 23:15:24 -08:00
2025-01-29 01:47:43 -08:00
2025-02-14 06:32:57 -08:00
2024-10-17 13:30:47 -07:00
2025-01-29 01:47:43 -08:00
2025-12-05 17:38:56 -08:00
2026-01-26 10:52:35 -08:00
2024-11-08 23:15:24 -08:00
2023-03-02 19:02:10 -08:00
2024-11-08 23:15:24 -08:00
2025-09-23 17:48:10 -07:00
2025-09-01 01:48:28 -07:00
2025-10-29 08:14:08 +01:00
2025-01-29 01:47:43 -08:00
2026-02-24 15:01:38 +09:00
2023-05-16 08:48:17 -07:00
2025-01-29 01:47:43 -08:00
2023-05-31 17:20:30 -07:00
2025-05-06 03:23:16 -07:00
2025-07-10 00:10:43 -07:00
2025-08-31 18:27:51 -07:00
2022-07-12 01:40:12 -07:00
2022-07-12 01:40:12 -07:00
2026-01-29 12:38:05 -08:00
2026-01-29 12:38:05 -08:00
2022-07-18 19:30:58 -04:00
2026-01-16 16:12:23 -08:00
2024-09-03 21:32:52 -07:00