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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2904603003: [IndexedDB] Adding txn, value, and key size metrics (Closed)
Patch Set: added histograms, fixed kb Created 3 years, 7 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index f454f6d977559f57c49c27f4dbb9421e964cdfb4..a5299cd93656ae3d86f7a057a609a0eb3e3f9046 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -80635,6 +80635,39 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="WebCore.IndexedDB.PutBlobsCount" units="blobs">
+ <owner>dmurph@chromium.org</owner>
+ <summary>
+ The number of blobs being saved in an IndexedDB object store 'put'
+ operation. Recorded for every 'put' operation.
+ </summary>
+</histogram>
+
+<histogram name="WebCore.IndexedDB.PutBlobsTotalSize" units="KB">
+ <owner>dmurph@chromium.org</owner>
+ <summary>
+ The total size of the blobs being saved in an IndexedDB object store 'put'
+ operation. Recorded for every 'put' operation, except when there are no
+ attached blobs or a blob has an unknown size.
+ </summary>
+</histogram>
+
+<histogram name="WebCore.IndexedDB.PutKeySize" units="KB">
+ <owner>dmurph@chromium.org</owner>
+ <summary>
+ The size of the IndexedDB key used in an IndexedDB object store 'put'
+ operation. Recorded for every 'put' operation.
+ </summary>
+</histogram>
+
+<histogram name="WebCore.IndexedDB.PutValueSize" units="KB">
+ <owner>dmurph@chromium.org</owner>
+ <summary>
+ The size of the IndexedDB value used in an IndexedDB object store 'put'
+ operation. Recorded for every 'put' operation.
+ </summary>
+</histogram>
+
<histogram name="WebCore.IndexedDB.Schema.Index.KeyPathType"
enum="IDBKeyPathType">
<owner>jsbell@chromium.org</owner>
@@ -80678,6 +80711,64 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="WebCore.IndexedDB.Transaction.ReadOnly.SizeOnCommit"
+ units="KB">
+ <owner>dmurph@chromium.org</owner>
+ <summary>
+ The total temporary size of an IndexedDB ReadOnly Transaction. Since this is
+ a readonly transaction, the size should only be &gt;0 when the transaction
+ is removing tombstone index keys. Recorded on transaction commit.
+ </summary>
+</histogram>
+
+<histogram name="WebCore.IndexedDB.Transaction.ReadOnly.TimeActive" units="ms">
+ <owner>dmurph@chromium.org</owner>
+ <summary>
+ The time it takes for an IndexedDB ReadOnly Transaction to commit, starting
+ from when it starts executing tasks (when it is scheduled). Recorded on
+ transaction commit.
+ </summary>
+</histogram>
+
+<histogram name="WebCore.IndexedDB.Transaction.ReadWrite.SizeOnCommit"
+ units="KB">
+ <owner>dmurph@chromium.org</owner>
+ <summary>
+ The total temporary size of an IndexedDB ReadWrite Transaction. This is the
+ memory that is temporarily stored before writing to disk. Recorded on
+ transaction commit.
+ </summary>
+</histogram>
+
+<histogram name="WebCore.IndexedDB.Transaction.ReadWrite.TimeActive" units="ms">
+ <owner>dmurph@chromium.org</owner>
+ <summary>
+ The time it takes for an IndexedDB ReadWrite Transaction to commit, starting
+ from when it starts executing tasks (when it is scheduled). Recorded on
+ transaction commit.
+ </summary>
+</histogram>
+
+<histogram name="WebCore.IndexedDB.Transaction.VersionChange.SizeOnCommit"
Mark P 2017/05/24 18:57:38 These two description below seem not applicable to
dmurph 2017/05/24 19:25:59 Ah! thanks. Added short description about when ver
+ units="KB">
+ <owner>dmurph@chromium.org</owner>
+ <summary>
+ The total temporary size of an IndexedDB ReadOnly Transaction. Since this is
+ a readonly transaction, the size should only be &gt;0 when the transaction
+ is removing tombstone index keys. Recorded on transaction commit.
+ </summary>
+</histogram>
+
+<histogram name="WebCore.IndexedDB.Transaction.VersionChange.TimeActive"
+ units="ms">
+ <owner>dmurph@chromium.org</owner>
+ <summary>
+ The time it takes for an IndexedDB ReadOnly Transaction to commit, starting
+ from when it starts executing tasks (when it is scheduled). Recorded on
+ transaction commit.
+ </summary>
+</histogram>
+
<histogram name="WebCore.PreloadDelayMs" units="ms">
<owner>csharrison@chromium.org</owner>
<summary>

Powered by Google App Engine
This is Rietveld 408576698