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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 1416963002: Abandon startup profiling for first WebContents when it gets hidden or navigated to a different ... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review:rkaplow Created 5 years, 2 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/metrics/first_web_contents_profiler.cc ('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 f9399367f9a682edf3ecafdbe24ba360b417e4db..92a6187c32c9641d91add5b4543c623220a552ae 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -44142,6 +44142,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Startup.FirstWebContents.FinishReason"
+ enum="StartupProfilingFinishReason">
+ <owner>gab@chromium.org</owner>
+ <summary>
+ The reason for which startup profiling was deemed complete. Logged once per
+ session on startup.
+ </summary>
+</histogram>
+
<histogram name="Startup.FirstWebContents.MainFrameLoad" units="milliseconds">
<owner>erikchen@chromium.org</owner>
<summary>
@@ -72873,6 +72882,16 @@ To add a new entry, add it with any value and run test to compute valid value.
label="Displayed clock interstitial. (DISPLAYED_CLOCK_INTERSTITIAL)"/>
</enum>
+<enum name="StartupProfilingFinishReason" type="int">
+ <int value="0" label="Done (all metrics gathered)"/>
+ <int value="1"
+ label="Abandoned because blocking UI was displayed on startup"/>
+ <int value="2" label="Abandoned because profiled content was hidden"/>
+ <int value="3" label="Abandoned because profiled content was destroyed"/>
+ <int value="4"
+ label="Abandoned because profiled content was navigated away from"/>
+</enum>
+
<enum name="StartupTemperature" type="int">
<int value="0" label="Cold startup (mostly hard faults)"/>
<int value="1" label="Warm startup (nearly no hard faults)"/>
@@ -79878,6 +79897,12 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="Net.SSL_Connection_Latency_Google2"/>
</histogram_suffixes>
+<histogram_suffixes name="StartupProfilingAbandonState">
+ <suffix name="NoPaint" label="Abandoned before first paint."/>
+ <suffix name="NoLoad" label="Abandoned before first main frame load."/>
+ <affected-histogram name="Startup.FirstWebContents.FinishReason"/>
+</histogram_suffixes>
+
<histogram_suffixes name="StartupTemperature" separator=".">
<suffix name="ColdStartup" label="Startup was cold (mostly hard faults)."/>
<suffix name="WarmStartup" label="Startup was warm (almost no hard faults)."/>
« no previous file with comments | « chrome/browser/metrics/first_web_contents_profiler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698