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

Issue 2738783002: Prerender: Remove PerceivedPLT histograms (Closed)

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

Description

Prerender: Remove PerceivedPLT histograms Reasons: * We stopped looking at this class of metrics * It saves 5320 bytes of the code size on Android (see below) * Saves multi-GiB of data on UMA servers Removing PerceivedPLT also made a bit of state unused, hence it was removed: * PrerenderHistograms objects are now almost stateless * PrerenderTabHelper now only manages origin_, url_ and swap_ticks_ To confirm the binary size change: 1. build chrome_apk with is_official_build = true 2. shell> find out/ReleaseOfficial/gen -name libchrome.so -exec size {} \; BUG=698733, 698956, 603203 Review-Url: https://codereview.chromium.org/2738783002 Cr-Commit-Position: refs/heads/master@{#461105} Committed: https://chromium.googlesource.com/chromium/src/+/7231325cc8642ceebcff903a590d3dccab5d7e65

Patch Set 1 #

Patch Set 2 : remove PPLT from prerender_browsertests #

Patch Set 3 : mark PrerenderNotSwappedInPLT as obsolete #

Patch Set 4 : remove PrerenderManager::RecordPerceivedPageLoadTime as well #

Total comments: 6

Patch Set 5 : Restore PrerenderLocationReplaceGWSHistograms #

Patch Set 6 : remove other unused methods #

Total comments: 2

Patch Set 7 : removed navigation_type_ and unused PM::RecordPrefetchFirstContentfulPaint #

Patch Set 8 : updated the comment on top of PrerenderTabHelper #

