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

Issue 397663002: Addition of first_gesture_scroll_latency (Closed)

Created:
6 years, 5 months ago by picksi1
Modified:
6 years, 3 months ago
CC:
chromium-reviews, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Addition of first_gesture_scroll_latency metric. BUG=303215

Patch Set 1 #

Total comments: 16

Patch Set 2 : Updates from code reviews #

Patch Set 3 : Addition of unit tests #

Total comments: 11

Patch Set 4 : Addition of GSU latency metric #

Total comments: 2

Patch Set 5 : Metric measures only first GSU event #

Patch Set 6 : Removing time to stablise metric #

Patch Set 7 : Tidy-up of unneeded imports & whitespace #

Total comments: 1

Patch Set 8 : Renaming of new metric #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -29 lines) Patch
M tools/telemetry/telemetry/web_perf/metrics/rendering_stats.py View 1 2 3 4 5 7 chunks +98 lines, -20 lines 0 comments Download
M tools/telemetry/telemetry/web_perf/metrics/rendering_stats_unittest.py View 1 2 3 4 chunks +75 lines, -8 lines 0 comments Download
M tools/telemetry/telemetry/web_perf/metrics/smoothness.py View 1 2 3 4 5 6 7 2 chunks +16 lines, -1 line 2 comments Download

Messages

