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

Issue 874353003: New TimeToFirstURLJob* navigation metrics now work with PlzNavigate. (Closed)

Created:
5 years, 10 months ago by carlosk
Modified:
5 years, 10 months ago
Reviewers:
clamy, davidben, nasko
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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

New TimeToURLJobStart* navigation metrics now work with PlzNavigate. They weren't being properly reported before (the report happened later than it should) but now there's two different reporting points for current navigation and for when PlzNavigate is enabled. BUG=416877 Committed: https://crrev.com/947ebfb68a862ca468835c1a11e2d16b44484120 Cr-Commit-Position: refs/heads/master@{#314542}

Patch Set 1 : #

Total comments: 20

Patch Set 2 : Fixed unittest support. #

Patch Set 3 : Just a couple comments #

Patch Set 4 : Updated method names and comments. #

Total comments: 12

Patch Set 5 : Changes from latest round of CR comments #

Total comments: 22

Patch Set 6 : Several naming changes, updated comments and more minor stuff. #

Patch Set 7 : A couple minor changes #

Total comments: 2

Patch Set 8 : Final method name change. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -6 lines) Patch
M content/browser/frame_host/navigation_request.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/navigation_request.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -1 line 0 comments Download
M content/browser/frame_host/navigator.h View 1 2 3 4 5 6 1 chunk +6 lines, -2 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 3 4 5 6 3 chunks +6 lines, -0 lines 0 comments Download
M content/browser/loader/navigation_url_loader_delegate.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/loader/navigation_url_loader_impl.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/loader/navigation_url_loader_impl.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/loader/navigation_url_loader_impl_core.cc View 1 2 3 4 5 6 7 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/loader/navigation_url_loader_unittest.cc View 1 2 3 4 5 6 7 9 chunks +16 lines, -2 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 28 (4 generated)
carlosk
davidben@, clamy@, nasko@: PTAL. This adds proper reporting of the Navigation.TimeToURLJobStart* metrics when PlzNavigate is ...
5 years, 10 months ago (2015-01-26 19:54:01 UTC) #3
carlosk
Fixed unit test is up. I added EXPECTS only to the tests where it seemed ...
5 years, 10 months ago (2015-01-27 12:28:42 UTC) #4
clamy
Thanks! A few comments below. https://chromiumcodereview.appspot.com/874353003/diff/20001/content/browser/frame_host/navigation_request.h File content/browser/frame_host/navigation_request.h (right): https://chromiumcodereview.appspot.com/874353003/diff/20001/content/browser/frame_host/navigation_request.h#newcode113 content/browser/frame_host/navigation_request.h:113: void AboutToBeginNavigation(base::TimeTicks timestamp) override; ...
5 years, 10 months ago (2015-01-27 12:35:04 UTC) #5
carlosk
Thanks! https://codereview.chromium.org/874353003/diff/20001/content/browser/frame_host/navigation_request.h File content/browser/frame_host/navigation_request.h (right): https://codereview.chromium.org/874353003/diff/20001/content/browser/frame_host/navigation_request.h#newcode113 content/browser/frame_host/navigation_request.h:113: void AboutToBeginNavigation(base::TimeTicks timestamp) override; On 2015/01/27 12:35:03, clamy ...
5 years, 10 months ago (2015-01-27 17:12:03 UTC) #6
clamy
Thanks! I think once we fix the naming it should be good. https://chromiumcodereview.appspot.com/874353003/diff/20001/content/browser/frame_host/navigation_request.h File content/browser/frame_host/navigation_request.h ...
5 years, 10 months ago (2015-01-28 13:44:21 UTC) #7
carlosk
Thanks. https://codereview.chromium.org/874353003/diff/20001/content/browser/frame_host/navigation_request.h File content/browser/frame_host/navigation_request.h (right): https://codereview.chromium.org/874353003/diff/20001/content/browser/frame_host/navigation_request.h#newcode113 content/browser/frame_host/navigation_request.h:113: void AboutToBeginNavigation(base::TimeTicks timestamp) override; On 2015/01/28 13:44:21, clamy ...
5 years, 10 months ago (2015-01-28 15:21:08 UTC) #8
carlosk
On 2015/01/28 15:21:08, carlosk wrote: > https://codereview.chromium.org/874353003/diff/20001/content/browser/frame_host/navigation_request.h > File content/browser/frame_host/navigation_request.h (right): > > https://codereview.chromium.org/874353003/diff/20001/content/browser/frame_host/navigation_request.h#newcode113 > ...
5 years, 10 months ago (2015-01-28 15:30:14 UTC) #9
davidben
https://codereview.chromium.org/874353003/diff/80001/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): https://codereview.chromium.org/874353003/diff/80001/content/browser/frame_host/navigation_request.cc#newcode116 content/browser/frame_host/navigation_request.cc:116: common_params_.url); This is just measuring the time to do ...
5 years, 10 months ago (2015-01-28 21:33:27 UTC) #10
carlosk
Thanks! Do any of you find it a problem that we'll be recording metrics for ...
5 years, 10 months ago (2015-01-30 14:01:47 UTC) #11
nasko
Just a few comments. https://codereview.chromium.org/874353003/diff/80001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/874353003/diff/80001/content/browser/frame_host/navigator_impl.cc#newcode775 content/browser/frame_host/navigator_impl.cc:775: navigation_data_.reset(); On 2015/01/30 14:01:47, carlosk ...
5 years, 10 months ago (2015-02-02 18:28:53 UTC) #12
davidben
On 2015/01/30 14:01:47, carlosk wrote: > Thanks! > > Do any of you find it ...
5 years, 10 months ago (2015-02-02 22:30:10 UTC) #13
davidben
https://codereview.chromium.org/874353003/diff/100001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/874353003/diff/100001/content/browser/frame_host/navigator_impl.cc#newcode775 content/browser/frame_host/navigator_impl.cc:775: navigation_data_.reset(); Does this also need an IsMainFrame guard? https://codereview.chromium.org/874353003/diff/100001/content/browser/loader/navigation_url_loader_delegate.h ...
5 years, 10 months ago (2015-02-02 22:33:58 UTC) #14
davidben
https://codereview.chromium.org/874353003/diff/100001/content/browser/loader/navigation_url_loader_delegate.h File content/browser/loader/navigation_url_loader_delegate.h (right): https://codereview.chromium.org/874353003/diff/100001/content/browser/loader/navigation_url_loader_delegate.h#newcode42 content/browser/loader/navigation_url_loader_delegate.h:42: // Called when a begin navigation request is handled, ...
5 years, 10 months ago (2015-02-02 22:37:06 UTC) #15
carlosk
On 2015/02/02 22:30:10, David Benjamin wrote: > On 2015/01/30 14:01:47, carlosk wrote: > > Thanks! ...
5 years, 10 months ago (2015-02-03 10:52:25 UTC) #16
carlosk
Thanks for all comments. https://codereview.chromium.org/874353003/diff/80001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/874353003/diff/80001/content/browser/frame_host/navigator_impl.cc#newcode775 content/browser/frame_host/navigator_impl.cc:775: navigation_data_.reset(); On 2015/02/02 18:28:53, nasko ...
5 years, 10 months ago (2015-02-03 11:00:04 UTC) #17
clamy
Thanks! It looks good, just a few more comments. https://chromiumcodereview.appspot.com/874353003/diff/100001/content/browser/frame_host/navigator.h File content/browser/frame_host/navigator.h (right): https://chromiumcodereview.appspot.com/874353003/diff/100001/content/browser/frame_host/navigator.h#newcode143 content/browser/frame_host/navigator.h:143: ...
5 years, 10 months ago (2015-02-03 12:13:54 UTC) #18
carlosk
Thanks once more. https://codereview.chromium.org/874353003/diff/100001/content/browser/frame_host/navigator.h File content/browser/frame_host/navigator.h (right): https://codereview.chromium.org/874353003/diff/100001/content/browser/frame_host/navigator.h#newcode143 content/browser/frame_host/navigator.h:143: // PlzNavigate: Called when a navigation ...
5 years, 10 months ago (2015-02-03 12:48:35 UTC) #19
nasko
LGTM, though please wait for David's one for the loader code. https://codereview.chromium.org/874353003/diff/100001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): ...
5 years, 10 months ago (2015-02-03 23:51:56 UTC) #20
davidben
lgtm https://codereview.chromium.org/874353003/diff/140001/content/browser/loader/navigation_url_loader_impl.h File content/browser/loader/navigation_url_loader_impl.h (right): https://codereview.chromium.org/874353003/diff/140001/content/browser/loader/navigation_url_loader_impl.h#newcode56 content/browser/loader/navigation_url_loader_impl.h:56: void NotifyRequestHandled(base::TimeTicks timestamp); Nit: I would prefer "OnRequestStart" ...
5 years, 10 months ago (2015-02-03 23:54:40 UTC) #21
nasko
On 2015/02/03 23:54:40, David Benjamin wrote: > lgtm > > https://codereview.chromium.org/874353003/diff/140001/content/browser/loader/navigation_url_loader_impl.h > File content/browser/loader/navigation_url_loader_impl.h (right): ...
5 years, 10 months ago (2015-02-03 23:56:00 UTC) #22
carlosk
Thanks. https://codereview.chromium.org/874353003/diff/100001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/874353003/diff/100001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode982 content/browser/loader/resource_dispatcher_host_impl.cc:982: switches::kEnableBrowserSideNavigation) && On 2015/02/03 23:51:56, nasko wrote: > ...
5 years, 10 months ago (2015-02-04 10:21:33 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/874353003/160001
5 years, 10 months ago (2015-02-04 10:23:54 UTC) #26
commit-bot: I haz the power
Committed patchset #8 (id:160001)
5 years, 10 months ago (2015-02-04 11:54:29 UTC) #27
commit-bot: I haz the power
5 years, 10 months ago (2015-02-04 11:55:15 UTC) #28
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/947ebfb68a862ca468835c1a11e2d16b44484120
Cr-Commit-Position: refs/heads/master@{#314542}

Powered by Google App Engine
This is Rietveld 408576698