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

Unified Diff: tools/perf/page_sets/system_health/platforms.py

Issue 2228103002: [system-health] Add support for disabling individual stories on individual platforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use possible_browser instead of browser Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/perf/page_sets/system_health/platforms.py
diff --git a/tools/perf/page_sets/system_health/platforms.py b/tools/perf/page_sets/system_health/platforms.py
index cc6bb5b381a2f703d71945530a3667a4492e4b48..a54fc41c4dd9daf1053a79b6839c9cf0bcca511d 100644
--- a/tools/perf/page_sets/system_health/platforms.py
+++ b/tools/perf/page_sets/system_health/platforms.py
@@ -6,7 +6,10 @@ DESKTOP = 'desktop'
MOBILE = 'mobile'
ALL_PLATFORMS = frozenset({DESKTOP, MOBILE})
+
+# Use the constants below to mark on which platforms the story has WPR
+# recordings. To disable a story (e.g. because it crashes or takes too long),
+# use @decorators.Disabled instead.
DESKTOP_ONLY = frozenset({DESKTOP})
MOBILE_ONLY = frozenset({MOBILE})
-# This is used for disabling a story on all platforms.
NO_PLATFORMS = frozenset()
nednguyen 2016/09/08 19:31:16 Why do you add this back? I thought your decision
petrcermak 2016/09/09 09:34:09 Good question. The reason is that it needs to be u
« no previous file with comments | « tools/perf/page_sets/system_health/loading_stories.py ('k') | tools/perf/page_sets/system_health/searching_stories.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698