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

Issue 2228103002: [system-health] Add support for disabling individual stories on individual platforms (Closed)

Created:
4 years, 4 months ago by petrcermak
Modified:
4 years, 3 months ago
Reviewers:
nednguyen
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

[system-health] Add support for disabling individual stories on individual platforms This patch adds support for enabling/disabling individual stories on individual platforms using the same approaches as for benchmarks: 1. Disabled/Enabled decorator: @decorators.Disabled('win') class Story(system_health_story.SystemHealthStory): ... 2. ShouldDisable method: class Story(system_health_story.SystemHealthStory): ... @classmethod def ShouldDisable(cls, possible_browser): return possible_browser.platform.GetOSName() == 'win' Note that this patch also enables search:portal:google on all desktop platforms except for Windows. BUG=634331 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.perf:android_s5_perf_cq;master.tryserver.chromium.perf:linux_perf_cq;master.tryserver.chromium.perf:mac_retina_perf_cq;master.tryserver.chromium.perf:winx64_10_perf_cq Committed: https://crrev.com/0d3d85c5f3a772dd65b1eae53c890d7251dee0ab Cr-Commit-Position: refs/heads/master@{#417552}

Patch Set 1 #

Patch Set 2 : Update smoke test #

Patch Set 3 : Rebase #

Total comments: 4

Patch Set 4 : Revert to use SUPPORTED_PLATFORMS where necessary #

Patch Set 5 : Use possible_browser instead of browser #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -18 lines) Patch
M tools/perf/page_sets/system_health/browsing_stories.py View 1 2 3 4 chunks +10 lines, -8 lines 0 comments Download
M tools/perf/page_sets/system_health/loading_stories.py View 1 2 3 2 chunks +3 lines, -5 lines 0 comments Download
M tools/perf/page_sets/system_health/platforms.py View 1 2 3 1 chunk +4 lines, -1 line 2 comments Download
M tools/perf/page_sets/system_health/searching_stories.py View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M tools/perf/page_sets/system_health/system_health_story.py View 1 2 3 4 3 chunks +46 lines, -1 line 0 comments Download

Messages

Total messages: 36 (22 generated)
petrcermak
PTAL. Thanks, Petr
4 years, 4 months ago (2016-08-09 17:51:33 UTC) #4
nednguyen
On 2016/08/09 17:51:33, petrcermak wrote: > PTAL. > > Thanks, > Petr Currently there is ...
4 years, 4 months ago (2016-08-10 13:15:00 UTC) #19
petrcermak
On 2016/08/10 13:15:00, nednguyen wrote: > On 2016/08/09 17:51:33, petrcermak wrote: > > PTAL. > ...
4 years, 4 months ago (2016-08-10 13:26:19 UTC) #20
nednguyen
On 2016/08/10 13:26:19, petrcermak wrote: > On 2016/08/10 13:15:00, nednguyen wrote: > > On 2016/08/09 ...
4 years, 4 months ago (2016-08-10 13:28:03 UTC) #21
petrcermak
I think we can now land this since https://bugs.chromium.org/p/chromium/issues/detail?id=568333 has been fixed. Ned: Could you ...
4 years, 3 months ago (2016-09-07 10:26:47 UTC) #24
nednguyen
https://codereview.chromium.org/2228103002/diff/80001/tools/perf/page_sets/system_health/system_health_story.py File tools/perf/page_sets/system_health/system_health_story.py (right): https://codereview.chromium.org/2228103002/diff/80001/tools/perf/page_sets/system_health/system_health_story.py#newcode41 tools/perf/page_sets/system_health/system_health_story.py:41: return story.CanRun(self.browser) Hmhh, the api is CanRun(possible_browser), and not ...
4 years, 3 months ago (2016-09-07 18:23:51 UTC) #25
petrcermak
https://codereview.chromium.org/2228103002/diff/80001/tools/perf/page_sets/system_health/system_health_story.py File tools/perf/page_sets/system_health/system_health_story.py (right): https://codereview.chromium.org/2228103002/diff/80001/tools/perf/page_sets/system_health/system_health_story.py#newcode41 tools/perf/page_sets/system_health/system_health_story.py:41: return story.CanRun(self.browser) On 2016/09/07 18:23:51, nednguyen wrote: > Hmhh, ...
4 years, 3 months ago (2016-09-08 10:20:44 UTC) #26
nednguyen
https://codereview.chromium.org/2228103002/diff/80001/tools/perf/page_sets/system_health/system_health_story.py File tools/perf/page_sets/system_health/system_health_story.py (right): https://codereview.chromium.org/2228103002/diff/80001/tools/perf/page_sets/system_health/system_health_story.py#newcode41 tools/perf/page_sets/system_health/system_health_story.py:41: return story.CanRun(self.browser) On 2016/09/08 10:20:44, petrcermak wrote: > On ...
4 years, 3 months ago (2016-09-08 12:56:22 UTC) #27
petrcermak
PTAL. Thanks, Petr https://codereview.chromium.org/2228103002/diff/80001/tools/perf/page_sets/system_health/system_health_story.py File tools/perf/page_sets/system_health/system_health_story.py (right): https://codereview.chromium.org/2228103002/diff/80001/tools/perf/page_sets/system_health/system_health_story.py#newcode41 tools/perf/page_sets/system_health/system_health_story.py:41: return story.CanRun(self.browser) On 2016/09/08 12:56:22, nednguyen ...
4 years, 3 months ago (2016-09-08 18:45:10 UTC) #28
nednguyen
lgtm https://codereview.chromium.org/2228103002/diff/120001/tools/perf/page_sets/system_health/platforms.py File tools/perf/page_sets/system_health/platforms.py (right): https://codereview.chromium.org/2228103002/diff/120001/tools/perf/page_sets/system_health/platforms.py#newcode15 tools/perf/page_sets/system_health/platforms.py:15: NO_PLATFORMS = frozenset() Why do you add this ...
4 years, 3 months ago (2016-09-08 19:31:16 UTC) #29
petrcermak
https://codereview.chromium.org/2228103002/diff/120001/tools/perf/page_sets/system_health/platforms.py File tools/perf/page_sets/system_health/platforms.py (right): https://codereview.chromium.org/2228103002/diff/120001/tools/perf/page_sets/system_health/platforms.py#newcode15 tools/perf/page_sets/system_health/platforms.py:15: NO_PLATFORMS = frozenset() On 2016/09/08 19:31:16, nednguyen wrote: > ...
4 years, 3 months ago (2016-09-09 09:34:09 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2228103002/120001
4 years, 3 months ago (2016-09-09 09:34:30 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 3 months ago (2016-09-09 10:42:09 UTC) #34
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 10:44:16 UTC) #36
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0d3d85c5f3a772dd65b1eae53c890d7251dee0ab
Cr-Commit-Position: refs/heads/master@{#417552}

Powered by Google App Engine
This is Rietveld 408576698