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

Unified Diff: chrome/renderer/page_load_histograms.cc

Issue 18601004: Add the UMA PLT.BeginToFinish{,Doc}_AfterPreconnectRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unittest compilation failure Created 7 years, 5 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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/child/request_extra_data.h » ('j') | content/renderer/render_frame_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/page_load_histograms.cc
diff --git a/chrome/renderer/page_load_histograms.cc b/chrome/renderer/page_load_histograms.cc
index b26152ba9291cc39651c7f55b457480ad141bba9..d7795a87382d016939776e8a438bf781b065beeb 100644
--- a/chrome/renderer/page_load_histograms.cc
+++ b/chrome/renderer/page_load_histograms.cc
@@ -506,6 +506,12 @@ void PageLoadHistograms::Dump(WebFrame* frame) {
PLT_HISTOGRAM("PLT.BeginToFinish_ContentPrefetcherReferrer",
begin_to_finish_all_loads);
}
+ if (document_state->was_after_preconnect_request()) {
+ PLT_HISTOGRAM("PLT.BeginToFinishDoc_AfterPreconnectRequest",
+ begin_to_finish_doc);
+ PLT_HISTOGRAM("PLT.BeginToFinish_AfterPreconnectRequest",
+ begin_to_finish_all_loads);
+ }
// TODO(mpcomplete): remove the extension-related histograms after we collect
// enough data. http://crbug.com/100411
« no previous file with comments | « no previous file | content/child/request_extra_data.h » ('j') | content/renderer/render_frame_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698