$ the-wire · showcase
AsyncLocalStorage.run() gets 4 to 6x faster, vm code caches unblocked
By RepoJournal · Filed · About Node.js · Composed from the cited sources · methodology
Node's performance work landed on the surfaces that show up in every profile: AsyncLocalStorage context switching, WHATWG stream construction, and the vm module code cache that Vitest's pool depends on.
async_hooks: avoid extra frame copies in AsyncLocalStorage.run() nodejs/node
AsyncLocalStorage.run() used to call enterWith() twice, once to enter and once in finally to restore, and each call built a new frame; it now avoids the extra frame copies. The benchmark/async_hooks/async-local-storage-run.js fixture goes from 7.5M to 20.3M ops/s, and als.run(i, noop) drops from 100 ns to 16 ns.
vm: allow createCachedData() in any module status nodejs/node
sourceTextModule.createCachedData() threw ERR_VM_MODULE_CANNOT_CREATE_CACHED_DATA once a module had started evaluating, a check Node copied from V8 and V8 dropped in 2020. It is now allowed in any module status, and a post-evaluation cache can hold lazily compiled functions, which the PR says will help speed up the vm pools of Vitest.
stream: speed up WHATWG web streams nodejs/node
Leftover construction-path work on node:stream/web, rebased onto main and keeping the raw defaultTransformAlgorithm and createRawCallback2Params path from the transform backpressure decoupling. This is cleanup on top of the earlier shared hot-path reductions rather than a new set of guarantees.
fs: add static `Stats.isStats()` method nodejs/node
stats instanceof fs.Stats returned different results depending on the bigint option, because the docs describe one class while the implementation has separate Stats and BigIntStats. The new static fs.Stats.isStats() covers both; existing instanceof checks still behave as before.
Update CI to trigger on push to main (#27) nodejs/nodejs-latest-linker
Elsewhere, nodejs-latest-linker's CI now triggers on push to main, and the reliability desk filed its report for 2026-11-30.