V8 Release 5.4
- 原文: http://v8project.blogspot.com/2016/09/v8-release-54.html
- 译文: https://github.com/magicdawn/magicdawn/blob/master/md/node/v8/V8 Release 5.4.md
Every six weeks, we create a new branch of V8 as part of our release process. Each version is branched from V8’s git master immediately before a Chrome Beta milestone. Today we’re pleased to announce our newest branch, V8 version 5.4, which will be in beta until it is released in coordination with Chrome 54 Stable in several weeks. V8 5.4 is filled will all sorts of developer-facing goodies, so we’d like to give you a preview of some of the highlights in anticipation of the release.
每六周, 我们都会为V8创建一个新分支, 作为 release process 的一部分. 每个版本都是在Chrome 的一个Beta milestone之前从 master 分支立即切出. 今天我们很高兴宣布我们最新的分支, V8 5.4 , 在数周之后的Chrome 54稳定版发布之前, V8 5.4 将会一直是 beta 版. V8 5.4 有很多开发者喜欢的东西, 这里将展示这次发布的一些闪光点.
V8 5.4 delivers a number of key improvements in memory footprint and startup speed. These primarily help accelerate initial script execution and reduce page load in Chrome.
V8 5.4 提供了许多的内存占用和启动速度关键的改进。这些主要是帮助加快启动脚本的执行，并减少Chrome页面加载。
In 5.4 we tuned V8’s garbage collector for low-memory devices with 512 MB RAM or less. Depending on the website displayed this reduces peak memory consumption of on-heap memory up to 40%.
在 5.4 版本中, 我们为 512MB 或 更少的低内存设备调整了垃圾回收器. 根据网站上显示这样减少 on-heap memory 峰值内存消耗高达40％。
Startup & speed
Please check out our summary of API changes . This document is regularly updated a few weeks after each major release.
Developers with an active V8 checkout can use ‘git checkout -b 5.4 -t branch-heads/5.4’ to experiment with the new features in V8 5.4. Alternatively you can subscribe to Chrome’s Beta channel and try the new features out yourself soon.
Posted by the V8 team