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

Issue 1097463004: Add key_idle_power_cases for ensuring idle activity on Android (Closed)

Created:
5 years, 8 months ago by jdduke (slow)
Modified:
5 years, 7 months ago
CC:
chromium-reviews, telemetry-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add key_idle_power_cases for ensuring idle activity on Android Add a key_idle_power_cases pageset for monitoring activity for static pages in the foreground and dynamic pages in the background. All such cases should incur minimal recurring activity, monitored using a new thread_times.key_power_cases benchmark. BUG=466213, 470147 CQ_EXTRA_TRYBOTS=tryserver.chromium.perf:linux_perf_bisect;tryserver.chromium.perf:mac_perf_bisect;tryserver.chromium.perf:win_perf_bisect;tryserver.chromium.perf:android_nexus5_perf_bisect Committed: https://crrev.com/040db4f47768b171ba2feced77bdedac341c5644 Cr-Commit-Position: refs/heads/master@{#330132}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Cleanup #

Total comments: 4

Patch Set 3 : Code review #

Patch Set 4 : Add AndroidScreenRestorationSharedState #

Total comments: 2

Patch Set 5 : Code review #

Total comments: 5

Patch Set 6 : Code review #

Patch Set 7 : Add TODO #

Patch Set 8 : Rebase, key_idle_power_cases #

Patch Set 9 : Rebase #

Total comments: 5

Patch Set 10 : Rebase #

Total comments: 1

Patch Set 11 : lint #

Unified diffs Side-by-side diffs Delta from patch set Stats (+382 lines, -6 lines) Patch
M tools/perf/benchmarks/thread_times.py View 1 2 3 4 5 6 7 1 chunk +14 lines, -0 lines 0 comments Download
A tools/perf/page_sets/android_screen_restoration_shared_state.py View 1 2 3 4 5 6 7 1 chunk +29 lines, -0 lines 0 comments Download
A tools/perf/page_sets/key_idle_power_cases.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +66 lines, -0 lines 0 comments Download
A tools/perf/page_sets/key_idle_power_cases/animated-gif.html View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
A + tools/perf/page_sets/key_idle_power_cases/blank.html View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
A tools/perf/page_sets/key_idle_power_cases/css-animation.html View 1 2 3 4 5 6 7 1 chunk +171 lines, -0 lines 0 comments Download
A tools/perf/page_sets/key_idle_power_cases/request-animation-frame.html View 1 2 3 4 5 6 7 1 chunk +33 lines, -0 lines 0 comments Download
A tools/perf/page_sets/key_idle_power_cases/set-timeout.html View 1 2 3 4 5 6 7 1 chunk +33 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/browser_info.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/android_action_runner.py View 1 2 3 4 5 5 chunks +21 lines, -6 lines 0 comments Download

Messages

