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

Issue 2776713002: Prerender: clarify prerender origin for purposes of FCP histograms. (Closed)

Created:
3 years, 9 months ago by mattcary
Modified:
3 years, 8 months ago
Reviewers:
CC:
chromium-reviews, tburkard+watch_chromium.org, gavinp+prer_chromium.org, cbentzel+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Prerender: Clarify prerender origin for purposes of FCP histograms. This CL changes the origin used for prerender PrefetchTTFCP histograms. Previously, the orgin from the prerender_tab_helper was used. This meant that a page that is not found in the prefetches list, and assigned a Reference cache type, can have some origin other than NONE for prerender. With NoStatePrefetch or disabled prerender experiments, this is impossible and all Reference histograms have origin NONE. We believe the main case for a discrepency is when there is a redirect in the prererendered page. The URL seen at FCP time is different than what was recorded in our list of prefetched pages. BUG=704911

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -26 lines) Patch
M chrome/browser/prerender/prerender_browsertest.cc View 2 chunks +12 lines, -19 lines 0 comments Download
M chrome/browser/prerender/prerender_manager.cc View 1 chunk +9 lines, -7 lines 3 comments Download

Messages

Total messages: 12 (3 generated)
mattcary
As discussed offline, this makes prerender consistent with prefetching, but does not actually fix the ...
3 years, 9 months ago (2017-03-24 14:26:45 UTC) #3
pasko
On 2017/03/24 14:26:45, mattcary wrote: > As discussed offline, this makes prerender consistent with prefetching, ...
3 years, 9 months ago (2017-03-24 16:10:30 UTC) #4
mattcary
> This is all very puzzling :) > > It took me hours to understand ...
3 years, 9 months ago (2017-03-27 07:50:38 UTC) #5
mattcary
https://codereview.chromium.org/2776713002/diff/1/chrome/browser/prerender/prerender_manager.cc File chrome/browser/prerender/prerender_manager.cc (right): https://codereview.chromium.org/2776713002/diff/1/chrome/browser/prerender/prerender_manager.cc#newcode612 chrome/browser/prerender/prerender_manager.cc:612: if (!swap_ticks.is_null() && !first_contentful_paint.is_null()) { On 2017/03/24 16:10:30, pasko ...
3 years, 9 months ago (2017-03-27 07:52:05 UTC) #6
mattcary
On 2017/03/27 07:52:05, mattcary wrote: > https://codereview.chromium.org/2776713002/diff/1/chrome/browser/prerender/prerender_manager.cc > File chrome/browser/prerender/prerender_manager.cc (right): > > https://codereview.chromium.org/2776713002/diff/1/chrome/browser/prerender/prerender_manager.cc#newcode612 > ...
3 years, 9 months ago (2017-03-27 08:28:07 UTC) #7
pasko
https://codereview.chromium.org/2776713002/diff/1/chrome/browser/prerender/prerender_manager.cc File chrome/browser/prerender/prerender_manager.cc (right): https://codereview.chromium.org/2776713002/diff/1/chrome/browser/prerender/prerender_manager.cc#newcode612 chrome/browser/prerender/prerender_manager.cc:612: if (!swap_ticks.is_null() && !first_contentful_paint.is_null()) { On 2017/03/27 07:52:05, mattcary ...
3 years, 9 months ago (2017-03-27 17:32:57 UTC) #8
mattcary
Pursuant to discussion on the bug, I'll put this CL on ice. After we see ...
3 years, 8 months ago (2017-03-28 07:22:59 UTC) #9
droger
On 2017/03/28 07:22:59, mattcary wrote: > I won't delete this CL yet, but will remove ...
3 years, 8 months ago (2017-03-28 08:50:36 UTC) #11
pasko
3 years, 8 months ago (2017-03-29 12:25:26 UTC) #12
Message was sent while issue was closed.
On 2017/03/28 08:50:36, droger wrote:
> On 2017/03/28 07:22:59, mattcary wrote:
> > I won't delete this CL yet, but will remove you as a reviewer so it doesn't
> > clutter up your box.
> 
> You can use the "close CL" checkbox which may be what you are looking for. It
> will no longer show up in our active CL list but we'll still receive emails if
> someone adds a comment. I don't think you can delete a CL anyway.

agreed: closing is the most convenient. It is possible to reopen with "Edit
issue" link.

Powered by Google App Engine
This is Rietveld 408576698