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

Issue 2808063002: Add DownloadStatus metric to FaviconHandler (Closed)

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

Description

Add DownloadStatus metric to FaviconHandler This metric records how often single icon downloads fail with 404 and how often 404'ing icons can be skipped because they were already known. BUG=694956 Review-Url: https://codereview.chromium.org/2808063002 Cr-Commit-Position: refs/heads/master@{#465545} Committed: https://chromium.googlesource.com/chromium/src/+/be0a6071e24bc1e0f432533042d3d813bbe6ed3f

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rename histogram enum descriptions #

Total comments: 8

Patch Set 3 : Simplify tests and adress comments #

Total comments: 8

Patch Set 4 : Optimize UMA macro usage #

Total comments: 2

Patch Set 5 : Remove unnecessary cast #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -0 lines) Patch
M components/favicon/core/favicon_handler.h View 1 2 3 4 5 1 chunk +13 lines, -0 lines 0 comments Download
M components/favicon/core/favicon_handler.cc View 1 2 3 4 5 3 chunks +9 lines, -0 lines 0 comments Download
M components/favicon/core/favicon_handler_unittest.cc View 1 2 3 4 5 chunks +44 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 2 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (16 generated)
fhorschig
Hi Jan, would you please have a look at the third and last metric for ...
3 years, 8 months ago (2017-04-10 12:20:53 UTC) #2
jkrcal
lgtm % nits https://codereview.chromium.org/2808063002/diff/1/components/favicon/core/favicon_handler.h File components/favicon/core/favicon_handler.h (right): https://codereview.chromium.org/2808063002/diff/1/components/favicon/core/favicon_handler.h#newcode81 components/favicon/core/favicon_handler.h:81: // These values must stay in ...
3 years, 8 months ago (2017-04-10 12:29:38 UTC) #3
fhorschig
Thanks! https://codereview.chromium.org/2808063002/diff/1/components/favicon/core/favicon_handler.h File components/favicon/core/favicon_handler.h (right): https://codereview.chromium.org/2808063002/diff/1/components/favicon/core/favicon_handler.h#newcode81 components/favicon/core/favicon_handler.h:81: // These values must stay in sync with ...
3 years, 8 months ago (2017-04-10 13:45:37 UTC) #4
fhorschig
Hi Peter, would you please take a look at the newest, least controversial FaviconHandler metric?
3 years, 8 months ago (2017-04-10 13:47:05 UTC) #6
pkotwicz
https://codereview.chromium.org/2808063002/diff/20001/components/favicon/core/favicon_handler.cc File components/favicon/core/favicon_handler.cc (right): https://codereview.chromium.org/2808063002/diff/20001/components/favicon/core/favicon_handler.cc#newcode382 components/favicon/core/favicon_handler.cc:382: } else if (http_status_code == 200) { Can we ...
3 years, 8 months ago (2017-04-10 18:30:59 UTC) #7
fhorschig
https://codereview.chromium.org/2808063002/diff/20001/components/favicon/core/favicon_handler.cc File components/favicon/core/favicon_handler.cc (right): https://codereview.chromium.org/2808063002/diff/20001/components/favicon/core/favicon_handler.cc#newcode382 components/favicon/core/favicon_handler.cc:382: } else if (http_status_code == 200) { On 2017/04/10 ...
3 years, 8 months ago (2017-04-11 12:24:54 UTC) #8
pkotwicz
LGTM
3 years, 8 months ago (2017-04-12 02:25:01 UTC) #9
fhorschig
Hi Ilya, would you please have a look at the DownloadStatus metric in histograms.xml?
3 years, 8 months ago (2017-04-12 08:21:46 UTC) #11
Ilya Sherman
https://codereview.chromium.org/2808063002/diff/40001/components/favicon/core/favicon_handler.cc File components/favicon/core/favicon_handler.cc (right): https://codereview.chromium.org/2808063002/diff/40001/components/favicon/core/favicon_handler.cc#newcode385 components/favicon/core/favicon_handler.cc:385: UMA_HISTOGRAM_COUNTS_100("Favicons.DownloadOutcome", Could this be UMA_HISTOGRAM_SPARSE_SLOWLY or UMA_HISTOGRAM_ENUMERATION? UMA_HISTOGRAM_COUNTS_100 does ...
3 years, 8 months ago (2017-04-12 23:22:14 UTC) #12
fhorschig
https://codereview.chromium.org/2808063002/diff/40001/components/favicon/core/favicon_handler.cc File components/favicon/core/favicon_handler.cc (right): https://codereview.chromium.org/2808063002/diff/40001/components/favicon/core/favicon_handler.cc#newcode385 components/favicon/core/favicon_handler.cc:385: UMA_HISTOGRAM_COUNTS_100("Favicons.DownloadOutcome", On 2017/04/12 23:22:13, Ilya Sherman wrote: > Could ...
3 years, 8 months ago (2017-04-13 15:14:05 UTC) #13
Ilya Sherman
Metrics LGTM, thanks. https://codereview.chromium.org/2808063002/diff/60001/components/favicon/core/favicon_handler.cc File components/favicon/core/favicon_handler.cc (right): https://codereview.chromium.org/2808063002/diff/60001/components/favicon/core/favicon_handler.cc#newcode84 components/favicon/core/favicon_handler.cc:84: "Favicons.DownloadOutcome", static_cast<int>(outcome), nit: The static_cast should ...
3 years, 8 months ago (2017-04-13 21:24:43 UTC) #18
fhorschig
https://codereview.chromium.org/2808063002/diff/60001/components/favicon/core/favicon_handler.cc File components/favicon/core/favicon_handler.cc (right): https://codereview.chromium.org/2808063002/diff/60001/components/favicon/core/favicon_handler.cc#newcode84 components/favicon/core/favicon_handler.cc:84: "Favicons.DownloadOutcome", static_cast<int>(outcome), On 2017/04/13 21:24:43, Ilya Sherman wrote: > ...
3 years, 8 months ago (2017-04-18 15:27:18 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/2808063002/100001
3 years, 8 months ago (2017-04-19 10:13:01 UTC) #26
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 10:17:35 UTC) #29
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/be0a6071e24bc1e0f432533042d3...

Powered by Google App Engine
This is Rietveld 408576698