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

Issue 2448213002: Add UMA to log the size of the Previews opt out DB (Closed)

Created:
4 years, 1 month ago by RyanSturm
Modified:
4 years, 1 month ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UMA to log the size of the Previews opt out DB This logs the number of rows in the Previews opt out DB at profile startup. BUG=656739 Committed: https://crrev.com/ee93075a7392ec5d933ac5aa89543ca4822f9c8e Cr-Commit-Position: refs/heads/master@{#427793}

Patch Set 1 #

Total comments: 4

Patch Set 2 : tbansal comments #

Total comments: 2

Patch Set 3 : asvitkine nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -1 line) Patch
M components/previews/core/previews_opt_out_store_sql.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (15 generated)
RyanSturm
tbansal: PTAL
4 years, 1 month ago (2016-10-25 19:07:17 UTC) #6
RyanSturm
https://codereview.chromium.org/2448213002/diff/1/components/previews/core/previews_opt_out_store_sql.cc File components/previews/core/previews_opt_out_store_sql.cc (right): https://codereview.chromium.org/2448213002/diff/1/components/previews/core/previews_opt_out_store_sql.cc#newcode183 components/previews/core/previews_opt_out_store_sql.cc:183: // TODO(ryansturm): Add UMA to log |count|. crbug.com/656739 remove ...
4 years, 1 month ago (2016-10-25 21:01:13 UTC) #7
tbansal1
lgtm % nits. https://codereview.chromium.org/2448213002/diff/1/components/previews/core/previews_opt_out_store_sql.cc File components/previews/core/previews_opt_out_store_sql.cc (right): https://codereview.chromium.org/2448213002/diff/1/components/previews/core/previews_opt_out_store_sql.cc#newcode181 components/previews/core/previews_opt_out_store_sql.cc:181: UMA_HISTOGRAM_COUNTS_10000("Previews.OptOutDBRowCount", count); May be s/Previews.OptOutDBRowCount/Previews.OptOut.DBRowCount/ So ...
4 years, 1 month ago (2016-10-25 21:05:54 UTC) #8
RyanSturm
asvitkine: PTAL @ histograms https://codereview.chromium.org/2448213002/diff/1/components/previews/core/previews_opt_out_store_sql.cc File components/previews/core/previews_opt_out_store_sql.cc (right): https://codereview.chromium.org/2448213002/diff/1/components/previews/core/previews_opt_out_store_sql.cc#newcode181 components/previews/core/previews_opt_out_store_sql.cc:181: UMA_HISTOGRAM_COUNTS_10000("Previews.OptOutDBRowCount", count); On 2016/10/25 21:05:54, ...
4 years, 1 month ago (2016-10-25 21:50:23 UTC) #14
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/2448213002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2448213002/diff/20001/tools/metrics/histograms/histograms.xml#newcode47961 tools/metrics/histograms/histograms.xml:47961: +<histogram name="Previews.OptOut.DBRowCount"> Nit: add units="rows"
4 years, 1 month ago (2016-10-26 15:16:12 UTC) #17
RyanSturm
Thanks for the review! https://codereview.chromium.org/2448213002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2448213002/diff/20001/tools/metrics/histograms/histograms.xml#newcode47961 tools/metrics/histograms/histograms.xml:47961: +<histogram name="Previews.OptOut.DBRowCount"> On 2016/10/26 15:16:12, ...
4 years, 1 month ago (2016-10-26 18:16:29 UTC) #18
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/2448213002/40001
4 years, 1 month ago (2016-10-26 18:17:16 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-10-26 21:15:08 UTC) #22
commit-bot: I haz the power
4 years, 1 month ago (2016-10-26 21:17:50 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ee93075a7392ec5d933ac5aa89543ca4822f9c8e
Cr-Commit-Position: refs/heads/master@{#427793}

Powered by Google App Engine
This is Rietveld 408576698