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

Issue 577963002: Add time-to-network histogram considering browser side navigation (Closed)

Created:
6 years, 3 months ago by carlosk
Modified:
6 years, 2 months ago
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add new histogram to assert the improvements we should get with browser side navigation (aka PlzNavigate). Time measured: * Time from navigation request to first network request * Time from navigation request to navigation committed/finished BUG=416877 Committed: https://crrev.com/bb156a0490b0c2cf1ad155ab46fc4afa3fbb77c0 Cr-Commit-Position: refs/heads/master@{#297410}

Patch Set 1 #

Patch Set 2 : Now I can get RFHs... But maybe not the right ones. :( #

Total comments: 10

Patch Set 3 : CR comments, changed start parameters storage, fixed wrong RFH info, initial URL check, initial com… #

Patch Set 4 : Fixed navigation start being persisted for PlzNavigate code path as well #

Patch Set 5 : removed debug logs and simplified to only add the time-to-network histogram #

Patch Set 6 : histogram.xml #

Total comments: 27

Patch Set 7 : Addressed CR comments, added new hisogram, test and fixes. #

Total comments: 59

Patch Set 8 : Addressed CR comments. #

Patch Set 9 : Minor changes for addressing CR comments #

Total comments: 12

Patch Set 10 : Addressed CR comments, bundled NavigatorImpl histogram related members into a tuple. #

Patch Set 11 : Fixing new build issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -2 lines) Patch
M content/browser/frame_host/navigator.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator_impl.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +11 lines, -1 line 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +27 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +27 lines, -0 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +32 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +17 lines, -1 line 0 comments Download

Messages

