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

Issue 2203263002: History: Add load-time metric for non-MD and MD History WebUI (Closed)

Created:
4 years, 4 months ago by tsergeant
Modified:
4 years, 4 months ago
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, dbeam+watch-history_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org, asvitkine+watch_chromium.org, stevenjb
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

History: Add load-time metric for non-MD and MD History WebUI This adds a new metric, History.ResultsRenderedTime, which is measured on both versions of the history page. The metric measures the time taken to render results onto the history page, which roughly corresponds to 'time to first meaningful paint'. This will allow us to measure the relative performance of MD History in the wild. BUG=633477 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/6b0157c3df09662bb47a98c508ff1ab9f1b3335a Cr-Commit-Position: refs/heads/master@{#409983}

Patch Set 1 : JSDoc #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : Inline history method #

Patch Set 4 : Fix closure #

Total comments: 7

Patch Set 5 : isherman@ review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -3 lines) Patch
M chrome/browser/resources/history/history.js View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/history.js View 1 2 3 2 chunks +13 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/metrics_handler.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/metrics_handler.cc View 1 2 3 4 2 chunks +23 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 41 (23 generated)
tsergeant
https://codereview.chromium.org/2203263002/diff/40001/chrome/browser/resources/history/history.js File chrome/browser/resources/history/history.js (right): https://codereview.chromium.org/2203263002/diff/40001/chrome/browser/resources/history/history.js#newcode1137 chrome/browser/resources/history/history.js:1137: requestAnimationFrame(function() { I have two main options here: * ...
4 years, 4 months ago (2016-08-03 07:37:04 UTC) #6
calamity
https://codereview.chromium.org/2203263002/diff/40001/chrome/browser/resources/history/history.js File chrome/browser/resources/history/history.js (right): https://codereview.chromium.org/2203263002/diff/40001/chrome/browser/resources/history/history.js#newcode82 chrome/browser/resources/history/history.js:82: function recordTimeHistogram(histogram) { Param no longer needed? https://codereview.chromium.org/2203263002/diff/40001/chrome/browser/resources/history/history.js#newcode82 chrome/browser/resources/history/history.js:82: ...
4 years, 4 months ago (2016-08-03 08:23:23 UTC) #7
Dan Beam
https://codereview.chromium.org/2203263002/diff/40001/chrome/browser/resources/history/externs.js File chrome/browser/resources/history/externs.js (right): https://codereview.chromium.org/2203263002/diff/40001/chrome/browser/resources/history/externs.js#newcode86 chrome/browser/resources/history/externs.js:86: performance.now = function() {}; i haz a sad https://github.com/google/closure-compiler/blob/8a468ed4abb4ececc5f24928aac2f8c354fea54e/externs/browser/w3c_navigation_timing.js#L153 ...
4 years, 4 months ago (2016-08-03 21:05:17 UTC) #9
tsergeant
https://codereview.chromium.org/2203263002/diff/40001/chrome/browser/resources/history/externs.js File chrome/browser/resources/history/externs.js (right): https://codereview.chromium.org/2203263002/diff/40001/chrome/browser/resources/history/externs.js#newcode86 chrome/browser/resources/history/externs.js:86: performance.now = function() {}; On 2016/08/03 21:05:17, Dan Beam ...
4 years, 4 months ago (2016-08-03 22:53:56 UTC) #10
calamity
lgtm
4 years, 4 months ago (2016-08-04 01:52:33 UTC) #15
Dan Beam
https://codereview.chromium.org/2203263002/diff/40001/chrome/browser/resources/history/externs.js File chrome/browser/resources/history/externs.js (right): https://codereview.chromium.org/2203263002/diff/40001/chrome/browser/resources/history/externs.js#newcode86 chrome/browser/resources/history/externs.js:86: performance.now = function() {}; On 2016/08/03 22:53:56, tsergeant wrote: ...
4 years, 4 months ago (2016-08-04 03:51:33 UTC) #16
tsergeant
https://codereview.chromium.org/2203263002/diff/40001/chrome/browser/resources/history/externs.js File chrome/browser/resources/history/externs.js (right): https://codereview.chromium.org/2203263002/diff/40001/chrome/browser/resources/history/externs.js#newcode86 chrome/browser/resources/history/externs.js:86: performance.now = function() {}; On 2016/08/04 03:51:33, Dan Beam ...
4 years, 4 months ago (2016-08-04 03:59:06 UTC) #17
Dan Beam
lgtm
4 years, 4 months ago (2016-08-04 04:04:43 UTC) #18
tsergeant
+isherman@ for histograms.xml
4 years, 4 months ago (2016-08-04 04:12:41 UTC) #21
Ilya Sherman
When looking at the metrics, how will you determine whether it is the MD or ...
4 years, 4 months ago (2016-08-04 07:13:56 UTC) #25
tsergeant
For determining the difference between the two pages, we plan on running a field trial ...
4 years, 4 months ago (2016-08-04 07:46:55 UTC) #26
Ilya Sherman
Okay, using a field trial to analyze the data makes sense. Thanks. https://codereview.chromium.org/2203263002/diff/80001/chrome/browser/ui/webui/metrics_handler.cc File chrome/browser/ui/webui/metrics_handler.cc ...
4 years, 4 months ago (2016-08-04 20:01:10 UTC) #27
tsergeant
https://codereview.chromium.org/2203263002/diff/80001/chrome/browser/ui/webui/metrics_handler.cc File chrome/browser/ui/webui/metrics_handler.cc (right): https://codereview.chromium.org/2203263002/diff/80001/chrome/browser/ui/webui/metrics_handler.cc#newcode96 chrome/browser/ui/webui/metrics_handler.cc:96: base::HistogramBase* counter = base::LinearHistogram::FactoryTimeGet( On 2016/08/04 20:01:10, Ilya Sherman ...
4 years, 4 months ago (2016-08-04 22:45:20 UTC) #28
Dan Beam
https://codereview.chromium.org/2203263002/diff/80001/chrome/browser/ui/webui/metrics_handler.cc File chrome/browser/ui/webui/metrics_handler.cc (right): https://codereview.chromium.org/2203263002/diff/80001/chrome/browser/ui/webui/metrics_handler.cc#newcode96 chrome/browser/ui/webui/metrics_handler.cc:96: base::HistogramBase* counter = base::LinearHistogram::FactoryTimeGet( On 2016/08/04 07:46:55, tsergeant wrote: ...
4 years, 4 months ago (2016-08-04 22:50:37 UTC) #29
Ilya Sherman
LGTM, thanks.
4 years, 4 months ago (2016-08-05 03:28:46 UTC) #34
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/2203263002/100001
4 years, 4 months ago (2016-08-05 03:29:33 UTC) #37
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 4 months ago (2016-08-05 03:33:30 UTC) #39
commit-bot: I haz the power
4 years, 4 months ago (2016-08-05 03:36:01 UTC) #41
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/6b0157c3df09662bb47a98c508ff1ab9f1b3335a
Cr-Commit-Position: refs/heads/master@{#409983}

Powered by Google App Engine
This is Rietveld 408576698