Stories
Slash Boxes
Comments

SoylentNews is people

posted by Fnord666 on Sunday March 19 2017, @08:07AM   Printer-friendly
from the reining-in-rogue-tabs dept.

Google Chrome 57 restricts out-of-focus background tabs to 1% of a single core's CPU load, with exceptions for tabs that are playing music or maintaining a real-time connection to a server using WebRTC or WebSockets:

In September last year, the Chromium team said changes were coming to Chrome's handling of background tabs, but the changes have landed in the stable branch of Chrome a little sooner than expected. Basically, from now on, background tabs will be limited to an average CPU load of just 1 percent on a single core.

Chrome 57's actual mechanism for background tab throttling is a little more complex. After 10 seconds of being in the background (i.e. not in focus), each tab has a budget (in seconds) for how much CPU wall time it can use. (Wall time is the actual real-world time it takes for a process to start and complete.) The background tab is only allowed to use the CPU if it hasn't consumed its entire budget. Here's the kicker: the budget constantly regenerates, but only at a rate of 0.01 seconds per second.


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 0) by Anonymous Coward on Sunday March 19 2017, @10:13AM (5 children)

    by Anonymous Coward on Sunday March 19 2017, @10:13AM (#481092)

    Play inaudible music in your tab as well if the user agent betrays a google follower...

  • (Score: 2) by Bot on Sunday March 19 2017, @11:58AM

    by Bot (3902) on Sunday March 19 2017, @11:58AM (#481108) Journal

    and if google checks the output level of the played sound to avoid that trick of yours, play the sound of laptop fans. Especially funny if you are on a chromebook.

    --
    Account abandoned.
  • (Score: 2) by takyon on Sunday March 19 2017, @03:22PM (2 children)

    by takyon (881) <reversethis-{gro ... s} {ta} {noykat}> on Sunday March 19 2017, @03:22PM (#481159) Journal

    It has to be audible. If there is a stretch of silence during audio/video playback, the indicator on the tab goes away.

    --
    [SIG] 10/28/2017: Soylent Upgrade v14 [soylentnews.org]
    • (Score: 0) by Anonymous Coward on Sunday March 19 2017, @03:43PM (1 child)

      by Anonymous Coward on Sunday March 19 2017, @03:43PM (#481173)

      Not silence but less than 50 Hz or more than 15 kHz sound for example etc.

  • (Score: 2) by darkfeline on Monday March 20 2017, @09:57PM

    by darkfeline (1030) on Monday March 20 2017, @09:57PM (#481808) Homepage

    Having the audio indicator on a tab without any audible sound is pretty suspicious.

    --
    Join the SDF Public Access UNIX System today!