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

Issue 1407093003: Add start/finish navigation to startup metrics. (Closed)

Created:
5 years, 2 months ago by gab
Modified:
5 years, 1 month ago
Reviewers:
clamy, rkaplow, Charlie Reis
CC:
chromium-reviews, asvitkine+watch_chromium.org, Charlie Reis
Base URL:
https://chromium.googlesource.com/chromium/src.git@a2_better_ownership_model_firstwebcontentsprofiler
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add start/finish navigation to startup metrics. Also add a new abandon reason for navigation errors. BUG=544138, 525209 Committed: https://crrev.com/98286b67a8d14d977f1be9e509302ba4e47f1130 Cr-Commit-Position: refs/heads/master@{#356851}

Patch Set 1 #

Patch Set 2 : Using DidFinishNavigation() #

Total comments: 9

Patch Set 3 : review:clamy => simpler == better :-) #

Total comments: 4

Patch Set 4 : assume main frame #

Patch Set 5 : merge #

Total comments: 2

Patch Set 6 : histograms.xml: [Non-Mobile] -> [Desktop] #

Patch Set 7 : rebase on trunk #

Total comments: 3

Patch Set 8 : merge NavigationEntryCommitted() logic into DidFinishNavigation() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -54 lines) Patch
M chrome/browser/metrics/first_web_contents_profiler.h View 1 2 3 4 5 6 7 3 chunks +16 lines, -9 lines 0 comments Download
M chrome/browser/metrics/first_web_contents_profiler.cc View 1 2 3 4 5 6 7 4 chunks +54 lines, -15 lines 0 comments Download
M components/startup_metric_utils/startup_metric_utils.h View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M components/startup_metric_utils/startup_metric_utils.cc View 2 1 chunk +28 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 8 chunks +59 lines, -30 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 23 (7 generated)
gab
Camille, does that look reasonable to you? Thanks a lot for your help! Gab
5 years, 2 months ago (2015-10-22 16:59:41 UTC) #2
clamy
Thanks! I think the patch can be made simpler, see my comments below. https://codereview.chromium.org/1407093003/diff/20001/chrome/browser/metrics/first_web_contents_profiler.cc File ...
5 years, 2 months ago (2015-10-22 17:21:07 UTC) #3
gab
Thanks for the review, PTAL. https://codereview.chromium.org/1407093003/diff/20001/chrome/browser/metrics/first_web_contents_profiler.cc File chrome/browser/metrics/first_web_contents_profiler.cc (right): https://codereview.chromium.org/1407093003/diff/20001/chrome/browser/metrics/first_web_contents_profiler.cc#newcode223 chrome/browser/metrics/first_web_contents_profiler.cc:223: return; On 2015/10/22 17:21:07, ...
5 years, 2 months ago (2015-10-22 20:37:39 UTC) #4
clamy
Thanks! A few more comments but it looks nicer :). https://codereview.chromium.org/1407093003/diff/20001/chrome/browser/metrics/first_web_contents_profiler.cc File chrome/browser/metrics/first_web_contents_profiler.cc (right): https://codereview.chromium.org/1407093003/diff/20001/chrome/browser/metrics/first_web_contents_profiler.cc#newcode254 ...
5 years, 1 month ago (2015-10-26 17:51:42 UTC) #5
gab
Thanks +creis for his opinion on the side-discussion below. +rkaplow for c/b/metrics OWNERS https://codereview.chromium.org/1407093003/diff/20001/chrome/browser/metrics/first_web_contents_profiler.cc File ...
5 years, 1 month ago (2015-10-27 15:56:15 UTC) #8
Charlie Reis
https://codereview.chromium.org/1407093003/diff/20001/chrome/browser/metrics/first_web_contents_profiler.cc File chrome/browser/metrics/first_web_contents_profiler.cc (right): https://codereview.chromium.org/1407093003/diff/20001/chrome/browser/metrics/first_web_contents_profiler.cc#newcode254 chrome/browser/metrics/first_web_contents_profiler.cc:254: FinishedCollectingMetrics(FinishReason::ABANDON_NAVIGATION); On 2015/10/27 15:56:15, gab wrote: > On 2015/10/26 ...
5 years, 1 month ago (2015-10-27 18:35:21 UTC) #11
rkaplow
lgtm histograms lgtm https://codereview.chromium.org/1407093003/diff/100001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1407093003/diff/100001/tools/metrics/histograms/histograms.xml#newcode44149 tools/metrics/histograms/histograms.xml:44149: + [Non-mobile] The reason for which ...
5 years, 1 month ago (2015-10-27 19:25:30 UTC) #12
gab
Thanks all, will wait for clamy's review to submit. Gab https://codereview.chromium.org/1407093003/diff/20001/chrome/browser/metrics/first_web_contents_profiler.cc File chrome/browser/metrics/first_web_contents_profiler.cc (right): https://codereview.chromium.org/1407093003/diff/20001/chrome/browser/metrics/first_web_contents_profiler.cc#newcode254 ...
5 years, 1 month ago (2015-10-28 01:55:13 UTC) #13
clamy
Thanks! One more comment and it should be good. https://codereview.chromium.org/1407093003/diff/140001/chrome/browser/metrics/first_web_contents_profiler.cc File chrome/browser/metrics/first_web_contents_profiler.cc (right): https://codereview.chromium.org/1407093003/diff/140001/chrome/browser/metrics/first_web_contents_profiler.cc#newcode230 chrome/browser/metrics/first_web_contents_profiler.cc:230: ...
5 years, 1 month ago (2015-10-28 11:55:59 UTC) #14
gab
Thanks, done, one more question below. https://codereview.chromium.org/1407093003/diff/140001/chrome/browser/metrics/first_web_contents_profiler.cc File chrome/browser/metrics/first_web_contents_profiler.cc (right): https://codereview.chromium.org/1407093003/diff/140001/chrome/browser/metrics/first_web_contents_profiler.cc#newcode230 chrome/browser/metrics/first_web_contents_profiler.cc:230: void FirstWebContentsProfiler::NavigationEntryCommitted( On ...
5 years, 1 month ago (2015-10-28 20:17:38 UTC) #15
Charlie Reis
https://codereview.chromium.org/1407093003/diff/140001/chrome/browser/metrics/first_web_contents_profiler.cc File chrome/browser/metrics/first_web_contents_profiler.cc (right): https://codereview.chromium.org/1407093003/diff/140001/chrome/browser/metrics/first_web_contents_profiler.cc#newcode230 chrome/browser/metrics/first_web_contents_profiler.cc:230: void FirstWebContentsProfiler::NavigationEntryCommitted( On 2015/10/28 20:17:38, gab wrote: > On ...
5 years, 1 month ago (2015-10-28 20:58:26 UTC) #16
gab
On 2015/10/28 20:58:26, Charlie Reis wrote: > https://codereview.chromium.org/1407093003/diff/140001/chrome/browser/metrics/first_web_contents_profiler.cc > File chrome/browser/metrics/first_web_contents_profiler.cc (right): > > https://codereview.chromium.org/1407093003/diff/140001/chrome/browser/metrics/first_web_contents_profiler.cc#newcode230 ...
5 years, 1 month ago (2015-10-28 21:00:13 UTC) #17
clamy
Thnaks! Lgtm. I'll keep in mind to improve the comments for IsSamePage to make it ...
5 years, 1 month ago (2015-10-29 13:13:38 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407093003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407093003/160001
5 years, 1 month ago (2015-10-29 14:19:34 UTC) #21
commit-bot: I haz the power
Committed patchset #8 (id:160001)
5 years, 1 month ago (2015-10-29 15:41:08 UTC) #22
commit-bot: I haz the power
5 years, 1 month ago (2015-10-29 15:41:57 UTC) #23
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/98286b67a8d14d977f1be9e509302ba4e47f1130
Cr-Commit-Position: refs/heads/master@{#356851}

Powered by Google App Engine
This is Rietveld 408576698