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

Issue 945393002: Adding support for diagonal scrolling to telemetry. (Closed)

Created:
5 years, 10 months ago by cblume
Modified:
5 years, 9 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, extensions-reviews_chromium.org, jam, darin-cc_chromium.org, telemetry-reviews_chromium.org, piman+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding support for diagonal scrolling to telemetry. BUG=466867 Committed: https://crrev.com/8eb56468216ac1f10ebc599f89621dbaaf605313 Cr-Commit-Position: refs/heads/master@{#320419}

Patch Set 1 #

Patch Set 2 : Adding telemetry support for diagonal scrolling. Also added a telemetry test to pinchzoom in and th… #

Total comments: 9

Patch Set 3 : Making changes as per code review feedback. #

Patch Set 4 : Enabling an old test which had previously been disabled. It may work now. #

Patch Set 5 : Reenabling an old unit test for scrolling. Adding a unit test for diagonal scrolling. #

Patch Set 6 : The test now respected the way diagonal scrolling stops as soon as it hits an end on either axis. #

Patch Set 7 : Adding extra error message informatino to help me debug why the test has failed. #

Patch Set 8 : Fixed a copy-paste bug in computing the distance scrolled in the new test. #

Patch Set 9 : This test should let me see if the diagonal scrolling isn't behaving like a square. #

Patch Set 10 : Hopefully fixed a logic bug. #

Patch Set 11 : Fixed a bug which would take the minimum of two numbers (even though one would likely be negative).… #

Total comments: 1

Patch Set 12 : Moving the reenabling of a test to its own CL. Updating the new unit test to better reflect the des… #

Patch Set 13 : Rebased #

Patch Set 14 : Accidentally had two definitions of the same function. #

Total comments: 1

Patch Set 15 : More changes from code review. #

Total comments: 1

Patch Set 16 : Updating documentation in action_runner.py. Moving unit tests to a separate CL. #

Patch Set 17 : Moving more of the non-Chromium-binary into the other CL. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -1 line) Patch
M content/renderer/gpu/gpu_benchmarking_extension.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +13 lines, -1 line 0 comments Download

Messages

