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

Most in-demand IT jobs from last decade

Uber for travel, Netflix for leisure and Google for everything is the ideal routine that we all wish to follow, of course with Instagram...

The finest text editor for professional bloggers

It is a fact that blogs have replaced books and magazines due to increasing popularity of the online world. Serious readers subscribe to blogs...

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...

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here