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

Issue 2151363003: Split redirect delay metrics into separate histograms. (Closed)

Created:
4 years, 5 months ago by Bryan McQuade
Modified:
4 years, 5 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, csharrison+watch_chromium.org, loading-reviews+metrics_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Split redirect delay metrics into separate histograms. In https://codereview.chromium.org/2103153004/, a histogram was added to track the time between a page painting, and initiating a client-side redirect. Additionally, a zero value was recorded in the following two cases: * the page initiated a client-side redirect, then painted * the page initiated a client-side redirect, but never painted It turns out to be important to distinguish these cases. Distinguishing these cases will let us understand how frequently a page may initiate a redirect, paint, then have the redirect commit. In this case, we may want to suppress the paint notification since it ends up being more of an interstitial paint while navigating to the actual destination page, rather than what we'd consider an actual first paint. In order to decide whether we should add logic to suppress, this change separates the histogram into two so we can understand how common this case is. BUG=613634 Committed: https://crrev.com/09b1ee4df148f93c4a8f7f7f3d64a80a3479f0f1 Cr-Commit-Position: refs/heads/master@{#406192}

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 4

Patch Set 3 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -6 lines) Patch
M components/page_load_metrics/browser/metrics_web_contents_observer.cc View 1 2 2 chunks +10 lines, -6 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
Bryan McQuade
PTAL
4 years, 5 months ago (2016-07-15 21:59:06 UTC) #7
Ilya Sherman
https://codereview.chromium.org/2151363003/diff/20001/components/page_load_metrics/browser/metrics_web_contents_observer.cc File components/page_load_metrics/browser/metrics_web_contents_observer.cc (right): https://codereview.chromium.org/2151363003/diff/20001/components/page_load_metrics/browser/metrics_web_contents_observer.cc#newcode401 components/page_load_metrics/browser/metrics_web_contents_observer.cc:401: UMA_HISTOGRAM_COUNTS(internal::kClientRedirectWithoutPaint, 1); This allocates 50 buckets, of which only ...
4 years, 5 months ago (2016-07-15 23:05:38 UTC) #10
Bryan McQuade
PTAL thanks! https://codereview.chromium.org/2151363003/diff/20001/components/page_load_metrics/browser/metrics_web_contents_observer.cc File components/page_load_metrics/browser/metrics_web_contents_observer.cc (right): https://codereview.chromium.org/2151363003/diff/20001/components/page_load_metrics/browser/metrics_web_contents_observer.cc#newcode401 components/page_load_metrics/browser/metrics_web_contents_observer.cc:401: UMA_HISTOGRAM_COUNTS(internal::kClientRedirectWithoutPaint, 1); On 2016/07/15 at 23:05:38, Ilya ...
4 years, 5 months ago (2016-07-17 13:18:06 UTC) #15
Charlie Harrison
lgtm
4 years, 5 months ago (2016-07-18 20:04:57 UTC) #16
Ilya Sherman
LGTM, thanks.
4 years, 5 months ago (2016-07-18 23:02:00 UTC) #17
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/2151363003/40001
4 years, 5 months ago (2016-07-18 23:06:48 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-19 02:26:44 UTC) #20
commit-bot: I haz the power
4 years, 5 months ago (2016-07-19 02:29:01 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/09b1ee4df148f93c4a8f7f7f3d64a80a3479f0f1
Cr-Commit-Position: refs/heads/master@{#406192}

Powered by Google App Engine
This is Rietveld 408576698