Node.js 12.5: Shortened startup time with V8 snapshots

Node.js 12.5 is there, enabling the V8 snapshots by default. This should shorten the start time of Node applications. In addition, the update for the latest current release branch has a few new features in its luggage.

Node.js 12.5 should significantly reduce the start time for applications written with Node. For this purpose, the individual snapshots from V8, which had previously been integrated as an experimental feature, were activated by default. The V8 Snapshots feature is a feature that speeds set-up and initialization of built-in speech features in the JavaScript engine V8 in Chrome. For this purpose, prepared snapshot files are retrieved instead of freshly loading the corresponding features into the V8 heap.

Node.js 12.5 released

Also new in Node Update is that napi_define_* accessors are now ECMAScript compliant. The reporting was also working. While the CPU utilization reports used to be percentage-based, it did not take into account the number of CPU cores, so the actual CPU usage was only noticeable on a single core. This has now been changed. The corresponding information can be found in the report as of node 12.5. Another new release in the release concerns worker.terminate() , which is now returning a promise. The use of callbacks at this point has been marked as deprecated.

For more information about Node 12.5, see the release notes in the Node Blog.

Recent Articles

Angular 9 final release released

Angular 9 final is here! The new version was released a little late. Ivy is of course one of the new features, but that's...

VS Code update: New preview features, movable panel and Docker tutorials

The first VS Code update in 2020 was released. In addition to new preview features, parts of the workbench have been revised and the...

Purify: Library for functional programming in TypeScript

The Purify library was developed for functional programming in TypeScript. It should make it possible to use frequently used patterns from functional programming languages...

Angular 9 update: Release Candidates

Angular 9 update: release candidate has been released. Here are some bug fixes and performance improvements. However, there are no new features in Angular...

Frontend Tools 2019 survey: jQuery Threatened

Frontend Tools 2019 survey showed that React is voted the most important as well as the most widely used JavaScript tool. For the first...

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here