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

Issue 955653003: Adding Maps page to page_sets for telemetry. (Closed)

Created:
5 years, 10 months ago by ssid
Modified:
5 years, 9 months ago
Reviewers:
picksi, Sami, picksi1, petrcermak
Base URL:
https://chromium.googlesource.com/chromium/src.git@mousedrag2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding Maps page to page_sets for telemetry. This CL adds google maps page to telemetry, and runs a synthetic drag gesture on the page. This helps testing of maps page in telemetry to track the performance on desktop chrome. BUG=457148 Committed: https://crrev.com/f502701b2bcc43c05d82e5780b2d6cf2d326bc23 Cr-Commit-Position: refs/heads/master@{#319135} Committed: https://crrev.com/694ab0859755c71bf2dcb457f427344d3961e2d0 Cr-Commit-Position: refs/heads/master@{#319441}

Patch Set 1 : Single drag. #

Patch Set 2 : Multiple actions on Maps benchmark. #

Total comments: 29

Patch Set 3 : Disabled for android. #

Total comments: 16

Patch Set 4 : Added unittest. #

Total comments: 23

Patch Set 5 : Addressed comments. #

Total comments: 6

Patch Set 6 : Fixed nits. #

Patch Set 7 : Fixing the archive file. #

Total comments: 1

Patch Set 8 : Relaxing the test. #

Total comments: 3

Patch Set 9 : Addressed comments. #

Total comments: 1

Patch Set 10 : Made changes. #

Patch Set 11 : Fixed bugs. #

Total comments: 4

Patch Set 12 : Made changes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+365 lines, -3 lines) Patch
M tools/perf/page_sets/data/top_25.json View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
A tools/perf/page_sets/data/top_25_004.wpr.sha1 View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tools/perf/page_sets/data/top_25_smooth.json View 1 2 3 4 5 6 2 chunks +4 lines, -1 line 0 comments Download
M tools/perf/page_sets/top_25_smooth.py View 1 2 3 4 5 6 2 chunks +20 lines, -0 lines 0 comments Download
M tools/perf/page_sets/top_pages.py View 1 2 3 4 1 chunk +21 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/page/actions/action_runner.py View 1 2 11 2 chunks +30 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/page/actions/drag.js View 1 2 3 4 1 chunk +70 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/page/actions/drag.py View 1 2 3 4 5 1 chunk +104 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/page/actions/drag_unittest.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +61 lines, -0 lines 0 comments Download
A tools/telemetry/unittest_data/draggable.html View 1 2 3 4 5 1 chunk +52 lines, -0 lines 0 comments Download

Messages

