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

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 500253003: Claim some localstorage histograms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index ce6325a46fa61b12806f60dc300e2f5b404b4a8b..e11c24d6bf97633bc89c83dda549bdb53514a06b 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -5005,6 +5005,49 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="DOMStorage.clear" units="milliseconds">
+ <owner>michaeln@chromium.org</owner>
+ <summary>
+ Duration to execute localStorage.clear() or sessionStorage.clear().
+ </summary>
+</histogram>
+
+<histogram name="DOMStorage.getItem" units="milliseconds">
+ <owner>michaeln@chromium.org</owner>
+ <summary>
+ Duration to execute localStorage.getItem() or sessionStorage.getItem().
+ </summary>
+</histogram>
+
+<histogram name="DOMStorage.key" units="milliseconds">
+ <owner>michaeln@chromium.org</owner>
+ <summary>
+ Duration to execute localStorage.key() or sessionStorage.key().
+ </summary>
+</histogram>
+
+<histogram name="DOMStorage.length" units="milliseconds">
+ <owner>michaeln@chromium.org</owner>
+ <summary>
+ Duration to execute localStorage.length() or sessionStorage.length().
+ </summary>
+</histogram>
+
+<histogram name="DOMStorage.removeItem" units="milliseconds">
+ <owner>michaeln@chromium.org</owner>
+ <summary>
+ Duration to execute localStorage.removeItem() or
+ sessionStorage.removeItem().
+ </summary>
+</histogram>
+
+<histogram name="DOMStorage.setItem" units="milliseconds">
+ <owner>michaeln@chromium.org</owner>
+ <summary>
+ Duration to execute localStorage.setItem() or sessionStorage.setItem().
+ </summary>
+</histogram>
+
<histogram name="Download.AcceptRangesBytes.KBytes" units="KB">
<owner>asanka@chromium.org</owner>
<summary>The length of downloads for serves that accept byte ranges.</summary>
@@ -10684,6 +10727,42 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<summary>Records events related to local discovery notifications.</summary>
</histogram>
+<histogram name="LocalStorage.BrowserLocalStorageSizeInKB" units="KB">
+ <owner>michaeln@chromium.org</owner>
+ <summary>
+ Size of the HTML5 LocalStorage DB in KB in the browser-side cache.
+ </summary>
+</histogram>
+
+<histogram name="LocalStorage.BrowserTimeToPrimeLocalStorage">
+ <owner>michaeln@chromium.org</owner>
+ <summary>
+ Time to load HTML5 LocalStorage into the browser-side cache.
+ </summary>
+</histogram>
+
+<histogram name="LocalStorage.RendererLocalStorageSizeInKB" units="KB">
+ <owner>michaeln@chromium.org</owner>
+ <summary>
+ Size of the HTML5 LocalStorage DB in KB in the renderer-side cache.
+ </summary>
+</histogram>
+
+<histogram name="LocalStorage.RendererTimeToPrimeLocalStorage">
+ <owner>michaeln@chromium.org</owner>
+ <summary>
+ Time to load HTML5 LocalStorage into the renderer-side cache.
+ </summary>
+</histogram>
+
+<histogram name="LocalStorage.TimeToPrimeLocalStorage">
+ <owner>michaeln@chromium.org</owner>
+ <summary>
+ Time to load HTML5 LocalStorage into the renderer-side cache. Note that the
+ name is not 'Renderer' prefixed for continuity with the old naming.
+ </summary>
+</histogram>
+
<histogram name="Login.ConsumerNewUsersAllowed" enum="LoginConsumerWhitelist">
<owner>cmasone@chromium.org</owner>
<owner>sumit@chromium.org</owner>
@@ -28402,6 +28481,14 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<summary>How did the user interact with the SessionCrashed Bubble?</summary>
</histogram>
+<histogram name="SessionStorageDatabase.Open" enum="SessionStorageDatabaseOpen">
+ <owner>michaeln@chromium.org</owner>
+ <summary>
+ The result (success, failure, or database recreated) of trying to open the
+ LevelDB database for sessionStorage.
+ </summary>
+</histogram>
+
<histogram name="Settings.DefaultSearchProvider" enum="OmniboxSearchEngine">
<obsolete>
Deprecated in Chrome 30. Use Search.DefaultSearchProviderType instead.
@@ -48912,6 +48999,16 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="3" label="Specified URLs"/>
</enum>
+<enum name="SessionStorageDatabaseOpen" type="int">
+ <int value="0" label="OK">Succesfully opened the database.</int>
+ <int value="1" label="Recovered">
+ Failed to open the existing db, deleted it, and created a new empty db.
+ </int>
+ <int value="2" label="Total Fail">
+ Failed to open the database and also failed to delete and start over.
+ </int>
+</enum>
Ilya Sherman 2014/08/26 00:17:26 It looks like you made some changes to this enum.
michaeln 2014/08/26 00:28:09 Yes, I did change this enum labels to better expla
+
<enum name="ShelfAlignmentValue" type="int">
<summary>
The alignment of the shelf area (see ash/launcher/launcher_view.cc).
@@ -52237,6 +52334,14 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="LevelDBEnv.TimeTo"/>
</histogram_suffixes>
+<histogram_suffixes name="LocalStorageSizes" separator="">
+ <suffix name="Under100KB" label="DB size under 100KB"/>
+ <suffix name="100KBTo1MB" label="DB size between 100KB and 1MB"/>
+ <suffix name="1MBTo5MB" label="DB size between 1MB and 5MB"/>
+ <affected-histogram name="LocalStorage.BrowserTimeToPrimeLocalStorage"/>
+ <affected-histogram name="LocalStorage.RendererTimeToPrimeLocalStorage"/>
+</histogram_suffixes>
+
<histogram_suffixes name="MediaAudioInputControllerTime" separator=".">
<suffix name="CloseTime" label="Measures the time taken for DoClose()."/>
<suffix name="CreateTime" label="Measures the time taken for DoCreate()."/>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698