# Chrome Experimental Feature Will Throttle Javascript-Timer Wakeups on Backgrounded Tabs

**URL:** <https://onehack.st/t/chrome-experimental-feature-will-throttle-javascript-timer-wakeups-on-backgrounded-tabs/95318>\
**Category:** News & Articles\
**Tags:** programming, technology, browsers\
**Created:** [July 6, 2020, 12:10pm UTC](https://onehack.st/t/chrome-experimental-feature-will-throttle-javascript-timer-wakeups-on-backgrounded-tabs/95318 "2020-07-06T12:10:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Astrid](https://onehack.st/user_avatar/onehack.st/astrid/32/174869_2.png) [@Astrid](https://onehack.st/u/Astrid)\
**Post date:** [July 6, 2020, 12:10pm UTC](https://onehack.st/t/chrome-experimental-feature-will-throttle-javascript-timer-wakeups-on-backgrounded-tabs/95318/1 "2020-07-06T12:10:31Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/1/4/14a67349748066b0f9e5170d66e9e4f1c31a04f5.jpeg)

Slashdot reader [techtsp](https://tech.slashdot.org/~techtsp) writes:

_Starting with October’s release of Chrome 86, the web browser will offer a way to limit JavaScript timer wake ups in background web pages to one wake up per minute, [restricting the execution of certain background tasks](https://news.thewindowsclub.com/google-chrome-ships-a-new-feature-to-increase-the-battery-life-101417/) — for example, checking if the scroll position changed, reporting logs, and analyzing interactions with ads. Google plans to achieve this courtesy of a new experimental feature called “Throttle Javascript timers in background.”_

 

Google recently experimented with a prototype that limits Javascript timer wake ups to one per minute. In this experiment, Google opened 36 random tabs in the background while the foreground tab was _about:blank._ At the end of the experiment, Google found that throttling Javascript timers extends the battery life by almost 2 hours (28 percent) for a user with up to 36 background tabs, and when the foreground tab is _about:blank…_

_Chrome will provide developers with a message in the DevTools console when a Javascript timer is delayed by more than 5 seconds._