Total messages: 67 (25 generated)
ssid
https://codereview.chromium.org/955653003/diff/120001/tools/perf/page_sets/top_25_smooth.py File tools/perf/page_sets/top_25_smooth.py (right): https://codereview.chromium.org/955653003/diff/120001/tools/perf/page_sets/top_25_smooth.py#newcode96 tools/perf/page_sets/top_25_smooth.py:96: action_runner.Wait(5) I had to include wait here because the ...
5 years, 10 months ago (2015-02-25 10:44:54 UTC) #6
ssid
PTAL.
5 years, 10 months ago (2015-02-25 10:46:06 UTC) #8
petrcermak
A bunch of Python and JavaScript comments. Petr https://codereview.chromium.org/955653003/diff/120001/tools/telemetry/telemetry/page/actions/action_runner.py File tools/telemetry/telemetry/page/actions/action_runner.py (right): https://codereview.chromium.org/955653003/diff/120001/tools/telemetry/telemetry/page/actions/action_runner.py#newcode245 tools/telemetry/telemetry/page/actions/action_runner.py:245: """Perform ...
5 years, 10 months ago (2015-02-25 11:35:50 UTC) #9
ssid
Thanks Petr. PTAL. https://codereview.chromium.org/955653003/diff/120001/tools/telemetry/telemetry/page/actions/action_runner.py File tools/telemetry/telemetry/page/actions/action_runner.py (right): https://codereview.chromium.org/955653003/diff/120001/tools/telemetry/telemetry/page/actions/action_runner.py#newcode245 tools/telemetry/telemetry/page/actions/action_runner.py:245: """Perform drag gesture on the page. ...
5 years, 9 months ago (2015-02-27 11:35:16 UTC) #14
Sami
Looks pretty good. Added some comments. https://codereview.chromium.org/955653003/diff/210001/tools/perf/page_sets/top_25_smooth.py File tools/perf/page_sets/top_25_smooth.py (right): https://codereview.chromium.org/955653003/diff/210001/tools/perf/page_sets/top_25_smooth.py#newcode80 tools/perf/page_sets/top_25_smooth.py:80: """ Why: productivity, ...
5 years, 9 months ago (2015-02-27 15:33:06 UTC) #15
ssid
https://codereview.chromium.org/955653003/diff/210001/tools/perf/page_sets/top_25_smooth.py File tools/perf/page_sets/top_25_smooth.py (right): https://codereview.chromium.org/955653003/diff/210001/tools/perf/page_sets/top_25_smooth.py#newcode80 tools/perf/page_sets/top_25_smooth.py:80: """ Why: productivity, top google properties; drag and drop ...
5 years, 9 months ago (2015-02-27 15:52:04 UTC) #16
Sami
https://codereview.chromium.org/955653003/diff/210001/tools/perf/page_sets/top_25_smooth.py File tools/perf/page_sets/top_25_smooth.py (right): https://codereview.chromium.org/955653003/diff/210001/tools/perf/page_sets/top_25_smooth.py#newcode80 tools/perf/page_sets/top_25_smooth.py:80: """ Why: productivity, top google properties; drag and drop ...
5 years, 9 months ago (2015-02-27 16:02:32 UTC) #17
ssid
Added unittest. PTAL. https://codereview.chromium.org/955653003/diff/210001/tools/perf/page_sets/top_25_smooth.py File tools/perf/page_sets/top_25_smooth.py (right): https://codereview.chromium.org/955653003/diff/210001/tools/perf/page_sets/top_25_smooth.py#newcode80 tools/perf/page_sets/top_25_smooth.py:80: """ Why: productivity, top google properties; ...
5 years, 9 months ago (2015-03-02 12:03:28 UTC) #18
Sami
Neat, thanks! https://codereview.chromium.org/955653003/diff/250001/tools/perf/page_sets/top_pages.py File tools/perf/page_sets/top_pages.py (right): https://codereview.chromium.org/955653003/diff/250001/tools/perf/page_sets/top_pages.py#newcode101 tools/perf/page_sets/top_pages.py:101: # Disabled on android since the desktop ...
5 years, 9 months ago (2015-03-02 14:03:56 UTC) #20
picksi
Looking good. I have a couple of nits. https://codereview.chromium.org/955653003/diff/250001/tools/telemetry/telemetry/page/actions/drag.js File tools/telemetry/telemetry/page/actions/drag.js (right): https://codereview.chromium.org/955653003/diff/250001/tools/telemetry/telemetry/page/actions/drag.js#newcode47 tools/telemetry/telemetry/page/actions/drag.js:47: rect.left ...
5 years, 9 months ago (2015-03-02 14:11:05 UTC) #22
ssid
PTAL. https://codereview.chromium.org/955653003/diff/250001/tools/perf/page_sets/top_pages.py File tools/perf/page_sets/top_pages.py (right): https://codereview.chromium.org/955653003/diff/250001/tools/perf/page_sets/top_pages.py#newcode101 tools/perf/page_sets/top_pages.py:101: # Disabled on android since the desktop record ...
5 years, 9 months ago (2015-03-02 20:09:42 UTC) #23
picksi
Looks good. A couple of questions/answers https://codereview.chromium.org/955653003/diff/250001/tools/telemetry/telemetry/page/actions/drag.js File tools/telemetry/telemetry/page/actions/drag.js (right): https://codereview.chromium.org/955653003/diff/250001/tools/telemetry/telemetry/page/actions/drag.js#newcode47 tools/telemetry/telemetry/page/actions/drag.js:47: rect.left + rect.width ...
5 years, 9 months ago (2015-03-03 13:36:06 UTC) #24
Sami
lgtm with a couple of nits and once Simon is happy. https://codereview.chromium.org/955653003/diff/270001/tools/telemetry/unittest_data/draggable.html File tools/telemetry/unittest_data/draggable.html (right): ...
5 years, 9 months ago (2015-03-03 13:46:16 UTC) #25
ssid
https://codereview.chromium.org/955653003/diff/250001/tools/telemetry/telemetry/page/actions/drag_unittest.py File tools/telemetry/telemetry/page/actions/drag_unittest.py (right): https://codereview.chromium.org/955653003/diff/250001/tools/telemetry/telemetry/page/actions/drag_unittest.py#newcode27 tools/telemetry/telemetry/page/actions/drag_unittest.py:27: window.__dragAction.beginMeasuringHook = function() { On 2015/03/03 13:36:06, picksi wrote: ...
5 years, 9 months ago (2015-03-03 14:50:08 UTC) #26
picksi
Great! Thanks. LGTM!
5 years, 9 months ago (2015-03-03 14:53:33 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/955653003/290001
5 years, 9 months ago (2015-03-03 14:55:26 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/38867)
5 years, 9 months ago (2015-03-03 19:20:56 UTC) #32
ssid
There was a change in the name of archive file by someone, which caused the ...
5 years, 9 months ago (2015-03-04 20:07:44 UTC) #34
Sami
Great, thanks for figuring out the problem. Still lgtm.
5 years, 9 months ago (2015-03-04 20:10:40 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/955653003/310001
5 years, 9 months ago (2015-03-04 21:11:47 UTC) #38
commit-bot: I haz the power
Committed patchset #7 (id:310001)
5 years, 9 months ago (2015-03-04 21:56:54 UTC) #39
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/f502701b2bcc43c05d82e5780b2d6cf2d326bc23 Cr-Commit-Position: refs/heads/master@{#319135}
5 years, 9 months ago (2015-03-04 21:57:46 UTC) #40
xhwang
A revert of this CL (patchset #7 id:310001) has been created in https://codereview.chromium.org/982683003/ by xhwang@chromium.org. ...
5 years, 9 months ago (2015-03-05 00:19:54 UTC) #41
picksi
cut-n-paste from the log, the failure is: [1/1] telemetry.page.actions.drag_unittest.DragActionTest.testDragAction failed unexpectedly: Traceback (most recent call ...
5 years, 9 months ago (2015-03-05 09:55:21 UTC) #42
ssid
Relaxed the check, since it rounds off pixels. PTAL
5 years, 9 months ago (2015-03-05 11:35:14 UTC) #43
Sami
https://codereview.chromium.org/955653003/diff/330001/tools/telemetry/telemetry/page/actions/drag_unittest.py File tools/telemetry/telemetry/page/actions/drag_unittest.py (right): https://codereview.chromium.org/955653003/diff/330001/tools/telemetry/telemetry/page/actions/drag_unittest.py#newcode16 tools/telemetry/telemetry/page/actions/drag_unittest.py:16: return expected * (1 + error) <= value <= ...
5 years, 9 months ago (2015-03-05 11:47:48 UTC) #44
picksi
I like the idea for the fix. I have some unformed thoughts below, but I ...
5 years, 9 months ago (2015-03-05 12:02:26 UTC) #46
Sami
On 2015/03/05 12:02:26, picksi wrote: > I like the idea for the fix. I have ...
5 years, 9 months ago (2015-03-05 12:05:13 UTC) #47
ssid
Made changes. Thanks
5 years, 9 months ago (2015-03-05 12:27:53 UTC) #49
picksi
Great thanks, LGTM!
5 years, 9 months ago (2015-03-05 12:31:27 UTC) #50
picksi
Great thanks, LGTM!
5 years, 9 months ago (2015-03-05 12:31:27 UTC) #51
Sami
Thanks, lgtm with a nit. https://codereview.chromium.org/955653003/diff/370001/tools/telemetry/telemetry/page/actions/drag_unittest.py File tools/telemetry/telemetry/page/actions/drag_unittest.py (right): https://codereview.chromium.org/955653003/diff/370001/tools/telemetry/telemetry/page/actions/drag_unittest.py#newcode12 tools/telemetry/telemetry/page/actions/drag_unittest.py:12: def checkWithinRange(self, value, expected, ...
5 years, 9 months ago (2015-03-05 12:36:11 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/955653003/390001
5 years, 9 months ago (2015-03-05 12:49:10 UTC) #55
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/32746)
5 years, 9 months ago (2015-03-05 16:34:23 UTC) #57
ssid
Fix for the previous CL. https://codereview.chromium.org/955653003/diff/410001/tools/telemetry/telemetry/page/actions/action_runner.py File tools/telemetry/telemetry/page/actions/action_runner.py (right): https://codereview.chromium.org/955653003/diff/410001/tools/telemetry/telemetry/page/actions/action_runner.py#newcode245 tools/telemetry/telemetry/page/actions/action_runner.py:245: selector=None, text=None, element_function=None): These ...
5 years, 9 months ago (2015-03-05 21:12:23 UTC) #58
picksi
Looks good!
5 years, 9 months ago (2015-03-06 11:25:13 UTC) #59
Sami
https://codereview.chromium.org/955653003/diff/410001/tools/telemetry/telemetry/page/actions/action_runner.py File tools/telemetry/telemetry/page/actions/action_runner.py (right): https://codereview.chromium.org/955653003/diff/410001/tools/telemetry/telemetry/page/actions/action_runner.py#newcode245 tools/telemetry/telemetry/page/actions/action_runner.py:245: selector=None, text=None, element_function=None): On 2015/03/05 21:12:22, ssid wrote: > ...
5 years, 9 months ago (2015-03-06 12:11:20 UTC) #60
ssid
Sorry for many changes. https://codereview.chromium.org/955653003/diff/410001/tools/telemetry/telemetry/page/actions/action_runner.py File tools/telemetry/telemetry/page/actions/action_runner.py (right): https://codereview.chromium.org/955653003/diff/410001/tools/telemetry/telemetry/page/actions/action_runner.py#newcode245 tools/telemetry/telemetry/page/actions/action_runner.py:245: selector=None, text=None, element_function=None): On 2015/03/06 ...
5 years, 9 months ago (2015-03-06 12:22:21 UTC) #61
Sami
Thank you, lgtm.
5 years, 9 months ago (2015-03-06 12:24:10 UTC) #62
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/955653003/430001
5 years, 9 months ago (2015-03-06 12:28:41 UTC) #65
commit-bot: I haz the power
Committed patchset #12 (id:430001)
5 years, 9 months ago (2015-03-06 14:22:20 UTC) #66
commit-bot: I haz the power
5 years, 9 months ago (2015-03-06 14:23:00 UTC) #67
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/694ab0859755c71bf2dcb457f427344d3961e2d0
Cr-Commit-Position: refs/heads/master@{#319441}

Powered by Google App Engine
This is Rietveld 408576698