Commit 5a6cc97e authored by Karthika Pai's avatar Karthika Pai Committed by Commit Bot

Migrate F histograms to patterned histogram syntax

This is part of a migration that replaces the old
<histogram-suffixes> syntax that was used to denote groups
of histogram to the new patterned histogram syntax.

Bug: 758782
Change-Id: Ie2ee45f2b0493b3a4784c348d1561db3460d7b59
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2511851Reviewed-by: default avatarWeilun Shi <sweilun@chromium.org>
Reviewed-by: default avatarIlya Sherman <isherman@chromium.org>
Commit-Queue: Karthika Pai <karthikapai@google.com>
Cr-Commit-Position: refs/heads/master@{#823333}
parent 365f1d94
......@@ -241,15 +241,71 @@ reviews. Googlers can read more about this at go/gwsq-gerrit.
</summary>
</histogram>
<histogram name="FileBrowser.Load" units="ms" expires_after="M92">
<histogram name="FileBrowser.Load{FileBrowserLoad}" units="ms"
expires_after="M92">
<owner>slangley@chromium.org</owner>
<owner>weifangsun@chromium.org</owner>
<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.
</summary>
pretty expensive. {FileBrowserLoad}
</summary>
<token key="FileBrowserLoad">
<variant name=""/>
<variant name=".BackgroundLaunch"
summary="Time from onLaunched event is called to the window is
created."/>
<variant name=".BackgroundRestart"
summary="Time to create a window on restart."/>
<variant name=".BackgroundScript"
summary="Time to initialize backend script to wait for events."/>
<variant name=".Construct"
summary="Time spent constructing the main Javascript object.">
<obsolete>
Deprecated as of 12/2016.
</obsolete>
</variant>
<variant name=".DOM" summary="Time to initialize DOM.">
<obsolete>
Deprecated as of 12/2016.
</obsolete>
</variant>
<variant name=".FileSystem"
summary="Time to get access to the local file system.">
<obsolete>
Deprecated as of 9/2013.
</obsolete>
</variant>
<variant name=".ImportElements"
summary="Time to initialize the polymer elements."/>
<variant name=".InitBackgroundPage"
summary="Time to initialize the background page."/>
<variant name=".InitDocuments"
summary="Time to initialize the background page and the elements."/>
<variant name=".InitSettings" summary="Time to restore user settings."/>
<variant name=".InitUI"
summary="Time to initialize all UI after all elements are
initialized."/>
<variant name=".Parse"
summary="Time to parse Javascript and CSS (Deprecated).">
<obsolete>
Deprecated as of 12/2016.
</obsolete>
</variant>
<variant name=".ProcessInitialSearchQuery"
summary="Time to process LaunchParam.searchQuery (time to find a
query-matched directory)."/>
<variant name=".Roots" summary="Time to enumerate file system roots.">
<obsolete>
Deprecated as of 12/2016.
</obsolete>
</variant>
<variant name=".Script" summary="Time to parse Javascript and CSS."/>
<variant name=".Total"
summary="Total load time from the moment the Javascript started
parsing till the moment the empty file list is displayed."/>
</token>
</histogram>
<histogram name="FileBrowser.Location.OnEntryExpandedOrCollapsed.NonTopLevel"
......
......@@ -6505,58 +6505,6 @@ reviews. Googlers can read more about this at go/gwsq-gerrit.
<affected-histogram name="FileBrowser.CrostiniSharedPaths.Depth"/>
</histogram_suffixes>
<histogram_suffixes name="FileBrowserLoad" separator=".">
<suffix name="BackgroundLaunch"
label="Time from onLaunched event is called to the window is created."/>
<suffix name="BackgroundRestart" label="Time to create a window on restart."/>
<suffix name="BackgroundScript"
label="Time to initialize backend script to wait for events."/>
<suffix name="Construct"
label="Time spent constructing the main Javascript object.">
<obsolete>
Deprecated as of 12/2016.
</obsolete>
</suffix>
<suffix name="DOM" label="Time to initialize DOM.">
<obsolete>
Deprecated as of 12/2016.
</obsolete>
</suffix>
<suffix name="FileSystem"
label="Time to get access to the local file system.">
<obsolete>
Deprecated as of 9/2013.
</obsolete>
</suffix>
<suffix name="ImportElements"
label="Time to initialize the polymer elements."/>
<suffix name="InitBackgroundPage"
label="Time to initialize the background page."/>
<suffix name="InitDocuments"
label="Time to initialize the background page and the elements."/>
<suffix name="InitSettings" label="Time to restore user settings."/>
<suffix name="InitUI"
label="Time to initialize all UI after all elements are initialized."/>
<suffix name="Parse" label="Time to parse Javascript and CSS (Deprecated).">
<obsolete>
Deprecated as of 12/2016.
</obsolete>
</suffix>
<suffix name="ProcessInitialSearchQuery"
label="Time to process LaunchParam.searchQuery (time to find a
query-matched directory)."/>
<suffix name="Roots" label="Time to enumerate file system roots.">
<obsolete>
Deprecated as of 12/2016.
</obsolete>
</suffix>
<suffix name="Script" label="Time to parse Javascript and CSS."/>
<suffix 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"/>
</histogram_suffixes>
<histogram_suffixes name="FileOperations" separator=".">
<suffix name="DeleteFile.NonRecursive" label=""/>
<suffix name="DeleteFile.Recursive" label=""/>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment