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

Issue 1825533002: Navigation start to commit trace (Closed)

Created:
4 years, 9 months ago by shivanisha
Modified:
4 years, 8 months ago
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, nasko+codewatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Navigation start to commit trace BUG=part of 585134 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation This is a part of the design for 585134 which includes a larger set of traces. As part of that design we also noticed overlapping traces that existed earlier for navigation start to commit. As discussed with carlosk@, this change also reverts the earlier traces which only covered PlzNavigate and adds the new traces that cover the following scenarios: - plzNavigate and traditional flows - committed and aborted/failed/canceled loads This patch adds the async begin and end traces in the constructor and destructor of NavigationHandleImpl respectively. That would cover all of the scenarios as detailed in the design doc (https://docs.google.com/a/chromium.org/document/d/1yM2khCxLC5AV3X4y7cyuCNCFHCmq9CpqQzDwK6MROaw/edit?usp=sharing). The start time of Navigation is passed in the constructor and that would be used as the trace start timestamp. For failed/aborted provisional loads, the argument net error code will give the error code. In this patch I am adding them in the existing "navigation" category only and later they might be extended for new categories like "loading". Committed: https://crrev.com/9ab4458be13a0d542768a033fb81286b47615261 Cr-Commit-Position: refs/heads/master@{#389881}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Changing label of starting URL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -12 lines) Patch
M content/browser/frame_host/navigation_handle_impl.cc View 1 2 chunks +12 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 3 chunks +1 line, -12 lines 0 comments Download

Messages

Total messages: 35 (12 generated)
shivanisha
4 years, 9 months ago (2016-03-22 18:54:30 UTC) #7
clamy
https://codereview.chromium.org/1825533002/diff/1/content/browser/frame_host/navigation_handle_impl.cc File content/browser/frame_host/navigation_handle_impl.cc (right): https://codereview.chromium.org/1825533002/diff/1/content/browser/frame_host/navigation_handle_impl.cc#newcode76 content/browser/frame_host/navigation_handle_impl.cc:76: navigation_start.ToInternalValue(), "URL", url_.spec()); Are you trying to index the ...
4 years, 9 months ago (2016-03-23 12:12:16 UTC) #8
Bryan McQuade
https://codereview.chromium.org/1825533002/diff/1/content/browser/frame_host/navigation_handle_impl.cc File content/browser/frame_host/navigation_handle_impl.cc (right): https://codereview.chromium.org/1825533002/diff/1/content/browser/frame_host/navigation_handle_impl.cc#newcode76 content/browser/frame_host/navigation_handle_impl.cc:76: navigation_start.ToInternalValue(), "URL", url_.spec()); On 2016/03/23 at 12:12:16, clamy wrote: ...
4 years, 9 months ago (2016-03-23 12:17:33 UTC) #9
shivanisha
https://codereview.chromium.org/1825533002/diff/1/content/browser/frame_host/navigation_handle_impl.cc File content/browser/frame_host/navigation_handle_impl.cc (right): https://codereview.chromium.org/1825533002/diff/1/content/browser/frame_host/navigation_handle_impl.cc#newcode76 content/browser/frame_host/navigation_handle_impl.cc:76: navigation_start.ToInternalValue(), "URL", url_.spec()); On 2016/03/23 at 12:12:16, clamy wrote: ...
4 years, 9 months ago (2016-03-23 13:56:09 UTC) #10
carlosk
Thanks. https://codereview.chromium.org/1825533002/diff/1/content/browser/frame_host/navigation_handle_impl.cc File content/browser/frame_host/navigation_handle_impl.cc (right): https://codereview.chromium.org/1825533002/diff/1/content/browser/frame_host/navigation_handle_impl.cc#newcode76 content/browser/frame_host/navigation_handle_impl.cc:76: navigation_start.ToInternalValue(), "URL", url_.spec()); On 2016/03/23 13:56:09, shivanisha wrote: ...
4 years, 9 months ago (2016-03-23 14:40:34 UTC) #11
shivanisha
https://codereview.chromium.org/1825533002/diff/1/content/browser/frame_host/navigation_handle_impl.cc File content/browser/frame_host/navigation_handle_impl.cc (right): https://codereview.chromium.org/1825533002/diff/1/content/browser/frame_host/navigation_handle_impl.cc#newcode76 content/browser/frame_host/navigation_handle_impl.cc:76: navigation_start.ToInternalValue(), "URL", url_.spec()); On 2016/03/23 at 14:40:34, carlosk wrote: ...
4 years, 9 months ago (2016-03-23 18:07:08 UTC) #12
clamy
https://codereview.chromium.org/1825533002/diff/1/content/browser/frame_host/navigation_handle_impl.cc File content/browser/frame_host/navigation_handle_impl.cc (right): https://codereview.chromium.org/1825533002/diff/1/content/browser/frame_host/navigation_handle_impl.cc#newcode76 content/browser/frame_host/navigation_handle_impl.cc:76: navigation_start.ToInternalValue(), "URL", url_.spec()); On 2016/03/23 18:07:08, shivanisha wrote: > ...
4 years, 9 months ago (2016-03-24 10:36:32 UTC) #13
shivanisha
https://codereview.chromium.org/1825533002/diff/1/content/browser/frame_host/navigation_handle_impl.cc File content/browser/frame_host/navigation_handle_impl.cc (right): https://codereview.chromium.org/1825533002/diff/1/content/browser/frame_host/navigation_handle_impl.cc#newcode76 content/browser/frame_host/navigation_handle_impl.cc:76: navigation_start.ToInternalValue(), "URL", url_.spec()); On 2016/03/23 at 13:56:09, shivanisha wrote: ...
4 years, 8 months ago (2016-03-29 19:49:32 UTC) #14
carlosk
https://codereview.chromium.org/1825533002/diff/1/content/browser/frame_host/navigation_handle_impl.cc File content/browser/frame_host/navigation_handle_impl.cc (right): https://codereview.chromium.org/1825533002/diff/1/content/browser/frame_host/navigation_handle_impl.cc#newcode76 content/browser/frame_host/navigation_handle_impl.cc:76: navigation_start.ToInternalValue(), "URL", url_.spec()); On 2016/03/29 19:49:32, shivanisha wrote: > ...
4 years, 8 months ago (2016-03-31 10:10:29 UTC) #15
shivanisha
On 2016/03/31 at 10:10:29, carlosk wrote: > https://codereview.chromium.org/1825533002/diff/1/content/browser/frame_host/navigation_handle_impl.cc > File content/browser/frame_host/navigation_handle_impl.cc (right): > > https://codereview.chromium.org/1825533002/diff/1/content/browser/frame_host/navigation_handle_impl.cc#newcode76 ...
4 years, 8 months ago (2016-03-31 13:18:12 UTC) #16
shivanisha
https://codereview.chromium.org/1825533002/diff/1/content/browser/frame_host/navigation_handle_impl.cc File content/browser/frame_host/navigation_handle_impl.cc (right): https://codereview.chromium.org/1825533002/diff/1/content/browser/frame_host/navigation_handle_impl.cc#newcode76 content/browser/frame_host/navigation_handle_impl.cc:76: navigation_start.ToInternalValue(), "URL", url_.spec()); On 2016/03/31 at 10:10:29, carlosk wrote: ...
4 years, 8 months ago (2016-04-12 14:10:03 UTC) #17
shivanisha
Hi Camille and Carlos, Did you get a chance to look at the latest patch? ...
4 years, 8 months ago (2016-04-20 00:46:51 UTC) #20
shivanisha
(resending the message correcting the alignment issues that happened in the previous message) Hi Camille ...
4 years, 8 months ago (2016-04-20 00:55:39 UTC) #21
shivanisha
Adding more context to my previous message, we would like to get feedback for redirect ...
4 years, 8 months ago (2016-04-20 01:09:40 UTC) #22
carlosk
You have my LGTM for this change and I agree redirects could/should be addressed in ...
4 years, 8 months ago (2016-04-20 10:02:57 UTC) #23
shivanisha
Camille, PTAL, Thanks!
4 years, 8 months ago (2016-04-26 13:56:17 UTC) #24
clamy
Thanks! Lgtm.
4 years, 8 months ago (2016-04-26 14:53:48 UTC) #25
shivanisha
On 2016/04/26 at 14:53:48, clamy wrote: > Thanks! Lgtm. Thanks everyone.
4 years, 8 months ago (2016-04-26 15:00:44 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1825533002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1825533002/20001
4 years, 8 months ago (2016-04-26 15:01:56 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/60308)
4 years, 8 months ago (2016-04-26 16:53:17 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1825533002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1825533002/20001
4 years, 8 months ago (2016-04-26 20:55:20 UTC) #32
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-26 21:05:47 UTC) #33
commit-bot: I haz the power
4 years, 8 months ago (2016-04-26 21:08:03 UTC) #35
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9ab4458be13a0d542768a033fb81286b47615261
Cr-Commit-Position: refs/heads/master@{#389881}

Powered by Google App Engine
This is Rietveld 408576698