Bun JavaScript Execution Environment Gets 1.1.22 Update with Performance Enhancements

TapTechNews August 11th news, Bun is a popular JavaScript execution environment, which natively supports JavaScript, TypeScript and JSX/TSX and is known for its 'fast running efficiency'. Recently, this environment got the 1.1.22 version update, which claims to have further improved performance, significantly reduced the amount of RAM usage, and improved the compatibility with Node.js. TapTechNews attaches the project address (click here to visit).

Bun JavaScript Execution Environment Gets 1.1.22 Update with Performance Enhancements_0

The official compared it with the web framework Express.js, indicating that the performance of Express.js has been greatly improved in the Bun 1.1.22 version, and the running efficiency is 3 times faster than that of Node.js, and the throughput when handling requests has also increased by 50%.

Bun JavaScript Execution Environment Gets 1.1.22 Update with Performance Enhancements_1

Bun has also been specifically optimized for the Windows platform and added support for Concurrent Transpilation technology, claiming to be able to increase the loading speed of ES modules by 4 times.

In terms of RAM usage, the Bun 1.1.22 version optimized the release timing of the module source code. Now when users reload the code with bun—hot, the RAM usage can be reduced by half. The development team also mentioned that they fixed an error of retaining the source code reference when importing or requesting a module that has been recycled, thus further reducing the RAM consumption.

In terms of Node.js compatibility, Bun has made a lot of improvements and error fixes to ensure that Node.js libraries can run smoothly in Bun, and also makes it easier for developers to migrate applications from Node.js to Bun, improving the practicability and stability of this environment.

Likes