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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 22815003: Add detailed performance histograms to Files.app. (Abandoned) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed histograms. Created 7 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 | « chrome/browser/resources/file_manager/js/metrics.js ('k') | 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 f0c5161e109af3a2c12fd04d7c62fa465c97b961..ca7dee3f7a482ec2b0f47df140d1f9527b37811b 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -3885,12 +3885,66 @@ other types of suffix sets.
</summary>
</histogram>
-<histogram name="FileBrowser.Load" units="milliseconds">
Mark P 2013/08/13 18:28:07 Please do not delete histograms. Mark them as obs
mtomasz 2013/08/15 03:56:55 This histogram has never been used. Do we really w
Mark P 2013/08/15 15:22:51 Oh, in that case (because it was never emitted to)
+<histogram name="FileBrowser.Load.AdditionalUI" units="milliseconds">
<summary>
- Chrome OS File Browser is an built-in extension without a background page.
- Its main.html file is loaded every time the user opens a File Browser tab or
- a file chooser dialog. The file is fairly large and the initialization is
- pretty expensive.
+ Time to load additional UI elements during initialization of Files app. This
+ step loads all other UI elements, which do not require access to the file
+ system.
+ </summary>
+</histogram>
+
+<histogram name="FileBrowser.Load.Display" units="milliseconds">
+ <summary>
+ Time to display the most basic UI of Files.app (without the file list
+ loaded). This includes Load.General, Load.Preference, Load.Strings and
+ Load.EssentialUI. Does not include Load.AdditionalUI nor Load.FileSystem,
Mark P 2013/08/13 18:28:07 Is this exactly (or nearly exactly) the sum of tho
mtomasz 2013/08/15 03:56:55 We shouldn't sum here, since these tasks are calle
Mark P 2013/08/15 15:22:51 Can you please put some of this explanation in the
+ nor Load.FileSystemUI.
+ </summary>
+</histogram>
+
+<histogram name="FileBrowser.Load.EssentialUI" units="milliseconds">
+ <summary>
+ Time to load essential UI elements during initialization of Files app. This
+ step loads only these UI elements required to display the most basic UI.
+ File system is not yet available, nor any other heavy elements.
+ </summary>
+</histogram>
+
+<histogram name="FileBrowser.Load.FileSystem" units="milliseconds">
+ <summary>
+ Time to load the file system during initialization of Files app.
+ </summary>
+</histogram>
+
+<histogram name="FileBrowser.Load.FileSystemUI" units="milliseconds">
+ <summary>
+ Time to load file system related UI elements during initialization of Files
+ app. Only in this UI initialization step, it can be assumed that file system
+ is already available.
Mark P 2013/08/13 18:28:07 Please rephrase last sentence. Do you mean: This
mtomasz 2013/08/15 03:56:55 Done.
+ </summary>
+</histogram>
+
+<histogram name="FileBrowser.Load.General" units="milliseconds">
Mark P 2013/08/13 18:28:07 Please come up with a better name. General makes
mtomasz 2013/08/15 03:56:55 This corresponds the name used in the code. Note,
Mark P 2013/08/15 15:22:51 Okay, that's a plausible reason to keep the name.
+ <summary>
+ Time to load essential data used by other steps of the initialization of
+ Files app.
Mark P 2013/08/13 18:28:07 Please be clear about whether this essential data
mtomasz 2013/08/15 03:56:55 I am confused. This does not use strings. These ar
Mark P 2013/08/15 15:22:51 Histograms often live long past the date that the
+ </summary>
+</histogram>
+
+<histogram name="FileBrowser.Load.Preference" units="milliseconds">
+ <summary>
+ Time to load preferences during initialization of Files app.
+ </summary>
+</histogram>
+
+<histogram name="FileBrowser.Load.Strings" units="milliseconds">
+ <summary>Time to load strings during initialization of Files app.</summary>
Mark P 2013/08/13 18:28:07 Is it useful to separate general data from strings
mtomasz 2013/08/15 03:56:55 As before. We want to load strings in parallel to
Mark P 2013/08/15 15:22:51 Okay. I think this histogram name and description
+</histogram>
+
+<histogram name="FileBrowser.Load.Total" units="milliseconds">
+ <summary>
+ Total initialization initialization time of Files app. Includes all
+ initialization steps.
Mark P 2013/08/13 18:28:07 Is this basically General + AdditionalUI + FileSys
mtomasz 2013/08/15 03:56:55 As in the comment. It is said that it includes all
Mark P 2013/08/15 15:22:51 Can you please add something like "Note that many
</summary>
</histogram>
@@ -3985,6 +4039,13 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="FileBrowser.RootsUpdateTime" units="milliseconds">
+ <summary>
+ Time to enumerate file system roots on initialziation or when a volume is
+ mounted or unmounted.
+ </summary>
+</histogram>
+
<histogram name="FileBrowser.ViewingFileType" enum="ViewFileType">
<summary>
File types that were tried to be viewed through browser. This is recorded
@@ -23036,20 +23097,6 @@ other types of suffix sets.
<affected-histogram name="Extensions.ExternalExtensionEvent"/>
</fieldtrial>
-<fieldtrial name="FileBrowserLoad" separator=".">
- <group name="Construct"
- label="Time spent constructing the main Javascript object."/>
- <group name="DOM" label="Time to initialize DOM."/>
- <group name="FileSystem"
- label="Time to get access to the local file system."/>
- <group name="Parse" label="Time to parse Javascript and CSS."/>
- <group name="Roots" label="Time to enumerate file system roots."/>
- <group name="Total"
- label="Total load time from the moment the Javascript started parsing
- till the moment the empty file list is displayed."/>
- <affected-histogram name="FileBrowser.Load"/>
-</fieldtrial>
-
<fieldtrial name="HttpPipeliningCompatibility">
<group name="disable_test" label="Do nothing"/>
<group name="enable_test" label="Test connection for HTTP pipelining"/>
« no previous file with comments | « chrome/browser/resources/file_manager/js/metrics.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698