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

Issue 1291513004: smoothness.scrolling_tough_ad_cases to use browser driven scrolls (Closed)

Created:
5 years, 4 months ago by alex clarke (OOO till 29th)
Modified:
5 years, 4 months ago
Reviewers:
Sami
CC:
chromium-reviews, telemetry-reviews_chromium.org, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

smoothness.scrolling_tough_ad_cases to use browser driven scrolls Patch 3 of 4 to fix the overly long delay between each scroll in smoothness.scrolling_tough_ad_cases caused by the render thread being unresponsive. Change ScrollingPage to use the new browser driven Input.synthesizeScrollGesture api for scrolling. This should regularize scrolls and make the scrolling metrics more robust during loading, because otherwise we end up getting much longer delays between each scroll than intended. These long delays bias the results towards the phase when the page is fully loaded, which defeats the point of this benchmarks. Patch 1: https://codereview.chromium.org/1299643004/ Patch 2: https://codereview.chromium.org/1296993002/ Patch 4: https://codereview.chromium.org/1285133008/ BUG=510398 Committed: https://crrev.com/af373ea5b3d3777344c44d29520886b113843fbd Cr-Commit-Position: refs/heads/master@{#344493}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Sami's changes plus special handling of TMZ page. #

Patch Set 3 : Special handling of TMZ page #

Total comments: 16

Patch Set 4 : Responding to feedback #

Total comments: 2

Patch Set 5 : Added a test #

Patch Set 6 : Rebased #

Total comments: 16

Patch Set 7 : Another go #

Patch Set 8 : Fix bad merge #

Patch Set 9 : Small fix #

Patch Set 10 : Fix #

Patch Set 11 : Fix #

Total comments: 6

Patch Set 12 : Remove pointless statement #

Patch Set 13 : Final nits #

Messages

