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

Issue 2476973002: [scheduler] Report background timer throttling intervention. (Closed)

Created:
4 years, 1 month ago by altimin
Modified:
4 years, 1 month ago
CC:
chromium-reviews, blink-reviews, scheduler-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[scheduler] Report background timer throttling intervention. Use InterventionReporter to report throttling to the console if the throttling delay is greater than 3 seconds. (It doesn't make sense to report smaller throttling durations given that we align timers to 1Hz). BUG=639852 Committed: https://crrev.com/74942b51aa27981ee18d9cbfe1425a250ab76abc Cr-Commit-Position: refs/heads/master@{#430704}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Addressed comments #

Patch Set 3 : base::Optional<base::Callback> -> base::Callback #

Total comments: 2

Messages

Total messages: 14 (5 generated)
altimin
PTAL
4 years, 1 month ago (2016-11-04 16:21:04 UTC) #2
Sami
https://codereview.chromium.org/2476973002/diff/1/third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h File third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h (right): https://codereview.chromium.org/2476973002/diff/1/third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h#newcode89 third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h:89: // is throttled. Please explain what value the callback ...
4 years, 1 month ago (2016-11-04 17:51:49 UTC) #3
alex clarke (OOO till 29th)
https://codereview.chromium.org/2476973002/diff/1/third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h File third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h (right): https://codereview.chromium.org/2476973002/diff/1/third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h#newcode89 third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h:89: // is throttled. On 2016/11/04 17:51:49, Sami wrote: > ...
4 years, 1 month ago (2016-11-07 16:53:10 UTC) #4
altimin
PTAL https://codereview.chromium.org/2476973002/diff/1/third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h File third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h (right): https://codereview.chromium.org/2476973002/diff/1/third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h#newcode89 third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h:89: // is throttled. On 2016/11/07 16:53:10, alex clarke ...
4 years, 1 month ago (2016-11-07 17:25:30 UTC) #5
Sami
Thanks for the changes, lgtm. https://codereview.chromium.org/2476973002/diff/40001/third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.cc File third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.cc (right): https://codereview.chromium.org/2476973002/diff/40001/third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.cc#newcode199 third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.cc:199: reporting_callback_.Run(-current_budget_level_ / cpu_percentage_); nit: ...
4 years, 1 month ago (2016-11-08 19:05:09 UTC) #6
altimin
https://codereview.chromium.org/2476973002/diff/40001/third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.cc File third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.cc (right): https://codereview.chromium.org/2476973002/diff/40001/third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.cc#newcode199 third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.cc:199: reporting_callback_.Run(-current_budget_level_ / cpu_percentage_); On 2016/11/08 19:05:08, Sami wrote: > ...
4 years, 1 month ago (2016-11-08 19:08:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2476973002/40001
4 years, 1 month ago (2016-11-08 19:09:16 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-08 20:42:02 UTC) #12
commit-bot: I haz the power
4 years, 1 month ago (2016-11-08 21:00:07 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/74942b51aa27981ee18d9cbfe1425a250ab76abc
Cr-Commit-Position: refs/heads/master@{#430704}

Powered by Google App Engine
This is Rietveld 408576698