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

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

Issue 2888133002: Modify list_system_health_stories to generate_system_health_csv (Closed)
Patch Set: Address Juan's nits Created 3 years, 7 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
« no previous file with comments | « tools/perf/list_system_health_stories ('k') | tools/perf/page_sets/system_health/browsing_stories.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/system_health/background_stories.py
diff --git a/tools/perf/page_sets/system_health/background_stories.py b/tools/perf/page_sets/system_health/background_stories.py
index 59b4c132394bb92724a89d2f35dbdb8c8aea7e3e..1d4bc27e010e140e9eb96e4bd3e5fa71cac0a06b 100644
--- a/tools/perf/page_sets/system_health/background_stories.py
+++ b/tools/perf/page_sets/system_health/background_stories.py
@@ -24,6 +24,10 @@ class _BackgroundStory(system_health_story.SystemHealthStory):
action_runner.tab.browser.Background()
super(_BackgroundStory, self)._Measure(action_runner)
+ @classmethod
+ def GenerateStoryDescription(cls):
+ return 'Load %s, then put the browser into the background.' % cls.URL
+
class BackgroundGoogleStory(_BackgroundStory):
NAME = 'background:search:google'
@@ -43,7 +47,6 @@ class BackgroundFacebookMobileStory(_BackgroundStory):
class BackgroundNytimesMobileStory(_BackgroundStory):
- """The third top website in http://www.alexa.com/topsites/category/News"""
NAME = 'background:news:nytimes'
URL = 'http://www.nytimes.com/2016/10/04/us/politics/vice-presidential-debate.html?_r=0'
SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY
« no previous file with comments | « tools/perf/list_system_health_stories ('k') | tools/perf/page_sets/system_health/browsing_stories.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698