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

Issue 2866613002: EQT: Change Expected Queuing Time from per-second to sliding window (Closed)

Created:
3 years, 7 months ago by Liquan (Max) Gu
Modified:
3 years, 7 months ago
Reviewers:
tdresser, Sami
CC:
chromium-reviews, blink-reviews, kinuko+watch, scheduler-bugs_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

EQT: Change Expected Queuing Time from per-second to sliding window In order to record Sliding Window Expected Queuing Time(EQT) Metric in UMA, we need to extend the current EQT from the per-second approach to a sliding window approach. The change makes the original per-second use case a special case of the sliding window use cases. BUG=710449 Review-Url: https://codereview.chromium.org/2866613002 Cr-Commit-Position: refs/heads/master@{#471803} Committed: https://chromium.googlesource.com/chromium/src/+/7a8f8e51e1e0d43cb0a24a629d508bc473864a28

Patch Set 1 #

Total comments: 29

Patch Set 2 : Initilize buffer size at initialization; add documentation to ratio and add illustration of sliding… #

Total comments: 29

Patch Set 3 : Fix EQTCurrentTask; sliding window and test coverage for renderer_scheduler #

Total comments: 20

Patch Set 4 : uma report per window duration; sliding window include the starting points #

Total comments: 18

Patch Set 5 : del clearBuffer #

Total comments: 1

Patch Set 6 : nit #

Total comments: 12

Patch Set 7 : function const; move uma_variable in MainThreadOnly #

Patch Set 8 : rebase only #

Patch Set 9 : escape backslash #

Messages

Total messages: 41 (17 generated)
tdresser
On 2017/05/05 00:19:40, Liquan (Max) Gu wrote: > Description was changed from > > ========== ...
3 years, 7 months ago (2017-05-05 13:32:16 UTC) #4
blink-reviews
Yeah, I uploaded this just yesterday evening. It's ready to review now. On May 5, ...
3 years, 7 months ago (2017-05-05 13:39:38 UTC) #5
chromium-reviews
Yeah, I uploaded this just yesterday evening. It's ready to review now. On May 5, ...
3 years, 7 months ago (2017-05-05 13:39:39 UTC) #6
tdresser
Thanks - mainly style and naming nits. I'll want another pass on this once these ...
3 years, 7 months ago (2017-05-05 14:19:16 UTC) #7
Liquan (Max) Gu
https://codereview.chromium.org/2866613002/diff/1/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc File third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc (right): https://codereview.chromium.org/2866613002/diff/1/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc#newcode97 third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc:97: DLOG(WARNING) << "OnTopLevelTaskCompleted()\n"; On 2017/05/05 14:19:15, tdresser wrote: > ...
3 years, 7 months ago (2017-05-05 22:40:47 UTC) #8
tdresser
https://codereview.chromium.org/2866613002/diff/1/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc File third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc (right): https://codereview.chromium.org/2866613002/diff/1/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc#newcode211 third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc:211: .slide_step_expected_queueing_time); On 2017/05/05 22:40:46, Liquan (Max) Gu wrote: > ...
3 years, 7 months ago (2017-05-08 17:58:15 UTC) #9
Liquan (Max) Gu
https://codereview.chromium.org/2866613002/diff/1/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc File third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc (right): https://codereview.chromium.org/2866613002/diff/1/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc#newcode211 third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc:211: .slide_step_expected_queueing_time); On 2017/05/08 17:58:14, tdresser wrote: > On 2017/05/05 ...
3 years, 7 months ago (2017-05-10 15:08:27 UTC) #10
Liquan (Max) Gu
https://codereview.chromium.org/2866613002/diff/20001/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc File third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc (right): https://codereview.chromium.org/2866613002/diff/20001/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc#newcode109 third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc:109: QueueingTimeEstimator(this, base::TimeDelta::FromSeconds(1), 1)), On 2017/05/08 17:58:15, tdresser wrote: > ...
3 years, 7 months ago (2017-05-10 15:14:21 UTC) #11
tdresser
https://codereview.chromium.org/2866613002/diff/20001/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc File third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc (right): https://codereview.chromium.org/2866613002/diff/20001/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc#newcode70 third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc:70: state_.window_step_width = window_duration / window_duration_step_ratio; On 2017/05/10 15:08:26, Liquan ...
3 years, 7 months ago (2017-05-10 18:54:32 UTC) #12
Liquan (Max) Gu
https://codereview.chromium.org/2866613002/diff/40001/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc File third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc (right): https://codereview.chromium.org/2866613002/diff/40001/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc#newcode63 third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc:63: // step width, and the number of bins of ...
3 years, 7 months ago (2017-05-11 00:57:29 UTC) #13
tdresser
This is almost there. Thanks for the great tests and diagrams! https://codereview.chromium.org/2866613002/diff/40001/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc File third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc (right): ...
3 years, 7 months ago (2017-05-11 13:52:45 UTC) #14
Liquan (Max) Gu
https://codereview.chromium.org/2866613002/diff/60001/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc File third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc (right): https://codereview.chromium.org/2866613002/diff/60001/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc#newcode153 third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc:153: for (uint i = 0; i < circular_buffer_.size(); i++) ...
3 years, 7 months ago (2017-05-11 15:14:13 UTC) #15
tdresser
LGTM with nit. +skyostil for OWNERs review. https://codereview.chromium.org/2866613002/diff/60001/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc File third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc (right): https://codereview.chromium.org/2866613002/diff/60001/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc#newcode153 third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc:153: for (uint ...
3 years, 7 months ago (2017-05-11 15:55:11 UTC) #17
Sami
Thanks for the improvement! lgtm with nits. Please also wrap the commit message at 72 ...
3 years, 7 months ago (2017-05-12 16:06:27 UTC) #18
Liquan (Max) Gu
https://codereview.chromium.org/2866613002/diff/100001/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.h File third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.h (right): https://codereview.chromium.org/2866613002/diff/100001/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.h#newcode35 third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.h:35: RunningAverage(int steps_per_window); On 2017/05/12 16:06:26, Sami wrote: > Add ...
3 years, 7 months ago (2017-05-12 18:25:45 UTC) #20
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/2866613002/120001
3 years, 7 months ago (2017-05-12 18:27:43 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/268470) linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 7 months ago (2017-05-12 18:57:11 UTC) #25
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/2866613002/140001
3 years, 7 months ago (2017-05-12 20:45:14 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/292918)
3 years, 7 months ago (2017-05-12 21:21:48 UTC) #30
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/2866613002/160001
3 years, 7 months ago (2017-05-12 21:39:24 UTC) #33
Liquan (Max) Gu
skyostill@ You are right that we need to escape the back-slash at the end of ...
3 years, 7 months ago (2017-05-12 21:40:06 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/443566)
3 years, 7 months ago (2017-05-13 00:28:32 UTC) #36
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/2866613002/160001
3 years, 7 months ago (2017-05-15 14:35:59 UTC) #38
commit-bot: I haz the power
3 years, 7 months ago (2017-05-15 16:53:28 UTC) #41
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/7a8f8e51e1e0d43cb0a24a629d50...

Powered by Google App Engine
This is Rietveld 408576698