Commit 3306b3ed authored by kbr@google.com's avatar kbr@google.com

Increase the minimum interval for timers on background tabs to reduce

their CPU consumption.

The new interval is 1000 ms, or once per second. We can easily adjust
this value up or down, but this seems like a reasonable value to judge
the compatibility impact of this change.

BUG=66078
TEST=none (tested manually with minimal test case)

Review URL: http://codereview.chromium.org/6546021

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75430 0039d316-1c4b-4281-b951-d872f2087c98
parent e888d1b1
......@@ -15,7 +15,7 @@ namespace webkit_glue {
const double kForegroundTabTimerInterval = 0.004;
// Provides control over the minimum timer interval for background tabs.
const double kBackgroundTabTimerInterval = 0.004;
const double kBackgroundTabTimerInterval = 1.0;
} // namespace webkit_glue
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment