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

Issue 633083002: Changes PlzNavitate histograms to try and simplify their multi-modal characteristic. (Closed)

Created:
6 years, 2 months ago by carlosk
Modified:
6 years, 2 months ago
Reviewers:
clamy, Ilya Sherman, nasko
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Changes PlzNavitate histograms to try and simplify their multi-modal characteristic. Adds new navigation histograms split by having or not spawned a new renderer, moves UMA reports to commit time and discounts time spent on before-unload. BUG=416877 Committed: https://crrev.com/a045c8cbbff767d639bf89101b59c0670c834eb0 Cr-Commit-Position: refs/heads/master@{#299457}

Patch Set 1 : Added new histograms, moved UMA reports to commit time. #

Patch Set 2 : Discounting time spent on beforeunload, created navigation metrics data class and updated histograms.xml. #

Total comments: 24

Patch Set 3 : Addressed CR comments, renamed histograms using suffixes, other minor changes. #

Total comments: 12

Patch Set 4 : Addressed CR comments; simplified NavigatorImpl::NavigationMetricsData. #

Patch Set 5 : Classify histograms from navigations issued from a previous session restore. #

Total comments: 14

Patch Set 6 : Addressed CR comments: mostly minor improvements and naming changes. #

Total comments: 10

Patch Set 7 : Addressed CR comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -20 lines) Patch
M content/browser/frame_host/navigator.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator_impl.h View 1 2 3 3 chunks +12 lines, -3 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 3 4 5 6 6 chunks +90 lines, -15 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 1 2 3 4 5 6 2 chunks +11 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 3 chunks +17 lines, -2 lines 0 comments Download

Messages

