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

Issue 1532873003: PlzNavigate: add initial traces for new TBM benchmarks. (Closed)

Created:
5 years ago by carlosk
Modified:
4 years, 11 months ago
CC:
benjhayden, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, kinuko, loading-reviews_chromium.org, 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

PlzNavigate: add initial traces for new TBM benchmarks. Adds new TRACE events in code to track some navigation related timings in PlzNavigate. These will be collected by the new TBM benchmarks that will be added in a following change. Design doc describing the added traces: https://docs.google.com/a/chromium.org/document/d/1dyJejYZouBwyL6lCd5IJ3nU74lQKtCPra0M5tXrbIm4/edit?usp=sharing Additions and changes not listed there: - NavigationTiming navigationStart: I added this instant event with global scope as it seems to make sense to have it when tracking navigations, marking with a line over all processes the moment the navigation request is issues (coincides with the navigationStart time from the Navigation Timing API). - RenderFrameHostImpl BeforeUnload: renamed from RenderFrameHostImpl::BeforeUnload as it looked like a method call trace when in fact that method doesn't exist. This is in fact an ASYNC trace that tracks in the browser the time taken to execute the beforeUnload call in the renderer and get its reply. Note: I also wanted to "fix" the trace named RenderFrameHostManager:Navigate to add an extra ":" but I noticed in codesearch that there are references to that specific trace name in other parts of the code base. BUG=529643 Committed: https://crrev.com/c13951a2c9f30a13d03a1a0310f9a79b66656c36 Cr-Commit-Position: refs/heads/master@{#367157}

Patch Set 1 #

Total comments: 16

Patch Set 2 : Address CR comments #

Total comments: 5

Patch Set 3 : Address CR comments. #

Patch Set 4 : Rebase. #

Total comments: 8

Patch Set 5 : Address CR comments. #

Patch Set 6 : Fixed crash issue for synchronous navigations. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -10 lines) Patch
M content/browser/frame_host/navigation_request.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 3 4 5 4 chunks +30 lines, -3 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 2 chunks +5 lines, -4 lines 0 comments Download
M content/browser/loader/navigation_url_loader_impl.cc View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M content/browser/loader/navigation_url_loader_impl_core.cc View 1 2 3 4 3 chunks +15 lines, -0 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 31 (12 generated)
carlosk
clamy@ PTAL.
5 years ago (2015-12-17 17:17:41 UTC) #2
clamy
Thanks! A few questions in the comments, as well as a more general one: I ...
5 years ago (2015-12-18 15:42:11 UTC) #4
carlosk
Thanks! On 2015/12/18 15:42:11, clamy wrote: > Thanks! A few questions in the comments, as ...
5 years ago (2015-12-18 17:23:21 UTC) #5
clamy
Thanks! A few more comments (mostly on comments). https://codereview.chromium.org/1532873003/diff/1/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): https://codereview.chromium.org/1532873003/diff/1/content/browser/frame_host/navigation_request.cc#newcode285 content/browser/frame_host/navigation_request.cc:285: TRACE_EVENT_ASYNC_END_WITH_TIMESTAMP0( ...
5 years ago (2015-12-21 10:43:32 UTC) #6
carlosk
Thanks. https://codereview.chromium.org/1532873003/diff/1/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): https://codereview.chromium.org/1532873003/diff/1/content/browser/frame_host/navigation_request.cc#newcode285 content/browser/frame_host/navigation_request.cc:285: TRACE_EVENT_ASYNC_END_WITH_TIMESTAMP0( On 2015/12/21 10:43:32, clamy wrote: > On ...
5 years ago (2015-12-21 11:19:25 UTC) #7
clamy
Thanks! Lgtm with a few nits. https://codereview.chromium.org/1532873003/diff/60001/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): https://codereview.chromium.org/1532873003/diff/60001/content/browser/frame_host/navigation_request.cc#newcode288 content/browser/frame_host/navigation_request.cc:288: } nit: skip ...
5 years ago (2015-12-22 10:55:24 UTC) #8
carlosk
Thanks clamy@. nasko@ PTAL. https://codereview.chromium.org/1532873003/diff/60001/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): https://codereview.chromium.org/1532873003/diff/60001/content/browser/frame_host/navigation_request.cc#newcode288 content/browser/frame_host/navigation_request.cc:288: } On 2015/12/22 10:55:23, clamy ...
4 years, 12 months ago (2015-12-22 13:58:18 UTC) #10
carlosk
nduca@, benjhayden@: FYI.
4 years, 12 months ago (2015-12-22 15:56:48 UTC) #11
nduca
Where's the design doc that explains how these relate and fit together? Nit wise, they're ...
4 years, 12 months ago (2015-12-22 19:27:25 UTC) #12
nduca
Even "WebcontentsImpl Loading" ideally would get named sanely. Another good question: what happens when we ...
4 years, 12 months ago (2015-12-22 19:31:04 UTC) #13
carlosk
On 2015/12/22 19:27:25, nduca wrote: > Where's the design doc that explains how these relate ...
4 years, 12 months ago (2015-12-23 13:23:31 UTC) #16
carlosk
avi@: PTAL.
4 years, 11 months ago (2015-12-28 16:09:50 UTC) #19
Avi (use Gerrit)
lgtm Trace ALL the things! °O°/
4 years, 11 months ago (2015-12-28 17:45:16 UTC) #20
carlosk
Thanks. I'm going to commit this as is and address nduca@'s comments in the follow ...
4 years, 11 months ago (2015-12-30 15:44:07 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1532873003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1532873003/120001
4 years, 11 months ago (2015-12-30 15:44:25 UTC) #24
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 11 months ago (2015-12-30 16:52:02 UTC) #26
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/c13951a2c9f30a13d03a1a0310f9a79b66656c36 Cr-Commit-Position: refs/heads/master@{#367157}
4 years, 11 months ago (2015-12-30 16:53:19 UTC) #28
nduca
pretty bummed that you landed this with my comments outstanding. :/
4 years, 11 months ago (2016-01-11 19:47:14 UTC) #30
carlosk
4 years, 11 months ago (2016-01-12 13:20:10 UTC) #31
Message was sent while issue was closed.
On 2016/01/11 19:47:14, nduca wrote:
> pretty bummed that you landed this with my comments outstanding. :/

Did you see my comment #21 (or the email I sent you) stating I'd address them in
the follow up CL? Last week I also copied your concerns and my replies there so
that we can resume addressing them.

Powered by Google App Engine
This is Rietveld 408576698