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

Issue 2860573005: Log runtime of StartLoadingFavicon and OnFaviconDataAvailable for JumpList (Closed)

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

Description

Log runtime of StartLoadingFavicon and OnFaviconDataAvailable for JumpList Currently there're lots of redundant of favicon loading calls in JumpList update. The total time cost of one favicon loading process consists of the runtime of one StartLoadingFavicon call, one asynchronous GetFaviconImageForPageURL call and one OnFaviconDataAvailable call. UMA currently knows the total amount of GetFaviconImageForPageURL function calls and their runtime distribution. However, UMA doesn't know its exact contribution from the JumpList update. It would be nice to log some information from the JumpList class so that we know how much we can possibly improve. BUG=40407, 179576, 717236 Review-Url: https://codereview.chromium.org/2860573005 Cr-Commit-Position: refs/heads/master@{#469365} Committed: https://chromium.googlesource.com/chromium/src/+/a16438df21e2fb1b99b8b3f6b80180407c78d3cc

Patch Set 1 #

Patch Set 2 : Add TODO to remove the UMA metric. #

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

Messages

Total messages: 28 (21 generated)
chengx
PTAL, thanks!
3 years, 7 months ago (2017-05-02 23:47:02 UTC) #10
Ilya Sherman
lgtm
3 years, 7 months ago (2017-05-03 00:10:10 UTC) #11
grt (UTC plus 2)
it looks like these are measuring the time of the cheap operations (asking for and ...
3 years, 7 months ago (2017-05-03 09:55:42 UTC) #16
chengx
On 2017/05/03 09:55:42, grt (UTC plus 2) wrote: > it looks like these are measuring ...
3 years, 7 months ago (2017-05-03 17:38:08 UTC) #17
grt (UTC plus 2)
Okay. LGTM.
3 years, 7 months ago (2017-05-04 11:19: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/2860573005/20001
3 years, 7 months ago (2017-05-04 17:02:27 UTC) #25
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 17:09:06 UTC) #28
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/a16438df21e2fb1b99b8b3f6b801...

Powered by Google App Engine
This is Rietveld 408576698