New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 875439 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Nov 5
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Add size UMA metrics on clearing unimportant storage

Project Member Reported by dmu...@chromium.org, Aug 17

Issue description

We know people are using the Manage Space activity on Android (and are clicking Clear Unimportant Storage), but we don't know how much storage is actually saved. Let's add those metrics.
 
Cc: talo@chromium.org
+talo

To get a more holistic view of this, any chance we could measure this on startup of Chrome for example, instead of only when people in fact clear the data?

That way we could more easily reason about whether we should point users to the Manage Space activity more often or not.
Unfortunately that will be quite a lot of disk access on startup - that's the one downside here, we don't actually have easy numbers here without doing a lot of disk activity. In a better state of our quota system, we could probably have this number pretty easily, but for now we have to do file operations which is slow.
Project Member

Comment 3 by bugdroid1@chromium.org, Oct 12

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/0b12ba0411a8c50fd8e51aeb6510cf1465ef13b5

commit 0b12ba0411a8c50fd8e51aeb6510cf1465ef13b5
Author: Daniel Murphy <dmurph@chromium.org>
Date: Fri Oct 12 22:23:57 2018

[ManageSpace] Record histogram of user's web storage size

Bug:  875439 
Change-Id: If6c56a4c634ce685a4e1ab93660ae95db7d90716
Reviewed-on: https://chromium-review.googlesource.com/c/1274599
Reviewed-by: Mark Pearson <mpearson@chromium.org>
Reviewed-by: Theresa <twellington@chromium.org>
Commit-Queue: Daniel Murphy <dmurph@chromium.org>
Cr-Commit-Position: refs/heads/master@{#599380}
[modify] https://crrev.com/0b12ba0411a8c50fd8e51aeb6510cf1465ef13b5/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/ManageSpaceActivity.java
[modify] https://crrev.com/0b12ba0411a8c50fd8e51aeb6510cf1465ef13b5/tools/metrics/histograms/histograms.xml

Status: Fixed (was: Assigned)

Sign in to add a comment