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

Issue 2600023002: Remove worker pool names from TaskScheduler.TaskLatency.* histograms. (Closed)

Created:
3 years, 12 months ago by fdoray
Modified:
3 years, 11 months ago
Reviewers:
gab, rkaplow
CC:
chromium-reviews, gab+watch_chromium.org, robliao+watch_chromium.org, fdoray+watch_chromium.org, asvitkine+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove worker pool names from TaskScheduler.TaskLatency.* histograms. These histograms: - TaskScheduler.TaskLatency.BackgroundPool.BackgroundTaskPriority - TaskScheduler.TaskLatency.BackgroundPool.UserVisibleTaskPriority - TaskScheduler.TaskLatency.BackgroundPool.UserBlockingTaskPriority - TaskScheduler.TaskLatency.BackgroundFileIOPool.BackgroundTaskPriority - TaskScheduler.TaskLatency.BackgroundFileIOPool.UserVisibleTaskPriority - TaskScheduler.TaskLatency.BackgroundFileIOPool.UserBlockingTaskPriority - TaskScheduler.TaskLatency.ForegroundPool.BackgroundTaskPriority - TaskScheduler.TaskLatency.ForegroundPool.UserVisibleTaskPriority - TaskScheduler.TaskLatency.ForegroundPool.UserBlockingTaskPriority - TaskScheduler.TaskLatency.ForegroundFileIOPool.BackgroundTaskPriority - TaskScheduler.TaskLatency.ForegroundFileIOPool.UserVisibleTaskPriority - TaskScheduler.TaskLatency.ForegroundFileIOPool.UserBlockingTaskPriority are replaced with: - TaskScheduler.TaskLatency.BackgroundTaskPriority - TaskScheduler.TaskLatency.BackgroundTaskPriority.MayBlock - TaskScheduler.TaskLatency.UserVisibleTaskPriority - TaskScheduler.TaskLatency.UserVisibleTaskPriority.MayBlock - TaskScheduler.TaskLatency.UserBlockingTaskPriority - TaskScheduler.TaskLatency.UserBlockingTaskPriority.MayBlock Not having a pool name in task latency histogram names will allow us to keep track of the latency of each type of task when running experiments that change the way TaskTraits are mapped to pools. BUG=553459 Review-Url: https://codereview.chromium.org/2600023002 Cr-Commit-Position: refs/heads/master@{#442022} Committed: https://chromium.googlesource.com/chromium/src/+/9d43cc2631f51968d3790e8709dde20bdedb5a6d

Patch Set 1 #

Patch Set 2 : self-review #

Total comments: 13

Patch Set 3 : rebase #

Patch Set 4 : CR gab #8 #

Patch Set 5 : self-review (add const) #

Total comments: 4

Patch Set 6 : CR gab #15 (remove friend) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -111 lines) Patch
M base/task_scheduler/scheduler_worker.h View 1 2 1 chunk +2 lines, -5 lines 0 comments Download
M base/task_scheduler/scheduler_worker.cc View 1 2 3 1 chunk +4 lines, -5 lines 0 comments Download
M base/task_scheduler/scheduler_worker_pool_impl.h View 1 2 3 chunks +1 line, -10 lines 0 comments Download
M base/task_scheduler/scheduler_worker_pool_impl.cc View 1 2 5 chunks +3 lines, -46 lines 0 comments Download
M base/task_scheduler/scheduler_worker_stack_unittest.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M base/task_scheduler/scheduler_worker_unittest.cc View 1 2 8 chunks +25 lines, -34 lines 0 comments Download
M base/task_scheduler/task_tracker.h View 1 2 3 4 5 3 chunks +14 lines, -2 lines 0 comments Download
M base/task_scheduler/task_tracker.cc View 1 2 3 6 chunks +36 lines, -1 line 0 comments Download
M base/task_scheduler/task_tracker_unittest.cc View 1 2 3 4 3 chunks +51 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 chunks +36 lines, -5 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 27 (16 generated)
fdoray
PTAL
3 years, 12 months ago (2016-12-23 19:47:06 UTC) #5
gab
lgtm w/ comments https://codereview.chromium.org/2600023002/diff/20001/base/task_scheduler/scheduler_worker.cc File base/task_scheduler/scheduler_worker.cc (right): https://codereview.chromium.org/2600023002/diff/20001/base/task_scheduler/scheduler_worker.cc#newcode81 base/task_scheduler/scheduler_worker.cc:81: std::unique_ptr<Task> task = sequence->TakeTask(); inline https://codereview.chromium.org/2600023002/diff/20001/base/task_scheduler/task_tracker.cc ...
3 years, 11 months ago (2017-01-05 19:25:46 UTC) #8
fdoray
rkaplow@: PTAL https://codereview.chromium.org/2600023002/diff/20001/base/task_scheduler/scheduler_worker.cc File base/task_scheduler/scheduler_worker.cc (right): https://codereview.chromium.org/2600023002/diff/20001/base/task_scheduler/scheduler_worker.cc#newcode81 base/task_scheduler/scheduler_worker.cc:81: std::unique_ptr<Task> task = sequence->TakeTask(); On 2017/01/05 19:25:46, ...
3 years, 11 months ago (2017-01-05 20:13:38 UTC) #11
gab
https://codereview.chromium.org/2600023002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/2600023002/diff/20001/tools/metrics/histograms/histograms.xml#oldcode115548 tools/metrics/histograms/histograms.xml:115548: <affected-histogram name="TaskScheduler.NumTasksBetweenWaits"/> On 2017/01/05 20:13:38, fdoray wrote: > On ...
3 years, 11 months ago (2017-01-05 22:16:36 UTC) #15
fdoray
rkaplow@: PTAL https://codereview.chromium.org/2600023002/diff/80001/base/task_scheduler/task_tracker.cc File base/task_scheduler/task_tracker.cc (right): https://codereview.chromium.org/2600023002/diff/80001/base/task_scheduler/task_tracker.cc#newcode198 base/task_scheduler/task_tracker.cc:198: 1)); On 2017/01/05 22:16:36, gab wrote: > ...
3 years, 11 months ago (2017-01-05 22:31:58 UTC) #16
gab
lgtm++
3 years, 11 months ago (2017-01-05 22:49:00 UTC) #17
rkaplow
lgtm
3 years, 11 months ago (2017-01-06 15:41:13 UTC) #18
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/2600023002/100001
3 years, 11 months ago (2017-01-06 16:19:32 UTC) #20
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/359194)
3 years, 11 months ago (2017-01-06 18:46:18 UTC) #22
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/2600023002/100001
3 years, 11 months ago (2017-01-06 18:54:18 UTC) #24
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 20:13:00 UTC) #27
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/9d43cc2631f51968d3790e8709dd...

Powered by Google App Engine
This is Rietveld 408576698