Total messages: 38 (0 generated)
picksi
I've add two new metrics to help measure blink scheduling improvements: 1. time_for_input_latency_to_stabilize This measures, ...
6 years, 5 months ago (2014-07-15 14:25:59 UTC) #1
eseidel
https://codereview.chromium.org/397663002/diff/1/tools/telemetry/telemetry/util/statistics.py File tools/telemetry/telemetry/util/statistics.py (right): https://codereview.chromium.org/397663002/diff/1/tools/telemetry/telemetry/util/statistics.py#newcode206 tools/telemetry/telemetry/util/statistics.py:206: the mean stabilization time. This gives us a metric ...
6 years, 5 months ago (2014-07-15 21:35:15 UTC) #2
picksi
https://codereview.chromium.org/397663002/diff/1/tools/telemetry/telemetry/util/statistics.py File tools/telemetry/telemetry/util/statistics.py (right): https://codereview.chromium.org/397663002/diff/1/tools/telemetry/telemetry/util/statistics.py#newcode206 tools/telemetry/telemetry/util/statistics.py:206: the mean stabilization time. This gives us a metric ...
6 years, 5 months ago (2014-07-21 09:38:08 UTC) #3
picksi
Addition of unit tests and a small fix revealed by unit-tests. https://codereview.chromium.org/397663002/diff/40001/tools/telemetry/telemetry/util/statistics.py File tools/telemetry/telemetry/util/statistics.py (right): ...
6 years, 5 months ago (2014-07-21 14:06:31 UTC) #4
eseidel
Seems OK to me. I don't have power in this directory. We'd have to check ...
6 years, 5 months ago (2014-07-22 15:37:41 UTC) #5
Sami
Rick, can you have a peek since you had some Strong Opinions about this on ...
6 years, 5 months ago (2014-07-22 15:50:55 UTC) #6
Rick Byers
miletus@ should really weight in on this since it changes and extends some of his ...
6 years, 5 months ago (2014-07-22 21:04:29 UTC) #7
Yufeng Shen (Slow to review)
My concern is that time_for_input_latency_to_stabilize is not a very straightforward metric and one has to ...
6 years, 5 months ago (2014-07-22 21:33:40 UTC) #8
jdduke (slow)
On 2014/07/22 21:33:40, Yufeng Shen wrote: > My concern is that time_for_input_latency_to_stabilize is not a ...
6 years, 5 months ago (2014-07-22 22:01:50 UTC) #9
picksi1
Thanks for all the feedback! I'll make the code changes suggested by Rick I'll add ...
6 years, 5 months ago (2014-07-23 10:31:04 UTC) #10
Rick Byers
On 2014/07/23 10:31:04, picksi1 wrote: > Thanks for all the feedback! > > I'll make ...
6 years, 5 months ago (2014-07-23 14:22:21 UTC) #11
picksi1
Thanks for this, there's lots of useful information here! I hadn't appreciated the way that ...
6 years, 5 months ago (2014-07-23 15:29:28 UTC) #12
Yufeng Shen (Slow to review)
On 2014/07/23 14:22:21, Rick Byers wrote: > On 2014/07/23 10:31:04, picksi1 wrote: > > Thanks ...
6 years, 5 months ago (2014-07-23 17:45:17 UTC) #13
Rick Byers
On 2014/07/23 15:29:28, picksi1 wrote: > Thanks for this, there's lots of useful information here! ...
6 years, 5 months ago (2014-07-23 21:03:45 UTC) #14
picksi
I've added a metric to report the average of the first 3 GSU events. I'll ...
6 years, 5 months ago (2014-07-25 12:33:22 UTC) #15
picksi1
I've run smoothness tests with a repeat of 10, the results are here: https://x20web.corp.google.com/~picksi/results.html I ...
6 years, 4 months ago (2014-07-28 14:18:28 UTC) #16
nduca
how does this relate to frame queueing durations metric?
6 years, 4 months ago (2014-07-29 19:48:37 UTC) #17
nduca
+ariblue --- ari, you and @picksi should probably become good friends ^_^
6 years, 4 months ago (2014-07-29 19:49:26 UTC) #18
Rick Byers
On 2014/07/28 14:18:28, picksi1 wrote: > I've run smoothness tests with a repeat of 10, ...
6 years, 4 months ago (2014-07-29 19:56:51 UTC) #19
Yufeng Shen (Slow to review)
On 2014/07/29 19:56:51, Rick Byers wrote: > On 2014/07/28 14:18:28, picksi1 wrote: > > I've ...
6 years, 4 months ago (2014-07-29 20:15:30 UTC) #20
Yufeng Shen (Slow to review)
On 2014/07/29 20:15:30, Yufeng Shen wrote: > On 2014/07/29 19:56:51, Rick Byers wrote: > > ...
6 years, 4 months ago (2014-07-29 21:42:21 UTC) #21
picksi1
I've run tough_scheduling_cases with a repeat of 10 and have put the results here: https://x20web.corp.google.com/~picksi/GSU1and3ToughSchedulingCases.html ...
6 years, 4 months ago (2014-07-30 14:46:57 UTC) #22
nduca
any response to #17?
6 years, 4 months ago (2014-07-31 09:49:14 UTC) #23
picksi1
Queuing_duration is an average of how long input events spend waiting in a task queue ...
6 years, 4 months ago (2014-07-31 13:49:33 UTC) #24
jdduke (slow)
On 2014/07/30 14:46:57, picksi1 wrote: > I've run tough_scheduling_cases with a repeat of 10 and ...
6 years, 4 months ago (2014-07-31 15:29:58 UTC) #25
Rick Byers
Looking at the tough_scheduler_cases_results, there are some interesting points: 1) look at first_1_GSU_events_latency_mean.empty_touch_handler.html?slow_handler. That reports ...
6 years, 4 months ago (2014-07-31 17:47:55 UTC) #26
picksi1
I have removed time to stablize and renamed the GSU metric as you suggested.
6 years, 4 months ago (2014-08-01 11:29:24 UTC) #27
Rick Byers
Thanks Simon, this LGTM (with nit). Also please update the CL description. https://codereview.chromium.org/397663002/diff/120001/tools/telemetry/telemetry/web_perf/metrics/smoothness.py File tools/telemetry/telemetry/web_perf/metrics/smoothness.py ...
6 years, 4 months ago (2014-08-01 12:42:02 UTC) #28
picksi1
On 2014/08/01 12:42:02, Rick Byers wrote: > Thanks Simon, this LGTM (with nit). > > ...
6 years, 4 months ago (2014-08-01 16:41:57 UTC) #29
picksi1
... and I've changed the Issue name & CL description
6 years, 4 months ago (2014-08-01 16:44:10 UTC) #30
Rick Byers
On 2014/08/01 16:44:10, picksi1 wrote: > ... and I've changed the Issue name & CL ...
6 years, 4 months ago (2014-08-01 17:48:49 UTC) #31
nduca
On 2014/08/01 at 17:48:49, rbyers wrote: > On 2014/08/01 16:44:10, picksi1 wrote: > > ...
6 years, 4 months ago (2014-08-01 18:52:42 UTC) #32
nduca
Er, i'd like to clarify something here: i'm not a drive by reviewer on this. ...
6 years, 4 months ago (2014-08-01 18:59:01 UTC) #33
nduca
ah, @$@)(#*, i didn't see you removed the quiesence stuff. I really like that btw, ...
6 years, 4 months ago (2014-08-01 19:20:43 UTC) #34
nduca
https://codereview.chromium.org/397663002/diff/140001/tools/telemetry/telemetry/web_perf/metrics/smoothness.py File tools/telemetry/telemetry/web_perf/metrics/smoothness.py (right): https://codereview.chromium.org/397663002/diff/140001/tools/telemetry/telemetry/web_perf/metrics/smoothness.py#newcode38 tools/telemetry/telemetry/web_perf/metrics/smoothness.py:38: input_start_and_latency_GSU = FlattenList(stats.input_start_and_latency_GSU) specifically should we have tests for ...
6 years, 4 months ago (2014-08-01 19:21:27 UTC) #35
jdduke (slow)
https://codereview.chromium.org/397663002/diff/140001/tools/telemetry/telemetry/web_perf/metrics/smoothness.py File tools/telemetry/telemetry/web_perf/metrics/smoothness.py (right): https://codereview.chromium.org/397663002/diff/140001/tools/telemetry/telemetry/web_perf/metrics/smoothness.py#newcode38 tools/telemetry/telemetry/web_perf/metrics/smoothness.py:38: input_start_and_latency_GSU = FlattenList(stats.input_start_and_latency_GSU) On 2014/08/01 19:21:26, nduca wrote: > ...
6 years, 4 months ago (2014-08-09 01:58:50 UTC) #36
tdresser
On 2014/08/09 01:58:50, jdduke wrote: > https://codereview.chromium.org/397663002/diff/140001/tools/telemetry/telemetry/web_perf/metrics/smoothness.py > File tools/telemetry/telemetry/web_perf/metrics/smoothness.py (right): > > https://codereview.chromium.org/397663002/diff/140001/tools/telemetry/telemetry/web_perf/metrics/smoothness.py#newcode38 > ...
6 years, 4 months ago (2014-08-12 18:55:14 UTC) #37
Sami
6 years, 4 months ago (2014-08-14 10:13:40 UTC) #38
On 2014/08/12 18:55:14, tdresser wrote:
> On 2014/08/09 01:58:50, jdduke wrote:
> >
>
https://codereview.chromium.org/397663002/diff/140001/tools/telemetry/telemet...
> > File tools/telemetry/telemetry/web_perf/metrics/smoothness.py (right):
> > 
> >
>
https://codereview.chromium.org/397663002/diff/140001/tools/telemetry/telemet...
> > tools/telemetry/telemetry/web_perf/metrics/smoothness.py:38:
> > input_start_and_latency_GSU = FlattenList(stats.input_start_and_latency_GSU)
> > On 2014/08/01 19:21:26, nduca wrote:
> > > specifically should we have tests for the smoothness metric part? or do we
> not
> > > currently unit test the integration point?
> > 
> > Hmm, looks like the smoothness metric lacks unit tests.  Coverage would be
> nice,
> > maybe in a follow-up patch?
> 
> Looks like the bug id is incorrect.

FYI, I've moved this patch over to https://codereview.chromium.org/467343002/.

Powered by Google App Engine
This is Rietveld 408576698