|
|
DescriptionLog 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. #
Messages
Total messages: 28 (21 generated)
Description was changed from ========== Log favicon loading related method duration BUG= ========== to ========== 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 faviicon loading call consists of one StartLoadingFavicon call, one asynchronous GetFaviconImageForPageURL call and one OnFaviconDataAvailable call. UMA has the information of the total call amount of GetFaviconImageForPageURL and the runtime distribution. However, we don't know how many of them are 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= ==========
Description was changed from ========== 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 faviicon loading call consists of one StartLoadingFavicon call, one asynchronous GetFaviconImageForPageURL call and one OnFaviconDataAvailable call. UMA has the information of the total call amount of GetFaviconImageForPageURL and the runtime distribution. However, we don't know how many of them are 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= ========== to ========== 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 faviicon loading call consists of one StartLoadingFavicon call, one asynchronous GetFaviconImageForPageURL call and one OnFaviconDataAvailable call. UMA has the information of the total call amount of GetFaviconImageForPageURL and the runtime distribution. However, we don't know how many of them are 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= ==========
Description was changed from ========== 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 faviicon loading call consists of one StartLoadingFavicon call, one asynchronous GetFaviconImageForPageURL call and one OnFaviconDataAvailable call. UMA has the information of the total call amount of GetFaviconImageForPageURL and the runtime distribution. However, we don't know how many of them are 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= ========== to ========== 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 has the information about the total amount of GetFaviconImageForPageURL function call and their runtime distribution. However, we don'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= ==========
Description was changed from ========== 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 has the information about the total amount of GetFaviconImageForPageURL function call and their runtime distribution. However, we don'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= ========== to ========== 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 has the information about the total amount of GetFaviconImageForPageURL function call and their runtime distribution. However, we don'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= ==========
Description was changed from ========== 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 has the information about the total amount of GetFaviconImageForPageURL function call and their runtime distribution. However, we don'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= ========== to ========== 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 call and their runtime distribution. However, we don'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= ==========
Description was changed from ========== 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 call and their runtime distribution. However, we don'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= ========== to ========== 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 call 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 ==========
chengx@chromium.org changed reviewers: + grt@chromium.org
Description was changed from ========== 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 call 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 ========== to ========== 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 ==========
chengx@chromium.org changed reviewers: + isherman@chromium.org
PTAL, thanks!
lgtm
The CQ bit was checked by chengx@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
it looks like these are measuring the time of the cheap operations (asking for and then using the favicon) rather than the expensive operation (the asynchronous favicon fetch from the history service). is that your intent?
On 2017/05/03 09:55:42, grt (UTC plus 2) wrote: > it looks like these are measuring the time of the cheap operations (asking for > and then using the favicon) rather than the expensive operation (the > asynchronous favicon fetch from the history service). is that your intent? Not really. The time cost of the asynchronous favicon fetch is already recorded. HistoryService::GetFaviconsForURL does this favicon fetch job actually. You can see its runtime distribution via the link below: https://uma.googleplex.com/p/chrome/profiler/?end_date=20170502&ui_chrome_ver... However, there're a few places calling HistoryService::GetFaviconsForURL, so it's unclear how many samples are coming from the JumpList favicon fetch. You're right, these two methods I'm measuring are much cheaper operations than the favicon fetch. Measuring their runtime is one purpose, but not all. It's not even the major purpose. What I care about the most is the amount of these function calls. Since These two methods should have the same amount of calls as the asynchronous favicon fetch, measuring these methods can answer the question that how many samples of HistoryService::GetFaviconsForURL are coming from JumpList. I'm measuring both of the two methods instead of one just to make the results more convincing to me. Moreover, since measuring the time can give me the information about both the runtime and the number of samples, I think it's not a bad choice.
The CQ bit was checked by chengx@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Okay. LGTM.
The CQ bit was checked by chengx@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from isherman@chromium.org Link to the patchset: https://codereview.chromium.org/2860573005/#ps20001 (title: "Add TODO to remove the UMA metric.")
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 20001, "attempt_start_ts": 1493917299791620, "parent_rev": "357dc8ff5f8b6e82e881b656a9bf3e99bd229540", "commit_rev": "a16438df21e2fb1b99b8b3f6b80180407c78d3cc"}
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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/+/a16438df21e2fb1b99b8b3f6b801... ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/a16438df21e2fb1b99b8b3f6b801... |