New Delhi: Google has announced that its Chrome browser is now up to 23 per cent faster and saves 17 years of CPU time daily for the users.
A key component of delivering a fast browser is fast JavaScript execution.
“In Chrome, that job is done by the V8 JavaScript engine which executes over 78 years worth of JavaScript code on a daily basis.
“In M91, Chrome is now up to 23 per cent faster with the launch of a new Sparkplug compiler and short builtin calls, saving over 17 years of our users’ CPU time each day .
Sparkplug is a new JavaScript compiler that fills the gap between needing to start executing quickly and optimising the code for maximum performance.
“Short builtin calls optimise where in memory we put generated code to avoid indirect jumps when calling functions,” Google said in an update.
The V8 engine has multiple compilers which can make different tradeoffs throughout the various phases of executing JavaScript.
Short builtins is a mechanism by which the V8 engine optimises the location in memory of generated code.
“This change is especially impactful for the new Apple M1 chip,” Google said.
Google’s V8 JavaScript engine was launched in 2008.
It lets developers write much larger applications for the browser in JavaScript and gave Google Chrome and open-source Chromium project a lead over other browsers.
Microsoft also released version 91 of its Chromium-based Edge browser this week. The company claimed “sleeping” tabs now saves up to 82 per cent of the demand on memory.