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

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

Issue 2118293002: Add benchmark that imitates news reading. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename benchmarks Created 4 years, 5 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
new file mode 100644
index 0000000000000000000000000000000000000000..cc6bb5b381a2f703d71945530a3667a4492e4b48
--- /dev/null
+++ b/tools/perf/page_sets/system_health/platforms.py
@@ -0,0 +1,12 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+DESKTOP = 'desktop'
+MOBILE = 'mobile'
+
+ALL_PLATFORMS = frozenset({DESKTOP, MOBILE})
+DESKTOP_ONLY = frozenset({DESKTOP})
+MOBILE_ONLY = frozenset({MOBILE})
+# This is used for disabling a story on all platforms.
+NO_PLATFORMS = frozenset()
« no previous file with comments | « tools/perf/page_sets/system_health/loading_stories.py ('k') | tools/perf/page_sets/system_health/single_page_stories.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698