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

Issue 1507813002: Don't log background navigations in StaleWhileRevalidateExperiment histograms (Closed)

Created:
5 years ago by Adam Rice
Modified:
5 years ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't log background navigations in StaleWhileRevalidateExperiment histograms Early results from the PageLoad.Clients.StaleWhileRevalidateExperiment.Timing2.* histograms show that there is a fat tail of noise from background navigations. Remove navigations that started in the background and those that were backgrounded before the timing event took place. The method is identical to the PageLoad.Clients.FromGWS.Timing2.* histograms. BUG=565458 TEST=manually tested with about:histograms Committed: https://crrev.com/096b91575a69187a3f9e7b6484db5ac8ee9ed452 Cr-Commit-Position: refs/heads/master@{#364366}

Patch Set 1 #

Patch Set 2 : Move ShouldLogEvent() to page_load_metrics_util. #

Total comments: 2

Patch Set 3 : Reword comment for EventOccurredInForeground() #

Patch Set 4 : Make EventOccurredInForeground take a PageLoadExtraInfo object. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -21 lines) Patch
M chrome/browser/page_load_metrics/observers/from_gws_page_load_metrics_observer.cc View 1 2 3 2 chunks +10 lines, -17 lines 0 comments Download
M chrome/browser/page_load_metrics/observers/stale_while_revalidate_metrics_observer.cc View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download
M components/page_load_metrics/browser/page_load_metrics_util.h View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M components/page_load_metrics/browser/page_load_metrics_util.cc View 1 2 3 2 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 19 (5 generated)
Adam Rice
5 years ago (2015-12-07 21:31:30 UTC) #2
Charlie Harrison
lgtm, adding rdsmith for OWNERS.
5 years ago (2015-12-07 22:15:26 UTC) #4
Charlie Harrison
On 2015/12/07 22:15:26, csharrison wrote: > lgtm, adding rdsmith for OWNERS. Actually, would you mind ...
5 years ago (2015-12-08 18:44:49 UTC) #5
Adam Rice
On 2015/12/08 18:44:49, csharrison wrote: > Actually, would you mind renaming ShouldLogEvent and putting it ...
5 years ago (2015-12-08 20:00:17 UTC) #6
Charlie Harrison
Thanks! https://codereview.chromium.org/1507813002/diff/20001/components/page_load_metrics/browser/page_load_metrics_util.h File components/page_load_metrics/browser/page_load_metrics_util.h (right): https://codereview.chromium.org/1507813002/diff/20001/components/page_load_metrics/browser/page_load_metrics_util.h#newcode27 components/page_load_metrics/browser/page_load_metrics_util.h:27: // the priority is lowered, and the load ...
5 years ago (2015-12-08 20:26:21 UTC) #7
Adam Rice
https://codereview.chromium.org/1507813002/diff/20001/components/page_load_metrics/browser/page_load_metrics_util.h File components/page_load_metrics/browser/page_load_metrics_util.h (right): https://codereview.chromium.org/1507813002/diff/20001/components/page_load_metrics/browser/page_load_metrics_util.h#newcode27 components/page_load_metrics/browser/page_load_metrics_util.h:27: // the priority is lowered, and the load timing ...
5 years ago (2015-12-09 06:29:00 UTC) #8
Charlie Harrison
On 2015/12/09 06:29:00, Adam Rice wrote: > https://codereview.chromium.org/1507813002/diff/20001/components/page_load_metrics/browser/page_load_metrics_util.h > File components/page_load_metrics/browser/page_load_metrics_util.h (right): > > https://codereview.chromium.org/1507813002/diff/20001/components/page_load_metrics/browser/page_load_metrics_util.h#newcode27 ...
5 years ago (2015-12-09 13:52:26 UTC) #9
Charlie Harrison
On 2015/12/09 13:52:26, csharrison wrote: > On 2015/12/09 06:29:00, Adam Rice wrote: > > > ...
5 years ago (2015-12-09 15:13:17 UTC) #10
Adam Rice
On 2015/12/09 15:13:17, csharrison wrote: > On 2015/12/09 13:52:26, csharrison wrote: > > On 2015/12/09 ...
5 years ago (2015-12-09 18:20:49 UTC) #11
Randy Smith (Not in Mondays)
LGTM owner stamp.
5 years ago (2015-12-09 20:29:37 UTC) #12
kinuko
Adam, if you're ready could we land this? (We want to use EventOccurredInForeground in the ...
5 years ago (2015-12-10 08:39:46 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1507813002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1507813002/60001
5 years ago (2015-12-10 14:29:15 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-12-10 15:37:31 UTC) #17
commit-bot: I haz the power
5 years ago (2015-12-10 15:38:26 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/096b91575a69187a3f9e7b6484db5ac8ee9ed452
Cr-Commit-Position: refs/heads/master@{#364366}

Powered by Google App Engine
This is Rietveld 408576698