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

Issue 815863002: Suffixed histograms for SB2.DatabaseKilobytes and SB2.PrefixSetKilobytes (Closed)

Created:
6 years ago by gab
Modified:
5 years, 11 months ago
CC:
chromium-reviews, grt+watch_chromium.org, asvitkine+watch_chromium.org, mattm
Base URL:
https://chromium.googlesource.com/chromium/src.git@aV_threadSafeStoreManager
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Suffixed histograms for SB2.DatabaseKilobytes and SB2.PrefixSetKilobytes This is a follow-up to https://codereview.chromium.org/790703003/ to recover the UMA stats recording granularity it removed. It uses store IDs introduced in https://codereview.chromium.org/794273002/ to pass configuration information into histogram helper methods. This also introduces SB2.DatabaseKilobytes stats for a few more stores which weren't tracked (IPBlacklist, CSD whitelist, and download whitelist). It also brings ExtensionBlacklist back on the map as it was previously recorded as SB2.ExtensionBlacklistDatabaseKilobytes but there was no matching entry for this in histograms.xml... BUG=440517 Committed: https://crrev.com/696427220a29f9640f5eac7df72d4e657a457f0b Cr-Commit-Position: refs/heads/master@{#309995}

Patch Set 1 #

Total comments: 6

Patch Set 2 : merge up to r309688 #

Patch Set 3 : Change approach to a single histogram-method with all the boilerplate #

Patch Set 4 : fix comment typo #

Patch Set 5 : histograms fixes from CL#790703003 #

Total comments: 2

Patch Set 6 : fix histogram name in code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -46 lines) Patch
M chrome/browser/safe_browsing/safe_browsing_database.h View 1 2 3 3 chunks +9 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database.cc View 1 2 3 4 5 15 chunks +83 lines, -36 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 7 chunks +36 lines, -5 lines 0 comments Download

Messages

Total messages: 19 (3 generated)
gab
Hey Scott, PTAL, as mentioned on https://codereview.chromium.org/790703003/, this is a proposal to regain the histograms ...
6 years ago (2014-12-18 21:21:16 UTC) #2
Scott Hess - ex-Googler
I get the impression you're waiting for me to review things :-). Sorry, I've been ...
6 years ago (2014-12-18 23:57:55 UTC) #3
gab
Hey Scott, what I want really is an lgtm on https://codereview.chromium.org/790703003/ whose only push back ...
6 years ago (2014-12-19 15:25:54 UTC) #4
gab
Alright, this is now based on trunk with very little changes, so my replies below ...
5 years, 12 months ago (2014-12-28 16:11:00 UTC) #5
Scott Hess - ex-Googler
On 2014/12/28 16:11:00, gab (mostly OOO until Jan 5th) wrote: > Alright, this is now ...
5 years, 11 months ago (2014-12-29 19:16:30 UTC) #6
Scott Hess - ex-Googler
LGTM, on the basis that this is mostly just a sideways step (the existing code ...
5 years, 11 months ago (2014-12-29 19:18:15 UTC) #7
gab
On 2014/12/29 19:16:30, Scott Hess wrote: > On 2014/12/28 16:11:00, gab (mostly OOO until Jan ...
5 years, 11 months ago (2014-12-30 23:49:35 UTC) #8
Mark P
histograms.xml not lgtm yet, though I'll be happy to approve once you deal with my ...
5 years, 11 months ago (2015-01-02 19:56:59 UTC) #10
gab
On 2015/01/02 19:56:59, Mark P wrote: > histograms.xml not lgtm yet, though I'll be happy ...
5 years, 11 months ago (2015-01-05 18:25:07 UTC) #11
Mark P
histograms.xml lgtm baring one important comment below https://codereview.chromium.org/815863002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/815863002/diff/80001/tools/metrics/histograms/histograms.xml#newcode29921 tools/metrics/histograms/histograms.xml:29921: +<histogram name="SB2.DatabaseSizeKilobytes" ...
5 years, 11 months ago (2015-01-05 18:33:27 UTC) #12
gab
Thanks, done. @shess: please let me know if you prefer patch set 2 or patch ...
5 years, 11 months ago (2015-01-05 19:11:31 UTC) #13
Scott Hess - ex-Googler
On 2015/01/05 19:11:31, gab wrote: > @shess: please let me know if you prefer patch ...
5 years, 11 months ago (2015-01-05 20:25:09 UTC) #14
Scott Hess - ex-Googler
On 2015/01/05 20:25:09, Scott Hess wrote: > On 2015/01/05 19:11:31, gab wrote: > > @shess: ...
5 years, 11 months ago (2015-01-05 21:16:51 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/815863002/100001
5 years, 11 months ago (2015-01-05 21:32:23 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 11 months ago (2015-01-05 23:37:27 UTC) #18
commit-bot: I haz the power
5 years, 11 months ago (2015-01-05 23:39:35 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/696427220a29f9640f5eac7df72d4e657a457f0b
Cr-Commit-Position: refs/heads/master@{#309995}

Powered by Google App Engine
This is Rietveld 408576698