Total messages: 37 (9 generated)
cblume
The goal of this CL is to add a new test to telemetry. This new ...
5 years, 9 months ago (2015-02-26 00:06:16 UTC) #2
jdduke (slow)
Are there unit tests we can add for any of these additions? I know there ...
5 years, 9 months ago (2015-02-26 01:05:35 UTC) #3
cblume
On 2015/02/26 01:05:35, jdduke wrote: > Are there unit tests we can add for any ...
5 years, 9 months ago (2015-02-26 20:21:02 UTC) #4
cblume
https://codereview.chromium.org/945393002/diff/20001/content/renderer/gpu/gpu_benchmarking_extension.cc File content/renderer/gpu/gpu_benchmarking_extension.cc (right): https://codereview.chromium.org/945393002/diff/20001/content/renderer/gpu/gpu_benchmarking_extension.cc#newcode373 content/renderer/gpu/gpu_benchmarking_extension.cc:373: else if (direction == "upright") { On 2015/02/26 01:05:35, ...
5 years, 9 months ago (2015-02-26 20:22:00 UTC) #5
jdduke (slow)
If we don't already have unit tests for comparable interactions, I don't think you should ...
5 years, 9 months ago (2015-02-26 20:34:12 UTC) #6
cblume
https://codereview.chromium.org/945393002/diff/20001/tools/perf/page_sets/tough_pinch_zoom_diagonal_scrolling_cases.py File tools/perf/page_sets/tough_pinch_zoom_diagonal_scrolling_cases.py (right): https://codereview.chromium.org/945393002/diff/20001/tools/perf/page_sets/tough_pinch_zoom_diagonal_scrolling_cases.py#newcode8 tools/perf/page_sets/tough_pinch_zoom_diagonal_scrolling_cases.py:8: class ToughPinchZoomDiagonalScrollingCasesPage(page_module.Page): On 2015/02/26 20:34:12, jdduke wrote: > I ...
5 years, 9 months ago (2015-02-26 21:33:08 UTC) #7
jdduke (slow)
https://codereview.chromium.org/945393002/diff/20001/tools/perf/page_sets/tough_pinch_zoom_diagonal_scrolling_cases.py File tools/perf/page_sets/tough_pinch_zoom_diagonal_scrolling_cases.py (right): https://codereview.chromium.org/945393002/diff/20001/tools/perf/page_sets/tough_pinch_zoom_diagonal_scrolling_cases.py#newcode8 tools/perf/page_sets/tough_pinch_zoom_diagonal_scrolling_cases.py:8: class ToughPinchZoomDiagonalScrollingCasesPage(page_module.Page): On 2015/02/26 21:33:07, cblume1 wrote: > On ...
5 years, 9 months ago (2015-02-26 21:42:52 UTC) #8
cblume
5 years, 9 months ago (2015-02-27 00:04:43 UTC) #9
cblume
On 2015/02/27 00:04:43, cblume wrote: sievers@, I am adding you as a reviewer to approve ...
5 years, 9 months ago (2015-02-27 18:52:42 UTC) #11
cblume
5 years, 9 months ago (2015-02-27 18:52:52 UTC) #12
nednguyen
On 2015/02/27 18:52:52, cblume wrote: Can you add simple functional test for that new scroll?
5 years, 9 months ago (2015-02-27 18:57:27 UTC) #13
no sievers
On 2015/02/27 18:52:42, cblume wrote: > On 2015/02/27 00:04:43, cblume wrote: > > sievers@, I ...
5 years, 9 months ago (2015-02-27 19:36:18 UTC) #14
cblume
I have reenabled the existing scroll test which was once flaky but no longer seems ...
5 years, 9 months ago (2015-03-04 05:36:20 UTC) #15
nednguyen
https://codereview.chromium.org/945393002/diff/200001/tools/telemetry/telemetry/page/actions/scroll_unittest.py File tools/telemetry/telemetry/page/actions/scroll_unittest.py (left): https://codereview.chromium.org/945393002/diff/200001/tools/telemetry/telemetry/page/actions/scroll_unittest.py#oldcode13 tools/telemetry/telemetry/page/actions/scroll_unittest.py:13: @decorators.Disabled # Disabled due to flakiness: crbug.com/330544 Can you ...
5 years, 9 months ago (2015-03-04 05:40:49 UTC) #16
cblume
As suggested, I moved reenabling the old test to a separate patch: https://codereview.chromium.org/976063003/ I then ...
5 years, 9 months ago (2015-03-06 18:12:59 UTC) #17
nednguyen
Thanks for the fixing the old test cblume! https://codereview.chromium.org/945393002/diff/260001/tools/telemetry/telemetry/page/actions/scroll_unittest.py File tools/telemetry/telemetry/page/actions/scroll_unittest.py (right): https://codereview.chromium.org/945393002/diff/260001/tools/telemetry/telemetry/page/actions/scroll_unittest.py#newcode73 tools/telemetry/telemetry/page/actions/scroll_unittest.py:73: self.assertTrue(self._tab.EvaluateJavaScript('window.__didEndMeasuring')) ...
5 years, 9 months ago (2015-03-06 19:07:51 UTC) #18
cblume
I've removed the asserts for test began and test ended. If we scrolled at all, ...
5 years, 9 months ago (2015-03-09 22:47:53 UTC) #19
nednguyen
lgtm
5 years, 9 months ago (2015-03-09 22:55:07 UTC) #20
nednguyen
sorry, not lgtm yet. https://codereview.chromium.org/945393002/diff/280001/tools/telemetry/telemetry/page/actions/scroll.py File tools/telemetry/telemetry/page/actions/scroll.py (right): https://codereview.chromium.org/945393002/diff/280001/tools/telemetry/telemetry/page/actions/scroll.py#newcode19 tools/telemetry/telemetry/page/actions/scroll.py:19: 'upleft', 'upright']: Actually, since this ...
5 years, 9 months ago (2015-03-09 22:59:59 UTC) #21
cblume
I have moved the unit test to https://codereview.chromium.org/999243003 This allows us to update the binary ...
5 years, 9 months ago (2015-03-12 07:02:13 UTC) #25
nednguyen
On 2015/03/12 07:02:13, cblume wrote: > I have moved the unit test to https://codereview.chromium.org/999243003 > ...
5 years, 9 months ago (2015-03-12 15:52:39 UTC) #26
nednguyen
lgtm (to remove my red comment) -- defer reviewing that file to others
5 years, 9 months ago (2015-03-12 20:57:01 UTC) #27
jdduke (slow)
On 2015/03/12 20:57:01, nednguyen wrote: > lgtm (to remove my red comment) -- defer reviewing ...
5 years, 9 months ago (2015-03-12 21:20:55 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/945393002/320001
5 years, 9 months ago (2015-03-12 21:32:54 UTC) #31
jdduke (slow)
On 2015/03/12 21:32:54, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
5 years, 9 months ago (2015-03-12 21:58:04 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/945393002/320001
5 years, 9 months ago (2015-03-13 01:12:22 UTC) #35
commit-bot: I haz the power
Committed patchset #17 (id:320001)
5 years, 9 months ago (2015-03-13 01:14:22 UTC) #36
commit-bot: I haz the power
5 years, 9 months ago (2015-03-13 01:15:22 UTC) #37
Message was sent while issue was closed.
Patchset 17 (id:??) landed as
https://crrev.com/8eb56468216ac1f10ebc599f89621dbaaf605313
Cr-Commit-Position: refs/heads/master@{#320419}

Powered by Google App Engine
This is Rietveld 408576698