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

Issue 18601004: Add the UMA PLT.BeginToFinish{,Doc}_AfterPreconnectRequest (Closed)

Created:
7 years, 5 months ago by kouhei (in TOK)
Modified:
7 years ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, haraken, cbentzel, tburkard
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add the UMA PLT.BeginToFinish{,Doc}_AfterPreconnectRequest to measure PLT just after mouseevent preconnect triggers. [Note to sheriff] This patch requires blink patch http://crrev.com/18598003 to be landed first. This UMA aims to measure PLT on link navigations with {mouse,gesture}-event preconnects. The PLT is to be compared between experiment/control groups using Finch. BUG=235361 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=214313

Patch Set 1 #

Patch Set 2 : rm printfs #

Patch Set 3 : use willRequestAfterPreconnect #

Patch Set 4 : was_after_prec may be false on redirect #

Patch Set 5 : styles / revert unwanted change #

Patch Set 6 : follow interface change #

Total comments: 1

Patch Set 7 : rebased / flag moved to weburlrequest_extradata_impl #

Patch Set 8 : revert unwanted change #

Total comments: 4

Patch Set 9 : styles #

Patch Set 10 : rebased #

Patch Set 11 : fix unittest compilation failure #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -11 lines) Patch
M chrome/renderer/page_load_histograms.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M content/child/request_extra_data.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/child/request_extra_data.cc View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download
M content/child/resource_dispatcher_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/public/renderer/document_state.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M content/public/renderer/document_state.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/pepper/url_request_info_util.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 4 chunks +37 lines, -5 lines 5 comments Download
M webkit/child/weburlrequest_extradata_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -1 line 0 comments Download
M webkit/child/weburlrequest_extradata_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
kouhei (in TOK)
First draft, but working. This requires blink side patch to be landed first.
7 years, 5 months ago (2013-07-03 03:23:55 UTC) #1
kouhei (in TOK)
LGTM on Blink side. The patch should be ready for review now. jam: Would you ...
7 years, 5 months ago (2013-07-11 09:16:23 UTC) #2
jam
https://codereview.chromium.org/18601004/diff/14001/webkit/glue/weburlrequest_extradata_impl.h File webkit/glue/weburlrequest_extradata_impl.h (right): https://codereview.chromium.org/18601004/diff/14001/webkit/glue/weburlrequest_extradata_impl.h#newcode37 webkit/glue/weburlrequest_extradata_impl.h:37: int type_id() const { return type_id_; } hmm, seems ...
7 years, 5 months ago (2013-07-11 16:23:52 UTC) #3
kouhei (in TOK)
On 2013/07/11 16:23:52, jam wrote: > https://codereview.chromium.org/18601004/diff/14001/webkit/glue/weburlrequest_extradata_impl.h > File webkit/glue/weburlrequest_extradata_impl.h (right): > > https://codereview.chromium.org/18601004/diff/14001/webkit/glue/weburlrequest_extradata_impl.h#newcode37 > ...
7 years, 5 months ago (2013-07-12 01:06:11 UTC) #4
kouhei (in TOK)
On 2013/07/12 01:06:11, kouhei wrote: > On 2013/07/11 16:23:52, jam wrote: > > > https://codereview.chromium.org/18601004/diff/14001/webkit/glue/weburlrequest_extradata_impl.h ...
7 years, 5 months ago (2013-07-16 06:10:07 UTC) #5
jam
On 2013/07/16 06:10:07, kouhei wrote: > On 2013/07/12 01:06:11, kouhei wrote: > > On 2013/07/11 ...
7 years, 5 months ago (2013-07-17 00:37:57 UTC) #6
kouhei (in TOK)
On 2013/07/17 00:37:57, jam wrote: > On 2013/07/16 06:10:07, kouhei wrote: > > On 2013/07/12 ...
7 years, 5 months ago (2013-07-17 01:11:27 UTC) #7
jam
On 2013/07/17 01:11:27, kouhei wrote: > On 2013/07/17 00:37:57, jam wrote: > > On 2013/07/16 ...
7 years, 5 months ago (2013-07-22 23:53:28 UTC) #8
kouhei (in TOK)
Updated patch. jam: Would you take a look? > all the files in src/webkit are ...
7 years, 5 months ago (2013-07-23 02:23:09 UTC) #9
jam
lgtm, sorry for the delay I missed your message. In the future feel free to ...
7 years, 5 months ago (2013-07-26 04:59:39 UTC) #10
kouhei (in TOK)
Thanks for review! https://codereview.chromium.org/18601004/diff/35001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/18601004/diff/35001/content/renderer/render_view_impl.cc#newcode3995 content/renderer/render_view_impl.cc:3995: if(request.extraData()) { On 2013/07/26 04:59:39, jam ...
7 years, 5 months ago (2013-07-26 10:50:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/18601004/40001
7 years, 5 months ago (2013-07-26 10:56:40 UTC) #12
commit-bot: I haz the power
Failed to apply patch for content/renderer/render_view_impl.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 5 months ago (2013-07-26 10:56:43 UTC) #13
kouhei (in TOK)
kinuko: Would you take a look at webkit/child/** and content/renderer/pepper/url_request_info_util.cc?
7 years, 4 months ago (2013-07-29 00:38:36 UTC) #14
kinuko
On 2013/07/29 00:38:36, kouhei wrote: > kinuko: Would you take a look at webkit/child/** and ...
7 years, 4 months ago (2013-07-29 02:24:01 UTC) #15
kouhei (in TOK)
On 2013/07/29 02:24:01, kinuko wrote: > On 2013/07/29 00:38:36, kouhei wrote: > > kinuko: Would ...
7 years, 4 months ago (2013-07-29 02:26:30 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/18601004/50001
7 years, 4 months ago (2013-07-29 02:26:47 UTC) #17
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=64297
7 years, 4 months ago (2013-07-29 04:06:54 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/18601004/50001
7 years, 4 months ago (2013-07-29 04:19:48 UTC) #19
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=64340
7 years, 4 months ago (2013-07-29 05:53:59 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/18601004/50001
7 years, 4 months ago (2013-07-29 07:45:13 UTC) #21
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=64441
7 years, 4 months ago (2013-07-29 09:31:56 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/18601004/50001
7 years, 4 months ago (2013-07-29 14:11:44 UTC) #23
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=64587
7 years, 4 months ago (2013-07-29 17:15:28 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/18601004/50001
7 years, 4 months ago (2013-07-30 00:16:53 UTC) #25
commit-bot: I haz the power
Change committed as 214313
7 years, 4 months ago (2013-07-30 07:16:57 UTC) #26
jochen (gone - plz use gerrit)
https://codereview.chromium.org/18601004/diff/50001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/18601004/diff/50001/content/renderer/render_frame_impl.cc#newcode496 content/renderer/render_frame_impl.cc:496: WebKit::WebReferrerPolicy referrer_policy = WebKit::WebReferrerPolicyDefault; this should be frame->document().referrerPolicy(); https://codereview.chromium.org/18601004/diff/50001/content/renderer/render_frame_impl.cc#newcode497 ...
7 years ago (2013-12-20 09:02:24 UTC) #27
kouhei (in TOK)
Thanks for pointing this out. https://codereview.chromium.org/18601004/diff/50001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/18601004/diff/50001/content/renderer/render_frame_impl.cc#newcode500 content/renderer/render_frame_impl.cc:500: // This will only ...
7 years ago (2013-12-20 09:33:34 UTC) #28
kouhei (in TOK)
7 years ago (2013-12-20 09:50:07 UTC) #29
Message was sent while issue was closed.
On 2013/12/20 09:33:34, kouhei wrote:
> Thanks for pointing this out.
> 
>
https://codereview.chromium.org/18601004/diff/50001/content/renderer/render_f...
> File content/renderer/render_frame_impl.cc (right):
> 
>
https://codereview.chromium.org/18601004/diff/50001/content/renderer/render_f...
> content/renderer/render_frame_impl.cc:500: // This will only be called before
> willSendRequest, so only ExtraData
> On 2013/12/20 09:02:25, jochen wrote:
> > only willSendRequest() ever sets extra data, so this branch is dead code.
>  
> Pepper also sets this? custom_user_agent only seems to be set via extraData().
> My intention here was to not erase that info here.
> 
>
https://code.google.com/p/chromium/codesearch#chromium/src/content/renderer/p...

Discussed. Pepper would never willRequestAfterPreconnect, so this would be fine.

Powered by Google App Engine
This is Rietveld 408576698