Total messages: 29 (9 generated)
alex clarke (OOO till 29th)
5 years, 4 months ago (2015-08-17 15:48:11 UTC) #2
Sami
https://codereview.chromium.org/1291513004/diff/1/tools/perf/page_sets/tough_ad_cases.py File tools/perf/page_sets/tough_ad_cases.py (right): https://codereview.chromium.org/1291513004/diff/1/tools/perf/page_sets/tough_ad_cases.py#newcode69 tools/perf/page_sets/tough_ad_cases.py:69: 'x': 500, Can we compute these to always be ...
5 years, 4 months ago (2015-08-17 17:06:44 UTC) #3
alex clarke (OOO till 29th)
PTAL https://codereview.chromium.org/1291513004/diff/1/tools/perf/page_sets/tough_ad_cases.py File tools/perf/page_sets/tough_ad_cases.py (right): https://codereview.chromium.org/1291513004/diff/1/tools/perf/page_sets/tough_ad_cases.py#newcode69 tools/perf/page_sets/tough_ad_cases.py:69: 'x': 500, On 2015/08/17 17:06:44, Sami wrote: > ...
5 years, 4 months ago (2015-08-18 13:40:52 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1291513004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1291513004/40001
5 years, 4 months ago (2015-08-18 13:41:30 UTC) #6
Sami
https://codereview.chromium.org/1291513004/diff/40001/tools/perf/page_sets/repeatable_synthesize_scroll_gesture_shared_state.py File tools/perf/page_sets/repeatable_synthesize_scroll_gesture_shared_state.py (right): https://codereview.chromium.org/1291513004/diff/40001/tools/perf/page_sets/repeatable_synthesize_scroll_gesture_shared_state.py#newcode9 tools/perf/page_sets/repeatable_synthesize_scroll_gesture_shared_state.py:9: class RepeatableSynthesizeScrollGestureSharedState( nit: should this be "synthetic" or "synthesized" ...
5 years, 4 months ago (2015-08-18 15:06:46 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-18 15:52:36 UTC) #9
alex clarke (OOO till 29th)
PTAL https://codereview.chromium.org/1291513004/diff/40001/tools/perf/page_sets/repeatable_synthesize_scroll_gesture_shared_state.py File tools/perf/page_sets/repeatable_synthesize_scroll_gesture_shared_state.py (right): https://codereview.chromium.org/1291513004/diff/40001/tools/perf/page_sets/repeatable_synthesize_scroll_gesture_shared_state.py#newcode9 tools/perf/page_sets/repeatable_synthesize_scroll_gesture_shared_state.py:9: class RepeatableSynthesizeScrollGestureSharedState( On 2015/08/18 15:06:46, Sami wrote: > ...
5 years, 4 months ago (2015-08-19 11:42:20 UTC) #10
Sami
https://codereview.chromium.org/1291513004/diff/40001/tools/perf/page_sets/tough_ad_cases.py File tools/perf/page_sets/tough_ad_cases.py (right): https://codereview.chromium.org/1291513004/diff/40001/tools/perf/page_sets/tough_ad_cases.py#newcode80 tools/perf/page_sets/tough_ad_cases.py:80: flags = [timeline_interaction_record.REPEATABLE] On 2015/08/19 11:42:20, alexclarke1 wrote: > ...
5 years, 4 months ago (2015-08-19 11:54:46 UTC) #11
alex clarke (OOO till 29th)
I added a test, PTAL https://codereview.chromium.org/1291513004/diff/60001/tools/perf/page_sets/tough_ad_cases.py File tools/perf/page_sets/tough_ad_cases.py (right): https://codereview.chromium.org/1291513004/diff/60001/tools/perf/page_sets/tough_ad_cases.py#newcode40 tools/perf/page_sets/tough_ad_cases.py:40: make_javascript_deterministic=True, scroll_multiplier=0.5): On 2015/08/19 ...
5 years, 4 months ago (2015-08-19 15:40:58 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1291513004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1291513004/80001
5 years, 4 months ago (2015-08-19 15:42:02 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/86797) ios_dbg_simulator_ninja on ...
5 years, 4 months ago (2015-08-19 15:44:27 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1291513004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1291513004/100001
5 years, 4 months ago (2015-08-19 16:52:18 UTC) #18
Sami
Thanks for adding the test! https://codereview.chromium.org/1291513004/diff/40001/tools/perf/page_sets/repeatable_synthesize_scroll_gesture_shared_state.py File tools/perf/page_sets/repeatable_synthesize_scroll_gesture_shared_state.py (right): https://codereview.chromium.org/1291513004/diff/40001/tools/perf/page_sets/repeatable_synthesize_scroll_gesture_shared_state.py#newcode9 tools/perf/page_sets/repeatable_synthesize_scroll_gesture_shared_state.py:9: class RepeatableSynthesizeScrollGestureSharedState( On 2015/08/19 ...
5 years, 4 months ago (2015-08-19 17:21:19 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-19 18:02:50 UTC) #21
alex clarke (OOO till 29th)
PTAL https://codereview.chromium.org/1291513004/diff/100001/tools/telemetry/telemetry/internal/actions/repeatable_scroll.py File tools/telemetry/telemetry/internal/actions/repeatable_scroll.py (right): https://codereview.chromium.org/1291513004/diff/100001/tools/telemetry/telemetry/internal/actions/repeatable_scroll.py#newcode23 tools/telemetry/telemetry/internal/actions/repeatable_scroll.py:23: screen_info_js = 'window.innerWidth + "," + window.innerHeight' On ...
5 years, 4 months ago (2015-08-20 09:39:41 UTC) #22
Sami
Nice, lgtm with a couple of nits. https://codereview.chromium.org/1291513004/diff/200001/tools/perf/page_sets/repeatable_synthesize_scroll_gesture_shared_state.py File tools/perf/page_sets/repeatable_synthesize_scroll_gesture_shared_state.py (right): https://codereview.chromium.org/1291513004/diff/200001/tools/perf/page_sets/repeatable_synthesize_scroll_gesture_shared_state.py#newcode14 tools/perf/page_sets/repeatable_synthesize_scroll_gesture_shared_state.py:14: logging.warning('Browser does ...
5 years, 4 months ago (2015-08-20 12:39:53 UTC) #23
alex clarke (OOO till 29th)
https://codereview.chromium.org/1291513004/diff/200001/tools/perf/page_sets/repeatable_synthesize_scroll_gesture_shared_state.py File tools/perf/page_sets/repeatable_synthesize_scroll_gesture_shared_state.py (right): https://codereview.chromium.org/1291513004/diff/200001/tools/perf/page_sets/repeatable_synthesize_scroll_gesture_shared_state.py#newcode14 tools/perf/page_sets/repeatable_synthesize_scroll_gesture_shared_state.py:14: logging.warning('Browser does not support repatable scroll gestures, ' On ...
5 years, 4 months ago (2015-08-20 12:45:45 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1291513004/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1291513004/240001
5 years, 4 months ago (2015-08-20 12:47:36 UTC) #27
commit-bot: I haz the power
Committed patchset #13 (id:240001)
5 years, 4 months ago (2015-08-20 14:22:08 UTC) #28
commit-bot: I haz the power
5 years, 4 months ago (2015-08-20 14:22:58 UTC) #29
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/af373ea5b3d3777344c44d29520886b113843fbd
Cr-Commit-Position: refs/heads/master@{#344493}

Powered by Google App Engine
This is Rietveld 408576698