Latest Node.js boosts stream performance
Briefly

Node.js v20.8.0 has been released with substantial performance enhancements, particularly in stream handling. Improvements to writable and readable streams have increased creation and destruction efficiency by about 15%. Readable webstream performance has seen a boost of 140% for async iterator consumption and 60% for pipeto consumption. Memory management for vm APIs has been reworked to fix memory leaks and use-after-free issues, facilitating upgrades from earlier Node.js versions. While v20.8.0 is the current release, v18.18.0 is offered as the long-term support option, recommended for general users.
Node.js v20.8.0 has been released, featuring significant performance improvements for streams, enhancing both writable and readable streams by approximately 15% and improving memory overhead.
Version 20.8.0 includes enhancements to readable webstreams, increasing async iterator consumption by around 140% and pipeto consumption by approximately 60%.
A rework of memory management in vm APIs addresses critical memory leaks and use-after-free issues, allowing users to upgrade from older Node.js versions.
While Node.js 20.8.0 serves as the current version, Node.js 18.18.0 remains the long-term support release, recommended for most users as of September 18.
Read at InfoWorld
[
|
]