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 Next Versions: Ivy, Bazel and more

Angular 9 next versions are here. Besides updates to Ivy, the update includes three features for the Language Service and Service Worker and changes...

Google Releases Dart 2.5: Code Completion through Machine Learning

The latest version of Googles C-Alternative, Go 1.13, is barely released, as the JavaScript derivative of the Internet giant follows: Dart 2.5 is here!...

Laravel 6.0 is here: Support for Serverless Platform Laravel Vapor

A new update is available for the framework Laravel. Laravel 6.0 is compatible with Laravel Vapor, a serverless deployment platform. The development team has...

Microsoft’s FaaS service Azure Functions: Now with Python support

Azure Functions has received support for Python: Microsoft's FaaS service can host Python workloads for data science, machine learning, and more. So far, the...

On the way to Angular 9: Three bugfixes in Angular 9

With Angular 9.0.0-next.1 there is a second Next-Release available for Angular 9, which can now be tested. The number of changes to the version...

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here