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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 1855413002: Record UMA for parser blocking time for scripts inserted via doc.write (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@docwritetiming
Patch Set: rebase Created 4 years, 8 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 | « components/page_load_metrics/renderer/metrics_render_frame_observer.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 9d01246ec381c224dde5c0aef7db57a414575a12..4473dd0b1e0f81d906e315434fb00cfde5861b07 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -34560,6 +34560,28 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="PageLoad.Timing2.ParseBlockedOnScriptLoadFromDocumentWrite"
+ units="ms">
+ <owner>bmcquade@chromium.org</owner>
+ <owner>csharrison@chromium.org</owner>
+ <summary>
+ Measures the time that the HTML parser spent blocked on the load of scripts
+ inserted from document.write, for main frame documents that started parsing.
+ </summary>
+</histogram>
+
+<histogram
+ name="PageLoad.Timing2.ParseBlockedOnScriptLoadFromDocumentWrite.ParseComplete"
+ units="ms">
+ <owner>bmcquade@chromium.org</owner>
+ <owner>csharrison@chromium.org</owner>
+ <summary>
+ Measures the time that the HTML parser spent blocked on the load of scripts
+ inserted from document.write, for main frame documents that finished
+ parsing.
+ </summary>
+</histogram>
+
<histogram name="PageLoad.Timing2.ParseDuration" units="ms">
<owner>bmcquade@chromium.org</owner>
<owner>csharrison@chromium.org</owner>
@@ -90289,6 +90311,10 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="PageLoad.Timing2.ParseBlockedOnScriptLoad"/>
<affected-histogram
name="PageLoad.Timing2.ParseBlockedOnScriptLoad.ParseComplete"/>
+ <affected-histogram
+ name="PageLoad.Timing2.ParseBlockedOnScriptLoadFromDocumentWrite"/>
+ <affected-histogram
+ name="PageLoad.Timing2.ParseBlockedOnScriptLoadFromDocumentWrite.ParseComplete"/>
<affected-histogram name="PageLoad.Timing2.ParseDuration"/>
</histogram_suffixes>
« no previous file with comments | « components/page_load_metrics/renderer/metrics_render_frame_observer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698