Total messages: 30 (4 generated)
clamy
Thanks, a few comments below. https://codereview.chromium.org/577963002/diff/20001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/577963002/diff/20001/content/browser/frame_host/navigator_impl.cc#newcode348 content/browser/frame_host/navigator_impl.cc:348: LOG(WARNING) << "routing_id / ...
6 years, 3 months ago (2014-09-17 21:12:40 UTC) #2
carlosk
Hi Camille. Thanks for your comments and here are mine back to you. :) I ...
6 years, 3 months ago (2014-09-18 15:00:52 UTC) #3
carlosk
Dear reviewers: PTAL. This adds the first histogram we need for measuring the improvements we ...
6 years, 3 months ago (2014-09-18 19:14:36 UTC) #5
clamy
Thanks! Please find my comments below. https://chromiumcodereview.appspot.com/577963002/diff/100001/content/browser/frame_host/navigator.h File content/browser/frame_host/navigator.h (right): https://chromiumcodereview.appspot.com/577963002/diff/100001/content/browser/frame_host/navigator.h#newcode133 content/browser/frame_host/navigator.h:133: virtual void LogResourceRequestTime(base::TimeTicks ...
6 years, 3 months ago (2014-09-19 14:56:03 UTC) #6
davidben
https://codereview.chromium.org/577963002/diff/100001/content/browser/frame_host/navigator.h File content/browser/frame_host/navigator.h (right): https://codereview.chromium.org/577963002/diff/100001/content/browser/frame_host/navigator.h#newcode131 content/browser/frame_host/navigator.h:131: // Called from the IO thread when the first ...
6 years, 3 months ago (2014-09-19 21:52:45 UTC) #7
carlosk
Thanks for the previous comments. clamy, nasko, davidben and isherman (welcome!): PTAL. We have a ...
6 years, 3 months ago (2014-09-23 17:02:57 UTC) #8
Ilya Sherman
Are you familiar with the PLT.PT_* metrics? These acronyms are pretty opaque, but they stand ...
6 years, 3 months ago (2014-09-23 21:06:01 UTC) #10
clamy
Thanks! Please find a few comments below. @isherman: actually I think we are trying to ...
6 years, 3 months ago (2014-09-23 21:54:08 UTC) #11
Ilya Sherman
On 2014/09/23 21:54:08, clamy wrote: > @isherman: actually I think we are trying to phase ...
6 years, 3 months ago (2014-09-23 22:05:03 UTC) #12
nasko
Some comments, most are nits. https://codereview.chromium.org/577963002/diff/120001/content/browser/frame_host/navigator.h File content/browser/frame_host/navigator.h (right): https://codereview.chromium.org/577963002/diff/120001/content/browser/frame_host/navigator.h#newcode131 content/browser/frame_host/navigator.h:131: // Called when the ...
6 years, 3 months ago (2014-09-24 00:48:07 UTC) #13
carlosk
On 2014/09/23 22:05:03, Ilya Sherman wrote: > On 2014/09/23 21:54:08, clamy wrote: > > @isherman: ...
6 years, 3 months ago (2014-09-24 18:24:35 UTC) #14
carlosk
Thanks everyone for reviewing. Most of your comments were DONE but a few were replied ...
6 years, 3 months ago (2014-09-24 18:35:50 UTC) #15
nasko
Looks nicer! Few more comments. https://codereview.chromium.org/577963002/diff/120001/content/browser/frame_host/navigator.h File content/browser/frame_host/navigator.h (right): https://codereview.chromium.org/577963002/diff/120001/content/browser/frame_host/navigator.h#newcode131 content/browser/frame_host/navigator.h:131: // Called when the ...
6 years, 3 months ago (2014-09-24 23:11:21 UTC) #16
carlosk
Thanks and here we go again. clamy, nasko, davidben, isherman: could you all let me ...
6 years, 2 months ago (2014-09-25 17:26:06 UTC) #17
Ilya Sherman
Regarding histogram naming, I think the owners of the existing PLT.* metrics are the best ...
6 years, 2 months ago (2014-09-25 23:09:33 UTC) #18
nasko
LGTM with a couple of nits. https://codereview.chromium.org/577963002/diff/120001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/577963002/diff/120001/content/browser/frame_host/navigator_impl.cc#newcode561 content/browser/frame_host/navigator_impl.cc:561: if (details.is_main_frame && ...
6 years, 2 months ago (2014-09-26 00:10:35 UTC) #19
clamy
Thanks! LGTM with a few nits. https://chromiumcodereview.appspot.com/577963002/diff/120001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://chromiumcodereview.appspot.com/577963002/diff/120001/content/browser/frame_host/navigator_impl.cc#newcode561 content/browser/frame_host/navigator_impl.cc:561: if (details.is_main_frame && ...
6 years, 2 months ago (2014-09-26 14:48:32 UTC) #20
davidben
lgtm https://codereview.chromium.org/577963002/diff/160001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/577963002/diff/160001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode913 content/browser/loader/resource_dispatcher_host_impl.cc:913: request_data.transferred_request_request_id == -1) { Aside: There's a slight ...
6 years, 2 months ago (2014-09-26 15:42:45 UTC) #21
carlosk
Thanks everyone! With the latest PS I addressed your previous comments and did a minor ...
6 years, 2 months ago (2014-09-26 15:50:26 UTC) #22
carlosk
https://codereview.chromium.org/577963002/diff/160001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/577963002/diff/160001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode913 content/browser/loader/resource_dispatcher_host_impl.cc:913: request_data.transferred_request_request_id == -1) { On 2014/09/26 15:42:45, David Benjamin ...
6 years, 2 months ago (2014-09-26 15:52:17 UTC) #23
nasko
FWIW, I don't find the tuple based code easier to read, in fact, it looks ...
6 years, 2 months ago (2014-09-26 17:34:19 UTC) #24
carlosk
On 2014/09/26 17:34:19, nasko wrote: > FWIW, I don't find the tuple based code easier ...
6 years, 2 months ago (2014-09-26 17:37:42 UTC) #25
Ilya Sherman
Per offline discussion, we'll go with the current Navigation.* names for the histograms. LGTM, and ...
6 years, 2 months ago (2014-09-29 20:58:46 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/577963002/200001
6 years, 2 months ago (2014-09-30 11:51:17 UTC) #28
commit-bot: I haz the power
Committed patchset #11 (id:200001) as 08f47d535854192c5c48270a3da99a0e714ca55c
6 years, 2 months ago (2014-09-30 11:55:22 UTC) #29
commit-bot: I haz the power
6 years, 2 months ago (2014-09-30 11:55:53 UTC) #30
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/bb156a0490b0c2cf1ad155ab46fc4afa3fbb77c0
Cr-Commit-Position: refs/heads/master@{#297410}

Powered by Google App Engine
This is Rietveld 408576698