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

Issue 2811393002: Log UpdateJumpList() and CreateIconFiles() execution time to UMA (Closed)

Created:
3 years, 8 months ago by chengx
Modified:
3 years, 8 months ago
Reviewers:
gab, Ilya Sherman
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Log UpdateJumpList() and CreateIconFiles() execution time to UMA The separation of JumpListIcons delete tasks and update tasks as in crrev.com/2807883002 indicates the update task (i.e., RunUpdateJumpList method) is now the major contributor of the overall long execution time. So it's time to investigate the subtasks in RunUpdateJumpList(). The count of the new icon files that will be created per update is also logged to UMA. BUG=40407, 179576 Review-Url: https://codereview.chromium.org/2811393002 Cr-Commit-Position: refs/heads/master@{#464510} Committed: https://chromium.googlesource.com/chromium/src/+/6f797ffc358c069eb954a59ea811c12d80208feb

Patch Set 1 #

Patch Set 2 : Log the count of the new icon files created to UMA. #

Total comments: 2

Patch Set 3 : Better UMA metric names #

Total comments: 2

Patch Set 4 : Add TODO comments #

Patch Set 5 : Merge branch 'master' of https://chromium.googlesource.com/chromium/src into lookintoupdatejumplist #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -0 lines) Patch
M chrome/browser/win/jumplist.cc View 1 2 3 4 3 chunks +12 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 2 chunks +24 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (29 generated)
chengx
PTAL at this small change. Thanks! gab@ for jumplist.cc isherman@ for histograms.xml
3 years, 8 months ago (2017-04-12 19:31:26 UTC) #7
Ilya Sherman
Metrics LGTM % a nit: https://codereview.chromium.org/2811393002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2811393002/diff/20001/tools/metrics/histograms/histograms.xml#newcode81470 tools/metrics/histograms/histograms.xml:81470: +<histogram name="WinJumplist.CreateIconFiles" units="ms"> Optional ...
3 years, 8 months ago (2017-04-12 23:33:34 UTC) #15
gab
lgtm https://codereview.chromium.org/2811393002/diff/40001/chrome/browser/win/jumplist.cc File chrome/browser/win/jumplist.cc (right): https://codereview.chromium.org/2811393002/diff/40001/chrome/browser/win/jumplist.cc#newcode124 chrome/browser/win/jumplist.cc:124: SCOPED_UMA_HISTOGRAM_TIMER("WinJumplist.CreateIconFilesDuration"); Add // TODO(chengx): Remove after settling http://crbug.com/40407. ...
3 years, 8 months ago (2017-04-13 15:14:22 UTC) #24
chengx
All the comments are addressed in the new patch set. Thanks! https://codereview.chromium.org/2811393002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): ...
3 years, 8 months ago (2017-04-13 19:21:52 UTC) #29
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/2811393002/80001
3 years, 8 months ago (2017-04-13 19:22:54 UTC) #32
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 19:43:28 UTC) #35
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/6f797ffc358c069eb954a59ea811...

Powered by Google App Engine
This is Rietveld 408576698