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

Unified Diff: chrome/renderer/render_view.cc

Issue 132072: Get correct request to finsh time for histogram... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 | « base/histogram.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.cc
===================================================================
--- chrome/renderer/render_view.cc (revision 18895)
+++ chrome/renderer/render_view.cc (working copy)
@@ -2812,15 +2812,15 @@
TimeDelta finish_doc_to_finish =
finish_load_time - finish_document_load_time;
TimeDelta start_to_finish = finish_load_time - start_load_time;
- TimeDelta request_to_finish = finish_load_time - start_load_time;
+ TimeDelta request_to_finish = finish_load_time - request_time;
TimeDelta request_to_first_layout = first_layout_time - request_time;
TimeDelta start_to_first_layout = first_layout_time - start_load_time;
// Client side redirects will have no request time
if (request_time.ToInternalValue() != 0) {
UMA_HISTOGRAM_MEDIUM_TIMES("Renderer2.RequestToStart", request_to_start);
- UMA_HISTOGRAM_CLIPPED_TIMES(
- FieldTrial::MakeName("Renderer2.RequestToFinish_L", "DnsImpact").data(),
+ UMA_HISTOGRAM_CUSTOM_TIMES(
+ FieldTrial::MakeName("Renderer2.RequestToFinish_2", "DnsImpact").data(),
request_to_finish, TimeDelta::FromMilliseconds(10),
TimeDelta::FromMinutes(10), 100);
if (request_to_first_layout.ToInternalValue() >= 0) {
« no previous file with comments | « base/histogram.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698