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

Issue 2073523003: Add tagged histogram with reasons of purging the dom storage databases (Closed)

Created:
4 years, 6 months ago by ssid
Modified:
4 years, 6 months ago
Reviewers:
michaeln, Mark P, Maria
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add tagged histogram with reasons of purging the dom storage databases The existing metric shows us useful information on how much cache is purged. But, we do not know about the reason for purging. Since there a lot of cases where we are purging less than 10KB, it would be better to understand this case and try to avoid triggering purge code. BUG=610551 Committed: https://crrev.com/cc032854d31ede369b1cfb2090ea3abf55538630 Cr-Commit-Position: refs/heads/master@{#400847}

Patch Set 1 #

Total comments: 2

Patch Set 2 : nit. #

Patch Set 3 : Re-arrange ifs and add histogram names. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -9 lines) Patch
M content/browser/dom_storage/dom_storage_context_impl.cc View 1 2 2 chunks +29 lines, -9 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
ssid
Maria, could you please review this CL? Not sure if this is the right way ...
4 years, 6 months ago (2016-06-15 22:10:44 UTC) #2
Maria
lgtm https://codereview.chromium.org/2073523003/diff/1/content/browser/dom_storage/dom_storage_context_impl.cc File content/browser/dom_storage/dom_storage_context_impl.cc (right): https://codereview.chromium.org/2073523003/diff/1/content/browser/dom_storage/dom_storage_context_impl.cc#newcode471 content/browser/dom_storage/dom_storage_context_impl.cc:471: std::string("LocalStorage.BrowserLocalStorageCachePurgedInKB.") + you also need to update histograms.xml ...
4 years, 6 months ago (2016-06-16 00:08:15 UTC) #3
ssid
https://codereview.chromium.org/2073523003/diff/1/content/browser/dom_storage/dom_storage_context_impl.cc File content/browser/dom_storage/dom_storage_context_impl.cc (right): https://codereview.chromium.org/2073523003/diff/1/content/browser/dom_storage/dom_storage_context_impl.cc#newcode471 content/browser/dom_storage/dom_storage_context_impl.cc:471: std::string("LocalStorage.BrowserLocalStorageCachePurgedInKB.") + On 2016/06/16 00:08:15, Maria wrote: > you ...
4 years, 6 months ago (2016-06-16 01:01:24 UTC) #4
ssid
+michaeln ptal, The existing metrics are here: http://shortn/_hWNFA3ft94 Though it is seen that purging is ...
4 years, 6 months ago (2016-06-16 22:39:44 UTC) #6
michaeln
Will we learn anything actionable from these new metrics? At what frequency is purge is ...
4 years, 6 months ago (2016-06-17 19:28:39 UTC) #7
Maria
On 2016/06/17 19:28:39, michaeln wrote: > Will we learn anything actionable from these new metrics? ...
4 years, 6 months ago (2016-06-17 19:52:15 UTC) #8
michaeln
On 2016/06/17 19:52:15, Maria wrote: > On 2016/06/17 19:28:39, michaeln wrote: > > Will we ...
4 years, 6 months ago (2016-06-17 20:36:08 UTC) #9
Maria
On 2016/06/17 20:36:08, michaeln wrote: > On 2016/06/17 19:52:15, Maria wrote: > > On 2016/06/17 ...
4 years, 6 months ago (2016-06-17 20:40:56 UTC) #10
michaeln
On 2016/06/17 20:40:56, Maria wrote: > On 2016/06/17 20:36:08, michaeln wrote: > > On 2016/06/17 ...
4 years, 6 months ago (2016-06-17 23:35:07 UTC) #11
ssid
On 2016/06/17 19:28:39, michaeln wrote: > Will we learn anything actionable from these new metrics? ...
4 years, 6 months ago (2016-06-20 21:44:59 UTC) #12
ssid
+mpearson for histograms.xml change. michaeln@: isherman seems to be OOO.
4 years, 6 months ago (2016-06-20 21:49:00 UTC) #14
Mark P
histograms.xml lgtm
4 years, 6 months ago (2016-06-20 21:54:31 UTC) #15
michaeln
lgtm 2
4 years, 6 months ago (2016-06-20 22:21:42 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2073523003/40001
4 years, 6 months ago (2016-06-21 00:04:17 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-21 00:10:54 UTC) #20
commit-bot: I haz the power
4 years, 6 months ago (2016-06-21 00:17:21 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/cc032854d31ede369b1cfb2090ea3abf55538630
Cr-Commit-Position: refs/heads/master@{#400847}

Powered by Google App Engine
This is Rietveld 408576698