3 ms·
Some specifics here -- https://developers.google.com/web/updates/2017/03/background_tabs https://developers.google.com/web/updates/2017/03/background... - Each
by booleanbetrayal 10y ago
Some specifics here -- https://developers.google.com/web/updates/2017/03/background_tabs https://developers.google.com/web/updates/2017/03/background...
- Each background tab has a time budget (in seconds) for running timers in the background.
- A page is subjected to time budget limitations after 10 seconds in the background.
- A timer task is allowed to run only when the time budget is non-negative.
- After a timer has executed, its run time is subtracted from the budget.
- The budget continuously regenerates with time (currently set to a rate of 0.01 seconds per second). Note that this budget regeneration rate can be tweaked as Chrome collects more data about throttling behavior.
This still seems very "breaky" for apps that haven't utilized WebSockets or WebRTC for "real-time" updates and rely on polling, unless I'm missing something.