Chrome’s battery life and performance to be improved by throttling background pages

jayar.decenella@gmail.com' By: Jay Decenella
2 minute read

Google Chrome may be the top performing web browser today, but its impressive features often take their toll on battery. That is because Chrome tabs consume a lot of system resources even when they are running in the background. Google is now working on a timer that would throttle background pages in an effort to help improve battery life and browser performance.

The throttling system will be shipping with Chrome 56 and limit the number of JavaScript operations for background tabs. Google intends for the limitation to minimize the CPU usage of Chrome’s background pages, supposedly leading to improved browser performance and prolonged battery life as an indirect result.

Google explained the new mechanism in detail in a Google Docs document which is available for viewing now. The goal is to take on resource intensive JavaScript timers that have grown in significance over the last couple of years as real-time web-based applications proliferate. Think of the emails and chat messages you are notified about in real time: Developers use JavaScript timers to trigger actions at certain points. These timers, however, have been subject to abuse as many developers tend to overload pages with non-stop timers, leading Chrome background tabs to consume huge amounts of memory on a device.

With the new update coming to the stable version of Chrome 56, Google will implement a time budget for each tab. The time budget will control the access to Chrome’s JavaScript processing engine for background pages. Time budget for background tabs can run out if the unfocused pages trigger excessive amount of timers.

Google engineer Alexander Timin describes the throttling mechanism:

  •     Each WebView has a budget (in seconds) for running timers in background.
  •     A timer task is only allowed to run when the budget is non-negative.
  •     After a timer has executed, its run time is subtracted from the budget.
  •     The budget regenerates with time (at rate of 0.01 seconds per second).

Google plans to roll out the new feature for Windows, Mac, Linux, Chrome OS, Android, and Android WebView, though there’s no official release date for the stable Chrome 56 yet.

RELATED STORIES YOU NEED TO CHECK OUT:

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

Discussions

Next up

Best Windows 10 antivirus software to use in 2018

By: Radu Tyrsina
7 minute read

Update – 2018 will soon come to an end and we already have a guide on what is the best antivirus you should get in […]

Continue Reading

These features are out for good with Windows 10 version 1809

iamsovy@gmail.com' By: Sovan Mandal
2 minute read

Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]

Continue Reading

Windows 10 18H2 builds no longer receive new features

By: Matthew Adams
3 minute read

The Windows 10 October 2018 Update (otherwise 18H2) rollout might now be two to three weeks away. For the last few months, new build previews […]

Continue Reading