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

Issue 1007383003: Adds a new UMA histogram to measure the NTP load time since navigation (Closed)

Created:
5 years, 9 months ago by fserb
Modified:
5 years, 8 months ago
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, skanuj+watch_chromium.org, melevin+watch_chromium.org, asvitkine+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, jfweitz+watch_chromium.org, David Black, arv+watch_chromium.org, samarth+watch_chromium.org, estade+watch_chromium.org, kmadhusu+watch_chromium.org, Jered, pedrosimonetti+watch_chromium.org, beaudoin
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds a new UMA histogram to measure the NTP load time since navigation start. It also fixes a bug where the NTP will Emit multiple times for the same page due to OnMostVisitedChange. BUG=467633 Committed: https://crrev.com/bafbf65d0bb82dd70bfa82bd246e70d7bd5b684f Cr-Commit-Position: refs/heads/master@{#322851}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 8

Patch Set 8 : #

Patch Set 9 : Patch #

Patch Set 10 : #

Patch Set 11 : #

Total comments: 4

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -60 lines) Patch
M chrome/browser/resources/local_ntp/most_visited_thumbnail.js View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/local_ntp/most_visited_title.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/resources/local_ntp/most_visited_util.js View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/search/search_tab_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_user_data_logger.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +44 lines, -33 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/ntp_logging_events.h View 1 chunk +4 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 9 chunks +30 lines, -23 lines 0 comments Download

Messages

Total messages: 40 (18 generated)
fserb
5 years, 9 months ago (2015-03-16 19:34:17 UTC) #3
beaudoin
LGTM with two nits. https://codereview.chromium.org/1007383003/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1007383003/diff/1/tools/metrics/histograms/histograms.xml#newcode23065 tools/metrics/histograms/histograms.xml:23065: + Could you look for ...
5 years, 9 months ago (2015-03-16 19:39:36 UTC) #5
fserb
https://codereview.chromium.org/1007383003/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1007383003/diff/1/tools/metrics/histograms/histograms.xml#newcode23065 tools/metrics/histograms/histograms.xml:23065: + On 2015/03/16 19:39:36, beaudoin wrote: > Could you ...
5 years, 9 months ago (2015-03-16 19:47:38 UTC) #6
Mathieu
lgtm You will have the same problem when resizing the NTP or blacklisting (the tiles ...
5 years, 9 months ago (2015-03-16 19:49:46 UTC) #7
fserb
done. thkx. https://codereview.chromium.org/1007383003/diff/20001/chrome/browser/ui/search/search_tab_helper.cc File chrome/browser/ui/search/search_tab_helper.cc (right): https://codereview.chromium.org/1007383003/diff/20001/chrome/browser/ui/search/search_tab_helper.cc#newcode405 chrome/browser/ui/search/search_tab_helper.cc:405: InstantTab::EmitNtpStatistics(web_contents_); On 2015/03/16 19:49:45, Mathieu Perreault wrote: ...
5 years, 9 months ago (2015-03-16 20:08:36 UTC) #8
kmadhusu
https://codereview.chromium.org/1007383003/diff/120001/chrome/renderer/searchbox/searchbox.cc File chrome/renderer/searchbox/searchbox.cc (left): https://codereview.chromium.org/1007383003/diff/120001/chrome/renderer/searchbox/searchbox.cc#oldcode168 chrome/renderer/searchbox/searchbox.cc:168: ->performance() Did you rebase this CL against crrev.com/1006753003? Is ...
5 years, 9 months ago (2015-03-17 00:06:30 UTC) #9
Dan Beam
lgtm but please address kmadhusu@'s questions https://codereview.chromium.org/1007383003/diff/120001/chrome/browser/resources/local_ntp/most_visited_title.js File chrome/browser/resources/local_ntp/most_visited_title.js (right): https://codereview.chromium.org/1007383003/diff/120001/chrome/browser/resources/local_ntp/most_visited_title.js#newcode23 chrome/browser/resources/local_ntp/most_visited_title.js:23: NTP_LOGGING_EVENT_TYPE.NTP_TILE_LOADED); +\s\s https://codereview.chromium.org/1007383003/diff/120001/chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc ...
5 years, 9 months ago (2015-03-17 01:18:46 UTC) #10
fserb
Done. Thanks for the comments. https://codereview.chromium.org/1007383003/diff/120001/chrome/browser/resources/local_ntp/most_visited_title.js File chrome/browser/resources/local_ntp/most_visited_title.js (right): https://codereview.chromium.org/1007383003/diff/120001/chrome/browser/resources/local_ntp/most_visited_title.js#newcode23 chrome/browser/resources/local_ntp/most_visited_title.js:23: NTP_LOGGING_EVENT_TYPE.NTP_TILE_LOADED); On 2015/03/17 01:18:46, ...
5 years, 9 months ago (2015-03-17 16:02:17 UTC) #11
kmadhusu
search_tab_helper.cc changes lgtm. Thanks.
5 years, 9 months ago (2015-03-17 16:57:27 UTC) #12
jwd
https://codereview.chromium.org/1007383003/diff/200001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1007383003/diff/200001/tools/metrics/histograms/histograms.xml#newcode23074 tools/metrics/histograms/histograms.xml:23074: +<histogram name="NewTabPage.LoadTime"> Can you add units="milliseconds" please. https://codereview.chromium.org/1007383003/diff/200001/tools/metrics/histograms/histograms.xml#newcode23077 tools/metrics/histograms/histograms.xml:23077: ...
5 years, 9 months ago (2015-03-17 17:08:12 UTC) #13
fserb
done. thanks. https://codereview.chromium.org/1007383003/diff/200001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1007383003/diff/200001/tools/metrics/histograms/histograms.xml#newcode23074 tools/metrics/histograms/histograms.xml:23074: +<histogram name="NewTabPage.LoadTime"> On 2015/03/17 17:08:11, Jesse Doherty ...
5 years, 9 months ago (2015-03-17 17:10:11 UTC) #14
jwd
lgtm
5 years, 9 months ago (2015-03-17 17:11:05 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1007383003/240001
5 years, 9 months ago (2015-03-19 21:51:31 UTC) #18
fserb
jhawkins: chrome/common/ntp_logging_events.h thanks :)
5 years, 9 months ago (2015-03-19 21:57:38 UTC) #21
James Hawkins
lgtm
5 years, 9 months ago (2015-03-26 20:47:17 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1007383003/260001
5 years, 9 months ago (2015-03-26 21:05:11 UTC) #27
commit-bot: I haz the power
All required reviewers (with asterisk prefixes) have not yet approved this CL. No LGTM from ...
5 years, 9 months ago (2015-03-26 21:05:18 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1007383003/260001
5 years, 9 months ago (2015-03-26 21:07:05 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/55765)
5 years, 9 months ago (2015-03-26 21:27:53 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1007383003/280001
5 years, 8 months ago (2015-03-30 18:53:40 UTC) #38
commit-bot: I haz the power
Committed patchset #15 (id:280001)
5 years, 8 months ago (2015-03-30 20:26:32 UTC) #39
commit-bot: I haz the power
5 years, 8 months ago (2015-03-30 20:27:05 UTC) #40
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/bafbf65d0bb82dd70bfa82bd246e70d7bd5b684f
Cr-Commit-Position: refs/heads/master@{#322851}

Powered by Google App Engine
This is Rietveld 408576698