Total messages: 41 (9 generated)
jdduke (slow)
Randy would you mind taking a look at this before I send out for further ...
5 years, 8 months ago (2015-04-23 18:09:57 UTC) #2
rnephew (Reviews Here)
I'm also not familiar enough to know the preferred way of doing this, but I ...
5 years, 8 months ago (2015-04-23 18:28:05 UTC) #3
jdduke (slow)
Hey Ned, maybe you have some thoughts on how best to structure this. We'd like ...
5 years, 8 months ago (2015-04-24 16:10:52 UTC) #5
nednguyen
On 2015/04/24 16:10:52, jdduke wrote: > Hey Ned, maybe you have some thoughts on how ...
5 years, 8 months ago (2015-04-24 16:22:45 UTC) #6
jdduke (slow)
On 2015/04/24 16:22:45, nednguyen wrote: > How about creating your own Page subclass that does ...
5 years, 8 months ago (2015-04-24 16:26:25 UTC) #7
nednguyen
On 2015/04/24 16:26:25, jdduke wrote: > On 2015/04/24 16:22:45, nednguyen wrote: > > How about ...
5 years, 8 months ago (2015-04-24 16:31:36 UTC) #8
rnephew (Reviews Here)
> Right, we don't want the "interaction" to include only the time where the screen ...
5 years, 8 months ago (2015-04-24 17:10:03 UTC) #9
rnephew (Reviews Here)
https://codereview.chromium.org/1097463004/diff/60001/tools/perf/page_sets/key_power_cases.py File tools/perf/page_sets/key_power_cases.py (right): https://codereview.chromium.org/1097463004/diff/60001/tools/perf/page_sets/key_power_cases.py#newcode16 tools/perf/page_sets/key_power_cases.py:16: shared_page_state_class=(android_screen_restoration_shared_state\ \ not needed do to implicit line joining ...
5 years, 8 months ago (2015-04-24 19:49:30 UTC) #10
jdduke (slow)
Randy, do we need to worry about perf bots having screen lock? Are those disabled ...
5 years, 8 months ago (2015-04-24 22:01:23 UTC) #11
jbudorick
On 2015/04/24 22:01:23, jdduke wrote: > Randy, do we need to worry about perf bots ...
5 years, 8 months ago (2015-04-24 23:32:49 UTC) #12
nednguyen
https://codereview.chromium.org/1097463004/diff/80001/tools/perf/page_sets/android_screen_restoration_shared_state.py File tools/perf/page_sets/android_screen_restoration_shared_state.py (right): https://codereview.chromium.org/1097463004/diff/80001/tools/perf/page_sets/android_screen_restoration_shared_state.py#newcode13 tools/perf/page_sets/android_screen_restoration_shared_state.py:13: You will want to override GetTestExpectationAndSkipValue() to sepcify the ...
5 years, 8 months ago (2015-04-27 17:47:49 UTC) #13
jdduke (slow)
https://codereview.chromium.org/1097463004/diff/80001/tools/perf/page_sets/android_screen_restoration_shared_state.py File tools/perf/page_sets/android_screen_restoration_shared_state.py (right): https://codereview.chromium.org/1097463004/diff/80001/tools/perf/page_sets/android_screen_restoration_shared_state.py#newcode13 tools/perf/page_sets/android_screen_restoration_shared_state.py:13: On 2015/04/27 17:47:49, nednguyen wrote: > You will want ...
5 years, 7 months ago (2015-04-28 21:30:29 UTC) #14
nednguyen
https://codereview.chromium.org/1097463004/diff/80001/tools/perf/page_sets/key_power_cases.py File tools/perf/page_sets/key_power_cases.py (right): https://codereview.chromium.org/1097463004/diff/80001/tools/perf/page_sets/key_power_cases.py#newcode25 tools/perf/page_sets/key_power_cases.py:25: action_runner._tab.browser.platform.android_action_runner.TurnScreenOff() On 2015/04/28 21:30:29, jdduke wrote: > On 2015/04/27 ...
5 years, 7 months ago (2015-04-28 23:03:24 UTC) #15
jdduke (slow)
On 2015/04/28 23:03:24, nednguyen wrote: > Yes. Or you can go ahead with this change ...
5 years, 7 months ago (2015-04-28 23:14:58 UTC) #16
nednguyen
On 2015/04/28 23:14:58, jdduke wrote: > On 2015/04/28 23:03:24, nednguyen wrote: > > Yes. Or ...
5 years, 7 months ago (2015-04-29 16:25:45 UTC) #17
jdduke (slow)
On 2015/04/29 16:25:45, nednguyen wrote: > On 2015/04/28 23:14:58, jdduke wrote: > > On 2015/04/28 ...
5 years, 7 months ago (2015-04-29 17:19:09 UTC) #18
jdduke (slow)
On 2015/04/29 17:19:09, jdduke wrote: > On 2015/04/29 16:25:45, nednguyen wrote: > > On 2015/04/28 ...
5 years, 7 months ago (2015-04-29 17:33:35 UTC) #19
nednguyen
On 2015/04/29 17:33:35, jdduke wrote: > On 2015/04/29 17:19:09, jdduke wrote: > > On 2015/04/29 ...
5 years, 7 months ago (2015-04-29 18:15:29 UTC) #20
jdduke (slow)
I've gone ahead and rebased the change to the recently landed timeline metric change, and ...
5 years, 7 months ago (2015-05-12 16:26:25 UTC) #21
nednguyen
lgtm with minor question https://codereview.chromium.org/1097463004/diff/160001/tools/telemetry/telemetry/core/platform/android_action_runner.py File tools/telemetry/telemetry/core/platform/android_action_runner.py (right): https://codereview.chromium.org/1097463004/diff/160001/tools/telemetry/telemetry/core/platform/android_action_runner.py#newcode130 tools/telemetry/telemetry/core/platform/android_action_runner.py:130: util.WaitFor(self._platform_backend.IsScreenOn, 5) Why do we ...
5 years, 7 months ago (2015-05-15 00:43:25 UTC) #22
jdduke (slow)
https://codereview.chromium.org/1097463004/diff/160001/tools/telemetry/telemetry/core/platform/android_action_runner.py File tools/telemetry/telemetry/core/platform/android_action_runner.py (right): https://codereview.chromium.org/1097463004/diff/160001/tools/telemetry/telemetry/core/platform/android_action_runner.py#newcode130 tools/telemetry/telemetry/core/platform/android_action_runner.py:130: util.WaitFor(self._platform_backend.IsScreenOn, 5) On 2015/05/15 00:43:24, nednguyen (slow review) wrote: ...
5 years, 7 months ago (2015-05-15 15:11:09 UTC) #23
nednguyen
https://codereview.chromium.org/1097463004/diff/160001/tools/telemetry/telemetry/core/platform/android_action_runner.py File tools/telemetry/telemetry/core/platform/android_action_runner.py (right): https://codereview.chromium.org/1097463004/diff/160001/tools/telemetry/telemetry/core/platform/android_action_runner.py#newcode130 tools/telemetry/telemetry/core/platform/android_action_runner.py:130: util.WaitFor(self._platform_backend.IsScreenOn, 5) On 2015/05/15 15:11:09, jdduke wrote: > On ...
5 years, 7 months ago (2015-05-15 15:18:47 UTC) #24
rnephew (Reviews Here)
https://codereview.chromium.org/1097463004/diff/160001/tools/telemetry/telemetry/core/platform/android_action_runner.py File tools/telemetry/telemetry/core/platform/android_action_runner.py (right): https://codereview.chromium.org/1097463004/diff/160001/tools/telemetry/telemetry/core/platform/android_action_runner.py#newcode130 tools/telemetry/telemetry/core/platform/android_action_runner.py:130: util.WaitFor(self._platform_backend.IsScreenOn, 5) On 2015/05/15 15:18:47, nednguyen (slow review) wrote: ...
5 years, 7 months ago (2015-05-15 15:27:13 UTC) #25
nednguyen
https://codereview.chromium.org/1097463004/diff/160001/tools/telemetry/telemetry/core/platform/android_action_runner.py File tools/telemetry/telemetry/core/platform/android_action_runner.py (right): https://codereview.chromium.org/1097463004/diff/160001/tools/telemetry/telemetry/core/platform/android_action_runner.py#newcode130 tools/telemetry/telemetry/core/platform/android_action_runner.py:130: util.WaitFor(self._platform_backend.IsScreenOn, 5) On 2015/05/15 15:27:13, rnephew1 wrote: > On ...
5 years, 7 months ago (2015-05-15 15:30:22 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1097463004/180001
5 years, 7 months ago (2015-05-15 15:37:54 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/63987)
5 years, 7 months ago (2015-05-15 16:02:29 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1097463004/180001
5 years, 7 months ago (2015-05-15 16:10:05 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/64000)
5 years, 7 months ago (2015-05-15 16:23:06 UTC) #35
nednguyen
https://codereview.chromium.org/1097463004/diff/180001/tools/perf/page_sets/key_idle_power_cases.py File tools/perf/page_sets/key_idle_power_cases.py (right): https://codereview.chromium.org/1097463004/diff/180001/tools/perf/page_sets/key_idle_power_cases.py#newcode26 tools/perf/page_sets/key_idle_power_cases.py:26: # exposed here, crbug.com/470147. Add: # pylint: disable=protected-access
5 years, 7 months ago (2015-05-15 16:42:58 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1097463004/200001
5 years, 7 months ago (2015-05-15 16:51:31 UTC) #39
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 7 months ago (2015-05-15 18:11:28 UTC) #40
commit-bot: I haz the power
5 years, 7 months ago (2015-05-15 18:12:13 UTC) #41
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/040db4f47768b171ba2feced77bdedac341c5644
Cr-Commit-Position: refs/heads/master@{#330132}

Powered by Google App Engine
This is Rietveld 408576698