Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2439)

Unified Diff: content/public/common/content_features.cc

Issue 2345483002: [scheduler] Throttle background frames with 1% CPU limit (Closed)
Patch Set: [scheduler] Throttle background frames with 1% CPU limit Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/common/content_features.cc
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
index 66ecbba63120635235ca8b08019cd66e73d2f6b2..42755a6ef7093169397c6cf52a7ccbc50fbd5f9a 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -35,6 +35,11 @@ const base::Feature kDefaultEnableGpuRasterization{
const base::Feature kDocumentWriteEvaluator{"DocumentWriteEvaluator",
base::FEATURE_DISABLED_BY_DEFAULT};
+// Throttle tasks in Blink background timer queues based on CPU budgets
+// for the background tab. Bug: crbug.com/639852.
alex clarke (OOO till 29th) 2016/09/27 16:32:10 Maybe: See http://crbug.com/639852
altimin 2016/09/27 17:38:23 https :) Done.
+const base::Feature kExpensiveBackgroundTimerThrottling{
+ "ExpensiveBackgroundTimerThrottling", base::FEATURE_DISABLED_BY_DEFAULT};
+
// Enables the Feature Policy framework for granting and removing access to
// other features through HTTP headers.
const base::Feature kFeaturePolicy{"FeaturePolicy",

Powered by Google App Engine
This is Rietveld 408576698