Patch Set 9 : set the origin in prerender_tab_helper #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -393 lines) Patch
M chrome/browser/prerender/prerender_browsertest.cc View 1 2 3 4 5 8 chunks +12 lines, -43 lines 0 comments Download
M chrome/browser/prerender/prerender_histograms.h View 1 2 3 4 5 3 chunks +18 lines, -54 lines 0 comments Download
M chrome/browser/prerender/prerender_histograms.cc View 1 2 3 4 5 6 chunks +3 lines, -134 lines 0 comments Download
M chrome/browser/prerender/prerender_manager.h View 1 2 3 4 5 6 3 chunks +5 lines, -28 lines 0 comments Download
M chrome/browser/prerender/prerender_manager.cc View 1 2 3 4 5 2 chunks +0 lines, -33 lines 0 comments Download
M chrome/browser/prerender/prerender_tab_helper.h View 1 2 3 4 5 6 7 4 chunks +5 lines, -26 lines 0 comments Download
M chrome/browser/prerender/prerender_tab_helper.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -75 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 11 chunks +33 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 62 (38 generated)
pasko
3 years, 9 months ago (2017-03-08 20:24:58 UTC) #13
mattcary
lgtm https://codereview.chromium.org/2738783002/diff/60001/chrome/browser/prerender/prerender_browsertest.cc File chrome/browser/prerender/prerender_browsertest.cc (left): https://codereview.chromium.org/2738783002/diff/60001/chrome/browser/prerender/prerender_browsertest.cc#oldcode1124 chrome/browser/prerender/prerender_browsertest.cc:1124: "Prerender.webcross_PrerenderNotSwappedInPLT", 1); I guess we're losing verification here ...
3 years, 9 months ago (2017-03-09 09:02:35 UTC) #14
droger
When I looked at this before, I came to the conclusion that the histograms were ...
3 years, 9 months ago (2017-03-09 09:55:25 UTC) #15
pasko
On 2017/03/09 09:55:25, droger wrote: > When I looked at this before, I came to ...
3 years, 9 months ago (2017-03-10 11:56:14 UTC) #16
mattcary
On 2017/03/10 11:56:14, pasko wrote: > On 2017/03/09 09:55:25, droger wrote: > > When I ...
3 years, 9 months ago (2017-03-10 13:03:05 UTC) #17
pasko
https://codereview.chromium.org/2738783002/diff/60001/chrome/browser/prerender/prerender_browsertest.cc File chrome/browser/prerender/prerender_browsertest.cc (left): https://codereview.chromium.org/2738783002/diff/60001/chrome/browser/prerender/prerender_browsertest.cc#oldcode1124 chrome/browser/prerender/prerender_browsertest.cc:1124: "Prerender.webcross_PrerenderNotSwappedInPLT", 1); On 2017/03/09 09:02:35, mattcary wrote: > I ...
3 years, 9 months ago (2017-03-23 13:33:25 UTC) #18
mattcary
https://codereview.chromium.org/2738783002/diff/60001/chrome/browser/prerender/prerender_browsertest.cc File chrome/browser/prerender/prerender_browsertest.cc (left): https://codereview.chromium.org/2738783002/diff/60001/chrome/browser/prerender/prerender_browsertest.cc#oldcode1124 chrome/browser/prerender/prerender_browsertest.cc:1124: "Prerender.webcross_PrerenderNotSwappedInPLT", 1); On 2017/03/23 13:33:24, pasko wrote: > On ...
3 years, 9 months ago (2017-03-23 13:49:27 UTC) #19
mattcary
> Hmmm. Redirects. We use extras.start_url in the PLMOs, for both prerender and > nostate. ...
3 years, 9 months ago (2017-03-23 14:37:32 UTC) #20
mattcary
FYI, you're racing with droger@ on histogram-related changes. If he gets his crrev/2769903005 in before ...
3 years, 9 months ago (2017-03-24 12:26:54 UTC) #21
pasko
On 2017/03/24 12:26:54, mattcary wrote: > FYI, you're racing with droger@ on histogram-related changes. If ...
3 years, 9 months ago (2017-03-24 12:35:30 UTC) #22
mattcary
On 2017/03/24 12:35:30, pasko wrote: > On 2017/03/24 12:26:54, mattcary wrote: > > FYI, you're ...
3 years, 9 months ago (2017-03-24 13:10:35 UTC) #23
pasko
On 2017/03/24 13:10:35, mattcary wrote: > On 2017/03/24 12:35:30, pasko wrote: > > On 2017/03/24 ...
3 years, 9 months ago (2017-03-27 14:29:51 UTC) #30
mattcary
See my comments in crbug/704911 as well for what to do about the reference histogram ...
3 years, 9 months ago (2017-03-27 14:57:50 UTC) #31
pasko
https://codereview.chromium.org/2738783002/diff/100001/chrome/browser/prerender/prerender_tab_helper.cc File chrome/browser/prerender/prerender_tab_helper.cc (left): https://codereview.chromium.org/2738783002/diff/100001/chrome/browser/prerender/prerender_tab_helper.cc#oldcode150 chrome/browser/prerender/prerender_tab_helper.cc:150: DCHECK_EQ(NAVIGATION_TYPE_PRERENDERED, navigation_type_); On 2017/03/27 14:57:50, mattcary wrote: > This ...
3 years, 9 months ago (2017-03-27 16:50:40 UTC) #37
pasko
tests are passing, PTAL
3 years, 8 months ago (2017-03-28 16:07:04 UTC) #46
pasko
mattcary, droger: friendly ping :)
3 years, 8 months ago (2017-03-29 17:01:55 UTC) #47
mattcary
On 2017/03/29 17:01:55, pasko wrote: > mattcary, droger: friendly ping :) still lgtm :)
3 years, 8 months ago (2017-03-30 07:23:38 UTC) #48
droger
lgtm
3 years, 8 months ago (2017-03-30 08:57:53 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2738783002/160001
3 years, 8 months ago (2017-03-30 11:17:24 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/398605)
3 years, 8 months ago (2017-03-30 11:24:58 UTC) #53
pasko
isherman: please take a look at changes in histograms.xml
3 years, 8 months ago (2017-03-30 11:55:41 UTC) #56
Ilya Sherman
histograms.xml lgtm -- thanks for the cleanup!
3 years, 8 months ago (2017-03-30 22:02:13 UTC) #57
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2738783002/160001
3 years, 8 months ago (2017-03-31 12:39:44 UTC) #59
commit-bot: I haz the power
3 years, 8 months ago (2017-03-31 13:50:44 UTC) #62
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/7231325cc8642ceebcff903a590d...

Powered by Google App Engine
This is Rietveld 408576698