The Wire · Showcase
NGTCP2 UPGRADED, STREAM PERFORMANCE SURGES 27 PERCENT
By RepoJournal · Filed · About Node.js
Node core shipped a significant dependency bump and a performance optimization that measurably speeds up WHATWG stream reads across the stack.
The ngtcp2 HTTP/3 transport library jumped to 1.24.0 [1], bringing upstream security and stability improvements directly into Node's dependency chain. Meanwhile, the streams team landed a targeted optimization [2] that skips redundant size algorithm calls on default WHATWG streams, delivering up to 27.5 percent faster buffered reads and 16.6 percent gains on async iteration - meaningful gains for any application moving data at volume. On cleanup, the HTTP module shed unused code [4] when the IncomingMessage._read method got refactored to drop a dead parameter, keeping core lean. The doc-kit team fixed an AST mutation bug [3] that was silently corrupting legacy JSON structures during processing, and shipped 1.4.2 to npm [5] with the patch baked in. Nightly builds are rolling forward [8], and work continues on typo fixes and test documentation improvements [6] [7] across the codebase.
Action items
- → Upgrade ngtcp2 in your next Node LTS window - carries transport layer fixes nodejs/node [plan]
- → Test stream performance with updated Node on high-throughput workloads nodejs/node [monitor]
- → Update doc-kit to 1.4.2 if you parse legacy JSON structures in docs nodejs/doc-kit [immediate]
References
- [1] deps: update ngtcp2 to 1.24.0 ↗ nodejs/node
- [2] stream: speed up reads and iteration over default WHATWG streams ↗ nodejs/node
- [3] fix(legacy-json): don't mutate the ast ↗ nodejs/doc-kit
- [4] http: remove unused n arg from IncomingMessage._read nodejs/node
- [5] Version Packages ↗ nodejs/doc-kit
- [6] src: fix some typo errors and rename some variables ↗ nodejs/node
- [7] doc: add scope overview tables for TestsStream events ↗ nodejs/node
- [8] snap: (auto) updated to 27.0.0-nightly2026071214166a59cc nodejs/snap