Are you a fan of Google Chrome? You will like some of the future implementations. The company hasĀ announcedĀ still-to-come enhancement which someĀ developers worried it could affect the proper functioning of their websites.
Alexander Timin a Chromium engineerĀ detailed a future implementation that will essentially prompt ChromeĀ to aggressively throttle resourcesĀ in background tabs in order to prolong battery life and improve the overall browsing performance.
The update will moderate pagesĀ with heavy JavaScript ads and analytics scripts by limiting on the processing resources allocated to background activities consumption.
With this tweak, theĀ background tabs will drain less CPU power.
Hereās a summary of the proposed modifications as outlined by Timin:
- 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).