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

Issue 132433004: Collecting LatencyInfo in telemetry (Closed)

Created:
6 years, 11 months ago by Yufeng Shen (Slow to review)
Modified:
6 years, 10 months ago
Reviewers:
nduca, ernstm, Rick Byers
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org, Rick Byers
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Collecting LatencyInfo in telemetry This CL collects input event LatencyInfo from trace buffer and generates input latency metrics: mouse_wheel_latency: From when mouse wheel event reaches RWH to when buffer is swapped. touch_scroll_latency: From when the touch event is generated to when the the buffer is swapped due to the gesture scroll generated from the touch event. BUG=246034 TEST=telemetry smoothness test on top_25.json works on ChromeOS & Android. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=249131

Patch Set 1 #

Total comments: 9

Patch Set 2 : adding unittests. Search browser main thread through name instead of exposing browser backend pid. #

Patch Set 3 : unittest added #

Total comments: 3

Patch Set 4 : use 95 percentil for input latency metric #

Total comments: 12

Patch Set 5 : refactor to make code easy to read #

Patch Set 6 : correct some formating #

Patch Set 7 : rebasae #

Patch Set 8 : fix presubmit error "unused variable" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+270 lines, -4 lines) Patch
M tools/perf/measurements/rasterize_and_record.py View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M tools/perf/measurements/smoothness_unittest.py View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M tools/perf/metrics/rendering_stats.py View 1 2 3 4 5 6 3 chunks +98 lines, -1 line 0 comments Download
M tools/perf/metrics/rendering_stats_unittest.py View 1 2 3 4 5 6 7 5 chunks +140 lines, -1 line 0 comments Download
M tools/perf/metrics/smoothness.py View 1 2 3 4 5 6 2 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 26 (0 generated)
Yufeng Shen (Slow to review)
6 years, 11 months ago (2014-01-10 00:17:40 UTC) #1
ernstm
On 2014/01/10 00:17:40, Yufeng Shen wrote: Please also test this with the reference build on ...
6 years, 11 months ago (2014-01-10 19:03:05 UTC) #2
Yufeng Shen (Slow to review)
On 2014/01/10 19:03:05, Manfred Ernst wrote: > On 2014/01/10 00:17:40, Yufeng Shen wrote: > > ...
6 years, 11 months ago (2014-01-10 23:12:17 UTC) #3
ernstm
On 2014/01/10 23:12:17, Yufeng Shen wrote: > On 2014/01/10 19:03:05, Manfred Ernst wrote: > > ...
6 years, 11 months ago (2014-01-10 23:27:21 UTC) #4
Yufeng Shen (Slow to review)
On 2014/01/10 23:27:21, Manfred Ernst wrote: > On 2014/01/10 23:12:17, Yufeng Shen wrote: > > ...
6 years, 11 months ago (2014-01-11 00:02:35 UTC) #5
ernstm
On 2014/01/11 00:02:35, Yufeng Shen wrote: > On 2014/01/10 23:27:21, Manfred Ernst wrote: > > ...
6 years, 11 months ago (2014-01-11 00:07:21 UTC) #6
nduca
this should not get lg without unit tests. I will review in depth later.
6 years, 11 months ago (2014-01-13 18:06:09 UTC) #7
nduca
https://codereview.chromium.org/132433004/diff/1/tools/perf/metrics/rendering_stats.py File tools/perf/metrics/rendering_stats.py (right): https://codereview.chromium.org/132433004/diff/1/tools/perf/metrics/rendering_stats.py#newcode44 tools/perf/metrics/rendering_stats.py:44: def initInputLatencyFromTimeline(self, timeline_range): needs unit tests too https://codereview.chromium.org/132433004/diff/1/tools/perf/metrics/smoothness.py File ...
6 years, 11 months ago (2014-01-13 18:49:32 UTC) #8
Yufeng Shen (Slow to review)
https://codereview.chromium.org/132433004/diff/1/tools/perf/metrics/rendering_stats.py File tools/perf/metrics/rendering_stats.py (right): https://codereview.chromium.org/132433004/diff/1/tools/perf/metrics/rendering_stats.py#newcode44 tools/perf/metrics/rendering_stats.py:44: def initInputLatencyFromTimeline(self, timeline_range): On 2014/01/13 18:49:32, nduca wrote: > ...
6 years, 11 months ago (2014-01-14 00:05:47 UTC) #9
Yufeng Shen (Slow to review)
Nat, PTAL, thanks. https://codereview.chromium.org/132433004/diff/1/tools/perf/metrics/smoothness.py File tools/perf/metrics/smoothness.py (right): https://codereview.chromium.org/132433004/diff/1/tools/perf/metrics/smoothness.py#newcode67 tools/perf/metrics/smoothness.py:67: def AddResults(self, tab, results): On 2014/01/14 ...
6 years, 11 months ago (2014-01-20 21:59:30 UTC) #10
Rick Byers
It's exciting to see this Yufeng, thanks! https://codereview.chromium.org/132433004/diff/220001/tools/perf/metrics/smoothness.py File tools/perf/metrics/smoothness.py (right): https://codereview.chromium.org/132433004/diff/220001/tools/perf/metrics/smoothness.py#newcode96 tools/perf/metrics/smoothness.py:96: results.Add('gesture_scroll_latency_75%', 'ms', ...
6 years, 11 months ago (2014-01-21 13:57:17 UTC) #11
Yufeng Shen (Slow to review)
https://codereview.chromium.org/132433004/diff/220001/tools/perf/metrics/smoothness.py File tools/perf/metrics/smoothness.py (right): https://codereview.chromium.org/132433004/diff/220001/tools/perf/metrics/smoothness.py#newcode96 tools/perf/metrics/smoothness.py:96: results.Add('gesture_scroll_latency_75%', 'ms', On 2014/01/21 13:57:17, Rick Byers wrote: > ...
6 years, 11 months ago (2014-01-22 23:23:34 UTC) #12
Rick Byers
https://codereview.chromium.org/132433004/diff/220001/tools/perf/metrics/smoothness.py File tools/perf/metrics/smoothness.py (right): https://codereview.chromium.org/132433004/diff/220001/tools/perf/metrics/smoothness.py#newcode96 tools/perf/metrics/smoothness.py:96: results.Add('gesture_scroll_latency_75%', 'ms', On 2014/01/22 23:23:35, Yufeng Shen wrote: > ...
6 years, 11 months ago (2014-01-23 00:57:04 UTC) #13
Yufeng Shen (Slow to review)
On 2014/01/23 00:57:04, Rick Byers wrote: > https://codereview.chromium.org/132433004/diff/220001/tools/perf/metrics/smoothness.py > File tools/perf/metrics/smoothness.py (right): > > https://codereview.chromium.org/132433004/diff/220001/tools/perf/metrics/smoothness.py#newcode96 ...
6 years, 11 months ago (2014-01-23 02:30:59 UTC) #14
nduca
lots of feedback, thank you for continuing to work on this! :) https://codereview.chromium.org/132433004/diff/280002/tools/perf/metrics/rendering_stats.py File tools/perf/metrics/rendering_stats.py ...
6 years, 11 months ago (2014-01-23 18:34:44 UTC) #15
Yufeng Shen (Slow to review)
PTAL, thanks. https://codereview.chromium.org/132433004/diff/280002/tools/perf/metrics/rendering_stats.py File tools/perf/metrics/rendering_stats.py (right): https://codereview.chromium.org/132433004/diff/280002/tools/perf/metrics/rendering_stats.py#newcode47 tools/perf/metrics/rendering_stats.py:47: ui_comp_name = 'INPUT_EVENT_LATENCY_UI_COMPONENT' On 2014/01/23 18:34:45, nduca ...
6 years, 10 months ago (2014-01-30 01:16:04 UTC) #16
Yufeng Shen (Slow to review)
Ping. Nat, can you take another look at this ?
6 years, 10 months ago (2014-02-04 00:59:21 UTC) #17
nduca
lgtm thank you
6 years, 10 months ago (2014-02-05 00:30:16 UTC) #18
Yufeng Shen (Slow to review)
The CQ bit was checked by miletus@chromium.org
6 years, 10 months ago (2014-02-05 00:55:37 UTC) #19
Yufeng Shen (Slow to review)
The CQ bit was checked by miletus@chromium.org
6 years, 10 months ago (2014-02-05 01:31:11 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miletus@chromium.org/132433004/540001
6 years, 10 months ago (2014-02-05 03:48:13 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-05 04:41:07 UTC) #22
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=48165
6 years, 10 months ago (2014-02-05 04:41:07 UTC) #23
Yufeng Shen (Slow to review)
The CQ bit was checked by miletus@chromium.org
6 years, 10 months ago (2014-02-05 18:49:14 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miletus@chromium.org/132433004/710001
6 years, 10 months ago (2014-02-05 19:00:31 UTC) #25
commit-bot: I haz the power
6 years, 10 months ago (2014-02-05 22:07:41 UTC) #26
Message was sent while issue was closed.
Change committed as 249131

Powered by Google App Engine
This is Rietveld 408576698