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

Issue 2314273003: [Offline Pages] Adds duplicate detection metrics. (Closed)

Created:
4 years, 3 months ago by dewittj
Modified:
4 years, 3 months ago
Reviewers:
Mark P, fgorski
CC:
chromium-reviews, romax+watch_chromium.org, fgorski+watch_chromium.org, dewittj+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, asvitkine+watch_chromium.org, dimich+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Offline Pages] Adds duplicate detection metrics. We want to know whether the UI for showing page downloads as starting is sufficient to let the user know that something is happening. The hypothesis is that if users get too many duplicate pages then they aren't noticing that the pages are getting saved on the first button click. BUG=643748 Committed: https://crrev.com/1e3105ed9096bf45f4ca2d79b4a682adc1d1d9ae Cr-Commit-Position: refs/heads/master@{#418331}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix the nit and add a clarifying comment. #

Patch Set 3 : Fix uninitialized variable #

Total comments: 14

Patch Set 4 : Fix nits and comments. #

Total comments: 5

Patch Set 5 : Move to CUSTOM_COUNTS macro instead of CUSTOM_TIMES. #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -3 lines) Patch
M components/offline_pages/offline_page_model_impl.cc View 1 2 3 4 5 4 chunks +77 lines, -3 lines 0 comments Download
M components/offline_pages/offline_page_model_impl_unittest.cc View 1 2 2 chunks +43 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (26 generated)
dewittj
ptal, thanks!
4 years, 3 months ago (2016-09-07 04:22:28 UTC) #3
fgorski
https://codereview.chromium.org/2314273003/diff/1/components/offline_pages/offline_page_model_impl.cc File components/offline_pages/offline_page_model_impl.cc (right): https://codereview.chromium.org/2314273003/diff/1/components/offline_pages/offline_page_model_impl.cc#newcode170 components/offline_pages/offline_page_model_impl.cc:170: count++; shouldn't this be incremented when you have a ...
4 years, 3 months ago (2016-09-07 22:08:35 UTC) #8
dewittj
https://codereview.chromium.org/2314273003/diff/1/components/offline_pages/offline_page_model_impl.cc File components/offline_pages/offline_page_model_impl.cc (right): https://codereview.chromium.org/2314273003/diff/1/components/offline_pages/offline_page_model_impl.cc#newcode170 components/offline_pages/offline_page_model_impl.cc:170: count++; On 2016/09/07 22:08:35, fgorski wrote: > shouldn't this ...
4 years, 3 months ago (2016-09-08 22:49:20 UTC) #10
dewittj
ptal, thanks!
4 years, 3 months ago (2016-09-09 16:47:58 UTC) #16
fgorski
lgtm
4 years, 3 months ago (2016-09-09 17:02:07 UTC) #17
dewittj
mpearson: PTAL at histograms, thanks!
4 years, 3 months ago (2016-09-09 17:05:11 UTC) #19
Mark P
https://codereview.chromium.org/2314273003/diff/40001/components/offline_pages/offline_page_model_impl.cc File components/offline_pages/offline_page_model_impl.cc (right): https://codereview.chromium.org/2314273003/diff/40001/components/offline_pages/offline_page_model_impl.cc#newcode222 components/offline_pages/offline_page_model_impl.cc:222: UMA_HISTOGRAM_CUSTOM_TIMES( Do you really care about millisecond accuracy? You ...
4 years, 3 months ago (2016-09-09 18:41:05 UTC) #22
dewittj
thanks, ptal https://codereview.chromium.org/2314273003/diff/40001/components/offline_pages/offline_page_model_impl.cc File components/offline_pages/offline_page_model_impl.cc (right): https://codereview.chromium.org/2314273003/diff/40001/components/offline_pages/offline_page_model_impl.cc#newcode222 components/offline_pages/offline_page_model_impl.cc:222: UMA_HISTOGRAM_CUSTOM_TIMES( On 2016/09/09 18:41:05, Mark P wrote: ...
4 years, 3 months ago (2016-09-12 18:22:50 UTC) #23
Mark P
https://codereview.chromium.org/2314273003/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2314273003/diff/60001/tools/metrics/histograms/histograms.xml#newcode37742 tools/metrics/histograms/histograms.xml:37742: + we delete a downloaded page. On 2016/09/12 18:22:50, ...
4 years, 3 months ago (2016-09-12 18:32:09 UTC) #24
dewittj
https://codereview.chromium.org/2314273003/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2314273003/diff/60001/tools/metrics/histograms/histograms.xml#newcode37742 tools/metrics/histograms/histograms.xml:37742: + we delete a downloaded page. On 2016/09/12 18:32:09, ...
4 years, 3 months ago (2016-09-12 18:36:00 UTC) #25
Mark P
https://codereview.chromium.org/2314273003/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2314273003/diff/60001/tools/metrics/histograms/histograms.xml#newcode37756 tools/metrics/histograms/histograms.xml:37756: + units="seconds"> On 2016/09/12 18:36:00, dewittj wrote: > On ...
4 years, 3 months ago (2016-09-12 18:52:10 UTC) #26
dewittj
okay, so it seems like all the time-oriented ones assume samples in millis. So should ...
4 years, 3 months ago (2016-09-12 20:53:36 UTC) #27
dewittj
I moved to CUSTOM_COUNTS instead, wdyt about that?
4 years, 3 months ago (2016-09-12 22:10:15 UTC) #29
Mark P
This histogram use lgtm to me. (The previous version of the code was fine too; ...
4 years, 3 months ago (2016-09-12 23:45:05 UTC) #33
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/2314273003/80001
4 years, 3 months ago (2016-09-13 17:07:32 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/258425)
4 years, 3 months ago (2016-09-13 17:15:32 UTC) #38
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/2314273003/100001
4 years, 3 months ago (2016-09-13 18:10:41 UTC) #41
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-13 19:24:40 UTC) #43
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 19:25:58 UTC) #45
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/1e3105ed9096bf45f4ca2d79b4a682adc1d1d9ae
Cr-Commit-Position: refs/heads/master@{#418331}

Powered by Google App Engine
This is Rietveld 408576698