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

Issue 2964873002: Log the ratio of the duration spent adding the two JumpList categories (Closed)

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

Description

Log the ratio of the duration spent adding the two JumpList categories This CL logs the ratio of the duration spent adding the most-visited category compared to the duration spent adding the recently-closed category. In crrev/2965773002, a new timeout threshold is needed after updating the usage of JumpListUpdater::AddCustomCategory. See more details in the last paragraph of the CL description. This CL logs the ratio to help generate a good threshold. BUG=733034 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng Review-Url: https://codereview.chromium.org/2964873002 Cr-Commit-Position: refs/heads/master@{#484452} Committed: https://chromium.googlesource.com/chromium/src/+/1fca937e8656e8b5c5842bf7e99eecfe89b18cad

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address comments from isherman@ #

Patch Set 3 : Remove explicit cast, update comments #

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

Messages

Total messages: 43 (34 generated)
chengx
PTAL~
3 years, 5 months ago (2017-07-03 23:18:23 UTC) #8
Ilya Sherman
Metrics LGTM % comments: https://codereview.chromium.org/2964873002/diff/40001/chrome/browser/win/jumplist.cc File chrome/browser/win/jumplist.cc (right): https://codereview.chromium.org/2964873002/diff/40001/chrome/browser/win/jumplist.cc#newcode770 chrome/browser/win/jumplist.cc:770: (add_category_total_time - most_visited_category_time).InMillisecondsF(); nit: Mebbe ...
3 years, 5 months ago (2017-07-04 03:41:20 UTC) #9
chengx
Hi Ilya, I've addressed your comments in the new patch set. Thanks! https://codereview.chromium.org/2964873002/diff/40001/chrome/browser/win/jumplist.cc File chrome/browser/win/jumplist.cc ...
3 years, 5 months ago (2017-07-04 06:02:16 UTC) #13
chengx
+pmonette@ for jumplist.cc
3 years, 5 months ago (2017-07-05 17:35:16 UTC) #17
Patrick Monette
lgtm
3 years, 5 months ago (2017-07-05 18:23:33 UTC) #19
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/2964873002/80001
3 years, 5 months ago (2017-07-05 19:19:51 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/448654)
3 years, 5 months ago (2017-07-05 20:19:06 UTC) #24
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/2964873002/80001
3 years, 5 months ago (2017-07-06 03:07:38 UTC) #40
commit-bot: I haz the power
3 years, 5 months ago (2017-07-06 03:13:45 UTC) #43
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/1fca937e8656e8b5c5842bf7e99e...

Powered by Google App Engine
This is Rietveld 408576698