Total messages: 27 (6 generated)
carlosk
isherman@: PTAL for histograms.xml nasko@, clamy@: PTAL As previously discussed as the initial histograms we ...
6 years, 2 months ago (2014-10-07 19:42:11 UTC) #3
Ilya Sherman
https://codereview.chromium.org/633083002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/633083002/diff/40001/tools/metrics/histograms/histograms.xml#oldcode13760 tools/metrics/histograms/histograms.xml:13760: -<histogram name="Navigation.TimeToCommit" units="milliseconds"> Please mark the obsolete histograms as ...
6 years, 2 months ago (2014-10-07 20:23:45 UTC) #4
Ilya Sherman
On 2014/10/07 19:42:11, carlosk wrote: > isherman@: PTAL for histograms.xml > > nasko@, clamy@: PTAL ...
6 years, 2 months ago (2014-10-07 20:25:38 UTC) #5
nasko
https://codereview.chromium.org/633083002/diff/40001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/633083002/diff/40001/content/browser/frame_host/navigator_impl.cc#newcode181 content/browser/frame_host/navigator_impl.cc:181: base::TimeTicks start_time, GURL url) : start_time_(start_time), url_(url) { Please ...
6 years, 2 months ago (2014-10-08 17:10:42 UTC) #6
carlosk
Thanks for your comments. @ilya: I'll keep the old histograms for a while as they ...
6 years, 2 months ago (2014-10-09 16:53:46 UTC) #7
clamy
Thanks, a few comments as I was reading along. https://codereview.chromium.org/633083002/diff/40001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/633083002/diff/40001/content/browser/frame_host/navigator_impl.cc#newcode890 content/browser/frame_host/navigator_impl.cc:890: ...
6 years, 2 months ago (2014-10-09 19:02:32 UTC) #8
Ilya Sherman
Histograms LGTM, thanks.
6 years, 2 months ago (2014-10-09 21:29:54 UTC) #9
carlosk
Thanks. https://codereview.chromium.org/633083002/diff/40001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/633083002/diff/40001/content/browser/frame_host/navigator_impl.cc#newcode890 content/browser/frame_host/navigator_impl.cc:890: site_instance->GetProcess()->GetInitTime() > navigation_data.start_time_; On 2014/10/09 19:02:32, clamy wrote: ...
6 years, 2 months ago (2014-10-10 10:00:04 UTC) #10
clamy
https://codereview.chromium.org/633083002/diff/40001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/633083002/diff/40001/content/browser/frame_host/navigator_impl.cc#newcode890 content/browser/frame_host/navigator_impl.cc:890: site_instance->GetProcess()->GetInitTime() > navigation_data.start_time_; On 2014/10/10 10:00:03, carlosk wrote: > ...
6 years, 2 months ago (2014-10-10 19:59:12 UTC) #12
carlosk
Thanks! ilya@: could you PTAL at histograms.xml again? Sorry to change histograms.xml again but clamy@ ...
6 years, 2 months ago (2014-10-13 14:05:50 UTC) #13
clamy
Thanks! A few comments below. https://chromiumcodereview.appspot.com/633083002/diff/390001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://chromiumcodereview.appspot.com/633083002/diff/390001/content/browser/frame_host/navigator_impl.cc#newcode891 content/browser/frame_host/navigator_impl.cc:891: "Navigation.TimeToCommit_NewRenderer_Restored_BeforeUnloadDiscounted", Line should be ...
6 years, 2 months ago (2014-10-13 15:28:34 UTC) #14
nasko
A few comments. https://codereview.chromium.org/633083002/diff/390001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/633083002/diff/390001/content/browser/frame_host/navigator_impl.cc#newcode800 content/browser/frame_host/navigator_impl.cc:800: // happened later than the navigation ...
6 years, 2 months ago (2014-10-13 15:55:24 UTC) #15
carlosk
Thanks for the comments. A few more histogram names changed due to me learning that ...
6 years, 2 months ago (2014-10-13 18:01:46 UTC) #16
nasko
LGTM with a few nits. https://codereview.chromium.org/633083002/diff/480001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/633083002/diff/480001/content/browser/frame_host/navigator_impl.cc#newcode889 content/browser/frame_host/navigator_impl.cc:889: "Navigation.TimeToCommit_SessionRestored_BeforeUnloadDiscounted", In session restore ...
6 years, 2 months ago (2014-10-13 18:13:38 UTC) #17
carlosk
Thanks! Replying down here as I dumb-fully deleted the patchset where you made them... Sorry! ...
6 years, 2 months ago (2014-10-13 18:24:41 UTC) #20
Ilya Sherman
Histograms still LGTM, thanks. https://codereview.chromium.org/633083002/diff/610001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/633083002/diff/610001/tools/metrics/histograms/histograms.xml#newcode13881 tools/metrics/histograms/histograms.xml:13881: + Time between the start ...
6 years, 2 months ago (2014-10-13 22:05:56 UTC) #21
clamy
Thanks! LGTM with a few nits. https://chromiumcodereview.appspot.com/633083002/diff/610001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://chromiumcodereview.appspot.com/633083002/diff/610001/content/browser/frame_host/navigator_impl.cc#newcode895 content/browser/frame_host/navigator_impl.cc:895: } else { ...
6 years, 2 months ago (2014-10-14 07:09:26 UTC) #22
carlosk
Thanks for all comments. All set and ready for commit. https://codereview.chromium.org/633083002/diff/610001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/633083002/diff/610001/content/browser/frame_host/navigator_impl.cc#newcode895 ...
6 years, 2 months ago (2014-10-14 09:03:27 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/633083002/680001
6 years, 2 months ago (2014-10-14 09:04:40 UTC) #25
commit-bot: I haz the power
Committed patchset #7 (id:680001)
6 years, 2 months ago (2014-10-14 10:43:31 UTC) #26
commit-bot: I haz the power
6 years, 2 months ago (2014-10-14 10:44:21 UTC) #27
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/a045c8cbbff767d639bf89101b59c0670c834eb0
Cr-Commit-Position: refs/heads/master@{#299457}

Powered by Google App Engine
This is Rietveld 408576698