Elevate your enterprise data technology and strategy at Transform 2021.
When Google released Chrome 41 and Chrome 42 beta earlier this month, the company said the former included “lots of under the hood changes for stability and performance” and that the latter was a “performance-focused build.” Today, the company has shared that users can expect a speed boost thanks to two new features: script streaming and code caching.
Script streaming is particularly effective when a page uses large scripts or if a user is on a slow network connection. Google says pages can load up to 10 percent faster with this feature.
Previous versions of Chrome would grab scripts in full before starting to parse them, which meant the CPU wasn’t doing much during the download process. In Chrome 41, the browser parses async and deferred scripts on a separate thread as soon as the download has begun, letting the parsing complete just milliseconds after the download has finished.
Code caching is very useful on repeated visits to the same page. Google says Chrome can avoid about 40 percent of compile time across all page loads and save battery life on mobile devices with this feature.
Going forward, Chrome will store a local copy of the compiled code so the browser can skip all the downloading, parsing, and compiling steps when the user returns to the same page. Chrome 42 is still in beta, but when it hits the stable channel, all users will see this improvement.
In other words, even if a browser is fast in a suite of tests, it still has to feel fast to the user. At the end of the day, that’s what matters.
VentureBeatVentureBeat's mission is to be a digital town square for technical decision-makers to gain knowledge about transformative technology and transact. Our site delivers essential information on data technologies and strategies to guide you as you lead your organizations. We invite you to become a member of our community, to access:
- up-to-date information on the subjects of interest to you
- our newsletters
- gated thought-leader content and discounted access to our prized events, such as Transform 2021: Learn More
- networking features, and more